/* PRIME AI BOARDROOM — styles
   Themes: light (default, from the approved light mockup) and dark (doc palette + approved dark mockup).
   Brand palette: Midnight Navy #021024 · Deep Royal Navy #052659 · Steel Blue #5483B3 · Muted Blue #7DA0CA
                  Ice Blue #C1E8FF · Champagne Gold #D9AC72 · Soft White #F5F7FC */

/* =============================================================== tokens */
:root {
  --font: "Inter", "Inter Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-xs: 8px; --r-sm: 10px; --r: 12px; --r-md: 14px; --r-lg: 18px; --r-xl: 22px;
  --wrap: 1200px;
  --blur: 18px;

  --midnight: #021024; --royal: #052659; --steel: #5483B3; --muted-blue: #7DA0CA; --ice: #C1E8FF; --gold: #D9AC72; --soft-white: #F5F7FC;
}

:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #EAF1FB;
  --page-bg:
    radial-gradient(1100px 640px at 88% -10%, rgba(193, 232, 255, .85), transparent 62%),
    radial-gradient(900px 700px at -8% 110%, rgba(160, 192, 232, .45), transparent 60%),
    linear-gradient(170deg, #F6F9FE 0%, #EAF1FB 48%, #DEE9F8 100%);
  --orb: rgba(255, 255, 255, .5);
  --orb-line: rgba(84, 131, 179, .14);

  --surface: rgba(255, 255, 255, .64);
  --surface-strong: rgba(255, 255, 255, .88);
  --surface-solid: #FFFFFF;
  --surface-inset: rgba(229, 238, 250, .75);
  --surface-hover: rgba(255, 255, 255, .95);
  --line: rgba(84, 131, 179, .16);
  --line-2: rgba(84, 131, 179, .28);
  --edge: rgba(255, 255, 255, .9);

  --ink: #0B1F45;
  --ink-2: #32486E;
  --ink-3: #566A8C;
  --placeholder: #64779A;

  --primary: #052659;
  --primary-grad: linear-gradient(180deg, #0F428E 0%, #052659 100%);
  --primary-hover: linear-gradient(180deg, #1550A6 0%, #08306D 100%);
  --on-primary: #FFFFFF;
  --primary-shadow: rgba(5, 38, 89, .22);

  --accent-text: linear-gradient(90deg, #052659 0%, #2A62C9 100%);
  --active: #2A62C9;
  --active-ink: #1E4EAA;
  --active-soft: rgba(42, 98, 201, .09);
  --active-line: rgba(42, 98, 201, .42);
  --active-glow: rgba(42, 98, 201, .20);

  --ok: #1A9664;
  --off: #95A4BD;
  --danger: #C23434;
  --danger-soft: #FCEEEE;
  --danger-line: #F1C7C7;

  --leave-bg: #FCEEEE; --leave-ink: #C23434; --leave-line: #F1C7C7; --leave-hover: #F9E1E1;
  --end-bg: rgba(255, 255, 255, .88); --end-ink: #C23434; --end-line: #F1C7C7;

  --seat-bg: rgba(255, 255, 255, .9);
  --seat-ink: #0B1F45;
  --tile-bg: linear-gradient(160deg, #E3ECF9 0%, #CCDCF2 100%);
  --frame: #0A1F45;

  --shadow-1: 0 1px 2px rgba(11, 31, 69, .04), 0 8px 24px rgba(11, 31, 69, .07);
  --shadow-2: 0 2px 6px rgba(11, 31, 69, .06), 0 20px 44px rgba(11, 31, 69, .12);
  --shadow-pop: 0 12px 40px rgba(11, 31, 69, .18), 0 2px 6px rgba(11, 31, 69, .06);
  --focus: 0 0 0 3px rgba(42, 98, 201, .35);
  --scrim: rgba(11, 31, 69, .28);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #021024;
  --page-bg:
    radial-gradient(1100px 640px at 86% -12%, rgba(84, 131, 179, .30), transparent 60%),
    radial-gradient(900px 640px at -6% 112%, rgba(5, 38, 89, .95), transparent 62%),
    linear-gradient(165deg, #021024 0%, #041A3D 55%, #0B2A55 100%);
  --orb: rgba(84, 131, 179, .05);
  --orb-line: rgba(125, 160, 202, .14);

  --surface: rgba(5, 38, 89, .34);
  --surface-strong: rgba(6, 30, 68, .82);
  --surface-solid: #061A3A;
  --surface-inset: rgba(2, 16, 36, .55);
  --surface-hover: rgba(10, 46, 102, .7);
  --line: rgba(125, 160, 202, .15);
  --line-2: rgba(125, 160, 202, .28);
  --edge: rgba(193, 232, 255, .07);

  --ink: #F5F7FC;
  --ink-2: #C7D5EA;
  --ink-3: #8FA9CC;
  --placeholder: #7E98BD;

  --primary: #D9AC72;
  --primary-grad: linear-gradient(180deg, #F0D4A8 0%, #D9AC72 100%);
  --primary-hover: linear-gradient(180deg, #F5DDB7 0%, #E1B67F 100%);
  --on-primary: #1B1307;
  --primary-shadow: rgba(217, 172, 114, .22);

  --accent-text: linear-gradient(90deg, #D9AC72 0%, #F0D4A8 100%);
  --active: #D9AC72;
  --active-ink: #E9C796;
  --active-soft: rgba(217, 172, 114, .12);
  --active-line: rgba(217, 172, 114, .55);
  --active-glow: rgba(217, 172, 114, .26);

  --ok: #4FD08F;
  --off: #5F7798;
  --danger: #F08F8F;
  --danger-soft: rgba(240, 143, 143, .12);
  --danger-line: rgba(240, 143, 143, .35);

  --leave-bg: linear-gradient(180deg, #F0D4A8 0%, #D9AC72 100%); --leave-ink: #1B1307; --leave-line: rgba(255, 236, 200, .6); --leave-hover: linear-gradient(180deg, #F5DDB7 0%, #E1B67F 100%);
  --end-bg: rgba(217, 172, 114, .08); --end-ink: #E9C796; --end-line: rgba(217, 172, 114, .6);

  --seat-bg: radial-gradient(circle at 50% 30%, #0C2C5E 0%, #071C40 70%);
  --seat-ink: #F5F7FC;
  --tile-bg: linear-gradient(160deg, #0B2A58 0%, #061A3A 100%);
  --frame: #031530;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .35), 0 24px 50px rgba(0, 0, 0, .4);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .3);
  --focus: 0 0 0 3px rgba(217, 172, 114, .45);
  --scrim: rgba(1, 8, 20, .55);
}

/* =============================================================== base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--bg); background-image: var(--page-bg); background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 6% 104%, var(--orb) 0 300px, var(--orb-line) 301px 302px, transparent 303px),
    radial-gradient(circle at 98% 96%, var(--orb) 0 380px, var(--orb-line) 381px 382px, transparent 383px),
    radial-gradient(circle at 72% 6%, transparent 0 520px, var(--orb-line) 521px 522px, transparent 523px);
}
img, svg, video { display: block; max-width: 100%; }
#env { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; display: block; max-width: none; }
html.has-env body::before { display: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
h1[tabindex="-1"]:focus, main:focus, .center:focus { box-shadow: none; outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--surface-solid); color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-2); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }
.i--xs { width: 14px; height: 14px; }
.i--end { width: 18px; height: 18px; margin-left: 2px; transition: transform .3s var(--ease); }
.muted { color: var(--ink-3); font-size: 14px; }
.mono-text { font-family: var(--mono); font-size: 13.5px; word-break: break-all; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }

/* glass surfaces */
.glass, .acard, .mcard, .fcard, .fsec, .card-form, .confirm, .empty, .team__panel, .vcard, .aside, .pane, .toolbar, .note, .step, .why__art, .wr__preview {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.2);
  backdrop-filter: blur(var(--blur)) saturate(1.2);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass, .acard, .mcard, .fcard, .fsec, .card-form, .confirm, .empty, .team__panel, .vcard, .aside, .pane, .toolbar, .note, .step, .why__art, .wr__preview { background: var(--surface-strong); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .acard, .mcard, .fcard, .fsec, .card-form, .confirm, .empty, .team__panel, .vcard, .aside, .pane, .toolbar, .note, .step, .why__art, .wr__preview { background: var(--surface-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =============================================================== type */
.h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; font-weight: 500; letter-spacing: -.032em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--active-ink); margin-bottom: 12px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.accent { background: var(--accent-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.opt { color: var(--ink-3); font-weight: 500; }
.text-link { color: var(--active-ink); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================== buttons */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:hover .i--end { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--primary-grad); color: var(--on-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 18px var(--primary-shadow); }
.btn--primary:hover:not(:disabled) { background: var(--primary-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 26px var(--primary-shadow); }
.btn--secondary { background: var(--surface-strong); border-color: var(--line-2); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 31, 69, .05); }
.btn--secondary:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--active-line); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-strong); color: var(--ink); }
.btn--quiet { background: var(--surface-strong); border-color: var(--line-2); color: var(--ink); }
.btn--quiet:hover { border-color: var(--active-line); }
.btn--end { background: var(--end-bg); border-color: var(--end-line); color: var(--end-ink); }
.btn--end:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px var(--danger-soft); }
[data-theme="dark"] .btn--end:hover { box-shadow: 0 0 0 3px var(--active-soft); }
.btn--danger { background: var(--danger); color: #fff; }
[data-theme="dark"] .btn--danger { color: #2A0B0B; }
.btn--danger:hover { filter: brightness(1.06); }
.btn--stop { background: rgba(240, 120, 120, .16); border-color: rgba(240, 140, 140, .45); color: #FFD9D9; }
.btn--stop:hover { background: rgba(240, 120, 120, .26); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-sm); gap: 7px; }
.btn--sm .i { width: 16px; height: 16px; }
.btn--xs { --h: 30px; padding: 0 10px; font-size: 12.5px; border-radius: var(--r-xs); gap: 6px; }
.btn--xs .i { width: 14px; height: 14px; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 4px; color: var(--active-ink); font-size: 13.5px; font-weight: 500; border-radius: 8px; }
.link-btn .i { width: 16px; height: 16px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover:not(:disabled) { background: var(--surface-strong); color: var(--ink); border-color: var(--line); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn--sm { width: 32px; height: 32px; border-radius: var(--r-xs); }
.icon-btn--sm .i { width: 17px; height: 17px; }
.icon-btn--onbar { color: #DCE6F6; }
.icon-btn--onbar:hover:not(:disabled) { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .14); }

/* chips, tags, counts, dots */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--surface-strong); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.chip--live { background: rgba(26, 150, 100, .16); border-color: rgba(79, 208, 143, .35); color: #D7F5E6; padding: 0 12px 0 10px; }
.chip--muted { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #C9D6EA; padding: 0 12px; }
.chip--onmedia { position: absolute; top: 8px; left: 8px; height: 24px; font-size: 11.5px; background: rgba(5, 18, 40, .62); border-color: rgba(255, 255, 255, .18); color: #fff; padding: 0 9px 0 7px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chip--preview { height: 30px; padding: 0 12px; background: var(--active-soft); border-color: var(--active-line); color: var(--active-ink); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.chip--preview:hover { background: var(--surface-strong); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--active-soft); color: var(--active-ink); border: 1px solid transparent; white-space: nowrap; }
.tag--muted { background: var(--surface-inset); color: var(--ink-3); }
.tag--live { background: rgba(26, 150, 100, .12); color: var(--ok); }
[data-theme="dark"] .tag--live { color: #7BE3AE; }
.tag--xs { height: 18px; padding: 0 6px; font-size: 10.5px; letter-spacing: .02em; }
.tag--human { background: var(--surface-inset); color: var(--ink-2); }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--surface-strong); border: 1px solid var(--line-2); color: var(--ink); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.dot--live { background: #32C27E; box-shadow: 0 0 0 0 rgba(50, 194, 126, .6); animation: livePulse 2.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(50, 194, 126, .55); } 70% { box-shadow: 0 0 0 7px rgba(50, 194, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(50, 194, 126, 0); } }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sdot--on { background: var(--ok); }
.sdot--off { background: var(--off); }
.sdot--think { width: 9px; height: 9px; border: 2px solid var(--active); background: transparent; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; animation: wave 1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -.25s; } .wave i:nth-child(3) { animation-delay: -.5s; } .wave i:nth-child(4) { animation-delay: -.75s; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--active); animation: spin .9s linear infinite; display: inline-block; }
.spin--xs { width: 12px; height: 12px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* brand mark, AI tiles, person avatars */
.mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--primary-grad); color: var(--on-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 12px var(--primary-shadow); flex: none; }
.mark svg { width: 70%; height: 70%; fill: currentColor; }
[data-theme="dark"] .mark { background: linear-gradient(180deg, rgba(10, 46, 102, .9), rgba(5, 38, 89, .9)); color: var(--gold); border: 1px solid rgba(217, 172, 114, .35); box-shadow: 0 0 18px rgba(217, 172, 114, .12); }
.mark--plain { background: none !important; box-shadow: none !important; border: 0 !important; color: var(--primary); width: 34px; height: 34px; }
[data-theme="dark"] .mark--plain { color: var(--gold); }
.mark--plain svg { width: 100%; height: 100%; }

.ai-tile {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--surface-solid); border: 1px solid var(--line-2); color: var(--ink); overflow: hidden;
  box-shadow: inset 0 1px 0 var(--edge);
}
[data-theme="dark"] .ai-tile { background: linear-gradient(180deg, #0C2C5E, #071C40); border-color: rgba(125, 160, 202, .25); }
.ai-tile img { width: 72%; height: 72%; object-fit: contain; }
.mono { font-weight: 500; font-size: 14px; letter-spacing: -.02em; line-height: 1; }
.mono[data-len="3"] { font-size: 11px; letter-spacing: -.01em; }
.ai-tile--xs { width: 26px; height: 26px; border-radius: 8px; }
.ai-tile--xs .mono { font-size: 10px; } .ai-tile--xs .mono[data-len="3"] { font-size: 7.5px; letter-spacing: -.04em; }
.ai-tile--sm { width: 32px; height: 32px; border-radius: 9px; }
.ai-tile--sm .mono { font-size: 12px; } .ai-tile--sm .mono[data-len="3"] { font-size: 9.5px; }
.ai-tile--focus { width: 92px; height: 92px; border-radius: 50%; }
.ai-tile--focus .mono { font-size: 28px; } .ai-tile--focus .mono[data-len="3"] { font-size: 22px; }
.pav { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink); background: var(--surface-inset); border: 1px solid var(--line-2); }
[data-theme="dark"] .pav { background: rgba(10, 46, 102, .7); }
.pav--sm { width: 32px; height: 32px; font-size: 12px; }
.pav--lg { width: 48px; height: 48px; font-size: 16px; }
.pav--xl { width: 112px; height: 112px; font-size: 38px; font-weight: 500; }
.pav--focus { width: 92px; height: 92px; font-size: 30px; }

/* =============================================================== site header / footer */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); justify-self: start; }
.brand__name { font-weight: 500; font-size: 15px; letter-spacing: .16em; }
.site-nav { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.site-nav a { padding: 8px 16px; border-radius: 10px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--surface-strong); }
.site-nav a.is-active { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 4px 12px var(--primary-shadow); }
[data-theme="dark"] .site-nav a.is-active { background: rgba(217, 172, 114, .1); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 172, 114, .55), 0 0 18px rgba(217, 172, 114, .12); }
.site-header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.site-main { min-height: calc(100vh - 72px - 180px); outline: none; }
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.site-footer__in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 48px; flex-wrap: wrap; }
.site-footer__brand p { margin-top: 12px; color: var(--ink-3); font-size: 14.5px; }
.site-footer__nav { display: flex; gap: 48px; }
.site-footer__nav div { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================== home */
.hero { padding: 72px 0 40px; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.hero__tag { margin-top: 18px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; color: var(--ink-2); text-wrap: balance; }
.hero__text { margin-top: 18px; max-width: 54ch; font-size: 17px; color: var(--ink-3); line-height: 1.65; }

.mini { position: relative; width: 100%; aspect-ratio: 1.55; max-width: 560px; margin-left: auto; }
.mini__arc { position: absolute; inset: -6% -4%; border-radius: 50%; border: 1px solid var(--orb-line); }
.mini__arc::after { content: ""; position: absolute; inset: 9% 7%; border-radius: 50%; border: 1px dashed var(--line-2); opacity: .7; }
.mini__table { position: absolute; left: 50%; top: 50%; width: 58%; height: 52%; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; }
.mini__center { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.mini__center .mark--plain { width: 28px; height: 28px; margin-bottom: 6px; }
.mini__prime { font-weight: 500; letter-spacing: .4em; font-size: clamp(16px, 2.1vw, 24px); margin-right: -.4em; }
.mini__sub { font-size: clamp(9px, .9vw, 11px); letter-spacing: .3em; color: var(--ink-3); font-weight: 500; margin-right: -.3em; }
.mseat { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ai-tile--seat { width: clamp(42px, 5vw, 56px); height: clamp(42px, 5vw, 56px); border-radius: 50%; box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge); }
.ai-tile--seat .mono { font-size: clamp(13px, 1.4vw, 16px); } .ai-tile--seat .mono[data-len="3"] { font-size: clamp(10px, 1.05vw, 12.5px); }
.mseat__name { font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mseat.is-speaking .ai-tile--seat { border: 2px solid var(--active); box-shadow: 0 0 0 5px var(--active-soft), 0 0 24px var(--active-glow); }

/* table surfaces (shared by the mini table and the live table) */
.mini__table, .table {
  background: radial-gradient(ellipse at 50% 28%, rgba(255, 255, 255, .98) 0%, rgba(238, 244, 252, .95) 46%, rgba(214, 228, 246, .94) 100%);
  border: 1px solid rgba(84, 131, 179, .34);
  box-shadow: 0 34px 60px -26px rgba(11, 31, 69, .32), inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -16px 36px rgba(84, 131, 179, .16);
}
[data-theme="dark"] .mini__table, [data-theme="dark"] .table {
  background: radial-gradient(ellipse at 50% 32%, #0D3270 0%, #072250 52%, #03142F 100%);
  border: 1px solid rgba(217, 172, 114, .6);
  box-shadow: 0 0 0 1px rgba(217, 172, 114, .12), 0 0 46px rgba(217, 172, 114, .16), 0 40px 80px -24px rgba(0, 0, 0, .7), inset 0 0 70px rgba(84, 131, 179, .22), inset 0 1px 0 rgba(240, 212, 168, .25);
}

.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.acard { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), inset 0 1px 0 var(--edge); border-color: var(--line-2); }
.acard--primary { border-color: var(--active-line); }
.acard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--active-soft); color: var(--active-ink); margin-bottom: 20px; }
.acard--primary .acard__icon { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 6px 16px var(--primary-shadow); }
.acard__title { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.acard__text { margin: 8px 0 24px; color: var(--ink-3); font-size: 15.5px; flex: 1; }

.section { margin-top: 96px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__text { margin-top: 8px; color: var(--ink-3); font-size: 16px; max-width: 60ch; }

.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.mcard { border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .3s var(--ease), border-color .3s; }
.mcard:hover { box-shadow: var(--shadow-2), inset 0 1px 0 var(--edge); border-color: var(--line-2); }
.mcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 32px; }
.mcard__end { display: flex; align-items: center; gap: 6px; }
.mcard__tags { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.mcard__title { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.mcard__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcard__meta dt { font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mcard__meta dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 500; }
.mcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mcard__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-stack { display: inline-flex; align-items: center; }
.ai-stack .ai-tile { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface-solid); }
.ai-stack .ai-tile:first-child { margin-left: 0; }
.ai-stack__more { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }

.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; padding: 6px; border-radius: var(--r-md); background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.menu button, .mlist button, .mlist a { display: flex; text-decoration: none; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink); text-align: left; }
.menu button .i, .mlist button .i, .mlist a .i { width: 18px; height: 18px; color: var(--ink-3); }
.menu button:hover, .mlist button:hover, .mlist a:hover, .menu button:focus-visible, .mlist button:focus-visible, .mlist a:focus-visible { background: var(--surface-inset); }
.menu .is-danger, .mlist .is-danger { color: var(--danger); }
.menu .is-danger .i, .mlist .is-danger .i { color: var(--danger); }
.mlist button[aria-pressed="true"] { background: var(--active-soft); color: var(--active-ink); }
.mlist .count { margin-left: auto; }

.empty { border-radius: var(--r-lg); padding: 48px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-3); }
.empty__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--active-soft); color: var(--active-ink); margin-bottom: 12px; }
.empty__icon .i { width: 26px; height: 26px; }
.empty__title { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.015em; margin-bottom: 4px; }
.empty .btn-row { margin-top: 18px; justify-content: center; }
.empty--inline { flex-direction: row; justify-content: center; padding: 28px; gap: 12px; text-align: left; }
.empty--inline .i { color: var(--active-ink); }
.empty--inline a { color: var(--active-ink); font-weight: 500; }
.empty--panel { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 40px 16px; margin: auto 0; font-size: 14.5px; }
.empty--panel .empty__title { font-size: 16px; }

/* =============================================================== about */
.hero--about .hero__title { font-size: clamp(40px, 5vw, 60px); }
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.why__copy p + p { margin-top: 14px; }
.why__copy p:not(.eyebrow):not(.lead) { color: var(--ink-3); font-size: 16.5px; }
.why__copy .why__strong { color: var(--ink); font-weight: 500; font-size: 17px; }
.why__art { border-radius: var(--r-xl); padding: 32px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px; }
.why__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; text-align: center; }
.why__dot { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 1px dashed var(--line-2); }
.why__arrow { color: var(--ink-3); }
.why__ring { position: relative; display: grid; grid-template-columns: repeat(3, auto); gap: 10px; justify-content: center; padding: 18px; border-radius: 999px; border: 1px solid var(--active-line); background: var(--active-soft); }
.why__you { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-grad); color: var(--on-primary); }
.why__you .i { width: 17px; height: 17px; }
.fgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.fcard { grid-column: span 2; border-radius: var(--r-lg); padding: 26px; }
.fcard:nth-child(4) { grid-column: 2 / span 2; }
.fcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--active-soft); color: var(--active-ink); margin-bottom: 18px; }
.fcard p { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.team__panel { border-radius: var(--r-xl); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.team__copy p:not(.eyebrow) { margin-top: 14px; color: var(--ink-3); font-size: 16.5px; }
.team__copy .team__line { color: var(--ink); font-weight: 500; }
.team__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team__list li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: var(--r-md); background: var(--surface-strong); border: 1px solid var(--line); font-weight: 500; font-size: 14px; }
.team__list .ai-tile { width: 48px; height: 48px; border-radius: 50%; }
.team__list .mono { font-size: 16px; } .team__list .mono[data-len="3"] { font-size: 12.5px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { border-radius: var(--r-lg); padding: 26px; position: relative; }
.step__n { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--active-ink); padding: 4px 10px; border-radius: 999px; background: var(--active-soft); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.step p { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 26px; padding: 72px 28px; background: linear-gradient(160deg, #0B347A 0%, #052659 55%, #031A40 100%); color: #F5F7FC; box-shadow: var(--shadow-2); }
.cta .h2 { color: #F5F7FC; }
.cta p { margin: 14px auto 0; max-width: 52ch; color: #C9D8EE; font-size: 17px; }
.cta .btn--primary { background: linear-gradient(180deg, #F0D4A8 0%, #D9AC72 100%); color: #1B1307; box-shadow: 0 8px 24px rgba(217, 172, 114, .3); }
.cta .btn--secondary { background: rgba(255, 255, 255, .08); border-color: rgba(193, 232, 255, .3); color: #F5F7FC; }
.cta .btn--secondary:hover { background: rgba(255, 255, 255, .14); }
.cta__arc { position: absolute; inset: auto -10% -70% -10%; height: 120%; border-radius: 50%; border: 1px solid rgba(193, 232, 255, .22); box-shadow: 0 0 60px rgba(84, 131, 179, .25) inset; pointer-events: none; }
[data-theme="dark"] .cta { background: linear-gradient(160deg, rgba(10, 46, 102, .95) 0%, rgba(5, 38, 89, .9) 55%, rgba(2, 16, 36, .95) 100%); border: 1px solid rgba(217, 172, 114, .3); }

/* =============================================================== page + forms */
.page { padding-top: 56px; }
.page--form { max-width: 880px; }
.page--narrow { max-width: 700px; }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.phead__sub { margin-top: 12px; font-size: 19px; color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; }
.phead__text { margin-top: 8px; font-size: 16px; color: var(--ink-3); max-width: 62ch; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.tab { padding: 9px 18px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.tab:hover { color: var(--ink); background: var(--surface-strong); }
.tab.is-active { background: var(--surface-solid); color: var(--ink); box-shadow: var(--shadow-1); }
[data-theme="dark"] .tab.is-active { background: rgba(217, 172, 114, .12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217, 172, 114, .45); }
.tabpanel__head { margin-bottom: 20px; }

.form { display: flex; flex-direction: column; gap: 20px; }
.fsec, .card-form { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.fsec__title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.fsec__kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--active-ink); margin-bottom: 6px; }
.fsec__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fsec__row .field__help { margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.field__label--sm { font-size: 13px; color: var(--ink-2); }
.field__help { font-size: 14px; color: var(--ink-3); }
.field__err { font-size: 13.5px; color: var(--danger); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--surface-solid); color: var(--ink); font-size: 15.5px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
[data-theme="dark"] .input { background: rgba(2, 16, 36, .6); }
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { border-color: var(--active-line); }
.input:focus { outline: none; border-color: var(--active); box-shadow: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input:disabled { opacity: .55; cursor: not-allowed; }
.input--sm { max-width: 200px; min-height: 42px; }
.textarea { resize: vertical; min-height: 96px; }
.select-wrap, .ph-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select:invalid, .select option[value=""] { color: var(--placeholder); }
.select option { color: var(--ink); background: var(--surface-solid); }
.select-icon, .ph-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); width: 18px; height: 18px; }
.ph-wrap .input { padding-right: 44px; }
.ph-wrap input::-webkit-calendar-picker-indicator { position: absolute; right: 8px; width: 32px; height: 32px; opacity: 0; cursor: pointer; }
.ph { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--placeholder); pointer-events: none; font-size: 15.5px; }
.ph-wrap:not(.has-value):not(:focus-within) input { color: transparent; }
.ph-wrap.has-value .ph, .ph-wrap:focus-within .ph { display: none; }

.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.pick__item { position: relative; }
.pick__item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick__box { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-strong); transition: border-color .2s, background .2s, box-shadow .2s; }
.pick__name { font-weight: 500; font-size: 15px; flex: 1; }
.pick__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); color: transparent; transition: all .2s; }
.pick__check .i { width: 14px; height: 14px; stroke-width: 2.5; }
.pick__item:hover .pick__box { border-color: var(--active-line); }
.pick__item input:checked + .pick__box { border-color: var(--active); background: var(--active-soft); box-shadow: inset 0 0 0 1px var(--active); }
.pick__item input:checked + .pick__box .pick__check { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pick__item input:focus-visible + .pick__box { box-shadow: var(--focus); }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode { position: relative; }
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.mode__box { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-strong); transition: border-color .2s, background .2s, box-shadow .2s; }
.mode__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--active-soft); color: var(--active-ink); flex: none; }
.mode__copy { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mode__title { font-weight: 500; font-size: 16px; }
.mode__text { color: var(--ink-3); font-size: 14px; line-height: 1.45; }
.mode__radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; margin-top: 2px; transition: all .2s; }
.mode:hover .mode__box { border-color: var(--active-line); }
.mode input:checked + .mode__box { border-color: var(--active); background: var(--active-soft); box-shadow: inset 0 0 0 1px var(--active); }
.mode input:checked + .mode__box .mode__radio { border: 6px solid var(--primary); }
.mode input:focus-visible + .mode__box { box-shadow: var(--focus); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: var(--surface-inset); border: 1px solid var(--line); }
.seg__item { position: relative; }
.seg__item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.seg__item span, .seg button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 0; background: none; transition: background .2s, color .2s; }
.seg__item input:checked + span, .seg button[aria-pressed="true"] { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 3px 10px var(--primary-shadow); }
.seg__item input:focus-visible + span { box-shadow: var(--focus); }
.seg--sm button { padding: 7px 12px; font-size: 13px; }
.seg--sm .i { width: 15px; height: 15px; }
.custom-dur { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.form__actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.form__actions--split { justify-content: space-between; }
.note { border-radius: var(--r-md); padding: 16px 18px; font-size: 14.5px; color: var(--ink-3); }
.card-form .note { background: var(--surface-inset); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.note__title { color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--active-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.5; border: 1px solid var(--active-line); }
.hint .i { width: 18px; height: 18px; color: var(--active-ink); margin-top: 1px; }

/* confirmation */
.confirm { border-radius: var(--r-xl); padding: 44px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.confirm__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary-grad); color: var(--on-primary); margin-bottom: 22px; box-shadow: 0 10px 28px var(--primary-shadow); }
.confirm__badge .i { width: 30px; height: 30px; stroke-width: 2.4; }
.confirm .info { margin-top: 28px; width: 100%; text-align: left; }
.confirm .hint { margin-top: 16px; text-align: left; width: 100%; }
.confirm .btn-row { margin-top: 26px; }
.confirm .text-link { margin-top: 18px; font-size: 14.5px; }
.info { margin: 0; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-strong); overflow: hidden; }
.info__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.info__row:first-child { border-top: 0; }
.info dt { font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.info dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 500; min-width: 0; }

/* waiting room */
.wr__meeting { margin: -16px 0 24px; font-size: 16px; font-weight: 500; }
.wr__meeting span { color: var(--ink-3); font-weight: 500; }
.wr { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.wr__preview { border-radius: var(--r-xl); padding: 14px; position: sticky; top: 92px; }
.wr__video { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--tile-bg); display: grid; place-items: center; }
.wr__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.wr__ctrls { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ctl { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-strong); font-weight: 500; font-size: 14px; }
.ctl:hover { border-color: var(--active-line); }
.ctl[aria-pressed="true"] { background: var(--active-soft); border-color: var(--active-line); color: var(--active-ink); }
.wr__ctrls [data-action="wr-mic"][aria-pressed="true"] { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.wr__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.wr__side { display: flex; flex-direction: column; gap: 20px; }
.setrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.setrow--stack { flex-direction: column; align-items: flex-start; }
.setrow__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.setrow__label .i { color: var(--ink-3); width: 18px; height: 18px; }
.setrow__value { font-weight: 500; font-variant-numeric: tabular-nums; }
.toggle { min-width: 92px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-strong); font-weight: 500; font-size: 14px; }
.toggle:hover { border-color: var(--active-line); }
.toggle[aria-pressed="true"] { background: var(--primary-grad); color: var(--on-primary); border-color: transparent; }
#wr-mic-toggle[aria-pressed="true"] { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }

/* =============================================================== overlay, toasts, popovers */
.overlay { position: fixed; inset: 0; z-index: 100; }
.ov-backdrop { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.overlay.is-open .ov-backdrop { opacity: 1; }
.ov { position: absolute; display: flex; flex-direction: column; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); outline: none; max-height: calc(100dvh - 32px); }
[data-theme="dark"] .ov { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
.ov--modal { left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; width: min(560px, calc(100vw - 32px)); border-radius: var(--r-xl); transition: transform .35s var(--ease), opacity .25s; }
.ov--modal.ov--sm { width: min(440px, calc(100vw - 32px)); }
.overlay.is-open .ov--modal { transform: translate(-50%, -50%); opacity: 1; }
.ov--drawer { top: 12px; right: 12px; bottom: 12px; width: min(480px, calc(100vw - 24px)); border-radius: var(--r-xl); transform: translateX(24px); opacity: 0; transition: transform .4s var(--ease), opacity .25s; max-height: none; }
.overlay.is-open .ov--drawer { transform: none; opacity: 1; }
.ov__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 14px; }
.ov__title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.ov__sub { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; }
.ov__body { padding: 4px 22px 22px; overflow: auto; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ov__text { color: var(--ink-2); font-size: 15.5px; }
.ov__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ov .pop__label { margin-top: 4px; }
.ov .vcard--flat { padding: 16px; }
body.has-overlay { overflow: hidden; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
body.in-room .toasts { bottom: 112px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; background: var(--frame); color: #F5F7FC; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease); }
[data-theme="dark"] .toast { background: #0B2A5A; border: 1px solid rgba(125, 160, 202, .3); }
.toast.is-in { opacity: 1; transform: none; }
.toast .i { width: 18px; height: 18px; color: #9FC0EA; }
.toast--ok .i { color: #6EE0A6; }
.toast--warn .i { color: #F5C67A; }

.pop { position: fixed; z-index: 90; width: 300px; max-width: calc(100vw - 24px); padding: 14px; border-radius: var(--r-md); background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
[data-theme="dark"] .pop { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
.pop--notes { width: 340px; }
.pop--menu, .pop--sheet { width: 260px; padding: 6px; }
.pop--menu .mlist, .pop--sheet .mlist { display: flex; flex-direction: column; }
.pop--sheet .pop__title { padding: 8px 12px 4px; }
.pop__title { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.pop__label { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 8px; }
.nlist { display: flex; flex-direction: column; max-height: 320px; overflow: auto; }
.nlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 13.5px; }
.nlist li:first-child { border-top: 0; }
.nlist time { color: var(--ink-3); white-space: nowrap; font-size: 12.5px; }

/* =============================================================== MEETING ROOM */
body.in-room { overflow: hidden; }
body.in-room .pv { display: none; }
.room { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; position: relative; --ai-w: 300px; --hu-w: 284px; --panel-w: 400px; }
.room[data-ai="rail"] { --ai-w: 72px; }
.room[data-humans="rail"] { --hu-w: 72px; }
.room[data-mode="share"] { --hu-w: 236px; }

/* top nav */
.rnav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; padding: 0 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); position: relative; z-index: 20; }
[data-theme="dark"] .rnav { background: rgba(2, 16, 36, .7); }
.rnav::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 320px; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--active-line), transparent); }
.rbrand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; justify-self: start; }
.rbrand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.rbrand__text b { font-size: 16px; font-weight: 500; letter-spacing: .14em; white-space: nowrap; }
.rbrand__text b span { font-weight: 500; }
[data-theme="dark"] .rbrand__text b { color: var(--soft-white); }
.rbrand__text small { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.rtabs { display: flex; gap: 6px; }
.rtab { height: 40px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent; background: none; font-weight: 500; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.rtab:hover { color: var(--ink); background: var(--surface-strong); }
.rtab.is-active { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 6px 16px var(--primary-shadow); }
[data-theme="dark"] .rtab.is-active { background: linear-gradient(180deg, rgba(217, 172, 114, .22), rgba(217, 172, 114, .08)); color: #F5E3C6; border-color: rgba(217, 172, 114, .7); box-shadow: 0 0 22px rgba(217, 172, 114, .18), 0 8px 22px -10px rgba(217, 172, 114, .5); }
.rnav__end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-strong); font-size: 13.5px; font-weight: 500; margin-right: 4px; white-space: nowrap; }
.live time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; }
.pop-wrap { position: relative; }
.bell-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--active); box-shadow: 0 0 0 2px var(--surface-solid); }

/* body grid */
.rbody { display: grid; gap: 16px; padding: 16px 20px 0; min-height: 0; position: relative;
  grid-template-columns: var(--ai-w) minmax(0, 1fr) var(--hu-w); grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "ai center humans"; transition: grid-template-columns .4s var(--ease); }
.room[data-mode="table"][data-panels="1"] .rbody, .room[data-mode="table"][data-panels="2"] .rbody { grid-template-columns: var(--ai-w) minmax(0, 1fr) var(--panel-w) var(--hu-w); grid-template-areas: "ai center panel humans"; }
.room[data-mode="share"] .rbody { grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "ai center humans" "ai panel humans"; }
.aside--ai { grid-area: ai; } .center { grid-area: center; } .panel { grid-area: panel; } .aside--humans { grid-area: humans; }
.aside-scrim, .msheet-scrim { display: none; }

/* asides */
.aside { border-radius: var(--r-lg); min-height: 0; overflow: hidden auto; display: flex; flex-direction: column; padding: 16px 12px; scrollbar-width: thin; }
.aside__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; }
.aside__title { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.aside__lede { margin: 8px 4px 14px; font-size: 17px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.aside__label { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ailist { display: flex; flex-direction: column; gap: 1px; }
.airow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tile name st" "tile role role"; column-gap: 11px; row-gap: 0; align-items: center; width: 100%; padding: 5px 9px; border-radius: var(--r); border: 1px solid transparent; background: none; text-align: left; transition: background .2s, border-color .2s; }
.airow > .ai-tile { grid-area: tile; }
.airow > .ast { grid-area: st; }
.airow:hover { background: var(--surface-strong); border-color: var(--line); }
.airow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.airow__name { grid-area: name; font-weight: 500; font-size: 14px; letter-spacing: -.01em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airow__role { grid-area: role; font-size: 12px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airow.is-speaking { background: var(--active-soft); border-color: var(--active-line); box-shadow: 0 0 0 3px var(--active-soft); }
.airow.is-speaking .ai-tile { border-color: var(--active); }
.airow.is-selected:not(.is-speaking) { border-color: var(--active-line); }
.airow.is-not-connected .ai-tile, .airow.is-unavailable .ai-tile, .airow.is-not-connected .airow__name, .airow.is-unavailable .airow__name { opacity: .55; }
.ast { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; flex: none; }
.ast--speaking { color: var(--active-ink); font-weight: 500; }
.ast--thinking { color: var(--active-ink); }
.ast--connected { color: var(--ink-2); }

.rail__toggle { align-self: center; margin-bottom: 8px; }
.rail__label { text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.rail__label b { display: block; color: var(--ink); font-size: 13px; letter-spacing: 0; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 12px; }
.aside[id="r-ai"]:has(.rail), .aside[id="r-humans"]:has(.rail) { padding: 14px 8px; align-items: center; }
.rail__item, .rail__person { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid transparent; background: none; padding: 0; }
.rail__item .ai-tile { width: 40px; height: 40px; border-radius: 50%; }
.rail__item:hover { background: var(--surface-strong); }
.rail__dot { position: absolute; right: 2px; bottom: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--off); box-shadow: 0 0 0 2px var(--surface-solid); }
[data-theme="dark"] .rail__dot { box-shadow: 0 0 0 2px #061A3A; }
.is-connected > .rail__dot, .mchip.is-connected .rail__dot { background: var(--ok); }
.is-speaking > .rail__dot, .mchip.is-speaking .rail__dot { background: var(--active); }
.is-thinking > .rail__dot, .mchip.is-thinking .rail__dot { background: var(--active); animation: pulse 1.2s infinite; }
.rail__item.is-speaking .ai-tile { border: 2px solid var(--active); box-shadow: 0 0 0 4px var(--active-soft), 0 0 16px var(--active-glow); }
.rail__item.is-not-connected .ai-tile, .rail__item.is-unavailable .ai-tile { opacity: .5; }
.rail__person .pav { width: 40px; height: 40px; }
.rail__person.is-speaking .pav { border: 2px solid var(--active); box-shadow: 0 0 0 4px var(--active-soft); }
.rail__mic { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-solid); border: 1px solid var(--line-2); color: var(--ink-3); }
.rail__mic .i { width: 11px; height: 11px; }
.rail__mic.is-muted { color: var(--danger); }

/* human sidebar */
.me-card { border-radius: var(--r-md); padding: 14px; background: var(--surface-strong); border: 1px solid var(--line); margin-bottom: 18px; transition: border-color .2s, box-shadow .2s; }
.me-card.is-speaking { border-color: var(--active-line); box-shadow: 0 0 0 3px var(--active-soft), 0 0 22px var(--active-glow); }
.me-card__label { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.me-card__row { display: flex; align-items: center; gap: 12px; }
.me-card__name { font-weight: 500; font-size: 16px; }
.me-card__status { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
[data-theme="dark"] .me-card .pav--lg { background: rgba(217, 172, 114, .1); border-color: rgba(217, 172, 114, .55); color: #F5E3C6; }
.plist { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.prow { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r); border: 1px solid transparent; }
.prow.is-speaking { border-color: var(--active-line); background: var(--active-soft); box-shadow: 0 0 0 3px var(--active-soft); }
.prow.is-speaking .pav { border: 2px solid var(--active); }
.prow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prow__name { font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow__role { font-size: 12.5px; color: var(--ink-3); }
.mic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink-2); flex: none; }
.mic .i { width: 17px; height: 17px; }
.mic.is-muted { color: var(--danger); }
.hand-ind { color: var(--active-ink); display: inline-grid; }
.hand-ind .i { width: 18px; height: 18px; }

/* center */
.center { display: flex; flex-direction: column; min-height: 0; min-width: 0; outline: none; }
.chead { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow actions" "copy copy"; align-items: center; column-gap: 20px; padding: 0 4px; }
.chead > .eyebrow--room { grid-area: eyebrow; }
.chead__copy { grid-area: copy; min-width: 0; }
.chead__actions { grid-area: actions; }
.eyebrow--room { color: var(--ink-2); letter-spacing: .26em; font-size: 11.5px; margin-bottom: 0; }
[data-theme="dark"] .eyebrow--room { color: var(--ink-2); }
.chead__title { margin-top: 6px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.chead__sub { margin-top: 6px; font-size: 15px; color: var(--ink-3); max-width: 62ch; }
.mpills { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mpill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-strong); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.mpill .i { width: 17px; height: 17px; }
.mpill:hover:not(:disabled) { color: var(--ink); border-color: var(--active-line); }
.mpill.is-active { background: var(--primary-grad); color: var(--on-primary); border-color: transparent; box-shadow: 0 6px 16px var(--primary-shadow); }
.mpill:disabled { cursor: default; }
.chead__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.chead--compact { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "eyebrow copy actions"; padding-bottom: 12px; }
.chead--compact .eyebrow--room { margin-bottom: 0; }
.chead--compact .mpills { margin-top: 0; }
.cbody { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* stage + table */
.stage-wrap { flex: 1; min-height: 0; container-type: size; display: grid; place-items: center; padding: 6px 0 4px; }
.stage { position: relative; width: min(100cqw, calc(100cqh * 1.9)); aspect-ratio: 1.9; container-type: inline-size; container-name: stage; --seat: clamp(66px, 11.4cqw, 108px); }
.stage__arc { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.stage__arc--1 { width: 104%; height: 108%; border: 1px solid var(--orb-line); }
.stage__arc--2 { width: 80%; height: 76%; background: radial-gradient(ellipse at center, var(--active-soft) 0%, transparent 70%); }
[data-theme="dark"] .stage__arc--1 { border-color: transparent; background: radial-gradient(ellipse at 50% 100%, transparent 62%, rgba(84, 131, 179, .26) 63%, transparent 64.5%), radial-gradient(ellipse at 50% 0%, transparent 62%, rgba(217, 172, 114, .18) 63%, transparent 64.5%); }
.table { position: absolute; left: 50%; top: 50%; width: 58%; height: 54%; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; }
.table__rim { position: absolute; inset: 7% 5%; border-radius: 50%; border: 1px solid var(--line); pointer-events: none; }
[data-theme="dark"] .table__rim { border-color: rgba(193, 232, 255, .1); }
.table__center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8%; }
.table__center:has(.sstate) .table__mark { display: none; }
.table__mark { width: clamp(24px, 3.6cqw, 36px); height: clamp(24px, 3.6cqw, 36px); margin-bottom: 4px; }
.table__prime { font-size: clamp(20px, 3.6cqw, 34px); font-weight: 500; letter-spacing: .42em; margin-right: -.42em; line-height: 1.15; }
.table__sub { font-size: clamp(10px, 1.45cqw, 14px); font-weight: 500; letter-spacing: .34em; margin-right: -.34em; color: var(--ink-2); }
.table__tag { margin-top: 6px; font-size: clamp(11.5px, 1.6cqw, 15px); color: var(--ink-3); }
.status { margin-top: clamp(8px, 1.6cqw, 16px); display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 40px; }
.spill { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-strong); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-1); }
.spill--speaking { border-color: var(--active-line); color: var(--active-ink); background: var(--surface-solid); box-shadow: 0 0 0 4px var(--active-soft), var(--shadow-1); }
[data-theme="dark"] .spill { background: rgba(2, 16, 36, .55); }
[data-theme="dark"] .spill--speaking { background: rgba(217, 172, 114, .1); color: #F5E3C6; }
.spill--thinking { color: var(--active-ink); }
.ssub { font-size: 13px; color: var(--ink-3); }
.sstate { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px; }
.sstate__title { font-weight: 500; font-size: 15px; }
.sstate__text { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.sstate .btn { margin-top: 6px; }

.seats { position: absolute; inset: 0; pointer-events: none; }
.seat-pos { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: auto; }
.seat {
  position: relative; width: var(--seat); height: var(--seat); border-radius: 50%; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--seat-bg); border: 1px solid var(--line-2); color: var(--seat-ink);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge); transition: transform .35s var(--ease), box-shadow .3s, border-color .3s, opacity .3s;
}
[data-theme="dark"] .seat { border-color: rgba(125, 160, 202, .35); box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(193, 232, 255, .1); }
.seat:hover { transform: translateY(-2px); border-color: var(--active-line); }
.seat__logo { display: grid; place-items: center; height: calc(var(--seat) * .27); }
.seat__logo img { height: 100%; width: auto; }
.seat__logo .mono { font-size: calc(var(--seat) * .2); }
.seat__logo .mono[data-len="3"] { font-size: calc(var(--seat) * .155); }
.seat__name { font-size: max(11px, calc(var(--seat) * .125)); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.seat__role { font-size: max(9.5px, calc(var(--seat) * .095)); color: var(--ink-3); line-height: 1.15; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.seat__dot { position: absolute; right: 9%; bottom: 9%; width: max(10px, calc(var(--seat) * .11)); height: max(10px, calc(var(--seat) * .11)); border-radius: 50%; background: var(--off); box-shadow: 0 0 0 2px var(--surface-solid); }
[data-theme="dark"] .seat__dot { box-shadow: 0 0 0 2px #071C40; }
.seat.is-connected .seat__dot { background: var(--ok); }
.seat.is-speaking { border: 2px solid var(--active); box-shadow: 0 0 0 calc(var(--seat) * .06) var(--active-soft), 0 0 calc(var(--seat) * .4) var(--active-glow), var(--shadow-1); transform: scale(1.06); }
.seat.is-speaking .seat__dot { background: var(--active); }
.seat.is-thinking::after, .seat.is-connecting::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--active-line); animation: spin 6s linear infinite; }
.seat.is-connecting::after { border-style: solid; border-color: var(--line-2); border-top-color: var(--active); animation-duration: 1s; }
.seat.is-thinking .seat__dot { background: var(--active); animation: pulse 1.2s infinite; }
.seat.is-not-connected, .seat.is-unavailable { opacity: .58; box-shadow: none; }
.seat.is-unavailable .seat__dot { background: transparent; border: 2px solid var(--off); }
.seat.is-unavailable .seat__dot::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--off); transform: translateX(-50%) rotate(45deg); }
.seat.is-selected:not(.is-speaking) { border: 2px solid var(--active-line); }
@container stage (max-width: 700px) { .seat__role { display: none; } .table__tag { display: none; } }
@container stage (max-width: 560px) { .table__mark { display: none; } .ssub, .sstate__text { display: none; } }

/* mobile speaker view (hidden on larger screens) */
.mstage { display: none; }

/* screen sharing */
.share { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--frame); padding: 0 10px 10px; box-shadow: var(--shadow-2); }
.share__bar { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 6px; color: #F5F7FC; flex-wrap: nowrap; min-width: 0; }
.share__who { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; min-width: 0; }
.share__who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share__who .i { color: #9FC0EA; }
.share__speaker { margin-left: auto; }
.share__speaker .spill { height: 30px; padding: 0 12px; font-size: 12.5px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #E6EEF9; box-shadow: none; }
.share__speaker .spill--speaking { color: #FFFFFF; border-color: rgba(193, 232, 255, .45); }
[data-theme="dark"] .share__speaker .spill--speaking { color: #F5E3C6; border-color: rgba(217, 172, 114, .6); }
.share__speaker .sstate { flex-direction: row; max-width: none; gap: 8px; color: #E6EEF9; }
.share__speaker .sstate__title { font-size: 12.5px; }
.share__speaker .sstate .btn { margin: 0; }
.share__actions { display: flex; align-items: center; gap: 4px; }
.share__screen { flex: 1; min-height: 0; border-radius: 12px; background: #040E22; container-type: size; display: grid; place-items: center; overflow: hidden; position: relative; }
.share__fit { width: min(100cqw, calc(100cqh * 16 / 9)); aspect-ratio: 16 / 9; container-type: inline-size; }
.share-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #040E22; }
.share__screen:fullscreen { border-radius: 0; }

/* sample slide (shared content is not themed) */
.slide { width: 100%; height: 100%; display: grid; grid-template-columns: 15% 1fr; gap: 1.4cqw; padding: 1.4cqw; background: linear-gradient(150deg, #EFF5FD 0%, #E2ECF9 100%); color: #0B1F45; font-family: var(--font); }
.slide__thumbs { display: flex; flex-direction: column; gap: 1cqw; }
.slide__thumb { position: relative; flex: 1; border-radius: .8cqw; background: #FFFFFF; border: .15cqw solid #D3E0F2; padding: .8cqw .8cqw .8cqw 1.8cqw; display: flex; flex-direction: column; gap: .5cqw; justify-content: center; }
.slide__thumb b { position: absolute; left: .5cqw; top: .5cqw; font-size: .9cqw; color: #7A8CA8; font-weight: 500; }
.slide__thumb i { display: block; height: .5cqw; border-radius: 1cqw; background: #D7E3F4; }
.slide__thumb i + i { width: 60%; }
.slide__thumb.is-on { border-color: #2A62C9; box-shadow: 0 0 0 .2cqw rgba(42, 98, 201, .25); background: linear-gradient(140deg, #fff 0%, #DCE8FA 100%); }
.slide__main { position: relative; overflow: hidden; border-radius: 1.2cqw; background: linear-gradient(120deg, #FFFFFF 0%, #EAF2FD 55%, #CFE0F7 100%); padding: 4.5cqw 5cqw; display: flex; flex-direction: column; border: .15cqw solid #D3E0F2; }
.slide__orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .9), rgba(150, 190, 240, .55) 60%, rgba(84, 131, 179, .25)); }
.slide__orb--1 { width: 42cqw; height: 42cqw; right: -12cqw; top: -8cqw; }
.slide__orb--2 { width: 22cqw; height: 22cqw; right: 6cqw; bottom: -10cqw; opacity: .8; }
.slide__brand { position: relative; font-size: 1.3cqw; font-weight: 500; letter-spacing: .4em; }
.slide__kicker { position: relative; margin-top: 3cqw; font-size: 1.05cqw; letter-spacing: .3em; color: #566A8C; font-weight: 500; }
.slide__title { position: relative; margin-top: .8cqw; font-size: 4.4cqw; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.slide__sub { position: relative; margin-top: 1.4cqw; font-size: 1.5cqw; color: #32486E; max-width: 34ch; line-height: 1.45; }
.slide__cols { position: relative; margin-top: auto; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4cqw; }
.slide__cols div { display: flex; flex-direction: column; gap: .4cqw; }
.slide__ic { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #fff; border: .15cqw solid #D3E0F2; color: #052659; margin-bottom: .6cqw; }
.slide__ic .i { width: 55%; height: 55%; }
.slide__cols b { font-size: 1.4cqw; font-weight: 500; }
.slide__cols small { font-size: 1cqw; color: #566A8C; }

/* human tiles during sharing */
.tiles { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.tile { position: relative; flex: none; aspect-ratio: 16 / 10.5; border-radius: var(--r-md); overflow: hidden; background: var(--tile-bg); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.tile.is-speaking { border: 2px solid var(--active); box-shadow: 0 0 0 3px var(--active-soft), 0 0 18px var(--active-glow); }
.tile__media { position: absolute; inset: 0; display: grid; place-items: center; }
.tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.tile__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 8px 6px 10px; background: linear-gradient(transparent, rgba(4, 14, 34, .55)); color: #fff; }
.tile__name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tile__bar .mic { width: 26px; height: 26px; color: #fff; background: rgba(4, 14, 34, .35); border-radius: 50%; }
.tile__bar .mic.is-muted { color: #FFB4B4; }
.tile__hand { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.tile__hand .i { width: 15px; height: 15px; }
.room[data-mode="share"] .aside--humans { padding: 16px 12px; }

/* panels */
.panel { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.room[data-mode="share"] .panel { height: min(300px, 34vh); flex-direction: row; margin-top: 14px; }
.room[data-mode="share"] .panel[data-count="2"] .pane--discussion { flex: 1.5; }
.room[data-mode="share"] .panel .pane { flex: 1; min-width: 0; }
.panel__grab { display: none; }
.pane { border-radius: var(--r-lg); display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
.pane__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 18px 10px; }
.pane__title { font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.pane__sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.room[data-mode="share"] .pane__sub { display: none; }
.room[data-mode="share"] .pane__head { padding: 12px 14px 6px; }
.room[data-mode="share"] .pane--discussion { position: relative; }
.room[data-mode="share"] .pane--discussion .pane__head { position: absolute; top: 6px; right: 6px; padding: 0; z-index: 2; }
.room[data-mode="share"] .pane--discussion .pane__head > div { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.room[data-mode="share"] .ptabs { padding: 8px 48px 8px 10px; }
.room[data-mode="share"] .pane__foot { padding: 8px 12px 10px; gap: 6px; }
.room[data-mode="share"] .pane__foot .btn { --h: 32px; padding: 0 10px; font-size: 12.5px; }
.room[data-mode="share"] .pane__foot .link-btn { font-size: 12.5px; }
.ptabs { display: flex; gap: 4px; padding: 0 14px 8px; border-bottom: 1px solid var(--line); }
.ptab { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; border: 0; background: none; font-weight: 500; font-size: 13.5px; color: var(--ink-3); }
.ptab .i { width: 16px; height: 16px; }
.ptab:hover { color: var(--ink); background: var(--surface-strong); }
.ptab.is-active { color: var(--ink); background: var(--surface-strong); box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="dark"] .ptab.is-active { color: #F5E3C6; box-shadow: inset 0 0 0 1px rgba(217, 172, 114, .5); }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; outline: none; }
.msgs--static { padding: 0; overflow: visible; }
.msgs__note { align-self: center; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 2px 10px; border-radius: 999px; background: var(--surface-inset); }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg .ai-tile, .msg .pav { margin-top: 2px; }
.msg__body { flex: 1; min-width: 0; padding: 10px 12px; border-radius: var(--r); }
.msg--ai .msg__body { background: var(--surface-strong); border: 1px solid var(--line); }
[data-theme="dark"] .msg--ai .msg__body { background: rgba(5, 38, 89, .55); }
.msg--human .msg__body { padding: 4px 4px 4px 2px; }
.msg--me .msg__body { background: var(--active-soft); padding: 10px 12px; border: 1px solid transparent; }
.msg__head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 3px; }
.msg__head b { font-size: 13.5px; font-weight: 500; }
.msg__head time { margin-left: auto; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.msg p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.tlist { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.tlist li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; color: var(--ink-2); line-height: 1.5; }
.tlist time { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-top: 1px; }
.tlist .is-event span { color: var(--ink-3); font-style: italic; }
.composer { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.composer__input { width: 100%; resize: none; min-height: 44px; max-height: 120px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-solid); font-size: 14.5px; line-height: 1.45; color: var(--ink); }
[data-theme="dark"] .composer__input { background: rgba(2, 16, 36, .6); }
.composer__input::placeholder { color: var(--placeholder); }
.composer__input:focus { outline: none; border-color: var(--active); box-shadow: var(--focus); }
.composer__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.room[data-mode="share"] .composer__input { min-height: 40px; }
.room[data-mode="share"] .composer { flex-direction: row; align-items: flex-end; }
.room[data-mode="share"] .composer__row .link-btn { display: none; }
.pane__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 18px 14px; scrollbar-width: thin; }
.pane__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.ssec { border-top: 1px solid var(--line); padding: 12px 0; }
.ssec:first-child { border-top: 0; }
.ssec summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 500; font-size: 15px; }
.ssec summary::-webkit-details-marker { display: none; }
.ssec__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--active-soft); color: var(--active-ink); }
.ssec__icon .i { width: 16px; height: 16px; }
.ssec__title { flex: 1; }
.ssec:first-child .ssec__title, .ssec:nth-child(4) .ssec__title { color: var(--active-ink); }
.acc__chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform .25s var(--ease); }
details[open] > summary .acc__chev { transform: rotate(180deg); }
.ssec__desc { margin: 6px 0 8px 38px; font-size: 13px; color: var(--ink-3); }
.ssec .blist, .ssec__none { margin-left: 38px; }
.blist { display: flex; flex-direction: column; gap: 8px; }
.blist li { display: flex; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.blist .i { width: 16px; height: 16px; color: var(--active); margin-top: 3px; stroke-width: 2.2; }
.sumwrap .ssec { padding: 14px 0; }

/* views: projects & connections */
.views { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 16px; padding: 20px 2px 16px; }
.vcard { border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.vcard:first-child { grid-column: 1 / -1; }
.vcard--wide { grid-column: 1 / -1; }
.vcard--flat { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface-strong); }
.vcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vcard__head .muted { margin-top: 2px; }
.kv { display: grid; gap: 12px; margin: 0; }
.kv dt { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.kv dd { margin: 2px 0 0; font-size: 15px; }
.ctable { display: flex; flex-direction: column; }
.ctable__row { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 150px; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.ctable__row--head { border-top: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ctable__name { display: flex; align-items: center; gap: 10px; font-weight: 500; }

/* toolbar */
.toolbar-wrap { display: flex; justify-content: center; padding: 14px 20px max(16px, env(safe-area-inset-bottom)); position: relative; z-index: 10; }
.toolbar { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: var(--r-xl); background: var(--surface-strong); max-width: 100%; }
[data-theme="dark"] .toolbar { background: rgba(5, 25, 58, .78); border-color: rgba(217, 172, 114, .3); box-shadow: 0 0 0 1px rgba(217, 172, 114, .06), 0 16px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(240, 212, 168, .12); }
.toolbar__main { display: flex; align-items: center; gap: 6px; }
.toolbar__div { width: 1px; align-self: stretch; margin: 6px 6px; background: var(--line-2); }
.tb { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 76px; height: 60px; padding: 0 8px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: var(--ink); font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.tb__icon { position: relative; display: inline-grid; place-items: center; }
.tb__icon .i { width: 22px; height: 22px; }
.tb__label { font-size: 12px; white-space: nowrap; color: var(--ink-2); }
.tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave):hover:not(:disabled) { background: var(--surface-solid); border-color: var(--line-2); }
[data-theme="dark"] .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave):hover:not(:disabled) { background: rgba(10, 46, 102, .7); }
.tb.is-on:hover { filter: brightness(1.08); }
.tb:disabled { opacity: .42; cursor: not-allowed; }
.tb.is-on { background: var(--primary-grad); color: var(--on-primary); border-color: transparent; box-shadow: 0 6px 16px var(--primary-shadow); }
.tb.is-on .tb__label { color: var(--on-primary); }
.tb.is-alert .tb__icon { color: var(--danger); }
.tb.is-alert { background: var(--danger-soft); border-color: var(--danger-line); }
.tb.is-alert .tb__label { color: var(--danger); }
.tb__badge { position: absolute; top: -7px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 10.5px; font-weight: 500; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface-solid); }
[data-theme="dark"] .tb__badge { box-shadow: 0 0 0 2px #061A3A; }
.tb.is-on .tb__badge { background: var(--surface-solid); color: var(--primary); }
.tb.is-soft { background: var(--active-soft); border-color: var(--active-line); }
.tb.is-soft .tb__label, .tb.is-soft .tb__icon { color: var(--active-ink); }
.tb--leave { background: var(--leave-bg); color: var(--leave-ink); border-color: var(--leave-line); min-width: 112px; }
.tb--leave .tb__label { color: var(--leave-ink); }
.tb--leave:hover:not(:disabled) { background: var(--leave-hover); border-color: var(--leave-line); }
[data-theme="dark"] .tb--leave { box-shadow: 0 6px 18px rgba(217, 172, 114, .25); }
.show-mobile { display: none !important; }

/* connection lost */
.lost { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 20px; }
.lost__card { width: min(420px, 100%); text-align: center; padding: 36px 28px; border-radius: var(--r-xl); background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; align-items: center; gap: 10px; }
[data-theme="dark"] .lost__card { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
.lost__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--danger-soft); color: var(--danger); margin-bottom: 6px; }
.lost__icon .i { width: 26px; height: 26px; }
.lost h2 { font-size: 20px; font-weight: 500; }
.lost p { color: var(--ink-3); margin-bottom: 10px; }

/* preview dock */
.pv { position: fixed; left: 16px; bottom: 16px; z-index: 70; }
.pv__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--active-line); background: var(--surface-strong); color: var(--active-ink); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pv__btn .i { width: 17px; height: 17px; }
.pv-pop { left: 16px; bottom: 64px; width: 340px; }
.pv-pop--room { bottom: auto; }
.pv__head { display: flex; justify-content: space-between; align-items: center; }
.pv__head .pop__title { margin: 0; }
.pv__note { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }
.pv__note code { font-family: var(--mono); font-size: 11.5px; }
.pv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pv__st { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-strong); font-size: 12.5px; font-weight: 500; text-align: left; color: var(--ink); }
.pv__st:hover { border-color: var(--active-line); background: var(--active-soft); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =============================================================== responsive */
@media (min-width: 1280px) {
  .tb { flex-direction: row; min-width: 0; height: 46px; padding: 0 14px; gap: 8px; }
  .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave) { border-color: var(--line); background: var(--surface-solid); }
  [data-theme="dark"] .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave) { background: rgba(5, 38, 89, .45); border-color: rgba(125, 160, 202, .2); }
  .tb__icon { position: static; }
  .tb__icon .i { width: 19px; height: 19px; }
  .tb__label { font-size: 13.5px; color: var(--ink); }
  .tb__badge { top: -8px; right: -8px; }
  .tb--leave { min-width: 0; }
  .toolbar { gap: 8px; padding: 8px 10px; }
  .toolbar__main { gap: 8px; }
}
@media (max-width: 1440px) and (min-width: 1280px) {
  .tb { padding: 0 11px; }
  .room { --ai-w: 288px; --hu-w: 272px; --panel-w: 380px; }
}
@media (max-width: 1279px) {
  .chead__actions .btn span { display: none; }
  .chead__actions .btn { padding: 0 10px; }
  .chead__title { font-size: 26px; }
  .live__label { display: none; }
}

/* tablet: sidebars become rails that open as overlays */
@media (max-width: 1179px) {
  .room, .room[data-ai="open"], .room[data-humans="open"] { --ai-w: 72px; --hu-w: 72px; --panel-w: 360px; }
  .room[data-mode="share"] { --hu-w: 72px; }
  .room[data-ai="open"] .aside--ai { position: absolute; left: 20px; top: 16px; bottom: 0; width: 300px; z-index: 35; box-shadow: var(--shadow-pop); background: var(--surface-solid); }
  .room[data-humans="open"]:not([data-mode="share"]) .aside--humans { position: absolute; right: 20px; top: 16px; bottom: 0; width: 290px; z-index: 35; box-shadow: var(--shadow-pop); background: var(--surface-solid); }
  [data-theme="dark"] .room[data-ai="open"] .aside--ai, [data-theme="dark"] .room[data-humans="open"]:not([data-mode="share"]) .aside--humans { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
  .room[data-mode="share"] .aside--humans .tiles { gap: 8px; }
  .room[data-mode="share"] .aside--humans { padding: 12px 6px; }
  .room[data-mode="share"] .aside--humans .aside__head, .room[data-mode="share"] .aside--humans .btn { display: none; }
  .room[data-mode="share"] .tile { aspect-ratio: 1; border-radius: 50%; }
  .room[data-mode="share"] .tile__bar, .room[data-mode="share"] .tile .chip--onmedia { display: none; }
  .room[data-mode="share"] .tile .pav--lg { width: 40px; height: 40px; font-size: 14px; background: none; border: 0; }
  .room[data-overlay="on"] .aside-scrim { display: block; position: absolute; inset: 0; z-index: 30; background: var(--scrim); border-radius: 0; }
  .rtab { padding: 0 12px; font-size: 13.5px; }
  .rnav { grid-template-columns: auto 1fr auto; }
  .rtabs { justify-self: center; }
  .rbrand__text { display: none; }
  .share .chip--muted { display: none; }
  .room[data-mode="share"] .panel { height: min(240px, 30vh); }
  .chead__sub { display: none; }
}
@media (max-width: 1023px) {
  .rbrand__text { display: none; }
  .rnav { grid-template-columns: auto 1fr auto; }
  .rtabs { justify-self: center; }
  .views { grid-template-columns: 1fr; }
  .ctable__row { grid-template-columns: 1.3fr 1fr auto; }
  .ctable__row > :nth-child(2) { display: none; }
  .tb { min-width: 66px; }
  .tb__label { font-size: 11.5px; }
}

/* mobile */
@media (max-width: 719px) {
  .rnav { height: 60px; padding: 0 12px; gap: 8px; grid-template-columns: auto 1fr auto; }
  .rtabs { display: none; }
  .rbrand__text { display: flex; }
  .rbrand__text small { display: none; }
  .rbrand__text b { font-size: 13px; letter-spacing: .1em; }
  .rbrand__text b span { display: none; }
  .rnav .mark { width: 34px; height: 34px; }
  .chip--preview { display: none; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline-flex !important; }
  .live { height: 34px; padding: 0 10px; font-size: 12.5px; }
  .rnav::after { display: none; }
  .rbody, .room[data-mode="share"] .rbody, .room[data-mode="table"][data-panels="1"] .rbody, .room[data-mode="table"][data-panels="2"] .rbody { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "center"; padding: 12px 12px 0; gap: 0; }
  .aside { display: none !important; }
  .center { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 12px; }
  .chead, .chead--compact { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow actions" "copy copy"; row-gap: 8px; }
  .chead--compact .mpills { margin-top: 2px; }
  .share .chip--muted { display: none; }
  .chead__title { font-size: 24px; }
  .eyebrow--room { letter-spacing: .16em; font-size: 10.5px; }
  .chead__actions { justify-content: flex-end; }
  .chead__actions .btn span { display: inline; }
  .chead__actions .btn[data-action="r-details"], .chead__actions .btn[data-action="r-end"] { display: none; }
  .chead--compact .chead__copy { gap: 10px; }
  .chead--compact .chead__actions { display: none; }
  .stage-wrap { display: none; }
  .mstage { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
  .mstage__card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 16px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge); text-align: center; }
  .room[data-mode="share"] .mstage__card { padding: 12px; }
  .focus { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .focus .ai-tile--focus, .focus .pav--focus { margin-bottom: 8px; }
  .focus.is-speaking .ai-tile--focus, .focus.is-speaking .pav--focus { border: 2px solid var(--active); box-shadow: 0 0 0 7px var(--active-soft), 0 0 34px var(--active-glow); }
  .focus.is-thinking .ai-tile--focus { border: 2px dashed var(--active-line); }
  .focus__name { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
  .focus__role { font-size: 14px; color: var(--ink-3); }
  .focus__mark { width: 34px; height: 34px; margin-bottom: 6px; }
  .focus__prime { font-size: 26px; font-weight: 500; letter-spacing: .4em; margin-right: -.4em; }
  .focus__sub { font-size: 12px; letter-spacing: .3em; margin-right: -.3em; color: var(--ink-2); font-weight: 500; }
  .mstage__status .spill { white-space: normal; height: auto; min-height: 38px; padding: 8px 16px; text-align: left; }
  .mstrip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .mstrip::-webkit-scrollbar { display: none; }
  .mchip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 10px 4px 8px; border-radius: var(--r-md); background: var(--surface-strong); border: 1px solid var(--line); scroll-snap-align: start; flex: none; }
  .mchip .rail__dot { right: 18px; top: 32px; bottom: auto; width: 10px; height: 10px; }
  .mchip__name { font-size: 11.5px; font-weight: 500; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
  .mchip.is-speaking { border-color: var(--active); background: var(--active-soft); }
  .mchip.is-not-connected .ai-tile, .mchip.is-unavailable .ai-tile { opacity: .5; }
  .acc { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 4px 12px; }
  .acc[open] { padding-bottom: 12px; }
  .acc summary { display: flex; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; list-style: none; font-weight: 500; font-size: 15px; }
  .acc summary::-webkit-details-marker { display: none; }
  .acc summary > span:first-child { flex: 1; }
  .acc__lede { font-size: 14px; color: var(--ink-3); margin: -4px 0 10px; }
  .share { flex: none; padding: 0 6px 6px; }
  .share__bar { min-height: 0; padding: 8px 4px; gap: 8px; }
  .share__who { font-size: 13.5px; }
  .share__speaker { display: none; }
  .share__screen { flex: none; aspect-ratio: 16 / 10; }
  .share__actions { margin-left: auto; }
  .chip--live { height: 26px; font-size: 11.5px; }
  .views { grid-template-columns: 1fr; padding-top: 14px; }
  .ctable__row { grid-template-columns: 1fr auto; }
  .ctable__row > :nth-child(4) { grid-column: 1 / -1; }
  .ctable__row > :nth-child(4):empty { display: none; }
  .ctable__row--head { display: none; }

  /* panels become bottom sheets */
  .panel, .room[data-mode="share"] .panel { position: fixed; left: 0; right: 0; bottom: 0; height: min(78dvh, 640px); z-index: 50; margin: 0; flex-direction: column; padding: 8px 8px max(8px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--surface-solid); box-shadow: var(--shadow-pop); animation: sheetUp .4s var(--ease); }
  [data-theme="dark"] .panel { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
  .panel .pane { border: 0; box-shadow: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .panel__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 2px auto 0; flex: none; }
  body.has-sheet .msheet-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: var(--scrim); }
  .room[data-mode="share"] .pane__sub, .pane__sub { display: block; }

  .toolbar-wrap { padding: 8px 8px max(10px, env(safe-area-inset-bottom)); }
  .toolbar { width: 100%; justify-content: space-between; padding: 6px; gap: 2px; border-radius: 18px; }
  .toolbar__main { flex: 1; justify-content: space-around; gap: 2px; }
  .toolbar__div { margin: 6px 2px; }
  .tb { min-width: 0; width: 52px; height: 52px; padding: 0; flex: none; }
  .tb__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tb--leave { width: 52px; min-width: 0; }
  .tb__badge { top: -8px; right: -10px; }
  body.in-room .toasts { bottom: 86px; }
  .pv-pop { width: calc(100vw - 32px); }
  .pv { left: auto; right: 12px; bottom: 12px; }
  .pv__btn { width: 42px; height: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .pv__btn .i { width: 19px; height: 19px; }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: .4; } }

/* site pages: tablet and mobile */
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { order: -1; }
  .mini { max-width: 520px; margin: 0 auto; }
  .actions { grid-template-columns: 1fr; }
  .why, .team__panel { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fcard, .fcard:nth-child(4) { grid-column: auto; }
  .fcard:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .wr { grid-template-columns: 1fr; }
  .wr__preview { position: static; }
}
@media (max-width: 640px) {
  .site-header__in { grid-template-columns: auto 1fr auto; height: 64px; gap: 8px; }
  .brand__name { display: none; }
  .site-footer .brand__name { display: inline; }
  .site-nav { justify-self: center; padding: 3px; }
  .site-nav a { padding: 8px 11px; font-size: 13.5px; }
  .hero { padding: 36px 0 16px; }
  .hero__title { font-size: 38px; }
  .mini .mseat__name { display: none; }
  .section { margin-top: 64px; }
  .section__head .btn { width: 100%; }
  .mgrid { grid-template-columns: 1fr; }
  .mcard__foot { flex-direction: column; align-items: stretch; }
  .mcard__actions .btn { flex: 1; }
  .fgrid, .steps { grid-template-columns: 1fr; }
  .team__panel { padding: 28px 20px; }
  .team__list { grid-template-columns: repeat(2, 1fr); }
  .why__art { grid-template-columns: 1fr; justify-items: center; padding: 24px; }
  .why__arrow { transform: rotate(90deg); }
  .page { padding-top: 32px; }
  .phead .btn { width: 100%; }
  .phead__extra { width: 100%; }
  .fsec, .card-form { padding: 20px; }
  .fsec__row { flex-direction: column; }
  .fgrid2, .modes { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr 1fr; }
  .pick__box { gap: 8px; padding: 10px; }
  .pick__name { font-size: 14px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg__item span { width: 100%; justify-content: center; }
  .form__actions { flex-direction: column-reverse; align-items: stretch; }
  .form__actions .btn { width: 100%; }
  .info__row { grid-template-columns: 1fr; gap: 2px; }
  .confirm { padding: 32px 20px; }
  .confirm .btn-row .btn { width: 100%; }
  .cta { padding: 48px 20px; }
  .cta .btn { width: 100%; }
  .empty--inline { flex-direction: column; text-align: center; }
  .ov--drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; transform: translateY(24px); }
  .site-footer__nav { gap: 32px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================================================
   V2 — space-and-horizon look, PRIME logo, 3D table, motion and interaction layer
   (inspired by the Luminai reference: deep-space hero → luminous blue horizon → ice-white body)
   ===================================================================================================== */
@property --spk { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --sheen { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root, [data-theme="light"] {
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --signal: #2F6FE8; --signal-ink: #2457CF; --signal-grad: linear-gradient(180deg, #4C88FF 0%, #2457DF 100%);
  --bg: #F4F8FF;
  --page-bg: linear-gradient(180deg, #F4F8FF 0%, #EEF4FD 55%, #E6EEFA 100%);
  --active: #2F6FE8; --active-ink: #2052C4; --active-soft: rgba(47, 111, 232, .09); --active-line: rgba(47, 111, 232, .42); --active-glow: rgba(47, 111, 232, .22);
  --logo-dot: #2F6FE8; --logo-tag: currentColor;
  --em: #2457CF;
  --glow-fill: rgba(255, 255, 255, .6); --glow-line: rgba(47, 111, 232, .55); --edge-hi: rgba(255, 255, 255, .95); --edge-lo: rgba(84, 131, 179, .16);
  --halo: rgba(47, 111, 232, .16);
  --tbl-top: radial-gradient(ellipse at 50% 28%, #FFFFFF 0%, #F2F7FE 44%, #DCE8F8 100%);
  --tbl-line: rgba(255, 255, 255, .95); --tbl-line2: rgba(84, 131, 179, .16); --tbl-hi: #FFFFFF; --tbl-inset: rgba(84, 131, 179, .2);
  --tbl-spec: rgba(255, 255, 255, .95); --tbl-edge: linear-gradient(180deg, #CADAF0 0%, #98B1D6 100%); --tbl-shadow: rgba(11, 31, 69, .34);
  --tbl-sheen: rgba(255, 255, 255, .98); --rim-c: #2F6FE8;
  --seat-bg: radial-gradient(circle at 32% 24%, #FFFFFF 0%, rgba(255, 255, 255, .94) 42%, rgba(221, 233, 250, .96) 100%);
}
[data-theme="dark"] {
  --signal: #6FA8FF; --signal-ink: #9CC4FF; --signal-grad: linear-gradient(180deg, #F0D4A8 0%, #D9AC72 100%);
  --bg: #021024;
  --page-bg: linear-gradient(180deg, #021024 0%, #041838 65%, #062048 100%);
  --logo-dot: #D9AC72; --logo-tag: currentColor;
  --em: #E9C796;
  --glow-fill: rgba(84, 131, 179, .16); --glow-line: rgba(217, 172, 114, .6); --edge-hi: rgba(193, 232, 255, .22); --edge-lo: rgba(193, 232, 255, .04);
  --halo: rgba(31, 91, 255, .22);
  --tbl-top: radial-gradient(ellipse at 50% 32%, #113C80 0%, #082656 50%, #04173A 100%);
  --tbl-line: rgba(217, 172, 114, .55); --tbl-line2: rgba(193, 232, 255, .10); --tbl-hi: rgba(240, 212, 168, .28); --tbl-inset: rgba(0, 0, 0, .35);
  --tbl-spec: rgba(193, 232, 255, .22); --tbl-edge: linear-gradient(180deg, #071B40 0%, #020B20 100%); --tbl-shadow: rgba(0, 0, 0, .7);
  --tbl-sheen: rgba(240, 212, 168, .8); --rim-c: #E9C796;
  --seat-bg: radial-gradient(circle at 32% 24%, #17437F 0%, #0A2754 46%, #061936 100%);
}

/* type */
.h1, .h2, .hero2__title, .chead__title, .footer__statement, .act__title { font-weight: 500; }
.h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; line-height: 1.04; }
em, .h1 em, .h2 em { font-style: italic; font-weight: 500; color: var(--em); }
.logo { display: block; height: 28px; width: auto; overflow: visible; }
.logo__dot { fill: var(--logo-dot); }
.logo__sub { fill: currentColor; }
.logo__tag { fill: var(--logo-tag); opacity: .7; }
.mark { background: none !important; box-shadow: none !important; border: 0 !important; color: inherit; }
.mark .logo--symbol { height: 100%; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* split-word reveal */
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em .02em; margin: 0 -.04em -.14em 0; }
.is-split .w > span { display: inline-block; transform: translateY(108%); opacity: 0; transition: transform 1.05s var(--ease) calc(var(--i) * 65ms + 80ms), opacity .7s ease calc(var(--i) * 65ms + 80ms); }
.is-split.is-in .w > span { transform: none; opacity: 1; }
.is-split em .w > span { color: inherit; }
[data-reveal] { filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), filter .9s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { filter: none; }

/* buttons */
.btn--pill { border-radius: 999px; }
.btn--white { background: #FFFFFF; color: #052659; box-shadow: 0 8px 24px rgba(0, 10, 40, .28); }
.btn--white:hover { background: #F0F6FF; }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(193, 232, 255, .32); color: #F5F7FC; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(193, 232, 255, .55); }
.btn--primary, .btn--white, .prompt__send { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--white::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); pointer-events: none; z-index: 1; }
.btn--primary:hover::after, .btn--white:hover::after { left: 140%; }
.magnetic { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .55s var(--spring), background .2s, box-shadow .25s; }
.btn:active { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) + 1px)) scale(.98); }

/* cursor light on glass */
.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .act, .prompt, .empty:not(.empty--panel) { position: relative; isolation: isolate; }
:is(.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .act, .prompt, .empty:not(.empty--panel))::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(440px circle at var(--mx, -999px) var(--my, -999px), var(--glow-fill), transparent 45%); opacity: 0; transition: opacity .45s;
}
:is(.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .act, .prompt, .empty:not(.empty--panel)):hover::after { opacity: 1; }
:is(.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .prompt, .empty:not(.empty--panel))::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), var(--glow-line), transparent 62%), linear-gradient(160deg, var(--edge-hi), transparent 34%, transparent 70%, var(--edge-lo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ---------------------------------------------------------------- space bands */
.cosmos {
  position: relative; isolation: isolate; overflow: hidden; color: #F5F7FC;
  background: radial-gradient(130% 70% at 50% 112%, var(--bg) 0 40%, #9CC2FF 47%, #2F6FE8 52%, #0B2E86 60%, #031038 74%, #010820 100%);
}
[data-theme="dark"] .cosmos { background: radial-gradient(130% 70% at 50% 112%, var(--bg) 0 40%, #0B3A9E 48%, #1F5BFF 52%, #0B2E86 58%, #031038 72%, #010820 100%); }
.cosmos > .env { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; max-width: none; }
.cosmos::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26%; background: linear-gradient(to bottom, transparent, var(--bg) 92%); z-index: -1; pointer-events: none; }
.cosmos__in { position: relative; z-index: 1; }
.cosmos--band { padding: 136px 0 132px; }
.cosmos--form .cosmos__in { max-width: 880px; }
.cosmos--narrow .cosmos__in { max-width: 700px; }
.cosmos--short { height: 320px; }
.cosmos .phead { margin-bottom: 0; }
.cosmos .h1 { color: #FFFFFF; font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.045em; line-height: 1; text-shadow: 0 2px 30px rgba(5, 20, 70, .35); }
.cosmos .h1 em { color: #BFE0FF; }
.cosmos .phead__sub { color: #E6EFFC; font-size: 20px; }
.cosmos .phead__text { color: #A9BEDF; }
.cosmos .wr__meeting { display: inline-flex; gap: 6px; margin: 0; color: #E6EFFC; font-weight: 500; }
.cosmos .wr__meeting span { color: #A9BEDF; }
.page { padding-top: 40px; }
.page--overlap { margin-top: -190px; position: relative; z-index: 2; padding-top: 0; }
.site-main { min-height: 60vh; }

/* header over the space band */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .45s, border-color .45s, box-shadow .45s, color .3s; color: var(--ink); }
.site-header__in { height: 76px; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px -20px rgba(11, 31, 69, .35); }
.brand__logo { height: 30px; color: currentColor; }
.site-header.is-ondark:not(.is-scrolled) { color: #FFFFFF; --logo-dot: #9CD3FF; }
[data-theme="dark"] .site-header.is-ondark:not(.is-scrolled) { --logo-dot: #D9AC72; }
.site-nav { background: transparent; border-color: transparent; border-radius: 999px; }
.site-nav a { border-radius: 999px; }
.site-header.is-ondark:not(.is-scrolled) .site-nav a { color: rgba(255, 255, 255, .74); }
.site-header.is-ondark:not(.is-scrolled) .site-nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
.site-header.is-ondark:not(.is-scrolled) .site-nav a.is-active { color: #FFFFFF; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(193, 232, 255, .25); }
.site-header.is-scrolled .site-nav { background: var(--surface); border-color: var(--line); }
.site-header.is-ondark:not(.is-scrolled) .icon-btn { color: rgba(255, 255, 255, .85); }
.site-header.is-ondark:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .15); color: #fff; }
.site-header.is-scrolled .btn--glass { background: var(--surface-strong); color: var(--ink); border-color: var(--line-2); }
.site-header.is-scrolled .btn--white { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 6px 18px var(--primary-shadow); }
.site-header__end .btn { --h: 38px; padding: 0 16px; font-size: 14px; }
.kbd-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); font-size: 13px; }
.kbd-btn .i { width: 16px; height: 16px; }
.kbd-btn kbd, .tip kbd, .pal kbd { font-family: var(--font); font-size: 11px; font-weight: 500; line-height: 1; padding: 3px 6px; border-radius: 6px; background: var(--surface-inset); border: 1px solid var(--line-2); color: var(--ink-2); }
.site-header.is-ondark:not(.is-scrolled) .kbd-btn { background: rgba(255, 255, 255, .06); border-color: rgba(193, 232, 255, .22); color: rgba(255, 255, 255, .7); }
.site-header.is-ondark:not(.is-scrolled) .kbd-btn kbd { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }

/* homepage hero */
.cosmos--hero { min-height: max(900px, 100vh); padding: 150px 0 360px; text-align: center; }
.hero2 { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(193, 232, 255, .28); color: #E8F1FF; font-size: 13.5px; font-weight: 500; text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, border-color .3s; }
.badge:hover { background: rgba(255, 255, 255, .14); border-color: rgba(193, 232, 255, .5); }
.badge:hover .i { transform: translateX(2px); }
.badge .i { transition: transform .3s var(--ease); }
.badge__tag { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #FFFFFF; color: #052659; font-size: 11px; font-weight: 500; letter-spacing: .14em; }
.hero2__title { margin-top: 26px; font-size: clamp(48px, 7.4vw, 108px); line-height: .96; letter-spacing: -.05em; color: #FFFFFF; text-shadow: 0 2px 40px rgba(10, 30, 90, .4); }
.hero2__title em { color: #CFE6FF; font-weight: 480; }
[data-theme="dark"] .hero2__title em { color: #F0D4A8; }
.hero2__tag { margin-top: 24px; font-size: clamp(18px, 1.8vw, 22px); color: #E6EFFC; font-weight: 500; letter-spacing: -.01em; }
.hero2__text { margin-top: 10px; max-width: 54ch; color: #A9BEDF; font-size: 16px; line-height: 1.6; }
.cosmos--about .btn-row { margin-top: 30px; }

.prompt { margin-top: 36px; width: min(700px, 100%); text-align: left; border-radius: 22px; padding: 14px 14px 12px; color: var(--ink);
  background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 24px 70px -14px rgba(5, 20, 70, .6), 0 0 0 6px rgba(193, 232, 255, .10), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); transition: box-shadow .35s; }
[data-theme="dark"] .prompt { background: rgba(6, 24, 60, .62); border-color: rgba(193, 232, 255, .22); color: #F5F7FC; box-shadow: 0 24px 70px -14px rgba(0, 0, 0, .65), 0 0 0 6px rgba(31, 91, 255, .12), inset 0 1px 0 rgba(193, 232, 255, .12); }
.prompt:focus-within { box-shadow: 0 24px 70px -14px rgba(5, 20, 70, .6), 0 0 0 6px rgba(47, 111, 232, .28), inset 0 1px 0 #fff; }
.prompt textarea { display: block; width: 100%; border: 0; background: none; resize: none; font-size: 16.5px; line-height: 1.5; padding: 4px 6px 12px; color: inherit; min-height: 56px; outline: none; box-shadow: none; }
.prompt textarea::placeholder { color: #5E7194; }
[data-theme="dark"] .prompt textarea::placeholder { color: #8FA9CC; }
.prompt__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prompt__sp { flex: 1; }
.pchip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
[data-theme="dark"] .pchip { background: rgba(255, 255, 255, .06); color: #C7D5EA; border-color: rgba(193, 232, 255, .2); }
.pchip:hover { border-color: var(--active-line); color: var(--ink); }
.pchip .i { width: 16px; height: 16px; }
.pchip .ai-stack .ai-tile { width: 22px; height: 22px; }
.pchip--quiet { background: transparent; border-color: transparent; }
.prompt__send { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--signal-grad); color: #FFFFFF; box-shadow: 0 8px 22px rgba(36, 88, 224, .45), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .4s var(--spring), box-shadow .3s; }
[data-theme="dark"] .prompt__send { color: #1B1307; box-shadow: 0 8px 22px rgba(217, 172, 114, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
.prompt__send:hover { transform: translateX(2px) scale(1.07); }
.prompt__send .i { width: 19px; height: 19px; }
.prompt.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.pop-anim { animation: popAnim .45s var(--spring); }
@keyframes popAnim { 40% { transform: scale(.94); } }

.cursors { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cur { position: absolute; display: flex; align-items: flex-start; gap: 1px; color: #FFFFFF; filter: drop-shadow(0 6px 14px rgba(0, 10, 40, .45)); will-change: transform; }
.cur .i { width: 19px; height: 19px; color: #7FB3FF; }
.cur__tag { margin-top: 15px; display: inline-flex; flex-direction: column; padding: 5px 10px 6px; border-radius: 9px 9px 9px 3px; background: rgba(31, 91, 255, .72); border: 1px solid rgba(193, 232, 255, .45); font-size: 11px; line-height: 1.3; color: #EAF3FF; text-align: left; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cur__tag b { font-size: 12px; font-weight: 500; color: #FFFFFF; }
.cur__tag span { opacity: .8; }
.cur--1 { left: 13%; top: 30%; animation: drift1 17s ease-in-out infinite; }
.cur--2 { right: 11%; top: 44%; animation: drift2 21s ease-in-out infinite; }
.cur--2 .i { color: #C1E8FF; }
.cur--2 .cur__tag { background: rgba(84, 131, 179, .7); }
.cur--3 { left: 19%; top: 60%; animation: drift3 23s ease-in-out infinite; }
.cur--3 .i { color: #FFFFFF; }
.cur--3 .cur__tag { background: rgba(255, 255, 255, .92); color: #32486E; border-color: #FFFFFF; }
.cur--3 .cur__tag b { color: #052659; }
.cur--4 { right: 19%; top: 23%; animation: drift4 19s ease-in-out infinite; }
.cur--4 .i { color: #E9C796; }
.cur--4 .cur__tag { background: rgba(217, 172, 114, .82); color: #2A1C08; border-color: rgba(255, 236, 200, .6); }
.cur--4 .cur__tag b { color: #1B1307; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(46px, -20px); } 50% { transform: translate(18px, 30px); } 75% { transform: translate(-24px, 10px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-40px, 22px); } 60% { transform: translate(-12px, -26px); } 80% { transform: translate(18px, 6px); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(34px, 18px); } 65% { transform: translate(60px, -14px); } }
@keyframes drift4 { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-30px, 26px); } 70% { transform: translate(22px, 12px); } }
@media (max-width: 960px) { .cur--3, .cur--4 { display: none; } .cur--1 { left: 4%; top: 18%; } .cur--2 { right: 3%; top: 70%; } }

/* scene: the live table rising on the horizon */
.scene { position: relative; z-index: 3; margin-top: -330px; display: grid; place-items: center; padding: 0 20px; perspective: 1600px; }
.scene__tilt { width: min(1080px, 100%); container-type: inline-size; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1s var(--ease); transform-style: preserve-3d; }
.scene .stage { width: 100%; }
.strip { margin-top: 64px; text-align: center; }
.strip__cap { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.strip__list { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; }
.strip__list li { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: var(--ink-3); opacity: .55; transition: opacity .3s, color .3s, transform .4s var(--spring); letter-spacing: -.015em; }
.strip__list li:hover { opacity: 1; color: var(--ink); transform: translateY(-2px); }
.ai-tile--ghost { width: 30px; height: 30px; border-radius: 50%; background: transparent !important; border: 1.5px solid currentColor !important; color: inherit; box-shadow: none; }
.ai-tile--ghost .mono { font-size: 10.5px; } .ai-tile--ghost .mono[data-len="3"] { font-size: 8px; }
.actions2 { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.act { padding: 38px 34px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.act + .act { border-left: 1px solid var(--line-2); }
.act__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--signal-grad); color: #FFFFFF; box-shadow: 0 8px 18px rgba(36, 88, 224, .35); }
[data-theme="dark"] .act__icon { color: #1B1307; box-shadow: 0 8px 18px rgba(217, 172, 114, .3); }
.act__icon .i { width: 18px; height: 18px; }
.act__title { margin-top: 26px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.035em; line-height: 1.1; }
.act__text { margin: 10px 0 24px; color: var(--ink-3); font-size: 15.5px; max-width: 32ch; flex: 1; }
.section__head .h2 { margin-top: 2px; }
.upcoming { margin-top: 110px; }

/* footer */
.site-footer { margin-top: 140px; border-top: 1px solid var(--line); background: transparent; }
.footer__statement { padding-top: 80px; font-size: clamp(38px, 5.6vw, 84px); line-height: 1; letter-spacing: -.05em; color: var(--ink); max-width: 15ch; }
.site-footer__in { padding-top: 56px; }
.footer__logo { height: 46px; color: var(--ink); }

/* ---------------------------------------------------------------- the 3D table */
.stage { transition: --spk 1.15s cubic-bezier(.65, 0, .35, 1); --seat: clamp(66px, 11.2cqw, 108px); }
.stage--mini { --seat: clamp(50px, 9.4cqw, 96px); }
.stage__halo { position: absolute; left: 50%; top: 52%; width: 100%; height: 118%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse at center, var(--halo) 0%, transparent 62%); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(.96); } }
.tbl { position: absolute; left: 50%; top: 50%; width: 58%; height: 54%; transform: translate(-50%, -50%); }
.tbl__shadow { position: absolute; left: 3%; right: 3%; top: 36%; bottom: -24%; border-radius: 50%; background: radial-gradient(ellipse at center, var(--tbl-shadow), transparent 68%); filter: blur(12px); }
.tbl__edge { position: absolute; inset: 0; border-radius: 50%; transform: translateY(6.5%); background: var(--tbl-edge); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12); }
[data-theme="dark"] .tbl__edge { box-shadow: inset 0 -2px 0 rgba(217, 172, 114, .35); }
.tbl__top { position: absolute; inset: 0; border-radius: 50%; background: var(--tbl-top); border: 1px solid var(--tbl-line); box-shadow: inset 0 2px 0 var(--tbl-hi), inset 0 -22px 44px var(--tbl-inset); overflow: hidden; }
.tbl__top::before { content: ""; position: absolute; left: 16%; right: 16%; top: 3%; height: 44%; border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, var(--tbl-spec), transparent 70%); }
.tbl__inner { position: absolute; inset: 8% 6%; border-radius: 50%; border: 1px solid var(--tbl-line2); }
.tbl__sheen { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--sheen), transparent 0 68%, var(--tbl-sheen) 82%, transparent 95%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 1px)); animation: sheenSpin 11s linear infinite; opacity: .9; }
@keyframes sheenSpin { to { --sheen: 360deg; } }
.tbl__rim, .tbl__rimglow { position: absolute; border-radius: 50%; background: conic-gradient(from calc(var(--spk) - 52deg), transparent 0deg, var(--rim-c) 52deg, transparent 104deg, transparent 360deg); opacity: var(--rim-op); transition: opacity .7s ease; pointer-events: none; }
.tbl__rim { inset: 0; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 1px)); }
.tbl__rimglow { inset: -3%; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 26px), #000 calc(100% - 12px), transparent 100%); mask: radial-gradient(farthest-side, transparent calc(100% - 26px), #000 calc(100% - 12px), transparent 100%); filter: blur(10px); opacity: calc(var(--rim-op) * .8); }
.tbl__draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; pointer-events: none; }
.tbl__draw ellipse { fill: none; stroke: var(--rim-c); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.beam { fill: none; stroke: var(--rim-c); vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0; transition: opacity .6s ease; }
.beam--line { stroke-width: 2; stroke-dasharray: 2.5 6; animation: beamFlow 1s linear infinite; }
.beam--glow { stroke-width: 10; filter: blur(5px); }
.stage.has-beam .beam--line { opacity: .9; }
.stage.has-beam .beam--glow { opacity: .22; }
@keyframes beamFlow { to { stroke-dashoffset: -8.5; } }
.table__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 50%; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.table__center .btn, .table__center button, .table__center a { pointer-events: auto; }
.table__brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.table__logo { height: clamp(24px, 5cqw, 50px); color: var(--ink); }
.table__sub { font-size: clamp(9px, 1.25cqw, 12.5px); letter-spacing: .4em; margin-right: -.4em; font-weight: 500; color: var(--ink-2); }
.table__tag { margin-top: clamp(4px, .8cqw, 8px); font-size: clamp(11.5px, 1.5cqw, 15px); color: var(--ink-3); }
.stage--mini .status { margin-top: clamp(8px, 1.8cqw, 18px); }
.seats { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.seat-pos { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(calc(.8 + var(--d) * .32)); pointer-events: auto; }
.seat { background: var(--seat-bg); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 16px 28px -10px rgba(11, 31, 69, .32), inset 0 -8px 14px rgba(84, 131, 179, .16), 0 0 0 1px rgba(84, 131, 179, .14); transition: transform .5s var(--spring), box-shadow .5s, border-color .4s, opacity .5s, filter .5s; }
[data-theme="dark"] .seat { border-color: rgba(125, 160, 202, .38); box-shadow: 0 16px 30px -8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(193, 232, 255, .18), inset 0 -10px 18px rgba(0, 0, 0, .25); }
.seat:hover { transform: translateY(-3px) scale(1.04); }
.seat::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from var(--sheen), var(--active), transparent 32%, var(--active) 64%, transparent 90%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px)); opacity: 0; transition: opacity .5s; animation: sheenSpin 2.6s linear infinite; pointer-events: none; }
.seat.is-speaking { border-color: var(--active); transform: scale(1.1); box-shadow: 0 0 0 calc(var(--seat) * .06) var(--active-soft), 0 0 calc(var(--seat) * .5) var(--active-glow), 0 18px 30px -10px rgba(11, 31, 69, .35); }
.seat.is-speaking::before { opacity: 1; }
.seat.is-thinking { transform: translateY(-3px); }
.seat__fx { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.seat__fx i { display: none; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--active); box-shadow: 0 0 8px var(--active-glow); }
.seat.is-thinking .seat__fx i { display: block; animation: orbit 1.6s linear infinite; }
.seat.is-thinking .seat__fx i:nth-child(2) { animation-delay: -.53s; opacity: .75; }
.seat.is-thinking .seat__fx i:nth-child(3) { animation-delay: -1.06s; opacity: .5; }
@keyframes orbit { from { transform: rotate(0deg) translateX(calc(var(--seat) * .6)); } to { transform: rotate(360deg) translateX(calc(var(--seat) * .6)); } }
.seat.is-speaking .seat__fx::before, .seat.is-speaking .seat__fx::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--active); animation: ripple 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.seat.is-speaking .seat__fx::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
.seat.is-thinking::after, .seat.is-connecting::after { content: none; }
.seat.is-connecting::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--active); animation: spin 1s linear infinite; }
.seat.is-not-connected, .seat.is-unavailable { opacity: .5; filter: saturate(.4); box-shadow: none; }
.stage--mini .seat__dot, .stage--mini .seat__role { display: none; }
@container stage (max-width: 560px) { .stage--mini .seat__name { display: none; } .stage--mini .seat__logo { height: auto; } }

/* entrance choreography */
.stage.is-entering .tbl { animation: tblIn 1.2s var(--ease) both; }
@keyframes tblIn { from { opacity: 0; transform: translate(-50%, -44%) scale(.84); filter: blur(12px); } }
.stage.is-entering .tbl__draw { animation: drawFade 2.4s var(--ease) both; }
.stage.is-entering .tbl__draw ellipse { animation: drawLine 1.5s var(--ease) .2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes drawFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.stage.is-entering .seat-pos { animation: seatIn 1.05s var(--spring) both; animation-delay: calc(480ms + var(--i) * 65ms); }
@keyframes seatIn { from { transform: translate(calc(-50% + var(--fx)), calc(-50% + var(--fy))) scale(.15); opacity: 0; filter: blur(6px); } }
.stage.is-entering .table__center > * { animation: riseIn .9s var(--ease) both; animation-delay: 1.05s; }
.stage.is-entering .table__center > *:nth-child(2) { animation-delay: 1.2s; }
.stage.is-entering .table__center > *:nth-child(3) { animation-delay: 1.35s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
.stage.is-entering .stage__halo { animation: haloIn 1.6s var(--ease) both, breathe 7s ease-in-out 1.6s infinite; }
@keyframes haloIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }

/* status crossfade, streaming, typing */
.st-in { animation: stIn .55s var(--ease); }
@keyframes stIn { from { opacity: 0; transform: translateY(6px); filter: blur(5px); } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--active); border-radius: 2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.msg.is-new { animation: msgIn .6s var(--spring); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg--typing p { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13.5px; }
.msg--typing .dots { color: var(--active); }

/* tooltips, popovers, command menu */
.tip { position: fixed; z-index: 220; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: #0B1F45; color: #F5F7FC; font-size: 12.5px; font-weight: 500; box-shadow: 0 10px 28px rgba(0, 10, 40, .3); opacity: 0; transform: translateY(4px); }
.tip.is-below { transform: translateY(-4px); }
.tip.is-in { opacity: 1; transform: none; transition: opacity .16s ease, transform .3s var(--ease); }
.tip kbd { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #FFFFFF; }
[data-theme="dark"] .tip { background: #F5F7FC; color: #0B1F45; }
[data-theme="dark"] .tip kbd { background: rgba(11, 31, 69, .08); border-color: rgba(11, 31, 69, .15); color: #0B1F45; }
.pop { animation: popIn .32s var(--spring); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.pop--confirm { width: 310px; }
.pop__text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: -4px 0 14px; }
.pop__actions { display: flex; justify-content: flex-end; gap: 8px; }
.pop--pick { width: 320px; }
.hp-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp-pick__item { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-strong); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.hp-pick__item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hp-pick__check { margin-left: auto; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.hp-pick__check .i { width: 12px; height: 12px; stroke-width: 2.6; }
.hp-pick__item:has(input:checked) { border-color: var(--active); background: var(--active-soft); }
.hp-pick__item:has(input:checked) .hp-pick__check { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.hp-pick__item:has(input:focus-visible) { box-shadow: var(--focus); }
.pal-root { position: fixed; inset: 0; z-index: 180; display: grid; justify-items: center; align-items: start; padding-top: 14vh; }
.pal-backdrop { position: absolute; inset: 0; background: rgba(2, 10, 30, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.pal-root.is-open .pal-backdrop { opacity: 1; }
.pal { position: relative; width: min(620px, calc(100vw - 32px)); border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(2, 10, 40, .5); overflow: hidden; opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .2s, transform .4s var(--spring); }
[data-theme="dark"] .pal { background: linear-gradient(180deg, #072152 0%, #041836 100%); }
.pal-root.is-open .pal { opacity: 1; transform: none; }
.pal__in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.pal__in input { flex: 1; border: 0; outline: none; background: none; font-size: 17px; color: var(--ink); box-shadow: none; }
.pal__in input::placeholder { color: var(--placeholder); }
.pal__list { max-height: min(380px, 50vh); overflow: auto; padding: 8px; }
.pal__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.pal__item .i { color: var(--ink-3); width: 18px; height: 18px; }
.pal__item kbd { margin-left: auto; }
.pal__item.is-sel { background: var(--active-soft); color: var(--active-ink); }
.pal__item.is-sel .i { color: var(--active); }
.pal__empty { padding: 18px; color: var(--ink-3); text-align: center; font-size: 14px; }
.pal__foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.pal__foot span { display: inline-flex; align-items: center; gap: 4px; }

/* view transitions: the table morphs into the shared screen, panels glide, pages fade up */
.rnav { view-transition-name: rnav; }
.toolbar { view-transition-name: toolbar; }
#r-ai { view-transition-name: r-ai; }
#r-humans { view-transition-name: r-humans; }
#r-panel { view-transition-name: r-panel; }
.stage-wrap .stage, .share { view-transition-name: stage; }
.site-header { view-transition-name: site-header; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-new(r-panel) { animation: vtPanelIn .5s var(--ease) both; }
::view-transition-old(r-panel) { animation: vtPanelOut .3s ease both; }
@keyframes vtPanelIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes vtPanelOut { to { opacity: 0; transform: translateX(16px); } }

/* ---------------------------------------------------------------- meeting room in the new environment */
.env--room { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; max-width: none; }
.rnav { background: color-mix(in srgb, var(--bg) 42%, transparent); }
[data-theme="dark"] .rnav { background: rgba(2, 10, 30, .5); }
.rbrand { color: var(--ink); }
.rbrand__logo { height: 34px; color: var(--ink); }
.rbrand__mini { display: none; height: 24px; color: var(--ink); }
.rtab.is-active { background: var(--primary-grad); }
.chead__title em, .chead__title .accent { font-style: italic; font-weight: 500; }
.focus__logo { height: 34px; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 1179px) { .rbrand__logo { display: none; } .rbrand__mini { display: block; } }
@media (max-width: 719px) { .rbrand__mini { height: 22px; } }

/* responsive for the new site pieces */
@media (max-width: 960px) {
  .actions2 { grid-template-columns: 1fr; }
  .act + .act { border-left: 0; border-top: 1px solid var(--line-2); }
  .scene { margin-top: -280px; }
  .cosmos--hero { padding-bottom: 300px; }
}
@media (max-width: 720px) {
  .site-header__in { height: 64px; }
  .brand__logo { height: 24px; }
  .brand__logo .logo__sub { display: none; }
  .cosmos--hero { min-height: 0; padding: 112px 0 220px; }
  .cosmos--band { padding: 104px 0 96px; }
  .hero2__title { font-size: 46px; }
  .prompt { border-radius: 18px; }
  .scene { margin-top: -200px; padding: 0 8px; }
  .strip__list { gap: 12px 22px; }
  .strip__list li { font-size: 15px; }
  .footer__statement { padding-top: 56px; }
  .page--overlap { margin-top: -150px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-split .w > span { transform: none !important; opacity: 1 !important; }
  .cur { animation: none !important; }
  .stage.is-entering .tbl, .stage.is-entering .seat-pos, .stage.is-entering .table__center > * { animation: none !important; }
}
.site-header.is-ondark:not(.is-scrolled) .brand { color: #FFFFFF; }
.prompt { background: rgba(255, 255, 255, .93); }
.cur--4 { right: 7%; top: 19%; }
.cur--1 { left: 9%; top: 33%; }
.stage[data-n="lg"] { --seat: clamp(58px, 9.8cqw, 100px); }
.stage--mini[data-n="lg"] { --seat: clamp(46px, 8.6cqw, 90px); }
/* HTML lockup beside the wordmark: legible at nav sizes */
.brand, .rbrand { display: inline-flex; align-items: center; gap: 12px; }
.lockup { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-left: 12px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 28%, transparent); line-height: 1.1; white-space: nowrap; }
.lockup b { font-size: 13px; font-weight: 500; letter-spacing: .005em; }
.lockup span { font-size: 11px; font-weight: 450; opacity: .66; }
.brand__logo { height: 26px; }
.rbrand__logo { height: 28px; display: block; }
.rbrand__mini { display: none !important; }
@media (max-width: 1179px) { .rbrand .lockup { display: none; } .rbrand__logo { display: block; height: 24px; } }
@media (max-width: 720px) { .brand .lockup { display: none; } }
.stage[data-n="lg"] .seat__role { font-size: max(8.5px, calc(var(--seat) * .088)); letter-spacing: -.015em; max-width: 96%; }
/* v2 page ground: one flat ice field below the horizon (the old orbit arcs retire) */
body { background: var(--bg); }
body::before { display: none !important; }
.footer__statement { font-size: clamp(34px, 4.6vw, 66px); max-width: 17ch; }
.footer__logo { height: 40px; }
.mcard__tags { flex-wrap: nowrap; overflow: hidden; }
.mcard__tags > * { white-space: nowrap; flex-shrink: 0; }
.mcard__tags > *:first-child { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
[data-theme="light"] .env--room { opacity: .66; }
.mcard { min-width: 0; }
.mcard__top > .mcard__tags { flex: 1 1 auto; }
@media (max-width: 720px) { .cursors { display: none; } }
.footer__logo { height: 36px; }
.lockup--lg b { font-size: 15px; } .lockup--lg span { font-size: 12px; }
.site-footer .brand .lockup { display: flex; }
@container stage (max-width: 480px) { .table__sub, .table__tag { display: none; } .stage--mini .status { margin-top: 6px; } }

/* =====================================================================================================
   TYPE v3 — Instrument Sans (headlines, UI), Geist Mono (accent words, labels, codes, timer)
   ===================================================================================================== */
:root, [data-theme="light"], [data-theme="dark"] {
  --font: "Instrument Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
body { font-family: var(--font); font-feature-settings: "ss01", "cv11"; letter-spacing: -.003em; }
button, input, textarea, select { font-family: inherit; }

/* headlines: tighter, slightly narrower cut, medium weight */
.h1, .h2, .hero2__title, .chead__title, .footer__statement, .act__title, .mcard__title, .confirm__title, .card-form h2, .fsec__title, .pal__in input, .lb__head h1 {
  font-family: var(--font); font-stretch: 92%; font-weight: 500; letter-spacing: -.04em;
}
.hero2__title { font-weight: 500; letter-spacing: -.048em; line-height: .94; }
.mcard__title, .card-form h2, .fsec__title { letter-spacing: -.02em; font-stretch: 96%; }

/* accent words: Geist Mono, light, set tight — echoes the pixel dissolve in the logo (no serif) */
em, .h1 em, .h2 em, .hero2__title em, .chead__title em, .footer__statement em, .chead__title .accent, .act__title em {
  font-family: var(--mono); font-style: normal; font-weight: 400; font-stretch: 100%;
  letter-spacing: -.07em; word-spacing: -.32em; font-size: .9em; line-height: inherit; padding: 0;
}
.hero2__title em { letter-spacing: -.075em; }
p em, li em, .phead__text em { font-family: inherit; font-size: 1em; letter-spacing: inherit; word-spacing: normal; font-style: italic; }

/* labels, eyebrows, codes, counters: Geist Mono */
.eyebrow, .mcard__meta dt, .why__label, .fsec__kicker, .pop__label, .aside__title, .aside__label, .rail__label, .me-card__label,
.msgs__note, .ctable__row--head, .strip__cap, .table__sub, .badge__tag, .lb__eyebrow, .rbrand__text small {
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow, .fsec__kicker { font-size: 11.5px; }
.aside__title { font-size: 11.5px; letter-spacing: .14em; }
.table__sub { letter-spacing: .32em; margin-right: -.32em; font-weight: 500; }
.badge__tag { font-size: 10.5px; letter-spacing: .1em; }
#r-timer, .mono-text, .kbd-btn kbd, .tip kbd, .pal kbd, .count, .cur__tag span, .live__label { font-family: var(--mono); }
#r-timer { font-size: 14px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.kbd-btn kbd, .tip kbd, .pal kbd { font-weight: 500; font-size: 10.5px; }
.cur__tag span { font-size: 10px; letter-spacing: .02em; }
.seat__role { font-family: var(--mono); letter-spacing: -.01em; font-weight: 400; }
.lockup span { font-family: var(--mono); font-size: 10px; letter-spacing: .01em; }

/* body copy a touch larger and warmer with the new face */
.phead__sub, .hero2__tag { font-weight: 500; letter-spacing: -.012em; }
.hero2__text, .phead__text, .act__text { letter-spacing: 0; }
.btn, .tb__label, .rtab, .site-nav a, .pchip { font-weight: 500; letter-spacing: -.005em; }
.seat__role { font-family: var(--font); letter-spacing: -.005em; }
.live__label { font-family: var(--font); }
.h1, .h2, .chead__title, .footer__statement, .act__title { letter-spacing: -.034em; }
.hero2__title { letter-spacing: -.042em; }
.chead__title .accent { margin-right: .16em; }
/* hero title: a modest lead-in line, "AI Boardroom" carries the scale */
.hero2__title { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; color: #E9F1FF; }
.hero2__title br { display: none; }
.hero2__title em { display: block; margin-top: .12em; font-size: 2.25em; line-height: .95; letter-spacing: -.075em; color: #CFE6FF; }
@media (max-width: 720px) { .hero2__title { font-size: 24px; } .hero2__title em { font-size: 1.8em; } }

/* ---------------------------------------------------------------- gradient accent text */
:root, [data-theme="light"] {
  --grad-text: linear-gradient(100deg, #5B95FF 0%, #2F6FE8 28%, #1B3F9E 52%, #2F6FE8 76%, #7DB0FF 100%);
  --grad-text-sky: linear-gradient(100deg, #FFFFFF 0%, #D9EDFF 20%, #93C2FF 44%, #5B95FF 58%, #C9E4FF 80%, #FFFFFF 100%);
  --grad-glow: rgba(76, 136, 255, .45);
}
[data-theme="dark"] {
  --grad-text: linear-gradient(100deg, #FFF3DF 0%, #F0D4A8 26%, #D9AC72 50%, #F3DDB8 74%, #C1E8FF 100%);
  --grad-text-sky: linear-gradient(100deg, #FFFFFF 0%, #FFF0D8 20%, #F0D4A8 42%, #D9AC72 60%, #F6E2C2 82%, #FFFFFF 100%);
  --grad-glow: rgba(217, 172, 114, .35);
}
.hero2__title em, .h1 em, .h2 em, .chead__title .accent, .footer__statement em, .act__title em {
  background-image: var(--grad-text); background-size: 230% 100%; background-position: 0% 50%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none; animation: gradText 10s ease-in-out infinite alternate;
}
.cosmos .h1 em, .hero2__title em { background-image: var(--grad-text-sky); }
.w--em { padding-bottom: .1em; margin-bottom: -.1em; }
.hero2__title .w--em { display: block; }
.hero2__title .w--em > span { display: block; }
@keyframes gradText { to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero2__title em, .h1 em, .h2 em, .chead__title .accent, .footer__statement em, .act__title em { animation: none; } }

/* ---------------------------------------------------------------- futuristic ground below the bands */
.cosmos--band { padding-bottom: 176px; }
.cosmos--band::after { height: 16%; }
.page--overlap { margin-top: -220px; }
/* dot-matrix field with a faint perspective grid, fixed behind the content and fading toward the middle */
.site-main { position: relative; isolation: isolate; }
.site-main::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask: radial-gradient(130% 75% at 50% 110%, #000 0%, rgba(0,0,0,.55) 40%, transparent 72%), radial-gradient(60% 50% at 0% 40%, rgba(0,0,0,.6), transparent 70%);
  mask: radial-gradient(130% 75% at 50% 110%, #000 0%, rgba(0,0,0,.55) 40%, transparent 72%), radial-gradient(60% 50% at 0% 40%, rgba(0,0,0,.6), transparent 70%);
}
.site-main::after {
  content: ""; position: fixed; left: -10%; right: -10%; bottom: -2%; height: 46vh; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--gridline) 1px, transparent 1px), linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center bottom;
  transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(to top, #000 0%, rgba(0,0,0,.4) 45%, transparent 90%); mask: linear-gradient(to top, #000 0%, rgba(0,0,0,.4) 45%, transparent 90%);
  animation: floorRun 6s linear infinite;
}
@keyframes floorRun { to { background-position: center calc(100% + 64px); } }
:root, [data-theme="light"] { --dot: rgba(47, 111, 232, .16); --gridline: rgba(47, 111, 232, .10); }
[data-theme="dark"] { --dot: rgba(125, 160, 202, .16); --gridline: rgba(111, 168, 255, .10); }
@media (prefers-reduced-motion: reduce) { .site-main::after { animation: none; } }

/* ---------------------------------------------------------------- text fixes: no clipped glyphs, cleaner line breaks */
/* word reveal without overflow masks: words rise, fade and un-blur, so ascenders, descenders and overhangs are never cut */
.is-split .w { display: inline-block; overflow: visible; padding: 0; margin: 0; vertical-align: baseline; }
.is-split .w > span { display: inline-block; transform: translateY(.32em); opacity: 0; filter: blur(8px);
  transition: transform 1s var(--ease) calc(var(--i) * 60ms + 80ms), opacity .8s ease calc(var(--i) * 60ms + 80ms), filter .9s ease calc(var(--i) * 60ms + 80ms); }
.is-split.is-in .w > span { transform: none; opacity: 1; filter: none; }

/* gradient accents: give the painted background room around every glyph (tracking, ascenders, descenders) */
.hero2__title em, .h1 em, .h2 em, .chead__title .accent, .footer__statement em, .act__title em {
  padding: .08em .14em .14em .04em; margin: -.08em -.14em -.14em -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero2__title em { display: inline-block; line-height: 1.12; margin-top: .02em; }
.hero2__title .w--em { display: block; }
.hero2__title .w--em > span { display: inline-block; }
.chead__title .accent { margin-right: .02em; }

/* balanced headline wrapping, no orphans in copy */
.h1, .h2, .hero2__title, .chead__title, .footer__statement, .act__title, .mcard__title, .phead__sub, .hero2__tag, .section__head .h2 { text-wrap: balance; }
p, .phead__text, .hero2__text, .act__text, .msg p { text-wrap: pretty; }
.footer__statement { max-width: 22ch; }
.h1, .h2, .chead__title, .act__title { line-height: 1.06; }
.footer__statement { line-height: 1.04; }
@media (prefers-reduced-motion: reduce) { .is-split .w > span { filter: none !important; } }
.eyebrow--room { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.footer__statement br { display: block; }
@media (max-width: 560px) { .footer__statement br { display: none; } }
@media (max-width: 1366px) { .eyebrow--room { letter-spacing: .06em; font-size: 11px; } }
/* accents on the navy call-to-action panel use the bright sky gradient */
.cta em, .cta .h2 em { background-image: var(--grad-text-sky); }

/* =====================================================================================================
   v4 — SmartHuddle: new logo and a cleaner interface
   (solid cards with hairlines, no cursor-glow edges, quieter chrome, fewer labels, calmer page ground)
   ===================================================================================================== */
:root, [data-theme="light"] {
  --card: #FFFFFF; --card-line: rgba(11, 31, 69, .075);
  --shadow-1: 0 1px 2px rgba(11, 31, 69, .04), 0 12px 32px -20px rgba(11, 31, 69, .22);
  --shadow-2: 0 2px 4px rgba(11, 31, 69, .05), 0 22px 44px -22px rgba(11, 31, 69, .30);
  --logo-dot: #2F6FE8; --panel: rgba(255, 255, 255, .86);
}
[data-theme="dark"] {
  --card: #061A3D; --card-line: rgba(193, 232, 255, .09);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -22px rgba(0, 0, 0, .7);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -22px rgba(0, 0, 0, .8);
  --logo-dot: #D9AC72; --panel: rgba(4, 22, 52, .82);
}

/* logo */
.logo__dot { fill: var(--logo-dot); }
.logo__tld { opacity: .5; }
.brand__logo { height: 26px; }
.footer__logo { height: 34px; }
.rbrand__logo { height: 26px; }
.table__logo { height: clamp(16px, 3.1cqw, 32px); color: var(--ink); }
.stage--mini .table__logo { height: clamp(14px, 2.8cqw, 28px); }
.focus__logo { height: 24px; color: var(--ink); }
.site-header.is-ondark:not(.is-scrolled) { --logo-dot: #8EC1FF; }
[data-theme="dark"] .site-header.is-ondark:not(.is-scrolled) { --logo-dot: #E9C796; }
@media (max-width: 720px) { .brand__logo { height: 22px; } .brand__logo .logo__tld { display: none; } }

/* calmer page ground: the dot field and the fixed floor grid are gone; the space bands keep the scene */
.site-main::before, .site-main::after { content: none !important; display: none !important; }

/* header: no outline or shadow once scrolled; command menu is a plain icon */
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: none; }
.site-header.is-scrolled .site-nav { background: transparent; border-color: transparent; }
.site-header .site-nav a.is-active { box-shadow: none; }

/* hero: one lede paragraph (lead sentence bright, the rest muted) instead of a stack of shrinking lines */
.hero2__lede { margin: 22px auto 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: #A9BEDF; text-wrap: pretty; }
.hero2__lede b { color: #F1F6FF; font-weight: 500; }
.cursors { display: none !important; }

/* prompt bar: solid, quiet chips */
.prompt { background: #FFFFFF; border-color: transparent; box-shadow: 0 24px 60px -18px rgba(2, 10, 40, .55); }
[data-theme="dark"] .prompt { background: #071D45; border-color: rgba(193, 232, 255, .1); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6); }
.pchip { border-color: transparent; background: var(--surface-inset); }
[data-theme="dark"] .pchip { background: rgba(255, 255, 255, .06); border-color: transparent; }

/* cards: solid with a hairline, no glass, no cursor glow or edge light */
.mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .why__art, .wr__preview, .team__panel, .cta-card, .acard {
  background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.mcard, .fcard, .step, .vcard { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mcard:hover, .fcard:hover, .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
:is(.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .act, .prompt, .empty)::before,
:is(.acard, .mcard, .fcard, .step, .fsec, .card-form, .confirm, .vcard, .pane, .toolbar, .team__panel, .why__art, .wr__preview, .act, .prompt, .empty)::after { content: none !important; }
.mcard__tags .tag { background: var(--surface-inset); border-color: transparent; }
.sample-note { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.sample-note .i { width: 14px; height: 14px; }
.act__icon { background: var(--surface-inset); color: var(--signal); box-shadow: none; }
[data-theme="dark"] .act__icon { background: rgba(255, 255, 255, .06); color: #E9C796; box-shadow: none; }

/* preview button: a small chip in the corner, out of the hero */
.pv__btn { height: 32px; padding: 0 12px; font-size: 12.5px; box-shadow: var(--shadow-1); }

/* ---------------------------------------------------------------- meeting room: fewer lines and labels */
.aside, .pane { background: var(--panel); border: 1px solid var(--card-line); box-shadow: var(--shadow-1); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.toolbar { background: var(--panel); border: 1px solid var(--card-line); box-shadow: var(--shadow-1); }
.aside__lede { font-size: 15px; line-height: 1.35; letter-spacing: -.015em; }
.me-card { background: var(--surface-inset); border-color: transparent; }
[data-theme="dark"] .me-card { background: rgba(255, 255, 255, .04); }
.prow, .airow { border-color: transparent; }
/* "Connected" is the normal state, so it shows as the green dot alone; other states keep their words */
.ast--connected > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* seats show name and monogram only; roles stay in the AI list */
.seat__role { display: none !important; }
/* toolbar: one bar, borderless buttons, only pressed states are filled */
.toolbar .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave) { border-color: transparent; background: transparent; }
[data-theme] .toolbar .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave) { border-color: transparent; background: transparent; }
.toolbar .tb:not(.is-on):not(.is-alert):not(.is-soft):not(.tb--leave):hover:not(:disabled) { background: var(--surface-inset); border-color: transparent; }
.tb.is-soft { border-color: transparent; }
.tb.is-alert { border-color: transparent; }
/* room header: quiet text buttons, the live pill without a box */
.chead__actions .btn--quiet { border-color: transparent; background: transparent; }
.chead__actions .btn--quiet:hover { background: var(--surface-inset); }
.live { border-color: transparent; background: transparent; padding: 0 8px; }
.rnav { border-bottom: 0; box-shadow: none; }
.table__tag { opacity: .85; }
.rbrand__logo { height: 24px; }
.footer__logo { height: 32px; }
/* accent words: same sans as the headline, set apart by the gradient alone (cleaner than a second face) */
em, .h1 em, .h2 em, .hero2__title em, .chead__title em, .footer__statement em, .chead__title .accent, .act__title em {
  font-family: var(--font); font-weight: 500; font-size: 1em; letter-spacing: -.035em; word-spacing: normal; font-stretch: 92%;
}
.hero2__title em { font-size: 2.25em; letter-spacing: -.05em; font-weight: 500; }
@media (max-width: 720px) { .hero2__title em { font-size: 1.9em; } }
.chead__title .accent { margin-right: -.02em; }
.brand { flex: none; }
.brand__mark { display: none; height: 26px; width: 26px; color: currentColor; }
@media (max-width: 560px) { .brand__logo { display: none; } .brand__mark { display: block; } }
@container stage (max-width: 480px) { .stage--mini .status .spill { font-size: 11px; padding: 5px 10px; gap: 6px; } }

/* the product name in display headlines is the wordmark itself, filled with the drifting gradient (matches the logo) */
:root { --wordmark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-30.0 -766.0 6779.3 816.0%22%3E%3Cg fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%2224%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M217.0 10.0Q177.0 10.0 141.5 -0.5Q106.0 -11.0 76.0 -30.5Q46.0 -50.0 24.0 -77.0L82.0 -135.0Q108.0 -103.0 142.0 -87.5Q176.0 -72.0 218.0 -72.0Q260.0 -72.0 283.0 -86.5Q306.0 -101.0 306.0 -127.0Q306.0 -153.0 287.5 -167.5Q269.0 -182.0 240.0 -191.5Q211.0 -201.0 178.5 -210.5Q146.0 -220.0 117.0 -235.0Q88.0 -250.0 69.5 -276.0Q51.0 -302.0 51.0 -345.0Q51.0 -388.0 72.0 -419.5Q93.0 -451.0 130.5 -468.0Q168.0 -485.0 221.0 -485.0Q277.0 -485.0 320.5 -465.5Q364.0 -446.0 392.0 -407.0L334.0 -349.0Q314.0 -375.0 284.5 -389.0Q255.0 -403.0 218.0 -403.0Q179.0 -403.0 158.5 -389.5Q138.0 -376.0 138.0 -352.0Q138.0 -328.0 156.0 -315.0Q174.0 -302.0 203.5 -293.0Q233.0 -284.0 265.0 -274.5Q297.0 -265.0 326.0 -249.0Q355.0 -233.0 373.5 -206.0Q392.0 -179.0 392.0 -135.0Q392.0 -68.0 344.5 -29.0Q297.0 10.0 217.0 10.0Z%22/%3E%3Cpath d=%22M487.0 0.0V-475.0H577.0V0.0ZM808.0 0.0V-287.0Q808.0 -340.0 775.5 -370.5Q743.0 -401.0 694.0 -401.0Q661.0 -401.0 635.0 -387.0Q609.0 -373.0 593.0 -348.0Q577.0 -323.0 577.0 -288.0L540.0 -306.0Q540.0 -360.0 563.5 -400.0Q587.0 -440.0 628.0 -462.5Q669.0 -485.0 720.0 -485.0Q770.0 -485.0 810.5 -463.0Q851.0 -441.0 874.5 -401.0Q898.0 -361.0 898.0 -306.0V0.0ZM1129.0 0.0V-287.0Q1129.0 -340.0 1096.5 -370.5Q1064.0 -401.0 1016.0 -401.0Q983.0 -401.0 956.5 -387.0Q930.0 -373.0 914.0 -348.0Q898.0 -323.0 898.0 -288.0L847.0 -306.0Q850.0 -361.0 876.5 -400.5Q903.0 -440.0 945.0 -462.5Q987.0 -485.0 1037.0 -485.0Q1089.0 -485.0 1130.0 -463.0Q1171.0 -441.0 1195.5 -401.0Q1220.0 -361.0 1220.0 -305.0V0.0Z%22/%3E%3Cpath d=%22M1538.0 10.0Q1473.0 10.0 1420.0 -22.5Q1367.0 -55.0 1336.5 -111.0Q1306.0 -167.0 1306.0 -237.0Q1306.0 -307.0 1336.5 -363.0Q1367.0 -419.0 1419.5 -452.0Q1472.0 -485.0 1538.0 -485.0Q1592.0 -485.0 1634.5 -462.5Q1677.0 -440.0 1703.0 -400.5Q1729.0 -361.0 1732.0 -309.0V-166.0Q1729.0 -115.0 1703.5 -75.0Q1678.0 -35.0 1635.5 -12.5Q1593.0 10.0 1538.0 10.0ZM1553.0 -75.0Q1620.0 -75.0 1661.0 -120.5Q1702.0 -166.0 1702.0 -237.0Q1702.0 -286.0 1683.5 -322.5Q1665.0 -359.0 1631.0 -379.5Q1597.0 -400.0 1552.0 -400.0Q1507.0 -400.0 1472.5 -379.0Q1438.0 -358.0 1418.5 -321.5Q1399.0 -285.0 1399.0 -238.0Q1399.0 -190.0 1418.5 -153.5Q1438.0 -117.0 1473.0 -96.0Q1508.0 -75.0 1553.0 -75.0ZM1696.0 0.0V-128.0L1713.0 -244.0L1696.0 -359.0V-475.0H1787.0V0.0Z%22/%3E%3Cpath d=%22M1912.0 0.0V-475.0H2002.0V0.0ZM2002.0 -271.0 1968.0 -286.0Q1968.0 -377.0 2010.0 -431.0Q2052.0 -485.0 2131.0 -485.0Q2167.0 -485.0 2196.0 -472.5Q2225.0 -460.0 2250.0 -431.0L2191.0 -370.0Q2176.0 -386.0 2158.0 -393.0Q2140.0 -400.0 2116.0 -400.0Q2066.0 -400.0 2034.0 -368.0Q2002.0 -336.0 2002.0 -271.0Z%22/%3E%3Cpath d=%22M2379.0 0.0V-674.0H2469.0V0.0ZM2262.0 -393.0V-475.0H2586.0V-393.0Z%22/%3E%3Cpath d=%22M4165.3225 0.0V-277.0Q4165.3225 -331.0 4131.3225 -366.0Q4097.3225 -401.0 4043.3225 -401.0Q4007.3225 -401.0 3979.3225 -385.0Q3951.3225 -369.0 3935.3225 -341.0Q3919.3225 -313.0 3919.3225 -277.0L3882.3225 -298.0Q3882.3225 -352.0 3906.3225 -394.0Q3930.3225 -436.0 3973.3225 -460.5Q4016.3225 -485.0 4070.3225 -485.0Q4124.3225 -485.0 4165.8225 -461.0Q4207.3225 -437.0 4231.3225 -394.0Q4255.3225 -351.0 4255.3225 -295.0V0.0ZM3829.3225 0.0V-714.0H3919.3225V0.0Z%22/%3E%3Cpath d=%22M4563.3225 10.0Q4504.3225 10.0 4457.8225 -16.5Q4411.3225 -43.0 4385.3225 -90.0Q4359.3225 -137.0 4359.3225 -199.0V-475.0H4449.3225V-203.0Q4449.3225 -164.0 4462.8225 -135.5Q4476.3225 -107.0 4502.3225 -92.0Q4528.3225 -77.0 4563.3225 -77.0Q4616.3225 -77.0 4646.3225 -110.5Q4676.3225 -144.0 4676.3225 -203.0V-475.0H4766.3225V-199.0Q4766.3225 -137.0 4740.3225 -90.0Q4714.3225 -43.0 4668.8225 -16.5Q4623.3225 10.0 4563.3225 10.0Z%22/%3E%3Cpath d=%22M5082.3225 10.0Q5016.3225 10.0 4964.3225 -22.5Q4912.3225 -55.0 4881.8225 -111.0Q4851.3225 -167.0 4851.3225 -237.0Q4851.3225 -307.0 4881.8225 -363.0Q4912.3225 -419.0 4964.3225 -452.0Q5016.3225 -485.0 5082.3225 -485.0Q5135.3225 -485.0 5178.3225 -462.5Q5221.3225 -440.0 5247.8225 -400.5Q5274.3225 -361.0 5277.3225 -309.0V-166.0Q5274.3225 -115.0 5248.3225 -75.0Q5222.3225 -35.0 5179.3225 -12.5Q5136.3225 10.0 5082.3225 10.0ZM5097.3225 -75.0Q5142.3225 -75.0 5175.8225 -96.0Q5209.3225 -117.0 5228.3225 -153.5Q5247.3225 -190.0 5247.3225 -237.0Q5247.3225 -286.0 5227.8225 -322.0Q5208.3225 -358.0 5174.8225 -379.0Q5141.3225 -400.0 5096.3225 -400.0Q5051.3225 -400.0 5017.3225 -379.0Q4983.3225 -358.0 4963.8225 -321.5Q4944.3225 -285.0 4944.3225 -238.0Q4944.3225 -190.0 4963.8225 -153.5Q4983.3225 -117.0 5017.8225 -96.0Q5052.3225 -75.0 5097.3225 -75.0ZM5332.3225 0.0H5241.3225V-128.0L5258.3225 -244.0L5241.3225 -359.0V-714.0H5332.3225Z%22/%3E%3Cpath d=%22M5658.3225 10.0Q5592.3225 10.0 5540.3225 -22.5Q5488.3225 -55.0 5457.8225 -111.0Q5427.3225 -167.0 5427.3225 -237.0Q5427.3225 -307.0 5457.8225 -363.0Q5488.3225 -419.0 5540.3225 -452.0Q5592.3225 -485.0 5658.3225 -485.0Q5711.3225 -485.0 5754.3225 -462.5Q5797.3225 -440.0 5823.8225 -400.5Q5850.3225 -361.0 5853.3225 -309.0V-166.0Q5850.3225 -115.0 5824.3225 -75.0Q5798.3225 -35.0 5755.3225 -12.5Q5712.3225 10.0 5658.3225 10.0ZM5673.3225 -75.0Q5718.3225 -75.0 5751.8225 -96.0Q5785.3225 -117.0 5804.3225 -153.5Q5823.3225 -190.0 5823.3225 -237.0Q5823.3225 -286.0 5803.8225 -322.0Q5784.3225 -358.0 5750.8225 -379.0Q5717.3225 -400.0 5672.3225 -400.0Q5627.3225 -400.0 5593.3225 -379.0Q5559.3225 -358.0 5539.8225 -321.5Q5520.3225 -285.0 5520.3225 -238.0Q5520.3225 -190.0 5539.8225 -153.5Q5559.3225 -117.0 5593.8225 -96.0Q5628.3225 -75.0 5673.3225 -75.0ZM5908.3225 0.0H5817.3225V-128.0L5834.3225 -244.0L5817.3225 -359.0V-714.0H5908.3225Z%22/%3E%3Cpath d=%22M6033.3225 0.0V-714.0H6123.3225V0.0Z%22/%3E%3Cpath d=%22M6469.3225 10.0Q6398.3225 10.0 6341.3225 -22.5Q6284.3225 -55.0 6251.3225 -111.0Q6218.3225 -167.0 6218.3225 -238.0Q6218.3225 -308.0 6250.8225 -364.0Q6283.3225 -420.0 6338.8225 -452.5Q6394.3225 -485.0 6463.3225 -485.0Q6529.3225 -485.0 6579.8225 -455.0Q6630.3225 -425.0 6658.8225 -372.0Q6687.3225 -319.0 6687.3225 -252.0Q6687.3225 -242.0 6686.3225 -230.5Q6685.3225 -219.0 6682.3225 -204.0H6281.3225V-279.0H6634.3225L6601.3225 -250.0Q6601.3225 -298.0 6584.3225 -331.5Q6567.3225 -365.0 6536.3225 -383.5Q6505.3225 -402.0 6461.3225 -402.0Q6415.3225 -402.0 6380.3225 -382.0Q6345.3225 -362.0 6326.3225 -326.0Q6307.3225 -290.0 6307.3225 -241.0Q6307.3225 -191.0 6327.3225 -153.5Q6347.3225 -116.0 6384.3225 -95.5Q6421.3225 -75.0 6469.3225 -75.0Q6509.3225 -75.0 6542.8225 -89.0Q6576.3225 -103.0 6600.3225 -131.0L6658.3225 -72.0Q6624.3225 -32.0 6574.8225 -11.0Q6525.3225 10.0 6469.3225 10.0Z%22/%3E%3C/g%3E%3Cg transform=%22translate(3185.7 -247.5) rotate(-16)%22%3E%3Cmask id=%22hm%22 maskUnits=%22userSpaceOnUse%22 x=%22-1061%22 y=%22-1061%22 width=%222121%22 height=%222121%22%3E%3Crect x=%22-1061%22 y=%22-1061%22 width=%222121%22 height=%222121%22 fill=%22%23fff%22/%3E%3Cpath d=%22M482.1 0.0 L481.7 5.5 L480.3 11.0 L478.0 16.5 L474.8 22.0 L470.7 27.4 L465.7 32.8 L459.8 38.1 L453.0 43.3 L445.4 48.5 L437.0 53.6 L427.7 58.5 L417.5 63.4 L406.6 68.1 L394.9 72.7 L382.5 77.1 L369.3 81.5 L355.5 85.6 L340.9 89.6 L325.7 93.4 L309.9 97.1 L293.5 100.5 L276.5 103.8 L259.0 106.9 L241.1 109.8 L222.6 112.4 L203.8 114.9 L184.5 117.1 L164.9 119.1 L145.0 120.9 L124.8 122.4 L104.4 123.7 L83.7 124.8 L62.9 125.6 L42.0 126.2 L21.0 126.6 L0.0 126.7 L-21.0 126.6 L-42.0 126.2 L-62.9 125.6 L-83.7 124.8 L-104.4 123.7 L-124.8 122.4 L-145.0 120.9 L-164.9 119.1 L-184.5 117.1 L-203.8 114.9 L-222.6 112.4 L-241.1 109.8 L-259.0 106.9 L-276.5 103.8 L-293.5 100.5 L-309.9 97.1 L-325.7 93.4 L-340.9 89.6 L-355.5 85.6 L-369.3 81.5 L-382.5 77.1 L-394.9 72.7 L-406.6 68.1 L-417.5 63.4 L-427.7 58.5 L-437.0 53.6 L-445.4 48.5 L-453.0 43.3 L-459.8 38.1 L-465.7 32.8 L-470.7 27.4 L-474.8 22.0 L-478.0 16.5 L-480.3 11.0 L-481.7 5.5 L-482.1 0.0%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%22170%22 stroke-linecap=%22round%22/%3E%3C/mask%3E%3Cpath d=%22M-482.1 0.0 L-481.7 -5.5 L-480.3 -11.0 L-478.0 -16.5 L-474.8 -22.0 L-470.7 -27.4 L-465.7 -32.8 L-459.8 -38.1 L-453.0 -43.3 L-445.4 -48.5 L-437.0 -53.6 L-427.7 -58.5 L-417.5 -63.4 L-406.6 -68.1 L-394.9 -72.7 L-382.5 -77.1 L-369.3 -81.5 L-355.5 -85.6 L-340.9 -89.6 L-325.7 -93.4 L-309.9 -97.1 L-293.5 -100.5 L-276.5 -103.8 L-259.0 -106.9 L-241.1 -109.8 L-222.6 -112.4 L-203.8 -114.9 L-184.5 -117.1 L-164.9 -119.1 L-145.0 -120.9 L-124.8 -122.4 L-104.4 -123.7 L-83.7 -124.8 L-62.9 -125.6 L-42.0 -126.2 L-21.0 -126.6 L-0.0 -126.7 L21.0 -126.6 L42.0 -126.2 L62.9 -125.6 L83.7 -124.8 L104.4 -123.7 L124.8 -122.4 L145.0 -120.9 L164.9 -119.1 L184.5 -117.1 L203.8 -114.9 L222.6 -112.4 L241.1 -109.8 L259.0 -106.9 L276.5 -103.8 L293.5 -100.5 L309.9 -97.1 L325.7 -93.4 L340.9 -89.6 L355.5 -85.6 L369.3 -81.5 L382.5 -77.1 L394.9 -72.7 L406.6 -68.1 L417.5 -63.4 L427.7 -58.5 L437.0 -53.6 L445.4 -48.5 L453.0 -43.3 L459.8 -38.1 L465.7 -32.8 L470.7 -27.4 L474.8 -22.0 L478.0 -16.5 L480.3 -11.0 L481.7 -5.5 L482.1 -0.0%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%2271%22 stroke-linecap=%22round%22/%3E%3Ccircle r=%22275.5%22 fill=%22%23000%22 mask=%22url(%23hm)%22/%3E%3Cpath d=%22M482.1 0.0 L481.7 5.5 L480.3 11.0 L478.0 16.5 L474.8 22.0 L470.7 27.4 L465.7 32.8 L459.8 38.1 L453.0 43.3 L445.4 48.5 L437.0 53.6 L427.7 58.5 L417.5 63.4 L406.6 68.1 L394.9 72.7 L382.5 77.1 L369.3 81.5 L355.5 85.6 L340.9 89.6 L325.7 93.4 L309.9 97.1 L293.5 100.5 L276.5 103.8 L259.0 106.9 L241.1 109.8 L222.6 112.4 L203.8 114.9 L184.5 117.1 L164.9 119.1 L145.0 120.9 L124.8 122.4 L104.4 123.7 L83.7 124.8 L62.9 125.6 L42.0 126.2 L21.0 126.6 L0.0 126.7 L-21.0 126.6 L-42.0 126.2 L-62.9 125.6 L-83.7 124.8 L-104.4 123.7 L-124.8 122.4 L-145.0 120.9 L-164.9 119.1 L-184.5 117.1 L-203.8 114.9 L-222.6 112.4 L-241.1 109.8 L-259.0 106.9 L-276.5 103.8 L-293.5 100.5 L-309.9 97.1 L-325.7 93.4 L-340.9 89.6 L-355.5 85.6 L-369.3 81.5 L-382.5 77.1 L-394.9 72.7 L-406.6 68.1 L-417.5 63.4 L-427.7 58.5 L-437.0 53.6 L-445.4 48.5 L-453.0 43.3 L-459.8 38.1 L-465.7 32.8 L-470.7 27.4 L-474.8 22.0 L-478.0 16.5 L-480.3 11.0 L-481.7 5.5 L-482.1 0.0%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%2271%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%22-414.6%22 cy=%2263.4%22 r=%2267.1%22 fill=%22%23000%22/%3E%3C/g%3E%3C/svg%3E"); }
.wm-text {
  display: inline-block; vertical-align: baseline; height: .9em; aspect-ratio: 8.308; padding: 0 !important; margin: 0 !important;
  font-size: inherit; color: transparent; overflow: hidden; text-indent: -999em;
  -webkit-text-fill-color: transparent; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-mask: var(--wordmark) center / contain no-repeat; mask: var(--wordmark) center / contain no-repeat;
}
.hero2__title em.wm-text { font-size: 2.25em; height: .82em; margin-top: .14em !important; }
@media (max-width: 720px) { .hero2__title em.wm-text { font-size: 1.9em; } }

/* v5 wordmark sizes (wordmark alone in the header and room bar; symbol on phones) */
.brand__logo { height: 27px; }
.rbrand__logo { height: 25px; }
.footer__logo { height: 34px; }
.table__logo { height: clamp(18px, 3.6cqw, 36px); }
.stage--mini .table__logo { height: clamp(15px, 3.1cqw, 30px); }
.hero2__title em.wm-text { height: .86em; }

/* v6 futuristic wordmark sizes */
.brand__logo { height: 24px; }
.rbrand__logo { height: 22px; }
.footer__logo { height: 30px; }
.table__logo { height: clamp(14px, 3cqw, 30px); }
.stage--mini .table__logo { height: clamp(12px, 2.6cqw, 26px); }
.hero2__title em.wm-text { height: .74em; margin-top: .22em !important; }
.brand__logo { height: 26px; }
.rbrand__logo { height: 24px; }

/* ---------------------------------------------------------------- theme switch animation */
/* View Transitions: the whole page is one snapshot while the theme changes, and the two themes crossfade */
html.theme-vt * { view-transition-name: none !important; }
html.theme-vt::view-transition-group(root) { animation-duration: .8s; }
html.theme-vt::view-transition-old(root) { animation: themeOut .8s cubic-bezier(.4, 0, .2, 1) both; mix-blend-mode: normal; }
html.theme-vt::view-transition-new(root) { animation: themeIn .8s cubic-bezier(.4, 0, .2, 1) both; mix-blend-mode: normal; }
@keyframes themeOut { to { opacity: 0; } }
@keyframes themeIn { from { opacity: 0; } }
/* fallback: a short colour crossfade */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease, fill .6s ease, stroke .6s ease, box-shadow .6s ease, opacity .6s ease !important;
}

/* v7 logo: smart (planet) huddle */
.brand__logo { height: 30px; }
.rbrand__logo { height: 26px; }
.footer__logo { height: 36px; }
.table__logo { height: clamp(16px, 3.4cqw, 34px); }
.stage--mini .table__logo { height: clamp(14px, 3cqw, 30px); }
.brand__mark { width: 40px; height: 26px; }
.hero2__title em.wm-text { height: .9em; margin-top: .16em !important; }

/* ---------------------------------------------------------------- logo motion */
/* hero: the name is the live logo, filled with the drifting gradient */
:root, [data-theme="light"] { --wm-g1: #FFFFFF; --wm-g2: #C6E2FF; --wm-g3: #6FA2FF; }
[data-theme="dark"] { --wm-g1: #FFF4E2; --wm-g2: #F0D4A8; --wm-g3: #D9AC72; }
.hero2__title em.wm-svg {
  display: block; font-size: 2.25em; margin: .14em 0 0 !important; padding: 0 !important; line-height: 1;
  background: none !important; -webkit-text-fill-color: currentColor; color: inherit; animation: none;
}
.hero2__title .hero-logo { display: inline-block; height: .9em; width: auto; overflow: visible; --logo-dot: #FFFFFF; }
[data-theme="dark"] .hero2__title .hero-logo { --logo-dot: #FFF4E2; }
@media (max-width: 720px) { .hero2__title em.wm-svg { font-size: 1.9em; } }
.logo { overflow: visible; }
/* intro: words slide in, the planet pops up with a turn, the ring draws itself, then the moon appears */
.logo--intro .logo__w1, .logo--intro .logo__w2, .logo--intro .logo__planet { transform-box: fill-box; transform-origin: center; }
.logo--intro .logo__w1 { animation: wmLeft 1s cubic-bezier(.16, 1, .3, 1) .15s both; }
.logo--intro .logo__w2 { animation: wmRight 1s cubic-bezier(.16, 1, .3, 1) .15s both; }
.logo--intro .logo__planet { animation: wmPlanet 1.1s cubic-bezier(.34, 1.45, .64, 1) .05s both; }
.logo--intro .logo__ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wmRing 1.2s cubic-bezier(.65, 0, .35, 1) .35s forwards; }
.logo--intro .logo__moon { animation: wmFade .6s ease 1.2s both; }
@keyframes wmLeft { from { opacity: 0; transform: translateX(14%); filter: blur(6px); } }
@keyframes wmRight { from { opacity: 0; transform: translateX(-14%); filter: blur(6px); } }
@keyframes wmPlanet { from { opacity: 0; transform: scale(.3) rotate(-60deg); } }
@keyframes wmRing { to { stroke-dashoffset: 0; } }
@keyframes wmFade { from { opacity: 0; } }
/* header logo: a gentle lift on hover */
.brand .logo__planet { transform-box: fill-box; transform-origin: center; transition: transform .6s cubic-bezier(.34, 1.45, .64, 1); }
.brand:hover .logo__planet { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .logo--intro *, .brand:hover .logo__planet { animation: none !important; transform: none !important; } }

/* =====================================================================================================
   v8 — light theme hero: a bright daytime-blue sky (dark theme keeps deep space). White type in both.
   ===================================================================================================== */
[data-theme="light"] .cosmos {
  background: radial-gradient(130% 70% at 50% 112%, var(--bg) 0 40%, #BFDCFF 46%, #5C97FF 52%, #3C7CF2 62%, #2766E0 78%, #1D55CF 100%);
  --grad-text-sky: linear-gradient(100deg, #FFFFFF 0%, #E8F4FF 22%, #BFDFFF 46%, #A6CEFF 60%, #E2F1FF 82%, #FFFFFF 100%);
  --wm-g1: #FFFFFF; --wm-g2: #E6F3FF; --wm-g3: #B3D6FF;
}
[data-theme="light"] .cosmos .h1, [data-theme="light"] .hero2__title { text-shadow: 0 2px 24px rgba(12, 48, 140, .22); }
[data-theme="light"] .hero2__lede { color: #E3EEFF; text-shadow: 0 1px 14px rgba(12, 48, 140, .25); }
[data-theme="light"] .hero2__lede b { color: #FFFFFF; }
[data-theme="light"] .cosmos .phead__sub, [data-theme="light"] .cosmos .phead__text { color: #F1F7FF; text-shadow: 0 1px 14px rgba(12, 48, 140, .35); }
[data-theme="light"] .cosmos .phead__text { color: #E3EEFF; }

/* =====================================================================================================
   v9 — buttons follow the theme everywhere: light = Deep Royal Navy primary + white secondary,
   dark = Champagne Gold primary + navy secondary (header, heroes, prompt send, CTA card)
   ===================================================================================================== */
.cosmos .btn--primary, .site-header .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px var(--primary-shadow); }
[data-theme="light"] .cosmos .btn--primary, [data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 24px rgba(3, 20, 60, .35); }
[data-theme="dark"] .cosmos .btn--primary, [data-theme="dark"] .site-header .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(217, 172, 114, .28); }
.cosmos .btn--secondary, .site-header .btn--secondary { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-theme="light"] .cosmos .btn--secondary, [data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--secondary { background: #FFFFFF; border-color: transparent; color: var(--ink); box-shadow: 0 6px 18px rgba(3, 20, 60, .18); }
[data-theme="light"] .prompt__send { background: var(--primary-grad); color: var(--on-primary); box-shadow: 0 8px 22px rgba(5, 38, 89, .32), inset 0 1px 0 rgba(255, 255, 255, .2); }
[data-theme="dark"] .prompt__send { background: var(--primary-grad); }
/* CTA card: light theme uses the same bright blue as the light hero, so its navy/white buttons match the rest */
[data-theme="light"] .cta { background: radial-gradient(120% 90% at 50% 120%, #8FBFFF 0%, #4A86F7 38%, #2766E0 70%, #1D55CF 100%); --grad-text-sky: linear-gradient(100deg, #FFFFFF 0%, #E8F4FF 22%, #BFDFFF 46%, #A6CEFF 60%, #E2F1FF 82%, #FFFFFF 100%); }
[data-theme="light"] .cta p { color: #E3EEFF; }
[data-theme="light"] .cta .btn--primary { background: var(--primary-grad); color: var(--on-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 24px rgba(3, 20, 60, .35); }
[data-theme="light"] .cta .btn--secondary { background: #FFFFFF; border-color: transparent; color: var(--ink); }
[data-theme="light"] .cta .btn--secondary:hover { background: #F0F6FF; }
[data-theme="light"] .cta__arc { border-color: rgba(255, 255, 255, .35); box-shadow: 0 0 60px rgba(255, 255, 255, .2) inset; }


/* =====================================================================================================
   v10 — light theme uses ONE blue: the bright blue of the hero sky (#2563EB family) plus white and
   neutral near-black text. No Deep Royal Navy in light mode. Dark theme is untouched.
   ===================================================================================================== */
:root:not([data-theme="dark"]) {
  --ink: #121722; --ink-2: #3B4250; --ink-3: #626A78; --placeholder: #7C8493;
  --seat-ink: #121722; --frame: #121722;
  --primary: #2563EB;
  --primary-grad: linear-gradient(180deg, #4A86FF 0%, #2563EB 100%);
  --primary-hover: linear-gradient(180deg, #5C93FF 0%, #2F6FF0 100%);
  --on-primary: #FFFFFF;
  --primary-shadow: rgba(37, 99, 235, .30);
  --signal: #2563EB; --signal-ink: #1D56D6; --signal-grad: linear-gradient(180deg, #4A86FF 0%, #2563EB 100%);
  --active: #2563EB; --active-ink: #1D56D6; --active-soft: rgba(37, 99, 235, .08); --active-line: rgba(37, 99, 235, .45); --active-glow: rgba(37, 99, 235, .22);
  --em: #2563EB; --rim-c: #2563EB; --logo-dot: #2563EB;
  --accent-text: linear-gradient(90deg, #2563EB 0%, #5B95FF 100%);
  --grad-text: linear-gradient(100deg, #7DB0FF 0%, #3B7BF5 28%, #2563EB 50%, #3B7BF5 74%, #8CBAFF 100%);
  --line: rgba(18, 23, 34, .08); --line-2: rgba(18, 23, 34, .14); --card-line: rgba(18, 23, 34, .07); --edge-lo: rgba(18, 23, 34, .08);
  --orb-line: rgba(37, 99, 235, .12);
  --shadow-1: 0 1px 2px rgba(18, 23, 34, .04), 0 12px 32px -20px rgba(18, 23, 34, .20);
  --shadow-2: 0 2px 4px rgba(18, 23, 34, .05), 0 22px 44px -22px rgba(18, 23, 34, .26);
  --shadow-pop: 0 12px 40px rgba(18, 23, 34, .16), 0 2px 6px rgba(18, 23, 34, .06);
  --focus: 0 0 0 3px rgba(37, 99, 235, .35);
  --scrim: rgba(18, 23, 34, .28);
}
[data-theme="light"] .tip { background: #121722; }
[data-theme="light"] .badge__tag { color: #1D56D6; }
[data-theme="light"] .cur--3 .cur__tag b { color: #121722; }
[data-theme="light"] .slide { color: #121722; }
[data-theme="light"] .slide__ic { color: #2563EB; }

/* on the blue sky a blue button would disappear, so there the main button flips to white with blue text
   and the second one is clear glass; off the sky (scrolled header, page body) they are blue + white */
[data-theme="light"] .cosmos .btn--primary,
[data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--primary,
[data-theme="light"] .cta .btn--primary {
  background: #FFFFFF; color: #1D56D6; box-shadow: 0 8px 24px rgba(12, 52, 150, .28);
}
[data-theme="light"] .cosmos .btn--primary:hover:not(:disabled),
[data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--primary:hover,
[data-theme="light"] .cta .btn--primary:hover { background: #F2F7FF; }
[data-theme="light"] .cosmos .btn--primary::after,
[data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--primary::after,
[data-theme="light"] .cta .btn--primary::after { background: linear-gradient(100deg, transparent, rgba(37, 99, 235, .14), transparent); }
[data-theme="light"] .cosmos .btn--secondary,
[data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--secondary,
[data-theme="light"] .cta .btn--secondary {
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #FFFFFF; box-shadow: none;
}
[data-theme="light"] .cosmos .btn--secondary:hover,
[data-theme="light"] .site-header.is-ondark:not(.is-scrolled) .btn--secondary:hover,
[data-theme="light"] .cta .btn--secondary:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .7); }
[data-theme="light"] .site-header.is-scrolled .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px rgba(37, 99, 235, .28); }
[data-theme="light"] .prompt__send { background: var(--primary-grad); box-shadow: 0 8px 22px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255, 255, 255, .3); }
[data-theme="light"] .cosmos, [data-theme="light"] .cta { --grad-text-sky: linear-gradient(100deg, #FFFFFF 0%, #E8F4FF 22%, #BFDFFF 46%, #A6CEFF 60%, #E2F1FF 82%, #FFFFFF 100%); }
[data-theme="light"] .cosmos { background: radial-gradient(130% 70% at 50% 112%, var(--bg) 0 40%, #BFDCFF 46%, #5C97FF 52%, #4282F7 62%, #2E6CEC 78%, #2563EB 100%); }
[data-theme="light"] .cta { background: radial-gradient(120% 90% at 50% 120%, #8FBFFF 0%, #4A86F7 38%, #2E6CEC 70%, #2563EB 100%); }
:root:not([data-theme="dark"]) {
  --tbl-edge: linear-gradient(180deg, #D8E6FF 0%, #A6C5FF 100%); --tbl-shadow: rgba(37, 99, 235, .28);
  --tbl-line2: rgba(37, 99, 235, .14); --tbl-inset: rgba(37, 99, 235, .16);
  --tile-bg: linear-gradient(160deg, #EEF4FF 0%, #DCE8FF 100%);
}
/* dark theme keeps its own highlight colour (Champagne Gold): an older light block was leaking blue into it */
[data-theme="dark"] { --active: #D9AC72; --active-ink: #E9C796; --active-soft: rgba(217, 172, 114, .12); --active-line: rgba(217, 172, 114, .55); --active-glow: rgba(217, 172, 114, .26); }

/* =====================================================================================================
   v11 — type matches the logo: the logo is Outfit (Regular + stroke ≈ weight 500), so the site is set in
   Outfit too. Headlines and accent words at 500 (same weight as the logo), UI at 500, body at 400.
   Geist Mono stays for small labels, codes and the timer.
   ===================================================================================================== */
:root, [data-theme="light"], [data-theme="dark"] {
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body { font-family: var(--font); font-feature-settings: normal; letter-spacing: 0; }
.h1, .h2, .hero2__title, .chead__title, .footer__statement, .act__title, .mcard__title, .confirm__title, .card-form h2, .fsec__title, .pal__in input, .lb__head h1 {
  font-family: var(--font); font-stretch: normal; font-weight: 500; letter-spacing: -.035em;
}
.hero2__title { font-weight: 500; letter-spacing: -.04em; }
.mcard__title, .card-form h2, .fsec__title { letter-spacing: -.015em; font-stretch: normal; }
em, .h1 em, .h2 em, .hero2__title em, .chead__title em, .footer__statement em, .chead__title .accent, .act__title em {
  font-family: var(--font); font-weight: 500; font-stretch: normal; letter-spacing: -.035em;
}
.hero2__title em { font-weight: 500; letter-spacing: -.04em; }
p em, li em, .phead__text em { font-weight: inherit; letter-spacing: inherit; }
.phead__sub, .hero2__tag { font-weight: 400; letter-spacing: -.01em; }
.btn, .tb__label, .rtab, .site-nav a, .pchip { font-weight: 500; letter-spacing: 0; }
.hero2__lede b { font-weight: 500; }

/* =====================================================================================================
   v12 — low weight contrast (Grok-like): nothing heavier than medium. Big headlines are regular (400),
   emphasis, names, titles, labels and buttons are medium (500), body regular (400), mono labels 400.
   ===================================================================================================== */
b, strong { font-weight: 500; }
.h1, .h2, .hero2__title, .chead__title, .footer__statement, .act__title, .pal__in input, .lb__head h1,
.h1 em, .h2 em, .hero2__title em, .chead__title em, .chead__title .accent, .footer__statement em, .act__title em { font-weight: 400; }
.mcard__title, .confirm__title, .card-form h2, .fsec__title { font-weight: 500; }
.eyebrow, .mcard__meta dt, .why__label, .fsec__kicker, .pop__label, .aside__title, .aside__label, .rail__label, .me-card__label,
.msgs__note, .ctable__row--head, .strip__cap, .table__sub, .badge__tag, .lb__eyebrow, .rbrand__text small { font-weight: 400; }


/* =====================================================================================================
   v13 — calmer huddle screen: side panels start as slim rails, one-row room header (no big title),
   table shows logo + live status only, icon-only controls with tooltips, quiet End Meeting,
   "Live Meeting" label hidden (dot + timer stay), command-menu button removed from the top bar (⌘K still works)
   ===================================================================================================== */
.live__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chead__actions .btn--end { background: transparent; border-color: transparent; color: var(--end-ink); box-shadow: none; }
.chead__actions .btn--end:hover { background: var(--danger-soft); box-shadow: none; filter: none; }
[data-theme="dark"] .chead__actions .btn--end { color: #F0B4A8; }
[data-theme="dark"] .chead__actions .btn--end:hover { background: rgba(240, 120, 100, .12); }
.chead--compact { padding-bottom: 6px; }
@media (min-width: 720px) {
  .toolbar { padding: 6px; gap: 4px; }
  .toolbar__main { gap: 4px; }
  .toolbar__main .tb { flex-direction: row; width: 48px; min-width: 48px; height: 48px; padding: 0; border-radius: 14px; }
  .toolbar__main .tb__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .toolbar__main .tb__icon { position: relative; }
  .toolbar__main .tb__icon .i { width: 20px; height: 20px; }
  .toolbar__main .tb__badge { top: -9px; right: -12px; }
  .toolbar__div { margin: 8px 6px; }
  .tb--leave { flex-direction: row; gap: 8px; height: 48px; min-width: 0; padding: 0 16px; border-radius: 14px; }
  .tb--leave .tb__icon .i { width: 19px; height: 19px; }
  .tb--leave .tb__label { font-size: 13.5px; }
}
/* rails: smaller tiles so all twelve AIs fit without scrolling on laptop screens */
.rail { gap: 2px; }
.rail__item, .rail__person { width: 40px; height: 40px; }
.rail__item .ai-tile, .rail__person .pav { width: 34px; height: 34px; }
.rail__item .ai-tile .mono { font-size: 11px; }
