/* OpenDocket by CRYME — Site B "First hours" */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #0A0A0A;
  --s1: #131313;
  --s2: #1B1B1B;
  --s3: #242424;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #EFEFEF;
  --muted: #A3A3A3;
  --dim: #6E6E6E;
  --orange: #E8610A;
  --orange-bright: #FF7722;
  --orange-ink: #140800;
  --orange-soft: rgba(232,97,10,.12);
  --paper: #F2EFE8;
  --paper-2: #E7E3D9;
  --paper-ink: #1C1A17;
  --paper-muted: #5E5850;
  --verified: #4CC38A;
  --verified-paper: #1C7A4F;
  --warn: #F0756B;
  --warn-surface: #1F1211;
  --warn-line: #6B2A24;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 9vw, 132px);
  --radius: 14px;
  --radius-paper: 4px;
  --heading: #FFFFFF;
  --text-2: #D2D2D2;
  --orange-text: #FF7722;
  --orange-hover: #FF7722;
  --link-line: rgba(232,97,10,.7);
  --warn-text: #E6CCC8;
  --warn-top: #221312;
  --verified-text: #DCEFE4;
  --bar-bg: #050505;
  --header-bg: rgba(10,10,10,.82);
  --foot-bg: #070707;
  --panel-top: #171717;
  --panel-bot: #111111;
  --mock-bg: #151515;
  --inset-bg: #0F0F0F;
  --tint: rgba(255,255,255,.035);
  --line-3: rgba(255,255,255,.32);
  --control-line: #5E5E5E;
  --shadow-c: rgba(0,0,0,.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--link-line); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heading); text-decoration-color: var(--orange-text); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong { font-weight: 600; color: var(--heading); }
code, .mono { font-family: var(--mono); font-size: .88em; letter-spacing: 0; }
::selection { background: var(--orange); color: var(--orange-ink); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--orange-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 66ch; }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--rule.section { padding-top: var(--section); }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; color: var(--heading); }
.h1-hero { font-size: clamp(2.6rem, 5vw, 4.5rem); max-width: 15ch; }
.h1-page { font-size: clamp(2.5rem, 5vw, 4.25rem); max-width: 16ch; }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; color: var(--heading); max-width: 24ch; }
.h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; line-height: 1.35; color: var(--heading); letter-spacing: -.005em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.55; }
.kicker { font-size: .95rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--orange); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn--primary { background: var(--orange); color: var(--orange-ink); }
.btn--primary:hover { background: var(--orange-hover); color: var(--orange-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--line-3); color: var(--heading); background: var(--tint); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--heading); border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Safety bar + header ---------- */
.safety-bar { background: var(--bar-bg); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.safety-bar .wrap { display: flex; gap: 10px; align-items: center; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.safety-bar svg { flex: none; width: 15px; height: 15px; color: var(--verified); }
.safety-bar a { color: var(--text); white-space: nowrap; }
.safety-bar .sb-long { display: none; }
@media (min-width: 760px) { .safety-bar .sb-long { display: inline; } .safety-bar .sb-short { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 650; font-size: 1.22rem; letter-spacing: -.02em; }
.brand-by { font-size: .72rem; color: var(--muted); margin-top: 5px; letter-spacing: .01em; }
.nav { margin-left: auto; display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: .95rem; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--heading); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--heading); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.header-cta { display: none; }
.menu-btn { margin-left: 8px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--heading); border: 1px solid var(--line-2); border-radius: 10px; font: 500 .95rem var(--sans); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 1220px) { .nav { display: flex; } .header-cta { display: inline-flex; margin-left: 12px; } .theme-btn { margin-left: 10px; } .menu-btn { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--night); display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-menu nav { padding: 20px var(--gutter) 8px; display: grid; }
.mobile-menu nav a { font-family: var(--serif); font-size: 1.85rem; color: var(--heading); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--orange-text); }
.mobile-menu .mm-foot { padding: 20px var(--gutter) 40px; display: grid; gap: 16px; }
.mobile-menu .mm-foot .btn { width: 100%; }
.mobile-menu .mm-small { display: grid; gap: 6px; font-size: .95rem; }
.mobile-menu .mm-small a { color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
@media (max-width: 899px) { .hero-bg { display: none; } .hero .btn-row .btn { flex: 1 1 100%; } }
.hero-bg svg { position: absolute; right: -120px; top: -40px; width: 900px; height: auto; max-width: none; }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(232,97,10,.14), rgba(232,97,10,0)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1040px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: start; } }
.hero-copy { padding-top: clamp(0px, 2vw, 28px); }
.hero-copy .lede { margin: 28px 0 32px; }
.hero-copy .boundary { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; max-width: 52ch; }
.hero-copy .boundary strong { color: var(--heading); font-weight: 600; }

