/* bybento.co: the Bento OS teaser (T9), built from the approved comp landing/comp/comp.css (Roy 2026-11-25 17:14), structure B "the career rail".
   Glitch Cat Club insta-glitch layout in ByBento colours and faces. Tokens and form grammar copied BY VALUE from crew/crew.css
   (sections 1-9 and 12); crew.css is never imported. landing/comp/DESIGN.md has the palette, type scale, motion table and contrast table.
   Scripts-off layout keys on @media (scripting: none), not a class the script swaps, so the first paint already shows one hero (no layout shift).
   shortcut: a browser without the scripting media feature (Chrome < 120, Safari < 17) with scripts OFF shows only the producer hero; upgrade with a head script if that ever matters. */

@font-face{font-family:Inter;font-weight:400 900;font-style:normal;font-display:swap;src:url(/crew/assets/inter-latin.woff2) format("woff2")}

/* 1. Tokens (crew/crew.css:8-42, by value) */
:root{
  --ground:#93ADDE;      /* house periwinkle: the page */
  --card:#FFF8EE;        /* house cream: cards */
  --pass:#F9E27A;        /* butter: the mobile rail bar, ticker slashes, ticker focus ring */
  --ink:#111111;         /* text, lines, shadows, ticker band, the pivot slab */
  --accent:#FF5F2E;      /* house orange, live only: the marker, the pressed switch, the picked tier, the one action, an error field */
  --paper:#FFFFFF;       /* fields, rows, chips, tags, error messages */
  --muted:#4D4D4D;       /* secondary text; on cream, paper or butter only, never on the ground (3.73:1) */

  --display:Inter,"Segoe UI",Arial,sans-serif;
  --body:Inter,"Segoe UI",Arial,sans-serif;

  --line:4px;
  --border:var(--line) solid var(--ink);
  --shadow:8px 8px 0 var(--ink);     /* three sizes only: 8 cards, 4 buttons and fields, 3 chips and small controls */
  --shadow-s:4px 4px 0 var(--ink);
  --shadow-xs:3px 3px 0 var(--ink);
  --dot:22px;
  --dot-ink:rgba(17,17,17,.35);

  --ease-out:cubic-bezier(.2,.8,.2,1);      /* settle */
  --ease-in-out:cubic-bezier(.65,0,.35,1);  /* swap */
  --ease-snap:cubic-bezier(.16,1,.3,1);     /* stamp: expo-out, no overshoot */
  --t-press:90ms;
  --t-marker:400ms;
  --t-settle:180ms;
  --ticker-dur:36s;

  --st-h:96px;          /* one rail station; fixed so the marker's travel is a known transform, never a layout read */
  --band-h:60px;        /* the marker band (repair 1): the active station is the event */
}

/* 2. The page */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px;scroll-padding-bottom:32px}   /* repair 2: a focused control shows its whole ring (3px + 4px offset + 4px shadow) */
body{margin:0;background:var(--ground);background-image:radial-gradient(var(--dot-ink) 1.4px,transparent 1.5px);background-size:var(--dot) var(--dot);
     color:var(--ink);font-family:var(--body);font-weight:500;font-size:18px;line-height:1.45}
[hidden]{display:none !important}
::selection{background:var(--pass);color:var(--ink)}
input,textarea{caret-color:var(--accent)}
a{color:var(--ink);text-decoration-thickness:3px;text-underline-offset:4px}
p{margin:0 0 12px;max-width:62ch}p:last-child{margin-bottom:0}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible,.is-focus{outline:3px solid var(--ink);outline-offset:4px}
.skip{position:absolute;left:16px;top:-120px;z-index:20;background:var(--card);border:var(--border);box-shadow:var(--shadow-s);padding:10px 14px;font-weight:800;text-decoration:none}
.skip:focus{top:58px}

