:root{
  --sand:#F5F0E6;
  --paper:#FFFDF9;
  --white:#FFFFFF;
  --ink:#17182B;
  --ink-2:#2E3048;
  --ink-line:#5C5E78;
  --on-ink-muted:#B9B3A6;
  --indigo:#2F3C9E;
  --indigo-dark:#232E7F;
  --marigold:#F2B33D;
  --reject:#B3321F;
  --error:#A8321E;
  --muted:#575247;
  --slate:#6E7085;
  --line:#D8CFBF;
  --line-soft:#EDE5D6;
  --line-strong:#B5AB99;
  --field-line:#9C9384;
  --head:Alexandria,sans-serif;
  --body:'IBM Plex Sans',system-ui,sans-serif;
  --code:'IBM Plex Mono',ui-monospace,monospace;
}

*{box-sizing:border-box}
[hidden]{display:none !important}
body{margin:0;background:var(--sand);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5}
a{color:var(--indigo)}
a:hover{color:var(--indigo-dark)}
:focus-visible{outline:3px solid var(--indigo);outline-offset:3px}
.side :focus-visible,.ink :focus-visible{outline-color:var(--marigold)}
h1,h2,h3{margin:0;font-family:var(--head);font-weight:600;letter-spacing:-0.02em}
p{margin:0}
button,input,select{font:inherit}
button{cursor:pointer}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:8px;top:-60px;z-index:2;background:var(--paper);padding:11px 14px;border-radius:6px}
.skip:focus{top:8px}

/* ---- shell: ink sidebar, sand main ---- */
.shell{display:flex;min-height:100vh}
.side{flex:none;width:260px;height:100vh;position:sticky;top:0;align-self:flex-start;overflow-y:auto;background:var(--ink);color:var(--sand);padding:20px 14px;display:flex;flex-direction:column;gap:28px}
.side-bar{display:flex;justify-content:space-between;align-items:center}
.brand{font-family:var(--head);font-weight:600;font-size:17px;padding:0 12px}
.menu{display:none;width:44px;height:44px;border:1px solid var(--ink-line);border-radius:6px;background:transparent;align-items:center;justify-content:center}
.side-body{flex:1;display:flex;flex-direction:column;gap:28px}
.side nav{display:flex;flex-direction:column;gap:2px}
.side nav a{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 12px;border-radius:6px;color:var(--sand);text-decoration:none}
.side nav a:hover{background:var(--ink-2)}
.side nav a[aria-current="page"]{background:var(--sand);color:var(--ink);font-weight:600}
.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:14px;padding:0 12px}
.side-foot .k{font-size:13px;color:var(--on-ink-muted)}
.side-foot .v{font-size:14px}
.side-foot .left{display:flex;justify-content:space-between;font-size:13px}
.meter{height:6px;background:var(--ink-2);border-radius:3px;margin-top:6px}
.meter span{display:block;height:6px;background:var(--marigold);border-radius:3px}
main{flex:1;min-width:0;display:flex;flex-direction:column}