/* ---------- Triage ---------- */
.triage { background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 40px 120px -40px var(--shadow-c), 0 0 0 1px rgba(0,0,0,.6); }
.triage-q { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.1; color: var(--heading); margin-bottom: 6px; }
.triage-hint { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.triage-options { display: grid; gap: 10px; }
@media (min-width: 560px) { .triage-options { grid-template-columns: 1fr 1fr; } }
.t-opt { display: flex; align-items: flex-start; gap: 12px; text-align: left; width: 100%; min-height: 64px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--tint); color: var(--text-2); font: 500 .98rem/1.35 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.t-opt:hover { border-color: var(--line-3); background: var(--tint); color: var(--heading); }
.t-opt .dot { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--control-line); display: grid; place-items: center; transition: border-color .2s; }
.t-opt .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .2s; }
.t-opt.is-on, .t-opt[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--heading); }
.t-opt.is-on .dot, .t-opt[aria-pressed="true"] .dot { border-color: var(--orange); }
.t-opt.is-on .dot::after, .t-opt[aria-pressed="true"] .dot::after { transform: scale(1); }
.t-panel { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.t-panel[hidden] { display: none; }
.t-panel-title { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.t-steps { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; gap: 0; }
.t-steps li { counter-increment: t; position: relative; padding: 0 0 18px 48px; }
.t-steps li:last-child { padding-bottom: 4px; }
.t-steps li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--orange); color: var(--orange-text); font: 500 .85rem/28px var(--mono); text-align: center; background: var(--night); }
.t-steps li::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 1px; background: linear-gradient(var(--orange), rgba(232,97,10,.15)); }
.t-steps li:last-child::after { display: none; }
.t-steps strong { display: block; color: var(--heading); font-weight: 600; margin-bottom: 2px; }
.t-steps span { color: var(--text-2); font-size: .97rem; }
.t-next { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 18px; }
.js .t-panel.is-entering .t-steps li { animation: stepIn .45s cubic-bezier(.2,.7,.2,1) both; }
.js .t-panel.is-entering .t-steps li:nth-child(2) { animation-delay: .07s; }
.js .t-panel.is-entering .t-steps li:nth-child(3) { animation-delay: .14s; }
.js .t-panel.is-entering .t-steps li:nth-child(4) { animation-delay: .21s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Facts line ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 34px; }
.facts li { display: flex; gap: 10px; align-items: center; color: var(--text-2); font-size: .95rem; }
.facts svg { width: 16px; height: 16px; color: var(--verified); flex: none; }

/* ---------- Payment trail ---------- */
.trail { display: grid; gap: 0; position: relative; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .trail { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; } }
.trail-node { position: relative; padding: 0 0 36px 44px; }
@media (min-width: 900px) { .trail-node { padding: 52px 28px 0 0; } }
.trail-node::before { content: ""; position: absolute; left: 9px; top: 6px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--orange); background: var(--night); box-shadow: 0 0 0 6px rgba(232,97,10,.08); z-index: 1; }
.trail-node::after { content: ""; position: absolute; left: 18.5px; top: 28px; bottom: 0; width: 1.5px; background: var(--orange); opacity: .55; }
.trail-node:last-child::after { display: none; }
@media (min-width: 900px) {
  .trail-node::before { left: 0; top: 6px; }
  .trail-node::after { left: 22px; right: 0; top: 15.5px; bottom: auto; width: auto; height: 1.5px; }
  .trail-node:last-child::after { display: none; }
}
.trail-node:last-child::before { background: var(--orange); }
.trail-kind { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.trail-title { font-weight: 600; color: var(--heading); font-size: 1.1rem; margin-bottom: 10px; }
.trail-data { display: grid; gap: 4px; font-family: var(--mono); font-size: .86rem; color: var(--text-2); }
.trail-data span { color: var(--muted); font-family: var(--sans); font-size: .82rem; }
.chain-check { margin-top: 40px; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px 16px; align-items: start; padding: 18px 20px; border: 1px solid rgba(76,195,138,.28); background: rgba(76,195,138,.06); border-radius: 12px; }
.chain-check svg { width: 22px; height: 22px; color: var(--verified); flex: none; }
.chain-check .sample-tag { grid-column: 2; justify-self: start; }
@media (min-width: 900px) { .chain-check { grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; } .chain-check .sample-tag { grid-column: auto; } }
.chain-check p { margin: 0; color: var(--verified-text); font-size: .98rem; }
.chain-check .mono { color: var(--heading); }
.sample-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); border: 1px dashed var(--line-2); padding: 4px 10px; border-radius: 999px; }

