/* thrulinehq.com — the site. Tokens, header and footer are in chrome.css.
   Vocabulary (every page is built from these):
     layout     .wrap  .sec  .sec-head  .kicker  .h1 .h2 .h3  .lede  .grid-2/-3/-4  .split
     surfaces   .card  .panel  .ui (an app window)  .term (a terminal)  .tape (the record)  .rcpt (a receipt)
     small      .tag  .state.is-proven/.is-open/.is-warn/.is-bad  .more  .kv  .tbl  .crumbs  code
     long text  .prose  .doc (prose + sticky .toc)  .faq
     motion     nothing fades in on scroll; what moves is a control the reader pressed */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 24px); }
body.tl {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--or); color: #000; }
.page { flex: 1; display: block; }
.page a { color: inherit; text-decoration-color: var(--line2); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .15s, color .15s; }
.page a:hover { text-decoration-color: var(--or); }
.page :focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 2px; }
.page img, .page video { max-width: 100%; height: auto; display: block; }
.page h1, .page h2, .page h3, .page h4, .page p, .page ul, .page ol, .page figure, .page dl, .page dd, .page blockquote { margin: 0; }
.page ul, .page ol { padding: 0; list-style: none; }
.page button { font: inherit; color: inherit; }
.page code, .page kbd, .page samp { font-family: var(--mono); font-size: .9em; }
.page :not(pre) > code { padding: .12em .38em; background: var(--bg2); border: 1px solid var(--line); border-radius: 2px; color: var(--fg); white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap-n { max-width: 920px; }
.sec { position: relative; padding: clamp(72px, 10vw, 148px) 0; border-top: 1px solid var(--line); }
.sec-tight { padding: clamp(48px, 6vw, 88px) 0; }
.sec-alt { background: var(--bg1); }
.sec-head { display: grid; gap: 20px; max-width: 880px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sec-head-row > :first-child { display: grid; gap: 20px; max-width: 880px; }
@media (max-width: 760px) { .sec-head-row { grid-template-columns: minmax(0, 1fr); } }

.h1 { font: 800 clamp(44px, 8.6vw, 132px)/.9 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.h1-s { font-size: clamp(40px, 6.2vw, 88px); line-height: .95; letter-spacing: -.045em; }
.h2 { font: 700 clamp(32px, 4.6vw, 64px)/1 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.h3 { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.out { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.lede { max-width: 62ch; color: var(--mut); font: 400 clamp(17px, 1.5vw, 21px)/1.55 var(--sans); text-wrap: pretty; }
.lede b, .lede strong { color: var(--fg); font-weight: 500; }
.small { color: var(--mut); font-size: 14px; line-height: 1.55; }
.mono { font-family: var(--mono); }
.mut { color: var(--mut); } .or { color: var(--or); } .gr { color: var(--gr); } .rd { color: var(--rd); } .am { color: var(--am); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 36px clamp(24px, 4vw, 56px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-gap { gap: 36px clamp(24px, 4vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split-5-7 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-l { gap: 28px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- surfaces ---------- */
.card { position: relative; display: grid; align-content: start; gap: 14px; padding: 20px 0 0; border-top: 1px solid var(--line2); min-width: 0; }

.card p { color: var(--mut); font-size: 15.5px; line-height: 1.6; }
.card p b, .card p strong { color: var(--fg); font-weight: 500; }
.card-n { color: var(--mut); font: 500 14px/1.4 var(--sans); }
a.card { text-decoration: none; }
a.card:hover .h3 { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.more { color: var(--fg); font: 500 15.5px/1.4 var(--sans); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 5px; }

.panel { position: relative; border: 1px solid var(--line); background: var(--bg1); }
.panel-pad { padding: clamp(20px, 2.6vw, 36px); }

.tag { color: var(--mut); font: 500 13.5px/1.4 var(--sans); }
.tag-or { color: var(--or); }
.state { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--sans); }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.state.is-proven { color: var(--gr); } .state.is-proven::before { background: currentColor; }
.state.is-open { color: var(--fg); }
.state.is-warn { color: var(--am); } .state.is-warn::before { border-radius: 0; transform: rotate(45deg); }
.state.is-bad { color: var(--rd); } .state.is-bad::before { background: currentColor; border-radius: 0; }

/* an app window: the product's own screens, rebuilt in its words */
.ui { border: 1px solid var(--line2); background: var(--bg1); border-radius: 6px; overflow: hidden; font-size: 14.5px; line-height: 1.5; box-shadow: 0 30px 80px -40px #000; }
.ui-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--bg2); color: var(--dim); font: 400 12px/1 var(--mono); white-space: nowrap; overflow: hidden; }
.ui-bar::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--line2); box-shadow: 15px 0 0 var(--line2), 30px 0 0 var(--line2); margin-right: 30px; flex: none; }
.ui-body { display: grid; gap: 12px; padding: 18px; }
.ui-body p { color: var(--mut); }
.ui-lbl { color: var(--dim); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ui-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
.ui-row > span:first-child { flex: 1 1 240px; min-width: 0; }
.ui-acts { display: inline-flex; gap: 6px; }
.ui-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 4px; color: var(--mut); font: 500 12px/1 var(--sans); }
.ui-btn-or { background: var(--or); border-color: var(--or); color: #000; }

/* a terminal */
.term { border: 1px solid var(--line2); background: #000; border-radius: 6px; overflow: hidden; font: 400 13.5px/1.75 var(--mono); }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 12px; white-space: nowrap; }
.term-body { margin: 0; padding: 16px; overflow-x: auto; color: var(--fg); white-space: pre; }
.term-body .p { color: var(--or); user-select: none; }
.copy { flex: none; height: 26px; padding: 0 9px; background: none; border: 1px solid var(--line2); border-radius: 2px; color: var(--mut); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg); }
.copy.is-done { color: var(--gr); border-color: var(--gr); }

/* key/value: receipts, facts */
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 20px; font: 400 13px/1.5 var(--mono); }
.kv dt { padding: 7px 0; color: var(--dim); border-top: 1px dashed var(--line); }
.kv dd { padding: 7px 0; color: var(--fg); border-top: 1px dashed var(--line); overflow-wrap: anywhere; }
.kv dt:first-of-type, .kv dt:first-of-type + dd { border-top: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv dd { border-top: 0; padding-top: 0; } }

.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 640px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { color: var(--dim); font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--bg1); position: sticky; top: 0; }
.tbl tbody th { font-weight: 500; color: var(--fg); }
.tbl td { color: var(--mut); }
.tbl tr:last-child > * { border-bottom: 0; }
.tbl .is-us > * { background: var(--or-dim); color: var(--fg); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--dim); font: 400 12.5px/1.4 var(--mono); }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line2); }

/* ---------- page heads (every page but home) ---------- */
.phead { position: relative; padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.phead .wrap { position: relative; z-index: 1; display: grid; gap: 24px; }
.phead .h1 { max-width: 16ch; }
.phead .lede { max-width: 58ch; }

/* ---------- long text ---------- */
.prose { max-width: 72ch; color: #c9c9d1; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; color: var(--fg); font: 650 clamp(24px, 2.6vw, 34px)/1.15 var(--sans); letter-spacing: -.03em; scroll-margin-top: calc(var(--hh) + 24px); }
.prose h3 { margin-top: 1.8em; color: var(--fg); font: 600 20px/1.3 var(--sans); letter-spacing: -.015em; }
.prose strong, .prose b { color: var(--fg); font-weight: 550; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.prose ul { list-style: none; } .prose ul > li { position: relative; }
.prose ul > li::before { content: ''; position: absolute; left: -1.2em; top: .72em; width: 7px; height: 1px; background: var(--or); }
.prose ol { list-style: decimal; } .prose ol > li::marker { color: var(--or); font: 500 .85em var(--mono); }
.prose blockquote { color: var(--fg); font-size: 1.15em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.note { padding: 16px 18px; border: 1px solid var(--line2); background: var(--bg1); color: var(--mut); font-size: 15px; line-height: 1.6; }
.note b { color: var(--fg); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--hh) + 28px); display: grid; gap: 2px; max-height: calc(100vh - var(--hh) - 56px); overflow: auto; font: 400 13px/1.4 var(--mono); }
.toc h2 { margin-bottom: 10px; color: var(--dim); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid var(--line); color: var(--mut); text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--fg); border-left-color: var(--fg); }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { position: static; max-height: none; padding: 16px; border: 1px solid var(--line); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font: 550 clamp(17px, 1.7vw, 21px)/1.3 var(--sans); letter-spacing: -.015em; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; justify-self: end; color: var(--or); font: 400 24px/1 var(--mono); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--or2); }
.faq .faq-a { display: grid; gap: 12px; max-width: 70ch; padding: 0 44px 26px 0; color: var(--mut); font-size: 16px; line-height: 1.65; }
.faq .faq-a b { color: var(--fg); font-weight: 500; }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-top { display: grid; gap: clamp(22px, 3vw, 34px); justify-items: start; }
.hero h1 { font: 800 clamp(50px, 11.6vw, 176px)/.86 var(--sans); letter-spacing: -.065em; }
.hero h1 span { display: block; }
.hero h1 .l2 i { font-style: normal; display: inline-block; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; width: 100%; padding-top: clamp(8px, 2vw, 24px); }
.hero-sub .lede { font-size: clamp(19px, 2vw, 27px); line-height: 1.35; color: var(--fg); letter-spacing: -.015em; }
.hero-cta { display: grid; gap: 14px; justify-items: start; }
.hero-meta { color: var(--dim); font: 400 12.5px/1.6 var(--mono); max-width: 60ch; }
.hero-meta a { color: var(--mut); }
@media (max-width: 900px) { .hero-sub { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* the tape: the session record, read back */
.tape { position: relative; margin-top: clamp(40px, 6vw, 80px); border: 1px solid var(--line2); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--bg1); overflow: hidden; }
.tape-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--dim); font: 400 12px/1 var(--mono); white-space: nowrap; }
.tape-bar b { color: var(--mut); font-weight: 500; }
.tape-rec { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); }
.tape-rec::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mut); }
.tape-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tape-log { padding: 8px 0; font: 400 13.5px/1.5 var(--mono); border-right: 1px solid var(--line); }
.tape-ln { display: grid; grid-template-columns: 74px 96px minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 9px 16px; }
.tape-ln .s { color: var(--dim); } .tape-ln .w { color: var(--mut); } .tape-ln .t { color: var(--fg); overflow-wrap: anywhere; }
.tape-ln .t small { display: block; color: var(--dim); font-size: 12px; }
.tape-ln.is-claim { background: rgba(255, 255, 255, .04); }
.tape-ln.is-claim .t { font-family: var(--sans); font-size: 16px; font-weight: 550; }
.tape-ln.is-edit .w { color: var(--am); }
.tape-ln.is-open .w { color: var(--dim); }
.tape-verdict { display: grid; align-content: center; gap: 14px; padding: clamp(20px, 3vw, 36px); }
.tape-verdict .who { color: var(--or); font: 600 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.tape-verdict .big { font: 700 clamp(26px, 3.2vw, 44px)/1.02 var(--sans); letter-spacing: -.035em; }
.tape-verdict p { color: var(--mut); font-size: 15.5px; line-height: 1.55; }
.tape-verdict p b { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) { .tape-body { grid-template-columns: minmax(0, 1fr); } .tape-log { border-right: 0; border-bottom: 1px solid var(--line); } .tape-ln { grid-template-columns: 62px minmax(0, 1fr); } .tape-ln .w { display: none; } .tape-rec { display: none; } }


/* the walkthrough of the real app (src/thruline-demo.*) sits in its own section */
.demo-sec { padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--line); }

