/* Artificial Landman (artificiallandman.io) — Permian Basalt, Stepped Gunmetal Slate,
   Burnished 24K Assay Brass & Surveyor Sapphire architectural instrument system.
   Self-hosted WOFF2 fonts only; zero external requests. */

@font-face { font-family: 'Cinzel'; src: url(fonts/cinzel-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@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: 'Spline Sans'; src: url(fonts/spline-sans.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spline Sans Mono'; src: url(fonts/spline-sans-mono.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: #09080c;
  --surface: rgba(18, 16, 24, 0.92);
  --surface-solid: #121018;
  --raised: #1a1724;
  --line: #2e293c;
  --line-soft: #201c2b;
  --edge: #624f31;
  --ink: #f6f2ea;
  --muted: #b4aebe;
  --faint: #847e92;
  --gold: #ebb352;
  --gold-bright: #fae09e;
  --gold-deep: #9a6519;
  --cyan: #66beff;
  --violet: #d99152;
  --ember: #e4835b;
  --pass: #6ee0a0;
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --wordmark: 'Cinzel', 'Space Grotesk', Georgia, serif;
  --body: 'Spline Sans', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'Spline Sans 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: var(--bg); }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 0 0, rgba(235, 179, 82, 0.14) 1.1px, transparent 1.6px),
    linear-gradient(to right, rgba(235, 179, 82, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(235, 179, 82, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.028em; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: 2.1rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; font-weight: 600; }
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; color: var(--gold-bright); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: #120e07; }
.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: #120e07; padding: 12px 16px; border-radius: 3px; font-weight: 600; z-index: 40; }
.skip:focus { top: 16px; outline-color: var(--ink); }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 700px; }
.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.52; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 16px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--cyan)); flex: none; }
.eyebrow a { text-decoration: none; }
.eyebrow a::before { content: '\2190\00a0'; }
.lede { font-size: 1.1rem; line-height: 1.62; color: var(--muted); max-width: 62ch; }
.preview-note { margin: 0; max-width: none; padding: 7px var(--gutter); text-align: center; font-size: 0.78rem; font-family: var(--mono); color: var(--muted); background: #110e17; border-bottom: 1px solid var(--line); letter-spacing: 0.02em; }

/* ---- Sculptural 3D Raised Typography ------------------------------------------ */

.wordmark {
  font-family: var(--wordmark);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: #f8f1e2;
  text-shadow:
    0 -1px 0 rgba(255, 248, 226, 0.52),
    1px 1px 0 #66512e,
    2px 2px 0 #312515,
    3px 5px 9px rgba(0, 0, 0, 0.88);
}

.raised-word {
  display: inline-block;
  position: relative;
  max-width: 100%;
  padding: 0 0.12em 0.1em 0;
  isolation: isolate;
}
.raised-word[data-depth]::before,
.raised-word .type-depth {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: inherit;
  color: #2b2638;
  text-shadow:
    0.010em 0.011em 0 #8d86a1,
    0.020em 0.022em 0 #6b647e,
    0.030em 0.033em 0 #524c64,
    0.040em 0.044em 0 #3e394e,
    0.050em 0.055em 0 #2d293b,
    0.060em 0.066em 0 #1c1927,
    0.09em 0.12em 0.11em rgba(0, 0, 0, 0.76),
    0.14em 0.19em 0.24em rgba(0, 0, 0, 0.84);
}
.raised-word[data-depth]::before { content: attr(data-depth); }
.raised-word .type-face {
  position: relative;
  z-index: 1;
  color: #f7f3eb;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 40%, #e4dfec 76%, #beb7cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.4px rgba(255, 252, 244, 0.28);
}
.raised-word.brass[data-depth]::before,
.raised-word.brass .type-depth,
.raised-word.copper[data-depth]::before,
.raised-word.copper .type-depth {
  color: #5e3e10;
  text-shadow:
    0.010em 0.011em 0 #d9a44b,
    0.020em 0.022em 0 #b47f2a,
    0.030em 0.033em 0 #94641b,
    0.040em 0.044em 0 #784f13,
    0.050em 0.055em 0 #5f3d0e,
    0.060em 0.066em 0 #3f2707,
    0.09em 0.12em 0.11em rgba(0, 0, 0, 0.8),
    0.14em 0.19em 0.24em rgba(0, 0, 0, 0.88);
}
.raised-word.brass .type-face,
.raised-word.copper .type-face {
  background-image: linear-gradient(180deg, #fff9e3 0%, #fbe09c 36%, #eba93e 76%, #bf811f 100%);
  -webkit-text-stroke: 0.4px rgba(255, 240, 198, 0.34);
}
.display-raised {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.22em;
  row-gap: 0.04em;
  line-height: 1.04;
  letter-spacing: -0.042em;
  text-shadow: none !important;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--body);
  letter-spacing: 0.005em;
  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 15px; font-size: 0.88rem; }
.button.large { min-height: 52px; padding: 13px 25px; font-size: 0.98rem; }
.button.primary {
  background: linear-gradient(162deg, #f9dc97 0%, #ebb352 48%, #c78928 100%);
  border-color: #f3c873;
  color: #151008;
  box-shadow: inset 0 1px 0 #fff4d8, 0 3px 0 #6e4912, 0 10px 24px rgba(0, 0, 0, 0.48);
}
.button.primary:hover {
  background: linear-gradient(162deg, #fff0c7 0%, #f3c266 52%, #d89935 100%);
  color: #0d0a04;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 0 #6e4912, 0 14px 30px rgba(235, 179, 82, 0.25);
  transform: translateY(-1px);
}
.button.primary:focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 2px var(--bg); }
.button.secondary {
  background: rgba(24, 21, 34, 0.86);
  color: var(--ink);
  border-color: #463f58;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.button.secondary:hover { border-color: var(--gold); color: var(--gold-bright); background: #231e31; }
.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 #3f3950; background: rgba(20, 18, 28, 0.85); border-radius: 2px; padding: 2px 8px; font: 500 0.74rem/1.35 var(--mono); white-space: nowrap; color: var(--muted); }
.tag-gold { border-color: rgba(235, 179, 82, 0.55); background: rgba(154, 101, 25, 0.22); color: var(--gold-bright); }

/* Ledger: sample tables on public pages */
.ledger { margin: 0; background: var(--surface); border: 1px solid #3c354d; border-radius: 3px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42); }
.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.82rem; color: var(--muted); background: #191624; }
.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: 88px; }
.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(235, 179, 82, 0.34) 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: 48rem; 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.95rem, 3.5vw, 3.1rem); font-weight: 700; letter-spacing: -0.035em; }
.band.first h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.038em; }
main.narrow h1, .band.wrap.first > h1 { font-size: 2.15rem; }
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: 22px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
@media (min-width: 860px) { .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Unit economics benchmark strip & cards */
.econ-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #39334a;
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  background: linear-gradient(160deg, rgba(26, 22, 37, 0.96) 0%, rgba(14, 12, 20, 0.97) 100%);
  box-shadow: inset 0 1px 0 rgba(250, 224, 158, 0.16), 0 16px 38px rgba(0, 0, 0, 0.44);
  margin-bottom: 24px;
}
.econ-strip > div { padding: 24px 26px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.econ-strip > div + div { border-left: 1px solid var(--line); }
.econ-kicker { font: 600 0.68rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.econ-val { font: 700 clamp(1.38rem, 2.2vw, 1.9rem)/1.12 var(--display); letter-spacing: -0.028em; color: var(--gold-bright); font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.econ-note { margin: 0; font-size: 0.88rem; line-height: 1.54; color: var(--muted); }
.econ-card { border-top: 2px solid rgba(235, 179, 82, 0.52); }
.econ-card .card-top { flex-wrap: wrap; margin-bottom: 14px; }
.econ-card .card-top h3 { margin-bottom: 0; }
.econ-card > p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .econ-strip { grid-template-columns: 1fr; }
  .econ-strip > div { padding: 18px 20px; }
  .econ-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
.card {
  background: linear-gradient(160deg, rgba(25, 22, 35, 0.95) 0%, rgba(15, 13, 21, 0.96) 100%);
  border: 1px solid #39334a;
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--edge); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58); }
.card-marked { border-top: 2px solid var(--gold); box-shadow: inset 0 1px 0 rgba(249, 217, 146, 0.24), 0 18px 42px rgba(0, 0, 0, 0.46); }
.cards + .help { margin-top: 20px; }
.card h3 { font-size: 1.4rem; 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: 700 2.65rem/1 var(--display); letter-spacing: -0.035em; color: var(--gold-bright); }
.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(--gold), var(--cyan)); }
.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; }
label.check {
  display: block;
  position: relative;
  padding: 14px 16px 14px 46px;
  margin-bottom: 12px;
  background: #12101a;
  border: 1px solid #3a344c;
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
label.check:hover { border-color: var(--edge); }
label.check:has(input:checked) { border-color: var(--gold); background: rgba(235, 179, 82, 0.07); }
label.check input[type='radio'], label.check input[type='checkbox'] {
  position: absolute;
  left: 15px;
  top: 17px;
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  margin: 0;
}
.start fieldset { margin-bottom: 20px; }

/* 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: #0e0c14; color: var(--ink);
  border: 1px solid #3f3852; 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:not(.check) { display: block; padding: 10px 0; color: var(--ink); font-size: 1rem; font-weight: 400; }
.choices label:not(.check) 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; }

/* Account & document receipt tables */
.table, main.narrow table { width: 100%; border-collapse: collapse; background: var(--surface); margin-bottom: 16px; border: 1px solid var(--line); }
.table caption { text-align: left; font: 600 1.2rem/1.3 var(--display); padding: 20px 0 12px; background: transparent; }
.table th, .table td, main.narrow th, main.narrow td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; font-size: 0.88rem; }
.table thead th, main.narrow thead th { color: var(--muted); font-size: 0.78rem; font-weight: 600; font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; background: #161320; }
.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; }
  main.narrow table { display: block; overflow-x: auto; }
}

