:root {
  color-scheme: light;
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --ink: #0a0b0d;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --line: rgba(10, 11, 13, 0.1);
  --paper: #ffffff;
  --wash: #f7fbf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--ink); color: white;
  border-radius: 999px; transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative; z-index: 10; max-width: 1240px; margin: 0 auto; padding: 1.25rem 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; font-size: 1.25rem; font-weight: 650; letter-spacing: -.04em; }
.brand-mark { width: 1.55rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: .45rem; background: var(--brand-500); }
.brand-mark span { width: .45rem; aspect-ratio: 1; background: white; border-radius: 50%; }
.site-header nav { display: flex; gap: 1.8rem; font-size: .88rem; color: var(--ink-600); }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--ink); }
.nav-status { display: inline-flex; align-items: center; gap: .4rem; }
.nav-status small { padding: .15rem .35rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .52rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.header-action { justify-self: end; border: 1px solid var(--line); border-radius: 999px; padding: .68rem 1rem; font-size: .84rem; font-weight: 600; }
.header-action:hover, .header-action:focus-visible { background: var(--ink); color: white; }

.hero {
  min-height: 820px; padding: 8.5rem 2rem 7rem; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 88% 0%, rgba(16,185,129,.1), transparent 67%),
    radial-gradient(ellipse 550px 400px at 4% 32%, rgba(16,185,129,.07), transparent 66%);
}
.hero::after { content: ""; position: absolute; inset: auto -5% -230px; height: 400px; border-radius: 50%; background: var(--brand-50); filter: blur(60px); opacity: .55; pointer-events: none; }
.hero-copy, .intake-card, .result { position: relative; z-index: 1; width: 100%; max-width: 840px; margin-inline: auto; }
.hero-copy { text-align: center; }
.eyebrow { margin: 0 0 1.4rem; display: flex; align-items: center; gap: .55rem; color: var(--brand-700); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; }
.hero-copy .eyebrow { justify-content: center; }
.eyebrow span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand-500); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3.2rem, 7.5vw, 6.6rem); line-height: .96; letter-spacing: -.065em; font-weight: 620; }
em { color: var(--brand-500); font-weight: 520; }
.hero-lede { max-width: 650px; margin: 2rem auto 3.25rem; color: var(--ink-600); font-size: clamp(1rem, 2vw, 1.2rem); }

.intake-card { padding: .55rem; border: 1px solid var(--line); border-radius: 1.5rem; background: rgba(255,255,255,.92); box-shadow: 0 28px 80px rgba(3, 65, 42, .11); backdrop-filter: blur(20px); }
.intent-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .25rem; background: #f3f4f6; border-radius: 1rem; }
.intent-tab { text-align: center; padding: .72rem; color: var(--ink-600); border-radius: .8rem; font-size: .84rem; font-weight: 600; }
.intent-tab.active { background: white; color: var(--ink); box-shadow: 0 1px 3px rgba(10,11,13,.08); }
#intake-form { padding: 1.3rem 1.3rem .8rem; }
#intake-form label { display: block; margin-bottom: .6rem; font-size: .78rem; font-weight: 700; }
#intake-text { width: 100%; resize: vertical; min-height: 112px; border: 0; outline: 0; padding: 0; color: var(--ink); background: transparent; font-size: clamp(1.15rem, 3vw, 1.55rem); line-height: 1.45; letter-spacing: -.02em; }
#intake-text::placeholder { color: #9ca3af; }
.form-footer { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-footer p { margin: 0; max-width: 430px; color: var(--ink-500); font-size: .72rem; }
.form-footer button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: .9rem 1.15rem; display: flex; align-items: center; gap: .85rem; background: var(--ink); color: white; cursor: pointer; font-weight: 650; font-size: .85rem; }
.form-footer button:hover, .form-footer button:focus-visible { background: #1f2937; }
.form-footer button:disabled { opacity: .55; cursor: wait; }
.quick-starts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .8rem 1.3rem 1.15rem; color: var(--ink-500); font-size: .7rem; }
.quick-starts button { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .7rem; background: white; color: var(--ink-600); cursor: pointer; font-size: .7rem; }
.quick-starts button:hover, .quick-starts button:focus-visible { border-color: var(--brand-500); color: var(--brand-700); }

