:root {
  --ink: #07111f;
  --ink-soft: #334155;
  --surface: #f4f7fb;
  --paper: #ffffff;
  --line: #d9e1ec;
  --signal: #50e3a4;
  --signal-ink: #062c22;
  --night: #07111f;
  --night-soft: #10223a;
  --max-width: 1180px;
  --radius: 1.1rem;
  --shadow: 0 18px 44px rgb(6 22 40 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #1565c0; outline-offset: 4px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; background: var(--paper); padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header, main, footer { width: min(calc(100% - 2.5rem), var(--max-width)); margin-inline: auto; }
.site-header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--ink); font-weight: 850; font-size: 1.25rem; letter-spacing: -.05em; text-decoration: none; }
.brand span { color: #0b8d61; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { color: var(--ink-soft); font-size: .94rem; text-decoration: none; }
nav a:hover, .text-link:hover, footer a:hover { color: #08744e; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: .65rem; font-weight: 750; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--signal-ink); box-shadow: 0 9px 22px rgb(80 227 164 / 24%); }
.button-quiet { border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }

.hero { min-height: 37rem; padding: clamp(4rem, 10vw, 8rem) 0 5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.eyebrow, .signal-label, .card-number, .source-tier { margin: 0 0 .7rem; color: #08744e; font-size: .74rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.06; }
h1 { max-width: 15ch; margin-bottom: 1.3rem; font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { max-width: 18ch; margin-bottom: 1rem; font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: 1.3rem; }
.hero-lead, .section-heading > p, .cta-section > p { max-width: 62ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem; margin-top: 2rem; }
.text-link { font-weight: 750; text-decoration-thickness: .12em; text-underline-offset: .24em; }
.signal-card { border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--night); color: #e4f0ff; box-shadow: var(--shadow); }
.signal-card ol { list-style: none; padding: 0; margin: 1.75rem 0 0; counter-reset: principle; }
.signal-card li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; padding: 1rem 0; border-top: 1px solid rgb(228 240 255 / 16%); }
.signal-card li::before { content: counter(principle, decimal-leading-zero); counter-increment: principle; color: var(--signal); font-size: .76rem; font-weight: 800; }
.signal-card strong { font-size: 1.05rem; }
.signal-card span { grid-column: 2; color: #afc2d8; font-size: .9rem; }
.signal-label { color: var(--signal); }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 2.5rem; }
.card-grid, .source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card, .source-card { min-height: 17rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 5px 18px rgb(6 22 40 / 3%); }
.feature-card p:not(.card-number):not(.status) { color: var(--ink-soft); }
.status { margin: 1.4rem 0 0; color: #526579; font-size: .86rem; }
.radar-section { background: var(--night); color: #edf6ff; box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.radar-section .section-heading > p, .fine-print { color: #afc2d8; }
.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 2rem; align-items: end; }
.source-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.source-card { min-height: 12rem; display: flex; flex-direction: column; gap: .7rem; color: #edf6ff; background: var(--night-soft); border-color: rgb(228 240 255 / 15%); text-decoration: none; transition: background-color 160ms ease, transform 160ms ease; }
.source-card:hover { transform: translateY(-3px); background: #163252; }
.source-card strong { font-size: 1.2rem; letter-spacing: -.035em; }
.source-card span:last-child { color: #afc2d8; font-size: .88rem; }
.source-tier { color: var(--signal); }
.fine-print { max-width: 72ch; margin: 1.5rem 0 0; font-size: .88rem; }

.method-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 9vw, 9rem); }
.method-list { display: grid; gap: .5rem; }
.method-list article { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.method-list article > span { color: #08744e; font-size: .8rem; font-weight: 800; }
.method-list h3 { margin-bottom: .45rem; }
.method-list p { margin-bottom: 0; color: var(--ink-soft); }
.cta-section { margin: 0 0 5rem; padding: clamp(2rem, 6vw, 4.5rem); border-radius: calc(var(--radius) * 1.35); background: #dff9ec; }
.cta-section h2 { max-width: 19ch; }
footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: 1.8rem 0 2.5rem; color: var(--ink-soft); font-size: .9rem; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header { min-height: 4.8rem; }
  .site-header .button-quiet { display: none; }
  nav { gap: .85rem; }
  .hero, .method-section, .split-heading { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-header, main, footer { width: min(calc(100% - 1.5rem), var(--max-width)); }
  nav a { font-size: .82rem; }
  h1 { font-size: clamp(2.7rem, 15vw, 3.6rem); }
  .source-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
