/* The public site (src/site.ts): home, terms, privacy, copyright, cookies. */

@font-face { font-family: 'Libertinus Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/libertinus-serif-400.woff2') format('woff2'); }
@font-face { font-family: 'Libertinus Serif'; font-weight: 400; font-style: italic; font-display: swap; src: url('/fonts/libertinus-serif-400italic.woff2') format('woff2'); }
@font-face { font-family: 'Libertinus Serif'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/libertinus-serif-600.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/courier-prime-400.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/courier-prime-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 100 1000; font-style: normal; font-display: swap; src: url('/fonts/dm-sans.woff2') format('woff2'); }

:root {
  color-scheme: light dark;
  --bg: #faf9f7;
  --bg-2: #f3f1ec;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --text: #2b2a28;
  --dim: #76756f;
  --rule: #e4e1da;
  --shadow: 0 1px 1px rgb(26 26 26 / 4%), 0 8px 24px -8px rgb(26 26 26 / 14%), 0 24px 48px -24px rgb(26 26 26 / 18%);
  --red: #e5484d;
  --sweep: linear-gradient(90deg, #ee6c2b 0%, #e8386a 20%, #d33fb0 40%, #a54be0 60%, #7a5cf0 80%, #3e82f5 100%);
  --serif: 'Libertinus Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Courier Prime', 'Courier New', Courier, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151515;
    --bg-2: #1c1c1b;
    --paper: #212120;
    --ink: #f1efea;
    --text: #d9d7d1;
    --dim: #8d8c86;
    --rule: #2f2e2b;
    --shadow: 0 1px 1px rgb(0 0 0 / 30%), 0 10px 30px -10px rgb(0 0 0 / 60%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sweep { background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slug { margin: 0 0 14px; font: 700 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* ---- header & footer ---- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.mark { font: 400 22px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--dim); transition: color .15s; }
.top nav a:hover { color: var(--ink); }
.top nav a.in { color: var(--ink); padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.foot { width: min(calc(var(--wrap) - 48px), calc(100% - 48px)); margin: 40px auto 0; padding: 48px 0 36px; border-top: 1px solid var(--rule); font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--dim); margin: 10px 0 0; max-width: 26ch; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot h3 { margin: 0 0 4px; font: 700 11px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.foot nav a { color: var(--text); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .legal { margin-top: 36px; font-size: 13px; }

/* ---- sign in ---- */
.start { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 460px; }
.start input { min-width: 0; padding: 13px 16px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / 4%) inset; }
.start input:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #a54be0; }
.start button { padding: 13px 20px; font: 600 15px/1 var(--sans); color: var(--bg); background: var(--ink); border: 0; border-radius: 10px; cursor: pointer; transition: transform .12s, box-shadow .2s; }
.start button:hover { box-shadow: 0 6px 18px -6px rgb(165 75 224 / 60%); }
.start button:active { transform: translateY(1px); }
.start button:disabled { opacity: .55; cursor: default; }
.start .said { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink); font-size: 14px; }
.start .agree { grid-column: 1 / -1; margin: 4px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.alt { display: grid; gap: 12px; max-width: 460px; margin: 0 0 12px; }
.google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.google:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--rule)); box-shadow: 0 4px 14px -6px rgb(0 0 0 / 20%); }
.alt .or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.alt .or::before, .alt .or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.last .alt { margin: 0 auto 12px; }
.fine { color: var(--dim); font-size: 13px; margin: 12px 0 0; }

/* ---- paper ---- */
.sheet { background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); }
.script { position: relative; padding: 56px 54px 52px 68px; font: 400 13.5px/1.45 var(--mono); color: var(--ink); }
.script p { margin: 0 0 13px; }
.script .num { position: absolute; top: 26px; right: 40px; font-size: 13px; color: var(--dim); }
.script .slugline { text-transform: uppercase; font-weight: 700; }
.script .cue { margin: 0 0 0 30%; text-transform: uppercase; }
.script .line { margin: 0 14% 13px 17%; }
.script .ai { background: var(--sweep); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.script .red { color: var(--red); }
.script .status { margin: 26px -30px -24px -40px; padding-top: 12px; border-top: 1px solid var(--rule); font: 400 12px/1 var(--sans); color: var(--dim); text-align: right; }
.flag { display: inline-block; position: relative; top: -2px; margin-left: 6px; padding: 2px 7px; border-radius: 4px; font: 600 10.5px/1.4 var(--sans); color: #fff; background: var(--who, #3e63dd); vertical-align: middle; white-space: nowrap; }
.ai-flag { background: var(--sweep); }
.caret { position: relative; display: inline-block; width: 2px; height: 1.2em; margin: 0 1px; vertical-align: -0.2em; }
.caret::before { content: ''; position: absolute; inset: 0; background: var(--who); animation: blink 1.1s steps(1) infinite; }
.caret .flag { position: absolute; left: -1px; bottom: calc(100% + 2px); top: auto; margin: 0; border-radius: 4px 4px 4px 0; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---- the hero ---- */
.hero { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 88px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; }
.hero .lede { margin: 0 0 28px; max-width: 34em; font-size: 17px; color: var(--text); }
.stage { position: relative; min-height: 520px; }
.stage .sheet { position: absolute; }
.stage .mid { inset: 2% 2% 4% 13%; transform: rotate(3.2deg); background: var(--bg-2); }
.float { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--paper); box-shadow: 0 1px 1px rgb(26 26 26 / 6%), 0 14px 34px -10px rgb(26 26 26 / 28%); font-size: 13px; color: var(--text); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.float.here { top: -3%; left: 1%; animation-delay: .5s; }
.float.here .faces i { box-shadow: 0 0 0 2px var(--paper); }
.float.note-ai { bottom: 7%; left: -5%; max-width: 270px; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.45; animation-delay: .9s; }
.float.note-ai b { font-size: 12px; background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stage .script { inset: 0 0 0 9%; transform: rotate(-0.6deg); animation: settle 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { opacity: 0; transform: translateY(18px) rotate(1.5deg); } to { opacity: 1; transform: rotate(-0.6deg); } }
.stage .script .ai { background-size: 200% 100%; animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---- features ---- */
.features { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; padding: 72px 0; border-top: 1px solid var(--rule); }
.feature.flip .words { order: 2; }
.feature h2, .mac h2, .pricing h2, .reader h2, .last h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.feature p { margin: 0 0 14px; max-width: 32em; }
.feature .words ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 15px; }
.feature .words ul li { position: relative; padding-left: 20px; margin: 8px 0; }
.feature .words ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--sweep); }
.feature .promises li { color: var(--text); }
.feature .promises b { color: var(--ink); }
.shot { position: relative; }
.script.small { padding: 34px 32px 26px 40px; font-size: 13px; }
.page-demo { padding-top: 46px; }

/* board */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; background: var(--bg-2); border-radius: 14px; border: 1px solid var(--rule); }
.deck { display: flex; flex-direction: column; gap: 10px; }
.deck > b { font: 700 11px/1 var(--mono); letter-spacing: .06em; color: var(--dim); margin: 2px 0 2px 2px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 14px 18px; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tag); }
.card i { font: 700 11.5px/1.3 var(--mono); font-style: normal; color: var(--ink); text-transform: uppercase; }
.card span { font-size: 13.5px; color: var(--dim); }
.card.lift { transform: translate(-10px, -4px) rotate(-2deg); box-shadow: 0 18px 40px -12px rgb(26 26 26 / 35%); outline: 2px solid color-mix(in srgb, var(--tag) 60%, transparent); }
.legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--dim); }
.legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--tag); }

