/* Site leGeekEntertainment : même style que le launcher.
   Noir, grille de points discrète, gros titres serrés, pastilles fines, accent vermillon. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0b0b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #f3f1ed;
  --text-2: #d3d0cb;
  --muted: #8c8985;
  --faint: #6f6c69;
  --accent: #e2462b;
  --r-sm: 6px;
  --r-md: 12px;
  --pill: 999px;
  --ease: 160ms ease;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }

/* ---------- Ticker & header ---------- */

.ticker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  text-align: center;
  flex-wrap: wrap;
}
.tag { background: var(--accent); color: #fff; font-weight: 700; font-size: 11.5px; padding: 2px 8px; border-radius: 4px; }
.ticker strong { font-weight: 800; }
.muted { color: var(--muted); }

.header { border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: -0.025em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13.5px; font-weight: 500; transition: color var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons & chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--ease), border-color var(--ease);
}
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.btn-primary {
  height: 64px;
  padding: 0 36px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.link { font-weight: 700; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Type ---------- */

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.display { font-size: clamp(48px, 7.4vw, 120px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; }
.display-md { font-size: clamp(44px, 5.6vw, 88px); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 44ch; margin-top: 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(48px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: end; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 44px; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 8px; }
.meta-big { font-size: 56px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.meta-sub { color: var(--text-2); font-size: 14px; }

.shot { margin-top: clamp(48px, 7vw, 88px); }
.shot img { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #000; }
.shot figcaption { margin-top: 14px; color: var(--faint); font-size: 13px; }

/* ---------- Features (numbered rows) ---------- */

.section { padding-top: var(--section); }
.rows { counter-reset: row; }
.row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.row-num { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--faint); font-variant-numeric: tabular-nums; }
.row-title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.row-text { color: var(--text-2); font-size: 17px; max-width: 52ch; }

.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 56px; }
.pair figure img { border: 1px solid var(--line-2); border-radius: var(--r-md); }
.pair figcaption { margin-top: 12px; color: var(--faint); font-size: 13px; }

/* ---------- Install steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.step { padding: 32px 28px 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step-num { font-size: clamp(56px, 6vw, 96px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95; }
.step-title { margin-top: 20px; font-weight: 800; font-size: 18px; letter-spacing: -0.015em; }
.step p { color: var(--text-2); margin-top: 8px; }
.step q { quotes: "« " " »"; font-weight: 700; color: var(--text); }
.hash { margin-top: 24px; color: var(--faint); font-size: 13px; }
.hash code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

.notice { margin-top: 32px; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #000; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.notice h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.notice p { color: var(--text-2); margin-top: 6px; max-width: 72ch; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 48px 0; border-bottom: 1px solid var(--line); }

/* ---------- Legal pages ---------- */

.doc { padding-top: clamp(48px, 7vw, 88px); max-width: 820px; }
.doc h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc p, .doc li { color: var(--text-2); margin-top: 14px; max-width: 72ch; }
.doc dl { margin-top: 8px; }
.doc dl div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc dt { color: var(--muted); }
.doc dd { color: var(--text); }
.todo { color: var(--accent); font-weight: 800; }

/* ---------- Footer ---------- */

.footer { margin-top: var(--section); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.footer nav { display: flex; gap: 24px; }
.footer a { text-decoration: none; transition: color var(--ease); }
.footer a:hover { color: var(--text); }

/* ---------- Smaller screens ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .row { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 20px; }
  .row-num { font-size: 36px; }
  .row-text { grid-column: 2; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .doc dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .btn-primary { width: 100%; }
  .notice { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media (max-width: 480px) {
  .brand span { display: none; }
  .ticker { font-size: 12px; }
}

@media (max-width: 640px) {
  .btn-primary { white-space: normal; height: auto; min-height: 56px; padding: 14px 24px; font-size: 15px; letter-spacing: 0.08em; text-align: center; }
}
@media (max-width: 420px) {
  .row { grid-template-columns: 44px minmax(0, 1fr); }
  .row-num { font-size: 28px; }
  .row-title { font-size: 21px; overflow-wrap: anywhere; }
}
