:root {
  color-scheme: dark;
  --ink: #07111f;
  --ink-soft: #0d1c2e;
  --paper: #f3ead7;
  --paper-deep: #dfd0b3;
  --text: #f7f2e7;
  --muted: #aeb9c8;
  --line: rgba(207, 224, 239, 0.16);
  --cyan: #4cded0;
  --blue: #5ca7ff;
  --gold: #f4bd55;
  --coral: #ff785f;
  --display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  --mono: "Lucida Console", Monaco, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 74% 8%, rgba(46, 112, 193, 0.2), transparent 28rem),
    linear-gradient(rgba(110, 162, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 162, 210, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 64px 64px, 64px 64px, auto;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.hero-shell,
.section,
.signal-strip,
.release-panel,
.safety-note {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(92, 167, 255, 0.24);
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 9px 14px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--cyan);
}

.hero-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  min-height: 700px;
  padding-block: 76px 90px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 7.2vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h1 em {
  color: transparent;
  font-style: italic;
  -webkit-text-stroke: 1px var(--gold);
  text-shadow: 0 0 40px rgba(244, 189, 85, 0.17);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(244, 189, 85, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(244, 189, 85, 0.24);
}

.text-link {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--cyan);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.hero-notes li::before {
  content: "+";
  margin-right: 7px;
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(111, 180, 235, 0.32);
  border-radius: 10px;
  background: #050b14;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45), 0 0 80px rgba(43, 125, 210, 0.11);
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
}

.hero-visual::after {
  position: absolute;
  inset: 32px 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-110%);
  animation: scan 7s ease-in-out infinite 1.5s;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding-inline: 13px;
  border-bottom: 1px solid rgba(111, 180, 235, 0.2);
  background: #091525;
}

.window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) { background: var(--gold); }
.window-bar span:nth-child(3) { background: var(--cyan); }

.window-bar p {
  margin: 0 0 0 auto;
  color: #73869d;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.hero-visual > img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 13, 24, 0.82);
  backdrop-filter: blur(10px);
}

.hero-badge strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.hero-badge span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.signal-strip p {
  margin: 0;
  color: #8090a4;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.signal-strip span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.section {
  padding-block: 120px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 110px);
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mode-card,
.feature-row article {
  position: relative;
  overflow: hidden;
  min-height: 305px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(18, 39, 63, 0.92), rgba(8, 19, 33, 0.96));
}

.mode-card::after {
  position: absolute;
  right: -50px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(76, 222, 208, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 50px rgba(76, 222, 208, 0.08);
}

.campaign-card::after {
  border-color: rgba(244, 189, 85, 0.22);
  box-shadow: 0 0 50px rgba(244, 189, 85, 0.08);
}

.card-index {
  margin-bottom: 74px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.campaign-card .card-index { color: var(--gold); }

.mode-card p:last-child,
.feature-row p,
.section-heading > p,
.campaign-copy > p:last-child,
.release-panel p {
  color: var(--muted);
}

.worlds {
  padding-top: 80px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.world-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1928;
}

.world-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.world-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 43%, rgba(4, 10, 18, 0.9));
  pointer-events: none;
}

.world-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.world-copy {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
}

.world-copy p,
.world-copy span {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-copy p { color: var(--cyan); }
.world-copy h3 { margin: 4px 0 7px; font-size: 2rem; }
.world-copy span { color: #c4ceda; }

.campaign-flow {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.stage-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.stage-track li {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  padding: 17px;
  background: var(--ink-soft);
}

.stage-track span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.stage-track strong {
  margin-top: auto;
  font-family: var(--display);
  font-size: 1rem;
}

.stage-track small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 60px;
}

.feature-row article {
  min-height: 245px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid rgba(76, 222, 208, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.release-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  margin-block: 80px 32px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(244, 189, 85, 0.35);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 20%, rgba(66, 121, 194, 0.25), transparent 22rem),
    linear-gradient(135deg, #101d2e, #07111f);
}

.release-panel h2 {
  max-width: 700px;
}

.release-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.release-action {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  gap: 12px;
}

.review-pill {
  display: block;
  padding: 11px 16px;
  border: 1px solid rgba(244, 189, 85, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
  text-transform: uppercase;
}

.button.secondary-light {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.safety-note {
  padding: 24px 0 60px;
  border-bottom: 1px solid var(--line);
}

.safety-note p {
  max-width: 980px;
  margin: 0;
  color: #8494a7;
  font-size: 0.72rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 140px;
}

.site-footer > p {
  margin: 0;
  color: #718298;
  font-family: var(--display);
  font-style: italic;
}

.site-footer nav {
  justify-content: flex-end;
}

.reveal {
  animation: reveal 750ms ease-out both;
}

.delay-1 { animation-delay: 140ms; }

/* Shared legal/support page shell. */
.page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 30px;
  border-bottom: 1px solid var(--line);
}

.header a {
  font-weight: 700;
  text-decoration: none;
}

.content,
.notice {
  margin-top: 32px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 27, 45, 0.9);
}

.content h1 {
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1;
}

.content h2,
.notice h2 {
  margin: 38px 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.content p,
.content li,
.notice p {
  color: #c2ccd8;
}

.content a,
.notice a {
  color: var(--cyan);
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 7px;
}

code {
  overflow-wrap: anywhere;
  color: var(--gold);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scan {
  0%, 62% { transform: translateX(-110%); }
  88%, 100% { transform: translateX(110%); }
}

@media (max-width: 900px) {
  .hero-shell,
  .intro-grid,
  .campaign-flow,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-block: 72px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    transform: none;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .campaign-flow {
    gap: 32px;
  }

  .release-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .release-action {
    width: min(100%, 260px);
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .hero-shell,
  .section,
  .signal-strip,
  .release-panel,
  .safety-note {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 70px;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav .nav-cta {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .hero-shell {
    padding-block: 54px 68px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-visual > img {
    min-height: 260px;
  }

  .signal-strip {
    overflow: hidden;
  }

  .signal-strip p:nth-of-type(n+3),
  .signal-strip span:nth-of-type(n+3) {
    display: none;
  }

  .section {
    padding-block: 82px;
  }

  .mode-grid,
  .world-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 265px;
  }

  .world-card,
  .world-card img {
    min-height: 290px;
  }

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

  .release-panel {
    margin-block-start: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-block: 34px;
  }

  .site-footer > p {
    display: none;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .page {
    width: min(100% - 24px, 900px);
  }
}

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