/* Hallmark · macrostructure: Marquee Hero (the logo stack is the fold, the channels below it) · tone: poster · anchor hue: yellow 95
 * theme: custom (AI SEO kit: yellow #FFE14A · ink #111111 · white) · Anybody 800/900 wdth 118 + Hanken Grotesk
 * nav: N7 brutal slab · footer: Ft8 marquee scroll · picked by Bike 2026-10-29 (round 1, look B "Stack") */
@font-face { font-family: "Anybody"; src: url("fonts/anybody.woff2?v=041c675622") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: block; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken.woff2?v=e9201eddf1") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Arial sized to Hanken Grotesk, so text doesn't reflow when the web font arrives */
@font-face { font-family: "Hanken Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 103%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --yellow: #FFE14A; --ink: #111111; --white: #FFFFFF;
  --on-ink-2: #c9c6bd; --on-yellow-2: #3d3714; --on-white-2: #4f4c44;
  --rule: rgba(17, 17, 17, 0.14); --ink-rule: rgba(255, 255, 255, 0.16);
  --display: "Anybody", "Arial Black", sans-serif; --text: "Hanken Grotesk", "Hanken Fallback", Arial, sans-serif;
  --gutter: 48px; --measure: 46rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 19px/1.62 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band-ink :focus-visible, .cta :focus-visible { outline-color: var(--yellow); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--yellow); padding: 10px 14px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: the brutal slab (wordmark, page links, join) */
.slab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "word links btn"; align-items: center; gap: 0 30px; padding: 0 var(--gutter); height: 84px; background: var(--yellow); border-bottom: 4px solid var(--ink); }
.word { grid-area: word; font: 900 30px/1 var(--display); font-stretch: 118%; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.links { grid-area: links; justify-self: end; display: flex; align-items: center; gap: 30px; }
.links a { font: 800 15.5px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; padding: 10px 0; }
.links a:hover, .links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.slab > .btn { grid-area: btn; height: 48px; padding: 0 22px; font-size: 16px; border-radius: 10px; }

/* buttons: cut like the logo's AI panel (radius 0.20 of the height) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 60px; padding: 0 30px; border-radius: 12px; font: 800 20px/1 var(--display); font-stretch: 112%; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--yellow); }
.btn--ink:hover { background: #2a2a2a; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffe873; }
.note { font-size: 15.5px; }

/* home: the fold */
.fold { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 64px; padding: 64px var(--gutter) 84px; background: var(--yellow); min-height: calc(100svh - 84px); -webkit-tap-highlight-color: transparent; }
.stack { position: relative; }
.logo-stack { width: 100%; height: auto; overflow: visible; }
.fold h1 { font: 900 88px/0.98 var(--display); font-stretch: 118%; letter-spacing: -0.015em; }
/* each H1 word sits in its own mask, so it can ride up into place */
.fold h1 .w { display: inline-block; vertical-align: top; overflow: hidden; padding: 0.1em 0.05em 0.14em; margin: -0.1em -0.05em -0.14em; }
.fold h1 .w > span { display: inline-block; transform-origin: 0 100%; }

/* the 3D toy (assets/hero.js): one canvas across the whole fold, under the copy so text and links stay on top;
   the SVG logo keeps the box the toy lands in */
.toy { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fold > div { position: relative; z-index: 1; }
html.gl .logo-stack { visibility: hidden; }
.toy-hint { position: absolute; left: 0; top: calc(100% + 18px); display: flex; align-items: center; gap: 9px; font: 800 14px/1.2 var(--display); font-stretch: 112%; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 600ms; }
.toy-hint svg { width: 17px; height: 17px; flex: none; }
.fold.toy-on .toy-hint { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.fold.toy-grab, .fold.toy-grab * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.fold .lede { margin-top: 26px; font-size: 22px; line-height: 1.5; max-width: 25em; }
.fold .act { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fold .note { color: var(--on-yellow-2); }

/* home: the channels in giant type */
.band-ink { background: var(--ink); color: var(--white); }
.channels { padding: 86px var(--gutter) 64px; }
.channels h2 { font: 800 34px/1.15 var(--display); font-stretch: 114%; color: var(--yellow); }
.channels > p { margin-top: 14px; color: var(--on-ink-2); max-width: 40em; font-size: 20px; }
.ch { margin-top: 40px; }
.ch li { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: baseline; padding: 24px 0 26px; border-top: 1px solid var(--ink-rule); }
.ch li > b { font: 900 64px/1 var(--display); font-stretch: 118%; letter-spacing: -0.015em; color: var(--yellow); white-space: nowrap; }
.ch li > b i { font-style: normal; color: var(--on-ink-2); }
.ch li > span { font-size: 18.5px; color: var(--on-ink-2); }
.ch-more { margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--ink-rule); color: var(--on-ink-2); font-size: 18px; }

/* inner pages: the yellow head */
.head { background: var(--yellow); padding: 64px var(--gutter) 72px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 64px; align-items: end; }
.head h1 { font: 900 80px/0.98 var(--display); font-stretch: 118%; letter-spacing: -0.015em; max-width: 13em; }
.head .lede { margin-top: 24px; font-size: 21px; line-height: 1.55; max-width: 36em; }
.head .act { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.head .note { color: var(--on-yellow-2); }
.head .mini svg { width: 100%; height: auto; }
.crumbs { font-size: 15.5px; margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { font-weight: 700; }

/* the reading column */
.body { padding: 72px var(--gutter) 40px; }
.sec { max-width: var(--measure); }
.sec + .sec { margin-top: 64px; }
.sec h2 { font: 800 40px/1.08 var(--display); font-stretch: 116%; letter-spacing: -0.01em; }
.sec h3 { font: 800 24px/1.2 var(--display); font-stretch: 112%; margin-top: 34px; }
.sec h2 + p, .sec h2 + .lead { margin-top: 18px; }
.sec h3 + p { margin-top: 10px; }
.sec p + p, .sec p + ul, .sec p + ol, .sec ul + p, .sec ol + p, .sec .tbl + p, .sec p + .tbl, .sec p + .pair, .sec .pair + p { margin-top: 18px; }
.sec ul.dots li, .sec ol.nums li { position: relative; padding-left: 30px; margin-top: 10px; }
.sec ul.dots li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); }
.sec ol.nums { counter-reset: n; }
.sec ol.nums li { counter-increment: n; padding-left: 44px; margin-top: 16px; }
.sec ol.nums li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; width: 30px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 900 15px/1 var(--display); }
.sec a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sec a:hover { text-decoration-color: var(--ink); background: var(--yellow); }
.sec strong { font-weight: 700; }
.sec code { font: 600 0.9em/1 ui-monospace, Consolas, monospace; background: #f1efe8; padding: 2px 6px; border-radius: 5px; }

/* the seven rules: numbered rows with the AI-panel chip */
.rules-list { margin-top: 26px; border-top: 1px solid var(--rule); }
.rules-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rules-list .n { width: 60px; height: 48px; border-radius: 10px; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 900 24px/1 var(--display); font-stretch: 118%; }
.rules-list b { display: block; font: 800 25px/1.2 var(--display); font-stretch: 112%; }
.rules-list span { display: block; margin-top: 4px; color: var(--on-white-2); font-size: 17.5px; }

/* the roles, as one line of big type */
.roles { margin-top: 22px; font: 900 44px/1.12 var(--display); font-stretch: 118%; letter-spacing: -0.01em; }
.roles i { font-style: normal; color: #b9b4a3; }

/* a labeled post format */
.post { margin-top: 24px; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.post div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 16px 20px; border-top: 1px solid var(--rule); }
.post div:first-child { border-top: 0; background: var(--yellow); }
.post dt { font: 800 16px/1.4 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.03em; }
.post dd { font-size: 17.5px; }

/* weak and strong question pairs */
.pair { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.pair > div { padding: 18px 20px 20px; }
.pair > div + div { border-left: 2px solid var(--ink); background: var(--yellow); }
.pair b { display: block; font: 800 14px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.pair p { font-size: 17.5px; }
.pair > div:first-child p { color: var(--on-white-2); }

/* tables (list pages) */
.tbl { margin-top: 24px; width: 100%; border-collapse: collapse; font-size: 16.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.tbl th { font: 800 14px/1.3 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 2px solid var(--ink); }
.tbl td:first-child { font-weight: 700; }
.wide { max-width: 64rem; }

/* list entries */
.entry { margin-top: 30px; padding-top: 26px; border-top: 2px solid var(--ink); }
.entry h2, .entry h3 { display: flex; gap: 16px; align-items: baseline; }
.entry .rank { flex: none; min-width: 52px; height: 42px; padding: 0 10px; border-radius: 9px; background: var(--ink); color: var(--white); display: inline-grid; place-items: center; font: 900 21px/1 var(--display); font-stretch: 118%; transform: translateY(-4px); }
.entry .rank::before { content: attr(data-n); }
.entry.ours .rank { background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.facts { margin-top: 16px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 18px; font-size: 16.5px; }
.facts dt { font-weight: 700; }
.facts dd { color: var(--on-white-2); }

/* FAQ */
.faq h3 { margin-top: 30px; }

/* sources */
.refs-label { font: 800 15px/1 var(--display); font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.06em; }
.refs { margin-top: 12px; font-size: 16.5px; }
.refs li { margin-top: 8px; padding-left: 26px; position: relative; color: var(--on-white-2); }
.refs li::before { content: "↗"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.refs a { color: var(--ink); }

/* closing call to join */
.cta { padding: 88px var(--gutter) 92px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.cta h2 { font: 900 72px/1 var(--display); font-stretch: 118%; letter-spacing: -0.015em; color: var(--yellow); max-width: 12em; }
.cta p { margin-top: 20px; color: var(--on-ink-2); font-size: 20px; max-width: 32em; }

/* footer: the forum tags on a loop, then one line */
.marquee { overflow: hidden; border-top: 4px solid var(--yellow); background: var(--ink); color: var(--yellow); padding: 26px 0; }
.marquee .track { display: flex; width: max-content; }
.marquee .track span { font: 900 44px/1 var(--display); font-stretch: 118%; white-space: nowrap; padding-right: 0.6em; }
.foot { background: var(--ink); color: var(--on-ink-2); padding: 0 var(--gutter) 40px; font-size: 15.5px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--white); }

/* motion: only when the browser can and the visitor hasn't asked for less */
@media (prefers-reduced-motion: no-preference) {
  /* the SVG drop is the fallback when the 3D toy isn't running (no WebGL2, Save-Data, or a failed start) */
  html.mo:not(.gl) .stack .p-ai { transform-box: fill-box; transform-origin: 50% 100%; animation: drop 720ms var(--ease-out) both; }
  html.mo:not(.gl) .stack .p-seo { transform-box: fill-box; transform-origin: 50% 100%; animation: settle 420ms var(--ease-in-out) 600ms both; }
  html.mo:not(.seen) .fold h1 .w > span { animation: rise 1000ms var(--ease-out) both; animation-delay: calc(110ms + var(--i) * 85ms); }
  html.mo:not(.seen) .fold .lede { animation: lift 900ms var(--ease-out) 440ms both; }
  html.mo:not(.seen) .fold .act { animation: lift 900ms var(--ease-out) 560ms both; }
  html.mo .ch li > b { opacity: 0; transform: translateX(-7%); transition: opacity 640ms var(--ease-out), transform 760ms var(--ease-out); }
  html.mo .ch li.in > b { opacity: 1; transform: none; }
  .marquee .track { animation: loop 46s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
}
html.seen .stack .p-ai, html.seen .stack .p-seo { animation: none !important; }
@keyframes drop { from { transform: translateY(-46%); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes settle { 0%, 100% { transform: none; } 40% { transform: scaleY(0.965); } }
@keyframes rise { from { transform: translateY(112%) rotate(7deg); } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } }
@keyframes loop { to { transform: translateX(-50%); } }

/* tablet */
@media (max-width: 64rem) {
  :root { --gutter: 32px; }
  .fold { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; padding-top: 44px; }
  .stack { max-width: 560px; }
  .fold h1 { font-size: 72px; }
  .ch li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ch li > b { font-size: 54px; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .head .mini { display: none; }
  .head h1 { font-size: 64px; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta h2 { font-size: 56px; }
  .links { gap: 20px; }
  .links a { font-size: 14px; }
}

/* phone */
@media (max-width: 40rem) {
  :root { --gutter: 16px; }
  body { font-size: 17.5px; }
  .slab { height: auto; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word btn" "links links"; padding: 11px var(--gutter) 0; border-bottom-width: 3px; }
  .word { font-size: 23px; }
  .links { justify-self: stretch; justify-content: space-between; gap: 8px; margin-top: 4px; }
  .links a { font-size: 13.5px; padding: 13px 0 12px; }
  .slab > .btn { height: 42px; padding: 0 16px; font-size: 15px; }
  .btn { height: 54px; font-size: 18px; padding: 0 22px; }
  .fold { padding: 26px var(--gutter) 42px; gap: 26px; }
  .stack { width: 80%; }
  html.gl .stack { margin-bottom: 30px; }
  .toy-hint { font-size: 12.5px; top: calc(100% + 16px); width: calc(100vw - 2 * var(--gutter)); white-space: normal; align-items: flex-start; }
  .fold h1 { font-size: 46px; overflow-wrap: anywhere; min-width: 0; }
  .fold .lede { font-size: 18.5px; margin-top: 16px; }
  .fold .act { margin-top: 24px; }
  .channels { padding: 52px var(--gutter) 40px; }
  .channels h2 { font-size: 25px; }
  .channels > p { font-size: 17.5px; }
  .ch { margin-top: 26px; }
  .ch li { padding: 18px 0 20px; }
  .ch li > b { font-size: 34px; white-space: normal; overflow-wrap: anywhere; }
  .ch li > span { font-size: 16.5px; }
  .head { padding: 34px var(--gutter) 40px; }
  .head h1 { font-size: 42px; overflow-wrap: anywhere; min-width: 0; }
  .head .lede { font-size: 18px; margin-top: 16px; }
  .head .act { flex-direction: column; align-items: flex-start; gap: 12px; }
  .crumbs { margin-bottom: 18px; font-size: 15px; }
  .body { padding: 44px var(--gutter) 24px; }
  .sec + .sec { margin-top: 48px; }
  .sec h2 { font-size: 29px; }
  .sec h3 { font-size: 21px; }
  .rules-list li { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .rules-list .n { width: 46px; height: 38px; font-size: 19px; border-radius: 8px; }
  .rules-list b { font-size: 20px; }
  .roles { font-size: 30px; }
  .post div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair > div + div { border-left: 0; border-top: 2px solid var(--ink); }
  .tbl { font-size: 15px; table-layout: fixed; }
  .tbl th, .tbl td { padding-right: 10px; overflow-wrap: anywhere; }
  .tbl th:nth-child(2), .tbl td:nth-child(2), .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd + dt { margin-top: 10px; }
  .entry .rank { min-width: 42px; height: 34px; font-size: 17px; }
  .cta { padding: 56px var(--gutter) 60px; gap: 26px; }
  .cta h2 { font-size: 40px; }
  .cta p { font-size: 17.5px; }
  .marquee { padding: 18px 0; }
  .marquee .track span { font-size: 30px; }
  .foot { flex-direction: column; gap: 8px; }
}

/* the narrowest phones */
@media (max-width: 22.5rem) {
  html.gl .stack { margin-bottom: 46px; }   /* the toy's line wraps to two here */
  .btn { font-size: 16.5px; padding: 0 16px; gap: 9px; }
  .btn svg { width: 20px; height: 20px; }
  .links a { font-size: 12.5px; }
}
