/* qwest.dev: the app's slate with the brand's gold. One stylesheet for every page, no build step. */
:root {
  --inset: #121417;
  --bg: #16181b;
  --surface: #1b1d21;
  --card: #23262b;
  --raised: #2c3036;
  --line: #2a2d33;
  --edge: #2e3238;
  --fg: #eceef1;
  --muted: #a9aeb6;
  --dim: #7d838c;
  --accent: #e6b450;
  --accent-fg: #1a1405;
  --accent-soft: rgba(230, 180, 80, 0.14);
  --accent-text: #eecb85;
  --sky: #8ccbf0;
  --sky-soft: rgba(102, 192, 244, 0.16);
  --amber: #f0a35e;
  --mint: #7fc8a9;
  --red: #ef7b7b;
  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font-ui); overflow-x: hidden; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: #f7dda0; }
h1, h2, h3, h4 { font-family: var(--font-title); letter-spacing: -0.02em; line-height: 1.08; margin: 0; font-weight: 800; }
p { margin: 0; }
img, svg { display: block; }
.i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
section { padding: 96px 0; }

/* ---------------------------------------------------------------- header / footer */
.top { position: sticky; top: 0; z-index: 10; background: rgba(22, 24, 27, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font: 800 21px var(--font-title); letter-spacing: -0.02em; }
.brand:hover { color: var(--fg); }
.brand img { width: 30px; height: 30px; }
.links { display: flex; gap: 30px; }
.links a, .menu-panel a { color: var(--muted); font-weight: 600; font-size: 15px; }
.links a:hover, .links a[aria-current="page"] { color: var(--fg); }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fg); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 20px; height: 20px; }
.menu-panel { position: absolute; right: 0; top: 48px; width: 220px; padding: 8px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--edge), 0 24px 60px -10px rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; }
.menu-panel a { padding: 10px 12px; border-radius: 8px; color: var(--fg); }
.menu-panel a:hover { background: var(--raised); }

footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.foot-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.foot-brand .brand { font-size: 20px; }
.foot-brand .brand img { width: 28px; height: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col b { font-size: 13px; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--fg); }
.copy { font-size: 13px; color: var(--dim); margin-top: auto; }

