/* Make It Scarlet. One screen on desktop (ONE-SCREEN.md), natural flow on a
   phone. Tokens in OKLCH with the hex each one falls back to written beside it
   (DESIGN-DOCTRINE.md step 5). Scarlet is the hero colour on a warm near
   black; ice, the colour of BamBam's eyes, is the one cool counter accent. */

@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ground: #120c0d;  --ground: oklch(0.165 0.012 15);
  --ground-2: #1c1314; --ground-2: oklch(0.205 0.016 15);
  --ink: #f5eeee;     --ink: oklch(0.955 0.008 15);
  --ink-2: #a7b1b7;   --ink-2: oklch(0.762 0.013 230);   /* BamBam's grey, the Buckeye pair */
  --ink-3: #7b8489;   --ink-3: oklch(0.62 0.012 230);
  --scarlet: #ba0c2f; --scarlet: oklch(0.503 0.196 19);  /* BamBam's scarlet, BOTS.md */
  --lit: #ff3347;     --lit: oklch(0.665 0.236 22);      /* the same red, lit from inside */
  --deep: #4e0612;    --deep: oklch(0.29 0.11 18);
  --ice: #8fe3ff;     --ice: oklch(0.87 0.105 215);      /* BamBam's eyes */
  --line: #ffffff1f;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.5 var(--body); color: var(--ink);
  /* The designed still: the scarlet pool the intro drains into, in CSS, so
     reduced motion, no WebGL and no script all land on the same picture. */
  background:
    /* the pool's surface, one lit line, then the pool and its glow */
    linear-gradient(to top, transparent calc(15% - 1px), oklch(0.72 0.2 22 / .9) 15%, transparent calc(15% + 2px)),
    linear-gradient(to top, oklch(0.26 0.1 18) 0%, oklch(0.42 0.17 19 / .95) 14.6%, oklch(0.5 0.2 19 / .22) 15.4%, transparent 38%),
    var(--ground);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
b { font-weight: 600; }

#scarlet { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; transition: opacity .8s var(--ease); }
/* On a phone the page scrolls under a fixed canvas, so once the intro has
   landed the canvas fades and the CSS pool at the foot of the page takes over. */
html.gl-done #scarlet { opacity: 0; }
html.gl #scarlet { display: block; }
.flood-fallback { display: none; }

/* ---------- the bar ---------- */
.bar {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 15px/1 var(--display); letter-spacing: .01em; }
.ring { width: 30px; height: 30px; fill: none; stroke: var(--lit); stroke-width: 3.2; filter: drop-shadow(0 0 6px oklch(0.665 0.236 22 / .7)); }
.doors { display: flex; gap: 4px; margin-left: auto; }
.doors a { font: 500 14px/1 var(--body); text-decoration: none; color: var(--ink-2); padding: 10px 12px; border-radius: 99px; transition: color .18s, background-color .18s; }
.doors a:hover, .doors a[aria-current="true"] { color: var(--ink); background: #ffffff10; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border-radius: 99px; padding: 12px 18px; border: 1px solid transparent; color: var(--ink);
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s;
}
.btn:active { transform: scale(.97); }
.btn-cta { background: var(--scarlet); box-shadow: 0 0 0 1px oklch(0.665 0.236 22 / .5) inset, 0 8px 30px -8px oklch(0.665 0.236 22 / .7); }
.btn-cta:hover { background: oklch(0.56 0.21 20); box-shadow: 0 0 0 1px oklch(0.75 0.2 22 / .7) inset, 0 10px 36px -6px oklch(0.665 0.236 22 / .9); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); border-color: #ffffff40; }
.btn-big { font-size: 16px; padding: 16px 24px; }

/* ---------- the stage ---------- */
.stage { position: relative; z-index: 2; display: grid; padding: 0 var(--pad); }
.pitch { position: relative; z-index: 2; }

.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 15px/1.35 var(--mono); letter-spacing: -.01em; color: var(--ink-2); }
.kicker img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 18px -2px oklch(0.665 0.236 22 / .6); }
.kicker b { color: var(--ice); font-weight: 700; margin-right: 8px; }

