/* Clausemark. Type: Fraunces (display) and IBM Plex Sans and Mono (text), self-hosted. */
@font-face { font-family: 'Fraunces'; src: url(/fonts/fraunces-latin-opsz-normal.woff2) format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/fonts/fraunces-latin-opsz-italic.woff2) format('woff2-variations'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url(/fonts/ibm-plex-sans-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F0F0ED;
  --surface: #FFFFFF;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #66666A;
  --hair: #D9D9D6;
  --hair-2: #EAEAE7;
  --accent: #1E3FC4;
  --accent-soft: #E4E9FB;
  --red: #C8321C;
  --high: #C8321C;
  --high-soft: #F3DED6;
  --medium: #8F5E0E;
  --medium-soft: #F1E6CF;
  --low: #57606E;
  --low-soft: #E4E7EA;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #DCE3FB; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 64px); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: -.01em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.todo { background: #FBEFB8; color: #6A5200; border: 1px dashed #C7A22B; padding: 0 6px; font: 500 .8em/1.6 var(--mono); }
del { text-decoration-color: var(--red); }

/* Type */
.label, .eyebrow { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow { color: var(--accent); }
.h2 { font: 360 clamp(32px, 3.6vw, 50px)/1.06 var(--serif); font-variation-settings: 'opsz' 100; letter-spacing: -.022em; }
.display { font: 340 clamp(46px, 7.4vw, 116px)/.95 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.035em; max-width: 14.5ch; }
.display em { font-style: italic; font-weight: 300; color: var(--red); letter-spacing: -.03em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); }

/* Buttons */
.btn, .btn-ghost, .btn-line { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn { height: 50px; padding: 0 22px; background: var(--ink); color: var(--paper); border: 0; border-radius: 2px; transition: background .2s; }
.btn:hover { background: #2B2924; }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { height: 44px; padding: 0 16px; background: transparent; color: var(--ink); border: 1px solid var(--hair); border-radius: 2px; transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-line { height: 50px; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(50% + 12px) / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.btn-line:hover { background-size: 0 1px; background-position: 100% calc(50% + 12px); }
.btn-small { height: 36px; padding: 0 14px; font-size: 15px; }
button:disabled { opacity: .55; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 450 20px/1 var(--serif); font-variation-settings: 'opsz' 40; letter-spacing: -.02em; }
.logo { color: var(--ink); }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--ink-2); white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.nav nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1px; }

/* Reveal on scroll (only when the motion script runs) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Hero */
.hero { padding: 72px 0 120px; }
.kicker { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 40px; border-bottom: 1px solid var(--ink); font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker-r { color: var(--muted); }
.hero-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; margin-top: 64px; align-items: start; }
.hero-copy { position: sticky; top: 104px; }
.ledger { margin-top: 48px; border-top: 1px solid var(--hair); }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.ledger dt { font-size: 15px; color: var(--muted); }
.ledger dd { font: 360 32px/1 var(--serif); font-variation-settings: 'opsz' 72; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* The marked-up renewal */
.sheet { margin: 0; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--hair-2); position: relative; }
.sheet::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); transform-origin: top; }
.sheet-top { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 26px 30px 20px; border-bottom: 1px solid var(--hair-2); }
.sheet-carrier { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sheet-doc { margin-top: 6px; font: 380 24px/1.15 var(--serif); font-variation-settings: 'opsz' 48; letter-spacing: -.015em; }
.sheet-meta { display: grid; gap: 3px; font-size: 13px; text-align: right; }
.sheet-meta div { display: flex; justify-content: flex-end; gap: 10px; }
.sheet-meta dt { color: var(--muted); }
.sheet-stamp { position: absolute; right: 26px; bottom: -14px; transform: rotate(-4deg); padding: 3px 10px; border: 1.5px solid var(--red); color: var(--red); background: var(--surface); font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.sheet-tally { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 18px 30px; border-bottom: 1px solid var(--hair-2); background: #F7F7F5; font-size: 13px; }
.tally-n { font: 380 32px/1 var(--serif); font-variation-settings: 'opsz' 60; font-variant-numeric: tabular-nums; }
.tally-n.sev-high { color: var(--red); margin-left: 14px; }
.tally-l { color: var(--muted); }
.tally-prem { margin-left: auto; font-variant-numeric: tabular-nums; }
.tally-prem .pct { color: var(--red); font-weight: 500; }
.sheet-body { position: relative; padding: 6px 30px 26px; font-size: 13px; overflow: hidden; }
.dl-h, .dl-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, .75fr) 200px; gap: 14px; align-items: baseline; }
.dl-h { margin-top: 18px; padding: 10px 0 8px; border-bottom: 1px solid var(--ink); font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dl-h span:first-child { color: var(--ink); }
.dl-row { position: relative; padding: 9px 0; border-bottom: 1px solid var(--hair-2); }
.dl-row::before { content: ''; position: absolute; inset: 0 -30px; background: var(--accent-soft); opacity: 0; transition: opacity .6s; z-index: 0; pointer-events: none; }
.dl-row.lit::before { opacity: .65; }
.dl-row > * { position: relative; z-index: 1; }
.dl-name { color: var(--ink-2); }
.dl-lim, .dl-ded { font-variant-numeric: tabular-nums; }
.v { overflow-wrap: anywhere; }
.sheet del, .index del { color: var(--red); text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(var(--red), var(--red)) 0 58% / 100% 1.5px no-repeat; transition: background-size .55s var(--ease); }
.sheet ins, .index ins { color: var(--accent); text-decoration: none; font-weight: 500; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; display: inline-block; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mnote { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--red); font-size: 13px; line-height: 1.35; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mnote.sev-medium { border-left-color: var(--medium); }
.mnote.sev-low { border-left-color: var(--low); }
.mnote-sev { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.mnote.sev-medium .mnote-sev { color: var(--medium); }
.mnote.sev-low .mnote-sev { color: var(--low); }
.mnote-t { color: var(--ink); }
.mnote-p { display: flex; gap: 6px; margin-top: 2px; }
.pg { font: 400 11px/1.6 var(--mono); color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--hair); }
.pg:hover { color: var(--accent); border-bottom-color: var(--accent); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 0 6px rgba(30, 63, 196, .08); opacity: 0; pointer-events: none; z-index: 2; }
.sheet-cap { padding: 14px 30px 18px; border-top: 1px solid var(--hair-2); font-size: 13px; color: var(--muted); }

/* Animation start state: only while the motion script plays it */
.js .sheet:not(.played) [data-mark] del { background-size: 0 1.5px; color: var(--ink-2); transition: background-size .55s var(--ease), color .3s; }
.js .sheet:not(.played) [data-mark].on del { color: var(--red); }
.js .sheet:not(.played) [data-mark] ins { opacity: 0; transform: translateY(4px); }
.js .sheet:not(.played) [data-mark] .mnote { opacity: 0; transform: translateX(10px); }
.js .sheet:not(.played) [data-mark].on del { background-size: 100% 1.5px; }
.js .sheet:not(.played) [data-mark].on ins { opacity: 1; transform: none; transition-delay: .35s; }
.js .sheet:not(.played) [data-mark].on .mnote { opacity: 1; transform: none; transition-delay: .5s; }
.js .sheet:not(.played) .tally-prem del { background-size: 0 1.5px; }
.js .sheet:not(.played) .tally-prem ins { opacity: 0; }
.js .sheet:not(.played).done .tally-prem del { background-size: 100% 1.5px; }
.js .sheet:not(.played).done .tally-prem ins { opacity: 1; }
.js .sheet:not(.played) .scanline { opacity: 1; transition: transform .5s var(--ease), opacity .4s; }
.js .sheet:not(.played).done .scanline { opacity: 0; }
.js .sheet:not(.played)::before { transform: scaleY(0); transition: transform 2.2s var(--ease); }
.js .sheet:not(.played).started::before { transform: scaleY(1); }

/* Bands */
.band { padding: 128px 0; border-top: 1px solid var(--hair); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.split-head .muted { margin-top: 20px; font-size: 17px; max-width: 30em; }
.split-head .btn-line { margin-top: 18px; }
.sticky { position: sticky; top: 112px; }

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ix { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 240px); gap: 20px; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--hair); transition: background .3s; }
.ix::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ix:hover::after { transform: scaleX(1); }
.ix-n { font: 400 13px/1 var(--mono); color: var(--muted); transition: color .3s; }
.ix:hover .ix-n { color: var(--red); }
.ix-h { font: 380 24px/1.2 var(--serif); font-variation-settings: 'opsz' 60; letter-spacing: -.015em; transition: transform .5s var(--ease); }
.ix:hover .ix-h { transform: translateX(6px); }
.ix-p { margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 34em; }
.ix-ex { justify-self: end; text-align: right; font: 400 13px/1.7 var(--mono); }
.ix-ex del, .ix-ex ins { display: block; width: max-content; margin-left: auto; }
.ix:hover .ix-ex ins { background-size: 100% 2px; }
.js .ix:not(.in) .ix-ex del { background-size: 0 1.5px; }
.js .ix:not(.in) .ix-ex ins { opacity: 0; }
.js .ix.in .ix-ex ins { transition-delay: .4s; }

.method { list-style: none; margin: 0; padding: 0; }
.method li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 34px 0; border-top: 1px solid var(--hair); }
.method li:last-child { border-bottom: 1px solid var(--hair); }
.m-n { font: italic 300 44px/1 var(--serif); font-variation-settings: 'opsz' 96; color: var(--red); }
.method h3 { font: 380 24px/1.2 var(--serif); font-variation-settings: 'opsz' 60; margin-bottom: 10px; }
.method p { color: var(--ink-2); max-width: 36em; }

.letter { background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--hair-2); padding: 40px 44px 44px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.letter-subj { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--hair-2); font-weight: 500; color: var(--ink); }
.letter-subj span { margin-right: 10px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.letter-body p + p, .letter-body ul + p, .letter-body p + ul { margin-top: 14px; }
.letter-body ul { margin: 0; padding: 0; list-style: none; }
.letter-body li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px dotted var(--hair); }
.letter-body li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 1.5px; background: var(--red); }

