/* BlueAtlas design system, a close copy of twenty.com. Tokens and rules: docs/design-system.md.
   Light only. Ink #1c1c1c with alpha steps, white and #f4f4f4 surfaces, one indigo accent #4a38f5, 2px radius base, 4px spacing base.
   Aleo (light serif) for display, Host Grotesk for emphasis and body, Inter for product UI, Azeret Mono for labels and buttons.
   Twenty's signatures: notched-corner buttons and cards, dotted dividers, an indigo bar before section labels, a real app window as the hero,
   dashed frame with plus marks, one chamfered black block. BlueAtlas additions: the risk scale. */
:root {
  --color-black: #1c1c1c; --color-black-hover: #333; --color-white: #fff; --color-white-hover: #e8e8e8;
  --color-neutral: #f4f4f4; --color-chalk: #f3f3f3; --color-silver: #dbdbdb; --color-fog: #ddd;
  --color-blue: #4a38f5; --color-green: #89fc9a; --color-yellow: #feffb7; --color-error: #ff9a9a;
  --color-black-5: #1c1c1c0d; --color-black-10: #1c1c1c1a; --color-black-20: #1c1c1c33; --color-black-40: #1c1c1c66;
  --color-black-60: #1c1c1c99; --color-black-80: #1c1c1ccc;
  --color-white-10: #ffffff1a; --color-white-20: #ffffff33; --color-white-40: #ffffff66; --color-white-60: #ffffff99;
  --color-blue-5: #4a38f50d; --color-blue-10: #4a38f51a; --color-blue-20: #4a38f533;

  --surface: var(--color-white); --surface-2: var(--color-neutral);
  --ink: var(--color-black); --ink-muted: var(--color-black-60); --ink-subtle: var(--color-black-40);
  --line: var(--color-black-10); --line-strong: var(--color-black-20);
  --accent: var(--color-blue); --accent-wash: var(--color-blue-10);
  --risk-high: #d92d20; --risk-watch: #b54708; --clear: #067647;
  --shadow-float: 0 12px 32px #0000001f, 0 2px 6px #0000000f;

  --font-sans: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-product: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-serif: "Aleo", Georgia, serif;
  --font-base: .25rem; --spacing-base: 4px; --radius-base: 2px;
  --gutter: 24px; --maxw: 1360px; --notch: 10px;
  color-scheme: light;
}
@media (min-width: 821px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p a, .small a, .fine a, li a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* display type: light serif with a sans emphasis, as on twenty.com */
.display, h1, h2 { font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
.display b, .display strong, h1 b, h2 b, h1 .sans, h2 .sans { font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem); }
h3 { font-family: var(--font-sans); font-size: 1.25rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.55; color: var(--ink-muted); max-width: 40rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--font-sans); color: var(--ink-muted); letter-spacing: -0.01em; }
.kicker::before { content: ""; width: 14px; height: 6px; background: var(--accent); flex: none; }
.eyebrow, .label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-muted); }
.muted { color: var(--ink-muted); font-size: 0.95rem; }
.mono { font-family: var(--font-mono); font-size: 0.8rem; }
.small { font-size: 0.875rem; color: var(--ink-muted); }

/* buttons: Azeret Mono caps, notched bottom-right corner */
.btn { --n: var(--notch); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px;
  border: 0; border-radius: 0; font: 500 12px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); transition: background-color .14s, color .14s; }