/* room */
.room { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: var(--bg-2); }
.room .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 13px; color: var(--dim); border-bottom: 1px solid var(--rule); }
.faces { display: flex; }
.faces i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; font: 600 11px/1 var(--sans); font-style: normal; color: #fff; background: var(--who); box-shadow: 0 0 0 2px var(--bg-2); }
.room .script { margin: 22px; border-radius: 3px; }
.roles { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0 22px 18px; font-size: 13px; color: var(--dim); }
.roles b { color: var(--text); font-weight: 500; }

/* ai */
.ai-demo { display: grid; gap: 16px; }
.chat { display: grid; gap: 10px; font-size: 14px; }
.chat p { margin: 0; padding: 12px 14px; border-radius: 12px; max-width: 86%; }
.chat .you { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.chat .them { background: var(--paper); box-shadow: var(--shadow); border-bottom-left-radius: 4px; }
.chat .them b { display: block; margin-bottom: 4px; font-size: 12px; background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* world */
.world { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
.tabs { grid-column: 1 / -1; display: inline-flex; gap: 2px; justify-self: start; padding: 3px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--rule); font-size: 13px; }
.tabs span { padding: 6px 12px; border-radius: 7px; color: var(--dim); }
.tabs .on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.drafts { margin: 0; padding: 6px; list-style: none; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); }
.drafts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; }
.drafts li:first-child { background: var(--bg-2); }
.drafts b { font-weight: 500; color: var(--ink); }
.drafts span { color: var(--dim); white-space: nowrap; }
.note { padding: 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--rule); font-size: 13.5px; }
.note b { font: 700 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.note p { margin: 8px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; color: var(--ink); }

/* vault */
.vault { padding: 26px 28px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); font: 400 13.5px/1.9 var(--mono); }
.vault .zip { margin: 0 0 10px; font-family: var(--sans); font-weight: 600; color: var(--ink); }
.vault .zip::before { content: ''; display: inline-block; width: 14px; height: 18px; margin-right: 10px; vertical-align: -3px; border-radius: 2px; background: var(--sweep); }
.vault ul { margin: 0; padding: 0 0 0 24px; list-style: none; color: var(--text); }
.vault .dir { color: var(--ink); font-weight: 700; margin-left: -12px; }

