/* maliq.nyc on Arc: the same tokens as the app (DESIGN.md). Neutral grey carries everything; the lavender-to-peach agent gradient
   appears only where an agent did the work (the stages behind the product, the bot orbs). Light and dark follow the system. */
@font-face { font-family: "Geist Variable"; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Variable"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: oklch(100% 0 0); --side: oklch(98.6% 0 0); --surface: oklch(100% 0 0); --muted: oklch(97.2% 0 0); --active: oklch(95.2% 0 0);
  --fg: oklch(15% 0 0); --fg2: oklch(46% 0 0); --fg3: oklch(59% 0 0);
  --line: oklch(93.5% 0 0); --line2: oklch(87% 0 0);
  --accent: oklch(18% 0 0); --accent-fg: oklch(100% 0 0);
  --ok: oklch(49% .19 150); --warn: oklch(58% .18 75); --bad: oklch(54% .21 25); --blue: oklch(55% .17 255);
  --agent-from: oklch(90% .045 300); --agent-to: oklch(92% .045 65);
  --agent-dot-from: oklch(66% .14 300); --agent-dot-to: oklch(72% .13 60);
  --raised: 0 6px 18px oklch(0% 0 0 / .065), 0 1px 3px oklch(0% 0 0 / .035);
  --floating: 0 24px 56px oklch(0% 0 0 / .13), 0 3px 10px oklch(0% 0 0 / .05);
  --display: "Geist Variable", "Inter Variable", system-ui, sans-serif;
  --body: "Inter Variable", system-ui, sans-serif;
  --spring: linear(0, 0.0258, 0.09, 0.1763, 0.2732, 0.3724, 0.4683, 0.5573, 0.6376, 0.7082, 0.7689, 0.8202, 0.8628, 0.8976, 0.9256, 0.9476, 0.9648, 0.9778, 0.9876, 0.9946, 0.9995, 1.0027, 1.0045, 1.0053, 1.0053, 1.0049, 1.0043, 1.0036, 1.0029, 1.0023, 1.0017, 1.0012, 1);
  --standard: cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(19% 0 0); --side: oklch(17% 0 0); --surface: oklch(21.5% 0 0); --muted: oklch(26% 0 0); --active: oklch(29% 0 0);
    --fg: oklch(96% 0 0); --fg2: oklch(77% 0 0); --fg3: oklch(64% 0 0);
    --line: oklch(29% 0 0); --line2: oklch(38% 0 0);
    --accent: oklch(93% 0 0); --accent-fg: oklch(19% 0 0);
    --ok: oklch(78% .18 150); --warn: oklch(83% .17 80); --bad: oklch(76% .2 25); --blue: oklch(75% .13 255);
    --agent-from: oklch(38% .05 300); --agent-to: oklch(40% .045 60);
    --agent-dot-from: oklch(72% .12 300); --agent-dot-to: oklch(80% .11 65);
    --raised: 0 8px 22px oklch(0% 0 0 / .26); --floating: 0 22px 55px oklch(0% 0 0 / .45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--body); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid color-mix(in oklch, var(--fg) 55%, transparent); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--display); font-weight: 500; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--accent); color: var(--accent-fg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* ---- buttons: pills, near-black for the primary ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font: 500 15px/1 var(--body); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background .24s var(--standard), transform .16s var(--standard); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--accent); color: var(--accent-fg); }
.btn-ink:hover { background: color-mix(in oklch, var(--accent) 86%, var(--bg)); }
.btn-soft { background: var(--muted); color: var(--fg); }
.btn-soft:hover { background: var(--active); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---- header ---- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); background: color-mix(in oklch, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 18px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-fg); }
.bar nav { display: flex; gap: 6px; margin-left: 8px; }
.bar nav a { padding: 6px 12px; border-radius: 999px; color: var(--fg2); font-size: 14.5px; text-decoration: none; transition: background .24s var(--standard), color .24s var(--standard); }
.bar nav a:hover { background: var(--muted); color: var(--fg); }
.bar-cta { margin-left: auto; display: flex; gap: 8px; }

main { overflow-x: clip; }
section { padding: 0 24px; }

/* ---- hero ---- */
.hero { max-width: 1180px; margin: 0 auto; padding: 64px 24px 24px; text-align: center; }
.hero h1 { max-width: 15ch; margin: 0 auto; font-size: clamp(42px, 6.4vw, 78px); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.lede { max-width: 38em; margin: 22px auto 0; color: var(--fg2); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; text-wrap: balance; }
.cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

/* the stage: the one bold surface. The agent gradient, large radius, the product floating on it */
.stage { position: relative; display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); border-radius: 28px; background:
  radial-gradient(60% 70% at 18% 12%, color-mix(in oklch, var(--agent-from) 100%, transparent), transparent 70%),
  radial-gradient(60% 70% at 88% 90%, color-mix(in oklch, var(--agent-to) 100%, transparent), transparent 70%),
  linear-gradient(var(--ang, 135deg), var(--agent-from), var(--agent-to)); }