/* 3. The ticker (crew/crew.css:49-61, by value). Two identical lists slide by half the track, so the loop is seamless. */
.ticker{display:flex;align-items:stretch;background:var(--ink);color:var(--card);border-bottom:var(--border);overflow:hidden;padding-left:8px}   /* repair 1 (e): the band never starts its type on the screen edge */
.ticker .lane{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center}
.ticker .track{display:flex;width:max-content;animation:ticker var(--ticker-dur) linear 1.2s infinite}
.ticker ul{display:flex;list-style:none;margin:0;padding:0}
.ticker li{font-weight:800;font-size:14px;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;padding:10px 0 10px .9em}   /* repair 1: a leading inset on every item keeps the first word off the band's edge and the loop even */
.ticker li::after{content:"/";color:var(--pass);padding-left:.9em}
@keyframes ticker{to{transform:translateX(-50%)}}
.ticker:hover .track,.ticker:focus-within .track,.ticker.is-paused .track,
body:has(input:focus,textarea:focus) .ticker .track{animation-play-state:paused}
.tick-toggle{flex:none;width:44px;height:44px;display:grid;place-items:center;background:var(--ink);color:var(--pass);border:0;border-left:2px solid var(--pass);cursor:pointer;padding:0}
.tick-toggle svg{width:16px;height:16px}
.tick-toggle .i-play,.tick-toggle[aria-pressed="true"] .i-pause{display:none}
.tick-toggle[aria-pressed="true"] .i-play{display:block}
.ticker :focus-visible{outline:3px solid var(--pass);outline-offset:-5px}

/* 4. Header and the two-column frame: the rail on the left, the argument on the right */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1240px;margin:0 auto;padding:22px 24px 0}
.mark{font-weight:900;font-size:30px;letter-spacing:-.04em;line-height:1;margin:0}
.app{display:flex;flex-direction:column;gap:64px;max-width:1240px;margin:0 auto;padding:30px 24px 64px}
/* Repair 1 (a): the rail and the opening argument share one box, so the sticky rail releases where that box ends, at the arc;
   the arc then opens out across both columns from the rail's own line. (A grid row alone does not bound sticky in Chromium: measured.) */
.upper{display:grid;grid-template-columns:264px minmax(0,1fr);gap:44px;align-items:start}
.lead{display:flex;flex-direction:column;gap:64px;min-width:0}
/* Repair 3 (Roy: "arc beside form"): the arc takes the left column and sticks like the rail while the join card, opens and founder
   scroll past; .rest bounds it, so it releases above the footer. 400px: the arc reads at full chapter width and the four tier chips keep one row at 1280 and 1440. */
.rest{display:grid;grid-template-columns:400px minmax(0,1fr);gap:64px 44px;min-width:0}
.rest > *{grid-column:2;min-width:0}
@media (min-width:1024px){
  .rest > .arc{grid-column:1;grid-row:1 / span 3;align-self:start;position:sticky;top:24px}   /* span 3: join, opens, founder (the bar is display:none here) */
}
/* shortcut: 919px is the arc's measured height (848-867px, 1024-1440 wide) plus both 24px insets; re-measure if the arc's copy changes.
   On a shorter screen a top-stuck arc would hide its last chapters, so there it scrolls in whole and holds by its foot instead. */
@media (min-width:1024px) and (max-height:919px){
  .rest > .arc{align-self:end;top:auto;bottom:24px}
}

/* 5. Cards and buttons (crew sections 4 and 7, by value) */
.card{background:var(--card);border:var(--border);box-shadow:var(--shadow);padding:36px 40px 40px;position:relative}
.btn{font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.01em;line-height:1;color:var(--ink);background:var(--accent);border:var(--border);box-shadow:var(--shadow-s);padding:15px 22px;min-height:54px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;white-space:nowrap;
     transition:transform var(--t-press) var(--ease-out)}
.btn:active{transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}
.btn.plain{background:var(--paper)}
.btn svg{width:20px;height:20px;flex:none}
.h2{font-weight:900;font-size:clamp(30px,3.6vw,46px);line-height:1.02;letter-spacing:-.03em;margin-bottom:16px}   /* crew h2 tracking */
.lede{font-size:20px;line-height:1.45}

