/* VoiceCanvas site: one screen. "Through-line": warm off-white, near-black, one muted olive accent.
   Tokens mirror the stage (canvas/web/stage.css). The demo window re-skins as Slack, Google Meet or
   Discord (data-p on .hw); the same tiles, captions and chat move between the three layouts. */
/* Geist (OFL, fonts/OFL.txt): the brand's type. The call apps keep system fonts, as the real apps do. */
@font-face { font-family: "Geist"; src: url(fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@property --glow { syntax: "<color>"; inherits: true; initial-value: #b9cc86; }
:root {
  --bg: #f6f6f2; --surface: #ffffff; --sunk: #ecece5; --ink: #161813; --muted: #555a4f; --faint: #646a5e;
  --rule: #dcddd4; --accent: #465634; --accent-ink: #3a4829; --on-accent: #fff; --warning: #7a5d00;
  --shadow: 0 1px 1px rgb(20 22 16 / .04), 0 24px 56px -28px rgb(20 22 16 / .34);
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, "Segoe UI", Roboto, sans-serif;
  --font: "Geist", var(--sys);
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(24px, 4vw, 64px); --nav: 56px;
  /* The window: as wide as the page allows beside the pitch, and short enough to leave the footer on screen. */
  --pw: clamp(320px, 29vw, 440px); --gap: clamp(28px, 3.2vw, 56px);
  --W: min(100vw - 2 * var(--gut) - var(--pw) - var(--gap), 1000px);
  --H: clamp(420px, min(100svh - 400px, var(--W) * .62), 760px);
  --th: clamp(236px, calc(var(--W) * .27), 320px);
  /* The hero's left edge: centred on the pitch and the window (thread folded) where the screen allows,
     otherwise far enough left that the thread still has room to open to the right. */
  --C: calc(var(--pw) + var(--gap) + var(--W) - var(--th));
  --L: max(var(--gut), min((100vw - var(--C)) / 2, 100vw - var(--gut) - var(--C) - var(--th)));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #12140f; --surface: #1b1e17; --sunk: #20241b; --ink: #f4f5ef; --muted: #b3b9ab; --faint: #9aa190;
  --rule: #33382d; --accent: #c5d59e; --accent-ink: #d4e2b0; --on-accent: #17200f; --warning: #f0cb68;
  --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 30px 70px -30px rgb(0 0 0 / .9); color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #12140f; --surface: #1b1e17; --sunk: #20241b; --ink: #f4f5ef; --muted: #b3b9ab; --faint: #9aa190;
  --rule: #33382d; --accent: #c5d59e; --accent-ink: #d4e2b0; --on-accent: #17200f; --warning: #f0cb68;
  --shadow: 0 1px 1px rgb(0 0 0 / .3), 0 30px 70px -30px rgb(0 0 0 / .9); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: clip; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.fine { font-size: 11.5px; line-height: 1.5; color: var(--faint); }
/* Brand art comes in a light-page and a dark-page version. */
[data-theme="dark"] .on-light, :root:not([data-theme="dark"]) .on-dark { display: none; }
::view-transition { pointer-events: none; }
::view-transition-group(root) { animation-duration: .5s; }

/* Nav */
.nav { display: flex; align-items: center; gap: 24px; height: var(--nav); padding: 0 max(var(--gut), 100vw - var(--L) - var(--pw) - var(--gap) - var(--W)) 0 var(--L); }
.brand { display: flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.theme { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.theme:hover { background: var(--sunk); color: var(--ink); }
.theme svg { width: 18px; height: 18px; }
.theme .sun, [data-theme="dark"] .theme .moon { display: none; }
[data-theme="dark"] .theme .sun { display: block; }

/* Hero: the pitch beside the demo */
.hero { --side: var(--th); display: grid; grid-template-columns: var(--pw) var(--W); justify-content: start; align-items: center; align-content: center; gap: var(--gap); padding: 0 0 0 var(--L); min-height: 0; }
.hero:has(.hw[data-p="meet"]) { --side: calc(var(--th) + 12px); }
.pitch { display: grid; gap: 18px; align-content: center; }
/* Two lines, each kept whole, sized to the column. */
h1 { font-size: min(calc(var(--pw) * .094), 52px); }
h1 span { display: block; white-space: nowrap; }
/* Three people and the agent (the brand's One of us), as wide as the headline. */
.joined { margin-bottom: 6px; }
.joined img { display: block; width: 41%; height: auto; }
/* Short laptop screens: the figures give their room to the demo. */
@media (max-height: 820px) { .joined { display: none; } }
.lede { font-size: clamp(17px, 1.3vw, 21px); color: var(--muted); margin-top: -6px; }
.cta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cmd { font: 500 15px/1 var(--mono); display: inline-flex; align-items: center; gap: 10px; padding: 11px 11px 11px 16px; min-height: 46px; border-radius: 12px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease); }
.cmd:active { transform: scale(.98); }
.cmd .prompt { color: color-mix(in srgb, var(--bg) 50%, transparent); }
.cmd .copy { font: 600 12px/1 var(--font); padding: 7px 10px; border-radius: 7px; background: color-mix(in srgb, var(--bg) 16%, transparent); margin-left: 4px; transition: background-color .2s, color .2s; }
.cmd.copied .copy { background: var(--accent); color: var(--on-accent); }
.star { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--rule); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .2s; }
.star:has(.count:not([hidden])) { padding-right: 8px; }
.star:has(.count:not([hidden])) .more { display: none; }
.star:hover { border-color: var(--ink); color: var(--ink); }
.star svg { width: 15px; height: 15px; fill: var(--accent); }
.star .count { font: 600 13px/1 var(--font); font-variant-numeric: tabular-nums; padding: 6px 9px; border-radius: 8px; background: var(--sunk); color: var(--muted); animation: fade-in .4s var(--ease) both; }
.voice { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.voice img, .int-list img { width: 16px; height: 16px; flex: none; }
.voice .logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--sunk); }
/* Every few seconds a soft rainbow runs through the line, and each letter hops as it passes. */
.shine .w { display: inline-block; white-space: nowrap; }
.shine .ch { display: inline-block; --hue: calc(var(--i) * 7deg + 250deg); animation: hop 4.2s var(--ease) calc(var(--i) * 26ms + 1.5s) infinite; }
@keyframes hop {
  0%, 18%, 100% { transform: none; color: var(--ink); text-shadow: 0 0 0 transparent; }
  4% { transform: translateY(-5px) scale(1.08); color: oklch(60% .19 var(--hue)); text-shadow: 0 0 12px oklch(80% .14 var(--hue)); }
  9% { transform: none; color: oklch(60% .19 var(--hue)); text-shadow: 0 0 8px oklch(85% .1 var(--hue)); }
}
[data-theme="dark"] .shine .ch { animation-name: hop-dark; }
@keyframes hop-dark {
  0%, 18%, 100% { transform: none; color: var(--ink); text-shadow: 0 0 0 transparent; }
  4% { transform: translateY(-5px) scale(1.08); color: oklch(82% .14 var(--hue)); text-shadow: 0 0 14px oklch(70% .18 var(--hue)); }
  9% { transform: none; color: oklch(82% .14 var(--hue)); text-shadow: 0 0 8px oklch(60% .16 var(--hue)); }
}
[data-theme="dark"] :is(.voice, .int-list) img { filter: invert(1); }
.integrations { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--rule); }
.int-h { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.int-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.int-list li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 9px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.int-list img { opacity: .9; }
.int-list small { font-size: 12px; font-weight: 500; color: var(--faint); }
.int-list .add { padding: 0; background: none; box-shadow: none; }
.int-list .add a { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; border-radius: 999px; border: 1.5px dashed var(--rule); color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s; }
.int-list .add a:hover { border-color: var(--ink); color: var(--ink); }
.local { font-size: 13.5px; color: var(--faint); }
.local a { color: var(--muted); }

/* The demo column: app tabs and the Share and Creator pack buttons above the window. The thread is a drawer
   that slides out from behind the window to the right; nothing else moves (the column keeps its room). */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "acts" "win" "tabs"; gap: 12px; min-width: 0; width: var(--W); }
/* The tabs run the full width of the call window (the thread aside). */
.demo > .tabs { grid-area: tabs; justify-self: start; width: calc(var(--W) - var(--side)); margin: 6px 0 22px; }
.demo > .tabs > button { flex: 1; justify-content: center; }
.soon { flex: 2; }
.tabs .soon > button { flex: 1; justify-content: center; }
.tabs button:focus-visible { outline-offset: -2px; border-radius: 10px; }
/* The buttons sit over the window's right edge and stay there when the thread opens. */
.demo-actions { grid-area: acts; justify-self: start; display: flex; justify-content: flex-end; gap: 8px; width: calc(var(--W) - var(--side)); }
.demo > .hw { grid-area: win; }
/* Meet and Discord sit over a bracket that says they need contributors. */
.soon { position: relative; display: flex; gap: 4px; }
.soon::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: -11px; height: 7px; border: 1.5px solid var(--rule); border-top: 0; border-radius: 0 0 7px 7px; }
.soon::after { content: "Needs contributors"; position: absolute; left: 50%; bottom: -30px; translate: -50% 0; color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 16px; white-space: nowrap; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sunk); }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 14px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .25s var(--ease), color .25s, box-shadow .25s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 0 0 .5px rgb(0 0 0 / .04); }
.tabs img { width: 18px; height: 18px; flex: none; }
.share-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 12px; border: 1.5px solid var(--rule); background: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.share-btn:hover { border-color: var(--ink); }
.share-btn svg { width: 16px; height: 16px; }
/* A soft light behind the window takes the colour of whoever is speaking. */
.glow { position: absolute; inset: 18% 0 -8% -8%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 34%, transparent), transparent); opacity: .35; transition: opacity .8s var(--ease), --glow .8s var(--ease); }
.lit .glow { opacity: 1; }
[data-theme="dark"] .glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 22%, transparent), transparent); }

