:root {
  color-scheme: dark;
  --background: #080b11;
  --surface: #111722;
  --surface-strong: #182131;
  --foreground: #f4f7fb;
  --muted: #aab5c5;
  --accent: #78f3c7;
  --accent-ink: #052119;
  --border: #2a3546;
  --focus: #ffd166;
  --max: 74rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
:target, :focus { scroll-margin-top: 5rem; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 10; padding: 0.65rem 0.9rem; background: var(--focus); color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--accent); font-weight: 800; letter-spacing: 0.08em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--foreground); }
.hero, .section { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }
.hero { min-height: 76vh; display: grid; align-content: center; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); }
h2 { max-width: 16ch; margin: 0 0 2rem; font-size: clamp(2.15rem, 5vw, 4.2rem); }
h3 { margin: 0.8rem 0 0.6rem; font-size: 1.35rem; }
.lede { max-width: 48rem; margin: 2rem 0; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 3rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.8rem 1.15rem; border: 1px solid var(--border); border-radius: 0.65rem; font-weight: 750; text-decoration: none; }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: #a2f8d9; }
.button-secondary:hover { background: var(--surface); }
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.summary div { padding: 1.25rem; border-right: 1px solid var(--border); }
.summary div:last-child { border-right: 0; }
.summary dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.summary dd { margin: 0.3rem 0 0; font-size: 1.25rem; font-weight: 750; }
.fine-print { color: var(--muted); font-size: 0.9rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cards article { min-height: 14rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: linear-gradient(145deg, var(--surface), #0c111a); }
.cards span { color: var(--accent); font-family: ui-monospace, monospace; }
.cards p, .start p { color: var(--muted); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fit-grid article { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.fit-grid ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.fit-grid li { position: relative; padding-left: 1.8rem; }
.fit-grid li + li { margin-top: 0.8rem; }
.fit-grid li::before { position: absolute; left: 0; font-weight: 800; }
.check-list li::before { content: "✓"; color: var(--accent); }
.cross-list li::before { content: "—"; color: var(--muted); }
.process ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.process li { display: grid; grid-template-columns: minmax(10rem, 0.45fr) 1fr; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.process span { color: var(--muted); }
.pricing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: 3rem; align-items: start; }
.pricing p { max-width: 44rem; color: var(--muted); }
.price-terms { margin: 0; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: var(--surface); }
.price-terms div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.price-terms div + div { border-top: 1px solid var(--border); }
.price-terms dt { color: var(--muted); }
.price-terms dd { margin: 0; font-weight: 800; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { min-height: 3.5rem; padding: 1rem 2.5rem 1rem 0; cursor: pointer; font-weight: 750; }
.faq details p { max-width: 52rem; margin: 0; padding: 0 0 1.25rem; color: var(--muted); }
.start { display: flex; align-items: end; justify-content: space-between; gap: 3rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.start h2 { margin-bottom: 1rem; }
.start p { max-width: 45rem; }
footer { max-width: var(--max); margin: 0 auto; padding: 2rem 1.5rem 4rem; color: var(--muted); font-size: 0.9rem; }
.intake { max-width: 58rem; margin: 0 auto; padding: 4rem 1.5rem; }
.intake h1 { max-width: 11ch; }
.intake section, .intake aside { margin-top: 1rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.intake h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.intake li + li { margin-top: 0.6rem; }
.intake aside { border-color: #704b52; background: #1b1217; }
.intake-builder { display: grid; gap: 1rem; }
.field, .consent-check { padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field label:not(.choice), .field legend { display: block; margin-bottom: 0.35rem; font-weight: 800; }
.field p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9rem; }
fieldset.field { margin: 0; }
textarea, input[type="text"], select { width: 100%; min-height: 3rem; padding: 0.75rem; border: 1px solid #64748b; border-radius: 0.55rem; background: #080d15; color: var(--foreground); font: inherit; }
textarea { resize: vertical; }
textarea:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[aria-invalid="true"] { border-color: #ff9a9a !important; box-shadow: 0 0 0 2px rgba(255, 154, 154, 0.25); }
.choice { display: flex; min-height: 2.75rem; align-items: center; gap: 0.65rem; }
.choice input { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
.builder-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
button.button { cursor: pointer; font: inherit; }
.status { min-height: 1.6rem; margin: 0; font-weight: 700; }
.status[data-type="error"] { color: #ffb4b4; }
.status[data-type="success"] { color: var(--accent); }
.privacy-note, .notice { padding: 1rem; border-left: 4px solid var(--accent); background: var(--surface); color: var(--muted); }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav { justify-content: flex-end; }
  .hero, .section { padding-block: 3.5rem; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary div:nth-child(2) { border-right: 0; }
  .summary div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cards { grid-template-columns: 1fr; }
  .fit-grid, .pricing, .field-row { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 1fr; gap: 0.25rem; }
  .start { align-items: flex-start; flex-direction: column; margin-inline: 1rem; }
  .intake { padding-block: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