/* 6. The rail: the switch at its head, four stations, the way in at its foot. Sticky on desktop. */
.rail{position:sticky;top:24px}
.switch-q{font-weight:800;font-size:16px;margin:0 0 10px}
.switch{display:grid;gap:10px}
.sw{font-family:var(--body);font-weight:800;font-size:22px;line-height:1.15;letter-spacing:-.01em;color:var(--ink);text-align:left;background:var(--paper);border:var(--border);box-shadow:var(--shadow-s);padding:14px 16px;min-height:64px;width:100%;cursor:pointer;display:flex;align-items:center;gap:14px;
    transition:transform var(--t-press) var(--ease-out)}
.sw:active{transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}
.sw .box{flex:none;width:24px;height:24px;border:3px solid var(--ink);background:var(--paper)}
/* Repair 1: the pressed side inverts to ink with cream type (17.91:1). Orange stays for live things only: the marker and the one action. */
.sw[aria-pressed="true"]{background:var(--ink);color:var(--card)}
.sw[aria-pressed="true"] .box{border-color:var(--card);background:var(--card);box-shadow:inset 0 0 0 4px var(--ink)}  /* pressed = inverted plus a filled box, never colour alone */

.stations{position:relative;list-style:none;margin:30px 0 0;padding:0}
.st{position:relative;height:var(--st-h);display:grid;grid-template-columns:28px minmax(0,1fr);gap:0 14px}
.st .sq{width:28px;height:28px;margin-top:calc((var(--band-h) - 28px) / 2);border:3px solid var(--ink);background:var(--paper)}
.st:not(.ghost)::after{content:"";position:absolute;left:12px;top:calc((var(--band-h) + 28px) / 2);height:calc(var(--st-h) - 28px);border-left:4px solid var(--ink)}
.st.ghost .sq{border-style:dashed;background:transparent}
.st.to-ghost::after{border-left-style:dashed}   /* the stretch to the ghost station is dashed: not open yet; nothing runs on past it */
.st-txt{min-width:0}
.st-name{height:var(--band-h);display:flex;align-items:flex-end;padding-bottom:12px;font-weight:900;font-size:21px;line-height:1.05;letter-spacing:-.02em}
.st-line{font-weight:600;font-size:15px;line-height:1.3;margin-top:8px}   /* clears the band's 4px shadow */
.st.ghost .st-name,.st.ghost .st-line{font-weight:600}    /* no box, no shadow, no weight: nothing here says press me */

/* The marker: one live thing on the rail. Its station comes from the root's data-audience; travel is transform only. */
/* Repair 1: the marker is a full-width station band that covers its station's name, so the active station is the event.
   left:-12px plus 9px padding inside the 3px border puts its square exactly over the station square. */
.marker{position:absolute;left:-12px;right:0;top:0;height:var(--band-h);display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:0 14px;padding:0 12px 0 9px;
        background:var(--accent);border:3px solid var(--ink);box-shadow:var(--shadow-s);pointer-events:none;z-index:2;
        transform:translateY(var(--at,var(--st-h)));transition:transform var(--t-marker) var(--ease-out)}
[data-audience="booked"] .marker{--at:0px}
[data-audience="run"] .marker{--at:var(--st-h)}
.marker .m-sq{width:28px;height:28px;background:var(--ink);border:0;box-shadow:inset 0 0 0 8px var(--ink),inset 0 0 0 28px var(--card)}  /* the station square, filled: a detail inside the band */
.m-txt{min-width:0}
.m-tag{font-weight:800;font-size:11px;line-height:1.15}
.m-st{display:grid;font-weight:900;font-size:21px;line-height:1.05;letter-spacing:-.02em}
.m-st > *{grid-area:1/1}
[data-audience="run"] [data-for="booked"],[data-audience="booked"] [data-for="run"]{visibility:hidden;opacity:0}
@media (scripting:none){[data-for="booked"]{display:none}}   /* scripts off: every marker readout names Solo, where the static marker stands */
.m-sq{width:24px;height:24px;background:var(--accent);border:3px solid var(--ink);box-shadow:var(--shadow-xs)}
.readout{display:none}
.rail-join{margin-top:14px;width:100%}