.wordmark {
  margin: 0; font: 800 clamp(48px, min(8.2vw, 14.5vh), 132px)/.9 var(--display);
  letter-spacing: -.02em; text-transform: uppercase;
}
.wl { display: block; }
.wl-1 { color: var(--ink); }
.wl-2 { color: var(--lit); text-shadow: 0 0 40px oklch(0.665 0.236 22 / .45); }

.line { margin: 20px 0 0; font: 600 clamp(19px, 1.75vw, 26px)/1.2 var(--body); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.lede { margin: 10px 0 0; max-width: 37em; text-wrap: balance; font-size: clamp(15px, 1.12vw, 17px); line-height: 1.55; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.status { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font: 400 12.5px/1.4 var(--mono); letter-spacing: -.01em; color: var(--ink-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); flex: none; }

/* ---------- the demo ---------- */
.demo { position: relative; display: grid; align-items: center; }
/* BamBam, lifted off her studio backdrop on device (tools/lift.swift), so she
   floats. She holds the job up rather than posting it: hands open, offering,
   the photos right under them (BOTS.md: "drawn OFFERING, never posting"). */
.bambam {
  position: relative; z-index: 1; pointer-events: none; width: 176px; height: auto; margin: 0 auto -8px;
  filter: drop-shadow(0 26px 30px oklch(0.665 0.236 22 / .28));
  animation: hover 6s ease-in-out infinite;
}
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.director { position: relative; z-index: 2; display: grid; gap: 12px; align-content: center; }
.tag { margin: 0; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lit); }
.tag span { color: var(--ink-3); margin-left: 8px; letter-spacing: .06em; }
.drop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drop li { border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--ground-2); }
.drop img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.readout { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: oklch(0.13 0.01 15 / .78); box-shadow: 0 0 0 1px var(--line);
  font: 400 12.5px/1.75 var(--mono); color: var(--ink-2); }
