/* =========================================================
   Breakout Crowd — warm, motion-forward landing
   ========================================================= */

/* ---------------------------------------------------------
   Theme tokens. LIGHT is the default: clean airy off-white
   with the dot-matrix field as the signature. [data-theme=
   "dark"] on <html> flips to the true-black sign-in-flow
   look. Every component reads these vars, so the whole
   site + app reskins from here. Accents: teal/mint primary,
   coral + sky + violet secondary. Backgrounds stay flat —
   no aurora/orb glow washes.
   --------------------------------------------------------- */
:root {
  /* LIGHT (default): soft warm off-white */
  --bg: #f6f6f2;          /* soft warm off-white */
  --bg-2: #ffffff;        /* raised surfaces / cards */
  --fg: #16171b;          /* near-black text */
  --muted: #16171b;       /* subtext = black (no light grey, per request) */
  --muted-2: #16171b;     /* fine print = black too */

  /* accent (teal/mint primary, coral + sky secondary) */
  --gold: #12b8a0;        /* PRIMARY accent (teal) */
  --gold-soft: #48d6b0;   /* mint */
  --gold-deep: #0e9585;   /* deep teal */
  --amber: #f0855b;       /* coral */
  --rose: #e8604e;        /* danger / warm red */
  --sky: #4a90e2;         /* blue tertiary */
  --violet: #7c6cf0;      /* violet accent (4th pop) */
  --on-accent: #04322b;   /* text that sits on accent fills */

  --line: rgba(20, 22, 30, 0.10);
  --line-strong: rgba(20, 22, 30, 0.20);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-2: rgba(255, 255, 255, 0.95);
  --overlay: rgba(24, 26, 34, 0.42);   /* modal scrim */
  --nav-bg: rgba(255, 255, 255, 0.74);
  --grid-line: rgba(20, 22, 30, 0.05);
  --glow-1: rgba(72, 214, 176, 0.10);  /* only tiny accents use these now */
  --glow-2: rgba(240, 133, 91, 0.08);
  --glow-3: rgba(74, 144, 226, 0.07);
  --shadow: 0 18px 50px rgba(24, 26, 34, 0.10);
  --shadow-soft: 0 8px 26px rgba(24, 26, 34, 0.07);

  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* One family everywhere: bold weights for headings (700), regular
     (400) for body + subtext. Weight is what sets the hierarchy now. */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

html[data-theme="dark"] {
  /* true black, white hairlines (sign-in-flow look) */
  --bg: #000000;
  --bg-2: #101014;
  --fg: #f5f5f7;
  --muted: #f5f5f7;       /* subtext = white on dark (per request) */
  --muted-2: #f5f5f7;     /* fine print = white too */

  --gold: #2fd4b8;
  --gold-soft: #62e6c8;
  --gold-deep: #17a892;
  --amber: #f79b72;
  --rose: #ef7a68;
  --sky: #6aa8f0;
  --violet: #9a8cf5;
  --on-accent: #04231e;

  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.08);
  --overlay: rgba(0, 0, 0, 0.70);
  --nav-bg: rgba(8, 8, 10, 0.60);
  --grid-line: rgba(255, 255, 255, 0.05);
  --glow-1: rgba(24, 184, 160, 0.09);
  --glow-2: rgba(240, 133, 91, 0.06);
  --glow-3: rgba(74, 144, 226, 0.06);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.5);
}

/* keep the flip from flashing during load */
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- Background atmosphere ---------- */
/* Aurora glow layer retired: flat background + grid + dots only.
   The empty div still ships in the HTML, so keep it hidden. */
.bg-aurora { display: none; }

/* Graph-paper grid retired too — fully flat background.
   The div still ships in the HTML (and script.js still pans it),
   so keep it hidden rather than deleting the hook. */
.bg-grid { display: none; }

