/*
 * Join landing page.
 * Token values mirror .design/join/ui/design-tokens.css (AUTH-01 v4 / AUTH-02 identity).
 * Keep them in sync with that source instead of introducing new colors.
 */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101214;
  --base: #16191d;
  --raised: #1d2227;
  --surface: #23292f;
  --hover: #2d353d;
  --line: #39434d;
  --control: #84929e;
  --text: #f4f7f8;
  --secondary: #c0c9d1;
  --muted: #a3afba;
  --accent: #d5f267;
  --ink: #151a0b;
  --accent-soft: #29321c;
  --green: #76dcac;
  --purple: #c5a6ff;
  --red: #ff929c;
  --blue: #8ec8ff;

  --story-bg: var(--accent);
  --story-fg: var(--ink);
  --primary-bg: var(--accent);
  --primary-fg: var(--ink);
  --primary-border: var(--accent);
  --primary-hover: #e1fa8b;
  --soft-border: #49523b;
  --header-bg: color-mix(in srgb, var(--bg) 82%, transparent);
  --shadow-window: 0 32px 80px #0007;
  --shadow-float: 0 14px 34px #0006;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f7;
  --base: #ffffff;
  --raised: #edf1f4;
  --surface: #e7ecef;
  --hover: #dfe6eb;
  --line: #ced6dc;
  --control: #697580;
  --text: #172028;
  --secondary: #46525e;
  --muted: #55626c;
  --accent: #486018;
  --ink: #151a0b;
  --accent-soft: #eaf1d8;
  --green: #216e42;
  --purple: #7645a5;
  --red: #ac3348;
  --blue: #216791;

  --story-bg: var(--accent-soft);
  --story-fg: var(--accent);
  --primary-bg: #d5f267;
  --primary-fg: #151a0b;
  --primary-border: #69822d;
  --primary-hover: #ddf780;
  --soft-border: #d4ddcf;
  --shadow-window: 0 32px 80px #17202826;
  --shadow-float: 0 14px 34px #1720281f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 Poppins, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--primary-bg);
  color: var(--primary-fg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Brand (mirrors BrandLogo) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none;
  user-select: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-compact { gap: 8px; font-size: 1.45rem; }
.brand-compact .brand-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.button svg { width: 20px; height: 20px; }
.button-compact { min-height: 40px; padding: 0 16px; }
.button-primary { background: var(--primary-bg); border-color: var(--primary-border); color: var(--primary-fg); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--secondary); }
.button-secondary:hover { background: var(--surface); color: var(--text); }
.button-ink { background: var(--story-fg); color: var(--story-bg); }
.button-ink:hover { background: color-mix(in srgb, var(--story-fg) 86%, var(--story-bg)); }
.button-outline-ink { border-color: color-mix(in srgb, var(--story-fg) 55%, transparent); color: var(--story-fg); }
.button-outline-ink:hover { background: color-mix(in srgb, var(--story-fg) 9%, transparent); }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: .55; pointer-events: none; }
.button-ink:focus-visible,
.button-outline-ink:focus-visible { outline-color: var(--story-fg); }

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
}
.icon-button:hover { background: var(--surface); color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--story-fg);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  color: var(--text);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
[data-theme="light"] .site-header.is-scrolled { --header-bg: color-mix(in srgb, var(--base) 86%, transparent); }
.header-inner {
  max-width: none;
  height: 72px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav { display: flex; gap: 2px; margin-right: auto; }
.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: .82;
}
.site-nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Over the split hero, actions sit on the task surface; stacked, they sit on the story. */
.site-header:not(.is-scrolled) .header-actions { color: var(--text); }
@media (max-width: 960px) {
  .site-header:not(.is-scrolled) .header-actions { color: inherit; }
  .site-header:not(.is-scrolled) .icon-button { color: inherit; border-color: color-mix(in srgb, currentColor 40%, transparent); }
  .site-header:not(.is-scrolled) .icon-button:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
  .site-header:not(.is-scrolled) .button-primary {
    background: var(--story-fg);
    border-color: var(--story-fg);
    color: var(--story-bg);
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: max(100dvh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}
.hero-story {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 5vw, 72px) 40px;
  background: var(--story-bg);
  color: var(--story-fg);
}
.hero-story::before,
.hero-story::after,
.closing::before,
.closing::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--story-fg) 23%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero-story::before { width: 620px; height: 620px; left: -300px; bottom: -260px; }
.hero-story::after { width: 300px; height: 300px; right: -120px; top: 16%; }
.hero-copy { position: relative; z-index: 1; max-width: 560px; margin-block: auto; }
.eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow-accent { color: var(--accent); }
.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.6vw, 4.75rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.065em;
}
.hero-support {
  max-width: 42ch;
  margin-top: 24px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { margin-top: 16px; font-size: 13px; font-weight: 500; opacity: .78; }
.hero-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px clamp(24px, 4vw, 64px) 64px;
  background: var(--base);
  border-left: 1px solid var(--line);
  overflow: hidden;
  overflow: clip;
}
.hero-icon {
  position: absolute;
  top: 96px;
  right: clamp(20px, 5vw, 72px);
  width: clamp(84px, 9vw, 132px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 18px 30px #0005);
  animation: float 7s ease-in-out infinite;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--raised);
  box-shadow: var(--shadow-float);
}
.id-card {
  right: clamp(12px, 4vw, 56px);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  animation: float 9s ease-in-out -4s infinite;
}
.id-at {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.id-card b { display: block; font-size: 15px; letter-spacing: -.02em; }
.id-card span { color: var(--muted); font-size: 12px; }

/* ---------- Sections ---------- */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px) 0;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2,
.closing h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.section-head > p:last-child,
.split-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--secondary);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--base);
  transition: border-color 150ms ease, transform 150ms ease;
}
.feature:hover { border-color: var(--control); transform: translateY(-2px); }
.feature-wide { grid-column: span 2; }
.feature-accent { background: var(--accent-soft); border-color: var(--soft-border); }
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-accent .feature-icon { background: var(--primary-bg); color: var(--primary-fg); }
.feature-icon svg,
.ctrl svg,
.download-web .os-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.feature p { color: var(--secondary); font-size: 15px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.chips span {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
}

.checklist { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 32px; color: var(--secondary); font-size: 15px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23d5f267' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
[data-theme="light"] .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23486018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* ---------- Product mockups ----------
 * Static reproductions of approved screens, rendered at their design width and scaled to fit:
 * COM-11 r3 community interior (.design/join/slices/com-11) and the NOW-03-D multi-stream call
 * from the community-screen-sharing review. Fixture data only.
 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mock-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: var(--mock-w) / var(--mock-h);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.mock {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--mock-w) * 1px);
  height: calc(var(--mock-h) * 1px);
  display: flex;
  flex-direction: column;
  transform: scale(var(--mock-scale, .5));
  transform-origin: 0 0;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
  user-select: none;
  --c11-divider: color-mix(in srgb, var(--line) 35%, transparent);
  --c11-divider-strong: color-mix(in srgb, var(--line) 65%, transparent);
}
.mock p, .mock h1, .mock h2, .mock h3 { margin: 0; }
.mock small { display: block; }
.mock .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mock-bar { height: 34px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--raised); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.mock .av { width: 24px; height: 24px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--av); color: #151a0b; font-size: 9px; font-weight: 700; }
.mock .av.md { width: 30px; height: 30px; font-size: 10px; }

