/* TitleDesk — Subsurface Photonic Cyan & Ultraviolet Obsidian design system.
   Order: self-hosted fonts & tokens, base + 1x1in dark purple grid, shared components,
   site chrome & Harness Lab credit plaque, then public pages. */

/* Fonts: self-hosted latin WOFF2 subsets (Space Grotesk, Plus Jakarta Sans, JetBrains Mono; SIL OFL). */
@font-face { font-family: 'Space Grotesk'; src: url(fonts/space-grotesk.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/plus-jakarta-sans.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #000000;
  --surface: rgba(7, 10, 22, 0.80);
  --surface-solid: #070a16;
  --raised: #0d1326;
  --line: #1d2847;
  --line-soft: #121a30;
  --edge: #3d2e78;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --faint: #64748b;
  --gold: #38bdf8;
  --cyan: #22d3ee;
  --violet: #a855f7;
  --ember: #fb7185;
  --pass: #34d399;
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --wordmark: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: #000000; }
body {
  margin: 0;
  background-color: #000000;
  background-image:
    radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.36) 1.25px, transparent 1.7px),
    linear-gradient(to right, rgba(124, 58, 237, 0.19) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 58, 237, 0.19) 1px, transparent 1px);
  background-size: 1in 1in;
  background-position: 0 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: 2rem; } h2 { font-size: 1.55rem; } h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; max-width: 70ch; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: #020617; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--gold); color: #020617; padding: 12px 16px; border-radius: 4px; font-weight: 600; z-index: 40; }