.result { margin-top: 2rem; padding: 2rem; border-radius: 1.5rem; background: var(--ink); color: white; box-shadow: 0 30px 90px rgba(10,11,13,.16); }
.result-topline { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.result .eyebrow { color: #6ee7b7; }
.result-topline button { color: #d1fae5; border: 0; border-bottom: 1px solid rgba(209,250,229,.45); background: none; cursor: pointer; font-size: .76rem; }
.result h2 { margin: .5rem 0 .65rem; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.04em; line-height: 1.08; }
.result > p { color: #d1d5db; }
.fact-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0; }
.fact-list span { padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e5e7eb; font-size: .76rem; }
.guidance { margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.guidance h3 { margin: 0 0 1rem; font-size: 1.08rem; }
.guidance ol { margin: 0; padding-left: 1.2rem; color: #f3f4f6; }
.guidance li { padding: .3rem 0 .3rem .3rem; }
.guidance a { display: inline-block; margin-top: .9rem; color: #6ee7b7; font-size: .82rem; }
.uncertainty { color: #fcd34d !important; font-size: .78rem; }
.next-question { margin-top: 1.2rem; padding: 1rem; border-radius: .8rem; background: rgba(16,185,129,.13); color: #d1fae5; }

.route-section, .protect-section { max-width: 1240px; margin: 0 auto; padding: 9rem 2rem; }
.section-heading { max-width: 760px; }
.section-heading h2, .protect-section h2, .privacy-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.055em; line-height: 1.02; font-weight: 620; }
.section-heading > p:last-child, .protect-section > div > p:last-child { max-width: 620px; color: var(--ink-600); font-size: 1.05rem; }
.route-grid { margin-top: 4.5rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-grid article { padding: 2.2rem 1.6rem 2.5rem; border-right: 1px solid var(--line); }
.route-grid article:first-child { padding-left: 0; }
.route-grid article:last-child { border-right: 0; }
.route-number { color: var(--brand-600); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.route-grid h3 { margin: 2.8rem 0 .6rem; font-size: 1.25rem; letter-spacing: -.025em; }
.route-grid p { margin: 0; color: var(--ink-600); font-size: .88rem; }

.privacy-section { padding: 8.5rem max(2rem, calc((100vw - 1240px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; color: white; background: var(--ink); }
.eyebrow.light { color: #6ee7b7; }
.privacy-list { border-top: 1px solid rgba(255,255,255,.16); }
.privacy-list p { margin: 0; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 150px 1fr; gap: 1rem; }
.privacy-list strong { font-size: .85rem; }
.privacy-list span { color: #9ca3af; font-size: .85rem; }

.protect-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 7rem; align-items: center; }
.label-preview { justify-self: end; width: min(100%, 370px); padding: 2rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--wash); text-align: center; transform: rotate(1.5deg); box-shadow: 0 25px 60px rgba(3,65,42,.1); }
.label-logo { display: flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 700; letter-spacing: -.04em; }
.qr-placeholder { width: 154px; aspect-ratio: 1; margin: 1.7rem auto; padding: 10px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; background: white; }
.qr-placeholder span { background: var(--ink); }
.qr-placeholder span:nth-child(2), .qr-placeholder span:nth-child(4), .qr-placeholder span:nth-child(6), .qr-placeholder span:nth-child(8) { border-radius: 50% 0; }
.label-preview p { font-size: .86rem; }
.label-preview button { width: 100%; margin-top: 1rem; padding: .85rem; border: 0; border-radius: 999px; background: #d1d5db; color: var(--ink-600); }
.label-preview small { display: block; margin-top: .65rem; color: var(--ink-500); font-size: .66rem; }

footer { max-width: 1240px; margin: 0 auto; padding: 2.5rem 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
footer p { color: var(--ink-500); font-size: .75rem; }
footer nav { justify-self: end; display: flex; gap: 1.3rem; color: var(--ink-600); font-size: .75rem; }
.footer-brand { font-size: 1rem; }
.footer-brand .brand-mark { width: 1.25rem; }

:focus-visible { outline: 3px solid rgba(16,185,129,.42); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 1.15rem; }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding: 6rem 1rem 5rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer button { justify-content: space-between; }
  .route-section, .protect-section { padding: 6.5rem 1.25rem; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-grid article, .route-grid article:first-child { padding: 1.5rem; border-bottom: 1px solid var(--line); }
  .route-grid article:nth-child(2) { border-right: 0; }
  .route-grid article:nth-child(n+3) { border-bottom: 0; }
  .route-grid h3 { margin-top: 2rem; }
  .privacy-section, .protect-section { grid-template-columns: 1fr; gap: 3.5rem; }
  .privacy-section { padding: 6.5rem 1.25rem; }
  .label-preview { justify-self: center; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer nav { justify-self: center; }
}

@media (max-width: 520px) {
  .site-header { gap: .75rem; }
  .header-action { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .6rem .72rem; font-size: .68rem; }
  .hero { padding-top: 4.8rem; }
  h1 { font-size: clamp(2.7rem, 13.3vw, 3.7rem); overflow-wrap: anywhere; }
  .intake-card { border-radius: 1.1rem; }
  #intake-form { padding-inline: .85rem; }
  .quick-starts { padding-inline: .85rem; }
  .quick-starts > span { width: 100%; }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid article, .route-grid article:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .route-grid article:last-child { border-bottom: 0; }
  .privacy-list p { grid-template-columns: 1fr; gap: .25rem; }
}

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

.report-options { border: 1px solid var(--line); margin: 1rem 0 0; padding: 1rem; display: grid; gap: .65rem; }
.report-options input[type="email"] { box-sizing: border-box; width: 100%; padding: .7rem; border: 1px solid var(--line); background: #fff; }
.report-options label { font-size: .82rem; }