/* 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 #4a425d; background: rgba(18, 16, 26, 0.85); padding: 12px 16px; font-size: 0.9rem; color: var(--muted); max-width: none; border-radius: 3px; }
.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 #3c354f; border-radius: 4px; }
.start { padding-top: 30px; border-top: 2px solid var(--gold); }
.hazard { position: absolute; inset: 0 0 auto 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, #0d0b12 12px 24px, #9a6519 24px 36px, #0d0b12 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.84rem; 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 appears in the .xlsx file */
.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 billing toggle */
.calc { background: linear-gradient(155deg, #1b1826 0%, #12101a 100%); border: 1px solid var(--edge); border-radius: 3px; padding: 28px; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44); }
.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: 700 2.65rem/1 var(--display); min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-bright); }
.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: 600; color: var(--gold-bright); }
.toggle { display: inline-flex; border: 1px solid #453e58; background: #121019; border-radius: 3px; overflow: hidden; }
.toggle button { background: transparent; color: var(--ink); border: 0; min-height: 44px; padding: 8px 18px; font: 500 0.9rem var(--body); cursor: pointer; }
.toggle button[aria-pressed='true'] { background: linear-gradient(160deg, #f7d992, #e2a542); color: #161006; 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.14rem/1.32 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 #352f45; background: rgba(9, 8, 13, 0.93); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 15px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-height: 44px; min-width: 0; flex: 0 1 auto; }
.brand-mark { display: block; flex: none; filter: drop-shadow(0 2px 8px rgba(235, 179, 82, 0.22)); }
.brand-badge { border: 0; border-left: 1px solid var(--line); padding-left: 14px; margin-left: 4px; color: var(--gold); font: 500 0.58rem/1 var(--mono); letter-spacing: 0.14em; 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.88rem; white-space: nowrap; }
.nav a.nav-desktop { color: var(--gold); font-weight: 500; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--gold-bright); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--gold-bright); }
.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: 42px; height: 42px; border: 1px solid #413a54; background: #171421; border-radius: 3px; 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: 248px; display: grid; background: #191624; border: 1px solid var(--edge); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.88); padding: 8px 0; border-radius: 3px; }
.menu-links a { color: var(--ink); text-decoration: none; padding: 12px 20px; font-size: 0.95rem; }
.menu-links a.nav-desktop { color: var(--gold); font-weight: 600; }
.menu-links a:hover, .menu-links a[aria-current='page'] { color: var(--gold-bright); background: rgba(235, 179, 82, 0.1); }
@media (max-width: 1240px) { .mast .brand-badge { display: none; } }
@media (max-width: 1020px) { .nav { display: none; } .menu { display: block; } }

.foot { border-top: 1px solid #352f45; padding-block: 60px 48px; background: #07060a; }
.foot-grid { display: grid; gap: 36px 48px; grid-template-columns: repeat(auto-fit, minmax(165px, 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: 1rem; }
.foot-sub { color: var(--muted); font-size: 0.8rem; margin-top: 5px !important; }
.foot-col { display: grid; gap: 2px; align-content: start; }
.foot-h { font: 600 0.68rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.foot-col a { color: var(--ink); font-size: 0.88rem; padding-block: 7px; text-decoration: none; }
.foot-col a:hover { color: var(--gold-bright); }
.foot .linklike { color: var(--ink); font-size: 0.88rem; text-decoration: none; padding-block: 7px; min-height: 0; text-align: left; }
.foot .linklike:hover { color: var(--gold-bright); }

/* Harness Lab architectural credit showcase */
.harness-credit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  padding: 26px 32px;
  background: #0d0b12;
  border: 1px solid #4a3d2a;
}
.harness-seal { flex: none; width: 120px; height: 120px; display: grid; place-items: center; }
.harness-seal img { display: block; width: 100%; height: 100%; object-fit: contain; }
.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: #c89d6c; }
.harness-title { margin: 0; font: 700 clamp(1.25rem, 2.2vw, 1.65rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.harness-title span { color: var(--gold-bright); }
.harness-note { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; 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.78rem; margin: 0; }

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

.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 base */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 44px; padding-block: 48px 64px; }
.hero-copy { min-width: 0; }
.hero-art { min-width: 0; }
.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 .lede { font-size: 1.08rem; max-width: 54ch; }
.hero .actions { margin-block: 28px 22px; }
.hero-terms { color: var(--muted); font-size: 0.84rem; line-height: 1.62; max-width: 54ch; margin: 0; padding-left: 15px; border-left: 2px solid var(--gold); }

/* Chain-of-title showcase band & interactive Sankey plate */
.chain-band { padding-block: 96px; }
.chain-split { display: grid; gap: 44px; 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: 64px; }
  .chain-split .band-head { margin-bottom: 0; }
}

.plate {
  position: relative;
  margin: 0;
  background: #12101a;
  border: 1px solid #4c4030;
  border-radius: 3px;
  box-shadow: 0 12px 0 -8px #241f31, 0 24px 0 -18px #43392a, 0 32px 52px rgba(0, 0, 0, 0.62);
}
.plate-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #1a1726; }
.plate-id { font: 500 0.64rem var(--mono); letter-spacing: 0.11em; color: #dad3e4; 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: #463e58; }
.plate-body { padding: 8px 12px 10px; }
.plate figcaption, .tool figcaption { padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.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(--gold); stroke-width: 1.1; stroke-opacity: .84; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.flow-a { fill: rgba(235, 179, 82, 0.18); }
.flow-b { fill: rgba(235, 179, 82, 0.30); }
.flow-c { fill: rgba(102, 190, 255, 0.18); stroke: var(--cyan); }
.flow-open { fill: rgba(228, 131, 91, 0.18); 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: #5a536d; stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.flow-node { fill: var(--bg); stroke: var(--gold); stroke-width: 1.6; }
.flow-mark { fill: none; stroke: var(--cyan); 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(--gold-bright); }
.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(--gold-bright); }
.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-bright); font-variant-numeric: tabular-nums; }
.flow-total { font-size: 13.8px; fill: var(--cyan); }
.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 */
.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: #161321; 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 rgba(102, 190, 255, 0.65); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.rs-timer { justify-self: end; color: var(--gold-bright); 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: #14111d; border-bottom: 1px solid #352e46; }
.early-row { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.early .tag { font: 600 0.64rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.early p { margin: 0; max-width: none; color: var(--muted); font-size: 0.84rem; }

/* At a glance */
.facts { border-bottom: 1px solid var(--line); background: #110f18; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0; }
.facts-row > div { padding: 30px 28px 30px 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.86rem; }
.facts-row .fact-big { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -0.025em; color: var(--gold-bright); margin-bottom: 6px; }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts-row > div { padding: 24px 20px 24px 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: 20px 0; border-left: 0; } .facts-row > div + div { border-top: 1px solid var(--line); } }

/* The public scope check */
.checker { display: grid; background: #12101a; border: 1px solid #483d30; border-radius: 3px; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45); }
.checker-in { display: grid; gap: 24px; padding: 28px; min-width: 0; }
.check-result { padding: 28px; border-top: 1px solid var(--line); background: #171422; 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(--gold); 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(--gold); 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 #483d30; border-radius: 3px; background: #12101a; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65); }
.tool-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #1b1726; }
.tool-brand { font: 600 0.76rem var(--wordmark); letter-spacing: 0.08em; 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(235, 179, 82, 0.5); background: rgba(154, 101, 25, 0.22); border-radius: 2px; padding: 2px 8px; font: 600 0.6rem var(--mono); color: var(--gold-bright); }
.tool-subhud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 14px; border-bottom: 1px solid var(--line); background: #15121f; 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; background: #110f18; }
.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: #181525; color: var(--ink); max-width: none; }
.tool-say-you { border-left: 1px solid var(--line); border-right: 2px solid var(--gold); background: #221b14; margin-left: 24%; color: var(--gold-bright); 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: assignment and delivered workbook */
.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); border-radius: 3px; margin-bottom: 12px; box-shadow: 0 9px 0 -5px #4e4131, 0 18px 0 -11px #272133, 0 32px 44px rgba(0, 0, 0, 0.58); }
.sheet-frame .wb { border: 0; }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: #191624; border-bottom: 1px solid var(--line); }
.sheet-name { font: 0.78rem var(--mono); color: var(--gold-bright); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sheet-bar .tag { font: 0.68rem var(--mono); color: var(--muted); }

/* Two products */
.twin {
  display: grid;
  gap: 32px;
  align-items: center;
  background: linear-gradient(145deg, #171422 0%, #100e17 100%);
  border: 1px solid #4d3f2b;
  border-radius: 4px;
  padding: 42px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}
.twin > * { min-width: 0; }
.twin-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.twin-badge .eyebrow { margin: 0; }
.twin-crest { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: lighten; flex: none; }
.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; } }

/* 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); border-radius: 3px; }
.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(235, 179, 82, 0.07); }
.cf-pay h3, .cf-pay .cf-n { color: var(--gold-bright); }
.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, 1.05fr); gap: 60px; padding-block: 68px 80px; } }
.desk-art { min-width: 0; }

.bigbutton {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'kicker arrow' 'label arrow';
  align-items: center;
  gap: 6px 24px;
  max-width: 560px;
  margin-block: 28px 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #241f31 0%, #161320 62%, #292015 100%);
  border: 1px solid var(--edge);
  color: var(--gold-bright);
  border-radius: 4px;
  box-shadow: 0 5px 0 #0a080f, 0 16px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 244, 214, 0.12);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, background-color .2s;
}
.bigbutton:hover { transform: translateY(-2px); border-color: var(--gold); color: #ffffff; box-shadow: 0 6px 0 #0a080f, 0 20px 44px rgba(235, 179, 82, 0.18); }
.bigbutton:focus-visible { outline-color: var(--gold); outline-offset: 4px; }
.bigbutton-kicker { grid-area: kicker; font: 600 0.66rem var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.bigbutton-label { grid-area: label; font: 700 clamp(1.32rem, 2.5vw, 1.78rem)/1.12 var(--display); letter-spacing: -0.02em; color: var(--gold-bright); }
.bigbutton-arrow { grid-area: arrow; display: grid; color: var(--gold); transition: transform .3s var(--ease); }
.bigbutton-arrow svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; }
.bigbutton:hover .bigbutton-arrow { transform: translateX(7px); }
.bigbutton-wide { max-width: 720px; margin-block: 32px 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.28rem/1.2 var(--display); border-bottom-color: #463e58; }
.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(--gold); 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: 92px; background: radial-gradient(ellipse at 72% 45%, rgba(235, 179, 82, 0.08), transparent 62%), #100e17; }
.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-bright); }
  .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: 60px; } .closing { padding-block: 68px; }
  .mast-row { gap: 8px; padding-block: 10px; }
  .button.large { min-height: 50px; padding: 12px 20px; font-size: 0.94rem; }
  .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: 10px; } .ledger-checks { padding-inline: 10px; }
  .card, .calc, .readback, .start, .checker-in, .check-result, .twin { padding: 22px; }
  .start { padding-top: 28px; }
  .early-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bigbutton { padding: 20px 18px; gap: 5px 14px; }
  .bigbutton-arrow svg { width: 34px; height: 34px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .brand { gap: 7px; }
  .brand .brand-mark { width: 28px; height: 28px; }
  .mast .wordmark { font-size: 0.72rem; letter-spacing: 0.055em; line-height: 1.1; max-width: 11ch; }
  .mast-cta { gap: 6px; }
  .mast-cta .button.small { min-height: 38px; padding: 6px 11px; font-size: 0.78rem; white-space: nowrap; }
  .menu summary { width: 38px; height: 38px; }
  .bigbutton { padding: 18px 16px; gap: 4px 12px; }
  .bigbutton-kicker { font-size: 0.6rem; letter-spacing: 0.1em; }
  .bigbutton-label { font-size: clamp(1.12rem, 5vw, 1.42rem); }
  .bigbutton-arrow svg { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .brand { gap: 6px; }
  .brand .brand-mark { width: 24px; height: 24px; }
  .mast .wordmark { font-size: 0.65rem; letter-spacing: 0.04em; max-width: 11ch; }
  .mast-cta .button.small { padding: 6px 9px; font-size: 0.72rem; }
  .menu summary { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rs-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 */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 6px; }
.legal-date { color: var(--muted); font-size: .9rem; margin: 0 0 22px; }
.legal .lede { font-size: 1.05rem; line-height: 1.7; }
.legal-toc { border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; margin: 26px 0 34px; background: rgba(20, 18, 30, 0.72); }
.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.28rem; 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); border-radius: 4px; background: rgba(20, 18, 30, 0.72); }
.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); }
.team-list li span:first-child { flex: 1; font-family: var(--mono); 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; }