.s1 { --ang: 135deg; } .s2 { --ang: 215deg; } .s3 { --ang: 60deg; }
.hero-stage { margin-top: 64px; padding: clamp(18px, 4.5vw, 64px) clamp(14px, 4.5vw, 64px) clamp(52px, 6vw, 84px); text-align: left; }

/* ---- windows (panels, hairlines, no shadow except where it floats on the stage) ---- */
.win { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--floating); overflow: hidden; text-align: left; }
.wbar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--fg3); font-size: 12.5px; }
.wbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.wbar span { margin-left: 8px; }
.hero-win { max-width: 1040px; }
.cols { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; min-height: 420px; }
.cols > * { padding: 16px; min-width: 0; }
.cols > * + * { border-left: 1px solid var(--line); }
.side { background: var(--side); }
h6 { display: flex; align-items: center; gap: 6px; margin: 4px 4px 10px; font: 400 12.5px/1 var(--body); color: var(--fg3); letter-spacing: -0.005em; }
h6 em { font-style: normal; color: var(--fg3); background: var(--active); padding: 2px 7px; border-radius: 999px; }
.side h6:not(:first-child) { margin-top: 18px; }
.li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 13.5px; line-height: 1.3; }
.li.on { background: var(--active); }
.li > div { flex: 1; min-width: 0; font-weight: 500; }
small { display: block; color: var(--fg3); font-size: 12.5px; font-weight: 400; line-height: 1.35; }
.t { color: var(--fg3); font-size: 12px; }
.ck { width: 16px; height: 16px; flex: none; border: 1.5px solid var(--line2); border-radius: 50%; margin: 0 2px; }

.chat { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.bub { align-self: flex-end; max-width: 88%; padding: 10px 14px; background: var(--muted); border-radius: 18px 18px 6px 18px; }
.chat p { line-height: 1.5; } .chat b { font-weight: 600; }
.dim { color: var(--fg3); font-size: 12.5px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 11px; border: 1px solid var(--line2); border-radius: 999px; font-size: 12.5px; }
.composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border: 1px solid var(--line2); border-radius: 999px; color: var(--fg3); font-size: 13.5px; }
.composer b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 500; }
.doc-pane h3 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; }
.s { font-size: 14px; line-height: 1.55; color: var(--fg2); }
.s u { text-decoration: none; color: var(--fg); font-weight: 500; } .s u.r { color: var(--bad); } .s u.a { color: var(--warn); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.kv > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.kv b { display: block; font: 500 22px/1.15 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; } .kv b.r { color: var(--bad); }
.row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; line-height: 1.35; }
.doc-pane .row { padding: 10px 0; }
.dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--fg3); } .dot.r { background: var(--bad); } .dot.a { background: var(--warn); } .dot.b { background: var(--blue); }
.grp { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; font: 500 14px/1 var(--body); }
.grp b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; } .grp .dot { margin: 0; } .grp em { font-style: normal; color: var(--fg3); font-size: 12.5px; }
.grp:not(:first-of-type) { border-top: 1px solid var(--line); margin-top: 4px; }
.grp + .row { border-top: 0; }

/* the live browser, floating over the corner of the stage */
.mini { position: absolute; right: clamp(12px, 3vw, 40px); bottom: clamp(10px, 2vw, 24px); width: min(420px, 62%); box-shadow: var(--floating); }
.mini pre { margin: 0; padding: 14px 16px; font: 400 12.5px/1.65 var(--body); white-space: pre-wrap; color: var(--fg2); }
.mini b { color: var(--ok); font-weight: 500; } .mini code { font: inherit; display: block; margin-top: 4px; color: var(--fg); } .mini u { text-decoration: none; padding: 1px 8px; border-radius: 999px; background: color-mix(in oklch, var(--warn) 14%, transparent); color: var(--warn); }