.readout li::before { content: "\2713"; color: var(--ice); margin-right: 10px; }
.caption { margin: 0; min-height: 4.5em; font: 400 14.5px/1.5 var(--body); color: var(--ink); text-wrap: pretty; }
.caption.is-typing .caption-text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--ice); animation: blink .9s steps(1) infinite; }
.approve {
  position: relative; display: grid; place-items: center; width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
  font: 600 15px/1.2 var(--body); color: var(--ink); background: var(--scarlet); border: 0;
  box-shadow: 0 0 0 1px oklch(0.665 0.236 22 / .6) inset, 0 10px 34px -10px oklch(0.665 0.236 22 / .9);
  transition: background-color .22s, box-shadow .22s, transform .16s var(--ease);
}
.approve > span { grid-area: 1 / 1; transition: opacity .22s, transform .22s var(--ease); }
.approve-done { opacity: 0; transform: translateY(6px); font-size: 13.5px; }
.approve:disabled { cursor: default; background: #ffffff12; color: var(--ink-3); box-shadow: 0 0 0 1px var(--line) inset; }
.approve:not(:disabled):active { transform: scale(.98); }
.approve.is-done { background: oklch(0.3 0.05 215); box-shadow: 0 0 0 1px oklch(0.87 0.105 215 / .7) inset; color: var(--ice); }
.approve.is-done .approve-idle { opacity: 0; transform: translateY(-6px); }
.approve.is-done .approve-done { opacity: 1; transform: none; }
.hint { margin: 0; font: 400 12px/1.4 var(--mono); color: var(--ink-3); }

.phone {
  position: relative; z-index: 2; margin: 0; aspect-ratio: 9/16; border-radius: 30px; padding: 7px;
  background: linear-gradient(160deg, #2a2224, #0b0809); box-shadow: 0 0 0 1px #ffffff1c, 0 30px 80px -20px #000, 0 0 60px -10px oklch(0.665 0.236 22 / .35);
}
.reel { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: #000; }
.phone.receive { animation: receive .9s var(--ease); }
@keyframes receive { 0% { box-shadow: 0 0 0 1px #ffffff1c, 0 30px 80px -20px #000, 0 0 60px -10px oklch(0.665 0.236 22 / .35); }
  35% { box-shadow: 0 0 0 2px oklch(0.665 0.236 22 / .9), 0 30px 80px -20px #000, 0 0 90px 0 oklch(0.665 0.236 22 / .7); }
  100% { box-shadow: 0 0 0 1px #ffffff1c, 0 30px 80px -20px #000, 0 0 60px -10px oklch(0.665 0.236 22 / .35); } }
.sound {
  position: absolute; right: 16px; top: 16px; padding: 7px 10px; border-radius: 99px; border: 0; cursor: pointer;
  font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #0009;
}
.sound[aria-pressed="true"] { color: var(--ice); }
.phone figcaption { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font: 400 11px/1 var(--mono); color: var(--ink-3); }

/* ---------- the band ---------- */
.band {
  position: relative; z-index: 2; margin: 0 calc(var(--pad) - 22px); padding: 0 22px 10px; border-radius: 18px;
  background: oklch(0.13 0.012 15 / .8); box-shadow: 0 0 0 1px var(--line), 0 -20px 60px -30px oklch(0.665 0.236 22 / .5);
}
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.tabs a {
  position: relative; padding: 13px 14px; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-3); transition: color .18s;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--ink); }
.tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--lit); transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease); }
.tabs a[aria-selected="true"]::after { transform: scaleX(1); }

/* Without script the doors are plain anchors and :target opens a panel; the
   first panel shows when nothing is targeted. With script, site.js runs them
   as real tabs and sets [hidden]. */
.panel { padding: 18px 0 4px; }
html:not(.js) .panel { display: none; }
html:not(.js) .panel:target, html:not(.js) .panel:has(:target) { display: block; }
html:not(.js) .band:not(:has(.panel:target, .panel :target)) #how { display: block; }
.panel[hidden] { display: none; }
html.js .panel:not([hidden]) { animation: panel-in .28s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.steps, .rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.rules { grid-template-columns: repeat(3, 1fr); }
.steps li, .rules li { display: grid; gap: 6px; align-content: start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.steps li { counter-increment: s; }
.steps b, .rules b { font: 700 15px/1.25 var(--display); color: var(--ink); letter-spacing: .005em; }
.steps b::before { content: "0" counter(s); display: block; margin-bottom: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--lit); }
.rules b::before { content: ""; display: block; width: 22px; height: 2px; margin-bottom: 10px; background: var(--ice); box-shadow: 0 0 8px var(--ice); }

.pjz { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 28px; align-items: start; font-size: 15px; color: var(--ink-2); }
.pjz p { margin: 0; }
.pjz b { color: var(--ink); }
.more { font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ice); text-decoration: none; padding: 12px 0; white-space: nowrap; }
.more::after { content: " \2197"; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.early-note { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 80ch; }
.early { display: grid; grid-template-columns: 1.2fr 1fr .9fr auto; gap: 12px; align-items: end; }
.early label { display: grid; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.early label i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .8; }
.early input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #ffffff24; background: oklch(0.12 0.01 15 / .85);
  font: 400 15px/1 var(--body); color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.early input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px oklch(0.87 0.105 215 / .2); }
.early .btn { height: 44px; }
.early .fine { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--ink-3); }
.early .fine a { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.state { display: none; grid-column: 1 / -1; margin: 0; font: 500 14px/1.4 var(--body); color: var(--ice); }
.state.warn { color: oklch(0.8 0.13 40); }
.state:target, .state.is-on { display: block; }

/* ---------- foot ---------- */
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 10px var(--pad) 14px; font: 400 12px/1.4 var(--mono); color: var(--ink-3); }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- desktop: one screen ---------- */
@media (min-width: 900px) {
  body.home { height: 100vh; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }
  .stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; min-height: 0; }
  .demo { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; height: 100%; min-height: 0; padding: 8px 0 34px; }
  .phone { height: min(100% - 8px, 540px); max-height: 100%; }
  .director { width: 270px; justify-self: end; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .readout { line-height: 1.55; }
  .lede { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 899px) {
  .bar { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .doors { display: none; }
  .bar .btn-cta { margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .brand span { font-size: 13px; }
  .kicker { font-size: 12.5px; margin-bottom: 14px; }
  .kicker img { width: 34px; height: 34px; }
  .wordmark { font-size: clamp(44px, 15.5vw, 76px); }
  .ctas .btn-ghost { display: none; }
  .demo { grid-template-columns: 1fr 44%; column-gap: 14px; row-gap: 10px; margin-top: 32px; align-items: start; }
  .director { display: contents; }
  .director > * { grid-column: 1; }
  .phone { grid-column: 2; grid-row: 1 / span 4; align-self: start; }
  .demo .caption, .demo .approve { grid-column: 1 / -1; }
  .demo .caption { margin-top: 22px; }
  .drop { gap: 5px; }
  .readout { padding: 9px 10px; font-size: 10.5px; line-height: 1.7; letter-spacing: -.02em; }
  .readout li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .readout li::before { margin-right: 6px; }
  .tag span { display: block; margin: 6px 0 0; }
  .readout li:nth-child(n+4) { display: none; }
  .caption { font-size: 13px; min-height: 0; }
  .hint { display: none; }
  .bambam { width: 70%; }
  .phone { border-radius: 22px; padding: 5px; }
  .reel { border-radius: 18px; }
  .phone figcaption { bottom: -20px; font-size: 10px; }
  .band { margin: 32px calc(var(--pad) - 12px) 0; padding: 0 12px 8px; }
  .tabs { flex-wrap: wrap; gap: 0 2px; }
  .tabs a { white-space: nowrap; padding: 12px 8px; font-size: 10.5px; letter-spacing: .08em; }
  .tabs a::after { left: 8px; right: 8px; }
  .steps, .rules { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .steps li, .rules li { font-size: 13.5px; }
  .steps b, .rules b { font-size: 14px; }
  .rules { grid-template-columns: 1fr; gap: 14px; }
  .pjz { grid-template-columns: 1fr; gap: 12px; }
  .early { grid-template-columns: 1fr; }
  .foot { flex-direction: column; gap: 8px; padding-top: 16px; padding-bottom: 24px; }
}

/* ---------- the intro (only when html.intro is set in <head>) ---------- */
.intro-line { display: none; }
html.intro .intro-line {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 5; padding: 24px; pointer-events: none;
}
html.intro .intro-line p { margin: 0; max-width: 18ch; text-align: center; font: 700 clamp(26px, 4.2vw, 60px)/1.12 var(--display); letter-spacing: -.01em; color: var(--ink); }
.caret { display: inline-block; width: .5em; height: .1em; margin-left: .08em; background: var(--lit); vertical-align: baseline; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
html.intro .intro-line.is-gone { opacity: 0; transition: opacity .25s; }

/* The wordmark is PRESENT from the first paint, as a faint ghost, so the
   largest paint is not held back by the intro; the scarlet flood lights it. */
html.intro .wl-1, html.intro .wl-2 { color: oklch(0.955 0.008 15 / .035); text-shadow: none; transition: color .6s var(--ease), text-shadow .6s; }
html.intro .bar, html.intro .kicker, html.intro .line, html.intro .lede, html.intro .ctas, html.intro .status,
html.intro .demo, html.intro .band, html.intro .foot { opacity: 0; }
/* Only blocks inside the stage rise into place. The band and the foot sit on
   the bottom edge, and a downward offset there is scroll overflow, which made
   the one-screen fitter zoom the whole page for the length of the intro. */
html.intro .kicker, html.intro .line, html.intro .lede, html.intro .ctas, html.intro .status, html.intro .demo { transform: translateY(14px); }
html.lit .wl-1 { color: var(--ink); }
html.lit .wl-2 { color: var(--lit); text-shadow: 0 0 40px oklch(0.665 0.236 22 / .45); }
html.lit .bar, html.lit .kicker, html.lit .line, html.lit .lede, html.lit .ctas, html.lit .status,
html.lit .demo, html.lit .band, html.lit .foot { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .7s var(--ease); }
html.lit .kicker { transition-delay: .05s; } html.lit .line { transition-delay: .12s; } html.lit .lede { transition-delay: .18s; }
html.lit .ctas { transition-delay: .24s; } html.lit .status { transition-delay: .3s; } html.lit .demo { transition-delay: .2s; }
html.lit .band { transition-delay: .36s; } html.lit .foot { transition-delay: .42s; }

/* No WebGL: the same flood in CSS, a circle of scarlet then a drain. */
html.intro.nogl .flood-fallback { display: block; position: fixed; inset: 0; z-index: 4; background: radial-gradient(circle at 50% 50%, var(--lit), var(--scarlet) 60%, var(--deep)); clip-path: circle(0% at 50% 50%); pointer-events: none; }
html.intro.nogl.flooding .flood-fallback { clip-path: circle(80% at 50% 50%); transition: clip-path .7s cubic-bezier(.6, 0, .4, 1); }
html.intro.nogl.draining .flood-fallback { clip-path: inset(100% 0 0 0); transition: clip-path .9s cubic-bezier(.6, 0, .3, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The tap invitation is a ring of box-shadow: it never adds scroll overflow,
   which a scaled outline did at full width on a phone. */
.approve.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: tap 1.6s var(--ease) infinite; }
@keyframes tap { 0% { box-shadow: 0 0 0 0 oklch(0.665 0.236 22 / .75); } 100% { box-shadow: 0 0 0 12px oklch(0.665 0.236 22 / 0); } }
@media (prefers-reduced-motion: reduce) { .approve.pulse::after { display: none; } }

/* ---------- the plain pages: privacy, licenses, 404 ---------- */
.doc .bar { max-width: 1100px; margin: 0 auto; }
.doc main { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; padding: 24px var(--pad) 64px; }
.doc h1 { margin: 16px 0 8px; font: 800 clamp(32px, 5vw, 56px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.doc h1 em { font-style: normal; color: var(--lit); }
.doc h2 { margin: 36px 0 8px; font: 700 18px/1.3 var(--display); }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 66ch; text-wrap: pretty; }
.doc .meta { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.doc a { color: var(--ice); text-underline-offset: 3px; }
.doc .foot { max-width: 1100px; margin: 0 auto; }
.lost { min-height: 70vh; display: grid; align-content: center; }
.lost .kicker { margin-top: 0; }
.doc .bar [data-push] { margin-left: auto; }
/* .doc a is ice for links in the text; the bar and the foot keep their own. */
.doc .bar .brand { color: var(--ink); text-decoration: none; }
.doc .bar .doors a { color: var(--ink-2); }
.doc .bar .doors a:hover, .doc .bar .doors a[aria-current="true"] { color: var(--ink); }
.doc .bar .btn, .doc .foot a { color: var(--ink); }
.doc .foot a { color: inherit; }
.doc a.btn { color: var(--ink); text-decoration: none; }

/* ---------- the og card: ?still&og at 1200x630, rendered by tools/build.mjs ---------- */
html.og .doors, html.og .bar .btn-cta, html.og .band, html.og .foot, html.og .ctas, html.og .status, html.og .lede,
html.og .director > :not(.bambam), html.og .phone { display: none !important; }
html.og body.home { grid-template-rows: auto 1fr; }
html.og .stage { grid-template-columns: 1.35fr 1fr; padding-bottom: 40px; }
html.og .wordmark { font-size: 112px; }
html.og .line { font-size: 28px; margin-top: 22px; }
html.og .kicker { font-size: 16px; }
html.og .bambam { width: 400px; margin: 0 auto; animation: none; }
html.og .director { width: auto; justify-self: center; }
html.og .demo { display: block; height: auto; padding: 0; }