/* 7. Hero card: the tagline, the two heroes stacked in one grid cell (no height change on a swap), the one action */
.hero{padding:40px 44px 40px;--hero-measure:15ch}   /* repair 1 (b): measures matched so both states set three headline lines and the same subhead lines, measured equal at 1024 to 1440 and at 390 */
.tagline{font-weight:800;font-size:22px;line-height:1.25;letter-spacing:-.01em;margin:0 0 18px}
.heroes{display:grid}
.hero .display{font-weight:900;font-size:clamp(40px,5vw,66px);line-height:.98;letter-spacing:-.03em;margin:0 0 20px;max-width:var(--hero-measure,none)}
.hero .sub{font-size:20px;line-height:1.45;max-width:52ch}
.heroes{align-items:center}   /* repair 1 (b): the shorter state is centred in the shared cell, so no state leaves its spare space in one band */
.heroes > [data-hero]{grid-area:1/1}
[data-audience="run"] [data-hero="booked"],[data-audience="booked"] [data-hero="run"]{visibility:hidden;opacity:0}
@media (scripting:none){   /* scripts off: both heroes show, the second under a rule */
  .heroes > [data-hero]{grid-area:auto}
  [data-audience="run"] [data-hero="booked"]{visibility:visible;opacity:1;border-top:3px solid var(--ink);margin-top:28px;padding-top:28px}
}
.hero-act{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:30px;padding-top:24px;border-top:3px solid var(--ink)}
.caption{font-weight:700;font-size:16px;margin:0}

/* 8. The argument */
.lines{list-style:none;margin:8px 0 22px;padding:0;background:var(--paper);border:3px solid var(--ink);box-shadow:var(--shadow-s)}
.lines li{font-weight:700;font-size:19px;line-height:1.35;padding:13px 18px;border-bottom:3px solid var(--ink)}
.lines li:last-child{border-bottom:0}
.pivot{background:var(--ink);color:var(--card);border:var(--border);box-shadow:var(--shadow);padding:30px 40px;margin:-24px 0 0 56px}
.pivot p{font-weight:900;font-size:clamp(26px,3vw,36px);line-height:1.08;letter-spacing:-.025em;max-width:none}

.jobs{margin:26px 0 0;border-top:3px solid var(--ink)}
.job{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;padding:22px 0;border-bottom:3px solid var(--ink)}
.job-t{font-weight:900;font-size:26px;line-height:1.1;letter-spacing:-.025em}
.job p{grid-column:1;margin:0}
.at{grid-column:2;grid-row:1 / span 2;align-self:start;display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:16px;background:var(--paper);border:2px solid var(--ink);padding:8px 12px 8px 10px}   /* repair 1 (e): text sits 8px or more inside every drawn box */
.at::before{content:"";width:12px;height:12px;background:var(--ink)}   /* repair 2: the solid bullet of .calls, so a tag reads as a label, never an unticked box */
.calls{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:10px}
.calls li{font-weight:700;font-size:18px;display:grid;grid-template-columns:12px minmax(0,1fr);gap:12px;align-items:baseline}
.calls li::before{content:"";width:12px;height:12px;background:var(--ink)}

/* The arc in full: the rail opens out, same grammar at reading size, on the ground */
.arc-list{list-style:none;margin:26px 0 0;padding:0}
.ch{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 22px;padding-bottom:30px}
.ch .sq{width:40px;height:40px;border:4px solid var(--ink);background:var(--paper);box-shadow:var(--shadow-xs)}
.ch:not(:last-child)::after{content:"";position:absolute;left:17px;top:40px;bottom:0;border-left:6px solid var(--ink)}
.ch:nth-last-child(2)::after{border-left-style:dashed}
.ch.ghost .sq{border-style:dashed;background:transparent;box-shadow:none}
.ch-name{font-weight:900;font-size:40px;line-height:1;letter-spacing:-.03em}
.ch-line{font-weight:800;font-size:21px;line-height:1.25;margin-top:6px}
.ch-detail{margin-top:8px;max-width:52ch}
.foot-note{font-weight:700;font-size:17px;margin:4px 0 0 62px}

