:root {
  --bg: #050711;
  --bg-soft: #090d1b;
  --panel: rgba(17, 22, 41, 0.66);
  --panel-strong: rgba(20, 26, 49, 0.84);
  --line: rgba(139, 180, 255, 0.18);
  --line-strong: rgba(91, 227, 255, 0.34);
  --text: #f5f8ff;
  --muted: #a7b1c8;
  --dim: #72809d;
  --cyan: #42dcff;
  --blue: #4b7cff;
  --violet: #8b5cff;
  --green: #8dffbf;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(66, 220, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 8%, rgba(139, 92, 255, 0.17), transparent 28rem),
    linear-gradient(180deg, #070a15 0%, var(--bg) 42%, #03050d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
  animation: drift 10s ease-in-out infinite alternate;
}

.page-glow-one {
  top: 18%;
  left: -10rem;
  background: var(--cyan);
}

.page-glow-two {
  right: -12rem;
  bottom: 8%;
  background: var(--violet);
  animation-delay: -4s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 22, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.26);
}

.site-header.is-scrolled {
  background: rgba(5, 8, 18, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(66, 220, 255, 0.45));
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-name {
  color: var(--text);
}

.brand-category {
  color: var(--dim);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  border: 1px solid rgba(66, 220, 255, 0.38);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(66, 220, 255, 0.08);
}

/* Hamburger toggle - hidden on desktop, only shown once .nav-links itself
   hides (see the 1680px media query below), so there's always some way to
   reach every section by pointer or keyboard, not just on wide screens. */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(66, 220, 255, 0.06);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 22, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.26);
}

/* [hidden] must win over the display below - the panel starts hidden via
   the HTML `hidden` attribute and script.js only ever toggles that
   attribute, so this is the one place that turns it into a visible grid. */
.mobile-nav-panel:not([hidden]) {
  display: grid;
  gap: 4px;
}

.mobile-nav-panel a {
  padding: 12px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.mobile-nav-panel a.button {
  justify-self: start;
  margin-top: 6px;
}

.section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  width: min(1680px, calc(100% - 32px));
  grid-template-columns: minmax(760px, 0.84fr) minmax(840px, 1.16fr);
  align-items: center;
  gap: 28px;
  min-height: calc(100vh - 76px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

h1,
h2,
h3 {
  font-family: Sora, Inter, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(3.35rem, 4.24vw, 4.95rem);
  line-height: 1;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.03rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan), #6a8dff 52%, #b58cff);
  box-shadow: 0 0 34px rgba(66, 220, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  transform: translateY(-86px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% -8%;
  border-radius: 36px;
  background: linear-gradient(90deg, rgba(66, 220, 255, 0.35), rgba(139, 92, 255, 0.35));
  filter: blur(54px);
}

.desktop-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 180, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 36, 66, 0.8), rgba(8, 11, 23, 0.86));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(139, 180, 255, 0.14);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(167, 177, 200, 0.55);
}

.frame-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.frame-title img {
  width: 22px;
  height: 22px;
}