/* COM-11: global navigation */
.c11 { flex: 1; min-height: 0; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.c11 .gnav { min-height: 0; display: flex; flex-direction: column; background: var(--base); border-right: 1px solid var(--c11-divider); }
.c11 .gnav-head { height: 64px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--c11-divider); }
.c11 .gnav-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); }
.c11 .gnav-brand strong { font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.c11 .gnav-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--primary-bg); color: var(--primary-fg); font-size: 20px; font-weight: 700; }
.c11 .gnav-scroll { flex: 1; padding: 16px 12px 20px; }
.c11 .gnav-nav { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--c11-divider); }
.c11 .gnav-btn { min-height: 38px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 500; }
.c11 .gnav-btn.is-current { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.c11 .gnav-section { margin-top: 12px; display: grid; gap: 4px; }
.c11 .gnav-section h3 { margin: 1px 4px 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.c11 .gnav-community { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.c11 .gnav-cavatar { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.c11 .gnav-cavatar.alt { background: color-mix(in srgb, var(--purple) 20%, var(--base)); color: var(--purple); }
.c11 .gnav-cdetails { min-width: 0; display: flex; flex-direction: column; }
.c11 .gnav-ctitle { display: flex; align-items: center; gap: 5px; }
.c11 .gnav-ctitle strong { font-size: 12px; font-weight: 600; white-space: nowrap; }
.c11 .gnav-badge { display: inline-flex; align-items: center; gap: 2px; padding: 1px 4.5px; border: 1px solid rgba(56, 189, 248, .3); border-radius: 4px; background: rgba(56, 189, 248, .12); color: #38bdf8; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
[data-theme="light"] .c11 .gnav-badge { color: #0b74a3; }
.c11 .gnav-badge .ic { width: 8px; height: 8px; stroke-width: 2.4; }
.c11 .gnav-community small { color: var(--muted); font-size: 12px; font-weight: 500; }
.c11 .gnav-discover { margin-top: 10px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; background: var(--raised); }
.c11 .gnav-discover-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--accent); }
.c11 .gnav-discover-icon .ic { width: 13px; height: 13px; }
.c11 .gnav-discover-copy strong { display: block; font-size: 12px; font-weight: 600; }
.c11 .gnav-discover-copy small { color: var(--muted); font-size: 10px; }
.c11 .gnav-discover > .ic { margin-left: auto; width: 12px; height: 12px; color: var(--muted); }
.c11 .gnav-foot { padding: 12px 16px 16px; border-top: 1px solid var(--c11-divider); }
.c11 .gnav-meet { min-height: 36px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); font-size: 12px; font-weight: 700; }
.c11 .gnav-meet .ic { width: 14px; height: 14px; }
.c11 .gnav-profile { display: flex; align-items: center; gap: 10px; }
.c11 .gnav-pavatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #d5f267, #76dcac); color: #151a0b; font-size: 12px; font-weight: 700; }
.c11 .gnav-pinfo { flex: 1; }
.c11 .gnav-pinfo strong { display: block; font-size: 12px; font-weight: 600; }
.c11 .gnav-pinfo small { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 10px; }
.c11 .gnav-profile > .ic { width: 16px; height: 16px; color: var(--muted); }

/* COM-11: community header, voice-room bands and conversations */
.c11 .community { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--base); }
.c11 .c-header { height: 64px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 20px 0 14px; border-bottom: 1px solid var(--c11-divider); }
.c11 .c-switcher { display: flex; align-items: center; gap: 12px; padding: 4px 8px 4px 4px; }
.c11 .c-emblem { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 700; }
.c11 .c-id strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.c11 .c-id small { color: var(--muted); font-size: 11px; }
.c11 .c-switcher > .ic { color: var(--muted); }
.c11 .c-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.c11 .btn-primary { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--primary-border); border-radius: 8px; background: var(--primary-bg); color: var(--primary-fg); font-size: 13px; font-weight: 600; }
.c11 .c-members { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--c11-divider-strong); border-radius: 8px; color: var(--muted); }
.c11 .c-members b { color: var(--secondary); font-size: 12px; }
.c11 .icon-btn, .c11 .icon-sm { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.c11 .c-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.c11 .map { min-height: 0; overflow: hidden; padding: 4px 22px 22px; background: var(--bg); }
.c11 .band {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  grid-template-areas: "id . actions" "id people people";
  align-items: start;
  gap: 12px 20px;
  padding: 18px 8px 16px 12px;
  border-bottom: 1px solid var(--c11-divider-strong);
}
.c11 .band.is-current { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 65%); box-shadow: inset 3px 0 0 var(--accent); }
.c11 .band.is-empty { grid-template-areas: "id free actions"; align-items: center; padding-block: 14px; }
.c11 .band:not(.is-empty) .band-people { margin-top: -6px; }
.c11 .band-id { grid-area: id; display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.c11 .band-id h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.03em; line-height: 1.3; white-space: nowrap; }
.c11 .band-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.c11 .band-dot.is-empty { background: transparent; border: 1.5px solid var(--control); box-shadow: none; }
.c11 .band-id > small { padding-left: 20px; color: var(--muted); font-size: 12px; }
.c11 .band-tags { padding: 8px 0 0 20px; }
.c11 .tag { display: inline-flex; padding: 2px 6px; border-radius: 5px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.c11 .tag-live { background: var(--accent-soft); color: var(--accent); }
.c11 .band-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.c11 .btn-sm { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.c11 .btn-sm .ic { width: 16px; height: 16px; }
.c11 .band-people { grid-area: people; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.c11 .people-list { margin: 0; padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 1), auto); column-gap: 20px; row-gap: 2px; }
.c11 .person-row { min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 4px 2px 4px 6px; font-size: 12px; }
.c11 .person-row .av { width: 26px; height: 26px; }
.c11 .person-row.is-speaking .av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.c11 .pr-name { white-space: nowrap; font-weight: 500; }
.c11 .pill { display: inline-flex; padding: 1px 6px; border-radius: 999px; background: var(--primary-bg); color: var(--primary-fg); font-size: 10px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.c11 .pill.is-live { background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.c11 .pr-status { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.c11 .pr-status .ic { width: 15px; height: 15px; }
.c11 .pr-status span { display: grid; }
.c11 .pr-status .is-speak { color: var(--accent); }
.c11 .pr-status .is-off { color: var(--secondary); }
.c11 .pr-more { width: 24px; height: 24px; display: grid; place-items: center; color: var(--muted); }
.c11 .pr-more .ic { width: 16px; height: 16px; }
.c11 .rc-stream { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border: 1px solid var(--c11-divider); border-radius: 10px; background: var(--base); color: var(--secondary); font-size: 12px; }
.c11 .rc-stream > .ic { color: var(--accent); }
.c11 .rc-stream strong { color: var(--text); font-weight: 600; }
.c11 .rc-stream .btn-sm { margin-left: auto; min-height: 32px; padding: 0 10px; font-size: 11px; }
.c11 .band-free { grid-area: free; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.c11 .band-free strong { display: block; font-weight: 600; }
.c11 .band-free small { color: var(--muted); font-size: 12px; }
.c11 .free-ic { width: 40px; height: 40px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 50%; color: var(--muted); }
.c11 .band-create { margin-top: 16px; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--line); border-radius: 10px; color: var(--secondary); font-size: 12px; font-weight: 600; }
.c11 .band-create .ic { width: 15px; height: 15px; }
.c11 .chat { min-height: 0; display: flex; flex-direction: column; border-left: 1px solid var(--c11-divider); background: var(--base); }
.c11 .chat-head { display: grid; gap: 10px; padding: 14px 12px 12px 14px; border-bottom: 1px solid var(--c11-divider); }
.c11 .chat-title-row { display: flex; align-items: center; gap: 6px; }
.c11 .chat-title-row h2 { flex: 1; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.c11 .mention { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--red); color: var(--base); font-size: 11px; font-weight: 700; }
.c11 .chat-channel { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
.c11 .chat-channel-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--primary-bg); color: var(--primary-fg); }
.c11 .chat-channel strong { display: block; font-size: 14px; font-weight: 600; }
.c11 .chat-channel small { color: var(--muted); font-size: 10.5px; }
.c11 .chat-channel > .ic { margin-left: auto; color: var(--muted); }
.c11 .chat-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 16px 14px; }
.c11 .chat-start { color: var(--secondary); font-size: 12px; text-align: center; }
.c11 .chat-date { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.c11 .chat-date::before, .c11 .chat-date::after { content: ""; flex: 1; height: 1px; background: var(--c11-divider-strong); }
.c11 .msg { display: flex; gap: 10px; font-size: 13px; }
.c11 .msg-meta { display: flex; align-items: baseline; gap: 8px; }
.c11 .msg-meta strong { font-size: 13px; font-weight: 600; }
.c11 .msg-meta time { color: var(--muted); font-size: 10px; }
.c11 .at { padding: 0 3px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.c11 .composer { margin: 0 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
.c11 .composer-tools { display: flex; gap: 14px; padding: 9px 12px; border-bottom: 1px solid var(--c11-divider); color: var(--muted); }
.c11 .composer-tools .ic { width: 15px; height: 15px; }
.c11 .composer-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 12px; color: var(--muted); font-size: 13px; }
.c11 .send { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--primary-bg) 55%, var(--raised)); color: var(--primary-fg); }

/* NOW-03-D: active call watching two shared screens */
.call-app { flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.call-sidebar { display: flex; flex-direction: column; padding: 28px 16px 16px; border-right: 1px solid var(--line); background: var(--base); }
.call-brand { display: flex; align-items: center; gap: 10px; margin: 0 12px 34px; font-size: 30px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.call-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--primary-bg); color: var(--primary-fg); font-size: 25px; letter-spacing: 0; }
.call-sidebar nav { display: grid; gap: 6px; }
.call-sidebar nav span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--secondary); font-size: 13px; }
.call-sidebar .selected { background: var(--accent-soft); color: var(--accent); }
.call-sidebar .nav-label { margin: 36px 12px 12px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.call-community { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.call-community b { display: block; font-weight: 500; }
.call-community small { color: var(--secondary); font-size: 10px; line-height: 1.5; }
.community-avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--surface); color: var(--text); font-weight: 600; }
.sidebar-bottom { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 16px 4px 0; font-size: 11px; }
.sidebar-bottom b { display: block; font-weight: 500; }
.sidebar-bottom small { color: var(--muted); font-size: 10px; }
.mock-call .avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); font-size: 12px; }
.online-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--green); }
.workspace { position: relative; min-width: 0; display: flex; flex-direction: column; }
.community-header { height: 72px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--base); }
.community-header strong { display: block; font-size: 17px; font-weight: 600; }
.community-header small { color: var(--muted); font-size: 11px; }
.header-theme { margin-left: auto; color: var(--secondary); }
.mock-call .tabs { height: 52px; flex: none; display: flex; gap: 28px; padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--base); }
.mock-call .tabs span { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; color: var(--secondary); font-size: 12px; }
.mock-call .tabs .active { border-color: var(--accent); color: var(--accent); }
.call-main { flex: 1; padding: 22px 28px 120px; }
.call-main h1 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.mock-call .section-label { display: flex; justify-content: space-between; margin: 16px 0 12px; color: var(--secondary); font-size: 12px; }
.mock-call .section-label .count { color: var(--muted); font-size: 11px; }
.mock-call .people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mock-call .tile { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); }
.mock-call .tile.speaking { border-color: var(--green); }
.mock-call .person-media { position: relative; flex: 1; min-height: 196px; display: grid; place-items: center; overflow: hidden; }
.mock-call .camera-scene { background: var(--surface); }
.mock-call .camera-scene::before { content: ""; position: absolute; top: 12%; right: 8%; width: 22%; height: 60%; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); }
.mock-call .camera-caption { position: absolute; top: 10px; left: 12px; padding: 3px 6px; border-radius: 4px; background: var(--base); color: var(--secondary); font-size: 9px; }
.silhouette { position: relative; width: 120px; height: 150px; }
.silhouette::before { content: ""; position: absolute; left: 50%; top: 6px; width: 92px; height: 104px; border-radius: 46px 46px 42px 42px; background: color-mix(in srgb, var(--control) 70%, var(--surface)); transform: translateX(-50%); }
.silhouette::after { content: ""; position: absolute; left: 50%; bottom: -42px; width: 180px; height: 80px; border-radius: 90px 90px 0 0; background: color-mix(in srgb, var(--control) 55%, var(--surface)); transform: translateX(-50%); }
.silhouette.big { margin-top: 30px; }
.mock-call .person-status { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--base); color: var(--secondary); }
.mock-call .speaking .person-status { color: var(--green); }
.mock-call .person-status .ic { width: 15px; height: 15px; }
.mock-call .portrait { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); font-size: 23px; font-weight: 500; }
.mock-call .tile-foot { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; background: var(--base); font-size: 12px; }
.mock-call .tile-foot strong { font-weight: 500; }
.mock-call .tile-foot small { display: inline; color: var(--muted); font-size: 11px; }
.mock-call .tile-states { display: flex; align-items: center; gap: 6px; color: var(--secondary); }
.mock-call .media-state { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.mock-call .media-state .ic { width: 13px; height: 13px; }
.mock-call .viewer-image { position: relative; height: 152px; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--bg); }
.mock-call .tile-btn { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--base); }
.mock-call .camera-pip { position: absolute; right: 12px; bottom: 12px; width: 66px; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--base); border-radius: 8px; background: var(--surface); }
.mock-call .camera-pip .silhouette { transform: scale(.28); transform-origin: 50% 0; margin: 2px auto 0; }
.mock-call .camera-pip::after { content: attr(data-name); position: absolute; inset: auto 0 0; padding: 1px 5px; background: var(--base); font-size: 8px; }
.mock-window { width: 74%; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--base); }
.mock-top { height: 18px; display: flex; align-items: center; gap: 3px; padding: 0 8px; background: var(--surface); color: var(--muted); font-size: 7px; }
.mock-top span { width: 4px; height: 4px; border-radius: 50%; background: var(--control); }
.mock-top b { margin-left: 5px; font-weight: 400; }
.mock-body { padding: 10px 12px; }
.mock-body h3 { font-size: 12px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.mock-body > p { margin: 4px 0 8px; color: var(--muted); font-size: 7px; }
.mock-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.mock-column { min-height: 34px; padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); font-size: 6.5px; }
.mock-column:first-child { background: var(--accent-soft); }
.mock-column b { font-weight: 500; }
.mock-line { display: block; width: 80%; height: 3px; margin-top: 7px; border-radius: 2px; background: var(--line); }
.mock-code { padding: 10px 14px; color: var(--secondary); font-family: ui-monospace, Consolas, monospace; font-size: 8px; line-height: 1.9; }
.mock-code em { color: var(--accent); font-style: normal; }
.mock-code .indent { padding-left: 12px; }
.mock-call .viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--raised); }
.mock-call .volume { display: flex; align-items: center; gap: 10px; color: var(--text); }
.mock-call .range { position: relative; width: 70px; height: 6px; border-radius: 999px; background: var(--surface); }
.mock-call .range span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--accent); }
.mock-call .range span::after { content: ""; position: absolute; top: 50%; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.mock-call .stop { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--base); font-size: 11px; }
.mock-call .stop .ic { width: 15px; height: 15px; }
.mock-call .hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 11px; }
.mock-call .hint .ic { width: 15px; height: 15px; }
.mock-call .dock { position: absolute; left: 16px; right: 16px; bottom: 16px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--base); box-shadow: 0 6px 18px #0003; }
.mock-call .dock-identity { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.mock-call .dock-identity > .ic { color: var(--accent); }
.mock-call .dock-identity strong { display: block; font-weight: 500; }
.mock-call .dock-identity strong small { display: inline; color: var(--muted); font-size: 12px; }
.mock-call .dock-identity > span > small { color: var(--muted); font-size: 10px; }
.mock-call .dock-controls { display: flex; gap: 8px; }
.mock-call .dock-control { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); }
.mock-call .dock-control.leave { margin-left: 8px; border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 14%, var(--base)); color: var(--red); }
.mock-call .dock-open { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.mock-call .dock-open .ic { width: 17px; height: 17px; }

/* Hero: the community interior bleeds off the right edge so it stays legible. */
.hero-stage { justify-items: start; padding-right: 0; }
.hero-stage .mock-frame { width: min(940px, 128%); margin: 72px 0 0 clamp(-24px, -1vw, 0px); border-right: 0; border-radius: 14px 0 0 14px; }
.hero-stage .hero-icon { top: 92px; width: clamp(72px, 7vw, 104px); }
.voice-mock { overflow: hidden; overflow: clip; }

/* Voice section: copy above, full-width call below. */
.voice { display: grid; gap: 48px; }
.voice .split-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; }
.voice .split-copy .eyebrow, .voice .split-copy h2, .voice .split-copy > p { grid-column: 1; }
.voice .checklist { grid-column: 2; grid-row: 1 / span 3; margin: 0; }