/* 9. The join card: one cream question card, the crew form's grammar (crew sections 5-9 and 12, by value), one screen */
.join h2{margin-bottom:10px}
.why{font-size:18px;margin-bottom:0}
.fields{margin-top:28px}
.field{margin-top:20px}
.field:first-child{margin-top:0}
.field label,.field .label{display:block;font-weight:700;font-size:17px;margin-bottom:8px}
.opt{font-weight:500;color:var(--muted)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:end}   /* an error above one field never knocks the pair out of line */
.pair .field{margin-top:0}
.hint{font-size:16px;color:var(--muted);margin:10px 0 0}
input[type=text],input[type=email]{width:100%;height:56px;font-family:var(--body);font-weight:500;font-size:18px;color:var(--ink);background:var(--paper);border:3px solid var(--ink);box-shadow:var(--shadow-s);padding:0 14px;border-radius:0}
textarea{display:block;width:100%;min-height:112px;font-family:var(--body);font-weight:500;font-size:18px;line-height:1.45;color:var(--ink);background:var(--paper);border:3px solid var(--ink);box-shadow:var(--shadow-s);padding:12px 14px;border-radius:0;resize:vertical}
input::placeholder,textarea::placeholder{color:#595959;opacity:1}
input[aria-invalid="true"]:not([type=radio]):not([type=checkbox]),textarea[aria-invalid="true"]{box-shadow:4px 4px 0 var(--accent)}
.err{display:flex;align-items:flex-start;gap:10px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);font-weight:700;font-size:16px;line-height:1.35;padding:8px 12px 8px 8px;margin:0 0 10px}
.err svg{flex:none;width:22px;height:22px}
.choices{border:0;padding:0;margin:26px 0 0;min-width:0}
.choices > legend{display:block;padding:0;font-weight:700;font-size:17px;margin-bottom:8px}
.choices > .hint{margin:0 0 12px}
.choice-list{display:flex;flex-wrap:wrap;gap:10px}
.choice{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;line-height:1.2;background:var(--paper);border:3px solid var(--ink);box-shadow:var(--shadow-xs);padding:10px 14px;min-height:46px;cursor:pointer;
     transition:transform var(--t-press) var(--ease-out)}
.choice:has(:checked){background:var(--accent)}
.choice:active{transform:translate(3px,3px);box-shadow:0 0 0 var(--ink)}
.choice input{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:22px;margin:0;border:3px solid var(--ink);border-radius:50%;background:var(--paper);cursor:pointer}
.choice input:checked{background:var(--ink);box-shadow:inset 0 0 0 3px var(--paper)}
.choice input:focus-visible{outline:none}
.choice:has(:focus-visible){outline:3px solid var(--ink);outline-offset:4px}
.is-invalid .choice{box-shadow:3px 3px 0 var(--accent)}
.is-stamp{animation:stamp var(--t-settle) var(--ease-snap)}
@keyframes stamp{from{transform:scale(.92)}to{transform:scale(1)}}
.setup{margin-top:28px}
.consent{margin-top:28px;padding-top:24px;border-top:3px solid var(--ink)}
.tick{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start}
.tick input{appearance:none;-webkit-appearance:none;width:32px;height:32px;margin:0;background:var(--paper);border:3px solid var(--ink);box-shadow:var(--shadow-xs);border-radius:0;cursor:pointer;
     transition:transform var(--t-press) var(--ease-out)}
