/* Principal Mark test site.
   Light only. Ink and white, black pill buttons, lime only as a highlighter (Rushi chose "Deadline bar", 29 Nov 2026). Red, amber and green only on scan findings and the fines.
   Shapes: interactive things are pills, panels are 16px, small chips 999px. Geist and Geist Mono, self-hosted. */

@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --band: #f4f6f3;
  --ink: #0f1411;
  --ink-2: #36403a;
  --muted: #59625c;
  --line: #e6e9e6;
  --line-2: #cfd5d0;
  --accent: #0f1411;
  --accent-ink: #ffffff;
  --accent-deep: #000000;
  --accent-soft: #f4f6f3;
  --accent-line: #cfd5d0;
  --lime: #d5f56b;
  --fail: #b42318;
  --fail-soft: #fdeeec;
  --warn: #a64a06;
  --warn-soft: #fff3e3;
  --ok: #17703f;
  --ok-soft: #e8f4ec;
  --r-panel: 16px;
  --shadow: 0 20px 50px -24px rgb(15 20 17 / 0.28);
  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.75; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-feature-settings: "zero"; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -0.032em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.lede { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; }
.hl { color: var(--accent); }
.fail-text { color: var(--fail); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(252 252 254 / 0.88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 680; letter-spacing: -0.02em; font-size: 1.08rem; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.logo .mark .i { width: 19px; height: 19px; stroke-width: 2; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .96rem; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; }
.top .count { margin-left: auto; white-space: nowrap; display: flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--fail); font-weight: 520; }
.top .count b { font-weight: 650; }
.top .count .i { width: 17px; height: 17px; }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 580; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary .i { transition: transform .25s var(--ease); }
.btn-primary:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.scanform { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; max-width: 540px; box-shadow: var(--shadow); transition: border-color .2s; }
.scanform:focus-within { border-color: var(--accent); }
.scanform label { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 16px; color: var(--muted); min-width: 0; }
.scanform input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ink); }
.scanform input::placeholder { color: #7a839e; }
.scanform .btn { height: 46px; }
.formnote { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.formerr { margin-top: 12px; font-size: .92rem; color: var(--fail); display: none; }
.formerr.on { display: block; }

.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 560; color: var(--ink); }
.field input, .field select { height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .help { font-size: .82rem; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.deadline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--fail-soft); color: var(--fail); font-size: .9rem; font-weight: 560; margin-bottom: 26px; }
.deadline b { background: var(--fail); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }

/* Data-flow diagram */
.flow { margin: 0; position: relative; border: 1px solid var(--accent-line); border-radius: var(--r-panel); background-color: #fff; background-image: radial-gradient(circle, #d8dff5 1px, transparent 1.2px); background-size: 18px 18px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.flow-head { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); background: #fff; margin: -26px -26px 14px; padding: 18px 26px 16px; border-radius: var(--r-panel) var(--r-panel) 0 0; }
.flow-head p { font-weight: 600; letter-spacing: -0.01em; }
.flow-head span { font-size: .82rem; color: var(--muted); }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { position: relative; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; }
.flow li + li::before { content: ""; position: absolute; left: 26px; top: -14px; height: 28px; width: 2px; background: repeating-linear-gradient(to bottom, var(--accent) 0 5px, transparent 5px 9px); transform-origin: top; }
.node { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-line); position: relative; z-index: 1; }
.node .i { width: 24px; height: 24px; }
.flow li strong { display: block; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.flow li small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.chip .i { width: 14px; height: 14px; stroke-width: 2.2; }
.chip.fail { background: var(--fail-soft); color: var(--fail); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.pass { background: var(--ok-soft); color: var(--ok); }
.flow-foot { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.flow-foot .i { color: var(--fail); }

/* Scan results */
.results { display: none; padding: 0 0 96px; scroll-margin-top: 90px; }
.results.on { display: block; }
.results-panel { border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.results-top { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.score { width: 112px; height: 112px; position: relative; }
.score svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.score .track { stroke: var(--line); }
.score .bar { stroke: var(--fail); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.score.mid .bar { stroke: var(--warn); }
.score.good .bar { stroke: var(--ok); }
.score b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; font-weight: 650; letter-spacing: -0.04em; }
.score b small { font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 40px; position: absolute; }
.results-top h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.results-top p { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.tally { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.finding { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 22px 32px; border-top: 1px solid var(--line); }
.finding:first-child { border-top: 0; }
.finding h3 { font-size: 1.06rem; margin-bottom: 4px; }
.finding p { color: var(--ink-2); font-size: .96rem; }
.finding .cite { margin-top: 8px; font-size: .8rem; color: var(--muted); }
.finding .chip { justify-self: start; margin-top: 2px; }
.results-note { padding: 18px 32px; background: var(--band); font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.results-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-top: 1px solid var(--line); }
.results-cta p { font-weight: 560; font-size: 1.08rem; letter-spacing: -0.01em; }
.skeleton { padding: 28px 32px; display: grid; gap: 18px; }
.skeleton .row { height: 18px; border-radius: 999px; background: linear-gradient(90deg, var(--band) 0%, #e6eaf5 40%, var(--band) 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .row:nth-child(2) { width: 82%; } .skeleton .row:nth-child(3) { width: 64%; } .skeleton .row:nth-child(4) { width: 74%; }
.skeleton .step { font-size: .95rem; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.skeleton .step .i { color: var(--accent); animation: spin 1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
section.band { background: var(--band); }
.sec { padding-top: 104px; padding-bottom: 104px; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 + p { margin-top: 18px; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--line-2); }
.timeline li { list-style: none; position: relative; padding: 30px 32px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--line-2); }
.timeline li.done::before { background: var(--ink); box-shadow: none; }
.timeline li.next::before { background: var(--fail); box-shadow: 0 0 0 6px var(--fail-soft); }
.timeline .when { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.timeline li.next .when { color: var(--fail); font-weight: 600; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: .97rem; max-width: 32ch; }
.timeline-wrap { padding: 0; margin: 0; }
.today { margin-top: 44px; display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.today b { color: var(--fail); font-size: 1.05rem; }

/* Fines */
.fines { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 64px; align-items: start; }
.fine-big { padding-top: 8px; }
.fine-big .amt { font-size: clamp(4rem, 9vw, 7.4rem); font-weight: 650; letter-spacing: -0.055em; line-height: .95; color: var(--fail); }
.fine-big .amt small { font-size: .32em; letter-spacing: -0.02em; color: var(--ink); margin-left: 6px; }
.fine-big p { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; }
.fine-list { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-2); }
.fine-list li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0 18px 28px; }
.fine-list li + li { border-top: 1px solid var(--line); }
.fine-list .n { font-weight: 640; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--fail); white-space: nowrap; }
.fine-list .n.low { color: var(--ink); }
.fine-list p { color: var(--ink-2); font-size: .97rem; }
.fine-list small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.fine-foot { margin-top: 48px; padding: 22px 26px; border-radius: var(--r-panel); background: var(--fail-soft); color: #5c140e; display: flex; gap: 14px; align-items: flex-start; max-width: 820px; }
.fine-foot .i { color: var(--fail); width: 22px; height: 22px; margin-top: 3px; }

/* Who: one sentence and a row of pills */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.who-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.who-pills span { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 520; font-size: .97rem; }
.who-pills .i { color: var(--accent); width: 20px; height: 20px; }

/* How: steps beside a sticky heading */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.how-head { position: sticky; top: 110px; }
.how-head p { margin-top: 18px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.steps .ic .i { width: 26px; height: 26px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.steps ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.steps ul li { display: flex; gap: 9px; padding: 0; border: 0; grid-template-columns: none; font-size: .95rem; color: var(--ink-2); }
.steps ul li:last-child { border: 0; }
.steps ul .i { color: var(--ok); width: 18px; height: 18px; margin-top: 4px; }

/* Final band */
.final { background: var(--ink); color: #eef1fb; }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.final h2 { color: #fff; }
.final p { color: #b9c1db; margin-top: 16px; max-width: 46ch; }
.final .scanform { box-shadow: none; border-color: #2a3560; }
.final .formnote { color: #95a0c2; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .92rem; color: var(--muted); background: var(--bg); }
.foot .wrap { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.foot nav { display: grid; gap: 9px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--accent); }
.foot-h { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.foot .fine-print { margin-top: 14px; max-width: 40ch; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex !important; justify-content: space-between; gap: 16px; font-size: .84rem; flex-wrap: wrap; }
.foot-base a { color: var(--ink-2); }

/* Law page */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 20ch; margin-bottom: 20px; }
.law { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 64px 0 104px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: .92rem; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.prose { max-width: 720px; }
.prose section { padding-bottom: 56px; scroll-margin-top: 96px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.prose p { color: var(--ink-2); margin-bottom: 16px; }
.prose p strong { color: var(--ink); }
.duty { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.duty .ref { font-size: .8rem; color: var(--accent); padding-top: 4px; }
.duty h3 { font-size: 1.08rem; margin-bottom: 6px; }
.duty p { margin: 0; font-size: .98rem; }
.ftable { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 8px 0 18px; }
.ftable th { text-align: left; font-weight: 560; font-size: .84rem; color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--line-2); }
.ftable td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ftable td:last-child { text-align: right; font-weight: 620; color: var(--fail); white-space: nowrap; padding-left: 18px; }
.callout { padding: 20px 24px; border-radius: var(--r-panel); background: var(--accent-soft); color: var(--ink); margin: 8px 0 20px; }
.callout.red { background: var(--fail-soft); color: #5c140e; }
.sources { font-size: .9rem; display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.sources a { color: var(--accent); }

/* Pricing page */
.plans { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.plan { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) auto; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.plan h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.plan .price { font-size: 2.1rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .alt { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.plan ul li { display: flex; gap: 9px; font-size: .96rem; color: var(--ink-2); line-height: 1.45; }
.plan ul .i { color: var(--ok); width: 18px; height: 18px; margin-top: 2px; }
.plan.pick { background: linear-gradient(var(--accent-soft), var(--accent-soft)) padding-box; margin: 0 -28px; padding-left: 28px; padding-right: 28px; border-radius: var(--r-panel); border-bottom-color: transparent; }
.plan .tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--accent); background: #fff; border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--accent-line); }
.early { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 96px 0; align-items: start; scroll-margin-top: 80px; }
.early form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.early form .full { grid-column: 1 / -1; }
.early .done { display: none; padding: 26px; border-radius: var(--r-panel); background: var(--ok-soft); color: #0b4a2d; }
.early .done.on { display: block; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 580; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s var(--ease); color: var(--muted); margin-top: 4px; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 68ch; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
  .hero .rv:nth-child(2) { transition-delay: .06s; } .hero .rv:nth-child(3) { transition-delay: .12s; } .hero .rv:nth-child(4) { transition-delay: .18s; }
  .flow li { opacity: 0; transform: translateX(10px); animation: nodeIn .7s var(--ease) forwards; }
  .flow li:nth-child(1) { animation-delay: .25s; } .flow li:nth-child(2) { animation-delay: .55s; } .flow li:nth-child(3) { animation-delay: .85s; } .flow li:nth-child(4) { animation-delay: 1.15s; }
  .flow li + li::before { transform: scaleY(0); animation: lineIn .4s var(--ease) forwards; animation-delay: inherit; }
  .flow li .chip { opacity: 0; animation: chipIn .5s var(--ease) forwards; animation-delay: 1.6s; }
  .finding { animation: nodeIn .6s var(--ease) both; }
}
@keyframes nodeIn { to { opacity: 1; transform: none; } }
@keyframes lineIn { to { transform: scaleY(1); } }
@keyframes chipIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton .row, .skeleton .step .i { animation: none; }
}

/* Tablet and phone */
@media (max-width: 960px) {
  .hero .wrap, .fines, .who, .how, .final .wrap, .early, .law { grid-template-columns: 1fr; gap: 44px; }
  .how-head, .toc { position: static; }
  .toc { display: none; }
  .plan { grid-template-columns: 1fr; gap: 18px; }
  .plan .btn { justify-self: start; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { display: none; }
  .top .wrap { gap: 12px; height: 60px; }
  .top .count { font-size: .82rem; }
  .hero { padding: 36px 0 64px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .scanform { flex-direction: column; border-radius: 22px; padding: 8px; }
  .scanform label { padding: 0 8px; }
  .scanform .btn { width: 100%; }
  .flow { padding: 20px 16px 16px; }
  .flow-head { margin: -20px -16px 12px; padding: 16px; flex-direction: column; gap: 2px; }
  .flow li { grid-template-columns: 46px 1fr; gap: 12px; }
  .flow li .chip { grid-column: 2; justify-self: start; margin-top: -4px; }
  .node { width: 46px; height: 46px; }
  .flow li + li::before { left: 22px; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line-2); margin-left: 6px; }
  .timeline li { padding: 0 0 32px 26px; }
  .timeline li::before { top: 4px; left: -8px; }
  .fine-list { border-left: 0; }
  .fine-list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .results-top { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
  .tally { justify-content: flex-start; }
  .finding { grid-template-columns: 1fr; gap: 8px; padding: 20px 18px; }
  .results-note, .skeleton { padding: 18px; }
  .results-cta { grid-template-columns: 1fr; padding: 22px 18px; }
  .duty { grid-template-columns: 1fr; gap: 4px; }
  .plan ul { grid-template-columns: 1fr; }
  .plan.pick { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .early form { grid-template-columns: 1fr; }
  .ftable td:last-child { white-space: normal; }
  .foot .wrap { grid-template-columns: 1fr; }
}

/* Illustrations (unDraw, recoloured to the palette) and the one photo */
.illo { width: 100%; max-width: 300px; height: auto; }
.illo-sm { max-width: 230px; margin-top: 36px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; margin-bottom: 52px; }
.split-head .sec-head { margin-bottom: 0; }
.fine-h { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 560; margin-bottom: 10px; }
.photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }

/* Sample result */
.sample-sec { padding: 24px 0 104px; }
.sample { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.sample-copy h2 { margin-bottom: 18px; }
.ticks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); }
.ticks .i { color: var(--accent); margin-top: 4px; }
.sample-card { margin: 0; }
.sample-cap { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.sample-card .results-top { grid-template-columns: auto 1fr; padding: 22px 26px; }
.sample-card .score, .sample-card .score svg { width: 92px; height: 92px; }
.sample-card .score b { font-size: 1.6rem; }
.sample-card .score b small { margin-top: 34px; font-size: .72rem; }
.sample-card .finding { padding: 16px 26px; grid-template-columns: 132px 1fr; }
.sample-card .finding h3 { font-size: 1rem; margin-bottom: 2px; }
.sample-h { font-size: 1.25rem; margin-bottom: 4px; }

/* Sectors: two columns of short reads, hairline rules */
.sectors { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.sectors article { padding: 26px 0; border-top: 1px solid var(--line); }
.sectors h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.15rem; }
.sectors h3 .i { color: var(--accent); width: 22px; height: 22px; }
.sectors p { color: var(--ink-2); font-size: .98rem; }

/* Steps with drawings */
.steps > li { grid-template-columns: 1fr 170px; align-items: center; }
.steps > li > img { width: 170px; height: auto; justify-self: end; }

/* Law page additions */
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; }
.law-illo { max-width: 260px; margin: 8px 0 24px; }
.outline { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 12px; color: var(--ink-2); }
.outline li::marker { color: var(--accent); font-weight: 600; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.checklist li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist .i { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }

@media (max-width: 960px) {
  .sample, .split-head, .page-head-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-head .illo, .page-head-grid .illo { max-width: 220px; }
  .sectors { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sample-sec { padding: 8px 0 72px; }
  .sample-card .results-top { padding: 18px; }
  .sample-card .finding { grid-template-columns: 1fr; padding: 16px 18px; gap: 6px; }
  .steps > li { grid-template-columns: 1fr; }
  .steps > li > img { justify-self: start; width: 150px; }
  .photo { aspect-ratio: 4 / 3; }
}

/* Header: dropdown, CTA, phone menu, skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.nav { align-items: center; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-size: .96rem; color: var(--ink-2); cursor: pointer; padding: 0; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); }
.dd-btn .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dd.open .dd-btn .i { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 18px); left: -20px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 24px 48px -24px rgb(13 20 48 / .28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover { background: var(--accent-soft); }
.dd-menu .i { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.dd-menu b { display: block; font-weight: 580; font-size: .95rem; }
.dd-menu small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.top-cta { margin-left: 4px; }
.mnav { display: none; }
.mnav summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 22px; display: grid; gap: 2px; max-height: calc(100dvh - 60px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgb(13 20 48 / .3); }
.mnav-panel a { text-decoration: none; padding: 11px 0; color: var(--ink); font-weight: 520; border-bottom: 1px solid var(--line); }
.mnav-panel .btn { margin-top: 14px; border: 0; color: var(--accent-ink); }
.mnav-h { font-size: .8rem; color: var(--muted); margin-top: 16px; font-weight: 600; }
@media (max-width: 1100px) { .top .count { display: none; } }
@media (max-width: 900px) {
  .nav, .top-cta { display: none; }
  .mnav { display: block; margin-left: auto; }
  .top .count { display: flex; margin-left: auto; }
  .top .count + .top-cta + .mnav { margin-left: 8px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .top .count span { font-size: .8rem; } }

/* Site-wide page parts (product, solutions, legal, contact) */
.legal-one { padding-top: 56px; padding-bottom: 104px; }
.legal-one .prose { margin: 0 auto; max-width: 760px; }
.plain { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }
.plain li::marker { color: var(--accent); }
.prose a, .lede a, .sectors a, .faq a { color: var(--accent); text-underline-offset: 3px; }
.ref { font-size: .8rem; color: var(--accent); }
.status-line { display: inline-flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--ok); background: var(--ok-soft); border-radius: 14px; padding: 8px 14px; margin-bottom: 24px; max-width: 60ch; }
.status-line .i { margin-top: 3px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.sec-sm { padding-top: 56px; padding-bottom: 56px; }
.h-sm { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 18px; }
.pill-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; }
.pill-list .i { color: var(--accent); }
.risks { display: grid; }
.risks article { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.risks article:last-child { border-bottom: 1px solid var(--line); }
.risks h3 { margin-bottom: 6px; }
.risks p { color: var(--ink-2); }
.risks .ref { padding-top: 3px; }
.risks .fine { text-align: right; color: var(--fail); font-weight: 600; font-size: .92rem; padding-top: 2px; }
.numbered { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; }
.numbered li { counter-increment: n; position: relative; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); color: var(--ink-2); }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 650; font-size: .9rem; font-family: "Geist Mono", monospace; }
.numbered strong { color: var(--ink); }
.modules { display: grid; gap: 0; }
.module { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.module:nth-child(even) { grid-template-columns: 280px minmax(0, 1fr); }
.module:nth-child(even) img { order: -1; }
.module img { width: 100%; max-width: 260px; height: auto; justify-self: center; }
.module h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 6px 0 12px; letter-spacing: -0.025em; }
.module p { color: var(--ink-2); max-width: 62ch; }
.module .ticks { margin-top: 16px; }
.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--accent); font-weight: 560; text-decoration: none; }
.more .i { transition: transform .2s var(--ease); }
.more:hover .i { transform: translateX(3px); }
.integrations { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.integrations li { display: flex; gap: 12px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.integrations .i { color: var(--accent); width: 24px; height: 24px; }
.integrations b { display: block; font-weight: 600; }
.integrations small { color: var(--muted); font-size: .85rem; }
.checks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.checks-grid article { padding: 24px 0; border-top: 1px solid var(--line); }
.checks-grid h3 { display: flex; gap: 9px; align-items: center; margin: 6px 0 8px; font-size: 1.08rem; }
.checks-grid h3 .i { color: var(--accent); }
.checks-grid p { color: var(--ink-2); font-size: .95rem; }
.check-hero .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.check-hero .illo { justify-self: center; }
.final-light { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 40px; border-radius: var(--r-panel); background: var(--accent-soft); }
.contact-card { padding: 28px; border-radius: var(--r-panel); border: 1px solid var(--accent-line); background: #fff; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.4rem; margin: 6px 0 14px; }
.contact-card p, .contact-list p { display: flex; gap: 10px; align-items: center; color: var(--ink-2); margin: 6px 0 0; }
.contact-card .i, .contact-list .i { color: var(--accent); }
.contact-list { display: grid; gap: 22px; }
.contact-list > div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list a { color: var(--ink); font-weight: 560; }
.contact-grid { padding-top: 64px; }
.field textarea { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 18px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); resize: vertical; }
.field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.notfound { padding-top: 120px; padding-bottom: 140px; max-width: 760px; }
.notfound h1 { margin: 10px 0 16px; }
.nf-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.prose.faq details:first-of-type { border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .module, .module:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .module:nth-child(even) img { order: 0; }
  .module img { justify-self: start; max-width: 200px; }
  .integrations { grid-template-columns: 1fr 1fr; }
  .checks-grid { grid-template-columns: 1fr 1fr; }
  .check-hero .wrap { grid-template-columns: 1fr; }
  .check-hero .illo { display: none; }
  .final-light { grid-template-columns: 1fr; }
  .risks article { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .risks article .ref { grid-column: 1 / -1; }
  .risks article > div { grid-column: 1; }
  .risks .fine { grid-column: 2; grid-row: 2; }
}
@media (max-width: 760px) {
  .risks article { grid-template-columns: 1fr; }
  .risks .fine { grid-column: 1; grid-row: auto; text-align: left; }
  .integrations, .checks-grid { grid-template-columns: 1fr; }
  .final-light { padding: 26px; }
  .legal-one { padding-top: 36px; padding-bottom: 72px; }
  .notfound { padding-top: 64px; padding-bottom: 80px; }
}

/* Demo page (/demo/): step list beside one drawing of the product screen */
.i.spin { animation: spin 1s linear infinite; }
.dm-sec { padding-top: 56px; padding-bottom: 104px; }
.dm { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.dm-tabs { display: grid; position: sticky; top: 100px; }
.dm-tab { display: grid; grid-template-columns: 34px 1fr; gap: 12px; text-align: left; padding: 18px 0 18px 16px; background: none; border: 0; border-left: 2px solid var(--line); font: inherit; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.dm-tab:hover { color: var(--ink); }
.dm-tab[aria-selected="true"] { border-left-color: var(--accent); color: var(--ink); }
.dm-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--band); color: var(--muted); font-size: .85rem; font-weight: 600; }
.dm-tab[aria-selected="true"] .dm-n { background: var(--accent); color: var(--accent-ink); }
.dm-short { display: none; }
.dm-long { display: grid; gap: 4px; }
.dm-long b { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--ink); }
.dm-long [data-say] { font-size: .93rem; line-height: 1.5; }
.dm-say { display: none; }
.dm-frame { border: 1px solid var(--line-2); border-radius: var(--r-panel); background: #fff; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; scroll-margin-top: 80px; }
.dm-bar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--band); }
.dm-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; color: var(--muted); }
.dm-body { padding: 26px 28px; flex: 1; }
.dm-body[hidden] { display: none; }
.dm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 28px; border-top: 1px solid var(--line); }
.dm-small { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.dm-h { font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.dm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dm-spin .i { animation: spin 1s linear infinite; color: var(--accent); }

/* 1. Shop form */
.dm-shop { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .9fr); gap: 28px; }
.dm-form { display: grid; gap: 16px; align-content: start; }
.dm-brand { display: flex; gap: 8px; align-items: center; font-weight: 650; color: #2f6b3a; letter-spacing: -0.01em; }
.dm-brand .i { width: 20px; height: 20px; }
.dm-form h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.dm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm-form .field { min-width: 0; }
.dm-form .field input { height: 44px; width: 100%; min-width: 0; }
.dm-consent { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; display: grid; gap: 10px; }
.dm-consent-h { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; }
.dm-consent-h .i { color: var(--accent); }
.dm-consent-p { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.dm-consent a { color: var(--accent); }
.dm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); cursor: pointer; line-height: 1.45; }
.dm-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.dm-notice { font-size: .85rem; color: var(--ink-2); background: var(--band); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.dm-form .btn { justify-self: start; }
.dm-form .formerr { margin: 0; }
.dm-sent { display: flex; gap: 8px; align-items: flex-start; color: var(--ok); font-size: .93rem; }
.dm-sent .i { margin-top: 3px; }
.dm-sent[hidden] { display: none; }
.dm-tags { border-left: 1px solid var(--line); padding-left: 24px; }
.dm-tags ul { list-style: none; margin: 0 0 14px; padding: 0; }
.dm-tags li { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.dm-tags li:last-child { border-bottom: 1px solid var(--line); }

/* 2. Log */
.dm-app-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.dm-app-h b { font-weight: 620; font-size: 1.05rem; letter-spacing: -0.01em; }
.dm-log { list-style: none; margin: 0; padding: 0; }
.dm-log button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; text-align: left; padding: 12px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; }
.dm-log button:hover { background: #fafbff; }
.dm-log button[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.dm-who { font-size: .93rem; }
.dm-who .mono { font-size: .82rem; color: var(--muted); }
.dm-who small { display: block; color: var(--muted); font-size: .8rem; }
.dm-new { font-size: .74rem; font-weight: 600; color: var(--accent); background: #fff; box-shadow: inset 0 0 0 1px var(--accent-line); border-radius: 999px; padding: 1px 8px; }
.dm-purp { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.dm-purp .chip { height: 24px; font-size: .74rem; }
.dm-detail { padding-top: 20px; }
.dm-detail dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .92rem; }
.dm-detail dt { color: var(--muted); }
.dm-detail dd { margin: 0; color: var(--ink); }
.dm-hist { list-style: none; margin: 16px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line-2); display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.dm-hist .mono { display: block; font-size: .78rem; color: var(--muted); }
.dm-detail .dm-small { margin-top: 10px; }

/* 3. Request */
.dm-meta { font-size: .92rem; color: var(--ink-2); margin-top: 14px; }
.dm-ok { display: flex; gap: 8px; align-items: flex-start; color: var(--ok); margin-top: 8px; }
.dm-ok .i { margin-top: 3px; }
.dm-tools { list-style: none; margin: 18px 0 0; padding: 0; }
.dm-tools li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.dm-tools li:last-child { border-bottom: 1px solid var(--line); }
.dm-tools li > .i { color: var(--accent); width: 22px; height: 22px; }
.dm-tools b { display: block; font-weight: 600; font-size: .95rem; }
.dm-tools small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.dm-tick { font-size: .86rem; font-weight: 560; }
.dm-done { margin-top: 18px; display: grid; gap: 12px; justify-items: start; font-size: .93rem; color: var(--ink-2); }
.dm-done[hidden], .dm-done [hidden] { display: none; }

/* 4. Weekly check */
.dm-weeks { list-style: none; margin: 0; padding: 0; }
.dm-weeks li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 34px 118px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dm-weeks .mono { color: var(--muted); font-size: .82rem; }
.dm-weeks b.mono { color: var(--ink); font-size: .95rem; text-align: right; }
.dm-weeks .chip { justify-self: end; }
.dm-bar-track { height: 8px; border-radius: 999px; background: var(--band); overflow: hidden; }
.dm-meter { display: block; height: 100%; border-radius: 999px; background: var(--ok); transition: width .8s var(--ease); }
.dm-meter.low { background: var(--fail); }
.dm-alert { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--fail-soft); color: #5c140e; display: grid; gap: 10px; font-size: .93rem; }
.dm-alert.ok { background: var(--ok-soft); color: #0b4a2d; }
.dm-alert-h { display: flex; gap: 8px; align-items: center; }
.dm-alert-h .i { color: var(--fail); }
.dm-alert.ok .dm-alert-h .i { color: var(--ok); }
.dm-alert .dm-small { color: inherit; opacity: .8; }
.dm-code { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: .8rem; overflow-x: auto; white-space: pre; }
.dm-alert .btn { justify-self: start; }

@media (max-width: 960px) {
  .dm { grid-template-columns: 1fr; gap: 16px; }
  .dm-tabs { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .dm-tab { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 10px 4px 12px; border-left: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; text-align: center; }
  .dm-tab[aria-selected="true"] { border-bottom-color: var(--accent); }
  .dm-long { display: none; }
  .dm-short { display: block; font-size: .86rem; font-weight: 560; }
  .dm-say { display: block; color: var(--ink-2); font-size: .95rem; }
}
@media (max-width: 760px) {
  .dm-sec { padding-top: 36px; padding-bottom: 72px; }
  .dm-frame { min-height: 0; }
  .dm-body { padding: 20px 18px; }
  .dm-foot { padding: 12px 18px; }
  .dm-shop, .dm-fields { grid-template-columns: 1fr; }
  .dm-tags { border-left: 0; padding-left: 0; }
  .dm-log button { grid-template-columns: 1fr; }
  .dm-purp { justify-content: flex-start; }
  .dm-detail dl { grid-template-columns: 1fr; gap: 0; }
  .dm-detail dd { margin-bottom: 8px; }
  .dm-weeks li { grid-template-columns: 84px minmax(0, 1fr) 30px; }
  .dm-weeks .chip { grid-column: 1 / -1; justify-self: start; }
  .dm-tools li { grid-template-columns: 22px minmax(0, 1fr); }
  .dm-tools li > [data-state] { grid-column: 2; }
}
.demo-link { margin-top: 18px; }
.dm [hidden] { display: none !important; }
.dm-new { white-space: nowrap; }

/* Demo: scroll drives the steps on desktop, with the screen pinned beside them */
@media (min-width: 961px) {
  .dm-tabs { position: static; }
  .dm-tab { min-height: 64vh; align-content: start; padding-top: 24px; }
  .dm-tab:last-child { min-height: 52vh; }
  .dm-frame { position: sticky; top: 92px; max-height: calc(100vh - 116px); min-height: 0; }
  .dm-body { overflow-y: auto; }
}
@media (max-width: 960px) {
  .dm-tabs { position: sticky; top: 68px; z-index: 5; background: var(--bg); }
  .dm-frame { scroll-margin-top: 160px; }
}
@media (max-width: 760px) { .dm-tabs { top: 60px; } .dm-frame { scroll-margin-top: 150px; } }

/* Results: what the gaps mean, then the deeper check (locked without an account) */
.stakes { padding: 26px 32px 30px; border-top: 1px solid var(--line); background: var(--fail-soft); color: #5c140e; }
.stakes-h { font-weight: 640; font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 14px; color: #3d0c08; }
.stakes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.stakes li { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 2px solid rgb(200 40 28 / .25); }
.stakes li b { font-size: 1.5rem; font-weight: 660; letter-spacing: -0.03em; color: var(--fail); line-height: 1.1; }
.stakes li span { font-size: .93rem; line-height: 1.5; }
.deep { border-top: 1px solid var(--line); }
.deep:empty { display: none; }
.deep-wait { display: flex; gap: 10px; align-items: center; padding: 22px 32px; color: var(--ink-2); font-size: .95rem; }
.deep-wait .i { color: var(--accent); animation: spin 1s linear infinite; }
.deep-lock { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 40px; padding: 30px 32px; align-items: start; }
.deep-lock h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -0.025em; margin-bottom: 10px; }
.deep-lock > div > p { color: var(--ink-2); font-size: .97rem; max-width: 56ch; }
.deep-topics { list-style: none; margin: 18px 0 0; padding: 0; }
.deep-topics li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.deep-topics li:last-child { border-bottom: 1px solid var(--line); }
.deep-topics .i { color: var(--muted); width: 18px; height: 18px; }
.deep-topics em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--band); border-radius: 999px; padding: 2px 10px; }
.deep-form { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-panel); background: var(--accent-soft); }
.deep-form[hidden], .deep-form [hidden] { display: none; }
.deep-form-h { font-weight: 620; font-size: 1.05rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.deep-form .btn { width: 100%; }
.deep-form .formnote, .deep-form .formerr { margin: 0; }
.deep-full-h { padding: 26px 32px 6px; }
.deep-full-h h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -0.025em; margin-bottom: 8px; }
.deep-full-h p { color: var(--ink-2); font-size: .95rem; }
.deep-full-h a { color: var(--accent); }
.deep-pages { padding: 16px 32px 22px; font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; border-top: 1px solid var(--line); }
.deep-pages .mono { color: var(--ink-2); }

/* Header sign-in link */
.top-signin { text-decoration: none; color: var(--ink-2); font-size: .96rem; white-space: nowrap; }
.top-signin:hover { color: var(--ink); }
.top .count + .top-signin { margin-left: 4px; }

/* Account page */
.acct { padding-top: 48px; padding-bottom: 104px; }
.acct-signin { max-width: 460px; }
.acct-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report { border-bottom: 1px solid var(--line); }
.report summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto 20px; gap: 16px; align-items: center; padding: 18px 0; }
.report summary::-webkit-details-marker { display: none; }
.report summary > .i { color: var(--muted); transition: transform .2s var(--ease); }
.report[open] summary > .i { transform: rotate(180deg); }
.report-score { min-width: 48px; justify-content: center; font-size: .95rem; height: 32px; }
.report-host b { display: block; font-weight: 620; overflow-wrap: anywhere; }
.report-host small { color: var(--muted); font-size: .85rem; }
.report-tally { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.report-body { border: 1px solid var(--line); border-radius: var(--r-panel); margin-bottom: 22px; background: #fff; overflow: hidden; }
.report-body .deep-pages { border-top: 1px solid var(--line); }
.report-again { padding: 0 32px 20px; }
.acct-empty { padding: 36px 0; display: grid; gap: 18px; justify-items: start; color: var(--ink-2); }
.acct-danger { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; color: var(--ink-2); font-size: .93rem; }
.btn.danger { box-shadow: inset 0 0 0 1px var(--fail); color: var(--fail); }

@media (max-width: 960px) {
  .deep-lock { grid-template-columns: 1fr; gap: 24px; }
  .stakes ol { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 900px) { .top-signin { display: none; } .mnav-panel [data-signin-link] { display: block; } }
@media (max-width: 760px) {
  .stakes, .deep-lock, .deep-full-h { padding-left: 18px; padding-right: 18px; }
  .deep-pages, .deep-wait { padding-left: 18px; padding-right: 18px; }
  .deep-form { padding: 18px; }
  .report summary { grid-template-columns: auto minmax(0, 1fr) 20px; }
  .report-tally { grid-column: 2 / -1; justify-content: flex-start; }
  .report-again { padding: 0 18px 18px; }
}

/* Home hero: a drawing of a real result */
.hr { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r-panel); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.hr-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: var(--band); border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.hr-tag { font-size: .76rem; font-weight: 600; color: var(--muted); }
.hr-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.hr .score, .hr .score svg { width: 84px; height: 84px; }
.hr .score b { font-size: 1.5rem; }
.hr .score b small { margin-top: 32px; font-size: .68rem; }
.hr-h { font-weight: 640; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.hr-sub { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.hr-rows { list-style: none; margin: 0; padding: 0 22px; }
.hr-rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hr-rows li > .i { color: var(--fail); background: var(--fail-soft); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 2.4; margin-top: 1px; }
.hr-rows b { display: block; font-weight: 580; font-size: .96rem; line-height: 1.35; }
.hr-rows small { color: var(--muted); font-size: .76rem; }
.hr-rows em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--fail); white-space: nowrap; margin-top: 2px; }
.hr-lock { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 16px 22px 18px; background: var(--accent-soft); font-size: .92rem; color: var(--ink-2); }
.hr-lock .i { color: var(--accent); margin-top: 3px; }
.hr-lock b { color: var(--ink); font-weight: 620; }
@media (prefers-reduced-motion: no-preference) {
  .hr-rows li { opacity: 0; transform: translateX(10px); animation: nodeIn .6s var(--ease) forwards; }
  .hr-rows li:nth-child(1) { animation-delay: .3s; } .hr-rows li:nth-child(2) { animation-delay: .5s; } .hr-rows li:nth-child(3) { animation-delay: .7s; }
  .hr-lock { opacity: 0; animation: chipIn .5s var(--ease) forwards; animation-delay: 1s; }
}

/* Free check against free account: one table, hairlines */
.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { font-size: .82rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--line-2); }
.cmp td, .cmp thead th:not(:first-child) { width: 104px; text-align: center; }
.cmp td .i { margin: 0 auto; color: var(--ok); }
.cmp td .i.no { color: var(--line-2); }
.cmp tbody th { font-weight: 500; color: var(--ink-2); padding-right: 16px; }
.cmp td:last-child { background: var(--accent-soft); }
.cmp thead th:last-child { background: var(--accent-soft); color: var(--accent); border-radius: 12px 12px 0 0; }
.cmp td svg[class*="i"] { stroke-width: 2.2; }
.photo img { object-position: 50% 30%; }
@media (max-width: 760px) {
  .hr-top { padding: 16px; } .hr-rows { padding: 0 16px; } .hr-lock { padding: 14px 16px; }
  .hr-rows li { grid-template-columns: 22px minmax(0, 1fr); }
  .hr-rows em { grid-column: 2; margin-top: 0; }
  .cmp td, .cmp thead th:not(:first-child) { width: 64px; }
  .cmp { font-size: .9rem; }
}
.more-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }
.more-links .more { margin-top: 0; }
.reviewed { margin-top: 14px; font-size: .86rem; color: var(--muted); }


/* ===== Direction B: deadline bar (Rushi, 29 Nov 2026) ===== */
.tbar { background: var(--ink); color: #dfe5e0; font-size: .82rem; }
.tbar .wrap { display: flex; justify-content: space-between; gap: 16px; height: 36px; align-items: center; }
.tbar b { color: var(--lime); font-weight: 600; }
.top { background: rgb(255 255 255 / .92); }
.logo .mark { background: var(--ink); color: var(--lime); border-radius: 8px; }
mark, .hl { background: var(--lime); color: inherit; padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-primary .i { background: var(--lime); color: var(--ink); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.4; margin-right: -8px; }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--band); }
.scanform { border-color: var(--ink); box-shadow: none; }
.scanform:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
:focus-visible { outline-color: var(--ink); }
.ref, .duty .ref, .risks .ref, .ref.mono { color: var(--muted); }
.prose a, .lede a, .sectors a, .faq a, .formnote a, .deep-full-h a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.more { color: var(--ink); }
.nav a[aria-current] { text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.ticks .i, .checks-grid h3 .i, .sectors h3 .i, .pill-list .i, .who-pills .i, .integrations .i, .dd-menu .i, .steps .ic, .contact-card .i, .contact-list .i, .checklist .i, .deep-wait .i, .hr-lock .i { color: var(--ink); }
.steps .ic { background: var(--lime); }
.numbered li::before { background: var(--lime); color: var(--ink); }
.dd-menu a:hover { background: var(--band); }
.status-line { color: var(--ink); background: var(--lime); }
.final { background: var(--ink); }
.final h2 mark { color: var(--ink); }
.final .scanform { border-color: #3a423c; background: #fff; }

/* Home hero: photo with the result card over its corner */
.hero { padding: 64px 0 112px; }
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.03; letter-spacing: -0.045em; margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; font-size: 1.15rem; }
.hero .formnote a { margin-left: 6px; }
.hero-vis { position: relative; }
.hero-vis > img { width: 100%; height: 540px; object-fit: cover; object-position: 50% 28%; border-radius: 20px; }
.hero-card { position: absolute; left: -56px; bottom: -48px; width: 330px; margin: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px 16px; }
.hero-card figcaption { font-size: .8rem; color: var(--muted); }
.hero-card-h { font-size: 1.55rem; font-weight: 660; letter-spacing: -0.03em; margin: 2px 0 10px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.hero-card em { font-style: normal; color: var(--fail); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.hero-card-lock { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-2); }
.hero-card-lock .i { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-card { animation: cardIn .8s var(--ease) .4s both; }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Layouts that used to hold a drawing are text only now */
.page-head-grid, .split-head { grid-template-columns: minmax(0, 1fr); }
.page-head-grid > div, .split-head .sec-head { max-width: 820px; }
.modules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
.module, .module:nth-child(even) { grid-template-columns: 1fr; gap: 0; padding: 36px 0; }
.module h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.steps > li { grid-template-columns: 1fr; }
.who { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.fine-big .amt { color: var(--ink); }
.fine-big .amt small { color: var(--muted); }
.timeline li.next::before { background: var(--lime); box-shadow: 0 0 0 6px rgb(213 245 107 / .35), inset 0 0 0 2px var(--ink); }
.timeline li.next .when { color: var(--ink); }
.cmp thead th:last-child { color: var(--ink); background: var(--lime); }
.cmp td:last-child { background: #f7fbe9; }
.deep-form { background: var(--band); }
.plan.pick { background: linear-gradient(var(--band), var(--band)) padding-box; }
.plan .tag { color: var(--ink); background: var(--lime); box-shadow: none; }
.hr-lock { background: var(--band); }
.dm-tab[aria-selected="true"] { border-left-color: var(--ink); }
.dm-tab[aria-selected="true"] .dm-n { background: var(--ink); color: var(--lime); }
.dm-consent { border-left-color: var(--ink); }
.dm-consent-h .i, .dm-tools li > .i { color: var(--ink); }
.dm-new { color: var(--ink); background: var(--lime); box-shadow: none; }
.dm-log button[aria-pressed="true"] { background: var(--band); box-shadow: inset 3px 0 0 var(--ink); }
.dm-check input { accent-color: var(--ink); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-vis > img { height: 380px; }
  .hero-card { left: 16px; bottom: -40px; }
  .hero { padding-bottom: 96px; }
  .modules { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tbar .wrap span:first-child { display: none; }
  .tbar .wrap { justify-content: center; }
  .hero { padding-top: 36px; }
  .hero-vis > img { height: 300px; border-radius: 16px; }
  .hero-card { position: relative; left: 0; bottom: 0; width: auto; margin: -64px 14px 0; }
  .hero { padding-bottom: 56px; }
}

/* Real screenshots and worked examples (29 Nov 2026) */
.shot-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.shot figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.module .shot { margin-top: 22px; }
.today-line { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.today-line::first-line { font-weight: 500; }
.clause { border-left: 3px solid var(--ink); padding: 4px 0 4px 24px; color: var(--ink-2); font-size: .98rem; }
.clause ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.clause b { color: var(--ink); }
.report-cmp td, .report-cmp thead th:not(:first-child) { width: auto; text-align: left; }
.report-cmp td:last-child { background: none; }
.report-cmp thead th:last-child { background: none; color: var(--muted); }
.worked { list-style: none; margin: 0; padding: 0; counter-reset: w; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.worked li { counter-increment: w; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.worked li::before { content: counter(w); width: 30px; height: 30px; border-radius: 50%; background: var(--fail-soft); color: var(--fail); display: grid; place-items: center; font-weight: 650; font-size: .88rem; }
.worked b { display: block; font-weight: 600; margin-bottom: 6px; }
.worked p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 960px) { .shot-split, .worked { grid-template-columns: 1fr; gap: 32px; } .worked { gap: 0; } }

/* Product parts: those with a screenshot span the row, text-only parts pair up */
.modules { grid-auto-flow: row dense; }
.module:has(> .shot) { grid-column: 1 / -1; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.module .shot, .module:has(> .shot) .shot { margin-top: 0; }
.module .shot img { max-width: none; width: 100%; justify-self: stretch; }
@media (max-width: 960px) { .module:has(> .shot) { grid-template-columns: 1fr; gap: 24px; } }

/* Principal Mark logo: the signet P (Rushi bought principalmark.com, 29 Nov 2026) */
.logo .mark { background: none; width: auto; height: auto; border-radius: 0; }
.logo .pm { width: 26px; height: 26px; color: var(--ink); --pm-cut: #fff; }
.logo { gap: 8px; letter-spacing: -0.025em; }