/* ---- The window (shared) ------------------------------------------------------------------------------ */
/* Each app is drawn light or dark with the page. Colours are tokens: Slack's here, Meet's and Discord's below. */
.hw {
  --bg1: #ffffff; --bg2: #f8f8f8; --tile: #efefef; --line: rgb(29 28 29 / .13); --ink1: #1d1c1d; --dim: #616061; --ring: #2bac76; --who: #007a5a;
  --ctl: #ffffff; --ctl-ink: #1d1c1d; --ctl-on: var(--who); --ctl-on-bg: var(--ctl); --side-bg: #ffffff; --link: #1264a3; --field: rgb(29 28 29 / .3); --field-bg: none; --seat: rgb(29 28 29 / .2); --r: 12px;
  --sig: min(var(--H) - 184px, (var(--W) - var(--side) - 34px) / 1.42);
  position: relative; isolation: isolate; width: calc(var(--W) - var(--side)); height: var(--H); color: var(--ink1); font: 14px/1.5 var(--sys);
}
/* One soft shadow under the window and its thread together. It is drawn at full width and squeezed to the
   window while the thread is folded (--k, set by site.mjs), so opening it is a transform, not a repaint. */
.hw::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: calc(100% + var(--side)); border-radius: 16px; box-shadow: var(--shadow);
  transform-origin: left center; scale: var(--k, .72) 1; transition: scale .8s var(--ease); pointer-events: none; }