/* Drifting gold dust particles */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Glow orbs retired with the aurora (the divs still ship in HTML) */
.bg-orb { display: none; }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-1), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .cursor-glow { mix-blend-mode: screen; }
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--amber));
  box-shadow: 0 0 14px rgba(18,184,160,0.7);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.nav__dot { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.92rem;
}
.nav__links a { color: var(--muted); transition: color 0.25s ease; }
.nav__links a:hover { color: var(--gold-soft); }
.nav__cta {
  color: var(--on-accent) !important;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(18,184,160,0.35);
}
@media (max-width: 680px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--fg);
  cursor: pointer;
  flex: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  will-change: transform;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 52%, var(--gold-deep));
  color: var(--on-accent);
}
.btn--primary:hover { box-shadow: 0 12px 44px rgba(18,184,160,0.38); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--panel-2); border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Layout / sections ---------- */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 40px);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(18, 184, 160, 0.05);
}
.section__head { max-width: 720px; margin-bottom: 64px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section__lede {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  max-width: 560px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px clamp(20px, 5vw, 40px) 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--panel);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(18,184,160,0.8);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.5); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.34s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__title .line--outline > span {
  color: transparent;
  background: linear-gradient(
    100deg,
    var(--gold-deep) 0%,
    var(--gold-soft) 25%,
    var(--gold) 50%,
    var(--gold-soft) 75%,
    var(--gold-deep) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(18, 184, 160, 0.3));
  animation: lineUp 1s var(--ease) 0.34s forwards, goldShimmer 6s linear infinite;
}
@keyframes goldShimmer {
  to { background-position: 220% center; }
}
/* The line box is clipped (overflow:hidden) for the slide-up reveal, which cuts the
   gold word's glow into hard edges. Once the reveal finishes, let it spill out. */
.hero__title .line--outline { animation: lineUnclip 0.01s linear 1.6s forwards; }
@keyframes lineUnclip { to { overflow: visible; } }

.hero__sub {
  max-width: 600px;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 38px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.stat__label { font-size: 0.82rem; color: var(--muted-2); margin-top: 6px; }
.stat__divider { width: 1px; height: 38px; background: var(--line); }

/* ---------- Hero dot-matrix reveal ---------- */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* fade the field toward the edges so it melts into the black */
  -webkit-mask-image: radial-gradient(92% 86% at 50% 44%, #000 34%, transparent 84%);
  mask-image: radial-gradient(92% 86% at 50% 44%, #000 34%, transparent 84%);
}
.hero--split > *:not(.hero-dots) { position: relative; z-index: 1; }

/* ---------- Floating pill nav (marketing pages only) ---------- */
.nav:not(.appnav) {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 900px);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  padding: 10px 12px 10px 24px;
}
.nav:not(.appnav).is-scrolled {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: var(--shadow);
}

/* ---------- Hero: full-bleed dot field, copy centered on top ----------
   (sign-in-flow layout: the dot matrix owns the whole viewport, the
   copy sits centered over it, floating cards drift at the edges) */
.hero--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: none;
  width: 100%;
  overflow: hidden;
}
.hero--split .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}
.hero--split .hero__title {
  text-align: center;
  font-size: clamp(2.9rem, 7.5vw, 6.2rem);
  margin-bottom: 26px;
}
.hero--split .hero__actions { justify-content: center; }
.hero--split .hero__stats { justify-content: center; }
.hero--split .hero__sub { margin-bottom: 36px; }

/* the stage is now a full-bleed backdrop layer behind the copy */
.hero--split .hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  min-height: 0;
  pointer-events: none;
}
/* (the old glow wash behind the card cluster is gone — flat bg + dots) */