/* ---------- Paper sheets (the case pack) ---------- */
.pack { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1040px) { .pack { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } .pack .sheets { position: sticky; top: 120px; } }
.sheets { position: relative; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: start; padding: 8px 8px 24px 0; }
.sheet { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: var(--radius-paper); box-shadow: 0 1px 0 var(--line-3) inset, 0 30px 60px -20px var(--shadow-c), 0 8px 18px -6px rgba(0,0,0,.6); font-size: 12px; line-height: 1.5; overflow: hidden; }
.sheet--stmt { grid-column: 1 / -1; width: 90%; padding: 28px 30px 24px; z-index: 1; }
.sheet--a { grid-column: 1; margin-top: -10px; margin-left: 5%; padding: 20px 20px 16px; transform: rotate(-1.4deg); z-index: 2; background: #EEEAE1; }
.sheet--b { grid-column: 2; margin-top: 14px; margin-left: -18px; padding: 20px 18px 16px; transform: rotate(1.8deg); z-index: 3; background: #E9E5DB; }
@media (max-width: 640px) {
  .sheets { grid-template-columns: minmax(0,1fr); padding-right: 0; }
  .sheet { font-size: 11px; }
  .sheet--stmt { width: 94%; padding: 20px 18px; }
  .sheet--a { grid-column: 1; width: 92%; margin-left: 8%; margin-top: -18px; }
  .sheet--b { grid-column: 1; width: 84%; margin-left: 2%; margin-top: -10px; }
}
.sheet-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid #CFC9BC; padding-bottom: 10px; margin-bottom: 12px; }
.sheet-head b { font-family: var(--sans); font-weight: 700; font-size: 1.05em; letter-spacing: -.01em; }
.sheet-head span { font-family: var(--mono); font-size: .9em; color: var(--paper-muted); }
.sheet .s-serif { font-family: Georgia, "Times New Roman", serif; }
.sheet ol { margin: 0; padding: 0; list-style: none; counter-reset: para; }
.sheet ol li { counter-increment: para; display: grid; grid-template-columns: 22px 1fr; gap: 4px; margin-bottom: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.04em; line-height: 1.5; }
.sheet ol li::before { content: counter(para) "."; color: var(--paper-muted); font-family: var(--sans); font-size: .92em; padding-top: 1px; }
.sheet .blank { display: inline-block; min-width: 72px; border-bottom: 1px solid #9C9486; height: 1em; vertical-align: baseline; }
.sheet .sig { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 16px; padding-top: 10px; }
.sheet .sig-line { flex: 1; border-top: 1px solid #9C9486; padding-top: 4px; font-family: var(--sans); font-size: .85em; color: var(--paper-muted); }
.stamp { flex: none; width: 74px; height: 74px; border-radius: 50%; border: 1.5px dashed #B6AE9F; display: grid; place-items: center; text-align: center; font-family: var(--sans); font-size: .72em; line-height: 1.2; color: #8E8678; padding: 8px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .96em; }
.sheet th { text-align: left; font-family: var(--sans); font-weight: 600; color: var(--paper-muted); font-size: .88em; padding: 0 6px 6px 0; border-bottom: 1px solid #CFC9BC; }
.sheet td { padding: 7px 6px 7px 0; border-bottom: 1px solid #DCD6CA; vertical-align: top; font-family: var(--mono); font-size: .95em; }
.sheet td { white-space: nowrap; }
.sheet td.tx { font-family: var(--sans); white-space: normal; }
.ok { color: var(--verified-paper); font-family: var(--sans); font-weight: 600; display: inline-flex; align-items: flex-start; gap: 4px; line-height: 1.3; }
.ok svg { width: 11px; height: 11px; flex: none; margin-top: 2px; }
.as-stated { color: var(--paper-muted); font-family: var(--sans); white-space: nowrap; }
.sheet-foot { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .86em; color: var(--paper-muted); }
.js .reveal-sheets .sheet { animation: settle .9s cubic-bezier(.2,.7,.1,1) both; }
.js .reveal-sheets .sheet--a { animation-delay: .1s; }
.js .reveal-sheets .sheet--b { animation-delay: .2s; }
@keyframes settle { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1039px) { .pack .sheets { order: 2; } }
.pack-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pack-list li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.pack-list li:last-child { border-bottom: 1px solid var(--line); }
.pack-list .pl-mark { font-family: var(--mono); font-size: .82rem; color: var(--orange-text); padding-top: 4px; }
.pack-list h3 { font-size: 1.08rem; font-weight: 600; color: var(--heading); margin: 0 0 4px; }
.pack-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Steps along a node line ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.steps > li { counter-increment: s; position: relative; padding: 0 0 36px 64px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--orange); display: grid; place-items: center; font: 500 .95rem var(--mono); color: var(--orange-text); background: var(--night); z-index: 1; }
.steps > li::after { content: ""; position: absolute; left: 20.5px; top: 44px; bottom: 0; width: 1.5px; background: rgba(232,97,10,.45); }
.steps > li:last-child::after { display: none; }
@media (min-width: 980px) {
  .steps > li { padding: 68px 32px 0 0; }
  .steps > li::after { left: 44px; right: 0; top: 20.5px; bottom: auto; width: auto; height: 1.5px; }
}
.steps h3 { font-size: 1.15rem; font-weight: 600; color: var(--heading); margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Recovery company answer ---------- */
.answer { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 980px) { .answer { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.answer-q { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--heading); }
.answer-no { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: .9; color: var(--orange); margin-top: 14px; }
.answer-body { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.answer-body p:last-child { margin-bottom: 0; }

/* ---------- Do / don't ---------- */
.dodont { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 860px) { .dodont { grid-template-columns: 1fr 1fr; gap: 0; } .dodont > div + div { border-left: 1px solid var(--line); padding-left: 40px; } .dodont > div:first-child { padding-right: 40px; } }
.dodont h3 { font-size: 1.1rem; font-weight: 600; color: var(--heading); margin: 0 0 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); font-size: .99rem; }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; }
.ticks--do svg { color: var(--verified); }
.ticks--dont svg { color: var(--warn); }

/* ---------- 72-hour timeline ---------- */
.hours { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .hours { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.hour { padding: 28px 0 32px; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .hour { padding: 32px 28px 36px 0; border-bottom: 0; } .hour + .hour { border-left: 1px solid var(--line); padding-left: 28px; } }
.hour-when { font-family: var(--serif); font-size: 1.75rem; color: var(--heading); margin-bottom: 4px; }
.hour-sub { color: var(--orange-text); font-size: .9rem; margin-bottom: 16px; }
.hour ul { margin: 0 0 18px; padding: 0 0 0 18px; color: var(--text-2); font-size: .97rem; display: grid; gap: 6px; }
.hour ul li::marker { color: var(--dim); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist .box { width: 20px; height: 20px; border: 1.5px solid var(--control-line); border-radius: 5px; margin-top: 3px; }
.split { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } }
.note { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); color: var(--text-2); font-size: .95rem; }
.note svg { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.note p { margin: 0; }

/* ---------- Warning ---------- */
.warning { border-radius: 18px; border: 1px solid var(--warn-line); background: linear-gradient(180deg, var(--warn-top), var(--warn-surface)); padding: clamp(26px, 4vw, 48px); display: grid; gap: 22px; }
@media (min-width: 900px) { .warning { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 32px; } }
.warning-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--warn-line); display: grid; place-items: center; color: var(--warn); }
.warning-icon svg { width: 24px; height: 24px; }
.warning h2, .warning h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--heading); margin: 0 0 10px; }
.warning p { margin: 0; color: var(--warn-text); max-width: 62ch; }
.warning .btn--ghost { border-color: var(--warn-line); }
.warning .btn--ghost:hover { border-color: var(--warn); }
.warning-inline { border-left: 3px solid var(--warn); background: var(--warn-surface); padding: 18px 22px; border-radius: 0 12px 12px 0; color: var(--warn-text); }
.warning-inline strong { color: var(--heading); }
.warning-inline p:last-child { margin-bottom: 0; }

/* ---------- Routes ---------- */
.routes { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .routes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.route { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
@media (min-width: 900px) { .route { padding: 32px 32px 32px 0; border-bottom: 0; } .route + .route { padding-left: 32px; border-left: 1px solid var(--line); } }
.route h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--heading); }
.route p { color: var(--muted); margin: 0 0 6px; }
.route .link-arrow, .hour .link-arrow { justify-self: start; }

/* ---------- Why free ---------- */
.free { display: grid; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
@media (min-width: 900px) { .free { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 56px; } }
.free p { margin: 0; color: var(--text-2); font-size: 1.08rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .hero-glow { right: -320px; top: -360px; }
.page-hero .wrap { position: relative; }
.page-hero .lede { margin-top: 26px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.chip svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Guide layout ---------- */
.guide { display: grid; gap: 40px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--section); }
@media (min-width: 1040px) { .guide { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { display: none; }
@media (min-width: 1040px) { .toc { display: block; position: sticky; top: 112px; align-self: start; } }
.toc p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); text-decoration: none; font-size: .94rem; line-height: 1.35; }
.toc a:hover { color: var(--heading); }
.toc a.is-active { color: var(--heading); border-left-color: var(--orange); }
.toc .toc-progress { margin-top: 22px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); }
.toc .toc-progress b { font-family: var(--mono); font-weight: 500; color: var(--heading); }
.bar { height: 4px; background: var(--s3); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s; }
.prose { max-width: 70ch; }
.prose > section { padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--heading); margin: 0 0 18px; }
.prose h3 { font-size: 1.15rem; font-weight: 600; color: var(--heading); margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 8px; }
.prose ul li::marker { color: var(--orange); }
.prose .lead-in { color: var(--muted); font-size: 1.05rem; }
.wide { max-width: none; }

/* timeline (first steps) */
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl > li { position: relative; padding: 0 0 28px 56px; }
.tl > li::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--orange); display: grid; place-items: center; font: 500 .85rem var(--mono); color: var(--orange-text); background: var(--night); }
.tl > li::after { content: ""; position: absolute; left: 17.5px; top: 38px; bottom: 0; width: 1.5px; background: rgba(232,97,10,.35); }
.tl > li:last-child::after { display: none; }
.tl h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.tl p { margin: 0; }
.time-mark { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--orange-text); margin-bottom: 12px; }
.time-mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(232,97,10,.15); }

.check { list-style: none; margin: 0; padding: 0; display: grid; }
.check li { border-bottom: 1px solid var(--line); }
.check li:first-child { border-top: 1px solid var(--line); }
.check label { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 4px; cursor: pointer; color: var(--text-2); }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--control-line); border-radius: 6px; display: grid; place-items: center; background: transparent; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--orange-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { opacity: 1; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-3); }
.check input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.callout { padding: 22px 24px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--accent { border-color: rgba(232,97,10,.35); background: linear-gradient(180deg, rgba(232,97,10,.07), rgba(232,97,10,.02)); }

/* ---------- Tables ---------- */
.table-wrap { margin: 8px 0 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: .96rem; }
.dtable caption { text-align: left; color: var(--muted); font-size: .9rem; padding-bottom: 12px; }
.dtable th { text-align: left; font-weight: 600; color: var(--muted); font-size: .88rem; padding: 0 18px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.dtable td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.dtable td:first-child { color: var(--heading); font-weight: 600; width: 22%; }
.dtable td .mono { color: var(--heading); }
@media (max-width: 760px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .dtable td { border: 0; padding: 4px 0; }
  .dtable td:first-child { width: 100%; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }
  .dtable td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; }
}

/* follow-up log */
.log-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 16px; }
.log-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .82rem; padding: 0 10px 10px 0; border-bottom: 1px solid var(--line-2); }
.log-table td { height: 54px; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; color: var(--text-2); vertical-align: top; }
.log-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.log-scroll table { min-width: 680px; }
.log-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; }