.head{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:16px 28px;min-height:84px;border-bottom:1px solid var(--line)}
.head h1{font-size:22px;line-height:1.2}
.head .title{margin-right:auto}
.note{padding:8px 28px;background:var(--line-soft);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.grid{padding:24px 28px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.s3{grid-column:span 3}.s4{grid-column:span 4}.s5{grid-column:span 5}.s6{grid-column:span 6}
.s7{grid-column:span 7}.s8{grid-column:span 8}.s12{grid-column:span 12}

/* ---- shared pieces ---- */
.tile{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}
.tile.key{border-color:var(--ink)}
.tile.ink,.ink{background:var(--ink);border-color:var(--ink);color:var(--sand)}
.ink h2{color:var(--sand)}
.ink .dim{color:var(--on-ink-muted);font-size:13px}
.ink .dim.long{font-size:14px}
.ink a{color:var(--sand)}
.th{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.th h2,.tile>h2{font-size:16px}
.lbl{font-size:13px;color:var(--muted)}
.mono{font-family:var(--code);font-size:13px}
.big{font-family:var(--head);font-weight:600;line-height:1;letter-spacing:-0.03em;overflow-wrap:anywhere}
.strong{font-weight:600}
/* Data labels. Every number says where it comes from, and the three kinds must not be confused:
   made-up data carries a hatched key (the chart convention for modelled values), real data is
   solid ink, and your own inputs take the indigo of the controls you can edit. */
.tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:20px;padding:0 8px 0 6px;border:1px solid var(--ink);border-radius:4px;background:var(--paper);color:var(--ink);white-space:nowrap;font-family:var(--body);font-weight:500;letter-spacing:0}
.tag::before{content:"";width:10px;height:10px;border:1px solid var(--ink);background:repeating-linear-gradient(135deg,var(--paper) 0 2px,var(--ink) 2px 3px)}
.tag.real{background:var(--ink);color:var(--sand);font-weight:600}
.tag.real::before{background:var(--sand);border-color:var(--sand)}
.tag.input{padding-left:8px;border-color:var(--indigo);color:var(--indigo)}
.tag.input::before{content:none}
/* A caption pinned to the bottom of its card, under a hairline. */
.cap{margin-top:auto;border-top:1px solid var(--line-soft);padding-top:14px;font-size:13px;color:var(--muted)}
.rule{border-top:1px solid var(--line-soft);padding-top:14px}
.go{display:inline-flex;align-items:center;min-height:44px;font-weight:500}
.keyline{display:flex;gap:6px 16px;flex-wrap:wrap}
.keyline span{display:inline-flex;gap:6px;align-items:center}
.bar-r,.bar-m{display:inline-block;width:8px;height:14px;background:var(--reject)}
.bar-m{background:var(--marigold)}

.segs{display:flex;gap:6px}
.seg{font-size:14px;line-height:1.2;min-height:44px;padding:0 12px;border-radius:6px;border:1px solid var(--line-strong);background:transparent;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.seg:hover{color:var(--ink)}
.seg[aria-pressed="true"],.seg[aria-current="true"]{background:var(--ink);border-color:var(--ink);color:var(--sand)}
.seg[aria-disabled="true"]{border-color:var(--line);color:var(--muted);cursor:default}
.sel{font-size:14px;min-height:44px;padding:0 10px;border-radius:6px;border:1px solid var(--line-strong);background:var(--paper);color:var(--ink)}
.field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.field input,.field select{width:100%}
.field input{font-size:15px;min-height:44px;padding:0 12px;border-radius:6px;border:1px solid var(--line-strong);background:var(--paper);color:var(--ink)}
.btn{font-weight:500;min-height:44px;padding:0 16px;border-radius:6px;border:1px solid var(--indigo);background:var(--indigo);color:var(--paper);display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.btn:hover{background:var(--indigo-dark);color:var(--paper)}
.btn:disabled{opacity:.6;cursor:default}

/* interval whisker: track, bracket, point */
.wk{position:relative;height:16px}
.wk .t{position:absolute;left:0;right:0;top:7px;height:2px;background:var(--line)}
.wk .ci{position:absolute;top:3px;height:10px;border-left:2px solid var(--ink);border-right:2px solid var(--ink)}
.wk .ci::after{content:"";position:absolute;left:0;right:0;top:4px;height:2px;background:var(--ink)}
.wk .ci.open{border-style:dashed;border-color:var(--slate)}
.wk .ci.open::after{content:none}
.wk .pt{position:absolute;top:2px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:var(--indigo)}
/* the same rate after correction: a ring, so it reads apart from the observed dot */
.wk .rg{position:absolute;top:1px;width:14px;height:14px;margin-left:-7px;border-radius:50%;border:2px solid var(--ink);background:var(--paper)}

/* two rates on one scale, each with its interval: a label, a whisker, the number */
.pairrow{display:grid;grid-template-columns:96px minmax(0,1fr) 44px;gap:10px;align-items:center}
/* a link inside a line of text still gets a 44px touch area, without moving the lines around it */
.tap{display:inline-block;padding-block:13px;margin-block:-13px}
/* a note under a table cell wraps, although the cell itself does not */
.rownote{display:block;white-space:normal;min-width:240px;max-width:340px}
/* legend keys: the observed dot and the corrected ring */
.key-dot,.key-ring{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--indigo)}
.key-ring{background:transparent;border:2px solid var(--ink)}

/* rejection bar, then milestone bars, on a 0 to 36 month line */
.marks{position:relative;height:18px;min-width:150px;margin-right:8px}
.marks i{position:absolute;top:0;width:8px;height:18px;background:var(--marigold)}
.marks i.r{left:0;background:var(--reject)}
.marks.line::before{content:"";position:absolute;left:8px;right:-8px;top:8px;height:2px;background:var(--line-soft)}
.marks .to{position:absolute;left:8px;top:8px;height:2px;background:var(--line-strong)}

.frow .marks{min-width:0}
.tl{display:block}
.tl-all{stroke:var(--line-soft);stroke-width:2}
.tl-to{stroke:var(--line-strong);stroke-width:2}
.tl-r{fill:var(--reject)}
.tl-m{fill:var(--marigold)}
.end{margin-top:auto}
::placeholder{color:var(--muted);opacity:.85}

.sqs{display:flex;flex-wrap:wrap;gap:4px}
.sq{display:inline-block;width:14px;height:14px;border:1.5px solid var(--slate)}
.sq.on{border:0;background:var(--marigold)}

table{border-collapse:collapse;width:100%}
th{font-weight:500;font-size:12px;color:var(--muted);text-align:left;padding:8px;border-bottom:1px solid var(--line)}
td{padding:0 8px;height:48px;border-bottom:1px solid var(--line-soft);white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
.scroll{overflow-x:auto}
.sub{display:none}
.textbtn{background:none;border:0;padding:0;color:var(--indigo);font-size:14px;text-decoration:underline;min-height:44px}

.bar{height:8px;background:var(--line-soft);border-radius:4px;margin-top:6px}
.bar span{display:block;height:8px;background:var(--indigo);border-radius:4px}
.split{display:flex;justify-content:space-between;gap:12px}
.split.wrap{flex-wrap:wrap}
.split.wrap .mono{white-space:nowrap}

/* ---- gate ----
   The whole page fits one screen without scrolling, so the headline, the padding
   and the gaps follow the viewport height (vh) as well as its width. */
.gate{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);font-size:17px;line-height:1.6}
.gate-pitch,.gate-form{padding:clamp(24px,5vh,48px) clamp(16px,5vw,80px);display:flex;flex-direction:column}
.gate-pitch{justify-content:space-between;gap:clamp(16px,4vh,48px)}
.gate-name{font-family:var(--head);font-weight:600;font-size:18px}
.gate-say{display:flex;flex-direction:column;gap:clamp(12px,2.5vh,24px);max-width:760px}
.gate-say h1{font-size:clamp(30px,min(5.2vw,7.5vh),76px);line-height:1.05;letter-spacing:-0.03em;text-wrap:balance}
.gate-say p{font-size:19px;color:var(--muted);max-width:560px}
/* 120 squares in 4 full rows of 30, as wide as the headline block; the squares grow to fill it */
.gate-crowd{display:flex;flex-direction:column;gap:12px;max-width:760px;font-size:14px;color:var(--muted)}
.gate-crowd .sqs{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:6px}
.gate-crowd .sq{width:auto;height:auto;aspect-ratio:1}

.gate-form{background:var(--paper);border-left:1px solid var(--line);justify-content:center}
.gate-form form{display:flex;flex-direction:column;gap:20px;width:100%;max-width:400px}
.gate-form h2{font-size:26px;line-height:1.2}
.gate-form .hint{font-size:15px;color:var(--muted)}
.gate-field{display:flex;flex-direction:column;gap:8px;font-size:15px}
.gate-field label{font-weight:500}
.gate-field .pw{display:flex;gap:8px}
.gate-field input,.gate-field .show,.gate-form .open{min-height:52px;border-radius:6px}
.gate-field input{flex:1;min-width:0;font-size:17px;padding:0 14px;border:1px solid var(--field-line);background:var(--white);color:var(--ink)}
.gate-field input[aria-invalid="true"]{border:2px solid var(--error)}
.gate-field .show{padding:0 14px;border:1px solid var(--line-strong);background:transparent;color:var(--ink)}
.gate-field .err{color:var(--error);display:flex;gap:8px;align-items:flex-start}
.gate-field .err svg{flex:none;margin-top:3px}
.gate-form .open{font-weight:500;border:0;background:var(--indigo);color:var(--white)}
.gate-form .open:hover{background:var(--indigo-dark)}

/* ---- /story: five steps, each one a claim, its evidence in a tile, then a link ---- */
.story{width:100%;max-width:1100px;margin-inline:auto;padding:48px 28px 72px}
/* the headline is two sentences: one line each when the column is wide enough, sized to fit it */
.hero{display:flex;flex-direction:column;gap:14px;padding-bottom:40px;container-type:inline-size}
.hero h1{font-size:clamp(28px,4.1cqw,44px);line-height:1.12;letter-spacing:-0.03em;text-wrap:balance}
.hero h1 span{display:block}
.hero p{font-size:17px;color:var(--muted)}
.step{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px 40px;padding:40px 0;border-top:1px solid var(--line)}
.step>h2{font-family:var(--body);font-size:15px;line-height:1.4;color:var(--muted);font-weight:500;letter-spacing:0}
.step>h2 span{display:block;font-family:var(--head);font-size:44px;line-height:1;color:var(--ink);font-weight:600;margin-bottom:10px}
.step>div{display:flex;flex-direction:column;gap:20px;min-width:0;container-type:inline-size}
.say{font-family:var(--head);font-weight:600;font-size:clamp(20px,2vw,26px);line-height:1.25;letter-spacing:-0.02em;max-width:700px;text-wrap:pretty}
.say .tag{vertical-align:middle}
/* a tile cut into equal columns by hairlines: one figure, or one week, per column */
.tile.band{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;padding:0}
.band>div{padding:20px;display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line-soft)}
.band>div:last-child{border-right:0}
.band .big{font-size:40px}
.band .big.long{font-size:28px;line-height:40px}
.band.ink>div{border-color:var(--ink-2)}
/* a narrow band stacks into rows, with each figure to the right of its labels */
@container (max-width:560px){
  .tile.band{grid-auto-flow:row}
  .band>div{border-right:0;border-bottom:1px solid var(--line-soft)}
  .band>div:last-child{border-bottom:0}
  .band>div:has(>.big:not(.long)){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:center}
  .band>div>.big:not(.long){grid-column:2;grid-row:1 / span 2;font-size:32px}
}
.frow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.6fr) 110px 150px;gap:16px;align-items:center;min-height:52px;border-bottom:1px solid var(--line-soft)}
.frow:last-of-type{border-bottom:0}