/* the one orchestrated moment: the hero settles in, in order */
@media (prefers-reduced-motion: no-preference) {
  .hero-win [style*="--d"] { animation: settle .7s var(--spring) both; animation-delay: calc(var(--d) * 110ms + 250ms); }
  .mini { animation: settle .8s var(--spring) both; animation-delay: 1.1s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ---- the bots as characters (geometry shared with web/src/BotMark.tsx and ios BotMark.swift) ---- */
.bot { display: inline-block; flex: none; width: var(--s, 40px); height: var(--s, 40px); line-height: 0; --lx: 0; --ly: 0; }
.bot svg { width: 100%; height: 100%; overflow: visible; }
.bot .body, .bot .eyes { transform-box: fill-box; transform-origin: 50% 100%; }
.bot .eyes { transform-origin: 50% 50%; }
.bot .pupil { translate: calc(var(--lx) * 1.7px) calc(var(--ly) * 1.7px); transition: translate .18s var(--standard); }
.logo.bot { margin-right: -2px; }
.hero-bot { display: block; margin: 0 auto 22px; cursor: pointer; filter: drop-shadow(0 10px 18px color-mix(in oklch, var(--agent-dot-from) 28%, transparent)); }
@media (prefers-reduced-motion: no-preference) {
  .bot .body { animation: breathe 4.4s ease-in-out infinite; animation-delay: var(--bd, 0s); }
  .bot .eyes { animation: blink 5.6s infinite; animation-delay: var(--bd, 0s); }
  .bot[data-state=working] .pupil { animation: scan 1.7s ease-in-out infinite; animation-delay: var(--bd, 0s); }
  .bot[data-state=working] .body { animation: bob 1.1s ease-in-out infinite; animation-delay: var(--bd, 0s); }
  .bot[data-state=attention] .body { animation: hop 1.3s cubic-bezier(.3, 1.6, .5, 1) infinite; }
  .bot[data-state=attention] .eyes { animation: none; transform: scale(1.14); }
  .bot .acc { transform-box: fill-box; transform-origin: 50% 50%; }
  .bot[data-state=working] .acc { animation: wiggle 1.7s ease-in-out infinite; animation-delay: var(--bd, 0s); }
}
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.025); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes scan { 0%, 100% { transform: translateX(-1.4px); } 50% { transform: translateX(1.4px); } }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 12% { transform: translateY(1px) scale(1.06, .92); } 30% { transform: translateY(-5px) scale(.96, 1.06); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---- statute strip ---- */
.strip { max-width: 1180px; margin: 0 auto; padding: 56px 24px 24px; text-align: center; }
.strip p { color: var(--fg2); font-size: 15px; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.strip li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg2); font-size: 13.5px; }

/* ---- alternating rows: copy beside a stage ---- */
.rowx { max-width: 1180px; margin: 0 auto; padding: 72px 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rowx.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rowx h2, .roster h2, .never h2, .access h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.07; letter-spacing: -0.032em; text-wrap: balance; }
.copy p { margin-top: 16px; max-width: 34em; color: var(--fg2); font-size: 17px; line-height: 1.6; }
.copy .fine { font-size: 13px; color: var(--fg3); }
.more { display: inline-block; margin-top: 22px; padding: 10px 20px; border-radius: 999px; background: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; transition: background .24s var(--standard); }
.more:hover { background: var(--active); }
.stage .win { max-width: 520px; }
.stage .hero-win { max-width: 1040px; }

/* violations feed */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; line-height: 1.35; }
.feed li:first-child { border-top: 0; animation: settle .6s var(--spring) both; }
.tag { flex: none; min-width: 62px; margin-top: 1px; padding: 2px 9px; border: 1px solid; border-radius: 8px; font-size: 12px; font-weight: 500; text-align: center; }
.t-new { color: var(--bad); border-color: color-mix(in oklch, var(--bad) 25%, transparent); background: color-mix(in oklch, var(--bad) 12%, transparent); }
.t-hear { color: var(--warn); border-color: color-mix(in oklch, var(--warn) 25%, transparent); background: color-mix(in oklch, var(--warn) 12%, transparent); }
.t-ok { color: var(--ok); border-color: color-mix(in oklch, var(--ok) 25%, transparent); background: color-mix(in oklch, var(--ok) 12%, transparent); }
.hand { margin: 4px 12px 12px; padding: 14px 16px; border-radius: 16px; background: var(--muted); }
.hand h5 { font-size: 15px; margin-bottom: 4px; } .hand p { font-size: 13.5px; color: var(--fg2); margin-bottom: 12px; line-height: 1.5; }

/* ---- roster: the bots, as a list like the app's ---- */
.roster { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.roster .head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.roster .head p { margin-top: 14px; color: var(--fg2); font-size: 17px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.roster ul { margin: 0 auto; padding: 6px; max-width: 880px; list-style: none; }
.roster li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; transition: background .24s var(--standard); }
.roster li:hover { background: var(--muted); }
.roster li { position: relative; }
.roster li + li::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: var(--line); transition: opacity .24s var(--standard); }
.roster li:hover::before, .roster li:hover + li::before { opacity: 0; }
.roster li > div { flex: 1; min-width: 0; }
.roster h3 { font-size: 17px; letter-spacing: -0.02em; }
.roster li p { margin-top: 2px; color: var(--fg2); font-size: 14.5px; line-height: 1.45; }
.st { flex: none; color: var(--fg3); font-size: 13px; white-space: nowrap; }
.st.need { padding: 4px 11px; border-radius: 999px; background: color-mix(in oklch, var(--warn) 14%, transparent); color: var(--warn); }
.st.live { padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, var(--agent-from), var(--agent-to)); color: var(--fg); }