/* ---------- the chain ---------- */
.chain-said { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 16px 20px; border: 1px solid var(--line); border-bottom: 0; background: var(--bg1); color: var(--mut); font: 400 13px/1.5 var(--mono); }
.chain-said q { color: var(--fg); font: 550 17px/1.3 var(--sans); quotes: '“' '”'; }
.chain { --stop: 3; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; counter-reset: q; }
.chain-q { position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 14px; padding: 22px 18px 24px; background: var(--bg); min-width: 0; counter-increment: q; transition: background .3s; }
.chain-q:hover { background: var(--bg1); }
.chain-node { position: relative; display: flex; align-items: center; height: 30px; }
.chain-node::before { /* the line through */
  content: ''; position: absolute; left: -18px; right: -19px; top: 50%; height: 2px; background: var(--or); transform: translateY(-50%);
}
.chain-q:first-child .chain-node::before { left: 15px; } .chain-q:last-child .chain-node::before { right: calc(100% - 15px - 18px); }
.chain-node i { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--or); color: #000; font: 700 13px/1 var(--mono); font-style: normal; }
.chain-node i::before { content: counter(q); }
.chain-q.is-warn .chain-node i { background: var(--bg); color: var(--am); border: 2px solid var(--am); }
.chain-q.is-warn .chain-node i::before { content: '!'; }
.chain-q.is-warn .chain-node::before { background: linear-gradient(90deg, var(--or) 0 calc(18px + 15px), transparent 0), repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.chain-q.is-off .chain-node::before { background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.chain-q.is-off .chain-node i { background: var(--bg); color: var(--dim); border: 2px dashed var(--line2); }
.chain-q.is-ok .chain-node i { background: var(--gr); } .chain-q.is-ok .chain-node::before { background: var(--gr); }
.chain-q.is-ok .chain-node i::before { content: '✓'; }
.chain-q.is-busy .chain-node i { background: var(--bg); color: var(--or); border: 2px solid var(--or); }
.chain-lbl { color: var(--dim); font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.chain-q h3 { font: 600 16.5px/1.25 var(--sans); letter-spacing: -.015em; }
.chain-a { display: grid; gap: 4px; align-content: start; padding-top: 12px; border-top: 1px dashed var(--line2); font: 400 13px/1.5 var(--mono); color: var(--mut); }
.chain-a b { color: var(--fg); font-weight: 500; font-size: 14px; }
.chain-q.is-warn .chain-a b { color: var(--am); } .chain-q.is-ok .chain-a b { color: var(--gr); }
.chain-q [data-when] { display: none; }
.chain[data-phase="idle"] [data-when~="idle"], .chain[data-phase="checking"] [data-when~="checking"], .chain[data-phase="proven"] [data-when~="proven"] { display: grid; gap: 4px; }
@media (max-width: 1100px) {
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain-q { grid-row: auto; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto; gap: 6px 16px; padding: 18px; }
  .chain-node { grid-row: 1 / span 3; align-items: flex-start; height: 100%; }
  .chain-node::before { left: 14px !important; right: auto !important; top: -18px; bottom: -19px; width: 2px; height: auto; transform: none; }
  .chain-q:first-child .chain-node::before { top: 15px; } .chain-q:last-child .chain-node::before { bottom: calc(100% - 30px); }
  .chain-q.is-warn .chain-node::before, .chain-q.is-off .chain-node::before { background: repeating-linear-gradient(180deg, var(--line2) 0 6px, transparent 6px 12px); }
  .chain-q > :not(.chain-node) { grid-column: 2; }
}
.stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-top: 0; }
.stop > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; padding: clamp(20px, 2.6vw, 36px); min-width: 0; }
.stop > div + div { border-left: 1px solid var(--line); background: var(--bg1); }
.stop-list { display: grid; gap: 10px; }
.stop-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: baseline; color: var(--mut); font-size: 15.5px; line-height: 1.45; }
.stop-list li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--dim); transform: translateY(1px); transition: background .3s, border-color .3s, box-shadow .3s; }
.stop-list li.is-done { color: var(--fg); } .stop-list li.is-done::before { background: var(--gr); border-color: var(--gr); }
.stop h3 { font: 650 clamp(20px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.025em; }
.stop [data-when] { display: none; }
.stop[data-phase="idle"] [data-when~="idle"], .stop[data-phase="checking"] [data-when~="checking"], .stop[data-phase="proven"] [data-when~="proven"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.stop-cmd { display: block; padding: 10px 12px; border: 1px solid var(--line); background: #000; color: var(--fg); font: 400 13px/1.5 var(--mono); overflow-wrap: anywhere; }
.stop-bar { width: 100%; height: 3px; background: var(--line); overflow: hidden; }
.stop-bar i { display: block; height: 100%; width: 100%; background: var(--or); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.stop-status { color: var(--dim); font: 400 12.5px/1.5 var(--mono); }
@media (max-width: 900px) { .stop { grid-template-columns: minmax(0, 1fr); } .stop > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- inside HQ ---------- */
.hq-tabs { display: flex; gap: 0; border: 1px solid var(--line); border-bottom: 0; overflow-x: auto; }
.hq-tab { flex: 1 1 0; min-width: 190px; display: grid; gap: 6px; padding: 16px 18px; background: var(--bg); border: 0; border-right: 1px solid var(--line); text-align: left; cursor: pointer; color: var(--mut); position: relative; }
.hq-tab:last-child { border-right: 0; }
.hq-tab b { color: var(--fg); font: 600 16px/1.2 var(--sans); }
.hq-tab span { font-size: 13.5px; line-height: 1.4; }
.hq-tab::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.hq-tab[aria-selected="true"] { background: var(--bg1); } .hq-tab[aria-selected="true"]::after { transform: scaleX(1); }
.hq-stage { position: relative; border: 1px solid var(--line); background: #000; aspect-ratio: 3024 / 1890; overflow: hidden; }
.hq-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.hq-stage > .is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.hq-video { position: relative; }
.hq-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.hq-cap { padding: 12px 0 0; color: var(--dim); font: 400 12.5px/1.5 var(--mono); }

/* ---------- diff vs claim ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.versus-side { display: grid; gap: 16px; align-content: start; padding: 20px 0 0; border-top: 1px solid var(--line2); min-width: 0; }
.versus-side.is-us { border-top-color: var(--fg); }
.versus-x { display: grid; place-items: center; color: var(--dim); font: 500 13px/1 var(--mono); letter-spacing: .1em; }
.diff { margin: 0; padding: 14px; border: 1px solid var(--line); background: #000; font: 400 13px/1.7 var(--mono); overflow-x: auto; white-space: pre; color: var(--mut); }
.diff .add { color: var(--gr); } .diff .del { color: var(--rd); } .diff .hl { color: var(--fg); } .diff .am { color: var(--am); }
@media (max-width: 900px) { .versus { grid-template-columns: minmax(0, 1fr); } .versus-x { padding: 14px; } }

/* ---------- six stages ---------- */
.stages { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); }
.stage-tabs { display: grid; align-content: start; border-right: 1px solid var(--line); }
.stage-tab { display: grid; gap: 2px; padding: 16px 18px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; color: var(--mut); position: relative; transition: background .2s; }
.stage-tab:last-child { border-bottom: 0; }
.stage-tab b { color: var(--fg); font: 600 16px/1.3 var(--sans); }
.stage-tab span { font-size: 13.5px; line-height: 1.35; }
.stage-tab:hover { background: var(--bg1); }
.stage-tab[aria-selected="true"] { background: var(--bg2); }
.stage-panes { display: grid; background: var(--bg1); min-width: 0; }
.stage-pane { grid-area: 1 / 1; display: grid; gap: 18px; align-content: center; padding: clamp(20px, 3.4vw, 52px); min-width: 0; }
.js .stage-pane[hidden] { display: none; }
html:not(.js) .stage-pane { grid-area: auto; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage-tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-tab { flex: none; border-bottom: 0; border-right: 1px solid var(--line); grid-template-columns: auto; padding: 14px 16px; }
  .stage-tab span { display: none; }
  .stage-tab[aria-selected="true"]::before { width: auto; height: 2px; right: 0; bottom: auto; }
}

/* ---------- specimens ---------- */
.spec { grid-template-rows: auto auto 1fr auto; min-height: 280px; }
.spec .h3 { font-size: clamp(22px, 2.4vw, 30px); }
.spec-stop { display: flex; gap: 5px; align-items: center; }
.spec-stop i { width: 22px; height: 4px; background: var(--or); }
.spec-stop i.off { background: var(--line2); }
.spec-stop i.at { background: var(--am); }

/* ---------- the receipt ---------- */
.rcpt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.rcpt { position: relative; padding: 28px clamp(18px, 2.4vw, 30px) 34px; background: var(--bg1); border: 1px solid var(--line2); color: var(--fg); font-family: var(--mono); }
.rcpt-hd { display: grid; gap: 4px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line2); }
.rcpt-hd b { font: 800 22px/1 var(--sans); letter-spacing: -.03em; }
.rcpt-hd span { font-size: 11px; letter-spacing: .08em; color: var(--mut); }
.rcpt .kv { font-size: 12px; }

.rcpt-ft { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); font-size: 12px; line-height: 1.5; color: var(--mut); }
.props { display: grid; gap: 0; border-top: 1px solid var(--line); }
.props > div { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.props b { font: 650 clamp(20px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.025em; }
.props p { color: var(--mut); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) { .rcpt-wrap { grid-template-columns: minmax(0, 1fr); } .rcpt { transform: none; } }

/* ---------- pricing ---------- */
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; display: grid; gap: 22px; align-content: start; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); background: var(--bg); }
.plan.is-pro { border-color: var(--fg); }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 18px/1.2 var(--sans); color: var(--fg); }
.plan-amt { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-amt b { font: 800 clamp(56px, 7vw, 104px)/.85 var(--sans); letter-spacing: -.06em; }
.plan-amt span { color: var(--mut); font: 400 14px/1.4 var(--mono); }
.plan ul { display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--mut); font-size: 15.5px; line-height: 1.5; }
.plan li::before { content: '–'; color: var(--dim); }
.plan li b { color: var(--fg); font-weight: 500; }
@media (max-width: 800px) { .price { grid-template-columns: minmax(0, 1fr); } }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(24px, 3vw, 40px); }
.post { display: grid; grid-template-rows: auto 1fr; background: var(--bg); color: inherit; text-decoration: none; min-width: 0; transition: background .25s; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }

.post-img-none { background: repeating-linear-gradient(135deg, var(--bg2) 0 12px, var(--bg1) 12px 24px); }
.post-body { display: grid; gap: 12px; align-content: start; padding: 18px 0 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--dim); font: 400 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.post-meta b { color: var(--or); font-weight: 600; }
.post h3 { font: 650 clamp(19px, 1.9vw, 24px)/1.2 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.post p:not(.post-meta) { color: var(--mut); font-size: 15px; line-height: 1.55; }
.post-lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto; }
.post-lead .post-img { aspect-ratio: auto; min-height: 320px; position: relative; min-width: 0; }
.post-lead .post-img img { position: absolute; inset: 0; }
.post-lead .post-body { align-content: center; padding: clamp(22px, 4vw, 56px); }
.post-lead h3 { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .posts { grid-template-columns: minmax(0, 1fr); } .post-lead { grid-template-columns: minmax(0, 1fr); } .post-lead .post-img { aspect-ratio: 16 / 9; min-height: 0; } }
.posts-one { grid-template-columns: minmax(0, 1fr); }

/* ---------- install + closing call ---------- */
.install { display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 36px); }
.install ol { display: grid; gap: 14px; counter-reset: s; }
.install ol li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; counter-increment: s; color: var(--mut); font-size: 15.5px; }
.install ol li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line2); border-radius: 50%; color: var(--fg); font: 500 13px/1 var(--mono); }
.install ol li b { color: var(--fg); font-weight: 500; }
.install-facts { color: var(--dim); font: 400 12.5px/1.6 var(--mono); }
.cta { position: relative; overflow: hidden; padding: clamp(88px, 13vw, 200px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta .wrap { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: center; }
.cta .h1 { max-width: 14ch; }
.cta .small { max-width: 52ch; }

/* ---------- site index page ---------- */
.idx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(28px, 5vw, 80px); }
.idx-group h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--or); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.idx-group h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.idx-group a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s var(--ease); }
.idx-group a:hover { padding-left: 10px; }
.idx-group a b { font: 550 17px/1.3 var(--sans); letter-spacing: -.01em; }
.idx-group a span { grid-column: 1; color: var(--mut); font-size: 14px; line-height: 1.45; }
.idx-group a code { grid-row: 1 / span 2; grid-column: 2; align-self: center; padding: 0; border: 0; background: none; color: var(--dim); font-size: 12px; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; }
.idx-group a:hover code { color: var(--or); }
@media (max-width: 800px) { .idx { grid-template-columns: minmax(0, 1fr); } .idx-group a code { display: none; } }