/* floating cards */
.fc {
  position: absolute;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: fcFloat 8s var(--ease) var(--d, 0s) infinite alternate;
  will-change: transform;
}
.fc--room {
  z-index: 2;
  top: 12%;
  left: 6%;
  width: 62%;
  min-width: 240px;
  padding: 16px 16px 14px;
  display: grid;
  gap: 10px;
}
.fc__top { display: flex; align-items: center; justify-content: space-between; }
.fc__top b { font-family: var(--font-display); font-size: 0.98rem; }
.fc__live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #3fb98f; }
.fc__live i { width: 6px; height: 6px; border-radius: 50%; background: #3fb98f; box-shadow: 0 0 8px #3fb98f; animation: pulseDot 1.6s infinite; }
.fc__topic { color: var(--muted); font-size: 0.8rem; }
.fc__bubbles { display: flex; }
.fcb {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.7rem;
  color: var(--on-accent);
  border: 2px solid var(--bg-2);
  margin-left: -8px;
}
.fcb:first-child { margin-left: 0; }
.fcb--lg { width: 40px; height: 40px; font-size: 0.8rem; margin: 0; flex: none; }
.fcb--teal { background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); }
.fcb--coral { background: linear-gradient(135deg, #f6a988, var(--amber)); color: #3a1a0c; }
.fcb--violet { background: linear-gradient(135deg, #a99bf7, var(--violet)); color: #1a1440; }
.fcb--sky { background: linear-gradient(135deg, #8fc0f2, var(--sky)); color: #0c2340; }
.fcb--more { background: var(--panel); color: var(--muted); border-color: var(--bg-2); }
.fc__voice {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 184, 160, 0.4);
  background: rgba(18, 184, 160, 0.08);
  font-size: 0.76rem;
  color: var(--fg);
}
.fc__voice svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: auto; }
.eq i { width: 3px; background: var(--gold); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(1){ height: 5px; animation-delay: 0s; }
.eq i:nth-child(2){ height: 11px; animation-delay: 0.15s; }
.eq i:nth-child(3){ height: 7px; animation-delay: 0.3s; }
.eq i:nth-child(4){ height: 9px; animation-delay: 0.45s; }
@keyframes eq { 0%,100%{ transform: scaleY(0.4); } 50%{ transform: scaleY(1); } }

.fc--chat {
  z-index: 4;
  top: 0;
  right: 0;
  width: 58%;
  min-width: 220px;
  padding: 13px 15px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-color: rgba(124, 108, 240, 0.4);
}
.fc--chat b { font-family: var(--font-display); font-size: 0.85rem; }
.fc--chat p { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.fc--idea {
  z-index: 3;
  bottom: 8%;
  right: 8%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  border-color: rgba(240, 133, 91, 0.4);
}
.fc--idea b { color: var(--amber); }
.fc__spark {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  color: var(--on-accent);
  background: linear-gradient(135deg, #f6a988, var(--amber));
}
.fc__spark svg { width: 15px; height: 15px; }

.fc--join {
  z-index: 3;
  top: 58%;
  left: 9%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fg);
}
.fc--join b { font-family: var(--font-display); }
.fcb--sm { width: 26px; height: 26px; font-size: 0.62rem; margin: 0; flex: none; }

.fc--floor {
  z-index: 3;
  top: 46%;
  right: 1%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fg);
  border-color: rgba(124, 108, 240, 0.4);
}
.fc--floor b { font-family: var(--font-display); }
.fc--floor em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--violet);
  background: rgba(124, 108, 240, 0.12);
  border-radius: 8px;
  padding: 2px 8px;
}

.fc--rooms {
  z-index: 2;
  bottom: 9%;
  left: 38%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fg);
  border-color: rgba(18, 184, 160, 0.4);
}
.fc--rooms b { font-family: var(--font-display); color: var(--gold-deep); }
.fc__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fb98f;
  box-shadow: 0 0 8px #3fb98f;
  animation: pulseDot 1.6s infinite;
  flex: none;
}
@media (max-width: 460px) {
  .fc--floor, .fc--rooms { display: none; }
}

/* glowing icon bubbles scattered around, overlapping the cards */
.ib {
  position: absolute;
  z-index: 1;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  animation: fcFloat 7s var(--ease) var(--d, 0s) infinite alternate;
}
.ib svg { width: 24px; height: 24px; }
.ib--teal   { color: var(--gold);   box-shadow: 0 10px 30px rgba(18, 184, 160, 0.28); }
.ib--coral  { color: var(--amber);  box-shadow: 0 10px 30px rgba(240, 133, 91, 0.28); }
.ib--sky    { color: var(--sky);    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.26); }
.ib--violet { color: var(--violet); box-shadow: 0 10px 30px rgba(124, 108, 240, 0.28); }
.ib--amber  { color: var(--amber);  box-shadow: 0 10px 30px rgba(240, 133, 91, 0.24); }

@keyframes fcFloat {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(0, -14px); }
}

/* edge placements for the full-bleed hero: cards hug the left/right
   bands so the centered copy always stays clear of them */
.hero--split .fc { opacity: 0.94; }
.hero--split .fc--room  { top: 18%; left: 2.5%; right: auto; width: min(300px, 22vw); }
.hero--split .fc--chat  { top: auto; bottom: 24%; left: 3%; right: auto; width: min(280px, 21vw); }
.hero--split .fc--join  { top: 56%; left: 6%; }
.hero--split .fc--floor { top: 20%; right: 3%; left: auto; }
.hero--split .fc--idea  { bottom: 34%; right: 5%; }
.hero--split .fc--rooms { bottom: 18%; right: 9%; left: auto; }
@media (max-width: 1080px) {
  .hero--split .hero-stage { display: none; }
}

