:root {
  --navy: #012d62;
  --navy-2: #063d7b;
  --ink: #0f1d2e;
  --muted: #607086;
  --line: #dbe3ec;
  --soft: #f5f8fb;
  --white: #ffffff;
  --green: #15a26f;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(1,45,98,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,227,236,.7);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 270px; overflow: hidden; }
.brand img { width: 100%; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.button):hover { color: var(--navy-2); }
.menu { display: none; border: 0; background: transparent; font-size: 26px; color: var(--navy); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 750;
  box-shadow: 0 10px 30px rgba(1,45,98,.16);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); background: var(--navy-2); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-white { background: #fff; color: var(--navy); box-shadow: none; }
.button-white:hover { background: #f2f6fb; }
.text-link { font-weight: 700; color: var(--navy); }

.hero {
  min-height: 680px; display: grid; grid-template-columns: 1.12fr .88fr;
  gap: 76px; align-items: center; padding: 96px 0 88px;
}
.eyebrow { margin: 0 0 18px; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.light { color: rgba(255,255,255,.75); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 6vw, 76px); max-width: 760px; margin-bottom: 28px; }
h1 em { color: var(--navy); font-style: normal; }
h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 20px; }
h3 { font-size: 22px; margin-bottom: 12px; }
.hero-lead { max-width: 700px; font-size: 21px; color: #47586d; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.microcopy { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

.diagnostic-card {
  background: linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
  border: 1px solid var(--line); border-radius: 30px; padding: 28px;
  box-shadow: var(--shadow);
}
.card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.status { color: var(--green); }
.score-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 36px 0 28px; }
.score-row div { display: flex; flex-direction: column; }
.score-row strong { color: var(--navy); font-size: 46px; line-height: 1; }
.score-row span { color: var(--muted); font-size: 13px; margin-top: 7px; }
.divider { height: 1px; background: var(--line); margin-bottom: 14px; }
.finding { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #e7edf3; font-size: 14px; }
.finding span { color: var(--muted); }
.finding strong { text-align: right; }
.confidence { margin-top: 22px; color: var(--muted); font-size: 12px; font-weight: 650; }
.confidence span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--green); border-radius: 999px; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcfe; }
.proof-grid { display: grid; grid-template-columns: repeat(5,1fr); }
.proof-grid div { padding: 26px 22px; border-right: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--navy); }
.proof-grid span { color: var(--muted); font-size: 12px; margin-top: 4px; }

.section { padding: 110px 0; }
.section-heading { max-width: 780px; }
.section-heading > p:last-child { font-size: 18px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 58px; }
.steps article, .audience-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps article > span { color: var(--navy); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.steps article h3 { margin-top: 44px; }
.steps article p, .audience-grid article p { color: var(--muted); margin-bottom: 0; }

.result-section { background: var(--soft); }
.result-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.result-grid > div:first-child > p:last-child { color: var(--muted); font-size: 18px; }
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.before-after > div:not(.arrow) { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.before-after span, .before-after small, .before-after b { display: block; }
.before-after span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.before-after strong { display: block; color: var(--navy); font-size: 54px; line-height: 1; margin: 18px 0 4px; }
.before-after small { color: var(--muted); }
.before-after b { margin-top: 18px; font-size: 14px; }
.arrow { color: var(--navy); font-size: 30px; }

.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.pill { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #edf3f9; color: var(--navy); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.audience-grid h3 { margin-top: 26px; }
.audience-grid article a { display: inline-block; margin-top: 28px; color: var(--navy); font-weight: 750; }

.cta-section { padding: 24px 0 100px; }
.cta-card { background: linear-gradient(135deg,var(--navy),#0a4c8f); color: #fff; padding: 58px 64px; border-radius: 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-card h2 { max-width: 760px; margin-bottom: 0; }

.footer { padding: 42px 0 50px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-brand img { width: 230px; }
.footer-brand p, .copyright { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; font-weight: 650; }
.copyright { grid-column: 1/-1; margin: 0; }

.legal { padding: 100px 0; max-width: 820px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 24px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu { display: block; }
  .brand { width: 210px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 70px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { border-bottom: 1px solid var(--line); }
  .steps, .audience-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; gap: 42px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { min-height: auto; padding: 56px 0 64px; }
  h1 { font-size: 44px; }
  .hero-lead { font-size: 18px; }
  .score-row { grid-template-columns: 1fr; }
  .proof-grid, .steps, .audience-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; }
  .section { padding: 78px 0; }
  .before-after { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); text-align: center; }
  .cta-card { padding: 38px 28px; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

/* Legal footer */
.legal-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: .65rem;
  align-items: center;
  font-size: .85rem;
  opacity: .72;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}