/* ---- /missed ---- */
.kpis{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:8px 28px;align-items:end}
.kpis .lbl:nth-child(4n){align-self:start}
.curve{width:100%;height:auto;display:block}
.curve text{font-family:var(--body)}
.curve .grid-lines{stroke:var(--line-soft)}
.curve .ax{font-size:11px;fill:var(--muted)}
.curve .win{stroke:var(--ink);stroke-dasharray:3 4}
.curve .band{fill:var(--indigo);fill-opacity:.15}
.curve .rate{fill:none;stroke:var(--indigo);stroke-width:3}
.curve .lab{font-size:12px;fill:var(--ink)}
.curve .lab.r{fill:var(--indigo);font-weight:600}
.inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px;align-items:end}
.sim{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:32px;align-items:start}
.sim>div{display:flex;flex-direction:column;gap:12px}
.sim input[type="range"]{width:100%;height:44px;margin:0;accent-color:var(--indigo)}
.outs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto);grid-auto-flow:column;gap:6px 16px;align-items:end}
.outs .big{font-size:24px;white-space:nowrap}
.dotrow{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(92px,auto) 28px;gap:12px;align-items:center;min-height:40px;border-bottom:1px solid var(--line-soft)}
.dotrow:last-child{border-bottom:0}
.dotrow .n{text-align:right}
.deciles{display:flex;align-items:flex-end;gap:4px;height:96px;border-bottom:1px solid var(--ink)}
.deciles span{flex:1;background:var(--indigo)}
.deciles span:last-child{background:var(--marigold)}
.funnel{display:flex;flex-direction:column;gap:12px}
.funnel .f{height:20px;min-width:3px;margin-top:4px;background:var(--marigold)}
.funnel .f.all{background:var(--ink)}
.funnel .f.s{background:var(--indigo)}
.trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start}
.trust>div{display:flex;flex-direction:column;gap:10px}
.recall{display:grid;grid-template-columns:70px minmax(0,1fr) 40px;gap:10px;align-items:center}
.recall .b{height:8px;background:var(--ink-2)}
.recall .b span{display:block;height:8px;background:var(--sand)}
.recall .b.flag span{background:var(--marigold)}