/* ---- mac, pricing, reader, last ---- */
.mac, .pricing, .last { width: min(calc(var(--wrap) - 48px), calc(100% - 48px)); margin: 0 auto; padding: 88px 0; text-align: center; }
.mac { border-top: 1px solid var(--rule); }
.mac p:not(.slug) { max-width: 36em; margin: 0 auto; }
.pricing { border-top: 1px solid var(--rule); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 36px auto 0; text-align: left; }
.plan { padding: 30px 30px 26px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font: 700 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.plan .price { margin: 10px 0 2px; font: 400 46px/1 var(--serif); color: var(--ink); }
.plan .price small { font: 400 15px var(--sans); color: var(--dim); }
.plan .or { margin: 6px 0 0; font-size: 14px; color: var(--dim); }
.plan ul { margin: 20px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--rule); font-size: 15px; }
.plan li { margin: 8px 0; padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--dim); font-size: 13px; }
.plan.pro { position: relative; }
.plan.pro::before { content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1.5px; background: var(--sweep); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan.pro li::before { background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing .fine { margin-top: 18px; }

.reader { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; width: min(calc(var(--wrap) - 48px), calc(100% - 48px)); margin: 24px auto; padding: 64px 56px; border-radius: 20px; background: #161616; color: #d9d7d1; }
.reader h2 { color: #f1efea; }
.reader .slug { color: #8d8c86; }
.reader b { color: #f1efea; font-weight: 600; }
.reader p { margin: 0 0 18px; }
.reader .go { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 10px; background: #f1efea; color: #161616; font-weight: 600; text-decoration: none; transition: gap .15s; }
.reader .go:hover { gap: 12px; }
.coverage { padding: 26px; border-radius: 14px; background: #202020; border: 1px solid #2f2e2b; font-size: 14px; }
.coverage .k { margin: 0 0 14px; font: 700 11px/1 var(--mono); letter-spacing: .06em; color: #8d8c86; }
.coverage .score { margin: 0 0 14px; color: #8d8c86; }
.coverage .score b { font: 400 44px/1 var(--serif); color: #f1efea; }
.coverage .v { display: flex; justify-content: space-between; margin: 0; padding: 8px 0; border-top: 1px solid #2f2e2b; }
.coverage .v span { color: #8d8c86; }
.bars { display: grid; gap: 9px; margin-top: 14px; }
.bars i { position: relative; display: block; padding-bottom: 7px; font-style: normal; font-size: 12.5px; color: #b5b3ad; }
.bars i::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--v) * 100%); border-radius: 3px; background: var(--sweep); }
.bars i::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: #2f2e2b; }

.last h2 { font-family: var(--mono); font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.last > p { margin: 0 0 26px; color: var(--dim); }
.last .start { margin: 0 auto; text-align: left; }

/* ---- sign in ---- */
.signin { max-width: 460px; margin: 6vh auto 40px; }
.signin h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 44px); line-height: 1.08; }
.signin .lede { margin: 0 0 28px; color: var(--dim); font-size: 17px; }
.signin .start { max-width: none; }
.doc main:has(.signin) { max-width: 520px; }

/* ---- the small print ---- */
.doc main { max-width: 720px; margin: 0 auto; padding: 48px 24px 24px; }
.legal-doc h1 { margin: 0 0 6px; font-size: 40px; line-height: 1.1; }
.legal-doc .updated { margin: 0 0 32px; color: var(--dim); font-size: 14px; }
.legal-doc h2 { margin: 40px 0 10px; font-size: 24px; line-height: 1.2; }
.legal-doc h3 { margin: 26px 0 8px; font: 600 16px/1.35 var(--sans); }
.legal-doc p, .legal-doc li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-doc b, .legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc .short { padding: 22px 24px; margin: 0 0 36px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--rule); }
.legal-doc .short h2 { margin-top: 0; font-size: 20px; }
.legal-doc .short li { margin-bottom: 4px; }
.legal-doc blockquote, .legal-doc .agent { margin: 18px 0; padding: 18px 20px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--rule); }

/* ---- the admin dashboard ---- */
.admin { font-size: 14px; }
.adm-top { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 18px 24px; }
.adm-top > span { font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.adm-top nav { margin-left: auto; display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--rule); }
.adm-top nav a { padding: 6px 12px; border-radius: 7px; text-decoration: none; color: var(--dim); }
.adm-top nav a.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.adm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; padding: 8px 24px 48px; }
.adm .stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.stat span { font: 700 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.stat b { font: 400 30px/1.05 var(--serif); color: var(--ink); }
.stat small { color: var(--dim); font-size: 12px; line-height: 1.4; }
.panel { padding: 20px 22px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); min-width: 0; }
.panel.wide { grid-column: 1 / -1; }
.panel h2 { margin: 0 0 14px; font: 600 14px/1.3 var(--sans); color: var(--ink); letter-spacing: 0; }
.panel .mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.panel .mini .stat { box-shadow: none; background: var(--bg-2); padding: 12px 14px; }
.panel .mini .stat b { font-size: 22px; }
.chart { width: 100%; height: auto; display: block; }
.chart .axis { font: 10px var(--sans); fill: var(--dim); }
.key { display: flex; gap: 16px; margin: -6px 0 10px; color: var(--dim); font-size: 12px; }
.key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.key i.a { background: linear-gradient(#d33fb0, #ee6c2b); }
.key i.b { background: linear-gradient(#3e82f5, #7a5cf0); }
.ranked { margin: 0 0 12px; padding: 0; list-style: none; }
.ranked li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 6px; overflow: hidden; }
.ranked li i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--sweep); opacity: .12; border-radius: 6px; }
.ranked .lbl { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.ranked .val { position: relative; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranked .val small { color: var(--dim); }
.ranked code, .hint code { font: 12.5px var(--mono); }
.none, .hint { color: var(--dim); font-size: 13px; }
.adm > .hint { grid-column: 1 / -1; }
.writers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.writers th { text-align: left; font: 700 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 0 10px 8px; }
.writers td { padding: 8px 10px; border-top: 1px solid var(--rule); white-space: nowrap; }
.writers td:first-child { white-space: normal; overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 1000px) { .adm .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .adm { grid-template-columns: 1fr; padding: 8px 16px 40px; }
  .adm .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-top { padding: 14px 16px; flex-wrap: wrap; }
  .writers th:nth-child(2), .writers td:nth-child(2), .writers th:nth-child(5), .writers td:nth-child(5) { display: none; }
}

/* ---- smaller screens ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 64px; }
  .stage { min-height: 470px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feature.flip .words { order: 0; }
  .reader { grid-template-columns: 1fr; gap: 32px; width: calc(100% - 32px); padding: 40px 26px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .top { padding: 12px 16px; }
  .top nav { gap: 14px; font-size: 13px; }
  .top nav a:not(.in):not([href^="https"]) { display: none; }
  .features { padding: 0 16px; }
  .hero { padding: 28px 16px 56px; }
  .hero .lede { font-size: 16px; }
  .start { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .stage .back, .stage .mid { display: none; }
  .stage .script { position: relative; inset: auto; transform: none; animation: none; }
  .script { padding: 40px 22px 30px 26px; font-size: 12px; }
  .script .num { right: 20px; top: 16px; }
  .script .cue { margin-left: 26%; }
  .script .line { margin: 0 4% 12px 12%; }
  .script .status { margin: 20px -6px -12px -8px; }
  .board { grid-template-columns: 1fr; padding: 16px; }
  .card.lift { transform: rotate(-1.5deg); }
  .world { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .mac, .pricing, .last { width: calc(100% - 32px); padding: 64px 0; }
  .foot { width: calc(100% - 32px); padding: 40px 0 28px; }
  .float { display: none; }
  .foot .cols { grid-template-columns: 1fr; gap: 24px; }
  .doc main { padding: 32px 16px 16px; }
  .legal-doc h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