/* calculators */
.calc { padding: 18px 20px 20px; display: grid; gap: 8px; }
.calc label { font-size: 13px; color: var(--fg2); margin-top: 8px; }
.calc output { color: var(--fg); font-weight: 500; }
.calc input, .calc select, .ask input, .ask select, .ask textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); color: var(--fg); font: 400 16px/1 var(--body); letter-spacing: -0.01em; }
.calc input[type=range] { height: 24px; padding: 0; border: 0; background: none; accent-color: var(--accent); }
.money { position: relative; } .money span { position: absolute; left: 14px; top: 11px; color: var(--fg3); } .money input { padding-left: 28px; }
.out { margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--muted); }
.big { font: 500 34px/1.1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.out p { margin-top: 8px; font-size: 13.5px; color: var(--fg2); line-height: 1.5; }
.tl { margin-top: 10px; } .tl-track { position: relative; height: 10px; border-radius: 999px; background: var(--active); }
.tl-track i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--agent-dot-from), var(--agent-dot-to)); }
.tl-track b { position: absolute; top: -4px; width: 3px; height: 18px; margin-left: -1px; border-radius: 2px; background: var(--fg); }
.tl-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--fg3); }

/* ---- more: one panel, hairline cells ---- */
.more-panel { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.more-panel .panel { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.more-panel article { padding: 28px 28px 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: -1px 0 0 -1px; }
.more-panel h3, .never h4 { font-size: 17px; letter-spacing: -0.02em; }
.more-panel p, .never p { margin-top: 8px; color: var(--fg2); font-size: 15px; line-height: 1.55; }

.never { max-width: 1180px; margin: 0 auto; padding: 72px 24px 24px; }
.never h2 { text-align: center; margin-bottom: 36px; }
.cells4 { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.cells4 > div { padding: 28px 26px 30px; border-left: 1px solid var(--line); margin-left: -1px; }

/* ---- access ---- */
.access { max-width: 1180px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ask { padding: 28px; display: grid; gap: 8px; border-radius: 28px; }
.ask label { font-size: 13.5px; color: var(--fg2); margin-top: 8px; } .ask .opt { color: var(--fg3); }
.ask textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ask button { margin-top: 14px; }
.ask-msg { min-height: 1.4em; font-size: 14px; color: var(--fg2); } .ask-msg.ok { color: var(--ok); } .ask-msg.err { color: var(--bad); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); background: var(--side); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--fg3); }
.foot .brand { font-size: 16px; color: var(--fg); } .foot .mark { width: 26px; height: 26px; border-radius: 8px; }
.foot p { flex: 1; min-width: 240px; } .foot nav { display: flex; gap: 18px; } .foot nav a { text-decoration: none; color: var(--fg2); } .foot nav a:hover { color: var(--fg); }

/* ---- legal and support pages ---- */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.035em; line-height: 1.08; }
.doc .upd { margin-top: 10px; color: var(--fg3); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.025em; }
.doc p, .doc li { color: var(--fg2); font-size: 16px; line-height: 1.7; } .doc p { margin-top: 12px; } .doc ul { margin: 10px 0 0; padding-left: 22px; } .doc a { text-decoration-color: var(--line2); text-underline-offset: 3px; }

/* ---- smaller screens ---- */
@media (max-width: 1020px) {
  .cols { grid-template-columns: 230px minmax(0, 1fr); } .doc-pane { display: none; }
  .more-panel .panel { grid-template-columns: repeat(2, 1fr); } .cells4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bar { gap: 12px; padding: 10px 16px; } .bar nav { display: none; }
  .hero { padding-top: 56px; } .rowx, .rowx.rev, .access { grid-template-columns: 1fr; padding: 48px 20px; gap: 28px; }
  .rowx.rev .stage { order: 2; } .rowx.rev .copy { order: 1; }
  .cols { grid-template-columns: 1fr; } .side { display: none; } .cols > * + * { border-left: 0; }
  .mini { position: static; width: 100%; max-width: 560px; margin-top: 14px; }
  .hero-stage { padding-bottom: 20px; }
  .roster li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; } .roster .st { grid-column: 2; margin-top: 8px; justify-self: start; white-space: normal; }
  .roster, .never, .more-panel, .strip { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .more-panel .panel, .cells4 { grid-template-columns: 1fr; }
  .more-panel article, .cells4 > div { margin: 0; border-left: 0; border-top: 1px solid var(--line); }
  .more-panel article:first-child, .cells4 > div:first-child { border-top: 0; }
  .bar-cta .btn-soft { display: none; }
  .cta .btn { flex: 1 1 140px; padding: 0 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