.btn:hover { text-decoration: none; }
.btn.primary, .btn.solid { background: var(--color-black); color: #fff; }
.btn.primary:hover, .btn.solid:hover { background: var(--color-black-hover); }
.btn.secondary, .btn.line { background: var(--line-strong); color: var(--ink); }
.btn.secondary::before, .btn.line::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--n) + 1px), calc(100% - var(--n) + 1px) 100%, 0 100%); transition: background-color .14s; }
.btn.secondary:hover::before, .btn.line:hover::before { background: var(--surface-2); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.sm { min-height: 32px; padding: 0 14px; --n: 8px; font-size: 11px; }
.btn:disabled { opacity: .55; cursor: progress; }
form.sent .btn:disabled { opacity: .5; cursor: default; }
form.sent input:disabled { background: var(--surface-2); color: var(--ink-muted); cursor: default; }
.sent-ok { display: block; padding: 12px 14px; border-left: 2px solid var(--clear); background: color-mix(in srgb, var(--clear) 8%, transparent); color: var(--ink-muted); }
.sent-ok b { display: block; color: var(--clear); font-weight: 600; margin-bottom: 2px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }
button.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* nav */
.nav { background: transparent; position: relative; z-index: 5; }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 72px; }
.logo { width: 40px; height: 40px; background: var(--color-black); color: #fff; display: grid; place-items: center; border-radius: 4px; }
.logo svg { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; }
.nav-links a { font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); padding: 0 20px; }
.nav-links a + a { border-left: 1px solid var(--line-strong); }
.nav-cta { display: flex; justify-content: flex-end; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.acct { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; font: 500 13px var(--font-product); color: var(--ink-muted); }
.pill { font: 500 12px var(--font-mono); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; color: var(--ink); }
@media (max-width: 960px) { .nav-links { display: none; } .nav .wrap { grid-template-columns: 1fr auto; } }
.newsbar { background: var(--ink); color: #fff; font: 500 13px/1.3 var(--font-product); padding: 8px 16px; text-align: center; }
.newsbar a { color: inherit; } .newsbar b { font: 500 11px var(--font-mono); margin-right: 10px; opacity: .7; }

/* hero: centered, on neutral */
.hero { background: linear-gradient(var(--surface-2) 0, var(--surface-2) 70%, var(--surface) 100%); padding-bottom: 0; }
.hero-center { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.hero-center h1 { max-width: 17ch; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem); }
.hero-center .lead { margin-inline: auto; }
.hero-center .small { margin-top: -4px; }

/* the app window (the screenshot pattern) */
.appwrap { position: relative; max-width: 1040px; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: 72px; }
.app { background: var(--surface); border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); overflow: hidden; font-family: var(--font-product); font-size: 13px; }
.app-bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--ink-muted); text-align: center; }
.dots { display: inline-flex; gap: 8px; } .dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 520px; }
.side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 12px; display: grid; gap: 4px; align-content: start; }
.side .ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.side .ws i { width: 18px; height: 18px; border-radius: 4px; background: var(--ink); display: inline-block; }
.side h6 { margin: 14px 8px 4px; font: 500 11px var(--font-product); color: var(--ink-subtle); }
.side a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; color: var(--ink-muted); }
.side a.on { background: var(--color-black-5); color: var(--ink); }
.side a svg { width: 14px; height: 14px; flex: none; color: var(--accent); }
.main { min-width: 0; display: grid; grid-template-rows: auto auto 1fr; }
.main-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.main-head .newrec { background: var(--accent); color: #fff; border-radius: 4px; padding: 5px 12px; font-weight: 500; font-size: 12px; }
.view { display: flex; justify-content: space-between; padding: 10px 16px; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.view span:last-child { display: flex; gap: 16px; }
.grid-t { width: 100%; border-collapse: collapse; }
.grid-t th { text-align: left; font-weight: 400; color: var(--ink-muted); padding: 8px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
.grid-t td { padding: 7px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.grid-t th:last-child, .grid-t td:last-child { border-right: 0; }
.grid-t .cb { width: 36px; padding-inline: 12px; } .grid-t .cb i { display: block; width: 13px; height: 13px; border: 1px solid var(--line-strong); border-radius: 3px; }
.tchip { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.app-scroll { overflow: auto; }
@media (max-width: 860px) { .app-body { grid-template-columns: 1fr; } .side { display: none; } }

/* the floating card over the app (live property check) */
.float { position: absolute; right: 8px; bottom: 28px; width: min(400px, calc(100% - 16px)); background: var(--surface); border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 16px 40px #00000026, 0 2px 8px #0000001a; font-family: var(--font-product); font-size: 13px; overflow: hidden; }
.float-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.seg b { font-weight: 500; padding: 4px 10px; border-radius: 6px; } .seg b.on { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.float-box { margin: 0 12px 12px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px; display: grid; gap: 8px; }
.float-box input { border: 0; background: transparent; padding: 4px 2px; min-height: 0; font-size: 14px; }
.float-box input:focus { outline: 0; border: 0; }
.float-row { display: flex; align-items: center; gap: 8px; }
.float-row .zip { width: 82px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 4px 8px; }
.float-row .tchip { color: var(--clear); border-color: color-mix(in srgb, var(--clear) 40%, transparent); background: color-mix(in srgb, var(--clear) 8%, transparent); }
.send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.send:disabled { opacity: .5; cursor: progress; }
.float-body { padding: 0 12px 12px; display: grid; gap: 10px; }
.hf-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hf-tabs button { font: 500 12px var(--font-product); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-muted); cursor: pointer; }
.hf-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini { width: 100%; border-collapse: collapse; }
.mini th, .mini td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.mini th { color: var(--ink-muted); width: 40%; } .mini tr:last-child th, .mini tr:last-child td { border-bottom: 0; }
.hf-out { display: grid; gap: 10px; padding: 0 12px 12px; }
.hf-msg { font-size: 13px; color: var(--ink-muted); }
.hf-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hf-addr { font-weight: 500; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-chips i, .hf-chips button { font: 500 12px var(--font-product); font-style: normal; padding: 3px 8px; border-radius: 2px; background: var(--color-black-5); border: 0; color: var(--ink); }
.hf-chips button { border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.hf-more { font: 500 13px var(--font-product); color: var(--accent); }
@media (max-width: 860px) { .float { position: static; width: auto; margin: 16px 0 0; } .appwrap { padding-bottom: 40px; } }

/* dashed frame with plus marks: "checks against" */
.frame { position: relative; margin: 56px var(--gutter) 0; }
.frame-in { border: 1px dashed var(--line-strong); border-width: 1px 0; display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); align-items: center; min-height: 72px; }
.frame-in > * { padding: 0 24px; text-align: center; font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.frame-in > * + * { border-left: 1px dashed var(--line-strong); height: 72px; display: grid; place-items: center; }
.frame::before, .frame::after, .frame-in::before, .frame-in::after { content: "+"; position: absolute; color: var(--accent); font: 400 20px/1 var(--font-mono); }
.frame::before { left: -8px; top: -11px; } .frame::after { right: -8px; top: -11px; }
.frame-in::before { left: -8px; bottom: -11px; } .frame-in::after { right: -8px; bottom: -11px; }
@media (max-width: 960px) { .frame-in { grid-template-columns: 1fr 1fr; } .frame-in > * { height: auto !important; padding: 14px; border-left: 0 !important; } }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec.alt { background: var(--surface-2); }
.sec-head { display: grid; gap: 20px; margin-bottom: 48px; max-width: 60rem; }
.sec-head p { color: var(--ink-muted); max-width: 40rem; }

/* the problem: chamfered black block + dotted list */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.blackblock { background: var(--color-black); min-height: 460px; position: relative; overflow: hidden; border-radius: 8px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, calc(100% - 28px) 70%, 100% calc(70% + 28px), 100% 100%, 0 100%); display: grid; place-items: center; padding: 24px; }
.blackblock svg { width: 100%; height: auto; max-height: 420px; }
.illus .a-plate { fill: #262626; stroke: #4a4a4a; stroke-width: 1; }
.illus .a-edge-l { fill: #333; } .illus .a-edge-r { fill: #2c2c2c; }
.illus .a-grid { stroke: #ffffff22; stroke-width: 0.6; fill: none; }
.illus .a-hatch { stroke: #ffffff44; fill: none; }
.illus .a-target { fill: none; stroke: #7b6dff; stroke-width: 1.5; stroke-dasharray: 3 3; }
.illus .a-blk .l { fill: #5a5a5a; } .illus .a-blk .r { fill: #404040; } .illus .a-blk .t { fill: #8a8a8a; stroke: none; }
.illus .a-hot .l { fill: #4a38f5; } .illus .a-hot .r { fill: #3425c4; } .illus .a-hot .t { fill: #8b80ff; }
.illus .a-beam, .illus .a-scan { stroke: #7b6dff; fill: none; }
.illus .a-cross rect, .illus .a-cross path { stroke: #fff; fill: none; }
.illus .a-lbl text { fill: #bbb; font-family: var(--font-mono); } .illus .a-lbl text.b { fill: #fff; }
.illus .a-lbl path { fill: none; stroke: #8a8a8a; stroke-width: 1; } .illus .a-lbl rect { fill: #fff; stroke: none; }
.illus .s { fill: #1c1c1c; opacity: .3; } .illus .b { fill: #1c1c1c; }
.problem-list { display: grid; gap: 0; max-width: 34rem; margin-top: 40px; }
.problem-list > div { border-top: 1px dotted var(--ink-subtle); padding: 20px 0; display: grid; gap: 8px; }
.problem-list h4 { font: 500 15px var(--font-sans); letter-spacing: -0.01em; }
.problem-list p { color: var(--ink-muted); font-size: 0.95rem; max-width: 26rem; }
.problem-list .hit h4 { color: var(--accent); }
.problem-list .hit ul { padding-left: 18px; color: var(--ink-muted); font-size: 0.9rem; display: grid; gap: 4px; margin-top: 4px; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } .blackblock { min-height: 320px; } }

/* notched cards (twenty's folder-tab corner) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { --tab: 56px; --th: 22px; position: relative; background: var(--line-strong); padding: 1px; display: grid; color: inherit;
  clip-path: polygon(0 0, calc(100% - var(--tab)) 0, calc(100% - var(--tab) + 28px) var(--th), 100% var(--th), 100% 100%, 0 100%); }
.card:hover { text-decoration: none; }
.card-in { background: var(--surface); padding: 16px; display: grid; gap: 14px; align-content: start;
  clip-path: polygon(0 0, calc(100% - var(--tab)) 0, calc(100% - var(--tab) + 28px) calc(var(--th) - 1px), 100% calc(var(--th) - 1px), 100% 100%, 0 100%); }
.card h3 { font-size: 1.125rem; padding-bottom: 14px; border-bottom: 1px dotted var(--ink-subtle); }
.card p { color: var(--ink-muted); font-size: 0.95rem; }
.card .num { font: 500 12px var(--font-mono); color: var(--ink-subtle); }
.card ul { padding-left: 18px; color: var(--ink-muted); font-size: 0.9rem; display: grid; gap: 6px; }
.card .shot { min-height: 200px; display: grid; align-content: center; padding-bottom: 14px; border-bottom: 1px dotted var(--ink-subtle); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 12px var(--font-product); }
.card-foot span { display: inline-flex; gap: 10px; align-items: center; } .card-foot span i { width: 1px; height: 14px; background: var(--line-strong); }
.arrow { width: 40px; height: 32px; background: var(--line-strong); display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); position: relative; isolation: isolate; color: var(--ink); }
.arrow::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--surface); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%); }
.card.hit { background: var(--accent); }
.card.stopped .card-in { background: var(--surface-2); }

/* product mini-UI inside cards and tables */
.tbl { width: 100%; border-collapse: collapse; font: 13px/1.4 var(--font-product); }
.tbl th { text-align: left; font-weight: 500; color: var(--ink-muted); padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td, .tbl tr:last-child th[scope] { border-bottom: 0; }
.tbl th[scope] { background: transparent; width: 36%; }
.tbl .id { font-family: var(--font-mono); font-size: 12px; }
.tbl-wrap, .scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; }
.list-rows { display: grid; font: 13px var(--font-product); }
.list-rows > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.list-rows > div:last-child { border-bottom: 0; }
.chip, .v { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-product); padding: 5px 8px; border-radius: 2px; background: var(--color-black-5); color: var(--ink); }
.chip.high, .v-bad, .hf-badge.high, .t-badge.high { background: color-mix(in srgb, var(--risk-high) 12%, transparent); color: var(--risk-high); }
.chip.watch, .v-mid, .hf-badge.elevated, .t-badge.elevated { background: color-mix(in srgb, var(--risk-watch) 14%, transparent); color: var(--risk-watch); }
.chip.clear, .v-ok, .hf-badge.low, .t-badge.low { background: color-mix(in srgb, var(--clear) 14%, transparent); color: var(--clear); }
.hf-badge, .t-badge { font: 600 12px/1 var(--font-product); padding: 5px 8px; border-radius: 2px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.plain::before, .hf-chips i::before { display: none; }
.tag { font: 500 11px var(--font-mono); color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: 2px; padding: 2px 6px; }
.tag.now { color: var(--clear); border-color: currentColor; }

/* proof strip: dotted columns */
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof .wrap > div { border-top: 1px dotted var(--ink-subtle); }
.fig { padding: 28px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
.fig + .fig { padding-left: 24px; border-left: 1px dotted var(--ink-subtle); }
.fig b { font: 300 clamp(2.25rem, 4.2vw, 3.25rem)/1 var(--font-serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fig span { color: var(--ink-muted); font-size: 0.875rem; } .fig a { color: var(--accent); }
@media (max-width: 900px) { .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .proof .wrap { grid-template-columns: 1fr; } .fig + .fig { border-left: 0; padding-left: 0; } }

.callout { margin-top: 32px; padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--accent-wash); max-width: 44rem; }

/* lookup and forms */
label, legend { font: 500 13px var(--font-product); color: var(--ink-muted); }
input, select { font: 400 14px var(--font-product); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 12px; min-height: 40px; width: 100%; }
input::placeholder { color: var(--ink-subtle); }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.target-form { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; max-width: 56rem; }
.target-form label { display: grid; gap: 6px; }
@media (max-width: 720px) { .target-form { grid-template-columns: 1fr 1fr; } .target-form .f-addr { grid-column: 1 / -1; } }
.target-out { margin-top: 24px; max-width: 56rem; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--surface); }
.t-msg { padding: 16px 20px; color: var(--ink-muted); }
.t-units { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.t-units button { font: 500 13px var(--font-product); padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.t-top { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.t-addr { font-weight: 500; } .t-addr small { display: block; font: 400 12px var(--font-mono); color: var(--ink-muted); margin-top: 2px; }
.t-list { list-style: none; padding: 0; }
.t-list li { display: grid; gap: 2px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.t-list li span { color: var(--ink-muted); font-size: 0.9rem; }
.t-foot { padding: 16px 20px; display: grid; gap: 12px; justify-items: start; color: var(--ink-muted); font-size: 0.9rem; }

/* stakes */
.stakes-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px dotted var(--ink-subtle); max-width: 52rem; }
.sbars { display: grid; gap: 12px; max-width: 40rem; margin-bottom: 40px; }
.sbar { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3.5rem; gap: 12px; align-items: center; font: 500 13px var(--font-product); }
.sbar i { display: block; height: 10px; background: var(--ink-subtle); width: var(--v); }
.sbar.hot i { background: var(--accent); }
.sbar b { font-variant-numeric: tabular-nums; text-align: right; }
.sbar-cap { color: var(--ink-muted); font-size: 0.875rem; }
.sfig { padding: 24px 24px 8px 0; display: grid; gap: 8px; }
.sfig + .sfig { padding-left: 24px; border-left: 1px dotted var(--ink-subtle); }
.sfig b { font: 300 3rem/1 var(--font-serif); letter-spacing: -0.03em; }
.sfig span { color: var(--ink-muted); font-size: 0.9rem; }
ol.sources { margin: 24px 0 0; padding-left: 20px; font-size: 0.85rem; color: var(--ink-muted); display: grid; gap: 4px; }

/* plans, plain list, faq */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 56rem; }
.plan { display: grid; gap: 16px; align-content: start; }
.price-big { display: flex; align-items: baseline; gap: 10px; }
.price-big b { font: 300 3.25rem/1 var(--font-serif); letter-spacing: -0.03em; }
.price-big span { color: var(--ink-muted); font-size: 0.9rem; }
ul.ticks { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
ul.ticks li { padding-left: 22px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
ul.plain { list-style: none; padding: 0; max-width: 44rem; }
ul.plain li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px dotted var(--ink-subtle); }
ul.plain li span { color: var(--ink-muted); font-size: 0.95rem; }
.faq { max-width: 48rem; border-top: 1px dotted var(--ink-subtle); }
.faq details { border-bottom: 1px dotted var(--ink-subtle); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-muted); }
.county-tbl { max-width: 56rem; border: 1px solid var(--line-strong); }

/* closing band: the one inverse section, chamfered */
.band { background: var(--color-black); color: #fff; margin: 0 var(--gutter) var(--gutter); border-radius: 8px; padding-block: clamp(56px, 8vw, 104px);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.band .wrap { display: grid; gap: 24px; justify-items: center; text-align: center; }
.band h2 { color: #fff; max-width: 18ch; }
.band p { color: var(--color-white-60); max-width: 36rem; }
.band .btn.primary { background: #fff; color: var(--color-black); }
.band .btn.primary:hover { background: var(--color-white-hover); }
.band .btn.secondary { background: var(--color-white-20); color: #fff; }
.band .btn.secondary::before { background: var(--color-black); }

/* footer */
footer { padding-block: 48px; font-size: 13px; color: var(--ink-muted); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; border-top: 1px dotted var(--ink-subtle); padding-top: 32px; }
footer a { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* /check/ page */
.check { display: grid; gap: clamp(48px, 7vw, 88px); padding-block: 48px 96px; }
.notice { border-left: 2px solid var(--accent); background: var(--accent-wash); padding: 12px 16px; font-size: 0.95rem; overflow-wrap: anywhere; }
.notice.warn { border-left-color: var(--risk-watch); background: color-mix(in srgb, var(--risk-watch) 10%, transparent); }
.notice code.key { font: 400 0.85rem var(--font-mono); background: var(--surface-2); padding: 2px 6px; user-select: all; }
.offer { padding: 24px; display: grid; gap: 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-float); text-align: left; }
.offer .free { font: 300 1.75rem/1.15 var(--font-serif); letter-spacing: -0.02em; }
.fine { color: var(--ink-muted); font-size: 0.85rem; }
.stack { display: grid; gap: 8px; }
details.signin summary { cursor: pointer; color: var(--accent); font: 500 13px var(--font-product); }
details.signin form { margin-top: 12px; }
.co-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: 72px; }
.co-copy { display: grid; gap: 20px; justify-items: start; }
.co-copy h1 { max-width: 12ch; }
.co-copy .offer { width: 100%; max-width: 30rem; }
@media (max-width: 900px) { .co-hero { grid-template-columns: 1fr; } }
.rep { background: var(--surface); border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); overflow: hidden; font-family: var(--font-product); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font: 500 13px var(--font-product); color: var(--ink-muted); }
.window-bar .tag { margin-left: auto; }
#signed-out { display: grid; gap: clamp(48px, 7vw, 88px); }
.split { display: grid; gap: 24px; }
.pitch { display: grid; gap: 20px; }
ul.gets { list-style: none; padding: 0; max-width: 48rem; }
ul.gets li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-top: 1px dotted var(--ink-subtle); }
ul.gets .ico { width: 20px; height: 20px; color: var(--accent); grid-row: span 2; margin-top: 3px; }
ul.gets b { font-weight: 500; } ul.gets span { color: var(--ink-muted); font-size: 0.93rem; }
.co-sec { display: grid; gap: 24px; }
.co-sec-head { display: grid; gap: 14px; }
ol.next { list-style: none; padding: 0; counter-reset: n; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px dotted var(--ink-subtle); }
ol.next li { counter-increment: n; padding: 24px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
ol.next li + li { padding-left: 24px; border-left: 1px dotted var(--ink-subtle); }
ol.next li::before { content: counter(n, decimal-leading-zero); font: 500 12px var(--font-mono); color: var(--ink-subtle); }
ol.next li span { color: var(--ink-muted); font-size: 0.93rem; }
.verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px dotted var(--ink-subtle); }
.verdict-grid > div { padding: 20px 20px 8px 0; display: grid; gap: 10px; align-content: start; }
.verdict-grid > div + div { padding-left: 20px; border-left: 1px dotted var(--ink-subtle); }
.verdict-grid p { color: var(--ink-muted); font-size: 0.93rem; }
.form { padding: 0; display: grid; gap: 0; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--surface); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.field { display: grid; gap: 6px; min-width: 140px; flex: 1 1 140px; }
.field.grow { flex: 3 1 240px; }
.signers { display: grid; gap: 10px; }
.actions { justify-content: space-between; align-items: center; }
.report { border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; display: grid; background: var(--surface); font-family: var(--font-product); }
.r-sec { padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.r-sec h3 { font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.r-sec h3::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.r-sec h4 { margin: 8px 0 0; font-size: 0.95rem; font-weight: 500; }
.r-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r-grid .r-sec + .r-sec { border-left: 1px solid var(--line); }
@media (max-width: 640px) { .r-grid { grid-template-columns: 1fr; } .r-grid .r-sec + .r-sec { border-left: 0; } }
table.docs { min-width: 560px; font: 13px/1.4 var(--font-product); }
table.docs th { font-weight: 500; color: var(--ink-muted); padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
table.docs td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cand { display: block; width: 100%; text-align: left; font: inherit; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }
.cand:hover { border-color: var(--accent); }
.r-foot { padding: 18px 24px; display: grid; gap: 6px; color: var(--ink-muted); font-size: 0.82rem; }
.r-foot .mono { font-size: 0.72rem; }
@media print {
  .nav, .check-hero, #signed-out, #f-check, .notice, .no-print, footer { display: none !important; }
  body { background: #fff; color: #000; } .check { padding: 0; }
  .report { border: 1px solid #000; box-shadow: none; } .rp-verdict h2, .rp-verdict .rp-sub { color: #000 !important; }
}
.co-hero > *, .cards > *, .split2 > * { min-width: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- twenty-style illustrations and interactions ---- */
/* logo: the black mark itself, no tile */
.logo { background: none; width: auto; height: auto; color: var(--color-black); border-radius: 0; display: inline-flex; }
.logo svg { width: 36px; height: 36px; }
/* sticky nav with a hairline once scrolled */
.nav { position: sticky; top: 0; transition: background-color .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.stuck { background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(8px); }
.hero { position: relative; }

canvas[data-ht] { display: block; width: 100%; height: 100%; }
.blackblock { padding: 0; place-items: stretch; }
.blackblock canvas { position: absolute; inset: 0; }
.blackblock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1c1c1c 0, transparent 22%, transparent 78%, #1c1c1c 100%), linear-gradient(0deg, #1c1c1c 0, transparent 18%); pointer-events: none; }

/* feature cards with a halftone icon (twenty's "Production grade quality" row) */
.card .ht-icon { height: 250px; display: block; border-bottom: 1px dotted var(--ink-subtle); padding: 12px 0 14px; position: relative; }
.card .ht-icon canvas { width: 100%; height: 100%; }
.card-foot .who { display: inline-flex; gap: 12px; align-items: center; font: 500 12px var(--font-product); }
.card-foot .who i { width: 1px; height: 14px; background: var(--line-strong); }
.card-foot .who span { font-weight: 400; }
.card:hover .arrow { background: var(--color-black); color: #fff; }
.card:hover .arrow::before { background: var(--color-black); }

/* pinned scroll: sticky copy with steps on the left, halftone + sliding dark cards on the right */
.pin { position: relative; height: 330vh; background: var(--surface-2); }
.pin-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; overflow: hidden; }
.pin-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.pin-steps { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 24px; align-items: center; }
.ticks-col { display: grid; gap: 10px; justify-items: start; align-content: center; }
.ticks-col button { all: unset; cursor: pointer; display: block; width: 3px; height: 6px; background: var(--line-strong); border-radius: 2px; position: relative; transition: height .3s, background-color .3s; }
.ticks-col button.on { height: 60px; background: var(--accent); }
.ticks-col button.on::after { content: attr(data-n); position: absolute; left: 14px; top: 0; font: 500 12px var(--font-mono); color: var(--accent); }
.step-copy { position: relative; min-height: 300px; display: grid; }
.step-copy > div { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; pointer-events: none; align-self: center; display: grid; gap: 20px; }
.step-copy > div.on { opacity: 1; transform: none; pointer-events: auto; }
.step-copy h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); }
.step-copy p { color: var(--ink-muted); max-width: 26rem; }
.pin-stage { position: relative; height: min(70vh, 640px); background: #dcdcdc; overflow: hidden; border-radius: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.pin-stage canvas { position: absolute; inset: 0; }
.pin-track { position: absolute; left: 4%; right: 0; top: 36%; display: flex; gap: 20px; transform: translateX(calc(var(--i, 0) * -34%)); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.ucard { flex: 0 0 min(300px, 44%); background: var(--color-black); color: #fff; border-radius: 14px; padding: 14px 14px 16px; display: grid; gap: 8px; align-content: start; box-shadow: 0 16px 36px #0000003d; }
.ucard h5 { margin: 4px 4px 8px; font: 500 16px/1.2 var(--font-sans); display: flex; align-items: center; gap: 10px; }
.ucard h5 svg { width: 16px; height: 16px; color: #fff; }
.urow { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 16px; background: #333; border-radius: 4px; position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); font: 500 14px var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.urow svg { width: 18px; height: 18px; flex: none; }
.urow .g { color: #89fc9a; } .urow .y { color: #feffb7; } .urow .p { color: #ed87fc; } .urow .r { color: #ff9a9a; }
@media (max-width: 900px) {
  .pin { height: auto; } .pin-sticky { position: static; height: auto; padding-block: 56px; }
  .pin-grid { grid-template-columns: 1fr; gap: 32px; } .step-copy { min-height: 0; } .step-copy > div { grid-area: auto; opacity: 1; transform: none; margin-bottom: 32px; }
  .ticks-col { display: none; } .pin-steps { grid-template-columns: 1fr; } .pin-track { transform: none; position: relative; left: 0; top: 0; padding: 24px; overflow-x: auto; }
  .pin-stage { height: auto; min-height: 360px; }
}

/* animated cursors over the app window */
.cursor { position: absolute; z-index: 3; pointer-events: none; display: flex; align-items: flex-start; gap: 0; }
.cursor svg { width: 28px; height: 28px; margin-right: -6px; }
.cursor b { font: 700 15px/1 var(--font-sans); padding: 8px 10px; margin-top: 18px; color: #1c1c1c; }
.cursor.a { color: #ffa98b; top: 190px; left: 250px; animation: curA 9s ease-in-out infinite; } .cursor.a b { background: #ffb59a; }
.cursor.b { color: #ec9bff; top: 330px; left: 520px; animation: curB 11s ease-in-out infinite; } .cursor.b b { background: #f0a8ff; }
@keyframes curA { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(190px, 70px); } 60% { transform: translate(90px, 150px); } }
@keyframes curB { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-170px, -60px); } 70% { transform: translate(-60px, 40px); } }
@media (max-width: 860px), (prefers-reduced-motion: reduce) { .cursor { display: none; } }
.grid-t tbody tr { transition: background-color .12s; } .grid-t tbody tr:hover { background: var(--color-black-5); }

/* plus-marked divider lines (twenty's section seams) */
.seam { position: relative; height: 1px; background: var(--line-strong); margin: 0 var(--gutter); }
.seam::after { content: "+"; position: absolute; left: 50%; top: -11px; transform: translateX(-50%); background: var(--surface); padding: 0 6px; color: var(--accent); font: 400 20px/1 var(--font-mono); }

/* closing: dark halftone, scalloped top of the white footer */
.endcap { background: var(--color-black); margin: 0 var(--gutter) var(--gutter); border-radius: 8px; overflow: hidden; }
.finale { position: relative; background: var(--color-black); color: #fff; overflow: hidden; padding-block: clamp(72px, 9vw, 128px) 140px; }
.finale canvas { position: absolute; inset: 0; opacity: .55; }
.finale .wrap { position: relative; display: grid; gap: 24px; justify-items: center; text-align: center; }
.finale h2 { color: #fff; max-width: 18ch; }
.finale p { color: var(--color-white-60); max-width: 36rem; }
.finale .btn.primary { background: #fff; color: var(--color-black); }
.finale .btn.secondary { background: var(--color-white-20); color: #fff; } .finale .btn.secondary::before { background: var(--color-black); }
.foot { position: relative; background: var(--surface); margin: -40px 0 0; padding: 72px 0 32px;
  clip-path: polygon(0 0, calc(50% - 400px) 0, calc(50% - 330px) 20px, calc(50% + 330px) 20px, calc(50% + 400px) 0, 100% 0, 100% 100%, 0 100%); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; }
.foot-cols > div { padding: 0 24px 24px 0; position: relative; display: grid; gap: 8px; align-content: start; }
.foot-cols > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.foot-cols h6 { margin: 0 0 6px; font: 500 16px var(--font-sans); }
.foot-cols a { color: var(--ink); font-size: 16px; } .foot-cols a:hover { color: var(--accent); }
.foot-cols > div + div::before { content: "+"; position: absolute; left: -7px; top: -4px; color: var(--accent); font: 400 18px/1 var(--font-mono); background: var(--surface); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; font: 500 12px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.foot .logo svg { width: 44px; height: 44px; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot { clip-path: none; margin-top: 0; padding-top: 40px; } .finale { padding-bottom: 72px; } }

.foot .wrap { display: block; border-top: 0; padding-top: 0; }
.foot-cols a:not(.btn) { color: var(--ink); font-size: 16px; }
.foot-cols a.btn { color: #fff; font-size: 12px; } .foot-cols a.btn.secondary { color: var(--ink); }
.foot { padding-top: 88px; }

.foot-cols h6 { color: var(--ink); } .arrow { font-size: 16px; }

.foot.solo { margin: 0; clip-path: none; padding-top: 48px; border-top: 1px dotted var(--ink-subtle); }

/* hero backdrop + a nav that stays sticky over the whole page */
.hero { overflow: hidden; background: var(--surface-2); }
.hero-bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 760px; z-index: 0; pointer-events: none; }
.hero > header { position: relative; z-index: 1; }
.nav { z-index: 20; }
.nav.over { margin-bottom: -72px; }
.nav.over:not(.stuck) { background: transparent; }
.hero-center { padding-top: calc(72px + clamp(24px, 5vw, 64px)); }

.frame-in.x7 { grid-template-columns: auto repeat(5, minmax(0, 1fr)) auto; }
.frame + .frame { margin-top: 44px; }
@media (max-width: 960px) { .frame-in.x7 { grid-template-columns: 1fr 1fr; } .frame-in > :first-child { grid-column: 1 / -1; } .frame-in > .ico-people { grid-column: 1 / -1; justify-content: center; } .frame-in > * + * { display: block; } }
.frame-in .ico-people { display: inline-flex; align-items: center; gap: 8px; }

/* biometric readout over the face scan: rows tick on in step with the 7s scene */
.bio-ui { position: absolute; z-index: 3; right: 44px; top: 18px; display: grid; gap: 6px; width: 236px; pointer-events: none; }
.brow { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 12px; background: #2c2c2c; color: #fff; font: 500 11px var(--font-mono); letter-spacing: .05em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.brow .st { position: relative; width: 66px; height: 14px; text-align: right; }
.brow .st > * { position: absolute; right: 0; top: 0; }
.brow .wait { color: #8a8a8a; animation: bioWait 7s steps(1, end) infinite; }
.brow .ok { color: #89fc9a; opacity: 0; animation: bioOk 7s steps(1, end) infinite; }
.brow.a .wait, .brow.a .ok { --d: 0s; } .brow.b .wait, .brow.b .ok { animation-delay: 0s; }
.brow.a .wait { animation-name: waitA; } .brow.a .ok { animation-name: okA; }
.brow.b .wait { animation-name: waitB; } .brow.b .ok { animation-name: okB; }
.brow.c .wait { animation-name: waitC; } .brow.c .ok { animation-name: okC; }
@keyframes waitA { 0% { opacity: 1 } 24% { opacity: 0 } 97% { opacity: 0 } 100% { opacity: 1 } } @keyframes okA { 0% { opacity: 0 } 24% { opacity: 1 } 97% { opacity: 1 } 100% { opacity: 0 } }
@keyframes waitB { 0% { opacity: 1 } 52% { opacity: 0 } 97% { opacity: 0 } 100% { opacity: 1 } } @keyframes okB { 0% { opacity: 0 } 52% { opacity: 1 } 97% { opacity: 1 } 100% { opacity: 0 } }
@keyframes waitC { 0% { opacity: 1 } 76% { opacity: 0 } 97% { opacity: 0 } 100% { opacity: 1 } } @keyframes okC { 0% { opacity: 0 } 76% { opacity: 1 } 97% { opacity: 1 } 100% { opacity: 0 } }
.bio-cap { position: absolute; z-index: 3; right: 40px; bottom: 16px; font: 500 11px var(--font-mono); letter-spacing: .06em; color: #8a8a8a; text-transform: uppercase; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .brow .wait { animation: none; opacity: 0; } .brow .ok { animation: none; opacity: 1; } }
@media (max-width: 520px) { .bio-ui { width: 190px; right: 36px; } .bio-cap { display: none; } }

.fig.risk b { color: color-mix(in srgb, var(--risk-high) 88%, var(--ink)); }
.fig.risk > span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--risk-high); margin-right: 8px; vertical-align: 1px; opacity: .85; }

.logo { gap: 10px; align-items: center; } .logo-word { font: 500 24px/1 var(--font-sans); letter-spacing: -0.04em; color: var(--ink); }

/* ---- report visuals: the sample on /check/ and the live report share these ---- */
.rp-verdict { --sev: var(--risk-high); position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 10px; padding: 22px 22px 20px; background: var(--surface); border-bottom: 1px dotted var(--ink-subtle); }
.rp-verdict.ok { --sev: var(--clear); } .rp-verdict.review { --sev: var(--risk-watch); } .rp-verdict.info { --sev: var(--ink); }
.rp-art { position: absolute; z-index: -1; right: 24px; top: 50%; transform: translateY(-50%); width: 104px; height: 104px; color: var(--sev); pointer-events: none; }
.rp-art path { fill: none; stroke: currentColor; stroke-width: 22; stroke-linecap: butt; stroke-linejoin: miter; }
.rp-art path.f { fill: currentColor; stroke: none; }
@media (max-width: 560px) { .rp-art { width: 120px; height: 120px; right: 8px; opacity: .14; } }
.rp-k { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.rp-dot { width: 14px; height: 2px; background: var(--accent); }
.rp-verdict h2, .rp-verdict b.rp-title { font: 300 clamp(1.7rem, 3.4vw, 2.5rem)/1.08 var(--font-serif); letter-spacing: -.02em; color: var(--sev); max-width: 22ch; }
.rp-verdict.sample b.rp-title { font-size: 2.2rem; }
.rp-sub { color: var(--ink-muted); font: 400 14px/1.45 var(--font-product); max-width: 46ch; }
.rp-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rp-counts i { font: 500 12px var(--font-product); font-style: normal; padding: 4px 8px; border-radius: 2px; background: var(--surface-2); color: var(--ink-muted); }
.rp-counts .h { background: color-mix(in srgb, var(--risk-high) 12%, transparent); color: var(--risk-high); }
.rp-counts .r { background: color-mix(in srgb, var(--risk-watch) 14%, transparent); color: var(--risk-watch); }
.rp-prop { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 14px 22px; border-bottom: 1px solid var(--line); font: 500 14px var(--font-product); }
.rp-prop small { font: 400 11px var(--font-mono); color: var(--ink-subtle); letter-spacing: .02em; }
.rp-block { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; min-width: 0; }
.rp-block > h3 { font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.rp-block > h3::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
/* chain of title */
.rp-chain { list-style: none; padding: 0; position: relative; display: grid; gap: 0; }
.rp-chain::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 0; border-left: 1px dashed var(--line-strong); }
.rp-chain li { position: relative; padding: 0 0 16px 30px; display: grid; gap: 2px; font: 400 13px/1.4 var(--font-product); min-width: 0; opacity: 0; transform: translateY(6px); animation: rp-in .5s ease-out forwards; animation-delay: calc(.35s + var(--i, 0) * .22s); }
.rp-chain li:last-child { padding-bottom: 0; }
.rp-chain li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.rp-chain li.own::before { background: var(--ink); }
.rp-chain li.bad::before { border-color: var(--risk-high); background: var(--risk-high); }
.rp-chain li.warn::before { border-color: var(--risk-watch); }
.rp-chain .when { font: 500 11px var(--font-mono); color: var(--ink-subtle); letter-spacing: .02em; }
.rp-chain .who { font-weight: 600; overflow-wrap: anywhere; } .rp-chain .who s { text-decoration: none; color: var(--ink-subtle); font-weight: 400; }
.rp-chain .what { color: var(--ink-muted); overflow-wrap: anywhere; }
.rp-chain li.bad .who { color: var(--risk-high); }
.rp-chain .chip { display: inline-block; margin-left: 6px; font: 500 10px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; background: color-mix(in srgb, var(--risk-high) 12%, transparent); color: var(--risk-high); vertical-align: 1px; }
.rp-chain .chip.ok { background: color-mix(in srgb, var(--clear) 12%, transparent); color: var(--clear); }
@keyframes rp-in { to { opacity: 1; transform: none; } }
/* signals */
ul.signals { list-style: none; padding: 0; display: grid; gap: 6px; }
ul.signals li { display: grid; grid-template-columns: 3px 56px minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 8px 12px 8px 0; background: var(--surface-2); border-radius: 2px; font: 400 13px/1.4 var(--font-product); opacity: 0; transform: translateY(6px); animation: rp-in .5s ease-out forwards; animation-delay: calc(.9s + var(--i, 0) * .12s); }
ul.signals li::before { content: ""; align-self: stretch; background: var(--ink-subtle); border-radius: 2px 0 0 2px; }
ul.signals li.high::before { background: var(--risk-high); } ul.signals li.review::before { background: var(--risk-watch); }
.sev { font: 600 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
ul.signals li.high .sev { color: var(--risk-high); } ul.signals li.review .sev { color: var(--risk-watch); }
.rp-seal { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 14px 22px; font: 400 11px/1.5 var(--font-mono); color: var(--ink-muted); }
.rp-seal svg { width: 18px; height: 18px; color: var(--clear); flex: none; }
.rp-seal code { color: var(--ink); background: var(--surface-2); padding: 2px 6px; border-radius: 2px; }
.rp-src { padding: 0 22px 14px; font: 400 11px var(--font-mono); color: var(--ink-subtle); }
/* live report layout */
.r-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); font: 400 12px var(--font-mono); color: var(--ink-muted); }
.r-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.r-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.r-tiles > div { background: var(--surface); padding: 14px 22px; display: grid; gap: 2px; min-width: 0; }
.r-tiles span { font: 500 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-subtle); }
.r-tiles b { font: 500 15px/1.3 var(--font-product); overflow-wrap: anywhere; }
.r-tiles b.bad { color: var(--risk-high); } .r-tiles b.good { color: var(--clear); }
.kv { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(0, 1.4fr); gap: 12px; font: 400 13px/1.4 var(--font-product); padding: 6px 0; border-bottom: 1px dotted var(--line-strong); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink-muted); } .kv .v { overflow-wrap: anywhere; display: block; background: none; padding: 0; font-weight: 500; }
.kv .v.match { color: var(--clear); } .kv .v.no_match { color: var(--risk-high); } .kv .v.surname_only { color: var(--risk-watch); }
table.docs td .kind { font: 500 10px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; background: var(--surface-2); }
table.docs tbody tr:hover td { background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .rp-chain li, ul.signals li { opacity: 1; transform: none; animation: none; } }

/* ---- seller check form ---- */
.form-top { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; padding: 16px 24px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.form .fs { border: 0; margin: 0; padding: 22px 24px; display: grid; gap: 16px; border-bottom: 1px dotted var(--ink-subtle); min-width: 0; }
.form .fh { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 4px; font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); float: left; width: 100%; }
.form .fh + * { clear: both; }
.form .fh i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; background: var(--ink); color: #fff; border-radius: 2px; font-size: 11px; }
.form .row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.form label, .form legend { font: 500 12px var(--font-product); color: var(--ink-muted); }
.form .fh { font: 500 11px var(--font-mono); }
.form input:not([type=radio]), .form select { min-height: 44px; border-radius: 4px; background-color: var(--surface); transition: border-color .14s, box-shadow .14s; }
.form input:not([type=radio]):hover, .form select:hover { border-color: var(--ink-subtle); }
.form input:not([type=radio]):focus, .form select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.form select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231c1c1c' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
/* segmented control instead of radio dots */
.field.seg { display: block; background: none; border: 0; padding: 0; margin: 0; flex: 0 0 auto; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 6px; }
.seg-in { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; padding: 3px; gap: 3px; background: var(--surface-2); }
.seg-in label { position: relative; cursor: pointer; margin: 0; }
.seg-in input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.seg-in span { display: grid; place-items: center; min-height: 36px; padding: 0 18px; border-radius: 2px; font: 500 13px var(--font-product); color: var(--ink-muted); transition: background-color .14s, color .14s; }
.seg-in label:hover span { color: var(--ink); }
.seg-in input:checked + span { background: var(--ink); color: #fff; }
.seg-in input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.signers { display: grid; gap: 12px; }
.addrow { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; background: none; border: 1px dashed var(--ink-subtle); border-radius: 4px; color: var(--ink); font: 500 13px var(--font-product); cursor: pointer; transition: border-color .14s, background-color .14s; }
.addrow span { font-size: 16px; line-height: 1; color: var(--accent); }
.addrow:hover { border-color: var(--accent); background: var(--accent-wash); }
.form .actions { padding: 18px 24px; justify-content: space-between; align-items: center; background: var(--surface-2); }
.form .actions .fine { margin: 0; flex: 1 1 200px; }
@media (max-width: 560px) { .form .fs, .form .actions, .form-top { padding-left: 16px; padding-right: 16px; } .form .actions .btn { width: 100%; } }

/* ---- daily screen chart ---- */
.scr { display: grid; gap: 20px; }
.scr-top { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: end; }
.scr-nums { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.scr-nums b { display: block; font: 300 clamp(2rem, 4vw, 3rem)/1 var(--font-serif); letter-spacing: -.02em; }
.scr-nums span { font: 500 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.scr-nums .r b { color: var(--risk-high); } .scr-nums .w b { color: var(--risk-watch); }
.scr-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; padding: 3px; gap: 3px; background: var(--surface); }
.scr-seg button { min-height: 34px; padding: 0 16px; border: 0; border-radius: 2px; background: none; font: 500 13px var(--font-product); color: var(--ink-muted); cursor: pointer; transition: background-color .14s, color .14s; }
.scr-seg button:hover { color: var(--ink); }
.scr-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.scr-chart { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 20px 16px 8px; }
.scr-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.scr-chart .ax { font: 400 11px var(--font-mono); fill: var(--ink-subtle); }
.scr-chart .br { fill: var(--risk-high); } .scr-chart .bw { fill: color-mix(in srgb, var(--risk-watch) 55%, #fff); }
.scr-chart g:hover rect { opacity: .78; }
.scr-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 12px var(--font-product); color: var(--ink-muted); }
.scr-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
.scr-key .r::before { background: var(--risk-high); } .scr-key .w::before { background: color-mix(in srgb, var(--risk-watch) 55%, #fff); } .scr-key .m::before { display: none; }
.scr-sub { display: grid; gap: 12px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; border-left: 2px solid var(--accent); }
.scr-sub-copy { display: grid; gap: 2px; } .scr-sub-copy b { font-weight: 600; } .scr-sub-copy span { color: var(--ink-muted); font-size: 0.93rem; }
.scr-sub-row { display: flex; flex-wrap: wrap; gap: 10px; }
.scr-sub-row input { flex: 1 1 240px; min-height: 44px; }
.scr-sub .sr { position: absolute; left: -9999px; }
.scr-sub.sent input:disabled { background: var(--surface-2); color: var(--ink-muted); }
.scr-sub .btn:disabled { opacity: .5; cursor: default; }
.scr-msg { margin-top: 24px; } .scr-msg.bad { border-left-color: var(--risk-high); background: color-mix(in srgb, var(--risk-high) 8%, transparent); } .scr-msg.bad b { color: var(--risk-high); }