/* ambient floating icon bubbles scattered through page sections.
   They sit BEHIND content (z-index:-1 within each section) so they
   can never cover text, and the container clips them so they never
   cause horizontal scroll. */
.has-orbs { position: relative; isolation: isolate; }
.sec-orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.sec-orbs .ib { position: absolute; opacity: 0.92; width: 46px; height: 46px; }
.sec-orbs .ib svg { width: 21px; height: 21px; }
@media (max-width: 1100px) {
  .sec-orbs { display: none; }
}

@media (max-width: 900px) {
  .hero--split { padding-top: 96px; }
}
@media (max-width: 460px) {
  .fc__voice { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fc, .ib { animation: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: var(--panel);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee__track .dot { color: var(--gold); }
.marquee__track span:not(.dot) { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(18,184,160,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--panel-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  margin-bottom: 22px;
  background: rgba(18, 184, 160, 0.04);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.card:hover .card__icon {
  border-color: var(--gold);
  background: rgba(18, 184, 160, 0.1);
  box-shadow: 0 0 24px rgba(18, 184, 160, 0.18);
}
.card__icon svg { width: 24px; height: 24px; color: var(--gold); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.how__intro { position: sticky; top: 120px; }
.how__steps { display: flex; flex-direction: column; gap: 14px; }
.how__step {
  display: flex;
  gap: 26px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.how__step:hover { transform: translateX(8px); border-color: var(--gold); background: var(--panel-2); }
.how__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.how__step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.how__step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Plans ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--gold); }
.plan--featured {
  background: linear-gradient(165deg, var(--gold-soft) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--on-accent);
  border-color: var(--gold);
  box-shadow: 0 24px 70px rgba(18, 184, 160, 0.22);
}
.plan--featured:hover { border-color: var(--gold-soft); }
.plan--featured .plan__tag,
.plan--featured .plan__list li { color: rgba(26,18,6,0.72); }
.plan--featured .plan__list li::before { background: var(--on-accent); }
.plan--featured .btn--primary { background: var(--on-accent); color: var(--gold-soft); }
.plan--featured .plan__soon { color: rgba(26,18,6,0.6); }
.plan__flag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--on-accent);
  color: var(--gold-soft);
  padding: 5px 12px;
  border-radius: 100px;
}
.plan__head { margin-bottom: 24px; }
.plan__head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.plan--featured .plan__head h3 { color: rgba(26,18,6,0.62); }
.plan__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.plan--featured .plan__price { color: rgba(26,18,6,0.55); }
.plan__price span { font-size: 2.75rem; line-height: 1; color: var(--fg); }
.plan--featured .plan__price span { color: var(--on-accent); }
.plan__tag { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--muted); }
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan__soon { display: block; text-align: center; font-size: 0.78rem; color: var(--muted-2); margin-top: 12px; }

/* ---------- Waitlist ---------- */
.waitlist { display: flex; justify-content: center; }
.waitlist__inner {
  width: 100%;
  max-width: 620px;
  text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
}
.waitlist__inner::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  width: 140%; height: 140%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, rgba(18,184,160,0.14), transparent 55%);
  pointer-events: none;
}
.waitlist .eyebrow, .waitlist .section__title, .waitlist .section__lede { position: relative; }
.waitlist .section__lede { margin-left: auto; margin-right: auto; }
.waitlist__form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  text-align: left;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select {
  width: 100%;
  padding: 16px 16px;
  background: rgba(245,239,230,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  appearance: none;
}
.field select { cursor: pointer; color: var(--muted); padding-right: 44px; }
.field select:valid { color: var(--fg); }
.field__chevron {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(18,184,160,0.07);
  box-shadow: 0 0 0 3px rgba(18,184,160,0.12);
}
.field label {
  position: absolute;
  left: 16px; top: 16px;
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s var(--ease);
  background: var(--bg);
  padding: 0 6px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -9px; left: 12px;
  font-size: 0.74rem;
  color: var(--gold);
}
.field select option { background: #15110c; color: var(--fg); }
.waitlist__form .btn { grid-column: 1 / -1; margin-top: 6px; }
.waitlist__fineprint { grid-column: 1 / -1; text-align: center; font-size: 0.8rem; color: var(--muted-2); margin-top: 2px; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 5vw, 56px) 36px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand p { color: var(--muted); margin-top: 10px; font-size: 0.92rem; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 0.92rem; }
.footer__links a { color: var(--muted); transition: color 0.25s ease; }
.footer__links a:hover { color: var(--fg); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--muted-2);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--muted-2); transition: color 0.25s ease; }
.footer__legal a:hover { color: var(--gold-soft); }

