:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-2: #0d0f14;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f5f9;
  --muted: #9097a5;
  --dim: #5f6675;
  --accent: #3f8cff;
  --accent-ink: #04122b;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.02;
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: -.035em;
}
.label {
  margin: 0 0 1.25rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  font-stretch: 115%;
}
.kicker {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  font-stretch: 120%;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 52px; padding: 0 1.4rem;
  border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost:hover svg { transform: none; }
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: .88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 8, 11, .72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-in {
  max-width: 1240px; margin: auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 2rem;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: .45em;
  font-weight: 800; font-stretch: 125%; letter-spacing: .02em;
  font-size: 1.05rem; text-decoration: none;
}
.wordmark span { font-weight: 500; font-size: .62em; letter-spacing: .28em; color: var(--muted); }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .9rem; color: rgba(255, 255, 255, .72); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; height: 64px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
  z-index: -2;
  animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,8,11,.88) 0%, rgba(7,8,11,.55) 38%, rgba(7,8,11,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,8,11,.6) 22%, rgba(7,8,11,0) 50%),
    linear-gradient(180deg, rgba(7,8,11,.6) 0%, rgba(7,8,11,0) 18%);
}
.hero-in { padding-top: 140px; padding-bottom: 56px; }
.hero-in > * { animation: rise 1s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .1s; }
.hero-in > :nth-child(3) { animation-delay: .2s; }
.hero-in > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-title {
  display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.2rem);
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .9;
  font-weight: 800; font-stretch: 125%;
  letter-spacing: -.045em;
  text-transform: uppercase;
  margin-left: -.04em;
}
.hero-title img { width: .62em; height: auto; flex: none; transform: translateY(-.02em); }
.hero-lead {
  max-width: 34rem; margin: 1.6rem 0 2.2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5;
  color: rgba(243, 245, 249, .82);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 0; margin-bottom: 0;
  padding-top: 1.5rem; padding-bottom: 2.25rem;
  position: relative;
  animation: rise 1s .45s var(--ease) both;
}
.hero-facts::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line-2);
}
.hero-facts div { padding-right: 1rem; }
.hero-facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; font-stretch: 115%; }
.hero-facts dd { margin: .3rem 0 0; font-weight: 500; }
@media (max-width: 640px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.1rem; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(7,8,11,.75) 45%, rgba(7,8,11,.35) 100%); }
  .btn { height: 48px; }
  .hero-title { flex-direction: column; align-items: flex-start; gap: .9rem; font-size: 13.5vw; font-stretch: 112%; }
  .hero-title img { width: 52px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-in > *, .hero-facts { animation: none; }
}

/* ---------- Intro ---------- */
.intro { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(60px, 9vw, 120px); }
.statement {
  margin: 0; max-width: 62rem;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.18;
  font-weight: 600; letter-spacing: -.025em; font-stretch: 105%;
}
.statement span { color: var(--dim); }
.pillars {
  list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillars li { padding: 1.75rem 2rem 0 0; }
.pillars li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillars h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; margin-bottom: .4rem; }
.pillars p { margin: 0; color: var(--muted); max-width: 22rem; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Section head ---------- */
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Modes ---------- */
.modes { padding: clamp(60px, 8vw, 110px) 0; }
.modes-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: stretch;
}
.modes-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.8);
}
.modes-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 6s linear;
}
.modes-stage img.is-active { opacity: 1; transform: scale(1); }
.modes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.modes-list li + li { border-top: 1px solid var(--line); }
.modes-list button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline;
  padding: 1.15rem 0; position: relative;
}
.modes-list .n { font-size: .78rem; color: var(--dim); font-variant-numeric: tabular-nums; font-weight: 600; }
.modes-list .t {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 650; letter-spacing: -.02em;
  color: var(--dim); transition: color .35s;
}
.modes-list .d {
  grid-column: 2; color: var(--muted); font-size: .95rem; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease);
}
.modes-list button:hover .t { color: rgba(243,245,249,.75); }
.modes-list [aria-selected="true"] .t { color: var(--text); }
.modes-list [aria-selected="true"] .d { max-height: 6rem; opacity: 1; margin-top: .45rem; }
.modes-list .bar {
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--text); transform: scaleX(0); transform-origin: left;
}
.modes-list li:first-child .bar { top: 0; }
.modes-grid.is-live:not(.is-paused) [aria-selected="true"] .bar { animation: fill var(--dur, 6000ms) linear forwards; }
.modes-grid.is-paused [aria-selected="true"] .bar,
.modes-grid:not(.is-live) [aria-selected="true"] .bar { transform: scaleX(1); background: var(--line-2); }
@keyframes fill { to { transform: scaleX(1); } }
.modes-list button:focus-visible { outline-offset: -2px; }
@media (max-width: 900px) {
  .modes-grid { grid-template-columns: 1fr; }
  .modes-stage { aspect-ratio: 16 / 9; }
}

/* ---------- Trailer ---------- */
.trailer { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); }
.player {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.8);
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%);
  transition: opacity .4s;
}
.play {
  all: unset; cursor: pointer; position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 2;
  display: inline-flex; align-items: center; gap: .9rem;
  font-weight: 600; font-size: 1.05rem;
}
.play span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--bg);
  transition: transform .4s var(--ease);
}
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.play em { font-style: normal; color: rgba(255,255,255,.6); font-weight: 500; font-size: .9rem; }
.play:hover span { transform: scale(1.08); }
.play:focus-visible span { outline: 2px solid var(--accent); outline-offset: 4px; }
.player.is-playing .play, .player.is-playing::after { opacity: 0; pointer-events: none; }
.player.is-playing .play { visibility: hidden; }

/* ---------- Community ---------- */
.community { padding-top: 0; padding-bottom: clamp(20px, 3vw, 40px); }
.discord {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: end;
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(120% 140% at 100% 100%, rgba(88, 101, 242, .28), rgba(88, 101, 242, 0) 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.discord p:not(.label) { color: var(--muted); max-width: 36rem; margin: 1rem 0 0; font-size: 1.05rem; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord svg { width: 20px; height: 20px; }
.btn-discord:hover { background: #6974f4; }
.btn-discord:hover svg { transform: none; }
@media (max-width: 760px) { .discord { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Studio ---------- */
.studio { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(80px, 10vw, 140px); }
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
.studio h2 { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.02em; }
.studio-grid p { margin: 0 0 1rem; font-size: 1.1rem; max-width: 32rem; }
.studio-grid p.muted { font-size: .95rem; }
.studio a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.studio a:hover { text-decoration-color: var(--text); }
@media (max-width: 760px) { .studio-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem 2rem;
  padding-top: 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-self: end; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.foot nav a:hover { color: var(--text); }
.fine { grid-column: 1 / -1; margin: 0; color: var(--dim); font-size: .8rem; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .foot nav { justify-self: start; } }

/* ---------- Document pages (privacy) ---------- */
.doc { padding-top: 140px; padding-bottom: clamp(80px, 10vw, 140px); }
.doc-in { max-width: 46rem; }
.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02;
  font-stretch: 112%; letter-spacing: -.035em; margin-bottom: .6rem;
}
.doc .sub { color: var(--dim); margin: 0 0 3rem; font-size: .9rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 1.2rem; font-stretch: 100%; letter-spacing: -.01em; margin: 2.75rem 0 .75rem; line-height: 1.3; }
.doc p, .doc li { color: rgba(243, 245, 249, .78); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 1.1rem; }
.doc li { margin: .5rem 0; padding-left: .25rem; }
.doc li::marker { color: var(--dim); }
.doc a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.doc a:hover { text-decoration-color: var(--text); }
