/* LeadAtlas site styles. Uses tokens only (tokens.css). */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pin); text-underline-offset: 3px; }
a:hover { color: var(--pin-hover); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ink :focus-visible { outline-color: var(--on-ink); }
h1, h2, h3 { margin: 0; font-stretch: 112%; font-weight: 750; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-stretch: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -80px; background: var(--ink); color: var(--on-ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-1); z-index: 50; }
.skip:focus { top: var(--s-4); color: var(--on-ink); }

.wrap { width: 100%; max-width: calc(var(--width) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.label {
  font-size: var(--t-label); text-transform: uppercase; letter-spacing: .12em; font-weight: 650;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.label .pin-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pin); margin-right: var(--s-2); vertical-align: 1px; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.h2 { font-size: var(--t-h2); line-height: 1.08; max-width: 22ch; }
.h2 em { font-size: 1.12em; line-height: 1; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Survey grid (map paper) */
.grid-paper {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-5); border-radius: var(--r-2);
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--pin); color: #fff; }
.btn-primary:hover { background: var(--pin-hover); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--on-ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(246 243 236 / .92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 118%; font-size: 1.25rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 22px; height: 28px; }
.top .btn { min-height: 44px; padding: 0 var(--s-4); font-size: .9375rem; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 var(--section); overflow: hidden; }
.hero .wrap { position: relative; display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: var(--s-9); } }
.hero h1 { font-size: var(--t-display); line-height: 1.02; margin: var(--s-5) 0 var(--s-5); max-width: 15ch; }
.hero h1 em { display: block; color: var(--pin); font-size: 1.08em; line-height: 1.02; margin-top: .08em; }
.hero .lead { margin-bottom: var(--s-6); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.micro { margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro svg { width: 16px; height: 16px; color: var(--route); }

/* Example audit card */
.audit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); padding: var(--s-5); position: relative; }
.audit-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.audit-card .biz { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.audit-card .biz small { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--t-small); }
.score { text-align: right; flex: none; }
.score b { display: block; font-size: 2.5rem; line-height: 1; font-stretch: 112%; font-variant-numeric: tabular-nums; color: var(--warn); }
.score span { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.audit-rows { list-style: none; margin: 0; padding: 0; }
.audit-rows li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; }
.audit-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.tag { flex: none; font-size: var(--t-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: var(--r-1); align-self: center; }
.tag.bad { color: var(--error); background: #FBE9E7; }
.tag.warn { color: var(--warn); background: #FDF1E1; }
.tag.ok { color: var(--route); background: #E6F0EA; }
.audit-card .example { position: absolute; top: -12px; left: var(--s-5); background: var(--ink); color: var(--on-ink); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; border-radius: var(--r-1); }
.audit-card .foot { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-2); }

/* Leak (problem) */
.leak-head { display: grid; gap: var(--s-5); margin-bottom: var(--s-8); }
@media (min-width: 900px) { .leak-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.leaks { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.leak { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .leaks { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); } }
.leak .n { font-size: var(--t-label); letter-spacing: .12em; color: var(--pin); font-weight: 700; padding-top: 6px; font-variant-numeric: tabular-nums; }
.leak h3 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: var(--s-2); }
.leak p { color: var(--ink-2); max-width: 52ch; }
.leak-close { margin-top: var(--s-7); font-size: var(--t-h3); line-height: 1.35; max-width: 34ch; }

/* Steps */
.steps { list-style: none; margin: var(--s-8) 0 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
@media (min-width: 800px) {
  .step { border-radius: 0; border-right-width: 0; }
  .step:first-child { border-radius: var(--r-2) 0 0 var(--r-2); }
  .step:last-child { border-radius: 0 var(--r-2) var(--r-2) 0; border-right-width: 1px; }
}
.step .label { color: var(--pin); }
.step h3 { font-size: 1.25rem; line-height: 1.25; margin: var(--s-3) 0 var(--s-2); }
.step p { font-size: .9688rem; color: var(--ink-2); }

/* Ink section: the system */
.ink { background: var(--ink); color: var(--on-ink); }
.ink .label { color: var(--on-ink-2); }
.ink .lead { color: var(--on-ink-2); }
.ink a { color: var(--pin-soft); }
.ink .h2 em { color: var(--pin-soft); }
.system { display: grid; gap: var(--s-8); }
@media (min-width: 980px) { .system { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); } .system-intro { position: sticky; top: 108px; align-self: start; } }
.system-intro .lead { margin: var(--s-5) 0 var(--s-6); }
.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line); }
.part { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); padding: var(--s-6) 0; border-bottom: 1px solid var(--ink-line); }
.part svg { width: 28px; height: 28px; color: var(--pin-soft); margin-top: 2px; }
.part h3 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: var(--s-2); }
.part p { color: var(--on-ink-2); max-width: 54ch; }
.part .bonus { display: inline-block; margin-left: var(--s-2); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink); background: var(--pin-soft); padding: 2px 8px; border-radius: var(--r-1); vertical-align: 4px; font-stretch: 100%; }
.own { margin-top: var(--s-6); padding: var(--s-5); border: 1px solid var(--ink-line); border-radius: var(--r-2); color: var(--on-ink-2); font-size: .9688rem; }
.own b { color: var(--on-ink); }

/* Work */
.work-grid { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.work:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.work .frame { aspect-ratio: 16 / 10; background: var(--paper-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.work .frame .bar { position: absolute; top: 0; left: 0; right: 0; height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1; }
.work .frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.work .frame .bar span { margin-left: var(--s-3); font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.work .frame img { position: absolute; top: 28px; left: 0; width: 100%; height: calc(100% - 28px); object-fit: cover; object-position: top; }
.work .frame .mono { position: absolute; inset: 28px 0 0; display: grid; place-items: center; }
.work .frame .mono b { font-size: clamp(2rem, 5vw, 3.25rem); font-stretch: 118%; font-weight: 800; letter-spacing: -.03em; color: var(--ink); opacity: .9; }
.work .body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.work .body .label { display: flex; justify-content: space-between; gap: var(--s-3); }
.work h3 { font-size: var(--t-h3); line-height: 1.2; }
.work p { color: var(--ink-2); font-size: .9688rem; }
.work .status { color: var(--warn); }

/* Founder */
.founder { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 320px 1fr; gap: var(--s-9); } }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-2); border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { text-align: center; color: var(--ink-2); font-size: var(--t-small); padding: var(--s-5); }
.portrait .ph b { display: block; font-size: 4rem; font-stretch: 118%; color: var(--ink); line-height: 1; margin-bottom: var(--s-3); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.15; max-width: 24ch; margin: var(--s-4) 0 var(--s-6); }
.founder-body { display: grid; gap: var(--s-4); max-width: 62ch; color: var(--ink-2); }
.founder-body strong { color: var(--ink); }
.sig { margin-top: var(--s-5); font-weight: 700; }
.sig span { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--t-small); }
.creds { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds li { display: flex; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.creds li .label { flex: none; width: 120px; padding-top: 3px; }

/* Protection */
.protect { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
@media (min-width: 900px) { .protect { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.promise { padding: var(--s-6) var(--s-5); border-top: 3px solid var(--ink); background: var(--surface); border-radius: 0 0 var(--r-2) var(--r-2); }
.promise h3 { font-size: var(--t-h3); line-height: 1.2; margin: var(--s-3) 0 var(--s-2); }
.promise p { color: var(--ink-2); font-size: .9688rem; }
.promise svg { width: 26px; height: 26px; color: var(--route); }
.honest { margin-top: var(--s-7); display: grid; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-2); }
@media (min-width: 900px) { .honest { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-7); } }
.honest h3 { font-size: var(--t-h3); }
.honest p { color: var(--ink-2); max-width: 70ch; }

/* Audit form */
.audit { position: relative; }
.audit .wrap { position: relative; display: grid; gap: var(--s-8); }
@media (min-width: 980px) { .audit .wrap { grid-template-columns: .9fr 1.1fr; gap: var(--s-9); align-items: start; } .audit-intro { position: sticky; top: 108px; } }
.audit-intro .lead { margin: var(--s-5) 0 var(--s-6); }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.gets li { display: flex; gap: var(--s-3); align-items: flex-start; }
.gets svg { flex: none; width: 20px; height: 20px; color: var(--route); margin-top: 4px; }
.limit { margin-top: var(--s-6); font-size: var(--t-small); color: var(--ink-2); border-left: 3px solid var(--pin); padding-left: var(--s-4); max-width: 46ch; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
.progress { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .25s; }
.progress i.on { background: var(--pin); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-step legend { padding: 0; font-size: var(--t-h3); font-weight: 750; font-stretch: 112%; line-height: 1.2; margin-bottom: var(--s-2); }
.form-step .hint { color: var(--ink-2); font-size: .9688rem; margin-bottom: var(--s-5); }
.field { display: grid; gap: 6px; margin-bottom: var(--s-4); }
.field label, .q > p { font-weight: 650; font-size: .9375rem; }
.field label small, .q > p small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-1); appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pin); box-shadow: 0 0 0 3px rgb(194 65 12 / .25); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: var(--t-small); min-height: 0; }
.err:empty { display: none; }
.two { display: grid; gap: 0 var(--s-4); }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.q { margin-bottom: var(--s-5); }
.q > p { margin-bottom: var(--s-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1.5px solid var(--line-strong); border-radius: var(--r-2); font-size: .9688rem; font-weight: 600; background: var(--surface); transition: background .15s, color .15s, border-color .15s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.form-nav .btn-primary { flex: 1; max-width: 340px; margin-left: auto; }
.back { background: none; border: 0; color: var(--ink-2); font: 600 .9375rem var(--font); cursor: pointer; padding: var(--s-3) 0; text-decoration: underline; text-underline-offset: 3px; }
.back:hover { color: var(--ink); }
.fine { margin-top: var(--s-4); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: left; }
.done svg { width: 44px; height: 44px; color: var(--route); margin-bottom: var(--s-4); }
.done h3 { font-size: var(--t-h2); line-height: 1.1; margin-bottom: var(--s-3); }
.done p { color: var(--ink-2); }
.send-error { margin-top: var(--s-4); padding: var(--s-4); border: 1px solid var(--error); border-radius: var(--r-1); color: var(--error); font-size: .9375rem; }

/* FAQ */
.faq-wrap { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); } }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--pin); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 62ch; }

/* Final CTA + footer */
.final { text-align: left; }
.final .wrap { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.final .h2 { max-width: 20ch; }
footer { background: var(--ink); color: var(--on-ink-2); padding: var(--s-8) 0 var(--s-7); font-size: var(--t-small); }
footer .wrap { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { footer .wrap { grid-template-columns: 1fr auto; } }
footer .logo { color: var(--on-ink); }
footer .coords { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
footer a { color: var(--on-ink); }

/* Sticky mobile CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; box-shadow: 0 10px 30px -10px rgb(20 32 43 / .5); transform: translateY(140%); transition: transform .25s ease; }
.mcta.show { transform: none; }
@media (max-width: 720px) { .mcta { display: flex; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* The machine (8 principles) */
.machine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .machine { grid-template-columns: repeat(4, 1fr); } }
.machine li { padding: var(--s-5) var(--s-4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .machine li { padding: var(--s-6) var(--s-5); } }
.machine .n { font-size: var(--t-label); letter-spacing: .12em; color: var(--pin); font-weight: 700; font-variant-numeric: tabular-nums; }
.machine h3 { font-size: 1.1875rem; line-height: 1.2; margin: var(--s-2) 0 var(--s-2); }
.machine p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.machine-note { margin-top: var(--s-6); max-width: 64ch; color: var(--ink-2); }
.machine-note strong { color: var(--ink); }

/* Legal pages */
.prose { max-width: 68ch; display: grid; gap: var(--s-4); color: var(--ink-2); }
.prose h2 { font-size: var(--t-h3); color: var(--ink); margin-top: var(--s-5); }
.prose strong { color: var(--ink); }
.fine a { color: var(--ink-2); }

/* Live build tracker */
.top .label { display: inline-flex; align-items: center; }
.tracker .h2 { max-width: 24ch; }
.t-summary { display: grid; gap: var(--s-5); margin: var(--s-6) 0; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); }
@media (min-width: 760px) { .t-summary { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-7); } }
.t-bar { height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--line); }
.t-bar i { display: block; height: 100%; width: 0; background: var(--pin); border-radius: 5px; transition: width .6s ease; }
.t-progress p { margin-top: var(--s-3); color: var(--ink-2); }
.t-progress b { color: var(--ink); font-size: 1.5rem; font-stretch: 112%; margin-right: var(--s-2); font-variant-numeric: tabular-nums; }
.t-due { display: grid; gap: 2px; }
.t-due b { font-size: 1.125rem; }
.t-due span:last-child { color: var(--pin); font-weight: 700; font-variant-numeric: tabular-nums; }
.tracker #t-approve { margin-bottom: var(--s-6); }
.t-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .t-grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }
.t-h { font-size: var(--t-h3); margin-bottom: var(--s-4); }
.t-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.st-row { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.st-row b { display: block; font-size: 1.0625rem; }
.st-meta { font-size: var(--t-small); color: var(--ink-2); }
.st-note { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.st-mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); margin-top: 3px; position: relative; background: var(--surface); }
.st-row.done .st-mark { background: var(--route); border-color: var(--route); }
.st-row.done .st-mark::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.st-row.in_progress .st-mark { border-color: var(--pin); box-shadow: 0 0 0 4px rgb(194 65 12 / .18); }
.st-row.in_progress .st-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--pin); }
.st-row.waiting .st-mark { border-color: var(--warn); border-style: dashed; }
.st-row.up_next b { color: var(--ink-2); font-weight: 600; }
.t-legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-2); }
.t-legend .st::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 2px solid var(--line-strong); }
.t-legend .done::before { background: var(--route); border-color: var(--route); }
.t-legend .in_progress::before { background: var(--pin); border-color: var(--pin); }
.t-legend .waiting::before { border-color: var(--warn); border-style: dashed; }
.t-updates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.t-updates li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.t-updates time { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); font-weight: 650; }
.t-updates p { margin-top: 4px; }
.t-note { margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-2); }

