/* F.I.S.H site. Direction: The product performs. Navy on white, tangerine as the one accent. */
:root {
  --bg: #ffffff; --surface: #f4f4f2; --ink: #1f2b4d; --muted: #4a5470; --accent: #f7941d; --accent-ink: #1f2b4d;
  --field-1: #05070a; --field-1-ink: #ffffff; --field-2: #e3e1dc; --field-2-ink: #1f2b4d;
  --ok: #3fb67f; --no: #ef5b5b;
  --font: "General Sans", "Segoe UI", system-ui, sans-serif;
  --m: clamp(16px, 2.6vw, 40px);
  --step-small: 0.875rem;
  --step-body: 1rem;
  --step-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --step-head: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --step-display: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);
  --r: 4px;
}
html[data-theme="dark"] { color-scheme: dark; --bg: #0b1020; --surface: #131b33; --ink: #eef1f8; --muted: #a9b3cc; --field-2: #1b2646; --field-2-ink: #eef1f8; }
html[data-theme="dark"] .btn { background: var(--accent); color: #1f2b4d; }
html[data-theme="dark"] .notice.warn { background: #3a2c14; color: #ffe2b0; }
html[data-theme="dark"] .input, html[data-theme="dark"] .gate-form input { border-color: #4a5678; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; }
.display { font-size: var(--step-display); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.wrap { padding-inline: var(--m); }
.skip { position: absolute; left: -999px; } .skip:focus { left: var(--m); top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 99; }

/* Buttons: one shape, 4px */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 0; background: var(--ink); color: var(--bg); font: 500 var(--step-small)/1 var(--font); font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; } .btn:active { transform: translateY(1px); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: var(--step-small); }
.link-arrow { text-decoration: none; font-weight: 500; } .link-arrow::after { content: " →"; } .link-arrow:hover { text-decoration: underline; }

/* Nav: wordmark, a few links, one action */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--m); }
.mark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.mark b { color: var(--accent); font-weight: 700; letter-spacing: -0.14em; }
.nav-links { display: flex; gap: 28px; font-size: var(--step-small); font-weight: 500; flex-wrap: wrap; }
.nav-links a { text-decoration: none; } .nav-links a:hover, .nav-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Interface fragments (data-ui keeps their own rules) */
[data-ui] { font-size: 1rem; line-height: 1.4; }
p { max-width: 62ch; }
.ui p, [data-ui] p, .stat-out p { max-width: none; }
.ui { background: var(--field-1); color: var(--field-1-ink); border-radius: var(--r); }
.ui-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #0f1524; border-radius: var(--r) var(--r) 0 0; color: #b8c0d6; font-size: 0.875rem; }
.ui-rows { display: flex; flex-direction: column; gap: 3px; padding: 8px; }
.ui-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: #0e1424; border-radius: 3px; border: 1px solid #1c2540; cursor: pointer; animation: rowin .5s both; width: 100%; text-align: left; color: inherit; font: inherit; }
.ui-row:hover, .ui-row[aria-expanded="true"] { background: #151d34; border-color: #36426b; }
.ui-row .t { color: #8f9ab8; font-variant-numeric: tabular-nums; }
.ui-row small { display: block; color: #9aa5c2; font-size: 0.8125rem; }
@keyframes rowin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pill { display: inline-block; padding: 3px 10px; border-radius: 3px; font-weight: 600; font-size: 0.8125rem; color: #05070a; }
.pill.ok { background: var(--ok); } .pill.no { background: var(--no); } .pill.ctr { background: var(--accent); } .pill.wait { background: #9aa5c2; }
.ui-why { padding: 8px 20px 14px; color: #c9d0e4; font-size: 0.875rem; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(16px, 3vw, 40px) var(--m) clamp(32px, 4vw, 56px); align-items: start; }
.hero-copy { grid-column: 1 / span 6; padding-top: clamp(0px, 2vw, 24px); }
.hero h1 { margin-bottom: 16px; max-width: 9em; }
.hero .lead { max-width: 30em; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-ui { grid-column: 7 / span 6; margin-top: 0; }

/* Sections */
.sec { padding: clamp(40px, 5vw, 72px) var(--m); }
.sec-head { margin-bottom: 24px; }
.dark { background: var(--field-1); color: var(--field-1-ink); }
.stone { background: var(--field-2); color: var(--field-2-ink); }
.soft { background: var(--surface); }

/* Pinned fragment */
.pin { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.pin h2 { grid-column: 1 / -1; margin-bottom: 16px; }
.pin-steps { grid-column: 1 / span 5; }
.pin-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pin-step h3 { transition: color .3s; }
.pin-step h3 { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.pin-step h3 { color: var(--muted); } .pin-step p { color: var(--ink); } .pin-step.on h3 { color: var(--ink); }
.pin-stage { grid-column: 7 / span 6; position: sticky; top: 10vh; align-self: start; height: min(400px, 62vh); background: var(--field-2); border-radius: var(--r); display: grid; place-items: center; padding: 24px; }
.pin-stage > [data-ui] { width: 100%; display: none; }
.pin-stage[data-state="0"] > [data-s="0"], .pin-stage[data-state="1"] > [data-s="1"], .pin-stage[data-state="2"] > [data-s="2"] { display: block; animation: rowin .4s both; }
/* taste-skill-ignore: card sits in a data-ui fragment */
.card-ui { background: #fff; color: #1f2b4d; border-radius: var(--r); padding: 20px; border: 1px solid #cfd3de; box-shadow: 0 10px 30px rgba(5, 7, 10, .18); }
.card-ui h4 { margin: 0 0 6px; font-size: 1.0625rem; } .card-ui p { color: #566079; font-size: 0.9375rem; }
.card-ui .acts { display: flex; gap: 10px; margin-top: 16px; }
.card-ui .b { border: 1px solid #1f2b4d; background: #fff; color: #1f2b4d; border-radius: 3px; padding: 8px 16px; font: 600 0.9375rem var(--font); cursor: pointer; }
.card-ui .b.p { background: #1f2b4d; color: #fff; }
.card-ui dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.card-ui dt { color: #566079; } .card-ui dd { margin: 0; font-weight: 600; }

/* Lure: picture + statement */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.split .pic { grid-column: 1 / span 6; mix-blend-mode: multiply; }
.split .txt { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; }
.cap { color: var(--muted); font-size: var(--step-small); }

/* Board */
.board { display: flex; flex-direction: column; gap: 4px; margin: 0 -8px; }
.board h2 { padding: 0 8px; }
.b-row { display: grid; grid-template-columns: 5fr 2fr 2fr 2fr 1fr; gap: 16px; align-items: center; min-height: 52px; padding: 0 20px; background: #0f1524; border: 0; color: #fff; font: 500 var(--step-lead)/1.1 var(--font); text-align: left; cursor: pointer; border-radius: 3px; width: 100%; font-variant-numeric: tabular-nums; transition: background .15s; }
.b-row:hover { background: #172038; }
.b-row .pill { font-size: 0.9375rem; padding: 10px 14px; text-align: center; }
.b-open { background: var(--accent); color: #1f2b4d; min-height: 120px; align-content: start; padding-top: 24px; }
.b-open:hover { background: var(--accent); }
.b-detail { grid-column: 1 / -1; font: 400 1.0625rem/1.45 var(--font); max-width: 46em; }
.b-head { display: contents; }

/* Slider */
.stat { min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.stat h2 { max-width: 12em; margin-bottom: 28px; }
.ctl { max-width: 400px; background: #fff; color: #1f2b4d; padding: 18px; border-radius: var(--r); }
.ctl label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.9375rem; margin-bottom: 14px; }
.ctl output { font-variant-numeric: tabular-nums; }
.ctl input[type=range] { width: 100%; accent-color: #1f2b4d; height: 32px; }
.stat-out { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.figure { font-size: clamp(5rem, 17vw, 18rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.8; font-variant-numeric: tabular-nums; }
.figure small { font-size: 0.22em; letter-spacing: 0; margin-left: 0.2em; font-weight: 500; }
.stat-out p { max-width: 30ch; font-size: 1.0625rem; }

/* Ladder */
.ladder { display: flex; flex-direction: column; gap: 4px; }
.rung { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 20px; background: var(--surface); border-radius: 3px; }
.rung b { font-size: 1.5rem; letter-spacing: -0.02em; } .rung.now { background: var(--accent); color: var(--accent-ink); }
.rung strong { display: block; font-size: var(--step-body); } .rung span { color: inherit; opacity: .85; font-size: 1rem; }
.rung:not(.now) span { color: var(--muted); opacity: 1; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* Pricing table */
.plans { width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.plans th, .plans td { text-align: left; padding: 10px 16px; vertical-align: top; }
.plans thead th { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1; padding-bottom: 14px; }

.plans tbody tr:nth-child(odd) { background: var(--surface); }
.plans td:first-child, .plans th:first-child { width: 28%; color: var(--muted); font-weight: 400; }
.plans .rec { background: var(--accent) !important; color: var(--accent-ink); }
.plans tfoot td { padding-top: 16px; }
.plans .rec small, .plans .rec td { color: var(--accent-ink); }

/* Two-ended list */
.list-col { max-width: 520px; }
.list-col h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 32px; line-height: 1.1; }
.li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; text-decoration: none; font-size: var(--step-body); }
.li:hover span:first-child { text-decoration: underline; text-decoration-color: var(--accent); }
.li span:first-child { display: flex; align-items: center; gap: 10px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); flex: none; }
.li span:last-child { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
.grp { color: var(--muted); font-size: var(--step-small); margin: 40px 0 6px; } .grp:first-of-type { margin-top: 0; }
.list-wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.list-wrap .list-col { grid-column: 1 / span 5; } .list-wrap .media { grid-column: 7 / span 6; }
.media video, .media img { width: 100%; border-radius: var(--r); aspect-ratio: 16/10; object-fit: cover; background: #05070a; }

/* CTA */
.cta { background: var(--accent); color: var(--accent-ink); min-height: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 56px var(--m); align-items: center; }
.cta-copy { grid-column: 1 / span 5; align-self: end; display: flex; flex-direction: column; gap: 20px; }
.cta-copy h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 0.92; }
.cta-copy p { max-width: 30em; font-size: 1.0625rem; }
/* taste-skill-ignore: the dialog is a real overlay fragment */
.dialog { grid-column: 7 / span 5; background: #fff; color: #1f2b4d; padding: 28px; border-radius: var(--r); box-shadow: 0 24px 60px rgba(5, 7, 10, .3); display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.dialog h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
.dialog label { font-weight: 600; font-size: 0.9375rem; display: block; margin-bottom: 6px; }
.dialog input[type=text] { width: 100%; min-height: 48px; border: 1px solid #1f2b4d; border-radius: 3px; padding: 0 14px; font: 400 1rem var(--font); color: #1f2b4d; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #1f2b4d; border-radius: 3px; overflow: hidden; }
.seg label { margin: 0; text-align: center; padding: 12px; cursor: pointer; font-weight: 500; }
.seg input { position: absolute; opacity: 0; } .seg input:checked + span, .seg label:has(input:checked) { background: #1f2b4d; color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: -3px; }
.dialog .btn { background: #1f2b4d; color: #fff; width: 100%; min-height: 52px; }
.ok-msg { font-size: 0.9375rem; color: #566079; min-height: 1.4em; }

/* Footer */
.foot { margin-top: auto; padding-top: 56px; padding: 0 var(--m) 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; font-size: var(--step-small); align-items: baseline; }
.foot .c { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; } .foot .r { text-align: right; color: var(--muted); } .foot .l { color: var(--muted); }
.credits { padding: 0 var(--m) 40px; color: var(--muted); font-size: 1rem; max-width: 80ch; }
.credits a { color: var(--ink); }
.legal-line { color: var(--muted); font-size: var(--step-small); }

/* Inner pages */
.page-head { padding: clamp(24px, 4vw, 56px) var(--m) 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); }
.page-head p { max-width: 34em; color: var(--muted); margin-top: 16px; }
.body { padding: 24px var(--m) 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.body.one { grid-template-columns: 1fr; }
.stackv { display: flex; flex-direction: column; gap: 24px; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--surface); border-radius: var(--r); font-size: var(--step-small); }
.notice button { all: unset; cursor: pointer; padding: 4px 8px; font-size: 1.125rem; line-height: 1; }
.notice.warn { border-left: 0; background: #3a2c14; color: #ffe2b0; }
html[data-theme="light"] .notice.warn { background: #fff1de; color: #5a3600; }
.group-t { font-size: var(--step-body); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.forum-row { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 20px; align-items: center; padding: 16px 20px; background: var(--surface); border-radius: 3px; margin-bottom: 4px; }
.forum-row .t { font-size: var(--step-body); font-weight: 600; text-decoration: none; } .forum-row .t:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.forum-row .n { display: inline-block; margin-left: 8px; background: var(--accent); color: #1f2b4d; padding: 1px 8px; border-radius: 3px; font-size: 0.8125rem; font-weight: 700; }
.forum-row .last { background: var(--bg); border-radius: 3px; padding: 8px 14px; font-size: var(--step-small); min-width: 0; }
.forum-row .last b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: grid; grid-template-columns: 36px 1fr 110px 170px; gap: 16px; align-items: center; padding: 14px 20px; background: var(--surface); border-radius: 3px; margin-bottom: 4px; }
.thread a.t { font-weight: 600; font-size: 1.0625rem; text-decoration: none; } .thread a.t:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.thread .st { font-variant-numeric: tabular-nums; font-size: var(--step-small); color: var(--muted); }
.thread .lp { text-align: right; font-size: var(--step-small); color: var(--muted); }
.av { width: 36px; height: 36px; border-radius: 3px; background: var(--field-2); color: var(--field-2-ink); display: grid; place-items: center; font-weight: 700; text-transform: uppercase; flex: none; }
.av.hot { background: var(--accent); color: #1f2b4d; }
.side { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface); border-radius: var(--r); padding: 16px 18px; }
.panel h2 { font-size: var(--step-body); line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.01em; }
.prow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: var(--step-small); font-variant-numeric: tabular-nums; } .prow span:first-child { color: var(--muted); }
.pitem { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; } .pitem b { display: block; font-size: 0.9375rem; line-height: 1.3; font-weight: 600; } .pitem small { color: var(--muted); font-size: var(--step-small); }
.tabs { display: flex; gap: 20px; } .tabs button { all: unset; cursor: pointer; padding: 6px 0; font-weight: 500; color: var(--muted); } .tabs button[aria-selected=true] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.pager { display: flex; gap: 4px; } .pager a { padding: 6px 12px; background: var(--surface); border-radius: 3px; text-decoration: none; font-size: var(--step-small); } .pager a.on { background: var(--accent); color: #1f2b4d; font-weight: 700; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post { display: grid; grid-template-columns: 180px 1fr; background: var(--surface); border-radius: var(--r); margin-bottom: 8px; }
.post .who { padding: 20px; background: var(--field-2); border-radius: var(--r) 0 0 var(--r); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.post .who .av { width: 64px; height: 64px; font-size: 1.5rem; background: var(--bg); color: var(--ink); }
.post .who small { color: var(--muted); } .tag { background: var(--accent); color: #1f2b4d; padding: 1px 8px; border-radius: 3px; font-size: 0.8125rem; font-weight: 700; }
.post .main { padding: 18px 24px; } .post .main small { color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 12px; } .post .main p { margin-bottom: 12px; max-width: 62ch; }
.input { width: 100%; background: var(--bg); color: var(--ink); border: 1px solid #4a5678; border-radius: 3px; padding: 12px 14px; font: 400 1rem var(--font); }
.tbl { width: 100%; border-collapse: collapse; font-size: 1.0625rem; font-variant-numeric: tabular-nums; } .tbl th { text-align: left; font-weight: 600; padding: 14px 16px; background: var(--surface); } .tbl td { padding: 14px 16px; } .tbl tr:nth-child(even) td { background: var(--surface); } .tbl .num { text-align: right; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px; }
.tile { background: var(--surface); padding: 28px; border-radius: 3px; } .tile h3 { font-size: 1.375rem; margin-bottom: 10px; letter-spacing: -0.01em; }

/* Entrances */
.js .rev { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rev { opacity: 1; transform: none; transition: none; } .ui-row { animation: none; } html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 900px) {
  .hero, .pin, .split, .list-wrap, .cta, .body { display: block; }
  .hero-ui, .pin-stage, .split .txt, .list-wrap .media, .dialog { margin-top: 32px; max-width: none; }
  .pin-stage { position: sticky; top: 0; z-index: 2; height: 46svh; margin-top: 0; padding: 12px; overflow: hidden; }
  .pin-step { min-height: 40svh; padding: 24px 0; }
  .b-row { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 16px; } .b-row > :nth-child(2), .b-row > :nth-child(3), .b-row > :nth-child(4) { display: none; }
  .b-open { min-height: 200px; align-content: start; padding-top: 20px; } .b-open .pill { justify-self: end; }
  .nav .btn { display: none; }
  .plans th, .plans td { padding: 14px 8px; } .plans td:first-child, .plans th:first-child { width: 34%; }
  .plans .btn { padding: 8px 8px; min-height: 44px; white-space: normal; text-align: center; font-size: 0.875rem; }
  .plans thead th { font-size: 1.1875rem; }
  .nav-links { gap: 16px; } .nav { flex-wrap: wrap; }
  .foot { grid-template-columns: 1fr; gap: 8px; } .foot .r { text-align: left; } .foot .c { justify-content: flex-start; }
  .thread { grid-template-columns: 36px 1fr; } .thread .st, .thread .lp { grid-column: 2; text-align: left; } .forum-row { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; } .post .who { flex-direction: row; border-radius: var(--r) var(--r) 0 0; }
  .side { margin-top: 24px; } .pair { grid-template-columns: 1fr; } .cta-copy { margin-bottom: 32px; }
  .stat { min-height: 84svh; }
}

/* Mascot as the picture */
.split .pic.mascot-big { mix-blend-mode: normal; }
.mascot-big { display: grid; place-items: center; aspect-ratio: 6 / 4; background: var(--field-1); color: var(--accent); font-weight: 700; letter-spacing: -0.14em; font-size: clamp(4rem, 9vw, 9rem); line-height: 0.8; border-radius: var(--r); padding-right: 0.14em; user-select: none; }
.school { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--field-1); border-radius: var(--r); }
.school.dark-field { aspect-ratio: 16 / 10; }
.school svg { display: block; position: absolute; inset: 0; }
.school text { font-family: var(--font); font-weight: 700; letter-spacing: -0.14em; animation: swim var(--d, 14s) linear infinite; animation-delay: var(--w, 0s); }
@keyframes swim { from { transform: translateX(0); } to { transform: translateX(520px); } }
@media (prefers-reduced-motion: reduce) { .school text { animation: none; transform: translateX(var(--x, 120px)); } }
@media (max-width: 900px) { .school { aspect-ratio: 16 / 9; } .mascot-big { aspect-ratio: 16 / 9; } }
@media (max-width: 900px) { .cta { min-height: 0; padding-block: 72px; } .foot { margin-top: 96px; } }
.app .page-head h1 { font-size: 2rem; letter-spacing: -0.01em; }
.app .page-head p { font-size: 1rem; }

/* Fuller sections */
.two { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.two > .a { grid-column: 1 / span 5; } .two > .b { grid-column: 6 / span 7; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 var(--m) 40px; }
.fact { background: var(--surface); border-radius: 3px; padding: 14px 16px; font-size: var(--step-small); }
.fact b { display: block; font-size: var(--step-lead); letter-spacing: -0.01em; margin-bottom: 2px; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mod { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 16px; background: var(--bg); border-radius: 3px; align-items: baseline; }
.mod b { font-weight: 700; } .mod span { color: var(--muted); }
.never { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.never li { background: var(--surface); padding: 12px 16px; border-radius: 3px; }
.never b { display: block; }
.limits { background: #fff; color: #1f2b4d; border-radius: var(--r); padding: 18px; }
.limits label { font-weight: 600; display: block; margin-bottom: 6px; }
.limits input { width: 100%; min-height: 44px; border: 1px solid #1f2b4d; border-radius: 3px; padding: 0 12px; font: 600 1.125rem var(--font); color: #1f2b4d; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.limits table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.limits td, .limits th { padding: 9px 0; text-align: left; } .limits tbody tr:nth-child(odd) { background: #f4f4f2; } .limits td, .limits th { padding-inline: 10px; }
.limits th { font-weight: 600; font-size: var(--step-small); color: #4a5470; } .limits td:nth-child(2), .limits td:nth-child(3), .limits th:nth-child(2), .limits th:nth-child(3) { text-align: right; } .limits td:first-child { font-weight: 500; }
.limits td strong { font-size: 1.125rem; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; align-items: start; }
.faq details { background: var(--surface); border-radius: 3px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 500; } .faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 10px; color: var(--ink); }
@media (max-width: 900px) { .two { display: block; } .two > .b { margin-top: 20px; } .facts { grid-template-columns: 1fr 1fr; } .mods, .faq { grid-template-columns: 1fr; } .mod { grid-template-columns: 1fr; gap: 2px; } }

/* Climb rows (replaces the pinned section) */
.climb { display: flex; flex-direction: column; gap: 4px; }
.climb-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; background: var(--bg); padding: 24px; border-radius: 3px; align-items: center; }
.climb-row .l { grid-column: 1 / span 5; } .climb-row .r { grid-column: 6 / span 7; }
.lv { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 2px 10px; border-radius: 3px; margin-bottom: 10px; }
.climb-row h3 { font-size: var(--step-lead); letter-spacing: -0.01em; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 16px; margin-top: 14px; font-size: var(--step-small); }
.kv dt { color: var(--muted); font-weight: 600; } .kv dd { margin: 0; }
.climb-row .r .ui, .climb-row .r .card-ui { width: 100%; }
.climb-row .r .card-ui { background: var(--surface); box-shadow: none; border: 0; }
.climb-row .r .card-ui { color: #1f2b4d; }
.fragnote { color: var(--muted); font-size: var(--step-small); margin-top: 8px; }
/* Verdicts board */
.verd .b-row { grid-template-columns: 150px 1fr auto; font-size: 1.0625rem; font-weight: 500; }
.verd .b-open { grid-template-columns: 150px 1fr auto; }
.verd .b-open .b-detail { font-size: 1rem; }
/* Status board */
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.status > div { background: var(--surface); padding: 18px; border-radius: 3px; }
.status b { display: block; font-size: var(--step-lead); letter-spacing: -0.01em; margin-bottom: 4px; }
.soon { display: inline-block; background: var(--ink); color: var(--bg); padding: 1px 9px; border-radius: 3px; font-size: 0.8125rem; font-weight: 700; margin-bottom: 8px; }
.status p { font-size: var(--step-small); color: var(--muted); }
body.app .soon { background: var(--accent); color: #1f2b4d; }
/* Gate (private forum) */
.gate { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 8px var(--m) 0; align-items: start; }
.gate .a { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 14px; } .gate .b { grid-column: 6 / span 7; }
.video { position: relative; aspect-ratio: 16 / 9; background: #05070a; border-radius: var(--r); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.lock { display: grid; gap: 4px; }
.lock div { background: var(--surface); padding: 12px 16px; border-radius: 3px; }
.lock b { display: block; }
/* Docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 8px var(--m) 0; align-items: start; }
.toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: var(--step-small); }
.toc a { text-decoration: none; padding: 6px 10px; border-radius: 3px; color: var(--muted); } .toc a:hover { background: var(--surface); color: var(--ink); }
.doc section { padding-bottom: 32px; scroll-margin-top: 16px; }
.doc h2 { font-size: var(--step-head); margin-bottom: 14px; line-height: 1.05; }
.doc h3 { font-size: var(--step-lead); margin: 22px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { max-width: 68ch; } .doc p { margin-bottom: 12px; } .doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; } .doc li { margin-bottom: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.doc th { text-align: left; background: var(--surface); padding: 10px 12px; } .doc td { padding: 10px 12px; vertical-align: top; } .doc tr:nth-child(even) td { background: var(--surface); }
.doc .note { background: var(--surface); padding: 14px 16px; border-radius: 3px; margin: 12px 0 16px; max-width: 68ch; }
.doc .note b { display: block; }
.doc .tablewrap { overflow-x: auto; }
@media (max-width: 900px) {
  .climb-row, .gate, .docs { display: block; } .climb-row .r, .gate .b { margin-top: 16px; }
  .status { grid-template-columns: 1fr 1fr; } .toc { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; }
  .verd .b-row, .verd .b-open { grid-template-columns: 1fr auto; } .verd .b-row > :nth-child(2) { display: none; } .verd .b-open > :nth-child(2) { display: block; grid-column: 1 / -1; }
  .climb-row { padding: 16px; }
}

.b-row:not(.b-open) .b-detail { display: none; }

/* Nav extras, theme toggle, auth forms, admin */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions a:not(.btn) { font-size: var(--step-small); font-weight: 500; }
.tbtn { all: unset; cursor: pointer; font-size: var(--step-small); font-weight: 500; padding: 8px 12px; border-radius: 3px; background: var(--surface); color: var(--ink); }
.tbtn:hover { text-decoration: underline; text-decoration-color: var(--accent); } .tbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gate-form { max-width: 420px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); padding: 24px; border-radius: var(--r); }
.gate-form label { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 6px; }
.gate-form input { width: 100%; min-height: 46px; border: 1px solid var(--muted); border-radius: 3px; padding: 0 12px; font: 400 1rem var(--font); background: var(--bg); color: var(--ink); }
.gate-form .hint { font-size: var(--step-small); color: var(--muted); }
.centered { padding: 24px var(--m) 0; display: flex; justify-content: center; }
.err { color: var(--ink); min-height: 1.4em; font-size: var(--step-small); }
.adm { padding: 8px var(--m) 0; display: flex; flex-direction: column; gap: 28px; }
.adm h2 { font-size: var(--step-lead); margin-bottom: 10px; letter-spacing: -0.01em; }
.adm table { width: 100%; border-collapse: collapse; font-size: var(--step-small); } .adm th { text-align: left; background: var(--surface); padding: 10px 12px; } .adm td { padding: 10px 12px; vertical-align: middle; } .adm tr:nth-child(even) td { background: var(--surface); }
.adm .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.adm .row > div { display: flex; flex-direction: column; gap: 4px; } .adm label { font-weight: 600; font-size: var(--step-small); }
.adm input, .adm select { min-height: 42px; border: 1px solid var(--muted); border-radius: 3px; padding: 0 10px; font: 400 1rem var(--font); background: var(--bg); color: var(--ink); }
.code { font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.tag2 { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 0.8125rem; font-weight: 700; background: var(--field-2); color: var(--field-2-ink); }
.tag2.ok { background: var(--accent); color: #1f2b4d; }
.mini { min-height: 34px; padding: 0 12px; font-size: var(--step-small); border-radius: 3px; border: 0; background: var(--field-2); color: var(--field-2-ink); cursor: pointer; font-family: var(--font); font-weight: 500; }
.mini:hover { background: var(--accent); color: #1f2b4d; }
.tw { overflow-x: auto; }
/* Not authorized: the fish eats the dots */
.lost { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px var(--m); max-width: 760px; margin: 0 auto; }
.lost h1 { font-size: var(--step-display); }
.eat { position: relative; height: 56px; max-width: 560px; overflow: hidden; }
.eat .fishy { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 38px; letter-spacing: -0.14em; color: var(--accent); line-height: 1; animation: run 7s linear infinite; white-space: nowrap; }
.eat i { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--ink); animation: vanish 7s steps(1, end) infinite; }
@keyframes run { from { left: 0; } to { left: calc(100% - 64px); } }
@keyframes vanish { 0%, 49.99% { opacity: 1; } 50%, 99.99% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .eat .fishy { animation: none; left: 40%; } .eat i { animation: none; } }
.climb-row .r .card-ui { background: #fff; }

/* Full-height layout: footer sits at the bottom on big screens */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > .credits { margin-top: 0; }
/* Legal */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding: 8px var(--m) 0; align-items: start; }
.legal-nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; }
.legal-nav a { display: flex; flex-direction: column; text-decoration: none; padding: 8px 12px; border-radius: 3px; font-weight: 500; }
.legal-nav a span { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.legal-nav a:hover { background: var(--surface); }
.legal-nav a[aria-current] { background: var(--accent); color: #1f2b4d; } .legal-nav a[aria-current] span { color: #1f2b4d; }
.legal-search { width: 100%; min-height: 40px; border: 1px solid var(--muted); border-radius: 3px; padding: 0 10px; margin: 6px 0 12px; font: 400 1rem var(--font); background: var(--bg); color: var(--ink); }
.legal-doc[hidden], .art[hidden] { display: none; }
.doc-title { font-size: var(--step-head); margin-bottom: 14px; line-height: 1.05; }
.legal-doc p, .legal-doc li { max-width: 72ch; } .legal-doc p { margin: 0 0 12px; } .legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; } .legal-doc li { margin-bottom: 4px; }
.legal-doc h3 { font-size: var(--step-lead); margin: 20px 0 8px; letter-spacing: -0.01em; } .legal-doc h4 { font-size: var(--step-body); margin: 16px 0 6px; }
.legal-doc blockquote { background: var(--surface); padding: 14px 16px; border-radius: 3px; margin: 12px 0 16px; max-width: 72ch; } .legal-doc blockquote p:last-child { margin-bottom: 0; }
.legal-doc pre { background: var(--surface); padding: 14px 16px; border-radius: 3px; overflow-x: auto; white-space: pre-wrap; }
.legal-doc code { background: var(--surface); padding: 1px 5px; border-radius: 2px; font-size: 0.9em; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: var(--step-small); }
.legal-doc th { text-align: left; background: var(--surface); padding: 10px 12px; } .legal-doc td { padding: 10px 12px; vertical-align: top; } .legal-doc tr:nth-child(even) td { background: var(--surface); }
.tw { overflow-x: auto; }
.art-toc { background: var(--surface); padding: 16px 20px; border-radius: 3px; margin: 16px 0 12px; } .art-toc ol { columns: 2; column-gap: 32px; margin: 8px 0 0; padding-left: 22px; font-size: var(--step-small); } .art-toc li { margin-bottom: 4px; break-inside: avoid; } .art-toc a { text-decoration: none; } .art-toc a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.doc-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.art { background: var(--surface); border-radius: 3px; margin-bottom: 4px; scroll-margin-top: 16px; }
.art summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: var(--step-body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.art summary::-webkit-details-marker { display: none; } .art summary::after { content: "+"; font-weight: 500; } .art[open] summary::after { content: "−"; }
.art summary:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.art-body { padding: 2px 18px 14px; }
mark.ph { background: var(--accent); color: #1f2b4d; padding: 0 3px; border-radius: 2px; font-weight: 500; }
@media (max-width: 900px) { .legal { display: block; } .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; } .legal-nav label, .legal-search { width: 100%; } .art-toc ol { columns: 1; } }
.art-toc ol { list-style: none; padding-left: 0; }
.plans td.rec, .plans th.rec { color: var(--accent-ink); }
