
:root {
  --navy: #102f50;
  --navy-deep: #0a1f35;
  --blue: #1769aa;
  --blue-light: #eaf2f8;
  --green: #237a57;
  --green-light: #e8f5ee;
  --gold: #c47a20;
  --gold-light: #fff6e9;
  --ink: #172635;
  --muted: #5e6c78;
  --line: #dce5eb;
  --bg: #f4f7f9;
  --white: #ffffff;
  --red: #a63c3c;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(16, 47, 80, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
      background: url(../images/background.jpg) no-repeat 50% 0 fixed;
    background-size: cover;
  /* background: var(--bg); */
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  padding: 60px 0 54px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, #155a8a 78%, var(--green) 100%);
}
.eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8ed0f8;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
  max-width: 980px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero p {
  max-width: 900px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #e3edf5;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.nav .wrap {
  /* display: flex; */
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}
.nav a {
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav a:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.section {
  padding: 56px 0 10px;
  scroll-margin-top: 66px;
}
.heading {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(16, 47, 80, 0.2);
}
h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 850;
}
.lead {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 4px;
}
.grid {
  display: grid;
  gap: 16px;
}
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 47, 80, 0.12);
}
.metric {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.label {
  margin-top: 8px;
  font-weight: 750;
  color: var(--ink);
  font-size: 0.98rem;
}
.sublabel {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--muted);
}
.highlight {
  background: linear-gradient(135deg, var(--navy) 0%, #154e7d 100%);
  color: var(--white);
  border: 0;
}
.highlight .metric { color: var(--white); }
.highlight .label { color: #f0f7fc; }
.highlight .sublabel { color: #c4ddec; }

.accent-card {
  border-top: 5px solid var(--gold);
  background: #fffdf9;
}
.accent-green {
  border-top: 5px solid var(--green);
}
.bridge {
  margin-top: 18px;
  padding: 18px 22px;
  border-left: 5px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: var(--green-light);
  font-size: 0.95rem;
  line-height: 1.55;
}
.bridge b { color: var(--navy); }
.warning {
  border-left-color: var(--gold);
  background: var(--gold-light);
}
.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.term {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.term b {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.progress-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-top: 16px;
}
.progress {
  height: 22px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1eaf0;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 99px;
  transition: width 0.8s ease-in-out;
}
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
}
.compare .arrow {
  font-size: 2.2rem;
  color: var(--green);
  font-weight: bold;
}
.bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
}
.track {
  height: 20px;
  background: #e7eff4;
  border-radius: 99px;
  overflow: hidden;
}
.fill {
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
  transition: width 0.5s ease-out;
}
.fill.green { background: var(--green); }
.fill.gold { background: var(--gold); }
.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th, .table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.table th:first-child, .table td:first-child {
  text-align: left;
}
.table th {
  background: #edf3f7;
  color: var(--navy);
  font-weight: 750;
}
.table tr:last-child td {
  border-bottom: 0;
}
.laws {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.law {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.law b {
  color: var(--blue);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.law h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 4px 0 8px;
}
.law p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.footerX {
  margin-top: 70px;
  padding: 36px 0;
  background: var(--navy-deep);
  color: #cfdbe6;
  font-size: 0.9rem;
}
.footerX p {
  margin-top: 6px;
  color: #9ab0c4;
}


@media (min-width: 576px) and (max-width: 767px) {
    .header {
        width: 80%;
        margin: 0 auto;
    }
}
@media (max-width: 800px) {
  .main{
    width:95%;
    margin:0 auto;
  }
  .g4, .g3, .g2, .terms, .laws { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare .arrow { transform: rotate(90deg); }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .section { padding-top: 40px; }
}
@media print {
  .nav, .hero { display: none; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  .section { break-inside: avoid; }
}

h1{
  display:none;
}