/* Out of Spam: site styles. Airmail palette, one bold element (the envelope + stamp). */

:root {
  --paper: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #16213A;
  --muted: #56607A;
  --line: #D7DCE6;
  --red: #B3232A;
  --blue: #1D4E9E;
  --green: #1A7347;
  --amber: #9A5800;
  --on-blue: #FFFFFF;
  --tint-red: #FBEDEE;
  --tint-amber: #FBF3E6;
  --tint-green: #EAF5EF;
  --tint-blue: #ECF1FA;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale (classic 12·14·16·18·21·24·36·48·60·72) */
  --t-sm: 0.875rem;
  --t-base: 1.125rem;
  --t-md: 1.3125rem;
  --t-lg: 1.5rem;
  --t-xl: clamp(1.75rem, 3.2vw, 2.25rem);
  --t-hero: clamp(2.4rem, 5.4vw, 4.25rem);

  --gutter: 16px;
  --max: 1120px;
  --radius: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1525;
    --surface: #152038;
    --ink: #E7EBF3;
    --muted: #A3ADC2;
    --line: #2A3754;
    --red: #FF8A8F;
    --blue: #94B6F5;
    --green: #62CF94;
    --amber: #F2B54D;
    --on-blue: #0E1525;
    --tint-red: #2A1A24;
    --tint-amber: #2A2316;
    --tint-green: #142A24;
    --tint-blue: #172A4A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* grid/flex rules must not override hidden */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--t-hero); font-variation-settings: "wdth" 114; font-weight: 820; letter-spacing: -0.015em; line-height: 1.02; }
h2 { font-size: var(--t-xl); font-variation-settings: "wdth" 110; letter-spacing: -0.01em; }
h3 { font-size: var(--t-md); font-variation-settings: "wdth" 104; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.88em; overflow-wrap: anywhere; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.narrow > * { max-width: 760px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* ---------- Masthead ---------- */
/* Always dark: the logo's white "OUT OF" and glow are made for a navy background. */
.masthead { background: #0E1525; border-bottom: 1px solid #2A3754; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; }
.wordmark img { display: block; height: 44px; width: auto; }
@media (max-width: 520px) { .wordmark img { height: 36px; } }
.wordmark:focus-visible { outline: 2px solid #94B6F5; outline-offset: 4px; border-radius: 4px; }
.nav { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); }
.nav a { color: #A3ADC2; text-decoration: none; }
.nav a:hover { color: #E7EBF3; text-decoration: underline; }
@media (max-width: 520px) { .nav { gap: 14px; } .nav li:first-child { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 48px; position: relative; isolation: isolate; }
/* Faded photo behind a paper-coloured gradient: solid behind the headline, thinner on the right, melting into the page at the bottom. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --veil: color-mix(in srgb, var(--paper) 90%, transparent);
  --veil-thin: color-mix(in srgb, var(--paper) 72%, transparent);
  background:
    linear-gradient(to bottom, transparent 72%, var(--paper) 100%),
    linear-gradient(100deg, var(--paper) 0%, var(--veil) 38%, var(--veil-thin) 100%),
    url("hero-bk.webp") 70% 85% / cover no-repeat;
}
/* Wide screens: scale up a little so there's room to sit lower (fewer blue envelopes, more of the red chute). */
@media (min-width: 960px) {
  .hero::before { background-size: auto, auto, 120% auto; }
}
@media (prefers-color-scheme: dark) {
  .hero::before {
    --veil: color-mix(in srgb, var(--paper) 86%, transparent);
    --veil-thin: color-mix(in srgb, var(--paper) 55%, transparent);
  }
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; } /* let columns shrink to the screen; long content wraps or scrolls inside */
@media (min-width: 960px) { .hero { padding: 88px 0 72px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero-copy { max-width: 36rem; }
.lede { font-size: var(--t-md); color: var(--muted); max-width: 40rem; }
.hero .lede { color: var(--ink); opacity: 0.86; }

/* Front door: "What's happening?" */
.front-door { margin-top: 24px; }
.front-door-title { font-weight: 750; margin: 0 0 10px; }
.symptoms { display: flex; flex-wrap: wrap; gap: 8px; }
.symptom {
  font: inherit; font-size: var(--t-sm); font-weight: 650; line-height: 1.2; cursor: pointer;
  padding: 9px 13px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink);
}
.symptom:hover { border-color: var(--ink); }
.symptom[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.symptom:focus-visible { outline: 3px solid var(--tint-blue); outline-offset: 1px; border-color: var(--blue); }
.symptom-tip { margin: -6px 0 16px; padding: 10px 12px; font-size: var(--t-sm); border-left: 4px solid var(--blue); background: var(--tint-blue); border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- The envelope (the one bold thing) ---------- */
.envelope {
  padding: 10px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg,
    var(--red) 0 18px, var(--surface) 18px 26px,
    var(--blue) 26px 44px, var(--surface) 44px 52px);
  box-shadow: 0 22px 44px -28px rgba(22, 33, 58, 0.45);
  scroll-margin-top: 24px;
}
.envelope-inner { background: var(--surface); border-radius: 3px; padding: 24px; }
@media (min-width: 720px) { .envelope-inner { padding: 32px; } }

/* Tabs: Domain | Bounce | Headers | DMARC report */
.tabs {
  display: flex; gap: 4px; margin: -8px 0 20px; padding: 0 0 0; border-bottom: 2px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  font: inherit; font-size: var(--t-sm); font-weight: 650; white-space: nowrap; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
  padding: 10px 12px; color: var(--muted); border-radius: var(--radius) var(--radius) 0 0;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tabs [role="tab"].has-data::after { content: " ✓"; color: var(--green); }
@media (max-width: 440px) { .envelope-inner { padding: 18px; } .tabs { gap: 0; } .tabs [role="tab"] { padding: 10px 7px; font-size: 0.82rem; } }
.paste-form { display: grid; gap: 10px; }
.paste-form .field-label { margin-bottom: 0; }
.paste-help { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.paste-form textarea {
  font-family: var(--mono); font-size: 0.85rem; line-height: 1.45; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%; resize: vertical; min-height: 150px;
}
.paste-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint-blue); }
.paste-form textarea[aria-invalid="true"] { border-color: var(--red); }
.paste-form .btn { justify-self: start; }
.paste-form .checker-note, .paste-form .field-error { margin: 0; }

.field-label { display: block; font-weight: 650; margin-bottom: 8px; }
.field-label.small { font-weight: 400; font-size: var(--t-sm); color: var(--muted); margin-top: 10px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row input { flex: 1 1 220px; min-width: 0; }
input[type="text"], input[type="email"] {
  font: inherit; font-size: 1.125rem; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint-blue); }
input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-weight: 600; margin: 10px 0 0; }
.checker-note { color: var(--muted); font-size: var(--t-sm); margin: 14px 0 0; }
.advanced { margin-top: 14px; font-size: var(--t-sm); }
.advanced summary { cursor: pointer; color: var(--muted); }
.advanced input { margin-top: 4px; max-width: 280px; font-size: 1rem; padding: 8px 10px; }

/* Progress */
.progress { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: var(--t-sm); }
.progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.progress li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.progress li.is-running { color: var(--ink); }
.progress li.is-running::before { border-color: var(--blue); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 2px var(--surface); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .progress li.is-running::before { animation: none; border-right-color: var(--blue); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 20px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center; min-height: 48px;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 600; min-height: 42px; padding: 10px 14px; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 520px) { .field-row .btn { width: 100%; } }

/* ---------- Results ---------- */
.results { padding: 48px 0 64px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 0; }
.results-head { display: grid; gap: 28px; align-items: center; margin-bottom: 32px; }
@media (min-width: 760px) { .results-head { grid-template-columns: auto 1fr; gap: 44px; } }

.stamp {
  --stamp: var(--muted);
  display: grid; justify-items: center; gap: 2px; width: 220px; padding: 16px 14px 14px;
  color: var(--stamp); border: 3px solid var(--stamp); border-radius: 14px;
  box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 6px var(--stamp);
  transform: rotate(-6deg); text-align: center; justify-self: start;
}
.stamp[data-verdict="fail"] { --stamp: var(--red); }
.stamp[data-verdict="warn"] { --stamp: var(--amber); }
.stamp[data-verdict="pass"] { --stamp: var(--green); }
.stamp-ring { text-transform: uppercase; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; font-variation-settings: "wdth" 125; }
.stamp-score { font-size: 3.4rem; font-weight: 900; line-height: 1; font-variation-settings: "wdth" 118; }
.stamp-score small { font-size: 1.1rem; font-weight: 700; }
.stamp-domain { font-weight: 700; font-size: 0.95rem; overflow-wrap: anywhere; max-width: 100%; }
.stamp-date { font-size: 0.8rem; }
.stamp.is-landing { animation: stamp 420ms cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.6); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .stamp.is-landing { animation: none; } }

.results-summary h2 { margin-bottom: 0.3em; }
.results-summary .lede { margin-bottom: 0.8em; }
.detected { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: var(--t-sm); }
.detected dt { color: var(--muted); }
.detected dd { margin: 0; font-weight: 600; }

.findings { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.finding {
  --sev: var(--muted); --sev-tint: var(--paper);
  border-left: 5px solid var(--sev); background: var(--sev-tint);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.finding[data-severity="fail"] { --sev: var(--red); --sev-tint: var(--tint-red); }
.finding[data-severity="warn"] { --sev: var(--amber); --sev-tint: var(--tint-amber); }
.finding[data-severity="pass"] { --sev: var(--green); --sev-tint: var(--tint-green); }
.finding[data-severity="info"] { --sev: var(--blue); --sev-tint: var(--tint-blue); }
.finding-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 4px; }
.finding-tag { font-size: var(--t-sm); font-weight: 750; color: var(--sev); }
.finding h3 { font-size: 1.125rem; margin: 0; font-variation-settings: "wdth" 100; }
.finding p { margin: 0.35em 0 0; max-width: 72ch; font-size: 1rem; }
.finding .fix { color: var(--ink); }
.finding .fix strong { font-weight: 700; }
.finding code { background: var(--surface); padding: 1px 4px; border-radius: 3px; }

.next {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 16px; margin-bottom: 24px; background: var(--paper);
}
@media (min-width: 760px) { .next { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; } }
.next h3 { font-size: var(--t-lg); margin-bottom: 0.3em; }
.next p { margin: 0; max-width: 60ch; }
.next-actions { display: grid; gap: 10px; }
.next-actions .btn { min-width: 240px; }
.lead-status { font-size: var(--t-sm); margin: 0; }

/* ---------- Pasted bounce / headers / DMARC report results ---------- */
.paste-results { display: grid; gap: 28px; margin-bottom: 32px; }
.paste-result { border-top: 1px dashed var(--line); padding-top: 24px; }
.findings[hidden] + .paste-results .paste-result:first-child { border-top: 0; padding-top: 0; }
.paste-head { margin-bottom: 14px; }
.paste-head h3 { font-size: var(--t-lg); margin: 0 0 4px; }
.paste-saved { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.paste-result .findings { margin-bottom: 12px; }
.paste-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- "Ask a question first" form (inside .next) ---------- */
.question-form { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 10px; }
.question-form textarea, .question-form input[type="text"], .question-form input[type="email"] {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%;
}
.question-form textarea { resize: vertical; min-height: 96px; }
.question-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint-blue); }
.question-form textarea[aria-invalid="true"] { border-color: var(--red); }
.question-form .contact-fields { max-width: none; }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: var(--t-sm); cursor: pointer; }
.check-line input { margin-top: 3px; accent-color: var(--blue); }
.question-sent { margin: 0; font-weight: 650; color: var(--green); }

/* ---------- The choice to continue (report page) ---------- */
.plan-cta {
  border: 2px dashed var(--blue); border-radius: var(--radius); background: var(--tint-blue);
  padding: 24px; display: grid; gap: 16px; margin-bottom: 24px;
}
@media (min-width: 760px) { .plan-cta { grid-template-columns: 1fr auto; align-items: center; padding: 24px 32px; } }
.plan-cta h3 { font-size: var(--t-md); margin-bottom: 0.3em; }
.plan-cta p { margin: 0; max-width: 62ch; }
.plan-cta .btn { min-width: 240px; }

/* ---------- Fix-plan page ---------- */
.plan-page { padding: 40px 0 72px; }
.narrow-wide { max-width: 960px; }
.recap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 20px; font-size: var(--t-sm); }
.recap-line { margin: 0; color: var(--muted); }
.recap-line strong { color: var(--ink); }
.recap-back { color: var(--blue); font-weight: 600; }
.recap-attached { flex-basis: 100%; }
.contact-title { font-size: var(--t-xl); margin: 0 0 0.3em; overflow-wrap: anywhere; }
.contact-box .field { display: grid; gap: 4px; }
.setup-status { color: var(--muted); }
@media (max-width: 520px) { .nav-back li:first-child { display: list-item; } }

/* ---------- Step 2: tell me about your setup ---------- */
.setup { border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 24px; margin-bottom: 24px; }
@media (min-width: 760px) { .setup { padding: 32px; } }
.setup-form { display: grid; gap: 28px; }
.setup-head h3 { font-size: var(--t-lg); margin-bottom: 0.3em; }
.setup-head p { margin: 0; max-width: 62ch; }
.eyebrow { font-size: var(--t-sm); font-weight: 700; color: var(--blue); letter-spacing: 0.02em; margin: 0 0 6px !important; }
.setup fieldset { border: 0; border-top: 1px dashed var(--line); margin: 0; padding: 20px 0 0; display: grid; gap: 10px; min-width: 0; }
.setup legend { font-weight: 750; font-size: var(--t-md); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.setup legend + * { clear: both; }
.setup .hint { color: var(--muted); font-size: var(--t-sm); margin: 0; max-width: 70ch; }
.setup .field-label { margin: 8px 0 0; }
.setup .field-label.small { margin-top: 6px; margin-bottom: 4px; }
.setup input[type="text"], .setup input[type="email"], .setup textarea, .setup select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%;
}
.setup textarea { resize: vertical; }
.setup select:focus, .setup textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint-blue); }

.services, .access { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service, .access li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 10px; }
@media (min-width: 860px) { .service { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.service strong, .access strong { display: block; overflow-wrap: anywhere; }
.service-detail { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }
.access-fields { display: grid; gap: 10px; }
@media (min-width: 640px) { .access-fields { grid-template-columns: 1fr 1fr; } }

.choice-row, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice, .chip { position: relative; }
.choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label, .chip label {
  display: inline-block; cursor: pointer; font-size: var(--t-sm); font-weight: 600; line-height: 1.2;
  padding: 9px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
}
.choice label:hover, .chip label:hover { border-color: var(--ink); }
.choice input:checked + label, .chip input:checked + label { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.choice input:focus-visible + label, .chip input:focus-visible + label { box-shadow: 0 0 0 3px var(--tint-blue); border-color: var(--blue); }

.where { margin: 0; font-size: 1rem; }
.setup-note { margin: 0; padding: 12px 14px; border-left: 4px solid var(--amber); background: var(--tint-amber); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--t-sm); max-width: 72ch; }
.setup-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.setup-actions .fine { flex: 1 1 260px; }
.contact-fields { display: grid; gap: 12px; max-width: 640px; }
@media (min-width: 640px) { .contact-fields { grid-template-columns: 1fr 1.4fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.copy-status { font-size: var(--t-sm); color: var(--green); }
.fine { font-size: var(--t-sm); color: var(--muted); max-width: 72ch; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.band { padding: 72px 0; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col p { max-width: 62ch; }
.callout { border-left: 4px solid var(--red); padding-left: 16px; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 28px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline time { display: block; font-weight: 800; font-size: var(--t-md); font-variation-settings: "wdth" 112; margin-bottom: 4px; }
.timeline p { margin: 0; }

.causes { display: grid; gap: 0; margin: 0; }
@media (min-width: 820px) { .causes { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.causes > div { padding: 18px 0; border-top: 1px solid var(--line); }
.causes dt { font-weight: 750; font-size: var(--t-md); margin-bottom: 4px; font-variation-settings: "wdth" 104; }
.causes dd { margin: 0; color: var(--muted); max-width: 52ch; }

.steps { list-style: none; counter-reset: step; margin: 0 0 40px; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; font-size: 3rem; font-weight: 900; line-height: 1;
  color: var(--blue); font-variation-settings: "wdth" 120; margin-bottom: 10px;
}
.steps p { color: var(--muted); margin: 0; }

.guarantee { border: 2px dashed var(--green); border-radius: var(--radius); padding: 22px 24px; max-width: 760px; }
.guarantee h3 { color: var(--green); }
.guarantee p { margin: 0; }

.offers { display: grid; gap: 24px; margin-bottom: 28px; align-items: start; }
@media (min-width: 860px) { .offers { grid-template-columns: 1.12fr 1fr; } }
@media (min-width: 860px) { .offers-3 { grid-template-columns: 1fr 1fr; } .offers-3 .offer-main { grid-column: 1 / -1; order: -1; } }
@media (min-width: 1100px) { .offers-3 { grid-template-columns: 1fr 1.12fr 1fr; } .offers-3 .offer-main { grid-column: auto; order: 0; } }
.ladder { max-width: 72ch; margin: -8px 0 24px; padding: 12px 16px; border-left: 4px solid var(--green); background: var(--tint-green); border-radius: 0 var(--radius) var(--radius) 0; }
.scope.credit { color: var(--green); font-weight: 650; }
.next-alt { margin-top: 10px !important; font-size: var(--t-sm); }
.next-alt a { font-weight: 650; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.offer-main { border: 2px solid var(--ink); }
.offer h3 { font-size: var(--t-lg); }
.price { font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 12px; font-variation-settings: "wdth" 116; }
.offer:not(.offer-main) .price { font-size: 2rem; }
.price-note { font-size: 1rem; font-weight: 500; color: var(--muted); font-variation-settings: "wdth" 100; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 1rem; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.scope { font-size: var(--t-sm); color: var(--muted); }
.addon { max-width: 72ch; }

.partners { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.text-link { font-weight: 700; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 32px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); max-width: 64ch; }

.footer { padding: 32px 0 48px; font-size: var(--t-sm); color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }

/* Privacy page */
/* ---------- Stay out of spam (tools.html) ---------- */
.tools-page { padding: 56px 0 72px; }
.tools-intro { max-width: 760px; margin-bottom: 48px; }
.tools-intro h1 { font-size: var(--t-xl); margin-bottom: 0.4em; }
.tools-section { margin-bottom: 48px; }
.tools-section h2 { font-size: var(--t-lg); margin-bottom: 0.3em; }
.tool-cards { display: grid; gap: 20px; align-items: start; }
@media (min-width: 760px) { .tool-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .tool-cards { grid-template-columns: repeat(3, 1fr); } }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; min-width: 0; }
.tool-card-muted { background: var(--paper); border-style: dashed; }
.tool-card h3 { font-size: var(--t-md); margin: 0; }
.tool-covers { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.tool-tag {
  justify-self: start; margin: 0; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 0.8rem; font-weight: 750; letter-spacing: 0.01em;
}
.tool-tag-included { color: var(--green); background: var(--tint-green); }
.tool-tag-warn { color: var(--amber); background: var(--tint-amber); }
.tool-facts { margin: 4px 0 0; display: grid; gap: 2px; }
.tool-facts dt { font-size: var(--t-sm); font-weight: 750; color: var(--ink); margin-top: 10px; }
.tool-facts dt:first-child { margin-top: 0; }
.tool-facts dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.tool-facts code { font-family: var(--mono); font-size: 0.9em; background: var(--tint-blue); padding: 1px 4px; border-radius: 3px; }
.tool-link { justify-self: start; margin-top: 6px; font-weight: 700; color: var(--blue); }
.tool-link::after { content: " →"; }
.tools-cta { margin-bottom: 48px; }
.tools-cta h2 { font-size: var(--t-md); margin-bottom: 0.3em; }
.tools-placeholder { border-top: 1px dashed var(--line); padding-top: 32px; }
.tools-placeholder p { color: var(--muted); margin: 0; }
.tools-honesty { border-top: 1px solid var(--line); padding-top: 24px; }
.tools-honesty p { margin: 0 0 6px; font-weight: 600; max-width: 68ch; }

.prose { padding: 56px 0 72px; }
.prose h1 { font-size: var(--t-xl); }
.prose h2 { font-size: var(--t-md); margin-top: 1.6em; }
.prose p, .prose li { max-width: 68ch; }