/* ---- /monday: the list on the left, the picked founder on the right ---- */
.duo{padding:24px 28px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr);gap:16px;align-items:start}
.tile.flush{padding:8px}
.tile.flush>h2,.tile.flush>.keyline{padding:12px 12px 0}
.tile.flush>.keyline{padding-bottom:8px}
.picks{display:flex;flex-direction:column;container-type:inline-size}
.hd,.pick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 150px;gap:4px 20px;padding:8px 12px}
.hd{font-size:12px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line)}
.pick{text-align:left;width:100%;min-height:72px;align-items:center;background:transparent;border:0;border-bottom:1px solid var(--line-soft);color:var(--ink)}
.pick:last-child{border-bottom:0}
.pick:hover{background:var(--sand)}
.pick[aria-pressed="true"]{background:var(--sand);box-shadow:inset 0 0 0 2px var(--ink);border-radius:6px}
.pick span{display:block}
/* the row follows the list's own width: a narrow list stacks who and what beside the timeline */
@container (max-width:620px){
  .hd{display:none}
  .pick{grid-template-columns:minmax(0,1fr) 150px}
  .pick .when{grid-column:2;grid-row:1 / span 2}
}
@container (max-width:360px){
  .pick{grid-template-columns:minmax(0,1fr)}
  .pick .when{grid-column:auto;grid-row:auto;margin-top:4px}
}
/* the picked founder stays in view while the list scrolls */
.detail{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto}
.facts-list{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 16px}
.facts-list>div{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;padding:8px 0;border-top:1px solid var(--line-soft)}
.facts-list dt{font-size:13px;color:var(--muted)}
.facts-list dd{margin:0}
.draft{border:1px solid var(--line);border-radius:6px;background:var(--sand);padding:16px;display:flex;flex-direction:column;gap:12px}
.draft .hi{border-top:1px solid var(--line);padding-top:12px}
/* ---- /fellows ---- */
.rate-slot{min-height:56px;display:flex;align-items:flex-end}
.cohort{display:grid;grid-template-columns:120px minmax(0,1fr) 110px;gap:12px;align-items:center;min-height:48px;border-bottom:1px solid var(--line-soft)}
.cohort.h{min-height:0;font-size:12px;font-weight:500;color:var(--muted);padding:8px 0;border-bottom-color:var(--line)}
.cohort:last-child{border-bottom:0}
.v{display:inline-flex;align-items:center;gap:8px}
.v i{width:12px;height:12px;display:inline-block}
.v .correct{background:var(--marigold)}
.v .wrong{background:var(--ink)}
.v .abstained{border:1.5px solid var(--slate)}
/* two or three short columns of small print, as many as there are */
.thirds{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:32px}
.thirds>div{display:flex;flex-direction:column;gap:6px}
details.src summary{cursor:pointer;color:var(--indigo);text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}
details.src ul{margin:0 0 10px;padding-left:18px;white-space:normal}