/* ---------- Personas (interactive tabs) ---------- */
.personas__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 760px; margin: 0 auto 38px;
}
.personas__tab {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  color: var(--muted); background: var(--panel);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 22px; cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.personas__tab:hover { color: var(--fg); border-color: var(--line-strong); transform: translateY(-2px); }
.personas__tab.is-active {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(18, 184, 160, 0.28);
}
.personas__panels { position: relative; max-width: 760px; margin: 0 auto; display: grid; }
.personas__panel {
  grid-column: 1; grid-row: 1;
  text-align: center;
  padding: clamp(30px, 5vw, 50px) clamp(24px, 5vw, 54px);
  border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(130% 130% at 50% 0%, rgba(18, 184, 160, 0.08), var(--panel) 60%);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.personas__panel.is-active { opacity: 1; visibility: visible; transform: none; }
.personas__icon {
  width: 60px; height: 60px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background: rgba(18, 184, 160, 0.06);
}
.personas__icon svg { width: 28px; height: 28px; color: var(--gold); }
.personas__panel h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.personas__panel > p { color: var(--muted); max-width: 540px; margin: 0 auto 24px; font-size: 1.04rem; }
.personas__panel .feature-points { display: inline-flex; flex-direction: column; gap: 11px; text-align: left; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Directional "fling in from the side" variants */
.reveal-left { transform: translateX(-80px); }
.reveal-right { transform: translateX(80px); }
.reveal-left.is-visible,
.reveal-right.is-visible { transform: none; }

/* Home feature cards fling in from alternating sides */
.features .cards .card:nth-child(odd) { transform: translateX(-55px); }
.features .cards .card:nth-child(even) { transform: translateX(55px); }
.features .cards .card.is-visible { transform: none; }

/* Staggered chat bubbles flinging in when a feature mockup reveals */
.feature-row__visual .mk-msg { opacity: 0; transform: translateX(-26px); }
.feature-row__visual .mk-msg--me { transform: translateX(26px); }
.feature-row__visual.is-visible .mk-msg { animation: msgIn 0.55s var(--ease) forwards; }
.feature-row__visual.is-visible .mk-msg:nth-child(2) { animation-delay: 0.12s; }
.feature-row__visual.is-visible .mk-msg:nth-child(3) { animation-delay: 0.24s; }
.feature-row__visual.is-visible .mk-msg:nth-child(4) { animation-delay: 0.36s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }

/* 3D spin-on-hover for icons */
.card__icon, .feature-row__icon, .personas__icon { perspective: 600px; }
.card__icon svg, .feature-row__icon svg, .personas__icon svg { transition: transform 0.8s var(--ease); }
.card__icon:hover svg,
.feature-row__icon:hover svg,
.personas__icon:hover svg { transform: rotateY(360deg); }

/* ---------- Nav active state ---------- */
.nav__links a[aria-current="page"] { color: var(--gold-soft); }

/* =========================================================
   Subpages — shared building blocks
   ========================================================= */

/* Page header */
.page-head {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(140px, 22vh, 240px) clamp(20px, 5vw, 40px) clamp(34px, 6vh, 72px);
  text-align: center;
  position: relative;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.grad {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-soft), var(--gold), var(--gold-soft), var(--gold-deep));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(18, 184, 160, 0.28));
  animation: goldShimmer 6s linear infinite;
}
.page-head__lede {
  margin: 26px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.page-head__actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Section heading helper for centered subpage sections */
.section--center { text-align: center; }
.section--center .section__head { margin-left: auto; margin-right: auto; }
.section--center .section__lede { margin-left: auto; margin-right: auto; }
.section__cta { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- Feature detail rows ---------- */
.feature-rows {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) clamp(20px, 5vw, 40px) clamp(40px, 7vh, 90px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 9vh, 120px);
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature-row__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  margin-bottom: 22px;
  background: rgba(18, 184, 160, 0.05);
}
.feature-row__icon svg { width: 26px; height: 26px; color: var(--gold); }
.feature-row__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.feature-row__text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; max-width: 480px; }
.feature-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-points li { position: relative; padding-left: 28px; color: var(--fg); font-size: 0.98rem; }
.feature-points li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-row--flip .feature-row__visual { order: -1; }

/* ---------- App mockups ---------- */
.mockup {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245,239,230,0.05), rgba(245,239,230,0.015));
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: floaty 9s var(--ease) infinite alternate;
}
.feature-row:nth-child(even) .mockup { animation-delay: -4.5s; }
@keyframes floaty { to { transform: translateY(-12px); } }
.mockup::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(18,184,160,0.08), transparent 60%);
  pointer-events: none;
}
.mockup__bar { display: flex; gap: 7px; margin-bottom: 16px; }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }
.mockup__bar i:nth-child(1) { background: rgba(232,96,78,0.65); }
.mockup__bar i:nth-child(2) { background: rgba(240,133,91,0.65); }
.mockup__bar i:nth-child(3) { background: rgba(18,184,160,0.65); }
.mk-line { height: 7px; border-radius: 4px; background: var(--line-strong); }
.mk-line.sm { width: 55%; }
.mk-line + .mk-line { margin-top: 7px; }