.hw.side-on::before { scale: 1; }
.card { position: relative; z-index: 1; height: 100%; display: grid; overflow: hidden; border-radius: 16px; background: var(--bg1);
  box-shadow: 0 0 0 1px var(--edge, rgb(0 0 0 / .08)); transition: border-radius .25s var(--ease);
  grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px minmax(0, 1fr); grid-template-areas: "bar" "call"; }
.side-on .card { border-top-right-radius: 0; border-bottom-right-radius: 0; }
[data-theme="dark"] .hw {
  --bg1: #1a1d21; --bg2: #1f2226; --tile: #2a2d31; --line: rgb(255 255 255 / .09); --ink1: #e9e9e8; --dim: #a4a6a9; --ring: #c5d59e; --who: #c5d59e;
  --ctl: #1f2226; --ctl-ink: #e9e9e8; --side-bg: #1f2226; --link: #7fbfff; --field: rgb(255 255 255 / .16); --seat: rgb(255 255 255 / .16);
  --edge: rgb(255 255 255 / .1);
}
.hw-bar { grid-area: bar; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bar, none); font-size: 13.5px; white-space: nowrap; min-width: 0; }
.hw-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2bac76; color: #fff; }
.hw-icon svg { width: 14px; height: 14px; }
.hw-sub { color: var(--dim); }
.hw-count { margin-left: auto; color: var(--dim); font-variant-numeric: tabular-nums; }
.hw-count .n { color: var(--ink1); font-weight: 600; }
.rail { display: none; grid-area: rail; }
.call { grid-area: call; display: grid; grid-template-rows: auto 46px auto; align-content: center; justify-items: center; gap: 10px; padding: 12px; min-width: 0; min-height: 0; }
.tiles { display: grid; grid-template-columns: var(--sig) calc(var(--sig) * .42); gap: 10px; }
.people { grid-area: 1 / 2; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.tile { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--tile); display: grid; place-items: center; min-height: 0; isolation: isolate; opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease), border-radius .4s; }
.tile.in { opacity: 1; transform: none; }
.tile figcaption { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 7px; border-radius: 6px; background: rgb(0 0 0 / .55); color: #fff; }
/* Signa is an AI agent, and says so wherever its name appears (the product's own tile carries no badge). */
.ai { white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 1; padding: 3px 5px; border-radius: 4px; background: rgb(255 255 255 / .2); }
.msg .ai { margin-right: 6px; vertical-align: 1px; background: color-mix(in srgb, var(--dim) 22%, transparent); color: var(--ink1); }
.members .ai { background: color-mix(in srgb, var(--dim) 25%, transparent); color: var(--ink1); }
/* The speaking ring, and a small live level beside the name (transform and opacity only). */
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 2.5px var(--ring), inset 0 0 0 4px rgb(0 0 0 / .22); opacity: 0; transition: opacity .28s var(--ease); pointer-events: none; }
.tile.speaking::after { opacity: 1; }
.eq { display: none; gap: 2px; align-items: center; height: 10px; }
.speaking .eq { display: inline-flex; }
.eq b { width: 2.5px; height: 10px; border-radius: 2px; background: var(--ring); transform-origin: 50% 50%; animation: eq .9s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; } .eq b:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
/* Before Signa joins a fresh huddle, its seat shows the invitation: the mark's working light going round. */
.seat { grid-area: 1 / 1; width: var(--sig); height: var(--sig); display: grid; place-content: center; justify-items: center; gap: 14px; border-radius: var(--r); border: 1.5px dashed var(--seat); color: var(--dim); font-size: 13.5px; opacity: 0; transition: opacity .5s var(--ease); }
.inviting .seat { opacity: 1; }
.seat-mk { width: 64px; height: 64px; }
.t-signa { grid-area: 1 / 1; width: var(--sig); height: var(--sig); box-shadow: 0 0 0 1px var(--line); }
.t-signa .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-signa figcaption { left: auto; right: 8px; bottom: auto; top: 8px; }
.poster { position: absolute; inset: 0; display: grid; place-items: center; background: #f6f6f2; transition: opacity .5s var(--ease); }
[data-theme="dark"] .poster { background: #12140f; }
.poster img { width: 20%; }
.ready .poster { opacity: 0; pointer-events: none; }
/* Group calls: Signa answers only to its wake word, and its tile says so. */
.wake { position: absolute; top: 40px; right: 8px; z-index: 2; translate: 0 -4px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgb(22 24 19 / .78); color: #f4f5ef; font-size: 11.5px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.wake::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c5d59e; }
.wake-on .wake { opacity: 1; translate: 0; }
/* People: the maker's camera fills the tile; the others are camera-off initials. */
.cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-person[data-who="phil"] { --c: #4f6f9f; } .t-person[data-who="samantha"] { --c: #8a5b78; }
.av { width: clamp(34px, calc(var(--sig) * .13), 60px); aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; }
.ini { background: var(--c, #555); color: #fff; font-weight: 700; font-size: clamp(14px, calc(var(--sig) * .05), 24px); }

.cc { height: 46px; margin: 0; padding: 0 8px; display: grid; place-items: center; text-align: center; font-size: 14.5px; line-height: 20px; transition: opacity .45s var(--ease); }
.cc-line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: calc(var(--sig) * 1.35); text-wrap: balance; }
.cc-who { font-weight: 700; color: var(--who); margin-right: 8px; }
.cc-who:empty { display: none; }
.cc-text i { font-style: normal; animation: word .38s var(--ease) both; animation-delay: var(--d, 0ms); }
.cc.now .cc-text i { animation: none; }
@keyframes word { from { opacity: 0; filter: blur(3px); } }
.cc-text { transition: color .6s var(--ease); }
.cc.done .cc-text, .cc.note .cc-text { color: var(--dim); }

.controls { display: flex; justify-content: center; align-items: center; gap: 10px; }
.ctl { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ctl); color: var(--ctl-ink); box-shadow: inset 0 0 0 1px var(--line); transition: border-radius .4s, background-color .4s; }
.ctl.on { color: var(--ctl-on); background: var(--ctl-on-bg); }
.ctl.hand, .meet-info { display: none; }
.controls svg { width: 18px; height: 18px; }
.leave { margin-left: 6px; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: #c9302c; color: #fff; font-size: 13.5px; font-weight: 700; transition: border-radius .4s; }
.leave svg { display: none; }

/* The thread is folded away until something is posted; then the window opens to the right to show it,
   and nothing else on the page moves (its space is kept for it, and the tiles never resize). */
.side { position: absolute; top: 0; left: 100%; z-index: 0; width: var(--side); height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden;
  border-radius: 0 16px 16px 0; border-left: 1px solid var(--line); background: var(--side-bg); color: var(--side-ink, var(--ink1));
  box-shadow: 0 0 0 1px var(--edge, rgb(0 0 0 / .08)); translate: -100% 0; opacity: 0; pointer-events: none; will-change: translate;
  transition: translate .8s var(--ease), opacity .35s var(--ease); }
.side-on .side { translate: 0; opacity: 1; pointer-events: auto; }
.side-h { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.side-h span { color: var(--dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.msgs { list-style: none; margin: 0; padding: 12px 14px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; min-height: 0; transition: opacity .45s var(--ease);
  mask-image: linear-gradient(to bottom, transparent, #000 36px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 36px); }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; font-size: 13.5px; line-height: 1.45; }
.pic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--c, #555); overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic.phil { --c: #4f6f9f; } .pic.samantha { --c: #8a5b78; }
.pic.signa { background: none; }
.msg .who { font-weight: 700; margin-right: 6px; }
.msg time { font-size: 11px; color: var(--dim); }
.msg p { color: color-mix(in srgb, currentColor 88%, transparent); overflow-wrap: anywhere; }
.msg .links { display: grid; gap: 1px; margin-top: 2px; }
.msg .links span { color: var(--link); }
.msg .links span::before { content: "• "; color: var(--dim); }
.composer { position: relative; margin: 20px 12px 12px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--field); background: var(--field-bg); color: var(--dim); font-size: 13px; }
.typing { position: absolute; left: 2px; bottom: calc(100% + 3px); font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.typing:not(:empty)::after { content: ""; display: inline-block; width: 14px; margin-left: 3px; height: 4px; background: radial-gradient(circle, currentColor 1.4px, transparent 1.6px) 0 50% / 5px 4px repeat-x; animation: dots 1s steps(4) infinite; clip-path: inset(0 100% 0 0); }
@keyframes dots { to { clip-path: inset(0 -10% 0 0); } }
.hw.reset .msgs, .hw.reset .cc { opacity: 0; }
/* Seeking (screenshots, reduced motion): everything lands in place without moving. */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }

/* The agent's tile shows the VoiceCanvas mark (the square head) wherever the stage draws its own mark:
   still at rest, the listening tilt while it listens or works, a small lift with its voice level. */
vc-stage vc-mark { aspect-ratio: 1; background: url(brand/voicecanvas-mark.svg) center / contain no-repeat; }
vc-stage vc-mark > svg { visibility: hidden; }
[data-theme="dark"] vc-stage vc-mark { background-image: url(brand/voicecanvas-mark-on-dark.svg); }
vc-stage vc-mark:is([state=listening], [state=working], [state=connecting]) { background-image: url(brand/voicecanvas-mark-animated.svg); }
[data-theme="dark"] vc-stage vc-mark:is([state=listening], [state=working], [state=connecting]) { background-image: url(brand/voicecanvas-mark-animated-on-dark.svg); }
vc-stage vc-mark[state=speaking] { scale: calc(1 + var(--level, 0) * .08); transition: scale 90ms linear; }

/* ---- Google Meet: the call grid, round controls, the white side panel --------------------------------- */
.hw[data-p="meet"] {
  --bg1: #f8f9fa; --tile: #e3e5e8; --line: rgb(0 0 0 / .08); --ink1: #202124; --dim: #5f6368; --ring: #1a73e8; --who: #202124; --r: 10px;
  --ctl: #e3e5e8; --ctl-ink: #202124; --ctl-on: #001d35; --ctl-on-bg: #c2e7ff; --side-bg: #fff; --side-ink: #202124; --link: #1a73e8; --field-bg: #f1f3f4; --name: #202124; --name-shadow: none;
  --sig: min(var(--H) - 186px, (var(--W) - var(--side) - 48px) / 1.42);
  font-family: "Google Sans", Roboto, var(--sys);
}
[data-p="meet"] .card { grid-template-rows: minmax(0, 1fr); grid-template-areas: "call"; }
[data-theme="dark"] .hw[data-p="meet"] {
  --bg1: #202124; --tile: #3c4043; --ink1: #e8eaed; --dim: #bdc1c6; --ring: #8ab4f8; --who: #e8eaed;
  --ctl: #3c4043; --ctl-ink: #e8eaed; --ctl-on: #202124; --ctl-on-bg: #8ab4f8; --name: #fff; --name-shadow: 0 1px 2px rgb(0 0 0 / .6);
}
/* Meet has no title bar. */
[data-p="meet"] .hw-bar { display: none; }
[data-p="meet"] .call { grid-template-rows: auto 46px 64px; padding: 16px 12px 0; }
[data-p="meet"] .t-person figcaption { background: none; font-weight: 500; font-size: 13px; color: var(--name); text-shadow: var(--name-shadow); }
[data-p="meet"] .t-person[data-who="me"] figcaption { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
[data-p="meet"] .t-signa figcaption { background: rgb(32 33 36 / .72); }
[data-p="meet"] .ini { border-radius: 50%; }
/* Meet: two people on this call, so two seats. */
[data-p="meet"] .t-person[data-who="phil"] { display: none; }
[data-p="meet"] .people { grid-template-rows: repeat(2, minmax(0, 1fr)); }
[data-p="meet"] .av { width: clamp(40px, calc(var(--sig) * .16), 72px); }
[data-p="meet"] .t-person[data-who="phil"] { --c: #1e8e3e; } [data-p="meet"] .t-person[data-who="samantha"] { --c: #c5221f; }
[data-p="meet"] .tile::after { box-shadow: inset 0 0 0 3px var(--ring); }
[data-p="meet"] .controls { width: 100%; justify-content: center; position: relative; gap: 12px; }
[data-p="meet"] .meet-info { display: block; position: absolute; left: 6px; font-size: 13px; color: var(--ink1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(50% - 158px); }
[data-p="meet"] .meet-info i { display: inline-block; width: 1px; height: 14px; margin: 0 8px; background: var(--dim); vertical-align: -2px; }
[data-p="meet"] .ctl { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; }
[data-p="meet"] .ctl.hand { display: grid; }
[data-p="meet"] .leave { width: 56px; height: 40px; padding: 0; justify-content: center; border-radius: 999px; background: #ea4335; margin-left: 0; }
[data-p="meet"] .leave svg { display: block; width: 22px; } [data-p="meet"] .leave span { display: none; }
/* Meet's panel is a white card floating on the call background. */
[data-p="meet"] .side { isolation: isolate; padding: 16px 12px 16px 0; border-left: 0; background: var(--bg1); }
[data-p="meet"] .side::before { content: ""; position: absolute; inset: 16px 12px 16px 0; z-index: -1; border-radius: 8px; background: var(--side-bg); box-shadow: 0 0 0 1px var(--line); }
[data-p="meet"] .side-h { height: auto; border: 0; padding: 18px 18px 8px; font-size: 17px; }
[data-p="meet"] .side-h b { font-weight: 500; }
[data-p="meet"] .msgs { mask-image: none; -webkit-mask-image: none; padding: 8px 18px; gap: 16px; }
[data-p="meet"] .msg { display: block; }
[data-p="meet"] .msg .pic { display: none; }
[data-p="meet"] .msg .who { font-weight: 600; }
[data-p="meet"] .msg time, [data-p="meet"] .typing { color: #5f6368; }
[data-p="meet"] .msg p { color: #3c4043; }
[data-p="meet"] .msg .ai { color: #202124; background: #e8eaed; }
[data-p="meet"] .composer { border: 0; border-radius: 999px; color: #5f6368; margin: 20px 14px 14px; padding: 11px 16px; }

/* ---- Discord: server rail, voice grid (everyone's tile the same size), text chat ---------------------- */
.hw[data-p="discord"] {
  --bg1: #ebedef; --bar: #ffffff; --tile: #dfe1e5; --line: rgb(0 0 0 / .08); --ink1: #313338; --dim: #5c5e66; --ring: #23a55a; --who: #060607; --r: 8px;
  --ctl: #ffffff; --ctl-ink: #313338; --ctl-on: #313338; --side-bg: #ffffff; --link: #006ce7; --field: transparent; --field-bg: #ebedef; --rail-bg: #f2f3f5; --me-bg: #ebedef; --chan-bg: rgb(0 0 0 / .07); --chan-ink: #060607;
  --rail: clamp(150px, calc(var(--W) * .17), 200px);
  --dt: min((var(--W) - var(--rail) - var(--side) - 34px) / 2, (var(--H) - 204px) / 2);
  --sig: calc(var(--dt) * 1.5);
  font-family: "gg sans", "Noto Sans", var(--sys);
}
[data-p="discord"] .card { grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-rows: 48px minmax(0, 1fr); grid-template-areas: "rail bar" "rail call"; }
[data-theme="dark"] .hw[data-p="discord"] {
  --bg1: #111214; --bar: #111214; --tile: #2b2d31; --line: rgb(255 255 255 / .06); --ink1: #dbdee1; --dim: #949ba4; --who: #f2f3f5;
  --ctl: #2b2d31; --ctl-ink: #dbdee1; --ctl-on: #dbdee1; --side-bg: #313338; --link: #00a8fc; --field-bg: #383a40; --rail-bg: #2b2d31; --me-bg: #232428; --chan-bg: rgb(255 255 255 / .07); --chan-ink: #f2f3f5;
}
[data-p="discord"] .hw-icon { background: none; color: var(--dim); }
[data-p="discord"] .hw-icon svg { width: 20px; height: 20px; }
[data-p="discord"] .hw-bar { font-size: 15px; }
[data-p="discord"] .hw-count { display: none; }
/* The channel list: server name, text channels, the voice channel with who is in it, more channels, and
   the signed-in user's bar at the bottom. */
[data-p="discord"] .rail { display: grid; grid-template-rows: 48px minmax(0, 1fr) auto; background: var(--rail-bg); overflow: hidden; }
.srv { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px 0 14px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--chan-ink); }
.srv svg { width: 16px; height: 16px; color: var(--dim); }
.chans { padding: 12px 8px; overflow: hidden; display: grid; align-content: start; gap: 1px; }
.rail-h { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--dim); padding: 12px 8px 4px; }
.rail-h:first-child { padding-top: 2px; }
.chan { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: var(--dim); font-weight: 500; white-space: nowrap; }
.chan.on { background: var(--chan-bg); color: var(--chan-ink); }
.chan.unread { color: var(--chan-ink); font-weight: 600; }
.chan i { width: 18px; text-align: center; font: 400 20px/1 var(--sys); color: var(--dim); }
.chan svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.me-bar { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 10px; background: var(--me-bg); color: var(--dim); }
.me-bar > svg { width: 18px; height: 18px; flex: none; margin: 0 3px; }
.me-pic { position: relative; flex: none; margin-right: 4px; }
.me-pic img { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.me-pic::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 3px var(--me-bg); }
.me-id { display: grid; min-width: 0; margin-right: auto; line-height: 1.2; }
.me-id b { color: var(--chan-ink); font-size: 13.5px; }
.me-id small { font-size: 11.5px; }
.members { list-style: none; margin: 2px 0 4px; padding: 0 0 0 22px; display: grid; gap: 1px; }
.members li { white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; color: var(--dim); font-size: 13.5px; opacity: 0; transition: opacity .5s var(--ease); }
.members li.in { opacity: 1; }
.members img, .members .ini { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px transparent; transition: box-shadow .25s; }
.members [data-who="phil"] .ini { --c: #5865f2; } .members [data-who="samantha"] .ini { --c: #eb459e; }
.members li.speaking { color: var(--chan-ink); }
.members li.speaking :is(img, .ini) { box-shadow: 0 0 0 2px var(--ring); }
[data-p="discord"] .call { grid-template-rows: auto 46px 56px; }
@media (min-width: 761px) {
  [data-p="discord"] .tiles { grid-template-columns: repeat(2, var(--dt)); grid-auto-rows: var(--dt); }
  [data-p="discord"] .people { display: contents; }
  [data-p="discord"] .seat { display: none; }
  [data-p="discord"] .t-signa { grid-area: auto; width: auto; height: auto; }
  [data-p="discord"] .t-signa figcaption { top: auto; right: auto; left: 8px; bottom: 8px; }
  [data-p="discord"] .av { width: clamp(40px, calc(var(--dt) * .3), 72px); }
}
[data-p="discord"] .t-person[data-who="phil"] { background: #5865f2; } [data-p="discord"] .t-person[data-who="samantha"] { background: #eb459e; }
[data-p="discord"] .t-person .ini { background: rgb(0 0 0 / .25); border-radius: 50%; }
[data-p="discord"] .tile::after { box-shadow: inset 0 0 0 2.5px var(--ring); }
[data-p="discord"] .tile figcaption { background: rgb(0 0 0 / .6); border-radius: 4px; }
[data-p="discord"] .ctl { width: 44px; height: 44px; border-radius: 50%; box-shadow: none; }
[data-p="discord"] .leave { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: #da373c; }
[data-p="discord"] .leave svg { display: block; width: 22px; } [data-p="discord"] .leave span { display: none; }
[data-p="discord"] .side { border-left: 0; }
[data-p="discord"] .side-h { height: 48px; font-size: 15px; }
[data-p="discord"] .msgs { gap: 16px; }
[data-p="discord"] .msg { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
[data-p="discord"] .pic { width: 36px; height: 36px; border-radius: 50%; }
[data-p="discord"] .pic.phil { --c: #5865f2; } [data-p="discord"] .pic.samantha { --c: #eb459e; }
[data-p="discord"] .msg .who { font-weight: 500; color: var(--chan-ink); }
[data-p="discord"] .msg .ai { background: #5865f2; color: #fff; }
[data-p="discord"] .msg time { font-size: 11px; }
[data-p="discord"] .composer { border-radius: 8px; margin: 20px 12px 16px; }

/* What it can do: a few quiet rows of small pills under both columns. */
.feats { width: calc(var(--pw) + var(--gap) + var(--W)); margin-left: var(--L); padding: 20px 0 6px; }
.feat-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.feat-pills li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: default; }
.feat-pills svg { width: 15px; height: 15px; flex: none; color: var(--accent); }

/* Footer: one quiet line */
.foot { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 10px var(--gut) 14px; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; font-size: 13px; color: var(--muted); }
.foot-line a { text-decoration: none; }
.foot-line b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.maker { display: inline-flex; align-items: center; gap: 8px; }
.maker img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
@keyframes fade-in { from { opacity: 0; } }

/* ---- Share dialog ------------------------------------------------------------------------------------ */
.share { width: min(720px, calc(100vw - 32px)); padding: 22px; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px -20px rgb(0 0 0 / .5); }
.share::backdrop { background: rgb(12 14 10 / .5); backdrop-filter: blur(6px); }
.share[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.share h2 { font-size: clamp(18px, 5vw, 22px); letter-spacing: -.02em; margin-bottom: 14px; padding-right: 44px; }
.share video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #111; }
.share-close { position: absolute; top: 14px; right: 14px; }
.share-close button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--sunk); cursor: pointer; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sbtn { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 11px; border: 1.5px solid var(--rule); background: none; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.sbtn:hover { border-color: var(--ink); color: var(--ink); }
.sbtn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sbtn.primary:hover { color: var(--bg); }
/* Phones: Save or share (the share sheet) leads; the Files download steps back. */
.share.phone #share-file { order: -1; }
.share.phone #dl-video { background: none; color: var(--ink); border-color: var(--rule); }
.share-hint { margin-top: 10px; font-size: 12.5px; color: var(--faint); }
/* Creator pack */
.pack { width: min(860px, calc(100vw - 32px)); max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.pack-lede { color: var(--muted); font-size: 15px; max-width: 60ch; margin: -4px 0 16px; }
.pack h3 { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pack-vids { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pack-vids li, .pack-imgs li { min-width: 0; }
.pack-vids li { display: grid; gap: 6px; font-size: 14px; }
.pack-vids img, .pack-imgs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--rule); }
.pack-vids span { display: flex; gap: 12px; font-size: 13.5px; font-weight: 600; }
.pack-imgs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pack-imgs a { display: grid; gap: 6px; font-size: 13px; text-decoration: none; }
.pack-imgs img { object-fit: contain; padding: 8px; }
.pack-imgs b { font-weight: 600; }
.pack-text { margin: 0; padding: 14px 16px; max-height: 220px; overflow: auto; border-radius: 12px; background: var(--sunk); font: 12.5px/1.55 var(--mono); white-space: pre-wrap; }
.sbtn.mini { height: 28px; padding: 0 10px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink); border-radius: 8px; }

/* Narrower screens: the pitch above the demo, then the page scrolls */
@media (max-width: 1080px), (max-height: 620px) {
  :root { --W: min(100vw - 2 * var(--gut), 980px); --H: clamp(440px, var(--W) * .64, 640px); }
  .nav { padding-inline: var(--gut); }
  .hero { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding: 12px var(--gut) 24px; }
  .feats { width: var(--W); margin-inline: auto; }
  .pitch { max-width: 620px; justify-items: center; text-align: center; }
  h1 { font-size: min(calc((100vw - 48px) * .094), 52px); }
  .int-list { justify-content: center; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; --nav: 52px; --W: calc(100vw - 32px); }
  .hero { gap: 20px; padding-top: 4px; }
  h1 { font-size: min(calc((100vw - 32px) * .094), 40px); }
  /* Phones: headline and CTAs, then the demo, then the voice, integrations and licence lines. */
  .pitch { display: contents; }
  h1, .lede { text-align: center; }
  .more { display: none; }
  .demo { order: 1; }
  .voice, .integrations, .local { order: 2; text-align: center; }
  .integrations { justify-items: center; width: 100%; }
  .lede { font-size: 16px; margin-top: -4px; }
  .cta { justify-content: center; }
  .cmd { font-size: 14.5px; padding-left: 14px; }
  .star { font-size: 14px; padding-left: 13px; }
  .voice { font-size: 14px; justify-content: center; }
  .int-list li { height: 30px; font-size: 13px; }
  .share-btn span, .share-btn { padding: 0 12px; }
  .demo { width: 100%; grid-template-areas: "win" "tabs" "acts"; justify-items: center; }
  .demo > .tabs { justify-self: stretch; width: 100%; margin: 4px 0 26px; }
  .demo-actions { justify-self: center; width: auto; }
  .hw::before { display: none; }
  .nav { gap: 14px; }
  .nav-links { gap: 18px; }
  .nav-links a[href$="CONTRIBUTING.md"] { display: none; }
  .shine { min-width: 0; }
  /* Phones: the agent's tile is the focus, the people a strip under it, the chat just its newest message. */
  .hw, .hw[data-p] { --sig: calc(var(--W) - 24px); width: 100%; height: auto; overflow: hidden; border-radius: 16px; background: var(--bg1); box-shadow: var(--shadow), 0 0 0 1px var(--edge, rgb(0 0 0 / .08)); }
  .card, [data-p] .card { height: auto; border-radius: 0 !important; box-shadow: none; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "bar" "call"; }
  .hw[data-p="discord"] .rail { display: none; }
  .hw-bar { padding: 0 12px; height: 44px; }
  .hw-sub, .hw-count-l { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .people { grid-area: auto; grid-template-rows: none; grid-template-columns: repeat(3, 1fr); height: 64px; }
  [data-p="meet"] .people { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .t-person figcaption { left: 6px; bottom: 6px; font-size: 11px; padding: 3px 5px; }
  .t-person .av { width: 30px; }
  .t-person .ini { font-size: 13px; }
  .call, [data-p] .call { padding: 12px 12px 10px; grid-template-rows: auto 46px auto; }
  [data-p="meet"] .meet-info { display: none; }
  .cc { font-size: 14px; }
  .side, [data-p] .side { position: static; width: auto; height: auto; translate: none; box-shadow: none; border: 0; border-top: 1px solid var(--line); padding: 0; border-radius: 0; grid-template-rows: auto; background: var(--side-bg); }
  [data-p="meet"] .side::before { display: none; }
  .hw:not(.side-on) .side { display: none; }
  .side-h, .composer { display: none; }
  .msgs, [data-p] .msgs { padding: 10px 14px 12px; height: 100px; justify-content: flex-start; mask-image: none; -webkit-mask-image: none; }
  .msgs .msg:not(:last-child) { display: none; }
  .msg p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .msg .links { display: -webkit-box; }
  .msg .links b { display: inline; margin-right: 6px; }
  .msg .links span { display: inline; }
  .msg .links span + span::before { content: " · "; }
  .msg .links b + span::before { content: ""; }
  .demo > .tabs { max-width: 100%; }
  .tabs button { padding: 0 9px; font-size: 13.5px; gap: 6px; }
  .soon::after { font-size: 10.5px; }
  .feats { width: auto; margin: 0; padding: 22px var(--gut) 8px; }
  .feat-pills { gap: 6px; }
  .feat-pills li { height: 28px; font-size: 12.5px; padding: 0 10px 0 9px; }
  .feat-pills li:nth-child(n + 13) { display: none; }
  .joined { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .shine .ch { animation: none !important; }
}

/* ?rec: the window alone at 1280×720, for site/record.mjs */
.rec body { display: block; min-height: 0; background: #000; overflow: hidden; }
.rec body > :not(main), .rec .pitch, .rec .demo > .tabs, .rec .glow { display: none !important; }
.rec main { display: block; padding: 0; }
.rec .demo { display: block; }
.rec { --W: 100vw; --H: 100vh; --th: 320px; }
/* Recording: the window fills the frame and the thread slides in over its right side. */
.rec .hw { width: var(--W); }
.rec .call { margin-right: var(--side); }
.rec .side { left: auto; right: 0; z-index: 2; translate: 100% 0; }
.rec .side-on .side { translate: 0; }
.rec :is(.card, .side) { border-radius: 0 !important; box-shadow: none; }
.rec .hw::before { display: none; }
.rec .demo-actions { display: none; }

/* 404.html */
.nf { display: block; padding: 0; }
.nf-in { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.nf-mark { width: 64px; height: 64px; }
.nf p { color: var(--muted); }
.btn-line { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 15px; }
