:root {
  color-scheme: dark;
  --bg: #080c15;
  --surface: #101827;
  --ink: #f2f5fa;
  --muted: #b1bed0;
  --cyan: #68eff2;
  --pink: #ff91d5;
  --line: #273346;
  font: 100% / 1.6 "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, video:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - max(2.5rem, 8vw), 72rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 3; translate: 0 -200%; }
.skip:focus { translate: 0; padding: .6rem 1rem; color: var(--bg); background: var(--cyan); }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.topbar-inner { min-height: 5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand img { border-radius: .65rem; }
.brand span { font-weight: 800; font-size: .84rem; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .92rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-android { border: 1px solid #52767d; color: var(--cyan); padding: .42rem .8rem; border-radius: .35rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 67vw, 42rem);
  border-bottom: 1px solid var(--line);
  background: #0a121e;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #080c15 4%, #080c15ed 23%, #080c15aa 48%, #080c1510 85%),
    linear-gradient(0deg, #080c15b0, transparent 32%),
    url("assets/quartier.webp") center 52% / cover;
}
.hero-inner { padding-block: 4rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--cyan); font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.eyebrow span { display: inline-block; width: .46rem; aspect-ratio: 1; margin-right: .65rem; background: currentColor; transform: rotate(45deg); vertical-align: .13em; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 6.6rem); }
h1 em { color: var(--cyan); font-style: normal; }
h2 { font-size: clamp(2.25rem, 4.75vw, 4rem); line-height: 1.04; }
h3 { font-size: 1.95rem; line-height: 1.1; }
p { margin: 0; }
.hero-copy { font-size: clamp(1rem, 2vw, 1.24rem); max-width: 33rem; margin-top: 1.45rem; color: #d6e0eb; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.button { display: inline-flex; min-height: 3rem; width: fit-content; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: .4rem; font-weight: 750; text-align: center; text-decoration: none; }
.primary { background: var(--cyan); color: #09141c; }
.primary:hover { background: #a0fcfd; }
.secondary { background: #0a111cd9; border-color: #637589; color: var(--ink); }
.secondary:hover { background: #172436; }
.play-icon { width: 0; height: 0; border-block: .34rem solid transparent; border-left: .54rem solid currentColor; }

.section { padding-block: clamp(3.1rem, 7vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 2rem; align-items: end; margin-bottom: 1.8rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.section-heading > p:last-child, .trailer-copy > p { max-width: 30rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team {
  --accent: var(--cyan);
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 1rem;
  padding: clamp(1.1rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: radial-gradient(ellipse at 0 0, #112d39 0%, transparent 65%), var(--surface);
}
.team.rogues { --accent: var(--pink); background: radial-gradient(ellipse at 0 0, #332139 0%, transparent 65%), var(--surface); }
.team img { grid-row: span 2; align-self: start; }
.team h3 { color: var(--accent); margin: .15rem 0 .6rem; }
.team p { color: #d1dbea; }
.field-note { margin-top: 1rem; color: var(--muted); font-size: .94rem; }

.trailer { background: #0d1421; border-block: 1px solid var(--line); }
.trailer-inner { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.trailer-copy > p { margin-top: 1rem; }
.trailer-copy .video-note { font-size: .9rem; }
video { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: .65rem; background: #060814; }
video::cue { color: #fff; background: #080c15ee; }

.lore { background: radial-gradient(ellipse at 16% 0%, #1c233b 0%, transparent 65%), #0b101b; border-bottom: 1px solid var(--line); }
.lore-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 2rem; align-items: start; }
.lore-lede { max-width: 34rem; color: var(--muted); }
.lore-lede p + p { margin-top: .75rem; }
.lore-details { margin-top: clamp(1.45rem, 3vw, 2.4rem); border: 1px solid #3b4b62; border-radius: .65rem; background: var(--surface); }
.lore-details summary {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem clamp(1rem, 3vw, 1.75rem);
  color: var(--cyan);
  cursor: pointer;
  font-weight: 750;
}
.lore-details summary::-webkit-details-marker { display: none; }
.lore-details summary:hover { text-decoration: underline; text-underline-offset: .25em; }
.lore-details[open] summary { border-bottom: 1px solid var(--line); }
.disclosure-icon { position: relative; flex: 0 0 1rem; height: 1rem; }
.disclosure-icon::before, .disclosure-icon::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; margin-top: -1px; background: currentColor; }
.disclosure-icon::after { transform: rotate(90deg); }
.lore-details[open] .disclosure-icon::after { display: none; }
.lore-prose { max-width: 72ch; margin-inline: auto; padding: clamp(1rem, 4vw, 2.5rem); line-height: 1.8; }
.lore-prose p + p { margin-top: 1.15em; }

.download { display: flex; align-items: center; gap: 1rem 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #35555c; border-radius: .65rem; background: linear-gradient(125deg, #152b34, var(--surface) 65%); }
.download img { border-radius: .9rem; }
.download h2 { font-size: clamp(1.65rem, 3.6vw, 2.9rem); }
.download p { margin-top: .65rem; color: var(--muted); }
.store-link { display: none; }
.download .store-link { flex: 0 0 auto; margin-left: auto; }
[data-release="live"] .store-link { display: inline-flex; }
[data-release="live"] .prelaunch { display: none; }

.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding-block: 1.6rem; }
.footer p { color: var(--ink); font-weight: 700; font-size: .95rem; }
.footer p span { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }

@media (max-width: 49rem) {
  .hero::before {
    background:
      linear-gradient(0deg, #080c15 4%, #080c15e8 31%, #080c1540 70%),
      linear-gradient(90deg, #080c15a0, transparent 85%),
      url("assets/quartier.webp") 66% top / cover;
  }
  .hero { align-items: end; min-height: 35rem; }
  .hero-inner { padding-block: 9rem 2.75rem; }
  .section-heading, .team-grid, .trailer-inner, .lore-intro { grid-template-columns: 1fr; }
  .section-heading { row-gap: .8rem; }
  .footer-inner, .download { flex-wrap: wrap; }
  .download .store-link { margin-left: 0; }
}

@media (max-width: 32rem) {
  .topbar-inner { min-height: 4.4rem; gap: .75rem; }
  .topbar nav { gap: .65rem; }
  .nav-detail { display: none; }
  .team { grid-template-columns: 3rem 1fr; }
  .team img { width: 100%; height: auto; }
  .download img { width: 3.5rem; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