/* route diagram */
.routemap { display: grid; gap: 12px; margin: 28px 0 8px; }
@media (min-width: 760px) { .routemap { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; } }
.rm-node { position: relative; padding: 16px 16px 16px 0; }
@media (min-width: 760px) { .rm-node { padding: 40px 16px 0 0; } .rm-node::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--orange); background: var(--night); z-index: 1; } .rm-node::after { content: ""; position: absolute; left: 16px; right: 0; top: 16.5px; height: 1.5px; background: rgba(232,97,10,.5); } .rm-node:last-child::after { display: none; } }
@media (max-width: 759px) { .rm-node { padding: 4px 0 14px 30px; } .rm-node::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--orange); } .rm-node::after { content: ""; position: absolute; left: 6.5px; top: 24px; bottom: -4px; width: 1.5px; background: rgba(232,97,10,.5); } .rm-node:last-child::after { display: none; } }
.rm-node b { display: block; color: var(--heading); font-weight: 600; }
.rm-node span { color: var(--muted); font-size: .9rem; }
.rm-side { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: .93rem; }
.rm-side b { color: var(--heading); font-weight: 600; }

/* ---------- Accordions (FAQ) ---------- */
.faq-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.input { width: 100%; min-height: 52px; padding: 0 16px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 10px; color: var(--heading); font: 400 1rem var(--sans); }
.search .input { padding-left: 46px; }
.input::placeholder { color: var(--dim); }
.input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.faq-group { margin-bottom: 56px; }
.faq-group h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--heading); margin: 0 0 14px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 2px; font-weight: 600; color: var(--heading); font-size: 1.04rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-top: 1px; transition: border-color .2s, transform .25s; }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--heading); transform: translate(-50%,-50%); }
.acc summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .25s; }
.acc details[open] summary .pm { border-color: var(--orange); }
.acc details[open] summary .pm::after { transform: translate(-50%,-50%) rotate(0deg); }
.acc summary:hover .pm { border-color: var(--line-3); }
.acc .acc-body { padding: 0 48px 22px 2px; color: var(--text-2); max-width: 70ch; }
.acc .acc-body p:last-child { margin-bottom: 0; }
.faq-empty { color: var(--muted); padding: 20px 0; }