.skip:focus { top: 16px; outline-color: var(--ink); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 680px; }
.mono, .num, .cite { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.num { text-align: right; white-space: nowrap; }
.cite { color: var(--gold); }
.help { color: var(--muted); font-size: 0.88rem; line-height: 1.48; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border: 1px solid var(--violet); background: rgba(168, 85, 247, 0.25); transform: rotate(45deg); flex: none; }
.eyebrow a { text-decoration: none; }
.eyebrow a::before { content: '\2190\00a0'; }
.lede { font-size: 1.14rem; line-height: 1.54; color: var(--muted); max-width: 60ch; }
.preview-note { margin: 0; max-width: none; padding: 8px var(--gutter); text-align: center; font-size: 0.84rem; font-family: var(--mono); color: var(--muted); background: rgba(6, 9, 20, 0.9); border-bottom: 1px solid var(--line); }

/* ---- Shared components -------------------------------------------------------- */

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 4px; border: 1px solid transparent; font: 600 0.98rem/1.2 var(--display); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button.small { min-height: 42px; padding: 8px 16px; font-size: 0.9rem; }
.button.large { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.button.primary { background: linear-gradient(135deg, var(--gold) 0%, var(--cyan) 100%); color: #020617; box-shadow: 0 0 24px rgba(34, 211, 238, 0.22); }
.button.primary:hover { background: var(--ink); color: #020617; box-shadow: 0 0 30px rgba(56, 189, 248, 0.38); }
.button.primary:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.button.secondary { background: rgba(13, 19, 38, 0.68); color: var(--ink); border-color: #334155; }
.button.secondary:hover { border-color: var(--gold); color: var(--gold); background: rgba(14, 26, 52, 0.85); }
.button.quiet { background: transparent; color: var(--gold); padding-inline: 0; }
.button.erase { background: transparent; color: var(--ember); border-color: var(--ember); }
.linklike { background: none; border: 0; padding: 10px 0; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.inline { display: inline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-block: 24px 16px; }

/* State words and marks */
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; }
.mark { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.state-pass, .mark-pass { color: var(--pass); }
.state-ember, .mark-ember { color: var(--ember); }
.state-muted, .mark-muted { color: var(--muted); }
.state-gold, .mark-gold { color: var(--gold); }
.tag { border: 1px solid #334155; background: rgba(13, 19, 38, 0.72); border-radius: 3px; padding: 2px 8px; font: 500 0.76rem/1.3 var(--mono); white-space: nowrap; color: var(--muted); }
.tag-gold { border-color: rgba(168, 85, 247, 0.55); background: rgba(88, 28, 135, 0.22); color: #d8b4fe; }

/* Ledger: the sample tables on the public pages */
.ledger { margin: 0; background: var(--surface); border: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ledger figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.84rem; color: var(--muted); background: rgba(4, 7, 16, 0.65); }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; font-size: 0.9rem; }
.ledger td.cite, .ledger td.num { white-space: nowrap; font-size: 0.84rem; }
.ledger thead th { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.ledger .num { text-align: right; }
.ledger-checks, .checks { list-style: none; margin: 0; padding: 12px 16px; display: grid; gap: 6px; }
.checks { padding-inline: 0; }

/* Bands */
.band { padding-block: 92px; }
.band + .band, .early + .band { border-top: 1px solid var(--line); }
.early + .band, .early + .band.wrap { border-top: 0; }
.band.wrap + .band.wrap { border-top: 0; background: linear-gradient(90deg, transparent, var(--line) 12%, rgba(168, 85, 247, 0.35) 50%, var(--line) 88%, transparent) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px; }
.facts + .band, .facts + .band.wrap, .band.first + .band.wrap { border-top: 0; background: none; }
.band.first { padding-block: 64px 48px; }
.band.first + .band { border-top: 0; padding-top: 16px; }
main.narrow .band { padding-block: 64px; }
.band-head { max-width: 46rem; margin-bottom: 44px; }
.band-head.row { max-width: none; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.band-head.row h1, .band-head.row h2 { margin: 0; }
.band h2:not(.sub), .closing h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.025em; }
.band.first h1 { font-size: clamp(2.15rem, 4.2vw, 3.3rem); font-weight: 600; letter-spacing: -0.028em; }
main.narrow h1, .band.wrap.first > h1 { font-size: 2.1rem; }
h2.sub { font-size: 1.55rem; margin-bottom: 24px; }
.band > h2:not(:first-child), .band > h3:not(:first-child) { margin-top: 56px; }
.split { display: grid; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
@media (min-width: 980px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .25s, box-shadow .25s; }
.card:hover { border-color: var(--edge); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); }
.card-marked { border-top: 2px solid var(--gold); box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.25); }
.cards + .help { margin-top: 20px; }
.card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.card > p { color: var(--muted); }
.card > p.card-line, .card > p.price { color: var(--ink); }
.card .button { margin-top: auto; align-self: flex-start; }
.card form { margin-top: auto; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-line { font-weight: 500; }
.card-foot { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.price { margin: 0 0 16px; }
.amount { font: 600 2.65rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.per { color: var(--muted); font-size: 0.94rem; }
.plain { list-style: none; margin: 0 0 24px; padding: 0; }
.plain li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.94rem; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.35em; width: 14px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.choice { cursor: pointer; flex-direction: row; gap: 16px; align-items: flex-start; }
.choice input { margin-top: 6px; accent-color: var(--gold); width: 20px; height: 20px; flex: none; }
.choice-body { display: grid; gap: 8px; }
.choice-name { font: 600 1.45rem/1.15 var(--display); }
.choice:has(input:checked) { border-color: var(--gold); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Forms */
.stack { display: grid; gap: 24px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-row, .tract-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.field.grow { grid-column: span 2; }
@media (max-width: 560px) { .field.grow { grid-column: auto; } }
label, legend { font-size: 0.86rem; font-weight: 500; color: var(--muted); }
input:not([type='radio'], [type='range'], [type='file'], [type='hidden'], [type='checkbox']), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; background: rgba(9, 14, 28, 0.92); color: var(--ink);
  border: 1px solid #334155; border-radius: 3px; font: inherit; transition: border-color .15s, box-shadow .15s;
}
input:not([type='radio'], [type='range'], [type='file'], [type='hidden'], [type='checkbox']):hover, select:hover, textarea:hover { border-color: var(--gold); }
textarea { resize: vertical; line-height: 1.5; }
input[type='file'] { color: var(--muted); font: inherit; min-height: 44px; }
input[aria-invalid='true'] { border-color: var(--ember); }
.error { color: var(--ember); font-size: 0.94rem; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; }
.tracts .tract, .checker .tract-row { padding-block: 16px; border-top: 1px solid var(--line); }
.tract { display: grid; gap: 16px; }
.choices { display: grid; gap: 4px; }
.choices label { display: block; padding: 10px 0; color: var(--ink); font-size: 1rem; font-weight: 400; }
.choices input { accent-color: var(--gold); margin-right: 8px; }
.upload { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 24px; }

/* Lists of findings */
.issues, .reqs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.issues li, .reqs li { background: var(--surface); border-left: 2px solid var(--line); padding: 14px 18px; }
.issues li { border-left-color: var(--ember); }
.issues p, .reqs p { margin: 4px 0 0; }
.ledger .reqs { margin: 0; gap: 0; }
.ledger .reqs li { border-left: 0; border-bottom: 1px solid var(--line); background: none; font-size: 0.94rem; }
.req-title { font: 600 1.06rem/1.3 var(--display); }
.req-title.cite { font-family: var(--mono); font-size: 0.98rem; }

/* Tables in the account */
.table { width: 100%; border-collapse: collapse; background: var(--surface); margin-bottom: 12px; }
.table caption { text-align: left; font: 600 1.2rem/1.3 var(--display); padding: 20px 0 12px; background: transparent; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.table thead th { color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.table .num { text-align: right; } .table .right { text-align: right; }
.table p { margin: 4px 0 0; }
@media (max-width: 719px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table th, .table td { border: 0; padding: 4px 16px; text-align: left !important; }
  .table td[data-label]::before, .table th[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font: 500 0.82rem var(--body); display: block; }
}

/* Project and run pages */
.stepline, .stages { list-style: none; margin: 16px 0 0; padding: 0; }
.stepline { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.94rem; }
.stepline [aria-current='step'] { color: var(--gold); }
.stages { display: grid; gap: 12px; margin-block: 24px; }
.run-state { margin-bottom: 16px; }
.run-state .state { font-size: 1.1rem; }
.flash { background: var(--surface); border-left: 2px solid var(--pass); padding: 12px 16px; margin-top: 24px; max-width: none; }
.flash-error { border-left-color: var(--ember); }
.dev-box { border: 1px dashed #334155; background: rgba(7, 10, 22, 0.72); padding: 12px 16px; font-size: 0.92rem; color: var(--muted); max-width: none; }
.empty { border: 1px dashed var(--line); padding: 28px; color: var(--muted); }
.empty p { margin: 0; }
.readback, .start { background: var(--raised); padding: 28px; margin-top: 24px; position: relative; border: 1px solid var(--line); }
.start { padding-top: 34px; }
/* Photonic cyan-and-ultraviolet laser hazard bar at the closing call. */
.hazard { position: absolute; inset: 0 0 auto 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--cyan) 0 12px, #050814 12px 24px, var(--violet) 24px 36px, #050814 36px 48px); }
.facts-list, .quote { margin: 0 0 20px; }
.facts-list > div, .quote > div { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts-list dt, .quote dt { color: var(--muted); }
.facts-list dd, .quote dd { margin: 0; text-align: right; }
.quote-total dt, .quote-total dd { color: var(--ink); font-weight: 600; }
.notice { color: var(--muted); font-size: 0.86rem; border-left: 2px solid var(--edge); padding-left: 16px; }
.mail { border-top: 1px solid var(--line); padding-block: 20px; }
.mail pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 0.88rem/1.5 var(--mono); color: var(--muted); margin: 0; }
.cf-turnstile { min-height: 65px; }

/* The workbook as it is in the file: white sheet, grey headings, blue verified columns.
   These are the document's own colours, shown as a picture of the document would show them. */
.wb { position: relative; background: #fff; color: #000; border: 1px solid var(--line); font: 13px/1.35 'Times New Roman', Times, serif; }
.wb-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wb-panel { display: none; }
.wb-radio:nth-of-type(1):checked ~ .wb-panels > .wb-panel:nth-child(1), .wb-radio:nth-of-type(2):checked ~ .wb-panels > .wb-panel:nth-child(2),
.wb-radio:nth-of-type(3):checked ~ .wb-panels > .wb-panel:nth-child(3), .wb-radio:nth-of-type(4):checked ~ .wb-panels > .wb-panel:nth-child(4) { display: block; }
.wb-scroll { overflow-x: auto; padding: 14px; }
.wb-scroll:focus-visible { outline-offset: -3px; outline-color: #000; }
.wb table { border-collapse: collapse; width: 100%; }
.wb-grid { min-width: 1080px; font-size: 12px; }
.wb-grid th, .wb-grid td { padding: 2px 4px; }
.wb-form { max-width: 900px; }
.wb th, .wb td { border: 1px solid #000; padding: 3px 6px; text-align: left; vertical-align: middle; font-weight: 400; white-space: pre-line; }
.wb thead th, .wb .wb-head, .wb .wb-title { background: #dadada; font-weight: 700; text-align: center; }
.wb .wb-ver { background: #d9e2f3; }
.wb td.c { text-align: center; }
.wb .wb-blank { border: 0; background: #fff; }
.wb-form tbody th[scope='row'] { text-align: right; font-weight: 700; width: 32%; }
.wb-grid tbody th[scope='row'] { font-weight: 400; }
.wb-total th[scope='row'] { text-align: right; font-weight: 700; }
.wb-grid th:nth-child(8), .wb-grid td:nth-child(8) { min-width: 130px; }
.wb-grid td:last-child { min-width: 170px; }
.wb-tabs { display: flex; overflow-x: auto; background: #e9e9e9; border-top: 1px solid #9a9a9a; font: 13px/1.2 system-ui, sans-serif; }
.wb-tabs label { padding: 11px 18px; min-height: 40px; color: #333; font-size: 13px; font-weight: 400; border-right: 1px solid #c4c4c4; cursor: pointer; white-space: nowrap; }
.wb-radio:nth-of-type(1):checked ~ .wb-tabs label:nth-child(1), .wb-radio:nth-of-type(2):checked ~ .wb-tabs label:nth-child(2),
.wb-radio:nth-of-type(3):checked ~ .wb-tabs label:nth-child(3), .wb-radio:nth-of-type(4):checked ~ .wb-tabs label:nth-child(4) { background: #fff; color: #000; font-weight: 600; box-shadow: inset 0 2px 0 #000; }
.wb-radio:focus-visible ~ .wb-tabs { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Cost calculator and the billing toggle */
.calc { background: var(--surface); border: 1px solid var(--edge); padding: 28px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.calc-row { display: flex; align-items: center; gap: 20px; margin-block: 8px 20px; }
.calc input[type='range'] { flex: 1; accent-color: var(--gold); min-height: 44px; }
.calc output { font: 600 2.65rem/1 var(--display); min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold); }
.calc-out { margin: 0 0 16px; }
.calc-out > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--muted); } .calc-out dd { margin: 0; font-weight: 500; }
.toggle { display: inline-flex; border: 1px solid #334155; background: rgba(7, 10, 22, 0.8); border-radius: 4px; overflow: hidden; }
.toggle button { background: transparent; color: var(--ink); border: 0; min-height: 44px; padding: 8px 18px; font: 500 0.92rem var(--body); cursor: pointer; }
.toggle button[aria-pressed='true'] { background: var(--gold); color: #020617; font-weight: 600; }
.toggle button:focus-visible { outline-offset: -4px; outline-color: var(--ink); }

/* Questions */
.faq { border-bottom: 1px solid var(--line); max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.18rem/1.3 var(--display); transition: color .15s; }
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; color: var(--gold); font: 400 1.6rem/1 var(--mono); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---- Site chrome ---------------------------------------------------------------- */

.mast { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(2, 4, 12, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-height: 44px; flex: none; }
.brand-mark { display: block; border-radius: 6px; filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.25)); }
.wordmark { font-family: var(--wordmark); font-weight: 700; font-size: 1.16rem; letter-spacing: 0.1em; text-transform: uppercase; }
.brand-badge { border: 1px solid rgba(168, 85, 247, 0.45); background: rgba(88, 28, 135, 0.2); color: #d8b4fe; font: 600 0.6rem/1 var(--mono); letter-spacing: 0.13em; padding: 4px 7px; border-radius: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; padding-block: 10px; font-size: 0.92rem; white-space: nowrap; }
.nav a.nav-desktop { color: var(--gold); font-weight: 600; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--gold); }
.mast-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(13, 19, 38, 0.72); border-radius: 4px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.menu[open] summary { border-color: var(--gold); }
.menu-links { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; display: grid; background: var(--raised); border: 1px solid var(--edge); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85); padding: 8px 0; }
.menu-links a { color: var(--ink); text-decoration: none; padding: 12px 20px; font-size: 0.98rem; }
.menu-links a.nav-desktop { color: var(--gold); font-weight: 600; }
.menu-links a:hover, .menu-links a[aria-current='page'] { color: var(--gold); background: rgba(56, 189, 248, 0.08); }
@media (max-width: 1180px) { .mast .brand-badge { display: none; } }
@media (max-width: 980px) { .nav { display: none; } .menu { display: block; } }

.foot { border-top: 1px solid var(--line); padding-block: 60px 48px; background: linear-gradient(180deg, rgba(4, 6, 15, 0.55) 0%, rgba(2, 4, 10, 0.88) 100%); }
.foot-grid { display: grid; gap: 36px 48px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 40px; }
.foot-brand { display: flex; align-items: flex-start; gap: 14px; }
.foot-brand p { margin: 0; line-height: 1.35; }
.foot-brand .wordmark { font-size: 1.05rem; }
.foot-sub { color: var(--muted); font-size: 0.84rem; margin-top: 4px !important; }
.foot-col { display: grid; gap: 2px; align-content: start; }
.foot-h { font: 600 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.foot-col a { color: var(--ink); font-size: 0.92rem; padding-block: 7px; text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.foot .linklike { color: var(--ink); font-size: 0.92rem; text-decoration: none; padding-block: 7px; min-height: 0; text-align: left; }
.foot .linklike:hover { color: var(--gold); }

/* Harness Lab architectural credit showcase at the bottom of the page */
.harness-credit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  padding: 26px 32px;
  background: linear-gradient(135deg, rgba(8, 12, 26, 0.90) 0%, rgba(18, 11, 34, 0.88) 100%);
  border: 1px solid rgba(168, 85, 247, 0.36);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.harness-credit::before, .harness-credit::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cyan);
  pointer-events: none;
}
.harness-credit::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.harness-credit::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.harness-seal {
  flex: none;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(168, 85, 247, 0.14) 48%, transparent 72%);
  border-radius: 50%;
}
.harness-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.9));
}
.harness-copy { display: grid; gap: 6px; min-width: 0; }
.harness-kicker { margin: 0; font: 600 0.68rem/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #c084fc; }
.harness-title { margin: 0; font: 600 clamp(1.25rem, 2.2vw, 1.65rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.harness-title span { color: var(--gold); }
.harness-note { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; max-width: 68ch; }

.foot-base { padding-top: 28px; background: linear-gradient(var(--line), var(--line)) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px; }
.foot-legal { color: var(--faint); font-size: 0.82rem; margin: 0; }

/* ---- Public pages --------------------------------------------------------------- */

/* Reveal on scroll. Without the script every element is simply visible. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .cards [data-reveal]:nth-child(2), .js .facts-row [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .cards [data-reveal]:nth-child(3), .js .facts-row [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .facts-row [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 44px; padding-block: 48px 64px; }
.hero-copy { min-width: 0; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; } .hero-copy > :nth-child(5) { animation-delay: .3s; }
.hero-copy > :nth-child(6) { animation-delay: .36s; }
.hero-desktop-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); max-width: 54ch; }
.hero-desktop-note a { font-weight: 600; }
.hero-art { min-width: 0; animation: rise 1.1s var(--ease) .16s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.15rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.032em; margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(95deg, var(--cyan) 0%, #60a5fa 52%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lede { font-size: 1.1rem; max-width: 54ch; }
.hero .actions { margin-block: 28px 22px; }
.hero-terms { color: var(--muted); font-size: 0.9rem; line-height: 1.5; max-width: 54ch; margin: 0; padding-left: 16px; border-left: 2px solid var(--cyan); }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 52px; align-items: center; padding-block: 60px 76px; } }

/* Hero 3D TitleDesk Emblem Stage */
.hero-stage {
  position: relative;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(34, 211, 238, 0.14) 0%, rgba(168, 85, 247, 0.11) 44%, rgba(5, 8, 19, 0.88) 78%);
  border: 1px solid var(--edge);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(56, 189, 248, 0.22);
}
.hero-stage::before, .hero-stage::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cyan);
  pointer-events: none;
  z-index: 2;
}
.hero-stage::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hero-stage::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hero-stage-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 16, 0.84);
  font: 600 0.63rem/1 var(--mono);
  letter-spacing: 0.12em;
}
.hud-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pass); box-shadow: 0 0 10px var(--pass); animation: pulse 2s ease-in-out infinite; }
.hud-coord { color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-stage-visual { position: relative; padding: 10px 12px 4px; display: grid; place-items: center; }
.hero-logo-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.88)); }
.hero-stage-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(4, 7, 16, 0.86); }
.hero-stage-metrics > div { padding: 10px 14px; display: grid; gap: 4px; min-width: 0; }
.hero-stage-metrics > div + div { border-left: 1px solid var(--line); }
.hero-stage-metrics span { font: 500 0.58rem/1.1 var(--mono); letter-spacing: 0.13em; color: var(--faint); }
.hero-stage-metrics strong { font: 600 0.74rem/1.2 var(--mono); color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .hud-coord { display: none; } }
@media (max-width: 480px) {
  .hero-stage-metrics { grid-template-columns: 1fr; }
  .hero-stage-metrics > div { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; }
  .hero-stage-metrics > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Chain-of-title showcase band & interactive Sankey plate */
.chain-band { padding-block: 84px; }
.chain-split { display: grid; gap: 40px; align-items: center; }
.chain-split > * { min-width: 0; }
@media (min-width: 1040px) {
  .chain-split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; }
  .chain-split .band-head { margin-bottom: 0; }
}

.plate { position: relative; margin: 0; background: rgba(5, 8, 19, 0.90); border: 1px solid var(--edge); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7); }
.plate::before, .plate::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--gold); pointer-events: none; }
.plate::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.plate::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.plate-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(4, 7, 16, 0.8); }
.plate-id { font: 500 0.64rem var(--mono); letter-spacing: 0.13em; color: var(--muted); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.plate-id i { font-style: normal; color: var(--gold); margin-inline: 0.3em; }
.plate .tag { font: 0.64rem var(--mono); color: var(--muted); border-color: #334155; }
.plate-body { padding: 6px 10px 8px; }
.plate figcaption, .tool figcaption { padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.74rem; line-height: 1.45; }
.flow { display: block; width: 100%; height: auto; }
.flow-tall { display: none; max-width: 400px; margin-inline: auto; }
.flow-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.flow-lane { stroke: var(--cyan); stroke-width: 1.1; stroke-opacity: .82; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.flow-a { fill: rgba(34, 211, 238, 0.17); }
.flow-b { fill: rgba(56, 189, 248, 0.24); }
.flow-c { fill: rgba(168, 85, 247, 0.19); stroke: var(--violet); }
.flow-open { fill: rgba(251, 113, 133, 0.16); stroke: var(--ember); stroke-opacity: 1; stroke-dasharray: 4 3; }
.flow-grid { fill: none; stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.flow-lead { fill: none; stroke: #475569; stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.flow-node { fill: var(--bg); stroke: var(--cyan); stroke-width: 1.6; }
.flow-mark { fill: none; stroke: var(--violet); stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.flow-diamond { fill: var(--bg); stroke: var(--ember); stroke-width: 1.6; }
.flow-rule { fill: none; stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.flow-year { font: 600 18px var(--display); fill: var(--cyan); }
.flow-kind { font: 500 10px var(--mono); letter-spacing: 0.1em; fill: var(--ink); }
.flow-ref { font: 400 9.6px var(--mono); letter-spacing: 0.03em; fill: var(--muted); }
.flow-one { font: 700 58px var(--display); fill: var(--cyan); }
.flow-half { font: 600 28px var(--display); fill: var(--ink); }
.flow-tenth { font: 500 10px var(--mono); fill: var(--ink); }
.flow-head { font: 600 8.8px var(--mono); letter-spacing: 0.12em; fill: var(--faint); }
.flow-owner { font: 500 12.8px var(--body); fill: var(--ink); }
.flow-ember { fill: var(--ember); }
.flow-nma { font: 500 12.2px var(--mono); fill: var(--gold); font-variant-numeric: tabular-nums; }
.flow-total { font-size: 13.8px; fill: var(--ink); }
.flow-note { font: 400 9.2px var(--mono); fill: var(--ember); }
.flow-tall .flow-year { font-size: 16px; } .flow-tall .flow-one { font-size: 48px; } .flow-tall .flow-half { font-size: 22px; }
.flow-armed [data-at] { opacity: 0; transition: opacity .7s var(--ease); }
.flow-armed [data-at].on { opacity: 1; }

/* The run strip: a timer, and one line that is replaced as the work moves on */
.runstrip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 14px; padding: 12px 16px 13px; border-top: 1px solid var(--line); background: rgba(4, 7, 16, 0.92); font-family: var(--mono); }
.rs-state { display: inline-flex; align-items: center; gap: 8px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.rs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.rs-timer { justify-self: end; color: var(--gold); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.rs-line { grid-column: 1 / -1; display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 0.76rem; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.rs-line b { color: var(--cyan); font-weight: 600; margin-right: 10px; }
.rs-line.leaving { opacity: 0; transform: translateY(-7px); }
.rs-line.entering { opacity: 0; transform: translateY(7px); transition: none; }

/* Early access note */
.early { background: rgba(11, 15, 32, 0.82); border-bottom: 1px solid var(--line); }
.early-row { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.early .tag { font: 600 0.68rem var(--mono); letter-spacing: 0.11em; text-transform: uppercase; }
.early p { margin: 0; max-width: none; color: var(--muted); font-size: 0.9rem; }

/* At a glance */
.facts { border-bottom: 1px solid var(--line); background: rgba(5, 8, 18, 0.68); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0; }
.facts-row > div { padding: 38px 28px 38px 0; }
.facts-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.facts-row .fact-big { font-family: var(--display); font-size: clamp(1.55rem, 2.25vw, 2rem); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 8px; }
.facts-row > div:first-child .fact-big { color: var(--gold); }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts-row > div { padding: 28px 20px 28px 0; } .facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; } .facts-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts-row { grid-template-columns: 1fr; } .facts-row > div, .facts-row > div + div { padding: 24px 0; border-left: 0; } .facts-row > div + div { border-top: 1px solid var(--line); } }

/* Steps, on a rail that fills as the page is read */
.steps { --rail: 1; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before, .steps::after { content: ''; position: absolute; left: 39px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--cyan), var(--violet)); transform: scaleY(var(--rail)); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 370px); gap: 24px 40px; align-items: center; padding-block: 42px; }
.step + .step { border-top: 1px solid var(--line-soft); }
.step:first-child::before, .step:last-child::before { content: ''; position: absolute; left: 30px; width: 20px; background: var(--bg); z-index: 1; }
.step:first-child::before { top: 0; bottom: 50%; } .step:last-child::before { top: 50%; bottom: 0; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--cyan); background: radial-gradient(circle, #0d162e 0%, #03050c 100%); box-shadow: 0 0 24px rgba(34, 211, 238, 0.16); font: 600 2rem/1 var(--mono); color: var(--cyan); }
.step-copy h3 { font-size: 1.65rem; font-weight: 600; margin-bottom: 12px; }
.step-copy p { color: var(--muted); margin: 0; max-width: 58ch; }
.step-art { justify-self: end; width: 100%; max-width: 370px; }
@media (max-width: 900px) {
  .steps::before, .steps::after { left: 27px; }
  .step:first-child::before, .step:last-child::before { left: 18px; }
  .step:first-child::before { bottom: auto; height: 40px; } .step:last-child::before { top: 80px; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding-block: 32px; }
  .step-n { width: 56px; height: 56px; font-size: 1.35rem; }
  .step-art { grid-column: 2; justify-self: start; }
}

/* 3D Step Artwork Plates */
.art-card {
  background: radial-gradient(ellipse at 50% 48%, rgba(34, 211, 238, 0.09) 0%, rgba(168, 85, 247, 0.07) 48%, rgba(6, 9, 20, 0.90) 82%);
  border: 1px solid var(--edge);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.68);
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease);
}
.art-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.art-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: rgba(4, 7, 16, 0.84); }
.art-code { font: 600 0.6rem/1 var(--mono); letter-spacing: 0.12em; color: var(--cyan); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); flex: none; }
.art-media { padding: 8px 10px 4px; display: grid; place-items: center; }
.art-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.art-card-foot { padding: 7px 12px; border-top: 1px solid var(--line-soft); background: rgba(4, 7, 16, 0.76); font: 500 0.62rem/1.2 var(--mono); letter-spacing: 0.1em; color: var(--muted); text-align: right; }

/* The public check */
.checker { display: grid; background: var(--surface); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.checker-in { display: grid; gap: 24px; padding: 28px; min-width: 0; }
.check-result { padding: 28px; border-top: 1px solid var(--line); background: rgba(4, 7, 16, 0.86); min-height: 96px; min-width: 0; }
.check-result h3 { margin-bottom: 14px; }
.check-h { font: 600 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 12px; }
.check-list { list-style: none; margin: 0 0 20px; padding: 0; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line-soft); color: var(--ink); font-size: 0.94rem; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 12px; border: 1.5px solid var(--cyan); border-radius: 50%; }
.checker .tract-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.checker .tract-row .field.grow { grid-column: auto; }
@media (max-width: 560px) { .checker .tract-row { grid-template-columns: 1fr 1fr; } .checker .tract-row .field.grow { grid-column: 1 / -1; } }
@media (min-width: 980px) { .checker { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } .check-result { border-top: 0; border-left: 1px solid var(--line); } .check-out { position: sticky; top: 104px; } }

/* During the run: the tool in miniature */
.split-wide { display: grid; gap: 48px; align-items: center; }
.split-wide > * { min-width: 0; }
.split-wide .band-head { margin-bottom: 0; }
@media (min-width: 1040px) { .split-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.tool { margin: 0; border: 1px solid var(--edge); background: rgba(5, 8, 19, 0.92); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72); }
.tool-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(4, 7, 16, 0.88); }
.tool-brand { font: 700 0.78rem var(--wordmark); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.tool-file { flex: 1; min-width: 0; font: 0.68rem var(--mono); color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tool-chip { flex: none; border: 1px solid rgba(56, 189, 248, 0.45); background: rgba(14, 42, 74, 0.35); border-radius: 3px; padding: 2px 8px; font: 600 0.6rem var(--mono); color: var(--gold); }
.tool-subhud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 14px; border-bottom: 1px solid var(--line); background: rgba(13, 19, 38, 0.72); font: 500 0.58rem/1.2 var(--mono); letter-spacing: 0.1em; color: var(--cyan); }
.tool-panes { display: grid; grid-template-columns: 1.1fr 1fr .9fr; }
.tool-pane { min-width: 0; padding: 14px; font-size: 0.72rem; line-height: 1.45; }
.tool-pane + .tool-pane { border-left: 1px solid var(--line); }
.tool-h { font: 600 0.58rem var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.tool-pane .tool-h:not(:first-child) { margin-top: 16px; }
.tool-text { margin: 0 0 10px; padding: 8px 10px; background: var(--raised); border: 1px solid var(--line); font: 0.64rem/1.55 var(--mono); color: var(--ink); }
.tool-rows { margin: 0; }
.tool-rows div { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 0.64rem; }
.tool-rows dt { color: var(--muted); } .tool-rows dd { margin: 0; text-align: right; }
.tool-rows .tool-gold { color: var(--gold); text-align: left; }
.tool-rows-total dt, .tool-rows-total dd { color: var(--ink); }
.tool-files, .tool-checks { list-style: none; margin: 0; padding: 0; }
.tool-files li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line-soft); font: 0.62rem var(--mono); color: var(--muted); }
.tool-files span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tool-files b, .tool-checks li::before { color: var(--pass); font-weight: 600; }
.tool-checks li { position: relative; padding: 4px 0 4px 18px; color: var(--ink); }
.tool-checks li::before { content: '\2713'; position: absolute; left: 0; }
.tool-say { margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--line); border-left: 2px solid var(--cyan); background: rgba(13, 19, 38, 0.55); color: var(--ink); max-width: none; }
.tool-say-you { border-left: 1px solid var(--line); border-right: 2px solid var(--violet); margin-left: 28%; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .tool-panes { grid-template-columns: 1fr; } .tool-pane + .tool-pane { border-left: 0; border-top: 1px solid var(--line); } .tool-helper { display: none; } }

/* The example: an assignment and the workbook that comes back */
.example-in { display: grid; gap: 24px 56px; margin-bottom: 48px; align-items: start; }
.example-in > * { min-width: 0; }
@media (min-width: 900px) { .example-in { grid-template-columns: 1.15fr 0.85fr; } }
.assignment { margin: 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font: 0.88rem/1.6 var(--mono); color: var(--ink); }
.ticks.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 48px; margin-top: 32px; }
.sheet-frame { border: 1px solid var(--edge); margin-bottom: 12px; box-shadow: 0 20px 54px rgba(0, 0, 0, 0.65); }
.sheet-frame .wb { border: 0; }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(6, 9, 20, 0.94); border-bottom: 1px solid var(--line); }
.sheet-name { font: 0.78rem var(--mono); color: var(--cyan); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sheet-bar .tag { font: 0.68rem var(--mono); color: var(--muted); border-color: #334155; }

/* Two products */
.twin { display: grid; gap: 32px; align-items: center; }
.twin > * { min-width: 0; }
.twin h2 { margin-bottom: 16px; }
.twin .lede { margin: 0; }
.twin-compare { margin: 18px 0 0; font-size: 0.96rem; }
.twin-cta .bigbutton { margin-block: 0; max-width: none; }
@media (min-width: 900px) { .twin { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.twin-link { position: relative; display: grid; gap: 10px; padding: 32px; border: 1px solid var(--gold); color: var(--ink); text-decoration: none; transition: background-color .25s; }
.twin-link:hover { background: rgba(56, 189, 248, 0.08); }
.twin-kicker { font: 600 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.twin-name { font: 600 1.75rem/1.15 var(--display); }
.twin-go { color: var(--gold); font-weight: 600; }
.twin-go span { display: inline-block; transition: transform .25s var(--ease); }
.twin-link:hover .twin-go span { transform: translateX(6px); }

/* Pricing: when you are charged */
.chargeflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.chargeflow li { position: relative; padding: 24px 24px 22px; }
.chargeflow li + li { border-left: 1px solid var(--line); }
.chargeflow li + li::before { content: ''; position: absolute; left: -7px; top: 34px; width: 12px; height: 12px; background: var(--surface-solid); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.chargeflow h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: 8px; }
.chargeflow p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cf-n { display: block; font: 600 0.7rem var(--mono); letter-spacing: 0.14em; color: var(--faint); margin-bottom: 14px; }
.cf-pay { box-shadow: inset 0 2px 0 var(--gold); background: rgba(14, 30, 62, 0.42); }
.cf-pay h3, .cf-pay .cf-n { color: var(--gold); }
.chargeflow .cf-branch { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink); font-size: 0.86rem; }
.cf-branch span { color: var(--gold); margin-right: 4px; }
@media (max-width: 900px) { .chargeflow { grid-template-columns: 1fr; } .chargeflow li + li { border-left: 0; border-top: 1px solid var(--line); } .chargeflow li + li::before { left: 30px; top: -7px; transform: rotate(135deg); } }
.pricing-head .band-head { margin-bottom: 40px; }

/* The desktop product */
.desk-hero { display: grid; gap: 48px; align-items: center; }
.desk-hero > * { min-width: 0; }
@media (min-width: 1000px) { .desk-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-block: 72px 80px; } }
.desk-art { min-width: 0; }
.desk-stage {
  margin: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(34, 211, 238, 0.11) 0%, rgba(168, 85, 247, 0.09) 45%, rgba(6, 9, 20, 0.90) 80%);
  border: 1px solid var(--edge);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}
.desk-stage-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: rgba(4, 7, 16, 0.86); }
.desk-stage-media { padding: 12px 14px 6px; display: grid; place-items: center; }
.desk-stage-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.desk-stage-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(4, 7, 16, 0.86); font: 600 0.6rem/1.2 var(--mono); letter-spacing: 0.1em; color: var(--muted); text-align: center; }
.desk-stage-specs span { padding: 9px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-stage-specs span + span { border-left: 1px solid var(--line); }
@media (max-width: 560px) {
  .desk-stage-specs { grid-template-columns: 1fr 1fr; }
  .desk-stage-specs span:nth-child(3) { border-left: 0; }
  .desk-stage-specs span:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.bigbutton {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'kicker arrow' 'label arrow';
  align-items: center;
  gap: 6px 28px;
  max-width: 560px;
  margin-block: 32px 16px;
  padding: 26px 30px;
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 58%, #818cf8 100%);
  color: #020617;
  border-radius: 5px;
  box-shadow: 0 14px 40px rgba(34, 211, 238, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.bigbutton:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(56, 189, 248, 0.38); filter: brightness(1.06); }
.bigbutton:focus-visible { outline-color: var(--ink); outline-offset: 4px; }
.bigbutton-kicker { grid-area: kicker; font: 600 0.7rem var(--mono); letter-spacing: 0.13em; text-transform: uppercase; opacity: .78; }
.bigbutton-label { grid-area: label; font: 700 clamp(1.45rem, 2.9vw, 2.08rem)/1.08 var(--display); letter-spacing: -0.02em; }
.bigbutton-arrow { grid-area: arrow; display: grid; transition: transform .3s var(--ease); }
.bigbutton-arrow svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; }
.bigbutton:hover .bigbutton-arrow { transform: translateX(8px); }
.bigbutton-wide { max-width: 720px; margin-block: 36px 20px; }

.compare-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare thead th { font: 600 1.32rem/1.2 var(--display); border-bottom-color: #334155; }
.compare thead th:nth-child(2) { box-shadow: inset 0 2px 0 var(--gold); }
.compare-kicker { display: block; font: 600 0.68rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.compare tbody th { width: 18%; font: 600 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 22px; }
.compare tbody td { color: var(--muted); width: 41%; }
.compare tbody td:nth-child(2) { color: var(--ink); background: var(--surface); }
.compare thead th:nth-child(2), .compare tfoot td:nth-child(2) { background: var(--surface); }
.compare tfoot td { border-bottom: 0; }
.desk-closing h2 { max-width: none; }
@media (max-width: 760px) {
  .compare { min-width: 0; }
  .compare, .compare tbody, .compare tfoot, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr { padding-block: 20px 6px; border-top: 1px solid var(--line); }
  .compare tbody th { width: auto; padding: 0 0 12px; border: 0; color: var(--gold); }
  .compare tbody td, .compare tbody td:nth-child(2) { width: auto; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); }
  .compare tbody td::before { content: attr(data-label); display: block; font: 600 0.66rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
  .compare tfoot tr { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
  .compare tfoot td { padding: 0; background: none; }
  .compare tfoot td:empty { display: none; }
  .compare tfoot td:nth-child(2) { background: none; }
}

/* Closing call */
.closing { position: relative; border-top: 1px solid var(--line); padding-block: 104px; background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 65%); }
.closing h2 { max-width: 22ch; }

@media (max-width: 700px) {
  .flow-wide { display: none; }
  .flow-tall { display: block; }
  .flow-table { position: static; width: 100%; height: auto; overflow: visible; clip-path: none; border-collapse: collapse; margin-block: 8px 10px; }
  .flow-table th, .flow-table td { padding: 8px 6px; border-top: 1px solid var(--line-soft); text-align: right; font: 0.74rem var(--mono); font-weight: 400; }
  .flow-table thead th { color: var(--faint); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .flow-table tbody th { text-align: left; font-family: var(--body); font-size: 0.8rem; }
  .flow-table thead th:first-child { text-align: left; }
  .flow-table td:last-child { color: var(--gold); }
  .flow-table small { display: block; color: var(--ember); font: 0.64rem var(--mono); margin-top: 2px; }
  .flow-table-total th, .flow-table-total td { border-top-color: var(--muted); color: var(--ink); font-weight: 500; }
  .rs-line { white-space: normal; min-height: 3.6em; }
  .plate-id { font-size: 0.56rem; letter-spacing: 0.08em; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 76px; }
  .band { padding-block: 64px; } .closing { padding-block: 72px; }
  .mast-row { gap: 8px; padding-block: 10px; }
  .hero-grid { padding-block: 36px 48px; gap: 36px; }
  .button.large { min-height: 52px; padding: 12px 22px; font-size: 0.98rem; }
  .ledger table { table-layout: fixed; }
  .ledger th, .ledger td { padding: 9px 8px; font-size: 0.82rem; overflow-wrap: anywhere; }
  .ledger td.cite, .ledger td.num { white-space: normal; font-size: 0.8rem; }
  .ledger figcaption { padding-inline: 8px; } .ledger-checks { padding-inline: 8px; }
  .card, .calc, .readback, .start, .checker-in, .check-result, .twin-link { padding: 20px; }
  .start { padding-top: 28px; }
  .early-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bigbutton { padding: 22px 20px; gap: 6px 16px; }
  .bigbutton-arrow svg { width: 36px; height: 36px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .harness-credit { flex-direction: column; text-align: center; padding: 22px 18px; gap: 16px; }
  .harness-seal { width: 96px; height: 96px; }
}
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .mast .wordmark { font-size: 0.94rem; letter-spacing: 0.06em; }
  .mast-cta { gap: 6px; }
  .mast-cta .button.small { min-height: 40px; padding: 6px 11px; font-size: 0.82rem; white-space: nowrap; }
  .menu summary { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .bigbutton { padding: 18px 16px; gap: 4px 12px; }
  .bigbutton-kicker { font-size: 0.62rem; letter-spacing: 0.1em; }
  .bigbutton-label { font-size: clamp(1.18rem, 5.4vw, 1.52rem); }
  .bigbutton-arrow svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .brand { gap: 6px; }
  .brand img { width: 22px; height: 22px; }
  .mast .wordmark { font-size: 0.82rem; letter-spacing: 0.04em; }
  .mast-cta .button.small { padding: 6px 9px; font-size: 0.76rem; }
  .menu summary { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-art, .rs-dot, .hud-dot { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rs-line, .flow-armed [data-at] { transition: none; }
}

/* Terms of Service and Privacy Policy: long-form reading. */
.legal{max-width:760px}
.legal h1{margin-bottom:6px}
.legal-date{color:var(--muted,#adc0bd);font-size:.9rem;margin:0 0 22px}
.legal .lede{font-size:1.05rem;line-height:1.7}
.legal-toc{border:1px solid var(--line,#304445);border-radius:6px;padding:14px 18px;margin:26px 0 34px;background:rgba(16,31,33,.55)}
.legal-toc ol{columns:2;column-gap:28px;margin:0;padding-left:20px;font-size:.88rem;line-height:1.9}
.legal-toc a{text-decoration:none}
.legal-section{scroll-margin-top:96px;padding-top:6px}
.legal-section h2{font-size:1.25rem;margin:30px 0 10px}
.legal-section p,.legal-section li{line-height:1.7;max-width:70ch}
.legal-section ul{padding-left:22px}
.foot-legal a{color:inherit}
@media(max-width:640px){.legal-toc ol{columns:1}}

/* Seats on a plan. */
.team{margin-top:28px;padding:18px 20px;border:1px solid var(--line,#304445);border-radius:6px;background:rgba(16,31,33,.55)}
.team h2{margin-top:0}
.team-list li{display:flex;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line-soft,#233638)}
.team-list li span:first-child{flex:1;font-family:var(--mono,monospace);font-size:.9rem}
.team-add{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:14px}
.team-add label{flex-basis:100%}
.team-add input{flex:1;min-width:220px}