/* ---- /lookup: a search row, the ready-made checks, then one wide result ---- */
.stack{padding:24px 28px;display:flex;flex-direction:column;gap:16px}
.search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) minmax(0,1fr) 110px minmax(0,1.4fr) auto;gap:10px;align-items:end}
.btn.ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn.ghost:hover{background:var(--line-soft);color:var(--ink)}
.field input:disabled{background:var(--sand);border-color:var(--line);color:var(--muted)}
.ran{display:flex;flex-direction:column;gap:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.panel{min-height:320px;padding:24px}
.state{margin:auto;max-width:400px;display:flex;flex-direction:column;gap:10px}
.state.center{text-align:center;max-width:360px}
.state h2{font-size:18px}
.result{display:flex;flex-direction:column;gap:20px}
.result h2{font-size:20px}
/* verdict, confidence and the count of milestones, side by side */
.sum{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line-soft);border-radius:8px}
.sum>div{padding:16px;border-right:1px solid var(--line-soft);display:flex;flex-direction:column;gap:6px}
.sum>div:last-child{border-right:0}
.sum .big{font-size:26px;line-height:1.15}
/* the reasons on the left, what happened on the right */
.found{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:start}
.facts{background:var(--sand);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}
.facts ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
/* the labelled line: the rejection at its start, one bar where each tier was first reached */
.strip{position:relative;height:66px;margin:12px 0 4px;font-size:12px;line-height:18px;color:var(--muted)}
.strip span{position:absolute;white-space:nowrap}
.strip .from{left:0;top:0}
.strip .to{right:0;top:0}
.strip .axis{left:8px;right:0;top:30px;height:2px;background:var(--line)}
.strip i{position:absolute;top:22px;width:8px;height:18px;background:var(--marigold)}
.strip i.r{left:0;background:var(--reject)}
.strip .at{top:46px;color:var(--ink);transform:translateX(-50%)}
.strip .at.first{transform:none}
.strip .at.last{transform:translateX(-100%)}
.ms{display:grid;grid-template-columns:96px minmax(0,1fr) 190px;gap:16px;padding:12px 0;border-bottom:1px solid var(--line-soft);align-items:start}
.ms:last-child{border-bottom:0}
.ms span span{display:block}
.ms a{overflow-wrap:anywhere}
/* a running check: the clock, the time bar, the steps and what the registers said */
.clock{font-size:15px}
.timebar{position:relative;height:30px}
.timebar .rail,.timebar .fill{position:absolute;left:0;top:0;height:6px;border-radius:3px}
.timebar .rail{right:0;background:var(--line-soft)}
.timebar .fill{width:0;background:var(--indigo);transition:width 1s linear}
.timebar .usual{position:absolute;top:-3px;width:2px;height:12px;background:var(--ink)}
.timebar .lbl{position:absolute;top:12px;font-size:12px;white-space:nowrap}
.timebar .t0{left:0}
.timebar .t1{transform:translateX(-50%)}
.timebar .t2{right:0}
.doing{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.doing:last-child{border-bottom:0}
.mark{width:16px;height:16px;margin-top:3px;border:1.5px solid var(--slate)}
.doing[data-state="done"] .mark{background:var(--ink);border-color:var(--ink)}
.doing[data-state="now"] .mark{border:3px solid var(--indigo);border-radius:50%}
.doing[data-state="next"] .strong{font-weight:400;color:var(--muted)}
.leads{display:flex;flex-direction:column;gap:8px}
.log{display:flex;flex-direction:column;gap:10px;min-height:150px;background:var(--sand);border:1px solid var(--line);border-radius:8px;padding:16px}

/* ---- /docs: the same tiles as the other pages, so the whole method fits about one screen ---- */
.lede{font-size:17px;max-width:760px}
/* a table of sentences: cells wrap, and the first column keeps its label on one line */
.prose td{height:auto;padding:10px 8px;white-space:normal;vertical-align:top}
.prose td:first-child{font-weight:600}
@media (min-width:701px){.prose td:first-child{white-space:nowrap}}
.prose .tag{margin-right:6px;vertical-align:1px}
.steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:12px}
.steps .mono{display:block;color:var(--muted)}