/* Why LeadAtlas: comparison table, types, questions */
.compare-wrap { margin-top: var(--s-7); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .9688rem; min-width: 560px; }
.compare th, .compare td { padding: var(--s-4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); background: var(--paper); }
.compare thead th.us { color: var(--pin); }
.compare td.us { font-weight: 700; color: var(--ink); background: rgb(194 65 12 / .04); }
.compare td.them { color: var(--ink-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare-note { margin-top: var(--s-3); font-size: var(--t-small); color: var(--ink-2); max-width: 70ch; }
.types { display: grid; gap: 0; margin-top: var(--s-7); border-top: 1px solid var(--ink); }
.type { display: grid; gap: var(--s-2); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.type h3 { font-size: var(--t-h3); }
.type p { color: var(--ink-2); max-width: 70ch; }
.type .us-line { color: var(--ink); font-weight: 600; }
.questions { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: q; }
.questions li { counter-increment: q; display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); }
.questions li::before { content: counter(q, decimal-leading-zero); font-weight: 800; color: var(--pin); font-stretch: 118%; }
.questions h3 { font-size: 1.125rem; margin-bottom: 4px; }
.questions p { color: var(--ink-2); font-size: .9688rem; }
.reasons { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
.reason { padding: var(--s-5); border-top: 3px solid var(--pin); background: var(--surface); border-radius: 0 0 var(--r-2) var(--r-2); }
.reason h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.reason p { color: var(--ink-2); font-size: .9688rem; }
.trade-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.trade-links a { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--surface); }
.trade-links a:hover { border-color: var(--pin); color: var(--pin); }
.ink .trade-links a { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.math { margin-top: var(--s-6); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow); display: grid; gap: var(--s-3); max-width: 640px; }
.math .eq { font-size: var(--t-h3); font-weight: 700; line-height: 1.35; }
.math .eq b { color: var(--pin); }
.math small { color: var(--ink-2); }
.video-slot { margin-top: var(--s-6); aspect-ratio: 16 / 9; border-radius: var(--r-2); overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.video-slot video, .video-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 720px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .questions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .type { grid-template-columns: 280px 1fr; gap: var(--s-6); }
}
