/* ==========================================================================
   RBX Multiple — homepage (V2: monochrome + liquid glass)
   index.html loads only this file. Other pages keep styles.css.
   ========================================================================== */

:root {
  --bg: #000;
  --card: #050505;
  --card-2: #0A0A0A;
  --line: #1A1A1A;
  --line-2: #262626;
  --text: #F5F5F5;
  --text-2: #D4D4D4;
  --muted: #A8A8A8;
  --dim: #9A9A9A;
  --faint: #8A8A8A;

  --f-sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 28px;
  --pad-y: 64px;
  --pad-x: 56px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* liquid glass */
  --glass-blur: 22px;
  --glass-fill: linear-gradient(145deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.03) 62%, rgba(255,255,255,0.11) 100%);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(255,255,255,0.10),
    inset 1px 0 0 rgba(255,255,255,0.14),
    inset -1px 0 0 rgba(255,255,255,0.07),
    inset 0 0 32px rgba(255,255,255,0.04),
    0 24px 70px rgba(0,0,0,0.55);

  --theme-progress: #FFFFFF;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 32px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 500; color: #fff; }
p { margin: 0; }
code { font-family: var(--f-mono); }
a { color: #fff; }
a:hover { color: var(--text-2); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
::selection { background: #fff; color: #000; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--f-mono); }
.kicker {
  font: 400 12px/1.4 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #000;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #000; }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
/* specular rim: bright top-left and bottom-right edges */
.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.10) 28%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 72%, rgba(255,255,255,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* soft sheen under the content */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(220px circle at var(--gx, 22%) var(--gy, -30%), rgba(255,255,255,0.16), transparent 70%),
    radial-gradient(120% 70% at 18% 0%, rgba(255,255,255,0.12), transparent 55%);
}
.glass--chip { --glass-blur: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 20px rgba(0,0,0,0.35); }
.glass--chip::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 26px 0 20px;
  border-radius: 14px;
  border: 0;
  font: 600 16px/1 var(--f-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s;
}
.btn img, .btn svg { flex: none; }
.btn-white { background: #fff; color: #000; box-shadow: 0 10px 40px rgba(255,255,255,0.12); }
.btn-white:hover { color: #000; transform: translateY(-2px); box-shadow: 0 16px 50px rgba(255,255,255,0.22); }
.btn-glass { color: #fff; font-weight: 500; padding: 0 22px 0 16px; --glass-blur: 14px; }
.btn-glass:hover { color: #fff; transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 18px 0 14px; gap: 8px; font-size: 14px; border-radius: 999px; }
.btn-sm img { width: 18px; height: 18px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #F0F0F0;
  text-decoration: none;
}
.chip img { width: 18px; height: 18px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.9); flex: none; }

/* ---------- Nav ---------- */
.site-head { position: sticky; top: 0; z-index: 50; padding: 16px var(--gutter) 0; }
.nav {
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 8px 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Dark smoked pill — the shared glass rim is too bright on the nav. */
.nav.glass {
  --glass-blur: 14px;
  background: linear-gradient(100deg, rgba(32,32,32,0.92) 0%, rgba(12,12,12,0.94) 42%, rgba(0,0,0,0.96) 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 16px 36px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
}
.nav.glass::before {
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 34%, rgba(255,255,255,0) 58%);
}
.nav.glass::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 46%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav__links { flex: 1; display: flex; justify-content: center; gap: 2px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #C8C8C8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__menu path { transition: transform 0.3s var(--ease); transform-box: view-box; transform-origin: 12px 12px; }
.nav__menu[aria-expanded="true"] path:first-child { transform: translateY(3px) rotate(45deg); }
.nav__menu[aria-expanded="true"] path:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav-sheet {
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 8px auto 0;
  padding: 10px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform-origin: top center;
  animation: sheet-in 0.3s var(--ease);
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a:not(.btn) {
  padding: 14px 14px;
  border-radius: 14px;
  color: #E6E6E6;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.nav-sheet a:not(.btn):hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-sheet .btn { margin-top: 6px; width: 100%; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Layout ---------- */
.stack { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--gutter) 24px; display: flex; flex-direction: column; gap: 16px; }
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: var(--pad-y) var(--pad-x);
}
.h2 {
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.head { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  min-height: 800px;
  display: flex;
}
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.05) 70%),
    linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 30%);
}
.hero__sweep {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.07) 48%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.07) 52%, transparent 60%);
  mix-blend-mode: screen;
  animation: sweep 9s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sweep { 0% { transform: translateX(-35%); } 60%, 100% { transform: translateX(35%); } }

.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 64px 56px;
}
.hero__copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #EDEDED;
}
.badge__sep { color: #8F8F8F; }
.badge__ver { font: 400 12px/1 var(--f-mono); color: #C8C8C8; }
.hero h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 .serif { letter-spacing: -0.02em; }
.hero__lead { max-width: 500px; font-size: 18px; line-height: 1.6; color: #B8B8B8; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__also { display: flex; flex-direction: column; gap: 10px; }
.hero__also-label { font-size: 13px; color: var(--dim); }
.hero__also-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.hero__preview { flex: 0 1 400px; min-width: 0; margin-left: auto; display: flex; flex-direction: column; gap: 14px; }
.preview-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #E6E6E6; }
.preview-note { font-size: 13px; color: var(--dim); text-align: center; }

/* Extension panel (liquid glass shell) */
.panel { border-radius: 24px; padding: 8px; --glass-blur: 22px; box-shadow: var(--glass-shadow), 0 40px 100px rgba(0,0,0,0.65); }
.panel__top { display: flex; align-items: center; gap: 10px; padding: 10px 10px 14px; }
.panel__top img { width: 26px; height: 26px; border-radius: 8px; }
.panel__name { flex: 1; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.panel__tag { font: 400 10px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #C8C8C8; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); }
.panel__body { border-radius: 18px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.panel__place { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.panel__row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: #A8A8A8; }
.panel__live { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.panel__url {
  font: 400 12px/1.4 var(--f-mono);
  color: var(--text-2);
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel__launch {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font: 600 14px/1 var(--f-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.panel__launch:hover { transform: translateY(-1px); }
.panel__list-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; font-size: 12px; font-weight: 500; color: #A8A8A8; }
.panel__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-grid; place-items: center;
  font: 400 11px/1 var(--f-mono); color: #E6E6E6;
}
.acc-list { list-style: none; margin: 0; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.acc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.acc:hover { background: rgba(255,255,255,0.04); }
.acc.is-selected { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.acc input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: #fff; cursor: pointer; }
.acc__ava {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center; overflow: hidden;
  font-weight: 500; font-size: 13px; color: #F0F0F0;
}
.acc__ava img { width: 100%; height: 100%; object-fit: cover; }
.acc__info { flex: 1; min-width: 0; }
.acc__name { font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }
.acc__meta { font: 400 11px/1.5 var(--f-mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc__status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; color: #fff; }
.acc__status--idle { color: #C8C8C8; }
.acc__status--off { color: var(--dim); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.8); }
.dot--idle { background: #9A9A9A; box-shadow: none; }
.dot--off { background: transparent; border: 1px solid var(--faint); box-shadow: none; }
.panel__foot { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid rgba(255,255,255,0.07); }
.panel__btn {
  height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14); background: transparent;
  color: var(--text-2); font: 500 12px/1 var(--f-sans); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.panel__btn:hover { border-color: rgba(255,255,255,0.35); color: #fff; }
.panel__btn--primary { margin-left: auto; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1); color: #fff; font-weight: 600; padding: 0 14px; }

/* ---------- Features ---------- */
.features { display: flex; flex-direction: column; gap: 48px; }
.features__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.features__head .head { max-width: 600px; }
.features__head .h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.features__head > p { max-width: 360px; color: var(--muted); }
.grid-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.feat { background: var(--card); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: background-color 0.25s; }
.feat:hover { background: #090909; }
.feat__top { display: flex; align-items: center; justify-content: space-between; }
.feat__n { font: 400 12px/1 var(--f-mono); color: var(--faint); }
.feat__top svg { color: #E0E0E0; }
.feat h3 { margin-top: 18px; font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.feat p { font-size: 15px; color: var(--muted); max-width: 300px; }
.facts-line { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 400 12px/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--dim); list-style: none; margin: 0; padding: 0; }

/* ---------- Wordmark ---------- */
.wordmark { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.wordmark img { width: 100%; height: auto; aspect-ratio: 2360 / 640; }
.wordmark__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.18) 45%, transparent 60%);
  mix-blend-mode: overlay;
  animation: shine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
.wordmark__tag {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  font: 400 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #E6E6E6; white-space: nowrap;
}

/* ---------- Setup ---------- */
.setup { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.setup__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step__n { flex: none; width: 28px; padding-top: 3px; font: 400 13px/1.4 var(--f-mono); color: var(--faint); }
.step__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step h3 { font-size: 19px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--muted); }
.step code { font-size: 13px; color: #E6E6E6; }

.video { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.yt-player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid #1F1F1F;
  border-radius: 20px;
  overflow: hidden;
  background: #000 url("images/hero-glyphs.webp") 80% 60% / cover no-repeat;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.yt-player__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: grayscale(1) contrast(1.1); transition: opacity 0.4s, transform 0.8s var(--ease), filter 0.4s; }
.yt-player:hover .yt-player__thumb { opacity: 0.8; filter: grayscale(0.2); transform: scale(1.03); }
.yt-player__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 55%); }
.yt-player__play {
  position: absolute; left: 50%; top: 46%;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  --glass-blur: 10px;
  transition: transform 0.35s var(--ease);
}
.yt-player__play svg { margin-left: 4px; }
.yt-player:hover .yt-player__play { transform: translate(-50%, -50%) scale(1.08); }
.yt-player__cap { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.yt-player__cap .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #C8C8C8; }
.yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-player.is-playing { cursor: default; }
.video__link { align-self: flex-end; font-size: 14px; color: #C8C8C8; text-decoration: none; }

/* ---------- Use cases ---------- */
.uses { display: flex; flex-direction: column; gap: 40px; }
.uses__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.use { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; border: 1px solid #1C1C1C; background: var(--card-2); transition: border-color 0.25s, transform 0.35s var(--ease); }
.use:hover { border-color: #2E2E2E; transform: translateY(-3px); }
.use__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: #111; color: #E6E6E6; }
.use h3 { margin-top: 10px; font-size: 20px; letter-spacing: -0.02em; }
.use p { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__aside { flex: 1 1 300px; min-width: 0; align-self: flex-start; }
.faq__aside .h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; }
.faq__aside p { font-size: 15px; color: var(--muted); }
.faq__aside a { margin-top: 6px; font-size: 15px; font-weight: 500; text-decoration: none; }
@media (min-width: 1000px) { .faq__aside { position: sticky; top: 110px; } }
.faq__list { flex: 2 1 540px; min-width: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: #E6E6E6; border: 1px solid #2A2A2A;
  transition: transform 0.3s var(--ease), background-color 0.2s, border-color 0.2s;
}
.faq-item summary:hover .faq-item__icon { border-color: #444; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: #fff; color: #000; border-color: #fff; }
.faq-item p { max-width: 620px; margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.faq-item p code { font-size: 13px; color: #E6E6E6; }
.faq-item p strong { color: var(--text-2); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  min-height: 500px;
  padding: 250px 40px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  text-align: center;
}
.cta__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%); }
.cta > *:not(.cta__art):not(.cta__scrim) { position: relative; }
.cta h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.cta__meta { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font: 400 11px/1 var(--f-mono); letter-spacing: 0.06em; color: #E0E0E0; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-direction: column; gap: 32px; padding: 48px var(--pad-x); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot__brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.foot__brand .brand { font-size: 18px; }
.foot__brand .brand img { width: 32px; height: 32px; }
.foot__brand p { font-size: 14px; color: var(--dim); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__h { font: 400 11px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.foot__col a { color: #C8C8C8; font-size: 14px; text-decoration: none; transition: color 0.15s; }
.foot__col a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot__also > span { font-size: 13px; color: var(--dim); margin-right: 6px; }
.chip--line { height: 34px; padding: 0 14px 0 10px; border: 1px solid var(--line-2); font-size: 13px; color: #E0E0E0; }
.chip--line img { width: 16px; height: 16px; }
.foot__copy { font-size: 13px; color: var(--faint); }

/* ---------- Toasts ---------- */
.ext-demo-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 250;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 20px; border-radius: 18px;
  color: #fff; font-size: 14px; font-weight: 500; text-align: center;
  opacity: 0; transform: translate(-50%, 120%);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}
.ext-demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes dl-toast-in { from { opacity: 0; transform: translateX(-50%) translateY(24px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes dl-toast-out { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(20px); } }
@keyframes dl-arrow-bounce { 0%, 100% { transform: translateY(0); } 55% { transform: translateY(4px); } }
@keyframes dl-check-pop { 0% { transform: scale(0.55); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes dl-btn-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

.dl-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 800;
  width: min(400px, calc(100vw - 24px));
  opacity: 0; transform: translateX(-50%) translateY(24px);
  pointer-events: none;
}
.dl-toast.is-visible { pointer-events: auto; animation: dl-toast-in 0.45s var(--ease) forwards; }
.dl-toast.is-hiding { animation: dl-toast-out 0.35s ease forwards; }
.dl-toast__wrap { overflow: hidden; border-radius: 20px; }
.dl-toast__line { position: relative; height: 2px; background: rgba(255,255,255,0.08); }
.dl-toast__line-fill { position: absolute; inset-block: 0; left: 0; width: 0; background: #fff; transition: width 0.06s linear; }
.dl-toast__line-fill.is-done { width: 100% !important; }
.dl-toast__body { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.dl-toast__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; }
.dl-toast__arrow { animation: dl-arrow-bounce 0.75s ease-in-out infinite; }
.dl-toast__check { animation: dl-check-pop 0.35s var(--ease) forwards; }
.dl-toast__info { flex: 1; min-width: 0; }
.dl-toast__file { margin-bottom: 4px; font: 400 11px/1.4 var(--f-mono); letter-spacing: 0.04em; color: #B8B8B8; }
.dl-toast__label { font-size: 15px; font-weight: 600; color: #fff; }
.dl-toast__sub { max-height: 0; margin-top: 4px; overflow: hidden; opacity: 0; color: #C8C8C8; font-size: 12px; line-height: 1.5; transition: max-height 0.35s var(--ease), opacity 0.35s ease; }
.dl-toast__sub.is-show { max-height: 60px; opacity: 1; }
.dl-toast__close { flex: none; align-self: flex-start; width: 32px; height: 32px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: transparent; color: #B8B8B8; font-size: 20px; line-height: 1; cursor: pointer; }
.dl-toast__close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.ext-download.is-dl-active { animation: dl-btn-pulse 0.9s ease-out infinite; pointer-events: none; }


/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__preview { margin: 0 auto; flex-basis: 440px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 720px) {
  :root { --gutter: 12px; --radius: 24px; --pad-y: 40px; --pad-x: 20px; --nav-h: 56px; }
  .site-head { padding-top: 12px; }
  .nav { padding: 0 6px 0 14px; gap: 8px; }
  .brand { font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  .nav__dl-long { display: none; }
  .stack { margin-top: 12px; gap: 12px; padding-bottom: 16px; }
  .hero { min-height: 0; }
  .hero__art { object-position: 78% 40%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.74) 50%, rgba(0,0,0,0.45) 100%); }
  .hero__inner { padding: 36px 20px 20px; gap: 28px; }
  .hero__copy { gap: 22px; }
  .hero h1 { font-size: 46px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; height: 54px; }
  .hero__preview { flex-basis: 100%; }
  .panel { padding: 6px; border-radius: 22px; }
  .features { gap: 28px; }
  .features__head .h2 { font-size: 34px; }
  .grid-lines { grid-template-columns: 1fr; }
  .feat { padding: 24px 20px; }
  .feat h3 { margin-top: 8px; }
  .wordmark img { width: 130%; max-width: none; margin-left: -15%; }
  .wordmark__tag { display: none; }
  .setup { gap: 28px; }
  .h2 { font-size: 32px; line-height: 1.05; }
  .yt-player__play { width: 72px; height: 72px; }
  .yt-player__cap .mono { display: none; }
  .uses { gap: 24px; }
  .use { padding: 22px; }
  .faq { gap: 24px; }
  .faq-item summary { padding: 18px 0; font-size: 17px; }
  .cta { min-height: 440px; padding: 200px 20px 28px; gap: 18px; }
  .cta h2 { font-size: 36px; }
  .cta .btn { align-self: stretch; }
  .foot { padding: 32px 20px; gap: 24px; }
  .foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
}



/* ==========================================================================
   Motion layer (V2.1) — every effect below is switched off for reduced motion
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* Hidden scrollbar: the page still scrolls; the line at the top shows position */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 500;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), #fff);
  box-shadow: 0 0 14px rgba(255,255,255,0.55);
  pointer-events: none;
}

/* Nav tightens into a smaller capsule once you scroll */
.nav { transition: max-width 0.7s var(--ease-out), height 0.5s var(--ease-out), background-color 0.3s; }
.site-head.is-compact .nav { max-width: 960px; height: 54px; }

/* ---- Hero intro ---- */
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__art { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.05); transition: transform 0.9s var(--ease-out); will-change: transform; }
.hero__twinkle {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 28%, #000 62%);
}
.js .hero__media { opacity: 0; transform: scale(1.1); }
.is-loaded .hero__media { animation: media-in 2s var(--ease-out) forwards; }
@keyframes media-in { to { opacity: 1; transform: none; } }

.js .intro { opacity: 0; transform: translateY(22px); }
.js .intro--blur { filter: blur(10px); }
.is-loaded .intro { animation: intro-in 1.1s var(--ease-out) forwards; animation-delay: calc(160ms + var(--i, 0) * 80ms); }
.is-loaded .intro--blur { animation-name: intro-in-blur; }
@keyframes intro-in { to { opacity: 1; transform: none; } }
@keyframes intro-in-blur { to { opacity: 1; transform: none; filter: none; } }

.js .intro--panel { transform: translateY(48px) scale(0.96); }
.is-loaded .intro--panel { animation: panel-in 1.4s var(--ease-out) forwards; animation-delay: 520ms; }
@keyframes panel-in { 0% { opacity: 0; transform: translateY(48px) scale(0.96); } 100% { opacity: 1; transform: none; } }

.js .acc { opacity: 0; transform: translateX(-12px); }
.is-loaded .acc { animation: row-in 0.8s var(--ease-out) forwards; animation-delay: calc(1100ms + var(--i, 0) * 110ms); }
@keyframes row-in { to { opacity: 1; transform: none; } }

/* Word-by-word headline reveal */
.words .w { display: inline-block; }
.js .words .w { opacity: 0; transform: translateY(0.4em) rotate(2deg); filter: blur(12px); }
.words.in .w { animation: word-in 1.1s var(--ease-out) forwards; animation-delay: calc(220ms + var(--i, 0) * 75ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }

/* ---- Scroll reveals ---- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); }
.js .rv-blur { filter: blur(8px); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

.js .stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), background-color 0.25s, border-color 0.25s;
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.settled > * { transition-delay: 0s; }
.js .stagger.in > .use:hover { transform: translateY(-4px); }

/* Feature icons draw themselves in */
.js .feat__top svg * { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 300ms); }
.js .stagger.in .feat__top svg * { stroke-dashoffset: 0; }

/* Spotlight that follows the pointer across the feature grid */
.feat { position: relative; overflow: hidden; }
.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.075), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.grid-lines:hover .feat::before { opacity: 1; }

/* ---- Ticker ---- */
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__group li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font: 400 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); white-space: nowrap;
}
.ticker__group li::after { content: ""; width: 4px; height: 4px; border-radius: 1px; background: #4A4A4A; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Wordmark: LED boot-up + scanline ---- */
.js .wordmark img { clip-path: inset(0 100% 0 0); }
.wordmark.in img { animation: boot 1.8s steps(36, end) 0.15s forwards; }
@keyframes boot { to { clip-path: inset(0 0 0 0); } }
.wordmark__scan {
  position: absolute; left: 0; right: 0; top: -35%; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.09), transparent);
  mix-blend-mode: screen;
  animation: scan 5.5s linear infinite;
  pointer-events: none;
}
@keyframes scan { to { top: 100%; } }

/* ---- Video play: soft pulse ring ---- */
.yt-player::after {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  animation: ring 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
.yt-player.is-playing::after { display: none; }
@media (max-width: 720px) { .yt-player::after { width: 72px; height: 72px; margin: -36px 0 0 -36px; } }
.js .rv.d1 { transition-delay: 0.1s; }
.js .rv.d2 { transition-delay: 0.2s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---- Buttons: light sweep on hover ---- */
.btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-white::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(0,0,0,0.09) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
}
.btn-white:hover::after { transform: translateX(130%); }

/* ---- Panel launch sequence ---- */
.spin {
  display: inline-block;
  width: 10px; height: 10px; flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.panel__launch .spin { border-color: rgba(0,0,0,0.2); border-top-color: #000; }
@keyframes spin { to { transform: rotate(360deg); } }
.acc__status.is-joining { color: #E6E6E6; }
.acc__status.is-live { color: #fff; }
.acc.is-launched .acc__ava { animation: ava-pop 0.9s var(--ease-out); }
@keyframes ava-pop {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); background: rgba(255,255,255,0.3); }
  100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); background: rgba(255,255,255,0.08); }
}
.is-busy { pointer-events: none; }
.is-shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ---- CTA: slow drift + breathing light ---- */
.cta__art { animation: drift 28s ease-in-out infinite alternate; transform-origin: 50% 35%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateY(-1.5%); } }
.cta__glow {
  position: absolute;
  left: 50%; top: 32%;
  width: 70%; height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,0.14), transparent);
  mix-blend-mode: screen;
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---- FAQ answer slides in ---- */
.faq-item[open] p { animation: faq-in 0.5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Reduced motion: everything visible, nothing moves ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-delay: 0s !important; }
  .js .intro, .js .acc, .js .hero__media, .js .rv, .js .stagger > *, .js .words .w {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .js .wordmark img { clip-path: none !important; }
  .js .feat__top svg * { stroke-dashoffset: 0 !important; }
  .hero__sweep, .wordmark__shine, .wordmark__scan, .hero__twinkle, .cta__glow, .yt-player::after { display: none; }
  .ticker__track { animation: none; }
  .dl-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
}