/* chat */
.mk-chat { display: flex; flex-direction: column; gap: 13px; }
.mk-msg { display: flex; gap: 10px; align-items: flex-start; }
.mk-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); flex: none; }
.mk-bubble { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; flex: 1; max-width: 78%; }
.mk-msg--me { flex-direction: row-reverse; }
.mk-msg--me .mk-bubble { background: rgba(18,184,160,0.14); border-color: var(--line-strong); }
.mk-msg--me .mk-avatar { background: var(--panel-2); border: 1px solid var(--line); }

/* video grid */
.mk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mk-tile { aspect-ratio: 16/10; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(245,239,230,0.07), rgba(245,239,230,0.02)); position: relative; }
.mk-tile::before { content: ""; position: absolute; left: 14px; bottom: 14px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.mk-tile--live::after { content: "LIVE"; position: absolute; top: 9px; right: 9px; font-size: 0.52rem; letter-spacing: 0.1em; color: var(--on-accent); background: var(--gold); padding: 2px 6px; border-radius: 6px; font-family: var(--font-display); font-weight: 700; }

/* breakout rooms */
.mk-rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mk-room { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px; }
.mk-room__dots { display: flex; gap: 6px; margin-bottom: 12px; }
.mk-room__dots i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: block; }
.mk-room__dots i:nth-child(2) { background: linear-gradient(135deg, var(--amber), var(--gold-deep)); }
.mk-room__dots i:nth-child(3) { background: linear-gradient(135deg, var(--rose), var(--gold-deep)); }

/* webinar */
.mk-stage { aspect-ratio: 16/8; border-radius: 12px; border: 1px solid var(--line-strong); background: radial-gradient(circle at 50% 38%, rgba(18,184,160,0.2), rgba(245,239,230,0.02) 70%); position: relative; margin-bottom: 10px; display: grid; place-items: center; }
.mk-stage i { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: block; }
.mk-audience { display: flex; gap: 8px; }
.mk-audience i { flex: 1; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); display: block; }