/* ---------------------------------------------------------------- buttons, small parts */
.button { height: 38px; padding: 0 16px; border-radius: 8px; border: 0; font: 700 14.5px var(--font-ui); display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; cursor: pointer; }
.button.big { height: 48px; padding: 0 22px; border-radius: 10px; font-size: 16px; }
.primary { background: var(--accent); color: var(--accent-fg); }
.primary:hover { background: #edc46b; color: var(--accent-fg); }
.secondary { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1px #33373e; }
.secondary:hover { background: var(--raised); color: var(--fg); }
.ghost { background: transparent; color: var(--fg); }
.ghost:hover { background: var(--card); color: var(--fg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.checks span, .ticks li { display: flex; align-items: flex-start; gap: 8px; }
.checks .i, .ticks .i { color: var(--accent); stroke-width: 2; margin-top: 3px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px #34383f; color: var(--fg); font-size: 13.5px; font-weight: 600; }
.pill:hover { color: var(--fg); background: var(--raised); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pill em { font-style: normal; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; gap: 4px; font-size: 12.5px; }
.pill em .i { width: 11px; height: 11px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box .i { width: 20px; height: 20px; }
.av { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #16181b; font-size: 10px; font-weight: 700; box-shadow: 0 0 0 2px var(--card); }

/* ---------------------------------------------------------------- headings of a section */
.head { display: flex; flex-direction: column; gap: 16px; }
.head.center { align-items: center; text-align: center; margin: 0 auto 48px; }
.head h2 { font-size: clamp(32px, 4.4vw, 48px); max-width: 960px; }
.head p { font-size: 18px; color: var(--muted); max-width: 640px; }
.page-head { padding: 88px 0 40px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); max-width: 900px; }
.page-head p { font-size: 19px; color: var(--muted); max-width: 680px; margin-top: 18px; }

/* ---------------------------------------------------------------- home: hero */
.hero { position: relative; padding: 76px 0 0; }
.hero::before { content: ""; position: absolute; left: 50%; top: 360px; width: min(1100px, 100%); height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(230, 180, 80, 0.16), transparent); pointer-events: none; }
.hero .intro { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1; max-width: 980px; }
.hero .intro > p { max-width: 680px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero .actions { justify-content: center; margin-top: 6px; }
.hero .checks { justify-content: center; }

/* The app, drawn: a browser window around a task board. Fixed size, zoomed down on small screens. */
.shot-frame { position: relative; display: flex; justify-content: center; }
.shot { zoom: var(--z, 1); width: 1200px; height: 620px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--edge), 0 40px 120px -20px rgba(0, 0, 0, 0.7), 0 0 160px -40px rgba(230, 180, 80, 0.25); font-size: 13px; text-align: left; }
.shot-bar { height: 36px; flex-shrink: 0; padding: 0 14px; display: flex; align-items: center; gap: 7px; background: var(--inset); border-bottom: 1px solid #0b0c0e; }
.shot-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #3a3e45; }
.shot-bar .url { width: auto; height: auto; margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #1a1c20; color: var(--dim); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.shot-bar .url .i { width: 11px; height: 11px; }
.shot-body { flex-grow: 1; min-height: 0; display: flex; position: relative; }
.rail { width: 52px; flex-shrink: 0; background: var(--inset); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; }
.rail span { position: relative; width: 36px; height: 36px; border-radius: 9px; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.rail span .i { width: 17px; height: 17px; stroke-width: 1.5; }
.rail .proj { width: 32px; height: 32px; background: var(--accent); color: var(--accent-fg); font: 800 12px var(--font-title); margin-bottom: 8px; }
.rail .on { background: var(--raised); color: #fff; }
.rail .on::before { content: ""; position: absolute; left: -8px; top: 9px; width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side { width: 220px; flex-shrink: 0; background: var(--bg); border-right: 1px solid #101214; padding-top: 8px; }
.side .name { height: 40px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font: 800 15px var(--font-title); }
.side .name .i { width: 13px; height: 13px; color: var(--muted); }
.side .label { padding: 6px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--dim); }
.side .label + .row { margin-top: 0; }
.side .gap { height: 10px; }
.row { height: 28px; margin: 0 8px; padding-left: 10px; border-radius: 6px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.row .i { width: 14px; height: 14px; stroke-width: 1.5; }
.row.in { padding-left: 24px; }
.row.folder { color: var(--fg); }
.row.on { background: var(--raised); color: var(--fg); font-weight: 600; }
.app { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.tabs { height: 38px; flex-shrink: 0; padding: 0 8px; background: var(--bg); border-bottom: 1px solid #101214; display: flex; align-items: flex-end; gap: 2px; }
.tabs span { height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.tabs .i { width: 13px; height: 13px; stroke-width: 1.5; }
.tabs .on { border-radius: 8px 8px 0 0; background: var(--surface); margin-bottom: -1px; box-shadow: inset 0 2px 0 var(--accent); color: var(--fg); font-weight: 600; }
.app-head { height: 52px; flex-shrink: 0; padding: 0 20px; display: flex; align-items: center; gap: 12px; }
.app-head b { font: 800 19px var(--font-title); letter-spacing: -0.02em; }
.app-head .muted { font-size: 12.5px; flex-grow: 1; }
.app-head .av { width: 24px; height: 24px; box-shadow: 0 0 0 2px var(--surface); }
.app-head .new { margin-left: 8px; height: 30px; padding: 0 12px; border-radius: 7px; background: var(--accent); color: var(--accent-fg); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.app-head .new .i { width: 13px; height: 13px; stroke-width: 2; }
.lists { flex-grow: 1; padding: 4px 20px 20px; display: flex; gap: 14px; overflow: hidden; }
.list { width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.list > b { height: 26px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.list > b span { color: var(--dim); }
.tcard { padding: 10px 11px; border-radius: 9px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.tcard.sel { box-shadow: inset 0 0 0 1.5px var(--accent); }
.tcard > b { font-weight: 600; line-height: 1.35; }
.tcard.done > b { color: var(--muted); text-decoration: line-through; }
.tcard > span { display: flex; align-items: center; gap: 6px; }
.tag { padding: 1px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); font-size: 11px; font-weight: 600; }
.ref { display: flex; align-items: center; gap: 4px; color: var(--dim); font-size: 11px; }
.ref .i { width: 11px; height: 11px; }
.pts { margin-left: auto; font: 11px var(--font-mono); color: var(--dim); }
.done .av, .tcard > span .av:only-child { margin-left: auto; }
.av.s { width: 20px; height: 20px; }
.cursor { position: absolute; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.cursor svg { width: 18px; height: 18px; }
.cursor span { margin: 2px 0 0 14px; padding: 5px 10px; border-radius: 4px 12px 12px; color: #16181b; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- home: the stack it replaces */
.replaces { padding: 120px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.replaces p { font-size: 15px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.chips span { height: 40px; padding: 0 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-decoration: line-through; text-decoration-color: #5a5f68; }
.chips .arrow { background: none; box-shadow: none; padding: 0 6px; }
.chips .arrow .i { width: 20px; height: 20px; }
.chips .one { height: 48px; padding: 0 18px 0 12px; border-radius: 12px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(230, 180, 80, 0.4); color: var(--fg); font-size: 16px; font-weight: 700; text-decoration: none; }
.chips .one img { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- a story: text beside a picture of the app */
.story { padding: 72px 0; }
.story .wrap { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.story.flip .wrap { flex-direction: row-reverse; }
.story .text { flex: 0 1 440px; display: flex; flex-direction: column; gap: 16px; }
.story h2, .story h3 { font-size: clamp(30px, 3.6vw, 40px); }
.story .text > p { font-size: 17px; color: var(--muted); }
.story .ticks { margin-top: 6px; }
.art { flex-shrink: 0; zoom: var(--z, 1); }

.doc-art { position: relative; width: 600px; height: 520px; }
.doc { position: absolute; left: 0; top: 0; width: 470px; padding: 30px 34px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge); }
.doc small { font-size: 12px; color: var(--dim); }
.doc h4 { font-size: 26px; margin: 6px 0 14px; }
.doc p { font-size: 14.5px; line-height: 1.65; color: #d5d8dd; margin-bottom: 12px; }
.doc u { color: var(--fg); text-decoration-color: #555; }
.doc .line { height: 8px; border-radius: 4px; background: #262a30; margin-top: 10px; }
.mention { padding: 1px 6px 1px 4px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; vertical-align: -2px; }
.mention .i { width: 12px; height: 12px; }
.obj { position: absolute; left: 300px; top: 236px; width: 300px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px #363a41, 0 24px 60px -10px rgba(0, 0, 0, 0.6); overflow: hidden; font-size: 13px; }
.obj header { padding: 14px; display: flex; align-items: center; gap: 10px; }
.obj header > span:first-child { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #6b3e2e, #e6a04a); color: #ffe9c2; display: flex; align-items: center; justify-content: center; }
.obj header b { display: block; font-size: 14px; }
.obj header small { font-size: 12px; color: var(--muted); }
.obj .f { height: 32px; padding: 0 14px; display: flex; align-items: center; border-top: 1px solid var(--line); }
.obj .f span { width: 96px; color: var(--muted); }
.obj .f b { font: 500 12.5px var(--font-mono); }
.obj .f small { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.obj footer { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.obj footer .i { width: 12px; height: 12px; }

.cal-art { position: relative; width: 600px; margin-bottom: 86px; }
.cal { border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge); overflow: hidden; font-size: 12px; }
.cal-top { height: 52px; padding: 0 18px; display: flex; align-items: center; gap: 10px; }
.cal-top b { font: 800 18px var(--font-title); letter-spacing: -0.02em; }
.cal-top > span { color: var(--dim); font-size: 14px; font-weight: 600; flex-grow: 1; }
.legend { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.cal-days, .week > div { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-days { padding-bottom: 6px; text-align: center; font-size: 11px; font-weight: 700; color: var(--dim); }
.week { position: relative; height: 96px; border-top: 1px solid var(--line); background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 7) 100%; }
.week > div span { padding: 6px 0 0 8px; }
.week .today { display: inline-flex; width: 20px; height: 20px; margin: -2px 0 0 -4px; padding: 0; border-radius: 50%; background: var(--accent); color: var(--accent-fg); align-items: center; justify-content: center; font-weight: 800; }
.bar { position: absolute; left: calc(var(--d) * 100% / 7 + 3px); top: calc(30px + var(--r) * 26px); min-width: calc(var(--n) * 100% / 7 - 6px); height: 22px; padding: 0 8px; border-radius: 6px; display: flex; align-items: center; gap: 6px; white-space: nowrap; z-index: 1; }
.bar .i { width: 12px; height: 12px; }
.bar.steam { background: var(--sky-soft); color: var(--sky); }
.bar.ours { background: var(--accent); color: var(--accent-fg); font-weight: 700; }
.bar.clash { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--amber); }
.bar.theirs { color: var(--fg); box-shadow: inset 0 0 0 1px #4a4f57; background: var(--surface); }
.bar.play { background: rgba(127, 200, 169, 0.14); color: var(--mint); }
.warn { position: absolute; right: -48px; bottom: -86px; width: 330px; padding: 14px 16px; border-radius: 12px; background: #2a2620; box-shadow: 0 0 0 1px rgba(240, 163, 94, 0.35), 0 24px 60px -10px rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.warn b { display: flex; align-items: center; gap: 8px; color: var(--amber); font-size: 12.5px; }
.warn b .i { width: 14px; height: 14px; }
.warn p { font-size: 13.5px; line-height: 1.5; color: #e4ded4; }
.warn div { display: flex; gap: 8px; font-size: 12.5px; }
.warn div span { height: 28px; padding: 0 10px; border-radius: 7px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.warn div span:first-child { background: rgba(240, 163, 94, 0.18); color: var(--amber); font-weight: 700; }
.warn div .i { width: 12px; height: 12px; }

/* ---------------------------------------------------------------- tiles: the rest of the studio */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tile .pic { height: 190px; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #22252a, var(--surface)); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.tile .about { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.tile .about b { display: flex; align-items: center; gap: 8px; font-size: 16.5px; }
.tile .about b .i { color: var(--accent-text); }
.tile .about span { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ring { display: flex; align-items: center; gap: 20px; }
.ring svg { width: 96px; height: 96px; }
.ring div { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.ring b { font-size: 15px; }
.ring .ok { color: var(--mint); display: flex; align-items: center; gap: 6px; }
.ring .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.quote { width: 300px; padding: 14px 16px; border-radius: 12px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.quote > span { display: flex; align-items: center; gap: 8px; }
.quote .stars { margin-left: auto; display: flex; gap: 2px; color: var(--accent); }
.quote .stars .i { width: 15px; height: 15px; }
.quote .stars .full { fill: var(--accent); }
.quote p { line-height: 1.45; color: #d5d8dd; }
.quote small { font-size: 11.5px; color: var(--dim); display: flex; align-items: center; gap: 5px; }
.quote small .i { width: 11px; height: 11px; }
.caps { display: grid; grid-template-columns: 150px 150px; gap: 10px; }
.caps svg { border-radius: 6px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
.caps .yours { box-shadow: 0 0 0 2px var(--accent); }
.frame { position: relative; width: 330px; height: 160px; }
.frame .note { position: absolute; left: 222px; top: 52px; padding: 6px 10px; border-radius: 8px; background: var(--card); font-size: 12px; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
.frame .pin { position: absolute; left: 190px; top: 60px; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: #e8845a; color: #16181b; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.frame .scrub { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.frame .scrub::before { content: ""; display: block; width: 38%; height: 100%; border-radius: 2px; background: var(--accent); }
.hand { position: relative; width: 330px; height: 190px; }
.hand div { position: absolute; top: 30px; width: 116px; height: 150px; padding: 12px; border-radius: 12px; background: var(--card); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; gap: 8px; }
.hand div span { font: 11px var(--font-mono); color: var(--accent-text); }
.hand div b { line-height: 1.3; }
.hand .top { background: #2b2e34; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px var(--accent); }
.hub { width: 320px; border-radius: 12px; overflow: hidden; background: var(--card); }
.hub .cover { position: relative; height: 82px; }
.hub .cover b { position: absolute; left: 14px; bottom: 10px; font: 800 20px var(--font-title); color: #fff; }
.hub > div:last-child { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.hub > div:last-child span { flex-grow: 1; font-size: 12.5px; color: var(--muted); }
.hub > div:last-child i { font-style: normal; height: 28px; padding: 0 12px; border-radius: 7px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 700; display: flex; align-items: center; }

/* ---------------------------------------------------------------- yours to keep */
.band { background: var(--inset); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.own-top { display: flex; gap: 80px; align-items: center; margin-bottom: 64px; }
.own-top .head { flex-grow: 1; }
.server { width: 420px; flex-shrink: 0; padding: 22px 24px 10px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); }
.server header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.server header > span:first-child { width: 40px; height: 40px; border-radius: 10px; background: var(--card); display: flex; align-items: center; justify-content: center; }
.server header b { display: block; font-size: 15px; }
.server header small { font: 12px var(--font-mono); color: var(--muted); }
.server .state { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mint); font-weight: 600; }
.server .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.server .f { height: 40px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 14px; }
.server .f span { color: var(--muted); }
.server .f .gold { color: var(--accent-text); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar b { font-size: 18px; margin-top: 6px; }
.pillar p { font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plans.two { max-width: 920px; margin: 0 auto; }
.plan { position: relative; padding: 30px 30px 28px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); display: flex; flex-direction: column; gap: 6px; }
.plan.featured { box-shadow: inset 0 0 0 1.5px var(--accent); }
.plan .flag { position: absolute; top: -13px; left: 28px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 12.5px; font-weight: 800; display: flex; align-items: center; }
.plan > b { font-size: 17px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.price strong { font: 800 52px/1.1 var(--font-title); letter-spacing: -0.02em; }
.price span { font-size: 15px; color: var(--muted); }
.plan .note { font-size: 14px; color: var(--muted); min-height: 22px; }
.plan .ticks { margin: 18px 0 26px; }
.plan .button { margin-top: auto; }
.plans-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 28px; }
.plans-title h2 { font-size: 32px; }
.plans-title p { color: var(--muted); }
.plans + .plans-title { margin-top: 72px; }
.center-link { text-align: center; margin-top: 28px; color: var(--muted); }

/* ---------------------------------------------------------------- questions */
.faq { display: flex; gap: 80px; }
.faq > div:first-child { flex: 0 0 360px; display: flex; flex-direction: column; gap: 14px; }
.faq h2 { font-size: 40px; }
.faq > div:first-child p { color: var(--muted); }
.qs { flex-grow: 1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
.qs.one { grid-template-columns: 1fr; }
.qs details { padding: 22px 0; border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 16.5px; font-weight: 700; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .i { color: var(--dim); margin-top: 4px; transition: transform 0.15s; }
.qs details[open] summary .i { transform: rotate(45deg); }
.qs details p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- the closing call */
.closing { margin-bottom: 96px; padding: 72px 32px; border-radius: 24px; background: radial-gradient(80% 140% at 50% 0%, #3a2e17, var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(230, 180, 80, 0.25); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.closing img { width: 56px; height: 56px; }
.closing h2 { font-size: clamp(36px, 5vw, 54px); line-height: 1.02; max-width: 900px; }
.closing p { font-size: 18px; color: var(--muted); }
.closing .actions { justify-content: center; margin-top: 8px; }

/* ---------------------------------------------------------------- features page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.jump a:hover { background: var(--card); color: var(--fg); }
.jump .i { color: var(--accent-text); width: 15px; height: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.card b { font-size: 17px; }
.card p { font-size: 15px; color: var(--muted); }
.group { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.group .head { margin-bottom: 36px; }

/* ---------------------------------------------------------------- self-hosting page */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps .card::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font: 800 15px var(--font-title); display: flex; align-items: center; justify-content: center; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 700; }
.compare td:first-child { color: var(--muted); width: 32%; }
.table-scroll { overflow-x: auto; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.network { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 32px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 14px; }
.network > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.network .muted { font-size: 13px; }
.network .link { color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.network .link .i { width: 22px; height: 22px; }
.network .off { color: var(--dim); text-decoration: line-through; }

/* ---------------------------------------------------------------- changelog page */
.dogfood { display: flex; gap: 48px; align-items: center; padding: 40px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); }
.dogfood > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.dogfood h2 { font-size: clamp(28px, 3.6vw, 38px); }
.dogfood p { font-size: 17px; color: var(--muted); }

/* ---------------------------------------------------------------- account */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
textarea { width: 100%; font: 13px/1.5 var(--font-mono); background: var(--inset); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; word-break: break-all; resize: vertical; margin-bottom: 16px; }
textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
form.card { margin: 28px 0 20px; }
.not-found { padding: 120px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.not-found h1 { font-size: clamp(40px, 6vw, 64px); }

/* ---------------------------------------------------------------- the tour: tabs with a progress bar, an animated view each */
/* Each view is drawn in its final state; the animations start from earlier states and replay every
   time a view is shown (.on). showcase.js moves to the next tab when the bar has filled. */
.showcase { --dur: 7s; position: relative; }
.sc-tabs { position: relative; display: flex; gap: 4px; margin: 0 auto 22px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sc-tabs::-webkit-scrollbar { display: none; }
/* Centred while they fit, scrollable from the first one when they don't. */
.sc-tabs > :first-child { margin-left: auto; }
.sc-tabs > :last-child { margin-right: auto; }
.sc-tabs button { position: relative; flex-shrink: 0; height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 15px var(--font-ui); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sc-tabs button:hover { color: var(--fg); background: var(--surface); }
.sc-tabs button[aria-selected="true"] { color: var(--fg); background: var(--card); }
.sc-tabs button[aria-selected="true"] > .i { color: var(--accent-text); }
.sc-bar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.08); overflow: hidden; opacity: 0; }
.sc-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
[aria-selected="true"] .sc-bar { opacity: 1; }
[aria-selected="true"] .sc-bar i { animation: sc-fill var(--dur) linear both; }
@keyframes sc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sc-caption { text-align: center; color: var(--muted); font-size: 16px; min-height: 26px; margin: 0 auto 22px; max-width: 760px; }
.sc-view[hidden] { display: none; }
.sc-view.on { animation: sc-in 0.35s ease-out; }
@keyframes sc-in { from { opacity: 0; } }
/* Paused until it's on screen, and while it's hovered or has focus. */
.showcase:not(.playing) .sc-bar i, .showcase:not(.playing) .sc-view * { animation-play-state: paused; }
.v { flex-grow: 1; min-height: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.v .cursor { z-index: 5; }

/* tasks: Sam drags a card from In progress to Review */
.a-slot { height: 0; margin-bottom: -8px; border-radius: 9px; box-shadow: inset 0 0 0 1px #3a3e45; opacity: 0; }
.sc-view.on .a-slot { animation: slot 3s 0.2s both; }
@keyframes slot { 0%, 30% { height: 66px; margin-bottom: 0; opacity: 0; } 40%, 75% { height: 66px; margin-bottom: 0; opacity: 1; } 100% { height: 0; margin-bottom: -8px; opacity: 0; } }
.a-move { position: relative; z-index: 3; }
.sc-view.on .a-move { animation: move 2.4s 0.4s both; }
@keyframes move { 0%, 25% { transform: translateX(-225px); } 35% { transform: translateX(-225px) rotate(-2deg) scale(1.03); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7); } 85% { transform: rotate(-2deg) scale(1.03); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7); } 100% { transform: none; } }
.a-drag { opacity: 0; }
.sc-view.on .a-drag { animation: drag 3.6s 0.4s both; }
@keyframes drag { 0% { transform: translate(-200px, 40px); opacity: 0; } 12% { opacity: 1; } 17%, 23% { transform: translateX(-225px); } 57% { transform: none; opacity: 1; } 85% { opacity: 1; } 100% { transform: none; opacity: 0; } }

/* docs: Ana types, then picks an object from the @ menu */
.v-doc { flex-grow: 1; display: flex; min-height: 0; }
.v-doc .page { flex-grow: 1; padding: 40px 72px; }
.v-doc .crumbs { font-size: 12px; color: var(--dim); }
.v-doc h4 { font-size: 30px; margin: 8px 0 18px; }
.v-doc p { font-size: 15px; line-height: 1.7; color: #d5d8dd; margin-bottom: 14px; max-width: 560px; }
.v-doc u { color: var(--fg); text-decoration-color: #555; }
.v-doc .line { height: 8px; border-radius: 4px; background: #262a30; margin-top: 12px; max-width: 560px; }
.mention.person { background: rgba(143, 179, 255, 0.14); color: #b9cdff; padding: 1px 6px; }
.a-line { position: relative; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.sc-view.on .typed { animation: type 1.4s 0.6s steps(22) both; }
@keyframes type { from { max-width: 0; } to { max-width: 14em; } }
.sc-view.on .a-chip { animation: pop-in 0.3s 3.1s both; }
@keyframes pop-in { from { transform: scale(0.4); opacity: 0; } }
.sc-view.on .a-rest { animation: fade-in 0.6s 3.5s both; }
@keyframes fade-in { from { opacity: 0; } }
.caret { display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: #7fc8a9; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pop { position: absolute; left: 160px; top: 30px; width: 240px; padding: 6px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px #363a41, 0 20px 50px -10px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; gap: 2px; font-size: 13px; z-index: 4; opacity: 0; visibility: hidden; }
.pop small { padding: 4px 8px; font-size: 11px; color: var(--dim); font-weight: 700; }
.pop span { height: 32px; padding: 0 8px; border-radius: 7px; display: flex; align-items: center; gap: 8px; color: var(--fg); }
.pop span.on { background: var(--raised); }
.pop em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--dim); }
.sc-view.on .a-pop { animation: pop-life 1.2s 2s both; }
@keyframes pop-life { 0% { opacity: 0; visibility: visible; transform: translateY(6px); } 15%, 85% { opacity: 1; visibility: visible; transform: none; } 100% { opacity: 0; visibility: hidden; } }

/* graphs: Leo drops a new line in, and its edge draws itself */
.v-graph { flex-grow: 1; position: relative; background: radial-gradient(circle, #2a2d33 1px, transparent 1.4px) 0 0 / 22px 22px; }
.gnode { position: absolute; width: 216px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px #33373e, 0 10px 24px -10px rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.45; }
.gnode b { font-size: 11.5px; letter-spacing: 0.03em; text-transform: uppercase; }
.gnode.choice { width: 226px; background: #1f2226; box-shadow: inset 0 0 0 1px #3a3e45; }
.gnode.a-node { box-shadow: 0 0 0 1.5px var(--accent), 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.edges path { fill: none; stroke: #4a4f57; stroke-width: 1.6; }
.edges .a-edge { stroke: var(--accent); stroke-dasharray: 320; }
.sc-view.on .a-edge { animation: draw 0.9s 1.9s both; }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
.sc-view.on .a-node, .sc-view.on .a-leo { animation: drop 1.4s 0.5s both; }
@keyframes drop { from { transform: translate(60px, 60px); opacity: 0; } 25% { opacity: 1; transform: translate(60px, 60px); } to { transform: none; } }
.gtools { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 5px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px #33373e; display: flex; gap: 2px; font-size: 12.5px; z-index: 2; }
.gtools span { height: 30px; padding: 0 10px; border-radius: 7px; display: flex; align-items: center; gap: 6px; color: var(--muted); }

/* objects: a field changes, then the places that mention the object come in */
.v-obj { flex-grow: 1; padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; }
.v-obj header { display: flex; align-items: center; gap: 14px; }
.oicon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #6b3e2e, #e6a04a); color: #ffe9c2; display: flex; align-items: center; justify-content: center; }
.oicon .i { width: 22px; height: 22px; }
.v-obj header b { display: block; font: 800 24px var(--font-title); letter-spacing: -0.02em; }
.chain { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.chain .i { width: 12px; height: 12px; color: var(--dim); }
.chain em { font-style: normal; color: var(--fg); }
.ocols { display: flex; gap: 28px; min-height: 0; }
.ofields { flex: 1.3; border-radius: 12px; background: var(--card); overflow: hidden; }
.ouses { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.v-obj small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--dim); }
.ofields > small { display: block; padding: 12px 16px 8px; }
.of { height: 44px; padding: 0 16px; display: flex; align-items: center; border-top: 1px solid var(--line); font-size: 14px; }
.of > span { width: 140px; color: var(--muted); }
.of > b { font: 500 14px var(--font-mono); }
.of small { margin-left: auto; font-weight: 600; letter-spacing: 0; font-size: 12px; }
.of small.own { color: var(--accent-text); }
.swap { position: relative; display: inline-block; }
.swap s { position: absolute; left: 0; top: 0; opacity: 0; color: var(--dim); }
.sc-view.on .swap s { animation: old 1.4s 0.6s both; }
@keyframes old { from, 60% { opacity: 1; } to { opacity: 0; } }
.sc-view.on .swap span { animation: fade-in 0.4s 1.5s both; }
.sc-view.on .a-flash { animation: flash 1.8s 1.4s both; }
@keyframes flash { from { background: rgba(230, 180, 80, 0.22); } to { background: transparent; } }
.use { height: 52px; padding: 0 14px; border-radius: 10px; background: var(--card); display: flex; align-items: center; gap: 10px; font-size: 14px; }
.use .i { color: var(--muted); }
.use small { margin-left: auto; font-weight: 600; letter-spacing: 0; font-size: 12px; }
.sc-view.on .use { animation: slide-in 0.5s calc(2.2s + var(--k) * 0.35s) both; }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } }

/* calendar: the clash card, "Move", and the date moves to a quiet week */
.v-cal { flex-grow: 1; position: relative; padding: 16px 20px; }
.v-cal .cal { box-shadow: none; background: transparent; font-size: 12px; }
.v-cal .cal-top { padding: 0 4px; height: 40px; }
.v-cal .week { height: 84px; }
.v-cal .week .out { color: var(--dim); }
.v-cal .warn { right: 32px; bottom: 28px; opacity: 0; visibility: hidden; }
.sc-view.on .a-warn { animation: warn-life 3s 0.5s both; }
@keyframes warn-life { 0% { opacity: 0; visibility: visible; transform: translateY(10px); } 10%, 85% { opacity: 1; visibility: visible; transform: none; } 100% { opacity: 0; visibility: hidden; } }
.sc-view.on .a-press { animation: press 0.4s 2.4s both; }
@keyframes press { 50% { transform: scale(0.94); background: rgba(240, 163, 94, 0.35); } }
.sc-view.on .a-demo { animation: demo 0.9s 3s both; }
@keyframes demo { from { transform: translateY(84px); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--amber); } to { transform: none; } }
.toast { position: absolute; right: 32px; bottom: 28px; height: 40px; padding: 0 16px; border-radius: 10px; background: #1f2a24; box-shadow: 0 0 0 1px rgba(127, 200, 169, 0.35); color: var(--mint); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sc-view.on .a-toast { animation: rise 0.4s 3.8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* playtests: feedback comes in */
.v-play { flex-grow: 1; padding: 26px 32px; display: flex; flex-direction: column; gap: 18px; }
.v-play header { display: flex; align-items: center; gap: 12px; }
.v-play header b { font: 800 22px var(--font-title); letter-spacing: -0.02em; }
.v-play .open { height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(127, 200, 169, 0.14); color: var(--mint); font-size: 12px; font-weight: 700; display: flex; align-items: center; }
.v-play header .muted { margin-left: auto; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats div { padding: 14px 16px; border-radius: 12px; background: var(--card); display: flex; flex-direction: column; gap: 2px; }
.stats small, .v-play .sec { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--dim); text-transform: uppercase; }
.stats b { font: 800 24px var(--font-title); }
.fbs { display: flex; flex-direction: column; gap: 10px; }
.fb { padding: 14px 16px; border-radius: 12px; background: var(--card); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fb .who { display: flex; align-items: center; gap: 8px; }
.fb .stars { display: flex; gap: 2px; color: var(--accent); margin-left: 6px; }
.fb .stars .i { width: 13px; height: 13px; }
.fb .stars .full { fill: var(--accent); }
.fb em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: 1px 8px; border-radius: 999px; }
.fb p { color: #d5d8dd; }
.fb small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.fb small .i { width: 12px; height: 12px; }
.sc-view.on .fb { animation: drop-in 0.5s calc(0.7s + var(--k) * 0.9s) both; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } }

/* assistant: a question, the dots, then the answer with its sources */
.v-ai { flex-grow: 1; display: flex; flex-direction: column; min-height: 0; }
.ai-bar { height: 46px; flex-shrink: 0; padding: 0 24px; border-bottom: 1px solid #101214; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.ai-bar > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ai-switch { margin: 0 0 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--fg); }
.ai-switch .box { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: var(--accent-fg); display: flex; align-items: center; justify-content: center; }
.ai-switch .box .i { width: 12px; height: 12px; stroke-width: 2.4; margin: 0; }
.chat { flex-grow: 1; padding: 26px 0; width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.msg { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; }
.msg .av { width: 28px; height: 28px; font-size: 12px; }
.msg.me p { padding: 10px 14px; border-radius: 4px 14px 14px; background: var(--card); }
.bot-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.msg.bot > div { display: flex; flex-direction: column; gap: 10px; color: #d5d8dd; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; }
.srcs span { height: 26px; padding: 0 10px; border-radius: 7px; background: var(--card); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.srcs .i { width: 12px; height: 12px; }
.suggest { align-self: flex-start; height: 32px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(230, 180, 80, 0.4); color: var(--accent-text); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.suggest .i { width: 13px; height: 13px; }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
.a-dots { opacity: 0; visibility: hidden; }
.typing { height: 28px; display: flex; align-items: center; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: 0.5; } }
.sc-view.on .a-dots { animation: dots-life 1.4s 0.5s both; }
@keyframes dots-life { 0%, 90% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.sc-view.on .a-answer { animation: rise 0.5s 1.9s both; }
.sc-view.on .a-answer .suggest { animation: rise 0.4s 2.8s both; }
.compose { flex-shrink: 0; width: 640px; margin: 0 auto 24px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px #33373e; display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 14px; }

/* "AI is optional" */
.ai-note { display: flex; gap: 20px; align-items: flex-start; padding: 28px 30px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); }
.ai-note b { font-size: 18px; }
.ai-note p { color: var(--muted); margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .sc-view *, .sc-view.on { animation: none !important; }
}

/* docs: the doc's header bar, with who's here on the right */
.v-doc { flex-direction: column; }
.doc-bar { height: 44px; flex-shrink: 0; padding: 0 12px 0 20px; border-bottom: 1px solid #101214; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.doc-bar .title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.doc-bar .title .i { width: 14px; height: 14px; color: var(--muted); }
.doc-bar .muted { font-size: 12px; }
.viewers { margin-left: auto; display: flex; }
.viewers .av { width: 26px; height: 26px; font-size: 11px; box-shadow: 0 0 0 2px var(--surface); }
.viewers .av + .av { margin-left: -6px; }
.doc-bar .more { width: 30px; height: 30px; border-radius: 7px; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.v-doc .page { width: 100%; max-width: 720px; margin: 0 auto; padding: 30px 24px; }

/* games: Sam types /spin, the wheel spins, Tom gets it */
.v-games { flex-grow: 1; position: relative; }
.dim { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0.3; filter: saturate(0.5); }
.dim .a-drag, .dim .a-slot { display: none; }
.dim * { animation: none !important; }
.chatline { margin: 2px 0 0 14px; padding: 6px 12px; border-radius: 4px 12px 12px; background: #e6b450; color: #16181b; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sc-view.on .chatline .typed { animation: type-long 1.5s 0.3s steps(30) both; }
@keyframes type-long { from { max-width: 0; } to { max-width: 22em; } }
.cmds { margin: 6px 0 0 14px; width: 340px; padding: 6px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px #363a41, 0 20px 50px -10px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; }
.cmds span { height: 34px; padding: 0 8px; border-radius: 7px; display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 13px; }
.cmds span.on { background: var(--raised); }
.cmds .i { color: var(--accent-text); }
.cmds em { font-style: normal; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-view.on .a-cmds { animation: pop-life 1.4s 0.4s both; }
.arena { position: absolute; left: calc(50% - 150px); top: 44px; width: 440px; padding: 18px 20px 20px; border-radius: 18px; background: #1f2226; box-shadow: 0 0 0 1px #363a41, 0 30px 80px -10px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 4; }
.sc-view.on .a-arena { animation: arena-in 0.45s 1.9s both; }
@keyframes arena-in { from { opacity: 0; transform: scale(0.9) translateY(12px); } }
.arena-head { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.arena-head .i { color: var(--accent-text); }
.arena-head .muted { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wheel { width: 250px; height: 250px; }
.wheel-svg { width: 100%; height: 100%; overflow: visible; }
.a-wheel { transform-box: view-box; transform-origin: 125px 125px; transform: rotate(1692deg); }
.sc-view.on .a-wheel { animation: spin 3s 2.3s cubic-bezier(0.12, 0.6, 0.1, 1) both; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(1692deg); } }
.result { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.result .av { width: 30px; height: 30px; font-size: 13px; }
.result b { font: 800 18px var(--font-title); }
.sc-view.on .a-result { animation: rise 0.4s 5.3s both; }
.confetti { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; opacity: 0; }
.sc-view.on .confetti i { animation: burst 1.5s 5.35s ease-out both; }
@keyframes burst { 0% { opacity: 0; transform: none; } 2% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* ---------------------------------------------------------------- vignettes: a small loop on each feature card */
/* Drawn in a resting state; they loop only while on screen (.in, set by site.js). */
.vcard { padding: 14px 14px 22px; gap: 8px; }
.vcard > b, .vcard > p { padding: 0 8px; }
.vig { height: 132px; margin-bottom: 8px; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 100% at 50% 0%, #23262b, var(--inset)); font-size: 12px; }
.vig .av { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px var(--inset); }

.vg-doc { width: 200px; display: flex; flex-direction: column; gap: 9px; }
.vg-doc b { width: 46%; height: 10px; border-radius: 4px; background: #d5d8dd; margin-bottom: 4px; }
.vg-doc i { width: var(--w); height: 6px; border-radius: 3px; background: #343840; transform-origin: left; }
.in .vg-doc i { animation: vg-line 4.5s infinite; }
.in .vg-doc i:nth-of-type(2) { animation-delay: 0.5s; }
.in .vg-doc i:nth-of-type(3) { animation-delay: 1s; }
.in .vg-doc i:nth-of-type(4) { animation-delay: 1.5s; }
@keyframes vg-line { 0% { transform: scaleX(0); } 18%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.vg-graph { width: 220px; height: 100px; }
.vg-graph rect { fill: #2c3036; stroke: #3a3e45; stroke-width: 1.5; }
.vg-graph path { fill: none; stroke: #4a4f57; stroke-width: 1.5; }
.vg-graph .draw { stroke: var(--accent); stroke-dasharray: 60; }
.vg-graph .new { fill: rgba(230, 180, 80, 0.2); stroke: var(--accent); }
.in .vg-graph .draw { animation: vg-draw 3.6s infinite; }
.in .vg-graph .new { animation: vg-new 3.6s infinite; }
@keyframes vg-draw { 0%, 15% { stroke-dashoffset: 60; } 45%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes vg-new { 0%, 40% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }

.vg-obj { position: relative; width: 230px; height: 100px; }
.vg-obj > span:not(.line) { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: var(--card); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.vg-obj .i { width: 12px; height: 12px; color: var(--accent-text); }
.vg-obj em { font: 10.5px var(--font-mono); color: var(--dim); margin-left: 2px; }
.vg-obj .p { left: 50%; top: 4px; transform: translateX(-50%); }
.vg-obj .c1 { left: 0; bottom: 4px; }
.vg-obj .c2 { right: 0; bottom: 4px; }
.vg-obj .line { position: absolute; border-color: #4a4f57; border-style: solid; }
.vg-obj .l1 { left: 50%; top: 32px; width: 0; height: 12px; border-width: 0 0 0 1.5px; }
.vg-obj .l2 { left: 52px; right: 52px; top: 44px; height: 16px; border-width: 1.5px 1.5px 0; border-radius: 8px 8px 0 0; }
.in .vg-obj .p em { animation: vg-src 3.6s infinite; }
.in .vg-obj .c em { animation: vg-inherit 3.6s infinite; }
@keyframes vg-src { 0%, 5% { color: var(--dim); } 15%, 35% { color: var(--accent-text); } 50% { color: var(--dim); } }
@keyframes vg-inherit { 0%, 25% { opacity: 0; transform: translateY(-12px); } 45% { opacity: 1; transform: none; color: var(--accent-text); } 80% { color: var(--dim); } }

.vg-mention { display: flex; align-items: center; gap: 6px; }
.vg-mention > i { width: var(--w); height: 6px; border-radius: 3px; background: #343840; }
.ms { display: grid; }
.ms > * { grid-area: 1 / 1; align-self: center; }
.vg-mention .at { font: 12px var(--font-mono); color: var(--accent-text); opacity: 0; }
.vg-mention .chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 5px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; white-space: nowrap; }
.vg-mention .chip .i { width: 12px; height: 12px; }
.in .vg-mention .at { animation: vg-at 3.6s infinite; }
.in .vg-mention .chip { animation: vg-chip 3.6s infinite; }
@keyframes vg-at { 0%, 5% { opacity: 0; } 12%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes vg-chip { 0%, 40% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.1); } 56%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.vg-board { position: relative; width: 212px; height: 96px; }
.vg-board span { position: absolute; top: 0; width: 64px; height: 96px; border-radius: 7px; background: #1f2226; }
.vg-board span:nth-child(1) { left: 0; }
.vg-board span:nth-child(2) { left: 74px; }
.vg-board span:nth-child(3) { left: 148px; }
.vg-board i { position: absolute; width: 54px; height: 14px; border-radius: 4px; background: #2c3036; }
.vg-board .a { left: 5px; top: 8px; }
.vg-board .b { left: 5px; top: 28px; }
.vg-board .d { left: 79px; top: 8px; }
.vg-board .e { left: 153px; top: 8px; }
.vg-board .mover { left: 79px; top: 28px; background: var(--accent); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.6); }
.in .vg-board .mover { animation: vg-mover 4.8s infinite; }
@keyframes vg-mover { 0%, 15% { left: 5px; top: 48px; opacity: 1; } 32%, 50% { left: 79px; top: 28px; } 67%, 90% { left: 153px; top: 28px; opacity: 1; } 100% { left: 153px; top: 28px; opacity: 0; } }

.vg-ring { display: flex; align-items: center; gap: 14px; }
.vg-ring svg { width: 84px; height: 84px; }
.vg-ring circle { fill: none; stroke: #2c3036; stroke-width: 9; }
.vg-ring .fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 239; stroke-dashoffset: 67; }
.in .vg-ring .fill { animation: vg-ring 4.5s infinite; }
@keyframes vg-ring { 0% { stroke-dashoffset: 239; } 60%, 92% { stroke-dashoffset: 67; opacity: 1; } 100% { stroke-dashoffset: 67; opacity: 0; } }
.vg-ring div { display: flex; flex-direction: column; gap: 4px; }
.vg-ring b { font-size: 13px; }
.vg-ring span { color: var(--mint); }

.vg-cal { position: relative; width: 226px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.vg-cal span { height: 64px; border-radius: 5px; background: #1f2226; }
.vg-cal i { position: absolute; height: 14px; border-radius: 4px; }
.vg-cal .band { left: calc(3 * (100% + 3px) / 7); right: 0; top: 8px; background: var(--sky-soft); }
.vg-cal .date { left: 33px; width: 26px; top: 30px; background: var(--accent); }
.in .vg-cal .date { animation: vg-date 4.5s infinite; }
@keyframes vg-date { 0%, 30% { left: 130px; box-shadow: 0 0 0 2px var(--inset), 0 0 0 3.5px var(--amber); } 55%, 90% { left: 33px; box-shadow: none; opacity: 1; } 100% { left: 33px; opacity: 0; } }

.vg-deck { position: relative; width: 160px; height: 104px; }
.vg-deck span { position: absolute; left: 53px; top: 14px; width: 54px; height: 76px; padding: 6px; border-radius: 8px; background: var(--card); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7); font: 11px var(--font-mono); color: var(--accent-text); }
.vg-deck span { transform: var(--t); }
.vg-deck span:nth-child(1) { --t: translateX(-40px) rotate(-14deg); }
.vg-deck span:nth-child(2) { --t: translateY(-6px); z-index: 2; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px var(--accent); }
.vg-deck span:nth-child(3) { --t: translateX(40px) rotate(14deg); }
.in .vg-deck span { animation: vg-fan 4.2s infinite; }
@keyframes vg-fan { 0%, 20%, 100% { transform: none; } 45%, 85% { transform: var(--t); } }

.vg-join { display: flex; align-items: center; }
.vg-join .av + .av { margin-left: -8px; }
.vg-join b { margin-left: 12px; color: var(--muted); font-weight: 600; }
.in .vg-join .av { animation: vg-pop 4.5s calc(var(--k) * 0.3s) infinite backwards; }
@keyframes vg-pop { 0% { transform: scale(0); opacity: 0; } 10%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }

.vg-stars { display: flex; gap: 6px; color: var(--accent); }
.vg-stars .i { width: 26px; height: 26px; fill: currentColor; }
.in .vg-stars span { animation: vg-star 4s calc(var(--k) * 0.25s) infinite backwards; }
@keyframes vg-star { 0% { color: #3a3e45; transform: none; } 10% { color: var(--accent); transform: scale(1.3); } 18%, 85% { color: var(--accent); transform: none; } 100% { color: #3a3e45; } }

.vg-poll { width: 220px; display: flex; flex-direction: column; gap: 9px; }
.vg-poll span { display: flex; align-items: center; gap: 8px; }
.vg-poll em { width: 72px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.vg-poll i { flex: 1; height: 10px; border-radius: 5px; background: #262a30; position: relative; overflow: hidden; }
.vg-poll i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; background: var(--accent); }
.in .vg-poll i::after { animation: vg-poll 4.5s infinite; }
@keyframes vg-poll { 0% { width: 0; } 45%, 90% { width: var(--w); opacity: 1; } 100% { width: var(--w); opacity: 0; } }

.vg-spark { width: 220px; height: 90px; overflow: visible; }
.vg-spark .ln { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 260; }
.vg-spark .area { fill: rgba(230, 180, 80, 0.1); }
.vg-spark circle { fill: var(--accent); }
.in .vg-spark .ln { animation: vg-spark 4.5s infinite; }
.in .vg-spark .area, .in .vg-spark circle { animation: vg-fade 4.5s infinite; }
@keyframes vg-spark { 0% { stroke-dashoffset: 260; } 50%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes vg-fade { 0%, 45% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }

.vg-assets { display: grid; grid-template-columns: repeat(3, 52px); grid-auto-rows: 38px; gap: 6px; }
.vg-assets i { border-radius: 6px; }
.in .vg-assets i { animation: vg-pop 4.5s calc(var(--k) * 0.18s) infinite backwards; }

.vg-video { position: relative; width: 200px; height: 112px; }
.vg-video .frame { position: absolute; inset: 0 0 16px; border-radius: 8px; background: linear-gradient(180deg, #2a2438, #6b3e2e 65%, #e6a04a); }
.vg-video .bar { position: absolute; left: 0; right: 0; bottom: 4px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
.vg-video .bar i { display: block; width: 55%; height: 100%; border-radius: 2px; background: var(--accent); }
.vg-video .pin { position: absolute; left: 116px; top: 30px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: #e8845a; color: #16181b; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.in .vg-video .bar i { animation: vg-scrub 5s linear infinite; }
.in .vg-video .pin { animation: vg-pin 5s infinite; }
@keyframes vg-scrub { from { width: 0; } to { width: 100%; } }
@keyframes vg-pin { 0%, 52% { transform: scale(0); } 58% { transform: scale(1.25); } 63%, 96% { transform: none; } 100% { transform: scale(0); } }

.vg-cube { perspective: 420px; }
.vg-cube div { position: relative; width: 56px; height: 56px; transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(35deg); }
.vg-cube i { position: absolute; inset: 0; border: 1.5px solid rgba(230, 180, 80, 0.7); background: rgba(230, 180, 80, 0.1); }
.vg-cube .f1 { transform: translateZ(28px); }
.vg-cube .f2 { transform: rotateY(180deg) translateZ(28px); }
.vg-cube .f3 { transform: rotateY(90deg) translateZ(28px); }
.vg-cube .f4 { transform: rotateY(-90deg) translateZ(28px); }
.vg-cube .f5 { transform: rotateX(90deg) translateZ(28px); }
.vg-cube .f6 { transform: rotateX(-90deg) translateZ(28px); }
.in .vg-cube div { animation: vg-turn 9s linear infinite; }
@keyframes vg-turn { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }

.vg-live { position: relative; width: 210px; display: flex; flex-direction: column; gap: 12px; }
.vg-live > i { width: var(--w); height: 6px; border-radius: 3px; background: #343840; }
.vg-live .cur { position: absolute; display: flex; align-items: flex-start; }
.vg-live .cur svg { width: 14px; height: 14px; }
.vg-live .cur em { margin: 9px 0 0 -2px; padding: 0 5px; border-radius: 4px; font-style: normal; font-size: 10px; font-weight: 700; color: #16181b; }
.vg-live .c1 { left: 40px; top: -4px; }
.vg-live .c2 { left: 150px; top: 22px; }
.in .vg-live .c1 { animation: vg-c1 5s ease-in-out infinite; }
.in .vg-live .c2 { animation: vg-c2 5s ease-in-out infinite; }
@keyframes vg-c1 { 33% { transform: translate(90px, 14px); } 66% { transform: translate(30px, 30px); } }
@keyframes vg-c2 { 33% { transform: translate(-100px, 10px); } 66% { transform: translate(-40px, -24px); } }

.vg-ai { width: 210px; display: flex; flex-direction: column; gap: 10px; }
.vg-ai .q { align-self: flex-end; width: 120px; height: 22px; border-radius: 10px 4px 10px 10px; background: var(--card); }
.vg-ai .st { display: grid; }
.vg-ai .st > * { grid-area: 1 / 1; }
.vg-ai .dots { display: flex; gap: 4px; padding: 8px 0; opacity: 0; }
.vg-ai .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.vg-ai .dots i:nth-child(2) { animation-delay: 0.15s; }
.vg-ai .dots i:nth-child(3) { animation-delay: 0.3s; }
.vg-ai .a { display: flex; gap: 8px; align-items: flex-start; }
.vg-ai .a > .i { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); }
.vg-ai .a span { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.vg-ai .a i { height: 6px; border-radius: 3px; background: #343840; }
.vg-ai .a i + i { width: 70%; }
.in .vg-ai .q { animation: vg-q 5s infinite; }
.in .vg-ai .dots { animation: vg-dots 5s infinite; }
.in .vg-ai .a { animation: vg-a 5s infinite; }
@keyframes vg-q { 0% { opacity: 0; transform: translateY(6px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes vg-dots { 0%, 12% { opacity: 0; } 16%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes vg-a { 0%, 42% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.vg-k { position: relative; width: 210px; display: flex; flex-direction: column; gap: 4px; }
.vg-k .box { height: 30px; padding: 0 10px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px #3a3e45; display: flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 4px; }
.vg-k .box em { margin-left: auto; font: 10.5px var(--font-mono); font-style: normal; padding: 1px 5px; border-radius: 4px; background: var(--raised); }
.vg-k .row { position: relative; z-index: 1; height: 24px; padding: 0 10px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.vg-k .row .i { width: 13px; height: 13px; }
.vg-k .row i { height: 6px; width: 60%; border-radius: 3px; background: #343840; }
.vg-k .hl { position: absolute; left: 0; right: 0; top: 38px; height: 24px; border-radius: 6px; background: var(--raised); }
.in .vg-k .hl { animation: vg-hl 3.6s steps(1) infinite; }
@keyframes vg-hl { 0% { top: 38px; } 33% { top: 66px; } 66% { top: 94px; } }

.vg-games { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vg-games span { font: 600 12px var(--font-mono); color: var(--accent-text); }
.vg-wheel g { transform-box: view-box; transform-origin: 50px 50px; }
.in .vg-wheel g { animation: vg-wheel 4.5s cubic-bezier(0.15, 0.6, 0.1, 1) infinite; }
@keyframes vg-wheel { from { transform: rotate(0deg); } 70%, to { transform: rotate(1152deg); } }

.vg-team { display: flex; align-items: center; }
.vg-team .av + .av { margin-left: -8px; }
.vg-team .inv { width: 30px; height: 30px; margin-left: 8px; border-radius: 50%; border: 1.5px dashed #4a4f57; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.in .vg-team .av { animation: vg-slide 4.5s calc(var(--k) * 0.3s) infinite backwards; }
@keyframes vg-slide { 0% { transform: translateX(30px); opacity: 0; } 12%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }

.vg-phone { width: 66px; height: 112px; padding: 8px 6px; border-radius: 14px; box-shadow: inset 0 0 0 2px #3a3e45; overflow: hidden; }
.vg-phone div { display: flex; flex-direction: column; gap: 6px; }
.vg-phone i { height: 14px; border-radius: 4px; background: #2c3036; flex-shrink: 0; }
.vg-phone i:nth-child(3n + 1) { background: rgba(230, 180, 80, 0.35); width: 70%; }
.in .vg-phone div { animation: vg-scroll 4s ease-in-out infinite alternate; }
@keyframes vg-scroll { from { transform: translateY(0); } to { transform: translateY(-40px); } }

.vig b { font-size: inherit; }
.vg-cal2 { position: relative; width: 226px; display: flex; flex-direction: column; gap: 4px; }
.vg-cal2 .wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.vg-cal2 span { height: 44px; border-radius: 5px; background: #1f2226; }
.vg-cal2 i { position: absolute; left: calc(2 * (226px + 3px) / 7 + 1px); width: 28px; height: 13px; border-radius: 4px; }
.vg-cal2 .rival { top: 54px; box-shadow: inset 0 0 0 1.5px #6a6f78; }
.vg-cal2 .date { top: 6px; background: var(--accent); }
.in .vg-cal2 .date { animation: vg-week 4.5s infinite; }
@keyframes vg-week { 0%, 30% { top: 70px; box-shadow: 0 0 0 2px var(--inset), 0 0 0 3.5px var(--amber); } 55%, 90% { top: 6px; box-shadow: none; opacity: 1; } 100% { top: 6px; opacity: 0; } }

.vg-image { position: relative; width: 200px; height: 110px; }
.vg-image .frame { position: absolute; inset: 0; border-radius: 8px; background: radial-gradient(60% 70% at 70% 30%, #e6a04a, transparent), linear-gradient(160deg, #2a2438, #4c9a6a); }
.vg-image .pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; color: #16181b; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.vg-image .p1 { left: 40px; top: 52px; background: #7fc8a9; }
.vg-image .p2 { left: 132px; top: 22px; background: #e8845a; }
.vg-image .note { position: absolute; left: 112px; top: 50px; padding: 4px 8px; border-radius: 6px; background: var(--card); font-size: 11px; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6); }
.in .vg-image .p1 { animation: vg-pin 4.5s 0.2s infinite backwards; }
.in .vg-image .p2 { animation: vg-pin 4.5s 0.9s infinite backwards; }
.in .vg-image .note { animation: vg-fade 4.5s 0.6s infinite backwards; }

.vg-audio { position: relative; width: 240px; height: 96px; display: flex; align-items: center; }
.vg-audio svg { width: 240px; height: 70px; }
.vg-audio rect { fill: #3a3e45; }
.vg-audio .head { position: absolute; left: 140px; top: 10px; bottom: 16px; width: 2px; background: var(--accent); }
.vg-audio .mark { position: absolute; left: 100px; bottom: 0; padding: 2px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 600; white-space: nowrap; }
.in .vg-audio .head { animation: vg-head 5s linear infinite; }
.in .vg-audio .mark { animation: vg-pin 5s infinite; }
@keyframes vg-head { from { left: 0; } to { left: 240px; } }

.vg-discord { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; }
.vg-discord .msg { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #2b2d48; color: #c9cdfb; white-space: nowrap; }
.vg-discord .msg .i { color: #8d96ff; }
.vg-discord .msg b { color: #fff; }
.vg-discord .arrow .i { transform: rotate(90deg); color: var(--dim); }
.vg-discord .got { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(239, 123, 123, 0.4); white-space: nowrap; }
.vg-discord .got .i { color: var(--red); }
.vg-discord .got em { font-style: normal; color: var(--muted); }
.in .vg-discord .msg { animation: vg-q 4.5s infinite; }
.in .vg-discord .got { animation: vg-a 4.5s infinite; }

.vg-creators { width: 220px; display: flex; flex-direction: column; gap: 6px; }
.vg-creators .link { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--card); font: 11px var(--font-mono); color: var(--accent-text); }
.vg-creators .cols { height: 62px; display: flex; align-items: flex-end; gap: 4px; }
.vg-creators .cols i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(230, 180, 80, 0.55); transform-origin: bottom; }
.vg-creators .cols i:nth-last-child(-n + 3) { background: var(--accent); }
.vg-creators .up { align-self: flex-end; font-size: 11.5px; font-weight: 700; color: var(--mint); }
.in .vg-creators .cols i { animation: vg-grow 4.5s calc(var(--k) * 0.08s) infinite backwards; }
.in .vg-creators .up { animation: vg-fade 4.5s infinite; }
@keyframes vg-grow { 0% { transform: scaleY(0); } 20%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }

.vg-pubs { position: relative; width: 236px; height: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.vg-pubs span { border-radius: 6px; background: #1f2226; padding: 5px 0; text-align: center; font-size: 10px; font-weight: 700; color: var(--dim); }
.vg-pubs .deal { position: absolute; top: 30px; left: 178px; width: 56px; padding: 4px 0; border-radius: 5px; background: rgba(127, 200, 169, 0.2); color: var(--mint); font-style: normal; font-size: 9.5px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; }
.in .vg-pubs .deal { animation: vg-deal 5s infinite; }
@keyframes vg-deal { 0%, 10% { left: 2px; background: var(--card); color: var(--fg); } 30% { left: 61px; background: var(--card); color: var(--fg); } 50% { left: 120px; background: var(--accent-soft); color: var(--accent-text); } 70%, 92% { left: 178px; background: rgba(127, 200, 169, 0.2); color: var(--mint); opacity: 1; } 100% { left: 178px; opacity: 0; } }

.vg-steam { width: 236px; display: flex; flex-direction: column; gap: 8px; }
.vg-steam .r { display: flex; align-items: center; gap: 7px; font-size: 10.5px; }
.vg-steam .cap { width: 26px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.vg-steam b { width: 74px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vg-steam i { flex: 1; height: 8px; border-radius: 4px; background: #262a30; position: relative; overflow: hidden; }
.vg-steam i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 4px; background: var(--mint); }
.vg-steam .you i { box-shadow: inset 0 0 0 1px rgba(230, 180, 80, 0.5); }
.vg-steam .you b { color: var(--accent-text); }
.vg-steam em { font: 10.5px var(--font-mono); font-style: normal; color: var(--muted); }
.in .vg-steam i::after { animation: vg-poll 4.5s calc(var(--k) * 0.2s) infinite backwards; }

/* ---------------------------------------------------------------- the AI section and the phone */
.ai-art { width: 560px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge); overflow: hidden; font-size: 14px; }
.ai-art > header { height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ai-art > header b { display: flex; align-items: center; gap: 8px; }
.ai-art > header .ai-switch { margin-left: auto; }
.ai-art .ctx { padding: 14px 18px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--dim); }
.ai-art .ctx span { height: 26px; padding: 0 9px; border-radius: 7px; background: var(--card); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ai-art .ctx .i { width: 12px; height: 12px; }
.ai-art .chat { width: auto; padding: 18px; gap: 14px; }
.in .ai-art .ctx span { animation: pop-in 0.35s calc(var(--k) * 0.1s + 0.2s) both; }
.in .ai-art .msg.bot { animation: rise 0.5s 1s both; }

.phone-art { width: 280px; height: 560px; padding: 12px; border-radius: 40px; background: #0e1012; box-shadow: 0 0 0 2px #2e3238, 0 40px 100px -20px rgba(0, 0, 0, 0.8); flex-shrink: 0; }
.phone-art > div { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; font-size: 12.5px; }
.phone-art .ptop { height: 52px; padding: 18px 16px 0; display: flex; align-items: center; gap: 8px; }
.phone-art .ptop b { font: 800 17px var(--font-title); flex: 1; }
.phone-art .list { flex: 1; padding: 6px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.phone-art .list .tcard { font-size: 12.5px; }
.phone-art nav { position: relative; z-index: 2; flex-shrink: 0; background: var(--surface); height: 58px; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; color: var(--muted); }
.phone-art nav .on { color: var(--accent-text); }
.phone-art nav .i { width: 20px; height: 20px; }
.in .phone-art .list > * { animation: rise 0.4s calc(var(--k) * 0.12s + 0.2s) both; }
.in .phone-art .sheet { animation: sheet 4.5s 1.2s infinite; }
.phone-art .sheet { position: absolute; left: 8px; right: 8px; bottom: 66px; z-index: 1; padding: 10px 14px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 6px; transform: translateY(110%); }
.phone-art .sheet::before { content: ""; align-self: center; width: 36px; height: 4px; border-radius: 2px; background: #4a4f57; margin-bottom: 4px; }
@keyframes sheet { 0%, 15% { transform: translateY(110%); } 30%, 80% { transform: none; } 95%, 100% { transform: translateY(110%); } }
.mobile .wrap { display: flex; align-items: center; gap: 80px; }
.mobile .head { flex: 1; }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--dim); display: flex; gap: 8px; align-items: flex-start; }
.fine .i { margin-top: 3px; flex-shrink: 0; }
.tile { color: inherit; }
a.tile:hover { box-shadow: inset 0 0 0 1px #3a3e45; color: inherit; }
.tile .more { margin-top: 6px; color: var(--accent-text); font-size: 14px; font-weight: 600; }
.tiles.two { grid-template-columns: repeat(2, 1fr); }

/* the extras: shared cursor */
.vig .cur { position: absolute; display: flex; align-items: flex-start; z-index: 2; }
.vig .cur svg { width: 15px; height: 15px; }
.vig .cur em { margin: 10px 0 0 -2px; padding: 0 5px; border-radius: 4px; font-style: normal; font-size: 10px; font-weight: 700; color: #16181b; }

.vg-potato { position: relative; width: 230px; height: 110px; }
.vg-potato .c1 { left: 20px; top: 70px; }
.vg-potato .c2 { left: 105px; top: 6px; }
.vg-potato .c3 { left: 185px; top: 66px; }
.vg-potato .spud { position: absolute; left: 186px; top: 48px; width: 26px; height: 26px; border-radius: 50%; background: #8a5a2b; color: #f5d7a8; display: flex; align-items: center; justify-content: center; z-index: 3; }
.vg-potato .spud .i { width: 16px; height: 16px; }
.vg-potato .boom { position: absolute; left: 160px; top: 30px; padding: 4px 10px; border-radius: 999px; background: #ef7b7b; color: #16181b; font: 800 13px var(--font-title); opacity: 0; z-index: 4; }
.in .vg-potato .spud { animation: vg-spud 4.8s infinite; }
.in .vg-potato .boom { animation: vg-boom 4.8s infinite; }
@keyframes vg-spud { 0% { left: 22px; top: 52px; } 22% { left: 106px; top: -10px; transform: rotate(180deg); } 44% { left: 22px; top: 52px; transform: rotate(360deg); } 66%, 80% { left: 186px; top: 48px; transform: rotate(540deg); opacity: 1; } 84%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes vg-boom { 0%, 78% { opacity: 0; transform: scale(0.4); } 84% { opacity: 1; transform: scale(1.15); } 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.vg-zones { position: relative; width: 236px; height: 112px; }
.vg-zones .isle { position: absolute; top: 18px; width: 104px; height: 80px; border-radius: 40% 46% 42% 50%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; gap: 2px; font-size: 11px; }
.vg-zones .isle i { font: 800 15px var(--font-title); font-style: normal; }
.vg-zones .a { left: 0; background: rgba(230, 180, 80, 0.16); box-shadow: inset 0 0 0 1.5px rgba(230, 180, 80, 0.5); color: var(--accent-text); }
.vg-zones .b { right: 0; background: rgba(143, 179, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(143, 179, 255, 0.35); color: #b9cdff; }
.vg-zones .c1 { left: 26px; top: 22px; }
.vg-zones .c2 { left: 56px; top: 36px; }
.vg-zones .c3 { left: 20px; top: 48px; }
.vg-zones .c4 { left: 168px; top: 30px; }
.in .vg-zones .c1 { animation: vg-walk1 4.8s infinite; }
.in .vg-zones .c2 { animation: vg-walk2 4.8s infinite; }
.in .vg-zones .c3 { animation: vg-walk3 4.8s infinite; }
.in .vg-zones .a { animation: vg-win 4.8s infinite; }
@keyframes vg-walk1 { 0%, 10% { transform: translate(150px, 10px); } 45%, 100% { transform: none; } }
@keyframes vg-walk2 { 0%, 20% { transform: translate(60px, -26px); } 55%, 100% { transform: none; } }
@keyframes vg-walk3 { 0%, 30% { transform: translate(170px, 30px); } 65%, 100% { transform: none; } }
@keyframes vg-win { 0%, 70% { box-shadow: inset 0 0 0 1.5px rgba(230, 180, 80, 0.5); } 80%, 95% { box-shadow: inset 0 0 0 2.5px var(--accent), 0 0 20px rgba(230, 180, 80, 0.35); } }

.vg-code { width: 240px; display: flex; flex-direction: column; gap: 8px; }
.vg-code code { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 8px; background: var(--inset); box-shadow: inset 0 0 0 1px var(--line); font: 10.5px/1.5 var(--font-mono); color: #d5d8dd; white-space: nowrap; overflow: hidden; }
.vg-code code span { display: block; overflow: hidden; }
.vg-code em { font-style: normal; color: #c39bf0; }
.vg-code s { text-decoration: none; color: var(--mint); }
.vg-code .res { align-self: flex-start; padding: 3px 9px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 11.5px; font-weight: 600; }
.in .vg-code code span { animation: vg-typeline 5s calc(var(--k) * 0.7s) infinite backwards; }
.in .vg-code .res { animation: vg-a 5s infinite; }
@keyframes vg-typeline { 0% { max-width: 0; } 18%, 100% { max-width: 240px; } }

.vg-sounds { position: relative; width: 220px; height: 112px; }
.vg-sounds .c1 { left: 70px; top: 52px; }
.vg-sounds .say { position: absolute; left: 14px; top: -20px; padding: 3px 9px; border-radius: 4px 10px 10px; background: #7fc8a9; color: #16181b; font: 700 11px var(--font-mono); white-space: nowrap; }
.vg-sounds .duck { position: absolute; left: 80px; top: 50px; font-size: 18px; opacity: 0; }
.vg-sounds .siren { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(239, 123, 123, 0.4), transparent 60%); }
.in .vg-sounds .duck { animation: vg-duck 3.6s calc(var(--k) * 0.18s) infinite; }
.vg-sounds .duck:nth-of-type(odd) { --dx: -60px; }
.vg-sounds .duck:nth-of-type(even) { --dx: 70px; }
@keyframes vg-duck { 0%, 10% { opacity: 0; transform: none; } 20% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--dx) + var(--k) * 8px), -70px) rotate(calc(var(--k) * 12deg)); } }

.vg-graphwrap { position: relative; }
.vg-graphwrap .play { position: absolute; right: -6px; bottom: -14px; padding: 2px 8px; border-radius: 6px; background: rgba(127, 200, 169, 0.16); color: var(--mint); font-size: 10.5px; font-weight: 700; }
.in .vg-graphwrap .play { animation: vg-fade 3.6s infinite; }

/* ---------------------------------------------------------------- fixes: review players, the phone's list, the kanban story */
.vg-video { position: relative; width: 210px; height: 120px; }
.vg-video .frame { inset: 0 0 30px; }
.vg-video .ctrl { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--card); display: flex; align-items: center; gap: 8px; }
.vg-video .play { font-size: 9px; color: var(--fg); }
.vg-video .time { font: 10px var(--font-mono); color: var(--muted); }
.vg-video .bar { position: relative; left: auto; right: auto; bottom: auto; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
.vg-video .bar i { display: block; width: 55%; height: 100%; border-radius: 2px; background: var(--accent); }
.vg-video .knob { position: absolute; left: 55%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.vg-video .mark { position: absolute; left: 55%; top: -9px; width: 2px; height: 6px; margin-left: -1px; background: #e8845a; border-radius: 1px; }
.vg-video .pin { left: 120px; top: 26px; }
.in .vg-video .bar i { animation: vg-scrub 5s linear infinite; }
.in .vg-video .knob { animation: vg-knob 5s linear infinite; }
@keyframes vg-knob { from { left: 0; } to { left: 100%; } }

.vg-cube { position: relative; width: 160px; height: 110px; display: flex; align-items: center; justify-content: center; }
.vg-cube .cpin { position: absolute; left: 86px; top: 22px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: #7fc8a9; color: #16181b; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; z-index: 2; }
.vg-cube .cnote { position: absolute; left: 112px; top: 14px; padding: 3px 8px; border-radius: 6px; background: var(--card); font-size: 11px; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6); z-index: 2; }
.in .vg-cube .cpin { animation: vg-cpin 9s linear infinite; }
.in .vg-cube .cnote { animation: vg-cnote 9s linear infinite; }
@keyframes vg-cpin { 0%, 8% { transform: scale(0); } 12% { transform: scale(1.2); } 15%, 40% { transform: none; opacity: 1; } 46%, 100% { opacity: 0; transform: none; } }
@keyframes vg-cnote { 0%, 14% { opacity: 0; } 18%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }

.vg-audio { width: 240px; height: auto; flex-direction: column; align-items: stretch; gap: 8px; }
.vg-audio .wave { position: relative; height: 70px; }
.vg-audio svg { display: block; }
.vg-audio .head { top: 0; bottom: 0; }
.vg-audio .tick { position: absolute; left: 100px; top: -4px; width: 2px; height: 78px; border-radius: 1px; background: rgba(230, 180, 80, 0.45); }
.vg-audio .mark { position: static; align-self: flex-start; margin-left: 88px; }

.plist { flex: 1; padding: 6px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.plist .tcard { font-size: 12.5px; }
.in .phone-art .plist > * { animation: rise 0.4s calc(var(--k) * 0.12s + 0.2s) both; }
.phone-art .sheet b { font-size: 14px; }

.kb-art { position: relative; width: 600px; margin-bottom: 70px; }
.kb { border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge); padding: 16px 16px 18px; font-size: 13px; }
.kb header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kb header b { font: 800 18px var(--font-title); letter-spacing: -0.02em; }
.kb header .muted { flex: 1; font-size: 12.5px; }
.kb header .av { width: 24px; height: 24px; box-shadow: 0 0 0 2px var(--surface); }
.kb header .av + .av { margin-left: -6px; }
.kb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kb-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kb-col > b { height: 24px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.kb-col > b span { color: var(--dim); }
.kb-move { position: relative; z-index: 2; }
.in .kb-move { animation: kb-move 1.1s 0.5s ease-in-out both; }
@keyframes kb-move { 0% { transform: translateX(calc(-100% - 12px)); } 20% { transform: translateX(calc(-100% - 12px)) rotate(-2deg) scale(1.03); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7); } 85% { transform: rotate(-2deg) scale(1.03); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7); } 100% { transform: none; } }
.kb-hand { position: absolute; right: -36px; bottom: -70px; width: 300px; height: 170px; }
.kb-tag { position: absolute; right: 8px; top: -8px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px; z-index: 4; }
.kb-tag .i { width: 13px; height: 13px; }
.hcard { position: absolute; bottom: 0; width: 104px; height: 136px; padding: 12px; border-radius: 12px; background: #2b2e34; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), inset 0 0 0 1px #3a3e45; display: flex; flex-direction: column; gap: 8px; font-size: 13px; transform-origin: 50% 120%; }
.hcard span { font: 11px var(--font-mono); color: var(--accent-text); }
.hcard b { line-height: 1.3; }
.hcard:nth-child(2) { left: 30px; transform: rotate(-12deg); }
.hcard:nth-child(3) { left: 98px; transform: translateY(-10px); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), inset 0 0 0 1.5px var(--accent); z-index: 2; }
.hcard:nth-child(4) { left: 166px; transform: rotate(12deg); }
.in .hcard { animation: deal-in 0.6s calc(var(--k) * 0.15s + 1.5s) ease-out both; }
@keyframes deal-in { from { opacity: 0; transform: translate(-80px, 40px) rotate(-30deg); } }
@media (max-width: 680px) {
  .kb-hand { right: -10px; }
}

/* ---------------------------------------------------------------- one-off reveals on Home, when scrolled into view */
[data-anim="once"] .chips span:not(.arrow):not(.one) { position: relative; text-decoration: none; }
[data-anim="once"] .chips span:not(.arrow):not(.one)::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: #5a5f68; }
.in .chips span:not(.arrow):not(.one)::after { animation: strike 0.5s calc(var(--k) * 0.12s + 0.2s) both; transform-origin: left; }
@keyframes strike { from { transform: scaleX(0); } }
.in .chips .one { animation: pop-in 0.4s 1.1s both; }
.in .ring .prog { animation: ring-fill 1.4s 0.3s ease-out both; }
@keyframes ring-fill { from { stroke-dasharray: 0 239; } }
.in .quote .stars .i { animation: vg-star-once 0.4s calc(var(--k) * 0.15s + 0.3s) both; }
@keyframes vg-star-once { from { transform: scale(0); } }
.in .caps > * { animation: pop-in 0.4s calc(var(--k) * 0.15s + 0.2s) both; }
.in .frame .scrub::before { animation: scrub-once 1.4s 0.2s ease-out both; }
@keyframes scrub-once { from { width: 0; } }
.in .frame .pin, .in .frame .note { animation: pop-in 0.35s 1.5s both; }
.in .hand div { animation: deal 0.6s 0.2s ease-out both; }
@keyframes deal { from { transform: none; left: 107px; } }
.in .hub > div:last-child i { animation: pulse 1.6s 0.6s 2; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(230, 180, 80, 0.25); } }
.in .obj { animation: rise 0.6s 0.4s both; }
.in .doc-art .mention { animation: pop-in 0.35s 0.2s both; }
.in .cal-art .warn { animation: rise 0.5s 0.6s both; }
.in .cal-art .clash { animation: clash-ring 1.2s 1.1s 2; }
@keyframes clash-ring { 50% { box-shadow: 0 0 0 2px var(--surface), 0 0 0 6px var(--amber); } }
.in .server .f, .in .pillar { animation: rise 0.5s calc(var(--k) * 0.12s) both; }
.in .release { animation: slide-in 0.5s calc(var(--k) * 0.15s + 0.2s) both; }

/* ---------------------------------------------------------------- updates keep coming */
.updates .wrap { display: flex; gap: 80px; align-items: center; }
.updates .head { flex: 1; }
.releases { flex: 0 0 520px; padding: 10px 8px 8px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); }
.releases > header { padding: 10px 14px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.releases > header b { color: var(--fg); }
.next { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
.next::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 5px rgba(230, 180, 80, 0.2); } }
.release { padding: 12px 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; font-size: 14px; }
.release time { flex: 0 0 52px; font: 12px var(--font-mono); color: var(--dim); }
.release .kind { flex: 0 0 auto; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.release .kind.new { background: var(--accent-soft); color: var(--accent-text); }
.release .kind.fix { background: rgba(127, 200, 169, 0.14); color: var(--mint); }

@media (prefers-reduced-motion: reduce) {
  [data-anim] *, [data-anim] *::before, [data-anim] *::after, .next::before { animation: none !important; }
}

/* ---------------------------------------------------------------- pricing: the comparison and the focus */
.focus { padding-top: 0; }
.focus-card { display: flex; gap: 24px; align-items: flex-start; padding: 36px 40px; border-radius: 20px; background: radial-gradient(90% 160% at 0% 0%, #2f2614, var(--surface) 60%); box-shadow: inset 0 0 0 1px rgba(230, 180, 80, 0.25); }
.focus-card h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 12px; }
.focus-card p { font-size: 17px; color: var(--muted); max-width: 820px; }
.compare-sec { padding-top: 24px; }
.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 16px; }
.size { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.size input { width: 84px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--inset); color: var(--fg); font: 600 16px var(--font-ui); }
.size input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg { display: flex; padding: 3px; border-radius: 10px; background: var(--inset); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 14px var(--font-ui); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--card); color: var(--fg); }
.cost-table { min-width: 720px; }
.cost-table th[scope="row"] { font-size: 15px; font-weight: 600; color: var(--fg); }
.cost-table tbody th { display: table-cell; }
.cost-table tbody th .i, .cost-table tfoot img { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; color: var(--accent-text); }
.cost-table td:first-child { width: auto; }
.cost-table small { font-size: 12px; color: var(--dim); margin-left: 4px; }
.cost-table .cost { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-table tbody .cost { color: var(--fg); font-weight: 600; }
.cost-table tfoot th, .cost-table tfoot td { padding-top: 16px; padding-bottom: 16px; border-bottom: 0; border-top: 1px solid var(--edge); vertical-align: middle; }
.cost-table tfoot td b { font: 800 20px var(--font-title); }
.cost-table tfoot td small { margin: 0 14px 0 6px; }
.cost-table tfoot td small:last-child { margin-right: 0; }
.cost-table tfoot tr:first-child { background: rgba(239, 123, 123, 0.06); }
.cost-table tfoot tr:first-child b { color: #f3a3a3; }
.cost-table .qwest { background: var(--accent-soft); }
.cost-table .qwest b { color: var(--accent-text); }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1240px) {
  .shot { --z: 0.8; }
}
@media (max-width: 1100px) {
  .story .wrap, .story.flip .wrap { flex-direction: column; align-items: flex-start; gap: 48px; }
  .story .text { flex-basis: auto; max-width: 640px; }
  .own-top { flex-direction: column; align-items: stretch; gap: 40px; }
  .server { width: 100%; max-width: 480px; }
  .tiles, .cards.three { grid-template-columns: 1fr 1fr; }
  .updates .wrap, .mobile .wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .mobile .phone-art { align-self: center; }
  .tiles.two { grid-template-columns: 1fr; }
  .releases { flex-basis: auto; }
  .faq { flex-direction: column; gap: 32px; }
  .faq > div:first-child { flex-basis: auto; }
  .shot { --z: 0.62; }
}
@media (max-width: 860px) {
  .links, .top .end .ghost { display: none; }
  .menu { display: block; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .dogfood { flex-direction: column; align-items: stretch; padding: 28px; }
  .network { grid-template-columns: 1fr; padding: 24px; }
  .network .link .i { transform: rotate(90deg); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .top .wrap { height: 60px; gap: 10px; }
  .brand { font-size: 20px; }
  .brand img { width: 28px; height: 28px; }
  .top .end .primary { height: 34px; padding: 0 12px; font-size: 13.5px; }
  .hero { padding-top: 36px; }
  .hero .intro { align-items: flex-start; text-align: left; gap: 18px; padding-bottom: 32px; }
  .hero .intro > p { font-size: 17px; }
  .wide { display: none; }
  .hero .actions { flex-direction: column; align-self: stretch; }
  .hero .checks { justify-content: flex-start; gap: 8px 16px; font-size: 13.5px; }
  .shot-frame { justify-content: flex-start; height: 310px; overflow: hidden; margin-right: -16px; }
  .sc-tabs { margin: 0 -16px 16px; padding: 0 16px; }
  .sc-tabs button { height: 40px; padding: 0 12px; font-size: 14px; }
  .sc-caption { text-align: left; font-size: 15px; margin-bottom: 16px; }
  .ai-note { flex-direction: column; padding: 22px; }
  .focus-card { flex-direction: column; padding: 26px 22px; }
  .release { flex-wrap: wrap; gap: 6px 10px; }
  .release > span:last-child { flex-basis: 100%; }
  .shot { --z: 0.5; }
  .replaces { padding: 64px 0 8px; }
  .chips span { height: 34px; font-size: 13px; padding: 0 10px; }
  .story { padding: 48px 0; }
  .art { --z: 0.56; }
  .warn { right: 0; }
  .tiles, .cards.three { grid-template-columns: 1fr; }
  .tile .pic { height: 170px; }
  .qs { grid-template-columns: 1fr; }
  .closing { margin-bottom: 64px; padding: 48px 20px; }
  .closing .actions { flex-direction: column; align-self: stretch; }
  .page-head { padding: 48px 0 16px; }
  .plans-title h2 { font-size: 26px; }
  .plan { padding: 26px 22px 22px; }
}