/* the four simulator numbers go two by two before the grid itself collapses */
@media (max-width:1200px){
  .outs{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto)}
  .outs .big{margin-bottom:8px;white-space:normal}
}

/* ---- narrower than the 12-column grid can hold ---- */
@media (max-width:1100px){
  .s3,.s4,.s5,.s6,.s7,.s8{grid-column:span 12}
  .kpis{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
  .sim,.trust{grid-template-columns:minmax(0,1fr)}
  .thirds{grid-auto-flow:row}
  .step{grid-template-columns:minmax(0,1fr);padding:32px 0}
  .step>h2{display:flex;align-items:baseline;gap:10px}
  .step>h2 span{font-size:28px;margin:0}
  .duo{grid-template-columns:minmax(0,1fr)}
  .detail{position:static;max-height:none}
  .frow{grid-template-columns:minmax(0,1fr);gap:4px}
  .frow{padding:10px 0}
  .search{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search>:first-child,.search>.btn{grid-column:1 / -1}
  .sum,.found{grid-template-columns:minmax(0,1fr)}
  .sum>div{border-right:0;border-bottom:1px solid var(--line-soft)}
  .sum>div:last-child{border-bottom:0}
}

/* ---- gate on a phone: the pitch fills the screen, the form sits at the bottom by the thumb ---- */
@media (max-width:860px){
  .gate{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;font-size:16px}
  .gate-pitch,.gate-form{padding-block:clamp(16px,3vh,28px)}
  .gate-pitch{gap:clamp(14px,2.5vh,24px)}
  .gate-name{font-size:16px}
  .gate-say h1{font-size:clamp(26px,min(9.6vw,4.8vh),56px)}
  .gate-say p{font-size:16px}
  .gate-crowd .sqs{grid-template-columns:repeat(20,minmax(0,1fr));gap:5px}
  .gate-crowd .sq:nth-child(n+61){display:none}
  .gate-form{border-left:0;border-top:1px solid var(--line)}
  .gate-form form{gap:16px}
  /* the label already says what to type, so the heading goes and its hint moves under the button */
  .gate-form h2{display:none}
  .gate-intro{order:1}
  /* short screens: first the caption gives way, then the squares */
  @media (max-height:740px){.gate-crowd p{display:none}}
  @media (max-height:600px){.gate-crowd{display:none}}
  /* after a wrong password the message takes the squares' room */
  .gate:has(.err) .gate-crowd{display:none}
}

/* ---- phone: the sidebar becomes a top bar with a menu button ---- */
@media (max-width:700px){
  .shell{flex-direction:column}
  .side{width:auto;height:auto;position:static;overflow:visible;align-self:stretch;padding:8px 16px;gap:0}
  .brand{font-size:16px;padding:0}
  .side-body{padding:12px 0 8px;gap:20px}
  .side-foot{padding:0 12px 8px}
  .js .menu{display:flex}
  .js .side-body{display:none}
  .js .side.open .side-body{display:flex}
  .head{padding:12px 16px;min-height:0;gap:8px}
  .head .title{width:100%}
  .head .segs{width:100%;flex-wrap:wrap}
  .head .seg{flex:1;padding:0 6px}
  .note{padding:8px 16px}
  .grid,.duo{padding:16px;gap:12px}
  .tile{padding:16px;gap:12px}
  .story{padding:24px 16px 40px}
  .hero{padding-bottom:24px}
  .step{padding:24px 0}
  .step>div{gap:14px}
  .band>div{padding:16px}
  .curve{display:none}
  .dotrow{grid-template-columns:minmax(0,1fr) auto 28px}
  .dotrow .wk{display:none}
  .th{flex-wrap:wrap}
  /* the founders table keeps name and match; the rest folds into one line under the name */
  .fold th:not(:first-child):not(:last-child),.fold td:not(:first-child):not(:last-child){display:none}
  .fold td{white-space:normal;height:52px}
  .fold td:last-child,.fold th:last-child{text-align:right}
  .fold .sub{display:block;font-weight:400}
  .stack{padding:16px;gap:12px}
  .panel{padding:16px}
  .search{grid-template-columns:minmax(0,1fr)}
  .ms{grid-template-columns:minmax(0,1fr);gap:4px}
  .timebar .t1{display:none}
}
