:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #52606d;
  --paper: #ffffff;
  --soft: #f3f6f5;
  --line: #cbd5d1;
  --teal: #087f6d;
  --teal-dark: #066154;
  --blue: #1559b0;
  --amber: #c66a12;
  --danger: #a43b35;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.14);
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, .button { min-height: 44px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.nav {
  width: min(calc(100% - 32px), var(--max)); min-height: 64px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center;
  background: var(--teal); color: white; font-size: 13px; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--teal-dark); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 17px; border: 1px solid transparent; border-radius: 6px;
  background: var(--teal); color: white; font-weight: 750; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--teal-dark); color: white; }
.button.secondary { background: white; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--soft); color: var(--ink); }
.button.full { width: 100%; }
.button[aria-disabled="true"], button:disabled { opacity: 0.55; cursor: not-allowed; }

.hero {
  position: relative; min-height: min(760px, calc(100vh - 64px)); isolation: isolate;
  color: white; background: #17212b url("assets/digest-preview.png") center 42% / cover no-repeat;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 23, 31, 0.7);
}
.hero-inner { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 96px 0 76px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: #78ead4; font-size: 13px; font-weight: 850; text-transform: uppercase; }
h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 7vw, 78px); line-height: 0.98; letter-spacing: 0; }
.hero-lead { max-width: 620px; margin: 22px 0 0; color: #e3ece9; font-size: clamp(18px, 2.2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .button.secondary { background: rgba(255,255,255,0.09); color: white; border-color: rgba(255,255,255,0.45); }
.hero .button.secondary:hover { background: rgba(255,255,255,0.16); }
.hero-note { margin: 18px 0 0; color: #b8c7c2; font-size: 13px; }

.band { padding: 76px 0; }
.band.soft { background: var(--soft); border-block: 1px solid var(--line); }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section-head { max-width: 700px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .page-title { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: 0; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

.proof-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: white;
}
.proof-item { padding: 22px 28px; border-right: 1px solid var(--line); text-align: center; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-size: 18px; }
.proof-item span { color: var(--muted); font-size: 13px; }

.product-showcase { background: #17212b; color: white; }
.product-showcase .section-head p { color: #c6d4cf; }
.product-preview { margin: 0; }
.product-preview img { display: block; width: 100%; height: auto; border: 1px solid #52605b; }
.product-preview figcaption { margin-top: 12px; color: #9fb0aa; font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { padding-top: 18px; border-top: 3px solid var(--teal); }
.step-number { color: var(--teal-dark); font-size: 13px; font-weight: 900; }
.step h3 { margin: 8px 0; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.topic { padding-top: 18px; border-top: 3px solid var(--teal); }
.topic-code { margin: 0 0 6px; color: var(--teal-dark); font-size: 13px; font-weight: 850; }
.topic h3 { margin: 0 0 8px; font-size: 21px; }
.topic h3 a { color: var(--ink); }
.topic p:last-child { margin: 0; color: var(--muted); }
.section-link { margin: 28px 0 0; font-weight: 750; }

.pricing-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 56px; align-items: center; }
.benefit-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.benefit-list li { position: relative; padding-left: 28px; }
.benefit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.price-card { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.price-top { padding: 28px; border-bottom: 1px solid var(--line); }
.price-label { margin: 0; color: var(--teal-dark); font-weight: 850; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 0; }
.price strong { font-size: 50px; line-height: 1; }
.price span { color: var(--muted); }
.billing-toggle { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 0; border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.billing-toggle button { border: 0; border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer; }
.billing-toggle button.active { background: var(--ink); color: white; }
.price-body { padding: 28px; }
.price-body p { margin-top: 0; color: var(--muted); }
.savings { color: var(--teal-dark); font-weight: 800; }

.notice { padding: 16px 18px; border-left: 4px solid var(--amber); background: #fff8ed; color: #654018; }
.notice strong { color: #4e2e0c; }
.disclaimer { margin-top: 32px; font-size: 14px; color: var(--muted); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { max-width: 760px; color: var(--muted); }

.page-hero { padding: 74px 0 46px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 18px; }
.content { max-width: 820px; padding: 52px 0 84px; }
.content h2 { margin-top: 34px; font-size: 24px; }
.content h3 { margin-top: 26px; font-size: 19px; }
.content p, .content li { color: #394856; }
.content .button { color: white; }
.content-callout { margin-top: 38px; padding: 24px 0; border-block: 1px solid var(--line); }
.content-callout h2 { margin-top: 0; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; padding: 0; list-style: none; }
.fact-list li { padding-top: 12px; border-top: 2px solid var(--line); }
.fact-list strong { display: block; color: var(--ink); }
.legal-meta { padding: 12px 15px; background: #fff8ed; border: 1px solid #e9c998; border-radius: 6px; color: #654018; }

.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.form { display: grid; gap: 24px; }
.form-section { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section h2 { margin: 0 0 8px; font-size: 22px; }
.form-section > p { margin: 0 0 18px; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 750; }
input, select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #aebbb6; border-radius: 5px; background: white; color: var(--ink);
}
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(21, 89, 176, 0.28); outline-offset: 2px; }
fieldset { margin: 0; padding: 0; border: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 12px; }
.state-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 18px; min-height: 18px; margin-top: 3px; flex: 0 0 auto; }
.attestation { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.aside-panel { position: sticky; top: 88px; border-left: 3px solid var(--teal); padding-left: 20px; }
.aside-panel h2 { margin-top: 0; font-size: 20px; }
.aside-panel ol { padding-left: 20px; color: var(--muted); }
.form-status { min-height: 24px; font-weight: 700; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--teal-dark); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: var(--ink); color: #d7e1de; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer a { color: white; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-small { margin-top: 32px; padding-top: 20px; border-top: 1px solid #46525d; color: #9fb0aa; font-size: 12px; }

@media (max-width: 820px) {
  .nav-links a:not(.button) { display: none; }
  .hero { min-height: 690px; background-position: 62% center; }
  .hero::before { background: rgba(14, 23, 31, 0.78); }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps, .topic-grid, .pricing-wrap, .form-shell, .footer-grid { grid-template-columns: 1fr; }
  .aside-panel { position: static; }
}

@media (max-width: 560px) {
  .brand span:last-child { font-size: 14px; }
  .nav { width: min(calc(100% - 20px), var(--max)); }
  .nav .button { padding-inline: 12px; font-size: 13px; }
  .hero-inner { width: min(calc(100% - 24px), var(--max)); padding-bottom: 54px; }
  h1 { font-size: 43px; }
  .hero-actions .button { width: 100%; }
  .proof-item { padding: 18px 12px; }
  .band { padding: 54px 0; }
  .field-grid, .check-grid, .fact-list { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: 1fr 1fr; }
  .price-top, .price-body { padding: 22px; }
}

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