.band-ink { background: var(--ink); color: #E6E6E3; border-top: 0; }
.band-ink .label { color: #A3A3A0; }
.band-ink .h2 { color: #FFFFFF; }
.clauses { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3A3833; }
.clauses li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid #3A3833; }
.cl-n { font: 400 13px/1.9 var(--mono); color: #A3A3A0; }
.clauses h3 { font: 380 24px/1.25 var(--serif); font-variation-settings: 'opsz' 60; color: #FFFFFF; margin-bottom: 6px; }
.clauses p { color: #BDB8AD; }

.schedule { background: var(--surface); border: 1px solid var(--hair-2); box-shadow: var(--shadow); padding: 34px 40px 38px; }
.schedule-h { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.schedule dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair-2); }
.schedule dt { font: 380 20px/1.3 var(--serif); font-variation-settings: 'opsz' 48; }
.schedule dd { text-align: right; }
.amt { display: block; font: 340 44px/1 var(--serif); font-variation-settings: 'opsz' 96; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.per { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.schedule-note { margin: 18px 0 24px; font-size: 15px; color: var(--muted); }

.founder { max-width: 640px; }
.founder-img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-bottom: 26px; filter: grayscale(.15); }
.founder-note { font: 340 24px/1.5 var(--serif); font-variation-settings: "opsz" 36; color: var(--ink-2); }
.founder-note p + p { margin-top: .7em; }
.founder-bio { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair); max-width: 34em; font-size: 15px; line-height: 1.6; color: var(--muted); }
.sig { margin-top: 30px; font: italic 360 32px/1 var(--serif); font-variation-settings: 'opsz' 96; letter-spacing: -.02em; }
.sig-role { margin-top: 8px; color: var(--muted); font-size: 15px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; }

.legal { padding-top: 88px; }
.legal h2 { font: 600 17px/1.4 var(--sans); margin: 34px 0 8px; }
.legal p { color: var(--ink-2); }
.legal .muted { margin-top: 10px; }
.section { padding: 104px 0; }

/* Footer */
.footer { border-top: 1px solid var(--ink); padding: 56px 0 28px; font-size: 15px; overflow: hidden; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-inner > div:first-child .muted { margin-top: 12px; max-width: 26em; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-h { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-mark { margin-top: 56px; font: 300 clamp(64px, 15.5vw, 228px)/.8 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.055em; color: var(--paper-2); white-space: nowrap; user-select: none; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 13px; }

/* Tool page heading */
.tool { padding: 56px 0 104px; }
.tool-head { margin-bottom: 34px; }
.tool-head .h2 { font-size: clamp(38px, 4.4vw, 60px); }
.tool-head .muted { margin-top: 12px; }

/* Counts and premium */
.counts { display: flex; flex-wrap: wrap; gap: 8px; }
.count { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.count b { font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; }
.count.sev-high { background: var(--high-soft); color: var(--high); }
.count.sev-medium { background: var(--medium-soft); color: var(--medium); }
.count.sev-low { background: var(--low-soft); color: var(--low); }
.premium { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 12px 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); font-size: 15px; }
.premium .lbl { color: var(--muted); margin-right: 4px; }
.num { font-variant-numeric: tabular-nums; }
.strong { font-weight: 600; }
.arrow { color: var(--muted); }
.delta { font-weight: 600; font-size: 13px; padding: 1px 7px; border-radius: 5px; }
.delta.up { color: var(--high); background: var(--high-soft); }
.delta.down { color: var(--accent); background: var(--accent-soft); }

/* Flags */
.flags { list-style: none; margin: 0; padding: 0; }
.flag { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--hair-2); }
.flag:last-child { border-bottom: 0; }
.flag-sev { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; height: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sev-high .flag-sev { color: var(--high); } .sev-high .dot { background: var(--high); }
.sev-medium .flag-sev { color: var(--medium); } .sev-medium .dot { background: var(--medium); }
.sev-low .flag-sev { color: var(--low); } .sev-low .dot { background: transparent; border: 1.5px solid var(--low); }
.flag-title { font-weight: 500; font-size: 15px; line-height: 1.4; }
.flag-diff { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.flag-diff .lbl { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.flag-diff .was { text-decoration: none; }
.chip { display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid var(--hair); border-radius: 4px; font: 400 11px/18px var(--mono); color: var(--muted); text-decoration: none; vertical-align: 1px; }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.verify { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--medium-soft); color: var(--medium); font: 500 11px/18px var(--sans); }
.empty { color: var(--muted); padding: 12px 0; }
/* Tool */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 20px; background: var(--surface); border: 1.5px dashed var(--hair); border-radius: 3px; cursor: pointer; transition: border-color .15s, background .15s; }
.slot:hover, .slot.drag { border-color: var(--accent); background: #F7F8FE; }
.slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.slot-label { font-weight: 600; font-size: 15px; }
.slot-label .opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.slot-hint { color: var(--muted); font-size: 13px; }
.slot-file { margin-top: auto; padding-top: 14px; font: 400 13px/1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.slot.has-file { border-style: solid; border-color: var(--accent); }
.slot.has-file .slot-file { color: var(--accent); }
.upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 20px; }
.consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-left: auto; }
.consent input { width: 16px; height: 16px; accent-color: var(--accent); }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--medium-soft); color: #6E4A0C; font-size: 15px; }
.error { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--high-soft); color: var(--high); font-size: 15px; }
.progress { margin-top: 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--hair); border-radius: 3px; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.progress li { display: flex; align-items: center; gap: 10px; }
.progress li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--hair); flex: none; }
.progress li.active { color: var(--ink); }
.progress li.active::before { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--ink-2); }
.progress li.done::before { background: var(--accent); border-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .progress li.active::before { animation: none; } html { scroll-behavior: auto; } }

.result { margin-top: 48px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; }
.result-head .eyebrow { color: var(--muted); }
.result-title { font: 400 32px/1.15 var(--serif); letter-spacing: -.01em; }
.docmeta { margin-top: 14px; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.docmeta-row { display: grid; grid-template-columns: 76px auto auto 1fr; gap: 14px; }
.docmeta .lbl { color: var(--muted); }
.verify-note { margin: 14px 0 0; font-size: 13px; color: var(--medium); }
.verify-note.ok { color: var(--accent); }
.verify-note.ok::before { content: '✓ '; }
.panel { margin-top: 28px; background: var(--surface); border: 1px solid var(--hair); border-radius: 3px; padding: 22px 24px 10px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--hair-2); }
.panel-head h3 { font: 400 20px/1.3 var(--serif); }
.table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px 14px; }
.cov { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cov th, .cov td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--hair-2); vertical-align: top; }
.cov thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cov tbody th { font-weight: 500; width: 34%; }
.cov td { font-variant-numeric: tabular-nums; }
.cov td .lim { display: block; }
.cov td .ded { display: block; font-size: 13px; color: var(--muted); }
.cov td.changed .lim, .cov td.changed .ded { color: var(--high); font-weight: 500; }
.cov td.none { color: var(--muted); font-style: italic; }
.emails { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.emails:has(> .email:only-child) { grid-template-columns: 1fr; }
.email { background: var(--surface); border: 1px solid var(--hair); border-radius: 3px; padding: 20px 22px; min-width: 0; }
.email-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.email-head h3 { font: 400 20px/1.3 var(--serif); }
.email-head .btn-ghost { height: 32px; padding: 0 12px; font-size: 13px; }
.subject { margin: 12px 0 10px; font-size: 15px; }
.subject .lbl { color: var(--muted); margin-right: 6px; }
.email-body { margin: 0; white-space: pre-wrap; font: 400 15px/1.6 var(--sans); color: var(--ink-2); background: #F7F7F5; border: 1px solid var(--hair-2); border-radius: 8px; padding: 14px 16px; max-height: 420px; overflow: auto; }
.disclaimer { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .dl-h, .dl-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, .8fr); }
  .dl-h span:nth-child(4) { display: none; }
  .mnote { grid-column: 1 / -1; margin: 6px 0 2px; }
  .js .sheet:not(.played) [data-mark] .mnote { max-height: 0; margin: 0; overflow: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .45s var(--ease), margin .45s var(--ease); }
  .js .sheet:not(.played) [data-mark].on .mnote { max-height: 140px; margin: 6px 0 2px; }
}
@media (max-width: 980px) {
  .hero-row, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy, .sticky { position: static; }
  .emails { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr; }
  .slot { min-height: 116px; }
  .consent { margin-left: 0; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 36px 0 72px; }
  .kicker { flex-direction: column; gap: 4px; margin-bottom: 28px; }
  .display { font-size: clamp(42px, 12.4vw, 60px); }
  .hero-row { margin-top: 36px; }
  .band { padding: 80px 0; }
  .sheet-top { grid-template-columns: 1fr; padding: 20px 18px 22px; }
  .sheet-meta { text-align: left; }
  .sheet-meta div { justify-content: flex-start; }
  .sheet-tally, .sheet-body, .sheet-cap { padding-left: 18px; padding-right: 18px; }
  .tally-prem { margin-left: 0; width: 100%; }
  .dl-h, .dl-row { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 4px 12px; }
  .dl-h span:nth-child(3) { display: none; }
  .dl-h span:nth-child(2) { text-align: right; }
  .dl-ded { grid-column: 2; text-align: right; font-size: 13px; color: var(--muted); }
  .dl-ded:empty { display: none; }
  .dl-lim { text-align: right; }
  .dl-row::before { inset: 0 -18px; }
  .ix { grid-template-columns: 40px minmax(0, 1fr); }
  .ix-ex { grid-column: 2; justify-self: start; text-align: left; }
  .ix-ex del, .ix-ex ins { margin-left: 0; width: auto; max-width: 100%; overflow-wrap: anywhere; }
  .method li { grid-template-columns: 56px minmax(0, 1fr); }
  .m-n { font-size: 32px; }
  .letter { padding: 26px 20px 28px; font-size: 15px; }
  .schedule { padding: 26px 20px 28px; }
  .schedule dl div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .schedule dd { text-align: left; }
  .amt { font-size: 32px; }
  .founder-note { font-size: 20px; }
  .flag { grid-template-columns: 1fr; gap: 4px; }
  .docmeta-row { grid-template-columns: 70px 1fr; }
  .docmeta-row span:nth-child(n+3) { grid-column: 2; }
  .panel { padding: 18px 16px 6px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px 12px; }
  .footer-cols { gap: 36px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .progress li.active::before { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* Print: the downloadable report */
@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; font-size: 11pt; }
  .nav, .footer, .tool-head, .upload, .no-print, .skip { display: none !important; }
  .tool { padding: 0; }
  .result { margin-top: 0; }
  .panel, .email { border-color: #ccc; break-inside: avoid-page; box-shadow: none; }
  .flag { break-inside: avoid; }
  .email-body { max-height: none; overflow: visible; background: #fff; }
  .emails { grid-template-columns: 1fr; }
}

/* Small additions */
.access { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.access input { height: 38px; width: 220px; max-width: 100%; padding: 0 12px; border: 1px solid var(--hair); background: var(--surface); font: 400 15px var(--mono); }
.result-head > div:first-child { flex: 1 1 520px; min-width: 0; }
.result-actions { flex: none; }
.docmeta-row { grid-template-columns: 76px minmax(200px, max-content) minmax(120px, max-content) 1fr; }
@media (min-width: 681px) { .panel-head .counts { flex-wrap: nowrap; flex: none; } }

/* No tracked capitals, no coloured italic headline, no soft shadows: labels read like a printed form. */
.label, .eyebrow, .kicker, .sheet-carrier, .dl-h, .mnote-sev, .letter-subj span, .schedule-h, .footer-h, .sheet-stamp { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mnote-sev { font-size: 13px; }
.eyebrow { color: var(--muted); }
.display em { font-style: normal; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.m-n { font-style: normal; font-weight: 350; color: var(--ink); }
.sheet, .letter, .schedule { border-color: var(--ink); }

/* A reviewer's pencil: a loose loop around the value that matters. */
.circled { position: relative; display: inline-block; }
.pencil { position: absolute; left: -13px; top: -10px; width: calc(100% + 26px); height: calc(100% + 20px); overflow: visible; pointer-events: none; }
.pencil path { fill: none; stroke: var(--red); stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.js .sheet:not(.played) [data-mark] .pencil { clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease) .75s; }
.js .sheet:not(.played) [data-mark].on .pencil { clip-path: inset(-20% -20% -20% -20%); }
.js [data-reveal] .pencil { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .6s; }
.js [data-reveal].in .pencil { clip-path: inset(-20% -20% -20% -20%); }

/* Margin notes read like a reviewer's hand, not a UI label. */
.mnote-t { font: italic 380 13px/1.35 var(--serif); font-variation-settings: 'opsz' 14; color: var(--ink-2); }

/* What to bring, under the hero copy. */
.bring { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--hair); }
.bring-h { font-size: 13px; font-weight: 500; color: var(--muted); }
.bring ul { margin: 12px 0 0; padding: 0; list-style: none; }
.bring li { padding: 11px 0; border-bottom: 1px solid var(--hair-2); font-size: 15px; color: var(--ink); }
.bring-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* One line, worked through. Deliberately off-grid. */
.worked { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; align-items: start; }
.worked-head { grid-column: 1 / span 4; }
.worked-head .muted { margin-top: 20px; font-size: 17px; }
.excerpts { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.excerpt { margin: 0; padding: 18px 20px 22px; border: 1px solid var(--hair); background: var(--surface); }
.excerpt + .excerpt { margin-top: 36px; }
.excerpt figcaption { font: 400 13px/1.4 var(--mono); color: var(--muted); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--hair-2); }
.ex-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--ink-2); }
.ex-v { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.worked-math { grid-column: 7 / span 5; }
.wm-intro { font: 340 20px/1.45 var(--serif); font-variation-settings: 'opsz' 36; color: var(--ink); }
.sum { margin: 26px 0 0; }
.sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair-2); }
.sum dt { font-size: 15px; color: var(--ink-2); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 17px; }
.sum .sum-total { border-top: 1px solid var(--ink); border-bottom: 0; margin-top: -1px; }
.sum .sum-total dt { color: var(--ink); font-weight: 500; }
.sum .sum-total dd { font: 380 32px/1 var(--serif); font-variation-settings: 'opsz' 60; color: var(--red); }
.wm-note { margin-top: 20px; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 36em; }

/* What it doesn't do yet. */
.notyet { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.notyet li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.notyet h3 { font: 380 20px/1.3 var(--serif); font-variation-settings: 'opsz' 36; }
.notyet p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 980px) {
  .worked { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .worked-head, .excerpts, .worked-math { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .excerpts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .excerpt + .excerpt { margin-top: 0; margin-left: 22px; }
  .ex-line { flex-wrap: wrap; }
  .wm-intro { font-size: 20px; }
  .notyet li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* Craft pass. Type scale: 11 / 13 / 15 / 17 / 20 / 24 / 32 / 44, plus the two display clamps.
   Each section gets one layout idea of its own, and the spacing between them is deliberately uneven. */
h1, h2, h3, .wm-intro { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.display { hanging-punctuation: first; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 1px; }
.band-ink :focus-visible { outline-color: #FFFFFF; }
.amt, .tally-n, .dl-lim, .dl-ded, .ex-v, .sum dd, .ix-ex, .num { font-variant-numeric: tabular-nums lining-nums; }
.btn { transition: background .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.dl-row.lit::before { opacity: .5; }

.band-worked { padding: 152px 0 136px; }
.band-reads { padding: 120px 0 144px; }
.band-how { padding: 136px 0 120px; }
.band-letter { padding: 128px 0 160px; }
.band-ink { padding: 136px 0 152px; }
.band-notyet { padding: 120px 0 112px; }
.band-pricing { padding: 136px 0 120px; }
.band-founder { padding: 152px 0 176px; }

/* A heading on the left, its note on the right, both sitting on one line */
.wide-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; margin-bottom: 72px; }
.wide-head .label { grid-column: 1 / -1; }
.wide-head .h2 { grid-column: 1 / span 6; }
.wide-head .muted { grid-column: 8 / -1; margin: 0; font-size: 17px; max-width: 30em; }

/* What it reads: one long ledger across the page */
.band-reads .ix { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding: 28px 0 30px; }
.band-reads .ix-n { grid-column: 1; }
.band-reads .ix-main { grid-column: 2 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: 32px; align-items: baseline; }
.band-reads .ix-p { margin-top: 0; }
.band-reads .ix-ex { grid-column: 10 / -1; }

/* How it works: four steps read left to right */
.band-how .method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); }
.band-how .method li { display: block; padding: 32px 32px 40px 0; border-top: 0; }
.band-how .method li:last-child { border-bottom: 0; padding-right: 0; }
.band-how .method li + li { padding-left: 32px; border-left: 1px solid var(--hair); }
.band-how .m-n { display: block; margin-bottom: 56px; font-size: 32px; }
.band-how .method h3 { font-size: 24px; }
.band-how .method p { font-size: 15px; }
.band-how .method li:nth-child(even) { padding-top: 64px; }

/* The draft leads, the explanation follows it */
.split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; }
.split-rev > .split-head { order: 2; align-self: end; padding-bottom: 8px; }

/* Fine print: two by two, like clauses on a page */
.band-ink .clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.band-ink .clauses li { padding: 32px 0 36px; }

/* Pricing: a ruled schedule, not a card */
.band-pricing .schedule { background: none; border: 0; box-shadow: none; padding: 0; }
.band-pricing .schedule dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.band-pricing .schedule dl div { display: flex; flex-direction: column; gap: 18px; padding: 36px 32px 40px 0; border-bottom: 0; }
.band-pricing .schedule dl div + div { padding-left: 32px; border-left: 1px solid var(--hair); }
.band-pricing .schedule dd { text-align: left; }
.band-pricing .amt { font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.03em; }
.band-pricing .per { margin-top: 10px; }
.band-pricing .schedule-note { max-width: 36em; margin: 24px 0 28px; }
.excerpts { align-items: start; }

/* The founder's note: a narrow column, like a letter */
.letterhead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.letterhead-head, .letterhead .founder { grid-column: 4 / span 6; }
.letterhead-head { margin-bottom: 48px; }
.letterhead .founder { max-width: 34em; }

@media (max-width: 980px) {
  .wide-head .h2 { grid-column: 1 / span 9; }
  .wide-head .muted { grid-column: 1 / span 9; margin-top: 20px; }
  .band-reads .ix-main { grid-column: 2 / -1; grid-template-columns: minmax(0, 1fr); }
  .band-reads .ix-p { margin-top: 8px; }
  .band-reads .ix-ex { grid-column: 2 / -1; justify-self: start; text-align: left; margin-top: 12px; }
  .band-reads .ix-ex del, .band-reads .ix-ex ins { margin-left: 0; }
  .band-how .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-how .method li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .band-how .method li:nth-child(4) { border-top: 1px solid var(--hair); }
  .band-how .method li:nth-child(even) { padding-top: 32px; }
  .split-rev { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split-rev > .split-head { order: 0; padding-bottom: 0; }
  .band-ink .clauses { grid-template-columns: minmax(0, 1fr); }
  .letterhead-head, .letterhead .founder { grid-column: 1 / span 10; }
}
@media (max-width: 680px) {
  .band-worked, .band-reads, .band-how, .band-letter, .band-ink, .band-notyet, .band-pricing { padding: 80px 0 88px; }
  .band-founder { padding: 88px 0 104px; }
  .wide-head { margin-bottom: 40px; }
  .wide-head .h2, .wide-head .muted, .letterhead-head, .letterhead .founder { grid-column: 1 / -1; }
  .band-reads .ix { grid-template-columns: 40px minmax(0, 1fr); column-gap: 0; }
  .band-reads .ix-main, .band-reads .ix-ex { grid-column: 2; }
  .band-how .method { grid-template-columns: minmax(0, 1fr); }
  .band-pricing .schedule dl { grid-template-columns: minmax(0, 1fr); }
  .band-pricing .schedule dl div, .band-pricing .schedule dl div + div { padding: 28px 0 30px; border-left: 0; }
  .band-pricing .schedule dl div + div { border-top: 1px solid var(--hair); }
  .band-how .method li, .band-how .method li + li, .band-how .method li:nth-child(n) { padding: 28px 0 32px; border-left: 0; border-top: 1px solid var(--hair); }
  .band-how .method li:first-child { border-top: 0; }
  .band-how .m-n { margin-bottom: 20px; }
  .letterhead-head { margin-bottom: 32px; }
  .band-reads .ix-ex { margin-top: 4px; }
  .band-reads .ix-ex del, .band-reads .ix-ex ins { width: fit-content; }
  .band-ink .clauses li { grid-template-columns: 40px minmax(0, 1fr); }
}