.tick input:checked{background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4.5 4.5 8.5-9' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center/20px no-repeat}
.tick input:active{transform:translate(3px,3px);box-shadow:0 0 0 var(--ink)}
.tick input[aria-invalid="true"]{box-shadow:4px 4px 0 var(--accent)}
.tick label{font-weight:700;font-size:16px;line-height:1.45;padding-top:2px;cursor:pointer;max-width:62ch}
.note{font-size:16px;color:var(--muted);margin:10px 0 0 46px}
.consent .err{margin-left:46px}
.privacy-link{font-weight:700;font-size:16px;margin:10px 0 0 46px}
.actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:30px;padding-top:24px;border-top:3px solid var(--ink)}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.nojs{font-weight:700;margin:0 0 18px}
.actions .err{flex-basis:100%;margin:0}   /* the send error sits under the button, in the error grammar of the fields */
.actions .btn{position:relative}
.btn[aria-disabled="true"]{cursor:progress;transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}   /* repair 2: busy holds the pressed state and its width */
.btn .b-busy{display:none}
.btn[aria-disabled="true"] .b-idle,.btn[aria-disabled="true"] svg{visibility:hidden}
.btn[aria-disabled="true"] .b-busy{display:grid;place-items:center;position:absolute;inset:0}
.done h2{font-size:clamp(34px,4.4vw,54px)}
.done .crewline{margin-top:24px;padding-top:22px;border-top:3px solid var(--ink)}
.done .crewline .btn{margin-top:14px}
[data-audience="run"] .crewline{display:none}

/* The close: how it opens, then the founder */
.opens p{font-size:20px}
.founder{padding:36px 40px 40px}
.founder blockquote{margin:24px 0 0;padding:24px 0 0;border-top:3px solid var(--ink)}
.founder blockquote p{font-weight:900;font-size:clamp(30px,3.8vw,48px);line-height:1.02;letter-spacing:-.03em;max-width:none}
.founder .by{font-weight:800;font-size:16px;margin:14px 0 0}

/* 10. Footer: the credit line lives here only */
.foot{max-width:1240px;margin:0 auto;padding:8px 24px 48px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 40px;align-items:end}
.foot .sign{font-weight:900;font-size:34px;line-height:1.05;letter-spacing:-.03em;margin:0 0 12px}
.foot ul{list-style:none;margin:0;padding:0}
.foot .says li{font-weight:700;font-size:16px;line-height:1.5}
.foot .meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-weight:700;font-size:15px}

/* 11. The mobile rail: a butter bar (the crew card bar's grammar) with your station and the one action */
.bar{display:none}

@media (max-width:1023px){
  .app{display:flex;flex-direction:column;gap:44px;padding:18px 16px 32px}   /* one column; .lead and .rest dissolve so the bar's sticky area is the whole column */
  .upper,.lead,.rest{display:contents}
  .top{padding:16px 16px 0}
  .rail{position:static}
  .switch{grid-template-columns:1fr 1fr}
  .stations,.rail-join{display:none}
  /* Repair 1: a compact station readout under the switch, inside the first viewport, so a press moves something on the same screen */
  .readout{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;gap:0 10px;align-items:center;margin-top:14px}
  .readout .m-sq{grid-row:1 / span 2}
  .readout .m-st{font-size:20px}
  .bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--pass);border-top:var(--border);padding:10px 16px;margin:-24px -16px 0;z-index:5}
  .io-ready .bar{position:sticky;bottom:0}   /* sticky only once the script can step it aside for the hero's own action */
  /* Repair 1: while the hero's action is on screen the bar steps aside (transform and opacity), so one orange action shows per screen */
  .io-ready .bar{transition:transform var(--t-settle) var(--ease-out),opacity var(--t-settle) var(--ease-out)}   /* R10: transform and opacity only; visibility flips instantly, so the bar hides at once and slides back in */
  .cta-in-view .bar{transform:translateY(calc(100% + 8px));opacity:0;visibility:hidden}
  .bar-at{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 10px;align-items:center;min-width:0}
  .bar .btn{font-size:16px;padding:12px 14px;min-height:48px}
  html{scroll-padding-bottom:88px}
}
@media (max-width:640px){
  .card,.hero,.founder{padding:24px 20px 26px}
  .tagline{font-size:19px;margin-bottom:14px}
  .hero .display{font-size:40px}
  .hero .sub{font-size:18px}
  .sw{font-size:18px;min-height:58px;padding:10px 10px;gap:9px;border-width:3px}
  .sw .box{width:20px;height:20px}
  .pair{grid-template-columns:1fr;gap:20px}
  .ticker li{font-size:12px;padding:8px 0 8px .9em}
  .lines li{font-size:17px;padding:12px 14px}
  .pivot{margin:-16px 0 0 20px;padding:22px 22px}
  .job{grid-template-columns:minmax(0,1fr)}
  .at{grid-column:1;grid-row:auto;justify-self:start;margin-top:6px}
  .job-t{font-size:23px}
  .ch{grid-template-columns:32px minmax(0,1fr);gap:0 16px}
  .ch .sq{width:32px;height:32px}
  .ch:not(:last-child)::after{left:13px;top:32px}
  .ch-name{font-size:34px}
  .foot-note{margin-left:48px}
  .hero-act .btn,.actions .btn{flex:1}
  .foot{grid-template-columns:minmax(0,1fr);padding:0 16px 40px}
  .note,.privacy-link,.consent .err{margin-left:0}
}