/* talk to creators */
.mk-creator { display: flex; flex-direction: column; gap: 16px; }
.mk-creator__head { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(18,184,160,0.06); }
.mk-avatar--lg { width: 44px; height: 44px; }
.mk-creator__meta { flex: 1; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.mk-badge { font-family: var(--font-display); font-weight: 700; font-size: 0.52rem; letter-spacing: 0.12em; color: var(--on-accent); background: var(--gold); padding: 3px 8px; border-radius: 6px; }
.mk-msg--creator .mk-bubble { background: rgba(18,184,160,0.14); border-color: var(--line-strong); }

/* session replays library */
.mk-library { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mk-replay { aspect-ratio: 16/10; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(245,239,230,0.07), rgba(245,239,230,0.02)); position: relative; }
.mk-replay::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); border-left: 15px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* ---------- Replaces strip ---------- */
.replaces {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.replaces__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.replaces__chip {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  position: relative;
}
.replaces__chip s { color: var(--muted-2); text-decoration-color: var(--rose); }

/* ---------- Timeline (how it works) ---------- */
.timeline {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) clamp(20px, 5vw, 40px) clamp(40px, 7vh, 90px);
}
.tl-step { position: relative; padding-left: 88px; padding-bottom: clamp(40px, 7vh, 84px); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--line-strong), transparent);
}
.tl-step:last-child::before { display: none; }
.tl-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  background: radial-gradient(circle, rgba(18,184,160,0.12), transparent 72%);
}
.tl-num span { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tl-step h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.tl-step > p { color: var(--muted); max-width: 580px; margin-bottom: 20px; }
.tl-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.tl-card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease; }
.tl-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.tl-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.tl-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(20px, 4vh, 50px) clamp(20px, 5vw, 40px) clamp(40px, 7vh, 90px); }
.faq__item { border-top: 1px solid var(--line); padding: 4px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: 0 0 22px; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px) clamp(80px, 12vh, 140px); }
.cta-band__inner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 28px;
  padding: clamp(46px, 7vw, 88px) clamp(24px, 5vw, 56px);
  background: radial-gradient(130% 130% at 50% 0%, rgba(18,184,160,0.13), var(--panel) 58%);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.02; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 18px auto 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Join (waitlist page) ---------- */
.join {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(124px, 18vh, 210px) clamp(20px, 5vw, 40px) clamp(70px, 11vh, 130px);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px); align-items: center;
}
.join__copy h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.04em; line-height: 1.0; margin: 8px 0 20px; }
.join__copy .lede { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 480px; margin-bottom: 32px; }
.join__benefits { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.join__benefits li { position: relative; padding-left: 36px; }
.join__benefits li svg { position: absolute; left: 0; top: 2px; width: 23px; height: 23px; color: var(--gold); }
.join__benefits b { font-family: var(--font-display); font-weight: 600; }
.join__benefits span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.join__social { margin-top: 34px; display: flex; align-items: center; gap: 14px; }
.join__avatars { display: flex; }
.join__avatars i { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); background: linear-gradient(135deg, var(--gold), var(--gold-deep)); margin-left: -12px; display: block; }
.join__avatars i:nth-child(1) { margin-left: 0; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); }
.join__avatars i:nth-child(3) { background: linear-gradient(135deg, var(--amber), var(--gold-deep)); }
.join__avatars i:nth-child(4) { background: linear-gradient(135deg, var(--rose), var(--gold-deep)); }
.join__social p { color: var(--muted); font-size: 0.92rem; }
.join__social b { color: var(--fg); font-family: var(--font-display); }
.join__card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 24px;
  background: var(--panel); padding: clamp(28px, 4vw, 42px);
}
.join__card::before {
  content: ""; position: absolute; top: -45%; left: 50%; width: 150%; height: 150%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, rgba(18,184,160,0.12), transparent 55%);
  pointer-events: none;
}
.join__card h2 { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 6px; }
.join__card .note { position: relative; color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.join__card .waitlist__form { margin-top: 0; }

/* ---------- Agreement (waitlist) ---------- */
.agree { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 2px; }
.agree__preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(245, 239, 230, 0.02);
  padding: 16px 18px;
  max-height: 168px;
  overflow-y: auto;
}
.agree__title { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; margin-bottom: 12px; color: var(--fg); }
.agree__preview ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
.agree__preview li { position: relative; padding-left: 20px; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.agree__preview li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.agree__links { margin-top: 12px; font-size: 0.82rem; color: var(--muted-2); }
.agree__links a, .agree__check a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.agree__check { display: flex; align-items: flex-start; gap: 11px; font-size: 0.9rem; color: var(--muted); cursor: pointer; line-height: 1.45; }
.agree__check input {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: rgba(245, 239, 230, 0.03);
  cursor: pointer; position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.agree__check input:checked { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); border-color: var(--gold); }
.agree__check input:checked::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.agree__check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Legal pages (terms / privacy) ---------- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 40px) clamp(60px, 10vh, 120px);
}
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 10px; }
.legal__updated { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 8px; }
.legal__intro { color: var(--muted); font-size: 1.05rem; margin: 18px 0 8px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal li { padding-left: 4px; }
.legal a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--fg); font-weight: 600; }