/* ---------- App / product mocks ---------- */
.mock { background: var(--mock-bg); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -40px var(--shadow-c); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--s3); }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 22px; }
.mock-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.mock-progress i { height: 3px; flex: 1; background: var(--s3); border-radius: 3px; }
.mock-progress i.on { background: var(--orange); }
.mock-q { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--heading); margin: 0 0 6px; }
.mock-help { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.mock-field { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; color: var(--text-2); font-size: .95rem; background: var(--inset-bg); min-height: 84px; }
.mock-field .caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--orange); vertical-align: -2px; margin-left: 1px; }
.mock-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; flex-wrap: wrap; }
.mock-actions .fake-btn { padding: 9px 14px; border-radius: 9px; font-size: .88rem; font-weight: 600; }
.fake-btn.p { background: var(--orange); color: var(--orange-ink); }
.fake-btn.g { border: 1px solid var(--line-2); color: var(--text-2); }
.mismatch { display: grid; gap: 10px; }
.mm-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--inset-bg); border: 1px solid var(--line); font-size: .9rem; }
.mm-row b { color: var(--muted); font-weight: 500; }
.mm-row .mono { color: var(--heading); }
.mm-row.diff { border-color: rgba(232,97,10,.45); background: rgba(232,97,10,.06); }
.mm-row mark { background: rgba(232,97,10,.25); color: var(--heading); padding: 0 3px; border-radius: 3px; }
.para-confirm { background: var(--paper); color: var(--paper-ink); border-radius: 10px; padding: 16px 18px; font-family: Georgia, serif; font-size: .98rem; line-height: 1.55; }
.para-confirm .pn { font-family: var(--sans); font-size: .8rem; color: var(--paper-muted); display: block; margin-bottom: 6px; }
.para-src { margin-top: 10px; font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.para-src svg { width: 14px; height: 14px; color: var(--orange); }

.hiw-step { display: grid; gap: clamp(28px, 4vw, 64px); padding: var(--section) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .hiw-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .hiw-step:nth-of-type(even) .hiw-visual { order: -1; } }
.hiw-num { font-family: var(--mono); color: var(--orange-text); font-size: .9rem; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.hiw-num::after { content: ""; height: 1px; width: 48px; background: var(--orange); opacity: .6; }
.hiw-step h2 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.06; color: var(--heading); margin: 0 0 18px; }
.hiw-step p, .hiw-step li { color: var(--text-2); }
.hiw-step ul { padding-left: 20px; display: grid; gap: 6px; }
.hiw-step ul li::marker { color: var(--orange); }
.chain-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }

.ai-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .ai-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.ai-grid > div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .ai-grid > div:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); } }
.ai-grid h3 { font-size: 1.05rem; color: var(--heading); font-weight: 600; margin: 0 0 6px; }
.ai-grid p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Cards (scam types / lists) ---------- */
.types { display: grid; gap: 0; border-top: 1px solid var(--line); }
.type { display: grid; gap: 18px 56px; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .type { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.type h2 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.1; color: var(--heading); margin: 0 0 14px; }
.type p { color: var(--text-2); margin: 0 0 16px; }
.type h3 { font-size: .95rem; font-weight: 600; color: var(--muted); margin: 4px 0 12px; }
.type .ticks li { font-size: .97rem; }

.never { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.never li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: var(--text-2); }
.never .x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--warn-line); display: grid; place-items: center; color: var(--warn); }
.never .x svg { width: 15px; height: 15px; }
.domains { display: grid; gap: 0; border-top: 1px solid var(--line); }
.domains div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.domains .mono { font-size: 1.08rem; color: var(--heading); }
.domains span:last-child { color: var(--muted); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form-row .input { flex: 1 1 240px; font-family: var(--mono); letter-spacing: .04em; }
.field-label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.field-help { color: var(--muted); font-size: .9rem; margin: 0; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--s2); border: 1px solid var(--line-2); color: var(--text-2); font-size: .95rem; }
.form-msg[hidden] { display: none; }

.panel { padding: clamp(24px, 3.5vw, 40px); border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.panel--raised { background: linear-gradient(180deg, var(--panel-top), var(--panel-bot)); border-color: var(--line-2); box-shadow: 0 40px 100px -50px var(--shadow-c); }

.copy-block { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 12px; padding: 24px 24px 20px; font-size: 1rem; line-height: 1.65; }
.copy-block p { margin: 0 0 12px; }
.copy-block .btn { margin-top: 6px; }
.copy-block .btn--ghost { color: var(--paper-ink); border-color: #C9C2B4; }
.copy-block .btn--ghost:hover { background: #E7E2D7; color: var(--paper-ink); }

.person { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .person { grid-template-columns: 112px 1fr; gap: 32px; } }
.monogram { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: var(--heading); background: radial-gradient(circle at 30% 25%, var(--s3), var(--s1)); border: 1px solid var(--line-2); position: relative; }
.monogram::after { content: ""; position: absolute; right: 6px; bottom: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--night); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }

.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 1.03rem; }
.rules li::before { content: counter(r); font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--orange); }

.two-col { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 980px) { .two-col { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--foot-bg); padding: clamp(64px, 8vw, 104px) 0 40px; }
.foot-top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .foot-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 72px; } }
.foot-statement { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; color: var(--heading); max-width: 18ch; margin: 22px 0 18px; }
.foot-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot-cols h2 { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols a { color: var(--text-2); text-decoration: none; font-size: .96rem; }
.foot-cols a:hover { color: var(--heading); text-decoration: underline; text-decoration-color: var(--orange); }
.foot-small { padding-top: 32px; display: grid; gap: 14px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.foot-small p { margin: 0; max-width: 110ch; }
.foot-small a { color: var(--text-2); }
.foot-well { padding: 16px 18px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); color: var(--text-2); }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 8px; }