/* 12. Reduced motion: no spatial movement at all. The switch swaps instantly; the pressed state and the swapped words carry it. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
  .btn:active,.sw:active,.choice:active,.tick input:active{transform:none}
  .ticker .track{animation:none}
  .ticker .dup,.tick-toggle{display:none}
}

/* 13. T9 repair 1 (lead call, Roy confirms at the gate; departs from DESIGN.md's reduced-motion ticker rule): when the ticker
   cannot move (reduced motion) or cannot be paused (scripts off), it stands still and wraps, so all five statements read in full,
   none clipped. The duplicate list is already aria-hidden and is not shown. Delete this one block to revert. */
@media (prefers-reduced-motion:reduce),(scripting:none){
  .ticker{padding:6px 16px}
  .ticker .lane{overflow:visible}
  .ticker .track{width:auto;animation:none}
  .ticker ul{flex-wrap:wrap;column-gap:.9em}
  .ticker .dup,.tick-toggle{display:none}
  .ticker li{white-space:normal;padding:4px 0}
  .ticker li::after{padding-left:.9em}
  .ticker ul > li:last-child::after{content:none}
  @media (max-width:640px){   /* repair 2: the standing band stays short enough that the hero's action fits the 390x844 first screen */
    .ticker{padding:5px 12px}
    .ticker li{padding:1px 0;line-height:1.35;letter-spacing:.08em}
    .ticker li::after,.ticker ul{column-gap:.6em}
    .ticker li::after{padding-left:.6em}
  }
}

/* T9 repair 1: 600 to 1023 wide the hero headline scales with the card, as at 1440 and 390, instead of resting on the 40px floor */
@media (min-width:600px) and (max-width:1023px){
  .hero{--hero-measure:15ch}
  .hero .display{font-size:clamp(48px,7.6vw,66px)}
}

/* T9 repair 1: with scripts off the form cannot be sent (the submit is disabled in the markup and hidden here); LND-10.15 says why */
@media (scripting:none){ .join .actions{display:none} }

/* 14. T9 repair 2 */
/* Once joined, the confirmation is the only ask: every other "Join the waitlist" (each leads to the now-hidden form) goes. */
.joined :is(.skip,.rail-join,.hero-act .btn,.bar){display:none}
/* Scripts off: both heroes already show, so the switch would look pressable and do nothing; it steps out. */
@media (scripting:none){ .switch-q,.switch{display:none} }
/* 390: the four tier chips sit in two even columns, the team chip across both. */
@media (max-width:640px){
  .choice-list{display:grid;grid-template-columns:1fr 1fr}
  .choice[data-tier="fourth"]{grid-column:1 / -1}
}