.frame-pill {
  border: 1px solid rgba(141, 255, 191, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  background: rgba(141, 255, 191, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
}

.screenshot {
  width: 100%;
  /* height:auto is required, not cosmetic: the <img> now carries width/height
     attributes (for CLS), and those map to a presentational height that would
     otherwise beat aspect-ratio and render the hero at its full 1149px height. */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  opacity: 0.96;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.glass-panel,
.feature-card,
.step-card,
.watch-card,
.beta-section,
.moment-card,
.moment-flow article,
.voice-card,
.voice-panel,
.question-grid article,
.comparison-grid,
.games-section,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.glass-panel {
  padding: 28px;
}

.glass-panel p {
  margin-top: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.mini-grid div {
  border: 1px solid rgba(139, 180, 255, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 6px;
  color: var(--dim);
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.moment-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    radial-gradient(circle at 12% 15%, rgba(66, 220, 255, 0.14), transparent 20rem),
    radial-gradient(circle at 90% 88%, rgba(139, 92, 255, 0.12), transparent 18rem),
    var(--panel-strong);
}

.moment-copy p {
  max-width: 720px;
  font-size: 1.06rem;
}

.moment-copy {
  max-width: 880px;
}

.moment-note {
  display: inline-flex;
  margin: 12px 0 0;
  border: 1px solid rgba(66, 220, 255, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--cyan);
  background: rgba(66, 220, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 800;
}

.moment-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.moment-flow article {
  min-height: 190px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(5, 9, 21, 0.56);
}

.moment-flow span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--cyan);
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.moment-flow strong {
  display: block;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: 1.02rem;
}

.moment-flow p {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 0.94rem;
}

.moment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moment-badges span {
  border: 1px solid rgba(139, 180, 255, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
}

.voice-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    radial-gradient(circle at 72% 20%, rgba(66, 220, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 82%, rgba(139, 92, 255, 0.14), transparent 20rem),
    var(--panel-strong);
}

.voice-copy p {
  max-width: 760px;
  font-size: 1.06rem;
}

.voice-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.voice-flow span {
  border: 1px solid rgba(66, 220, 255, 0.22);
  border-radius: var(--radius);
  padding: 13px 12px;
  color: var(--text);
  background: rgba(66, 220, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.voice-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(5, 9, 21, 0.66);
}

.voice-demo-frame {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(139, 180, 255, 0.22);
  border-radius: 10px;
  background: rgba(2, 5, 13, 0.52);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

.voice-demo-frame::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(66, 220, 255, 0.18), transparent 58%);
  pointer-events: none;
}

.voice-demo-frame img {
  position: relative;
  width: 100%;
  /* See .screenshot - same width/height-attribute vs aspect-ratio conflict. */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mic-orb {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  border: 1px solid rgba(66, 220, 255, 0.36);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(66, 220, 255, 0.24), rgba(139, 92, 255, 0.08) 68%);
  box-shadow: 0 0 38px rgba(66, 220, 255, 0.24);
}

.mic-orb span {
  width: 28px;
  height: 42px;
  border: 3px solid var(--text);
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(245, 248, 255, 0.18);
}

.voice-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: 1.28rem;
  line-height: 1.45;
}

.spoken-answer {
  margin-bottom: 0;
  color: var(--dim);
}

.step-card {
  padding: 24px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--cyan);
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(66, 220, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(66, 220, 255, 0.08);
  box-shadow: 0 0 24px rgba(66, 220, 255, 0.14);
  font-weight: 900;
}

.feature-card p,
.step-card p {
  margin-bottom: 0;
}

.wide-card {
  grid-column: span 2;
}

.games-section {
  padding: 34px;
  background:
    radial-gradient(circle at 18% 15%, rgba(66, 220, 255, 0.12), transparent 18rem),
    rgba(17, 22, 41, 0.4);
}

.games-section .section-heading {
  margin-bottom: 26px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-tags span {
  border: 1px solid rgba(139, 180, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.question-grid article {
  min-height: 140px;
  padding: 22px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(66, 220, 255, 0.08), rgba(139, 92, 255, 0.035)),
    var(--panel);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.55;
}

.comparison-grid {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 88% 24%, rgba(66, 220, 255, 0.08), transparent 18rem),
    rgba(17, 22, 41, 0.58);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1fr) minmax(220px, 1fr);
  border-top: 1px solid rgba(139, 180, 255, 0.13);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-cell {
  padding: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.comparison-cell:first-child,
.comparison-cell-winghud {
  color: var(--text);
  font-weight: 800;
}

.comparison-cell + .comparison-cell {
  border-left: 1px solid rgba(139, 180, 255, 0.13);
}

.comparison-cell-winghud {
  background:
    linear-gradient(90deg, rgba(66, 220, 255, 0.055), rgba(139, 92, 255, 0.045)),
    rgba(66, 220, 255, 0.02);
  box-shadow: inset 2px 0 0 rgba(66, 220, 255, 0.18);
}

.comparison-head {
  background: rgba(3, 7, 18, 0.62);
}

.comparison-head .comparison-cell {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-cell::before {
  display: none;
}

.watch-card {
  display: block;
  padding: 26px;
  background:
    radial-gradient(circle at 86% 22%, rgba(66, 220, 255, 0.12), transparent 18rem),
    rgba(17, 22, 41, 0.44);
}

.watch-card p {
  max-width: 760px;
}

.gameplay-card {
  align-items: start;
}

.gameplay-subhead {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  font-weight: 800;
}

.gameplay-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gameplay-flow article {
  min-height: 136px;
  border: 1px solid rgba(139, 180, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(66, 220, 255, 0.07), rgba(139, 92, 255, 0.035)),
    rgba(5, 9, 21, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.flow-icon {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 34px;
  margin-bottom: 20px;
  border: 1px solid rgba(66, 220, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(66, 220, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gameplay-flow strong {
  display: block;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  line-height: 1.4;
}

.gameplay-flow p {
  margin: 8px 0 0;
  color: var(--cyan);
  font-weight: 800;
}

.gameplay-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gameplay-badges span {
  border: 1px solid rgba(139, 180, 255, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
}

.coming-later-card {
  max-width: 820px;
  border: 1px solid rgba(139, 180, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(3, 7, 18, 0.42);
}

.coming-later-card .section-kicker {
  margin-bottom: 12px;
  color: var(--dim);
}

.coming-later-card p {
  margin: 10px 0 0;
  color: var(--dim);
}

.coming-later-card h3 {
  color: var(--text);
}

.beta-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 32px;
  /* Was align-items:center - with a much taller form column (4 fields +
     button + note), that left the short copy block floating in the middle
     of a lot of empty space above and below it. Top-aligning both columns
     instead reads as a normal headline-next-to-form layout. */
  align-items: start;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(66, 220, 255, 0.12), rgba(139, 92, 255, 0.08)),
    var(--panel-strong);
}

.beta-copy {
  padding-top: 4px;
}

.beta-copy h2 {
  margin-bottom: 20px;
}

.beta-copy p:last-child {
  margin-bottom: 0;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 800;
}

.invite-panel {
  display: grid;
  justify-items: start;
  gap: 14px;
}

/* The submit button is the one child that shouldn't stretch or left-align
   with the rest of the form - keeping it at its natural content width and
   pushing it to the right (rather than sharing a row with the games field,
   which would otherwise squeeze that field down to a sliver in this panel's
   narrow column - see .beta-section's 0.85fr/1fr split). */
.invite-submit {
  justify-self: end;
}

.invite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invite-meta span {
  border: 1px solid rgba(139, 180, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

input,
select {
  width: 100%;
  /* Grid items default to min-width:auto (content-based), which for a native
     <select> means its longest <option> text can silently win over an
     explicit width:100% - the country list's long entries (e.g. "Saint
     Vincent and the Grenadines") were doing exactly that. */
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(139, 180, 255, 0.24);
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--text);
  background: rgba(2, 5, 13, 0.55);
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(66, 220, 255, 0.1);
}

/* The browser's native select arrow doesn't respect the dark theme (it
   renders as a plain OS-styled control on most platforms) - swapping in a
   custom cyan chevron via background-image keeps it visually consistent
   with the multiselect trigger's own chevron below. */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%2342DCFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

select option {
  background: var(--bg-soft);
  color: var(--text);
}

.form-note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.form-privacy-notice {
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-privacy-notice a {
  color: var(--cyan);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.form-consent a {
  color: var(--cyan);
}

/* Favorite-games multi-select: a trigger button that opens a searchable
   checkbox panel - a native <select multiple> would work but requires
   Ctrl/Cmd-click to pick more than one option, which most people never
   discover, so this trades a little extra JS for a form people can
   actually use. */
.multiselect {
  position: relative;
  width: 100%;
  min-width: 0;
}

.multiselect-trigger {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(139, 180, 255, 0.24);
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--text);
  background: rgba(2, 5, 13, 0.55);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.multiselect-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multiselect-chevron {
  flex: none;
  width: 14px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%2342DCFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.15s ease;
}

.multiselect-trigger[aria-expanded="true"] .multiselect-chevron {
  transform: rotate(180deg);
}

.multiselect-trigger:hover {
  border-color: var(--line-strong);
}

.multiselect-trigger:focus,
.multiselect-trigger[aria-expanded="true"] {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(66, 220, 255, 0.1);
}

@keyframes multiselectPanelIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.multiselect-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
}

.multiselect-panel:not([hidden]) {
  animation: multiselectPanelIn 0.15s ease;
}

.multiselect-search {
  min-height: 40px;
  margin-bottom: 8px;
}

.multiselect-options {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 180, 255, 0.35) transparent;
}

.multiselect-options::-webkit-scrollbar {
  width: 8px;
}

.multiselect-options::-webkit-scrollbar-thumb {
  background: rgba(139, 180, 255, 0.35);
  border-radius: 999px;
}

.multiselect-options::-webkit-scrollbar-track {
  background: transparent;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.1s ease, color 0.1s ease;
}

.multiselect-option:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.multiselect-option.is-selected {
  background: rgba(66, 220, 255, 0.08);
  color: var(--text);
}

.multiselect-option input {
  width: auto;
  min-height: 0;
  accent-color: var(--cyan);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 20px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--text);
  font-weight: 900;
}

.faq-list p {
  margin: -4px 0 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-link {
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 150ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
}

.discord-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(66, 220, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(66, 220, 255, 0.08);
  box-shadow: 0 0 24px rgba(66, 220, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.discord-link:hover,
.discord-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 0 30px rgba(66, 220, 255, 0.22);
}

.discord-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@media (max-width: 1680px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .hero,
  .split-section,
  .beta-section,
  .moment-card,
  .voice-card {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 32px, 1240px);
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    margin-right: 0;
    transform: none;
  }

  .hero .desktop-frame {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .moment-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .question-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    margin-top: 10px;
  }

  .nav-cta {
    display: none;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-category {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.65rem, 13.4vw, 4.25rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .desktop-frame {
    border-radius: 10px;
  }

  .frame-pill,
  .window-dots {
    display: none;
  }

  .screenshot {
    aspect-ratio: 4 / 3;
  }

  .mini-grid,
  .feature-grid,
  .watch-card,
  .question-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .voice-card,
  .moment-card,
  .games-section {
    padding: 22px;
  }

  .voice-flow {
    grid-template-columns: 1fr;
  }

  .voice-panel {
    min-height: auto;
  }

  .comparison-grid {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .comparison-row {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(66, 220, 255, 0.055), rgba(139, 92, 255, 0.025)),
      var(--panel);
    backdrop-filter: blur(18px);
  }

  .comparison-head {
    display: none;
  }

  .comparison-cell {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-weight: 700;
  }

  .comparison-cell::before {
    content: attr(data-label);
    display: block;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .comparison-cell + .comparison-cell {
    border-left: 0;
    border-top: 1px solid rgba(139, 180, 255, 0.13);
  }

  .comparison-cell-winghud {
    background:
      linear-gradient(90deg, rgba(66, 220, 255, 0.09), rgba(139, 92, 255, 0.06)),
      rgba(66, 220, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(66, 220, 255, 0.12);
  }

  .wide-card {
    grid-column: auto;
  }

  .gameplay-flow {
    grid-template-columns: 1fr;
  }

  .moment-flow {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .beta-section,
  .watch-card,
  .glass-panel {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
