:root {
  --bg: #fbf8f3;
  --bg-tint: #f2ece2;
  --surface: #ffffff;
  --text: #1d2430;
  --muted: #5a6270;
  --line: #e2d9cb;
  --brand: #1f3a4d;
  --brand-ink: #ffffff;
  --accent: #c9822b;
  --green: #2f7d4f;
  --amber: #c9822b;
  --red: #b3372b;
  --urgent-bg: #fbeee9;
  --urgent-line: #e7c2b8;
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14191f;
    --bg-tint: #1a2129;
    --surface: #1f2730;
    --text: #ece7df;
    --muted: #a3aab4;
    --line: #2e3844;
    --brand: #9cc3dc;
    --brand-ink: #10202b;
    --accent: #e4a54f;
    --green: #6cc28f;
    --amber: #e4a54f;
    --red: #ef8a7e;
    --urgent-bg: #2a1d1b;
    --urgent-line: #553430;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
strong { font-weight: 700; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--text); text-decoration: none; }
.mark { width: 30px; height: 30px; color: var(--brand); }
.mark .flame { fill: var(--accent); }
nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; font-size: 1.05rem; }
nav a:hover { text-decoration: underline; }
nav .nav-cta { background: var(--brand); color: var(--brand-ink); padding: 8px 16px; border-radius: 999px; }
nav .nav-cta:hover { text-decoration: none; filter: brightness(1.1); }

/* Buttons */
.button { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1.1rem; border: 2px solid var(--brand); }
.button:hover { filter: brightness(1.1); }
.button-quiet { background: transparent; color: var(--brand); }
.button-quiet:hover { background: var(--bg-tint); filter: none; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; }
.lede { font-size: 1.3rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 18px 40px -24px rgba(20, 30, 45, 0.35); }
.card-label { color: var(--muted); font-size: 0.95rem; margin-bottom: 4px; }
.card-subject { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }
.card-list { list-style: none; padding: 0; margin: 0 0 14px; }
.card-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; transform: translateY(1px); }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.card-note { font-size: 0.85rem; color: var(--muted); margin: 0; font-style: italic; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-tint); }
.section-lede { color: var(--muted); font-size: 1.15rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 16px; }
.steps p { margin: 0; }

.watch-list, .limits { margin: 0; padding: 0; list-style: none; }
.watch-list li, .limits li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.watch-list li:first-child, .limits li:first-child { border-top: 1px solid var(--line); }
.watch-list li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--accent); }
.limits li::before { content: "—"; position: absolute; left: 4px; color: var(--muted); }

/* Sample report */
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 780px; margin-top: 28px; overflow: hidden; }
.report-head { padding: 18px 28px; border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.report-head p { margin: 0; }
.report-body { padding: 24px 28px 12px; }
.report-summary { border-left: 4px solid var(--red); padding-left: 16px; }
.report-body h3 { font-size: 1.15rem; margin-top: 1.2em; }
.report-body ol { padding-left: 1.3em; }
.report-body li { margin-bottom: 0.5em; }

/* Promises */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.promise p { margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 6px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 20px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { color: var(--text); padding-bottom: 8px; }

/* Urgent */
.urgent { background: var(--urgent-bg); border-top: 1px solid var(--urgent-line); border-bottom: 1px solid var(--urgent-line); padding: 56px 0; }
.urgent p { margin: 0; font-size: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 1.25rem; }
  .button { width: 100%; text-align: center; }
}