/* Desktop */
.desktop-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--raised);
}
.desktop-card > img { width: clamp(84px, 10vw, 120px); height: auto; }
.desktop-card .eyebrow { color: var(--accent); }
.desktop-card h2 + p { margin-top: 14px; max-width: 52ch; color: var(--secondary); }
.desktop-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-list li { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--base); }
.desktop-list b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.desktop-list span { color: var(--secondary); font-size: 13px; line-height: 1.5; }

/* Downloads */
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--base);
}
.download-card.is-recommended { border-color: var(--primary-border); box-shadow: 0 0 0 1px var(--primary-border); }
.os-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}
.os-icon svg { width: 26px; height: 26px; }
.download-card h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.download-meta { color: var(--muted); font-size: 13px; }
.download-card .button { width: 100%; margin-top: 14px; }
.download-note { min-height: 1.45em; color: var(--muted); font-size: 12px; }
.recommended {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.recommended[hidden] { display: none; }

/* Closing story band */
.closing {
  position: relative;
  overflow: hidden;
  margin-top: clamp(72px, 10vw, 128px);
  padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 48px);
  background: var(--story-bg);
  color: var(--story-fg);
}
.closing::before { width: 560px; height: 560px; left: -240px; top: -280px; }
.closing::after { width: 320px; height: 320px; right: -80px; bottom: -160px; }
.closing-inner { position: relative; z-index: 1; max-width: 1184px; margin: 0 auto; }
.closing h2 { max-width: 12ch; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.065em; }
.closing p:not(.eyebrow) { max-width: 42ch; margin-top: 22px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--base); color: var(--secondary); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer-inner .brand { color: var(--text); }
.footer-tag { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.footer-tag .pulse { background: var(--accent); }
.footer-copy { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- Motion ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .site-nav { display: none; }
  .desktop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-story { padding-top: 128px; padding-bottom: 56px; }
  .hero h1 { max-width: 11ch; }
  .hero-stage { padding: 72px 0 120px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stage .mock-frame { width: max(640px, 120%); margin-top: 48px; }
  .hero-icon { top: 24px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice .split-copy { grid-template-columns: minmax(0, 1fr); }
  .voice .checklist { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .download-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .brand { font-size: 1.6rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .id-card { bottom: 16px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-wide { grid-column: auto; }
  .feature { padding: 24px; }
  .desktop-card { grid-template-columns: minmax(0, 1fr); }
  .desktop-list { grid-template-columns: minmax(0, 1fr); }
  .footer-copy { margin-left: 0; }
  .voice-mock { margin-inline: -16px; padding-left: 16px; }
  .voice-mock .mock-frame { width: 170%; border-right: 0; border-radius: 14px 0 0 14px; }
}

@media (max-width: 400px) {
  .header-actions .button-compact { display: none; }
}