/* ---------- Print: follow-up log ---------- */


/* ---------- Plans (free + paid) ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--s1); }
.plan--paid { border-color: rgba(232,97,10,.45); background: linear-gradient(180deg, var(--orange-soft), transparent 55%), var(--s1); }
.plan-name { margin: 0; font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-amount { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 1; color: var(--heading); }
.plan-from { color: var(--muted); font-size: 1rem; }
.plan-for { margin: 0 0 6px; color: var(--muted); max-width: 46ch; }
.plan .ticks { margin-bottom: 10px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 559px) { .plan .btn { align-self: stretch; } }
.plans-note { margin: 18px 0 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* ---------- Final step opt-in ---------- */
.mock-step { margin: 14px 0 6px; font-size: .85rem; color: var(--muted); }
.optin { display: grid; gap: 10px; margin-top: 14px; }
.optin-row { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inset-bg); cursor: pointer; }
.optin-row b { display: block; font-weight: 600; color: var(--heading); font-size: .97rem; line-height: 1.4; }
.optin-row small { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.optin-row--key { border-color: rgba(232,97,10,.5); background: var(--orange-soft); }
.optin-row .cb { margin-top: 1px; }
.optin-row:has(.cb:checked) { border-color: var(--orange); }

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  --night: #F6F5F2;
  --s1: #FFFFFF;
  --s2: #EFEDE8;
  --s3: #E4E1DA;
  --line: rgba(28,26,23,.11);
  --line-2: rgba(28,26,23,.2);
  --line-3: rgba(28,26,23,.38);
  --text: #26231F;
  --text-2: #3D3934;
  --muted: #5C574F;
  --dim: #8A847B;
  --heading: #14120F;
  --orange-text: #B04608;
  --orange-hover: #F27A2A;
  --orange-soft: rgba(232,97,10,.09);
  --link-line: rgba(176,70,8,.55);
  --paper: #FFFFFF;
  --paper-2: #F4F2ED;
  --verified: #1C7A4F;
  --verified-text: #1E5E40;
  --warn: #B3261E;
  --warn-text: #5A1C17;
  --warn-top: #FFF3F1;
  --warn-surface: #FDECE9;
  --warn-line: #F0C4BD;
  --bar-bg: #ECEAE5;
  --header-bg: rgba(246,245,242,.86);
  --foot-bg: #EEECE7;
  --panel-top: #FFFFFF;
  --panel-bot: #FBFAF8;
  --mock-bg: #FFFFFF;
  --inset-bg: #F7F6F3;
  --tint: rgba(28,26,23,.035);
  --control-line: #9A948A;
  --shadow-c: rgba(40,30,20,.18);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not(.js) {
  --night: #F6F5F2;
  --s1: #FFFFFF;
  --s2: #EFEDE8;
  --s3: #E4E1DA;
  --line: rgba(28,26,23,.11);
  --line-2: rgba(28,26,23,.2);
  --line-3: rgba(28,26,23,.38);
  --text: #26231F;
  --text-2: #3D3934;
  --muted: #5C574F;
  --dim: #8A847B;
  --heading: #14120F;
  --orange-text: #B04608;
  --orange-hover: #F27A2A;
  --orange-soft: rgba(232,97,10,.09);
  --link-line: rgba(176,70,8,.55);
  --paper: #FFFFFF;
  --paper-2: #F4F2ED;
  --verified: #1C7A4F;
  --verified-text: #1E5E40;
  --warn: #B3261E;
  --warn-text: #5A1C17;
  --warn-top: #FFF3F1;
  --warn-surface: #FDECE9;
  --warn-line: #F0C4BD;
  --bar-bg: #ECEAE5;
  --header-bg: rgba(246,245,242,.86);
  --foot-bg: #EEECE7;
  --panel-top: #FFFFFF;
  --panel-bot: #FBFAF8;
  --mock-bg: #FFFFFF;
  --inset-bg: #F7F6F3;
  --tint: rgba(28,26,23,.035);
  --control-line: #9A948A;
  --shadow-c: rgba(40,30,20,.18);
  color-scheme: light;
  }
}
:root[data-theme="light"] .sheet { box-shadow: 0 0 0 1px rgba(28,26,23,.08), 0 24px 50px -24px rgba(40,30,20,.28), 0 6px 14px -6px rgba(40,30,20,.12); }
:root[data-theme="light"] .sheet--a { background: #FBFAF6; }
:root[data-theme="light"] .sheet--b { background: #F8F6F0; }
:root[data-theme="light"] .triage, :root[data-theme="light"] .panel--raised, :root[data-theme="light"] .mock { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 70px -40px rgba(40,30,20,.35); }
:root[data-theme="light"] .hero-glow { opacity: .55; }
:root[data-theme="light"] .chain-check { border-color: rgba(28,122,79,.3); background: rgba(28,122,79,.06); }
:root[data-theme="light"] .mm-row mark { background: rgba(232,97,10,.18); }
:root[data-theme="light"] .monogram { color: var(--heading); }

/* ---------- Theme toggle ---------- */
.theme-btn { margin-left: auto; flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn:hover { border-color: var(--line-3); background: var(--tint); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.mm-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 4px; color: var(--muted); font-size: .95rem; }

@media print {
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  .safety-bar, .site-header, .site-footer, .mobile-menu, .toc, .no-print, .skip { display: none !important; }
  body.print-log main > *:not(.print-scope) { display: none !important; }
  body.print-log .print-scope > *:not(.guide) { display: none !important; }
  body.print-log .guide > *:not(.prose) { display: none !important; }
  body.print-log .prose > section:not(#follow-up) { display: none !important; }
  * { color: #000 !important; background: transparent !important; box-shadow: none !important; border-color: #999 !important; }
  .prose h2 { font-size: 20pt; }
  .log-scroll table { min-width: 0; }
  .log-table td { height: 40pt; border-bottom: 1px solid #999; }
  a { text-decoration: none; }
}

/* generic checkbox */
.cb { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--control-line); border-radius: 6px; display: inline-grid; place-items: center; background: transparent; cursor: pointer; }
.cb::after { content: ""; width: 10px; height: 6px; border: solid var(--orange-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.cb:checked { background: var(--orange); border-color: var(--orange); }
.cb:checked::after { opacity: 1; }
.tl-done { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; color: var(--muted); cursor: pointer; user-select: none; }
.tl > li:has(.cb:checked) h3 { color: var(--muted); }
.progress-mobile { position: sticky; top: 72px; z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .9rem; color: var(--muted); }
.progress-mobile .wrap { display: flex; align-items: center; gap: 14px; }
.progress-mobile .bar { flex: 1; margin-top: 0; }
@media (min-width: 1040px) { .progress-mobile { display: none; } }

.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1040px) { .faq-layout { grid-template-columns: 280px minmax(0,1fr); gap: 72px; } .faq-side { position: sticky; top: 112px; align-self: start; } }
.faq-side .search { max-width: none; }
@media (max-width: 1039px) { .faq-side nav { display: none !important; } }
.guide > * { min-width: 0; }
/* paper keeps its own ink, whatever context it sits in */
.sheet p, .sheet li, .para-confirm, .copy-block p { color: var(--paper-ink); }
.rm-side svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.btn svg { width: 18px; height: 18px; flex: none; }
.display, .h2, .prose h2, .hiw-step h2, .type h2, .answer-q, .warning h2, .foot-statement, .route h3 { text-wrap: balance; }
.lede, .section-head p { text-wrap: pretty; }
.log-table th:first-child { width: 12%; }

.pl-optional { opacity: 1; }
.pl-optional .pl-mark { color: var(--muted); }
.pl-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border: 1px solid rgba(232,97,10,.45); border-radius: 999px; font-size: .74rem; font-weight: 500; color: var(--orange-text); vertical-align: 2px; white-space: nowrap; }

/* ---------- Pricing page ---------- */
.pricing-sample { display: grid; gap: 40px; }
@media (min-width: 980px) { .pricing-sample { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: 64px; } }
.sheet--c { padding: 24px 24px 20px; transform: rotate(-.6deg); }
.sheet--c table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.sheet--c td:nth-child(2) { font-size: .92em; }
.sheet-note { margin: 14px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: .9rem; line-height: 1.5; color: var(--paper-ink); }
@media (max-width: 559px) { .sheet--c { transform: none; padding: 18px 14px; } .sheet--c table { font-size: .72rem; } .sheet--c th:nth-child(4), .sheet--c td:nth-child(4) { display: none; } }
.cancant { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 640px) { .cancant { grid-template-columns: 1fr 1fr; } }
.cancant .h3 { margin-bottom: 14px; }
.pricing-warn { padding: 24px 26px; }
.pricing-warn .link-arrow { margin-top: 10px; }
.quote-checks { gap: 18px; }

/* ---------- Header fit ---------- */
.nav a { white-space: nowrap; }
.site-header .bb-long { display: none; }
@media (min-width: 1440px) { .site-header .bb-long { display: inline; } }
@media (min-width: 1220px) and (max-width: 1360px) { .nav a { padding: 8px 9px; font-size: .92rem; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 639px) {
  .pack .sheet--b { display: none; }
  .pack .sheets { padding-bottom: 0; }
  .section-head { margin-bottom: 32px; }
  .h2 { font-size: clamp(1.85rem, 7.4vw, 2.2rem); }
  .lede { font-size: 1.08rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .safety-bar { font-size: .8rem; }
  .facts ul { gap: 10px 18px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.05rem; }
  .menu-btn { padding: 0 11px; }
}
.tl-done { min-height: 44px; padding: 10px 0; }