/* ---------- account pages: src/account.css draws the content; here it sits on the dark ground ---------- */
.acct { --tl-bg: var(--bg); --tl-hair: var(--line); padding: clamp(40px, 6vw, 88px) var(--gut); max-width: var(--max); margin: 0 auto; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}
@media print { .tlh, .tl-news, .tlk, .tlf-word, body.tl::before { display: none !important; } body.tl { background: #fff; color: #000; } }

/* ---------- components nested in long text keep their own shape ---------- */
.prose .install ol, .prose .card ul, .prose .card ol, .prose .panel ul, .prose .panel ol { padding-left: 0; list-style: none; }
.prose .install ol > li::marker { content: none; }
.prose .card h3, .prose .panel h3, .prose .card h2, .prose .panel h2 { margin-top: 0; }
.prose .card ul > li::before, .prose .panel ul > li::before { content: none; }
.tbl caption { caption-side: top; padding: 12px 16px; text-align: left; color: var(--dim); font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }

/* buttons are not text links */
.page a.tl-btn { color: var(--fg); text-decoration: none; }
.page a.tl-btn-or { color: #000; }
.page a.card, .page a.post, .page a.more { text-decoration: none; }

/* ---------- the mark, large: the tile, and its line running out of the section ---------- */
.cta-mark { position: relative; width: clamp(72px, 9vw, 120px); aspect-ratio: 1; margin-bottom: 8px; }
.cta-mark svg { display: block; width: 100%; height: 100%; }
.cta-mark::after { content: ''; position: absolute; left: calc(100% - 1px); top: 72.66%; height: 14.84%; width: 100vw; background: var(--or); }

/* a plain label: a state the page is in, not a caption over a heading */
.lbl { color: var(--fg); font: 600 15px/1.4 var(--sans); }
.phead { border-bottom: 1px solid var(--line); }
.post-lead .post-body { padding: clamp(8px, 2vw, 24px) 0 0 clamp(20px, 3vw, 44px); }
@media (max-width: 700px) { .post-lead .post-body { padding: 18px 0 0; } }

/* narrow phones: the install card's button wraps instead of pushing the page wider than the screen */
.install ol li > * { min-width: 0; }
@media (max-width: 400px) { .install .tl-btn { height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: center; } }
.page code.stop-cmd { white-space: normal; }

/* pages/404.css */
/* /404: the tape stands on its own here, not at the foot of a hero */
.page-404 .tape { margin-top: 0; border-bottom: 1px solid var(--line2); border-radius: 8px; }
.page-404 .tape-ln { grid-template-columns: 28px 64px minmax(0, 1fr); }
.page-404 .tape-ln .w { display: block; }
.page-404 .tape-bar { overflow: hidden; }

/* pages/about.css */
/* /about — the founder beside the headline; the facts of ThruLine's own record */
.page-about .who { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-about .who-text { display: grid; gap: 24px; min-width: 0; }
.page-about .founder { display: grid; gap: 0; width: 242px; background: var(--bg1); }
.page-about .founder img { width: 240px; height: 240px; object-fit: cover; filter: saturate(.92); }
.page-about .founder figcaption { display: grid; gap: 4px; padding: 16px; border-top: 1px solid var(--line); color: var(--mut); font: 400 12.5px/1.5 var(--mono); }
.page-about .founder figcaption b { color: var(--fg); font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; }
@media (max-width: 820px) { .page-about .who { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.page-about .stop > div > p:not(.card-n) { color: var(--fg); font: 600 clamp(18px, 2vw, 24px)/1.3 var(--sans); letter-spacing: -.02em; }
.page-about .facts { font-size: 14px; }
.page-about .facts dd { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }
.page-about .rules { margin-top: clamp(32px, 5vw, 64px); }
.page-about .rules .card { grid-template-rows: auto auto 1fr auto; }
.page-about .rule-ft { padding-top: 12px; border-top: 1px dashed var(--line2); color: var(--dim); font: 400 12.5px/1.5 var(--mono); }

/* pages/compare/ai-code-review.css */
/* /compare/ai-code-review: a six-column table, and blocks that follow a grid */
.page-compare-ai-code-review .phead .h1 { max-width: 20ch; }
.page-compare-ai-code-review .phead .lede { max-width: 74ch; }
.page-compare-ai-code-review .phead .lede + .lede { font-size: 17px; }
.page-compare-ai-code-review .phead .note { max-width: 74ch; }
.page-compare-ai-code-review .phead .note .tag { margin-right: 10px; }
.page-compare-ai-code-review .after { margin-top: clamp(28px, 4vw, 48px); }
.page-compare-ai-code-review .sub { margin-top: clamp(48px, 7vw, 96px); }
.page-compare-ai-code-review .try { margin-bottom: 0; }
.page-compare-ai-code-review .h2-s { font-size: clamp(26px, 3vw, 40px); }
.page-compare-ai-code-review .card .h3 a { text-decoration: none; }
.page-compare-ai-code-review .card .h3 a::after { content: ' →'; color: var(--or); font-family: var(--mono); font-size: .8em; }
.page-compare-ai-code-review .six .card { gap: 10px; }
.page-compare-ai-code-review .six .card p:not(.card-n) { color: var(--mut); font-size: 16.5px; }
.page-compare-ai-code-review .props { align-content: start; }
.page-compare-ai-code-review .props > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.page-compare-ai-code-review .tbl { min-width: 1080px; font-size: 14.5px; }
.page-compare-ai-code-review .tbl thead th { position: static; }
.page-compare-ai-code-review .tbl tbody th { white-space: nowrap; }
.page-compare-ai-code-review .tbl td:last-child { white-space: nowrap; font: 400 12.5px/1.6 var(--mono); }
.page-compare-ai-code-review .tbl .is-us th { color: var(--fg); }
.page-compare-ai-code-review .tbl-wrap:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.page-compare-ai-code-review .install ol li { font-size: 16.5px; align-items: center; }
@media (max-width: 640px) { .page-compare-ai-code-review .tbl tbody th { white-space: normal; } }

/* pages/contact.css */
/* /contact: the form. Fields are drawn as lines of the record: mono labels, hairline boxes, one orange focus. */
.page-contact .form { display: grid; gap: 24px; margin: 0; background: var(--bg); }
.page-contact .field { display: grid; gap: 8px; min-width: 0; }
.page-contact .field-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.page-contact .field label { color: var(--fg); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.page-contact .opt { color: var(--dim); font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.page-contact .field input, .page-contact .field select, .page-contact .field textarea {
  box-sizing: border-box; display: block; width: 100%; min-height: 50px; margin: 0; padding: 0 14px;
  background: #000; color: var(--fg); border: 1px solid var(--line2); border-radius: 2px;
  font: 400 16px/1.5 var(--sans); transition: border-color .15s, box-shadow .15s;
}
.page-contact .field textarea { min-height: 144px; padding: 12px 14px; resize: vertical; }
.page-contact .field select { padding-right: 44px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.page-contact .field select option { background: var(--bg2); color: var(--fg); }
.page-contact .field input:hover, .page-contact .field select:hover, .page-contact .field textarea:hover { border-color: var(--dim); }
.page-contact .field input:focus-visible, .page-contact .field select:focus-visible, .page-contact .field textarea:focus-visible {
  outline: 0; border-color: var(--or); box-shadow: 0 0 0 3px var(--or-dim); border-radius: 2px;
}
.page-contact .pick { position: relative; }
.page-contact .pick::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border: solid var(--mut); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.page-contact .hint { color: var(--mut); font-size: 14px; line-height: 1.5; }
.page-contact .send { gap: 14px 20px; padding-top: 4px; }
.page-contact .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.page-contact .panel-pad > p:not([class]) { color: var(--fg); font-size: 17px; line-height: 1.55; }
.page-contact .split .sec-head { margin-bottom: 0; }
@media (max-width: 480px) { .page-contact .send .tl-btn { width: 100%; } }

/* pages/faq.css */
/* /faq — questions are real headings inside their summaries; answers carry tables and an app window */
.page-faq .faq summary { padding: 26px 0; scroll-margin-top: calc(var(--hh) + 24px); }
.page-faq .faq details { scroll-margin-top: calc(var(--hh) + 24px); }
.page-faq .faq summary h2 { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: baseline; font: 600 clamp(19px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.page-faq .faq .q-n { color: var(--or); font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.page-faq .faq .faq-a { max-width: 78ch; padding: 0 0 34px 46px; gap: 16px; }
.page-faq .faq .faq-a > .more { justify-self: start; margin-top: 4px; }
.page-faq .faq .tbl { min-width: 520px; font-size: 14.5px; }
.page-faq .faq .tbl td.mono { font-size: 12.5px; color: var(--dim); }
.page-faq .toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
@media (max-width: 640px) {
  .page-faq .faq summary h2 { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; }
  .page-faq .faq .faq-a { padding-left: 0; }
}

/* pages/pricing.css */
/* /pricing: the plan cards carry real headings, and the terms sit under the buy buttons as a record */
.page-pricing .plan .h2 { font-size: clamp(28px, 3.2vw, 44px); }
.page-pricing .plan-name h3 { font: inherit; letter-spacing: inherit; color: var(--fg); }
.page-pricing .plan > p:not([class]) { color: var(--fg); font: 500 17px/1.5 var(--sans); }
.page-pricing .plan .tl-btn { justify-self: start; }
.page-pricing .plan .tag { white-space: normal; line-height: 1.4; }
.page-pricing .plan li > span { min-width: 0; }
.page-pricing .terms { margin-top: 28px; padding: clamp(16px, 2vw, 24px); border: 1px solid var(--line); background: var(--bg1); font-size: 13.5px; line-height: 1.6; }
.page-pricing .tbl { min-width: 620px; }
.page-pricing .tbl tbody th { width: 46%; }
@media (max-width: 480px) { .page-pricing .plan .tl-btn { justify-self: stretch; } }

/* pages/privacy.css */
/* /privacy — only what the long-text vocabulary lacks */
.page-privacy .eff { color: var(--mut); font: 400 13px/1.6 var(--mono); }
.page-privacy .eff b { margin-right: 10px; color: var(--or); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.page-privacy .lbl { color: var(--dim); font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.page-privacy .tbl { min-width: 520px; }
.page-privacy .tbl caption { padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg1); color: var(--dim); font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.page-privacy .tbl tbody th { width: 9.5em; }
.page-privacy .tbl code { white-space: normal; overflow-wrap: anywhere; }
.page-privacy .term-bar { white-space: normal; height: auto; min-height: 36px; padding: 8px 12px; flex-wrap: wrap; }
.page-privacy .card { text-decoration: none; }
.page-privacy .card .arr { color: var(--or); }
.page-privacy a.card:hover { background: var(--bg1); }
.page-privacy .sec-alt a.card:hover { background: var(--bg2); }

/* pages/product.css */
/* /product — one Change walked through six stages. Every selector sits under .page-product. */

/* ---------- head ---------- */
.page-product .p-meta { color: var(--dim); font: 400 12.5px/1.6 var(--mono); max-width: 70ch; }
.page-product .p-meta a { color: var(--mut); }
.page-product .p-flow { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--mut); font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.page-product .p-flow li + li::before { content: '→'; margin-right: 12px; color: var(--or); }

/* ---------- the six stages: a sticky rail, the stages scroll past it ---------- */
.page-product .p-stages { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.page-product .p-rail { position: sticky; top: calc(var(--hh) + 28px); display: grid; gap: 14px; }
.page-product .p-rail h3 { color: var(--dim); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.page-product .p-rail ol { display: grid; border-left: 1px solid var(--line); }
.page-product .p-rail a { position: relative; display: grid; gap: 2px; padding: 12px 0 12px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mut); text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.page-product .p-rail a i { grid-row: 1 / span 2; color: var(--dim); font: 500 12px/1.75 var(--mono); font-style: normal; }
.page-product .p-rail a b { color: var(--fg); font: 600 16px/1.3 var(--sans); letter-spacing: -.01em; }
.page-product .p-rail a span { font-size: 13.5px; line-height: 1.35; }
.page-product .p-rail a:hover { background: var(--bg2); }
.page-product .p-rail a:hover i { color: var(--or); }

.page-product .p-list { display: grid; min-width: 0; }
.page-product .p-stage { display: grid; gap: clamp(22px, 2.6vw, 34px); padding: clamp(44px, 6vw, 88px) 0; border-top: 1px solid var(--line); min-width: 0; scroll-margin-top: calc(var(--hh) + 8px); }
.page-product .p-stage:first-child { padding-top: 0; border-top: 0; }
.page-product .p-stage:last-child { padding-bottom: 0; }
.page-product .p-stage-hd { display: grid; gap: 6px; }
.page-product .p-stage-hd .h3 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.page-product .p-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.page-product .p-say { display: grid; gap: 14px; color: var(--mut); font-size: 17px; line-height: 1.6; }
.page-product .p-say strong { color: var(--fg); font-weight: 550; }
.page-product .p-say code { white-space: normal; }
.page-product .p-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--dim); font: 400 12.5px/1.5 var(--mono); }
.page-product .p-built { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--line2); font-size: 14.5px; line-height: 1.5; color: var(--mut); }
.page-product .p-built dt { justify-self: start; }

/* numbered notes beside a screen, and the matching marks inside it */
.page-product .p-call { display: grid; gap: 0; border: 1px solid var(--line); background: var(--bg); }
.page-product .p-call li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 13px 16px; color: var(--mut); font-size: 15px; line-height: 1.5; }
.page-product .p-call li + li { border-top: 1px solid var(--line); }
.page-product .p-call li b { color: var(--fg); font-weight: 500; }
.page-product .p-call code { white-space: normal; }
.page-product .p-n { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--or); color: #000; font: 700 11px/1 var(--mono); vertical-align: 1px; }
.page-product .ui .p-n { margin: 0 6px; }
.page-product .p-cap { color: var(--fg); font: 500 16px/1.5 var(--sans); max-width: 70ch; }
.page-product .p-cap code { white-space: normal; }

/* ---------- inside the windows ---------- */
.page-product .ui { box-shadow: 0 40px 100px -50px #000; }
.page-product .ui-bar { text-overflow: ellipsis; }
.page-product .ui-bar span { overflow: hidden; text-overflow: ellipsis; }
.page-product .ui-body { gap: 14px; padding: clamp(16px, 2.2vw, 26px); }
.page-product .ui-body code { white-space: normal; overflow-wrap: anywhere; }
.page-product .ui-h { color: var(--fg); font: 650 clamp(19px, 2vw, 25px)/1.2 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.page-product .ui-body .ui-h, .page-product .ui-body .ui-fg { color: var(--fg); }
.page-product .ui-back { color: var(--dim); font: 400 12.5px/1.4 var(--mono); }
.page-product .ui-q { padding: 12px 14px; background: var(--bg); color: var(--fg); font-size: 15.5px; }
.page-product .ui-sub { display: block; color: var(--dim); font: 400 12px/1.5 var(--mono); }
.page-product .ui-group { display: grid; gap: 10px; }
.page-product .ui-sep { padding-top: 14px; border-top: 1px solid var(--line); }
.page-product .ui-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.page-product .ui-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 4px; color: var(--fg); font: 400 12.5px/1 var(--mono); }
.page-product .ui-chip i { color: var(--dim); font-style: normal; }
.page-product .ui-chip-add { border-style: dashed; color: var(--mut); }
.page-product .ui-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.page-product .ui-btn-lg { height: 34px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.page-product .ui-kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 18px; }
.page-product .ui-kv dt { padding: 9px 0; border-top: 1px dashed var(--line); color: var(--mut); font-size: 13.5px; }
.page-product .ui-kv dd { padding: 9px 0; border-top: 1px dashed var(--line); color: var(--fg); font: 400 13px/1.5 var(--mono); overflow-wrap: anywhere; }
.page-product .ui-kv dd small { display: block; color: var(--dim); font: 400 12.5px/1.5 var(--sans); }
.page-product .ui-kv dt:first-of-type, .page-product .ui-kv dt:first-of-type + dd { border-top: 0; }
.page-product .ui-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.page-product .ui-cols > * { display: grid; gap: 12px; align-content: start; padding: 16px; background: var(--bg1); min-width: 0; }
.page-product .ui-count { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-product .ui-count > span:not(.p-n) { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--mut); font-size: 13px; }
.page-product .ui-count b { color: var(--fg); font: 600 13px/1 var(--mono); }
.page-product .ui-item { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.page-product .ui-item > b { color: var(--fg); font: 600 15.5px/1.3 var(--sans); }
.page-product .ui-list { display: grid; gap: 6px; }
.page-product .ui-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; color: var(--fg); }
.page-product .ui-list li::before { content: ''; width: 6px; height: 1px; margin-top: .75em; background: var(--or); }
.page-product .ui-ends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.page-product .ui-ends li { display: grid; gap: 4px; align-content: start; padding: 12px 14px; background: var(--bg); color: var(--mut); font-size: 13.5px; line-height: 1.45; }
.page-product .ui-ends b { color: var(--fg); font: 600 14.5px/1.3 var(--sans); }
.page-product .ui-ends b small { color: var(--dim); font: 400 12px/1 var(--mono); }
.page-product .ui-ends .is-pass b { color: var(--gr); }

/* the six-step chain, drawn down the Brief */
.page-product .p-chain { display: grid; }
.page-product .p-chain li { position: relative; display: grid; grid-template-columns: 28px 104px minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 9px 0; }
.page-product .p-chain li::before { content: ''; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: var(--or); }
.page-product .p-chain li:first-child::before { top: 50%; }
.page-product .p-chain li:last-child::before { bottom: 50%; }
.page-product .p-chain li.is-warn::before { background: linear-gradient(180deg, var(--or) 50%, transparent 0), repeating-linear-gradient(180deg, var(--line2) 0 5px, transparent 5px 10px); }
.page-product .p-chain li.is-off::before { background: repeating-linear-gradient(180deg, var(--line2) 0 5px, transparent 5px 10px); }
.page-product .p-chain i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--or); color: #000; font: 700 12px/1 var(--mono); font-style: normal; align-self: center; }
.page-product .p-chain .is-warn i { background: var(--bg1); color: var(--am); border: 2px solid var(--am); }
.page-product .p-chain .is-off i { background: var(--bg1); color: var(--dim); border: 2px dashed var(--line2); }
.page-product .p-chain .lbl { color: var(--dim); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.page-product .p-chain .val { color: var(--mut); font: 400 13px/1.5 var(--mono); min-width: 0; }
.page-product .p-chain .val b { display: block; color: var(--fg); font-weight: 500; font-size: 14px; }
.page-product .p-chain .is-warn .val b { color: var(--am); }
.page-product .p-stop { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line2); border-radius: 4px; background: var(--bg); }
.page-product .p-stop .big { color: var(--fg); font: 700 clamp(22px, 2.6vw, 32px)/1.05 var(--sans); letter-spacing: -.03em; }

/* ---------- the thirteen marks ---------- */
.page-product .p-mark { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: 3px; color: var(--fg); font: 500 12.5px/1.4 var(--mono); }
.page-product .p-mark small { color: var(--mut); font: inherit; font-weight: 400; }
.page-product .p-mark.is-proven { background: var(--gr); border-color: var(--gr); color: #000; }
.page-product .p-mark.is-proven small { color: #000; }
.page-product .p-mark.is-open { border-style: dashed; }
.page-product .p-mark.is-bad { border-color: var(--rd); color: var(--rd); }
.page-product .p-mark.is-stale { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(255, 197, 61, .16) 5px 6px); border-color: var(--am); color: var(--am); }
.page-product .p-mark.is-fog { border-style: dashed; background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(154, 154, 164, .14) 5px 6px); color: var(--mut); }
.page-product .p-mark.is-dot { border-style: dotted; color: var(--mut); }
.page-product .p-mark.is-bare { border-color: transparent; padding-left: 0; }
.page-product .p-mark.is-ready { border-color: var(--fg); }
.page-product .p-mark.is-approved { background: var(--fg); border-color: var(--fg); color: #000; }
.page-product .p-mark.is-approved small { color: #000; }
.page-product .p-marks td:nth-child(2) { white-space: normal; }
.page-product .p-marks tbody th span { display: block; margin-top: 3px; color: var(--mut); font-size: 13.5px; font-weight: 400; line-height: 1.4; }
.page-product .p-marks td .more { margin-top: 10px; font-size: 12px; }
.page-product .p-legend { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg); color: var(--mut); font: 400 12.5px/1.4 var(--mono); }
.page-product .p-legend > b { color: var(--dim); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.page-product .p-legend > span { display: inline-flex; align-items: center; gap: 10px; }
.page-product .p-legend i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--or); color: #000; font: 700 11px/1 var(--mono); font-style: normal; }
.page-product .p-legend i.off { background: none; color: var(--dim); border: 2px dashed var(--line2); }
.page-product .p-legend i.thread { width: 44px; height: 2px; border-radius: 0; }
.page-product .p-legend i.halt { width: 22px; height: 12px; border-radius: 0; background: linear-gradient(90deg, var(--or) 0 16px, transparent 16px 19px, var(--or) 19px) center / 100% 2px no-repeat, linear-gradient(var(--or), var(--or)) right / 3px 100% no-repeat; }

/* ---------- what only ThruLine does ---------- */
.page-product .p-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: clamp(36px, 5vw, 64px) 0 20px; }
.page-product .p-sub:first-of-type { margin-top: 0; }
.page-product .p-sub .small { max-width: 60ch; }
.page-product .p-only .card { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 14px; }
.page-product .p-only .card > * { grid-column: 2; }
.page-product .p-only .card > .card-n { grid-column: 1; grid-row: 1 / span 4; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.page-product .p-only .card code { white-space: normal; }
.page-product .p-only.is-wip .card { background: var(--bg1); }
.page-product .p-only.is-wip .card > .card-n { color: var(--dim); }
.page-product .p-where { padding-top: 10px; border-top: 1px dashed var(--line2); color: var(--fg); font: 400 12.5px/1.5 var(--mono); }
.page-product .card p.p-where { color: var(--fg); font-size: 12.5px; }

/* ---------- the field ---------- */
.page-product .tbl-field { min-width: 1120px; font-size: 14px; }
.page-product .tbl-field td:nth-child(n+5), .page-product .tbl .src { color: var(--dim); font: 400 12px/1.6 var(--mono); }
.page-product .tbl-field td:last-child { white-space: nowrap; }
.page-product .tbl .src span { display: block; }
.page-product .tbl .us { background: var(--or-dim); color: var(--fg); }
.page-product .tbl thead .us { color: var(--or); }
.page-product .tbl .arrow { width: 1%; padding-left: 0; padding-right: 0; color: var(--or); font-family: var(--mono); }
.page-product .tbl code { white-space: nowrap; }
.page-product .p-note { margin-top: 14px; color: var(--dim); font: 400 12.5px/1.6 var(--mono); max-width: 110ch; }
.page-product .p-h3 { margin: clamp(44px, 6vw, 80px) 0 20px; display: grid; gap: 12px; max-width: 880px; scroll-margin-top: calc(var(--hh) + 24px); }

/* ---------- try it ---------- */
.page-product .p-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.page-product .p-try .sec-head { margin-bottom: 0; }

@media (max-width: 1000px) {
  .page-product .p-stages { grid-template-columns: minmax(0, 1fr); }
  .page-product .p-rail { position: static; }
  .page-product .p-rail ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
  .page-product .p-rail a { margin: 0; padding: 12px 14px; border-left: 0; background: var(--bg); height: 100%; }
  .page-product .p-top, .page-product .p-try { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-product .p-rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-product .p-rail a { grid-template-columns: minmax(0, 1fr); }
  .page-product .p-rail a i { grid-row: auto; }
  .page-product .ui-cols, .page-product .ui-ends, .page-product .ui-kv { grid-template-columns: minmax(0, 1fr); }
  .page-product .ui-kv dd { border-top: 0; padding-top: 0; }
  .page-product .p-chain li { grid-template-columns: 28px minmax(0, 1fr); }
  .page-product .p-chain .val { grid-column: 2; }
  .page-product .p-only .card { grid-template-columns: minmax(0, 1fr); }
  .page-product .p-only .card > *, .page-product .p-only .card > .card-n { grid-column: 1; grid-row: auto; }
  .page-product .ui-row .ui-acts { flex-wrap: wrap; }
}

/* the rail lights the stage that is on screen: scroll-driven, no script; without support the rail is a plain list */
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  @media (min-width: 1001px) {
    .page-product .p-stages { timeline-scope: --ps1, --ps2, --ps3, --ps4, --ps5, --ps6; }
    .page-product .p-stage { view-timeline-axis: block; view-timeline-inset: 30% 60%; }
    .page-product #define { view-timeline-name: --ps1; } .page-product #prepare { view-timeline-name: --ps2; } .page-product #build { view-timeline-name: --ps3; }
    .page-product #verify { view-timeline-name: --ps4; } .page-product #review { view-timeline-name: --ps5; } .page-product #approve { view-timeline-name: --ps6; }
    .page-product .p-rail a { animation: p-rail-n 1s linear; animation-range: cover; }
    .page-product .p-rail a i { animation: p-rail-n 1s linear; animation-range: cover; }
    .page-product .p-rail li:nth-child(1) a, .page-product .p-rail li:nth-child(1) a i { animation-timeline: --ps1; }
    .page-product .p-rail li:nth-child(2) a, .page-product .p-rail li:nth-child(2) a i { animation-timeline: --ps2; }
    .page-product .p-rail li:nth-child(3) a, .page-product .p-rail li:nth-child(3) a i { animation-timeline: --ps3; }
    .page-product .p-rail li:nth-child(4) a, .page-product .p-rail li:nth-child(4) a i { animation-timeline: --ps4; }
    .page-product .p-rail li:nth-child(5) a, .page-product .p-rail li:nth-child(5) a i { animation-timeline: --ps5; }
    .page-product .p-rail li:nth-child(6) a, .page-product .p-rail li:nth-child(6) a i { animation-timeline: --ps6; }
  }
}
@keyframes p-rail-n { from, to { color: var(--or); } }

/* pages/security.css */
/* /security — only what the system does not already draw */
.page-security .after { margin-top: clamp(20px, 2.6vw, 32px); }
.page-security .glance > li { display: grid; min-width: 0; }
.page-security .glance .card { height: 100%; }
@media (min-width: 641px) { .page-security .glance > li:first-child { grid-column: span 2; } }
.page-security .glance .h3 { font-size: clamp(18px, 1.7vw, 22px); }

/* what can leave / what never leaves */
.page-security .flow-list { display: grid; gap: 0; }
.page-security .flow-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.page-security .flow-list li:first-child { border-top: 0; padding-top: 0; }
.page-security .flow-list li::before { content: '–'; grid-row: 1 / span 2; color: var(--dim); font: 500 14px/1.6 var(--mono); }
.page-security .flow-list.is-never li::before { content: '✕'; color: var(--gr); }
.page-security .flow-list b { color: var(--fg); font: 550 17px/1.35 var(--sans); letter-spacing: -.01em; }
.page-security .flow-list span { grid-column: 2; color: var(--mut); font-size: 15px; line-height: 1.55; }
.page-security .rowby { margin: clamp(32px, 4vw, 52px) 0 16px; }
.page-security .tbl th .small, .page-security .tbl td .small { margin-top: 6px; font-weight: 400; }
.page-security .tbl :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }

/* the four promises, and the sheet that carries them */
.page-security .props > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.page-security .props h3 { font: 650 clamp(20px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.025em; }
.page-security .sheet-step { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 12px; border-top: 1px dashed var(--line); }
.page-security .sheet-step > i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--or); border-radius: 50%; color: var(--or); font: 500 11px/1 var(--mono); font-style: normal; }
.page-security .sheet-step > div { display: grid; gap: 6px; min-width: 0; }
.page-security .sheet-t { color: var(--fg); font-weight: 550; }
.page-security .outcomes { display: grid; gap: 16px; justify-items: start; margin-top: clamp(28px, 4vw, 56px); }
.page-security .outcomes > p:first-child { color: var(--fg); font-weight: 500; }
.page-security .outcomes .state { white-space: normal; line-height: 1.3; }

/* the receipt */
.page-security .receipt { margin-top: clamp(40px, 6vw, 88px); }

/* approval: does / does not */
.page-security .nots { display: grid; gap: 6px; }
.page-security .nots li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; font: 700 clamp(26px, 3.4vw, 44px)/1.08 var(--sans); letter-spacing: -.035em; }
.page-security .nots li::before { content: '✕'; color: var(--rd); font: 400 .6em/1 var(--mono); }
.page-security .ui-row u { text-decoration-color: var(--line2); text-underline-offset: 4px; }

/* pages/specimens.css */
/* /specimens and /specimens/<slug>: shared. Every selector starts with a .page-specimens… class. */

/* the chain, static: two states the home page's replay never needs */
[class*="page-specimens"] .chain-q.is-need .chain-node i { background: var(--bg); color: var(--am); border: 2px solid var(--am); }
[class*="page-specimens"] .chain-q.is-need .chain-a b { color: var(--am); }
[class*="page-specimens"] .chain-q.is-none .chain-node i { border-style: dotted; }
[class*="page-specimens"] .chain-q.is-none .chain-node i::before { content: '⋯'; }
[class*="page-specimens"] .chain-lbl span { color: var(--mut); }
[class*="page-specimens"] .chain-q.is-warn .chain-lbl span { color: var(--am); }
[class*="page-specimens"] .chain-q.is-ok .chain-lbl span { color: var(--gr); }
[class*="page-specimens"] .chain-a a { color: var(--fg); }
[class*="page-specimens"] .chain-said .tag { margin-left: auto; }

/* two links drawn, four named and not drawn (specimen 04) */
@media (min-width: 1101px) { [class*="page-specimens"] .spc-chain2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); } }
[class*="page-specimens"] .spc-chain2 .is-off .chain-node i::before { content: '–'; }

/* what sits under a chain */
[class*="page-specimens"] .stop p:not([class]) { color: var(--mut); font-size: 15.5px; line-height: 1.6; }
[class*="page-specimens"] .stop p:not([class]) b { color: var(--fg); font-weight: 500; }
[class*="page-specimens"] .spc-after { margin-top: clamp(20px, 3vw, 36px); }
[class*="page-specimens"] .spc-cap { margin: clamp(24px, 3vw, 40px) 0 12px; color: var(--dim); font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
[class*="page-specimens"] .ui .tbl { min-width: 520px; font-size: 14px; }
[class*="page-specimens"] .ui .tbl-wrap { background: var(--bg); }
[class*="page-specimens"] del { color: var(--rd); text-decoration-thickness: 1.5px; }
[class*="page-specimens"] .spc-fix { color: var(--gr); }

/* versions, or steps, oldest first */
[class*="page-specimens"] .spc-tl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); font: 400 12.5px/1.5 var(--mono); }
[class*="page-specimens"] .spc-tl li { display: grid; gap: 2px; align-content: start; padding: 12px 12px 14px; background: var(--bg); border-top: 2px solid var(--or); color: var(--mut); min-width: 0; overflow-wrap: anywhere; }
[class*="page-specimens"] .spc-tl li b { color: var(--fg); font-weight: 500; }
[class*="page-specimens"] .spc-tl li.is-edit { border-top-color: var(--am); background: var(--bg2); }
[class*="page-specimens"] .spc-tl li.is-edit b { color: var(--am); }
[class*="page-specimens"] .spc-tl li.is-now { border-top: 2px dashed var(--line2); }
@media (max-width: 640px) {
  [class*="page-specimens"] .spc-tl { grid-auto-flow: row; }
  [class*="page-specimens"] .spc-tl li { border-top: 0; border-left: 1px solid var(--line2); }
  [class*="page-specimens"] .spc-tl li.is-edit { border-left-color: var(--line2); }
  [class*="page-specimens"] .spc-tl li.is-now { border-top: 0; border-left: 1px dashed var(--line2); }
}

/* a count, each number with its own word */
[class*="page-specimens"] .spc-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
[class*="page-specimens"] .spc-nums > div { display: grid; gap: 6px; padding: 18px; background: var(--bg); }
[class*="page-specimens"] .spc-nums dd { font: 800 clamp(40px, 5vw, 64px)/.9 var(--sans); letter-spacing: -.05em; }
[class*="page-specimens"] .spc-nums dt { order: 2; color: var(--mut); font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
[class*="page-specimens"] .spc-nums .is-bad dd { color: var(--rd); }

/* index cards: two more segment states, and room for the evidence line */
[class*="page-specimens"] .spec-stop i.need { background: var(--am); }
[class*="page-specimens"] .spec-stop i.bad { background: var(--rd); }
[class*="page-specimens"] .spec-stop span { margin-left: 6px; }
[class*="page-specimens"] .spc-ev { display: grid; gap: 4px; padding-top: 12px; border-top: 1px dashed var(--line2); color: var(--mut); font: 400 12.5px/1.5 var(--mono); overflow-wrap: anywhere; }
[class*="page-specimens"] .spc-ev b { color: var(--fg); font-weight: 500; }
[class*="page-specimens"] .spc-nav .card { min-height: 0; }
[class*="page-specimens"] .spc-src { color: var(--dim); font: 400 12.5px/1.5 var(--mono); }
[class*="page-specimens"] .stop-status b { color: var(--fg); font-weight: 500; }

/* pages/terms.css */
/* /terms — only what the long-text vocabulary lacks */
.page-terms .sig { color: var(--mut); font: 400 13px/1.6 var(--mono); }
.page-terms .tbl { min-width: 420px; }
.page-terms .tbl caption { padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg1); color: var(--dim); font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.page-terms .unl .card { gap: 10px; }
.page-terms .unl .card p b { font-size: 17px; }
.page-terms .unl .card p + .card-n { margin-top: 14px; }
.page-terms .unl .card ul { color: var(--mut); font-size: 15.5px; line-height: 1.6; }
.page-terms .unl code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .page-terms .unl { grid-template-columns: minmax(0, 1fr); } }
.page-terms .defs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.page-terms .defs dt { padding-top: 18px; color: var(--fg); font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.page-terms .defs dd { padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.page-terms .prose .install ol { padding-left: 0; list-style: none; }
.page-terms .shot { display: grid; gap: 14px; }
.page-terms .shot h3 { margin-top: 0; }
.page-terms .shot-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.page-terms .shot-cap { color: var(--dim); font: 400 12px/1.4 var(--mono); }
.page-terms .shot .state { white-space: normal; line-height: 1.3; }