/* ---------- Subpage responsive ---------- */
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row--flip .feature-row__visual { order: 0; }
  .feature-row__visual { order: -1; }
  .join { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .tl-step { padding-left: 0; }
  .tl-step::before { display: none; }
  .tl-num { position: static; margin-bottom: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards, .plans__grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 30px; }
  .how__intro { position: static; }
  .plan--featured { order: -1; }
}
@media (max-width: 560px) {
  .waitlist__form { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .stat__divider { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__title .line { overflow: visible; }
}

/* ---------- PEEK INSIDE THE APP (home) ---------- */
.peek__frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  max-width: 980px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.peek__app {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  min-height: 340px;
}
.peek__side { border-right: 1px solid var(--line); padding-right: 12px; }
.peek__label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px 8px;
}
.peek__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.peek__item i {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  flex: none;
}
.peek__item.is-active {
  background: linear-gradient(135deg, rgba(18, 184, 160, 0.16), rgba(14, 149, 133, 0.1));
  color: var(--gold-soft);
}
.peek__item.is-active i { background: var(--gold); border-color: var(--gold); }
.peek__welcome { display: grid; gap: 3px; margin-bottom: 14px; }
.peek__welcome strong { font-family: var(--font-display); font-size: 1.05rem; }
.peek__welcome span { color: var(--muted); font-size: 0.78rem; }
.peek__rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.peek__room {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.peek__room-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.peek__room-top b { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; }
.peek__room-top em {
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--muted);
  flex: none;
}
.peek__room-top em.is-live { color: #9fdca6; border-color: rgba(159, 220, 166, 0.45); }
.peek__meta { color: var(--muted); font-size: 0.66rem; }
.peek__faces { display: flex; }
.peek__faces i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 184, 160, 0.4), rgba(14, 149, 133, 0.25));
  border: 2px solid var(--bg-2);
  margin-left: -6px;
}
.peek__faces i:first-child { margin-left: 0; }
.peek__voicebar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid rgba(18, 184, 160, 0.4);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.74rem;
  color: var(--fg);
}
.peek__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fdca6;
  animation: peekPulse 1.6s infinite;
}
@keyframes peekPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.peek__voicebar b {
  font-weight: 600;
  font-size: 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
}
.peek__voicebar b:first-of-type { margin-left: auto; }
@media (max-width: 760px) {
  .peek__app { grid-template-columns: 1fr; }
  .peek__side { display: none; }
  .peek__rooms { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .peek__pulse { animation: none; }
}

/* ---------- Globe section (the crowd is global) ---------- */
.globe-sec {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.globe-wrap--flat { display: none; } /* cobe CDN or WebGL unavailable */
.globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.globe-canvas.is-ready { opacity: 1; }
.globe-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.city-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 7px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}
.city-chip b { font-family: var(--font-display); font-weight: 600; color: var(--fg); }
.city-chip__n {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.city-chip i { font-style: normal; font-size: 0.68rem; font-variant-numeric: tabular-nums; }
.city-chip i.up { color: var(--gold-deep); }
.city-chip i.down { color: var(--rose); }
@media (max-width: 900px) {
  .globe-sec { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 400px; }
}

/* ---------- Scroll tilt (container scroll animation) ----------
   The app frame starts tipped back in 3D and stands upright as it
   scrolls into view; script.js drives the angle from scroll progress.
   The initial values here match progress 0 so there's no flash. */
.scrolltilt {
  transform: perspective(1100px) rotateX(20deg) scale(1.05);
  will-change: transform;
}
@media (max-width: 768px) {
  .scrolltilt { transform: perspective(1100px) rotateX(20deg) scale(0.82); }
}
@media (prefers-reduced-motion: reduce) {
  .scrolltilt { transform: none !important; }
}

/* ---------- Trademark mark ----------
   Tiny ™ riding the top corner of the brand name (trademark pending). */
.tm {
  font-size: 0.42em;
  font-weight: 500;
  vertical-align: super;
  line-height: 0;
  letter-spacing: 0;
  margin-left: 1px;
  color: var(--muted-2);
  -webkit-text-fill-color: var(--muted-2); /* wins over gradient-clipped text */
}
