/* ==========================================================================
   MAVSAM LABS — site styles
   Colours come from Starynth's HUD: amber panel frames and teal shield cells.
   Per-game colours come from game.js (theme): --accent (links, status) and
   --accent-2 (HUD frames, main button).
   One signature element: the key-facts panel drawn like a HUD panel (.readout).
   Everything else stays quiet.
   ========================================================================== */

:root {
  --void: #070b14;      /* page background: deep space */
  --deep: #0b111d;      /* alternate sections */
  --panel: #101827;     /* raised surfaces */
  --hull: #ece4d3;      /* headings: the ship's hull */
  --text: #cfd6e0;
  --muted: #93a0b4;
  --line: rgba(236, 228, 211, 0.12);
  --accent: #3fd9b8;    /* shield teal */
  --accent-2: #f2a03d;  /* HUD amber */
  --title-tint: #5fd6ea; /* gradient and glow of the game title */
  --radius: 4px;
  --wrap: 1180px;
  /* Rajdhani and Share Tech Mono have no Cyrillic: Exo 2 and JetBrains Mono take over for those
     glyphs only. Chinese, Japanese and Korean use the system fonts. */
  --font-display: "Rajdhani", "Exo 2", "Microsoft YaHei", "PingFang SC", "Yu Gothic", "Hiragino Sans", "Malgun Gothic", "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", "JetBrains Mono", "Microsoft YaHei", "Yu Gothic", "Malgun Gothic", ui-monospace, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Yu Gothic", "Hiragino Sans", "Malgun Gothic", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--hull); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 120px 16px; text-align: center; }

/* ---------- header ---------- */

.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 11, 20, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 38px; width: auto; filter: brightness(1.7) saturate(1.2); }
.nav { display: flex; gap: 4px 26px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--text); font: 500 15px/1 var(--font-body); padding: 8px 0; }
.nav a:hover { color: var(--hull); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

.lang { position: relative; display: flex; align-items: center; color: var(--muted); }
.lang:hover, .lang:focus-within { color: var(--text); }
.lang__icon { position: absolute; left: 9px; width: 16px; height: 16px; pointer-events: none; }
.lang__select {
  appearance: none; -webkit-appearance: none;
  background: rgba(7, 11, 20, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2393a0b4' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center / 10px;
  color: inherit; border: 1px solid var(--line); border-radius: var(--radius);
  font: 14px/1 var(--font-body); padding: 8px 28px 8px 32px; cursor: pointer; max-width: 190px;
}
.lang__select:hover { border-color: var(--muted); }
.lang__select option { background: var(--panel); color: var(--text); }

@media (max-width: 760px) {
  .header__inner { flex-wrap: wrap; gap: 6px 16px; padding-block: 10px; }
  .header { background: rgba(7, 11, 20, .92); }
  .nav { order: 3; width: 100%; margin: 0; gap: 4px 18px; }
  .nav a { font-size: 14px; }
  .lang { margin-left: auto; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius);
  font: 600 17px/1 var(--font-display);
  border: 1px solid var(--accent-2); color: var(--accent-2);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-2) 14%, transparent); }
.btn--primary { background: var(--accent-2); color: var(--void); }
.btn--primary:hover { background: var(--hull); border-color: var(--hull); color: var(--void); }
.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---------- status chip ---------- */

.status {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px;
  font: 500 14px/1 var(--font-display); color: var(--accent);
  padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 2px;
}
.status::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(90vh, 860px);
  display: flex; align-items: center;
  padding: 110px 0 80px;
}
.hero__bg {
  position: absolute; inset: -20px; z-index: -3;
  background-size: cover; background-position: center;
  filter: saturate(1.05) blur(2px);
  transform: scale(1.04);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 70% 40%, transparent 0, rgba(7, 11, 20, .55) 55%),
    linear-gradient(90deg, rgba(7, 11, 20, .94) 0%, rgba(7, 11, 20, .6) 55%, rgba(7, 11, 20, .35) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 30%);
}
.hero--home { min-height: min(78vh, 760px); }
.hero--home::before {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(7, 11, 20, .35) 0, rgba(7, 11, 20, .88) 70%),
    linear-gradient(0deg, var(--void) 0%, transparent 35%);
}
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero__inner--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }

/* The game's name is set as a wordmark: capitals, gradient and glow. */
.game-title, .spotlight__title a {
  background: linear-gradient(180deg, #ffffff 30%, color-mix(in srgb, var(--title-tint) 70%, #ffffff) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--title-tint) 45%, transparent));
}
.game-title {
  font-size: clamp(56px, 10vw, 118px); font-weight: 700; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px;
}
.hero__tagline { font: 22px/1.3 var(--font-mono); color: var(--accent); letter-spacing: .1em; margin: 0 0 22px; }
.hero__summary { font-size: 18px; max-width: 34em; margin-bottom: 28px; }
/* "Where to play" button, then the badges of the stores where the game is already out. */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__actions .stores { margin: 0; }
.hero__art { display: flex; justify-content: center; }
.hero__art img {
  width: min(420px, 100%); height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
  animation: float 6s ease-in-out infinite;
}
.hero__studio { width: min(320px, 66%); height: auto; filter: brightness(1.35); margin-bottom: 4px; }
.hero__lead { font: 500 clamp(19px, 2.2vw, 24px)/1.3 var(--font-display); color: var(--hull); margin: 14px 0 32px; max-width: 36ch; text-wrap: balance; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
/* Reduced motion: slower, smaller float instead of none. */
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: float-soft 10s ease-in-out infinite; } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 130px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { width: min(240px, 60%); }
  .hero__text { text-align: center; }
  .hero__summary { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero .stores { justify-content: center; }
}

/* ---------- store badges ---------- */

.stores { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  --brand: #333;
  display: flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 10px 18px 10px 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 55%, #05070d), #05070d);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  color: #fff; transition: border-color .15s;
}
a.store:hover { text-decoration: none; border-color: #fff; }
.store img { width: 28px; height: 28px; flex: none; }
.store__text { display: flex; flex-direction: column; line-height: 1.15; }
.store__text small { font-size: 11px; opacity: .85; }
.store__text strong { font: 700 19px/1.1 var(--font-display); letter-spacing: .03em; }
.store--soon { opacity: .5; filter: grayscale(.6); cursor: default; }

.stores--lg { justify-content: center; gap: 16px; }
.stores--lg .store { min-width: 230px; padding: 14px 22px 14px 18px; }
.stores--lg .store img { width: 34px; height: 34px; }
.stores--lg .store__text strong { font-size: 22px; }
.stores--sm { margin-bottom: 30px; }
.stores--sm li { flex: 0 1 calc(50% - 6px); }
.stores--sm .store { min-width: 0; width: 100%; }

@media (max-width: 480px) {
  .stores { gap: 10px; }
  .stores li { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .store, .stores--lg .store { min-width: 0; width: 100%; padding: 9px 12px; gap: 9px; }
  .store img, .stores--lg .store img { width: 24px; height: 24px; }
  .store__text strong, .stores--lg .store__text strong { font-size: 16px; }
}

/* Official badges: the stores' own artwork, never filtered, recoloured or animated.
   44 px minimum: Apple asks for 40 px on screen, GOG for a logo at least 45 px wide. */
.stores { align-items: flex-end; }
.stores li.badge { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; --badge-h: 48px; }
.stores--sm li.badge { --badge-h: 44px; }
.stores--lg li.badge { --badge-h: 54px; }
.badge a { display: block; line-height: 0; border-radius: 6px; }
.badge a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.badge__img { display: block; height: var(--badge-h); width: auto; max-width: none; }
.badge__plate {
  display: flex; align-items: center; height: var(--badge-h); padding: 0 calc(var(--badge-h) * .32);
  background: var(--plate); border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px;
}
.badge__plate .badge__img { height: 64%; }
.badge__soon { font: 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.badge--soon { cursor: default; }

@media (max-width: 480px) {
  .stores li.badge, .stores--lg li.badge { flex: none; --badge-h: 44px; }
}


/* ---------- key facts: a panel of the game's HUD ---------- */

.facts { position: relative; z-index: 1; margin-top: -48px; }
.readout {
  --cut: 14px;
  position: relative; padding: 1px;
  background: color-mix(in srgb, var(--accent-2) 75%, transparent);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
/* The three ticks HUD panels carry in their corner. */
.readout::after {
  content: ""; position: absolute; top: 7px; right: 14px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-2) 0 6px, transparent 6px 8px);
}
.readout__list {
  --cut: 13.6px;
  display: flex; flex-wrap: wrap; gap: 1px; margin: 0;
  background: color-mix(in srgb, var(--accent-2) 30%, var(--void));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.readout__list > div { flex: 1 1 170px; background: #0a0f1a; padding: 16px 22px 18px; }
.readout dt { font: 600 12px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.readout dd { margin: 6px 0 0; font: 500 18px/1.3 var(--font-display); color: var(--hull); }
@media (max-width: 480px) {
  .readout__list > div { flex-basis: 140px; padding: 12px 16px 14px; }
  .readout dd { font-size: 16px; }
}

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section--alt { background: var(--deep); border-top: 1px solid var(--line); }
.section--cta { text-align: center; background: var(--deep); border-top: 1px solid var(--line); }
.section--notfound { padding-top: 180px; min-height: 70vh; }
.section__title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 36px; }
.section--cta .section__title { margin-bottom: 14px; }
.section__lead { color: var(--muted); max-width: 36em; margin: 0 auto 36px; font-size: 18px; }
.empty { color: var(--muted); }

@media (max-width: 600px) { .section { padding: 64px 0; } }

/* ---------- home: featured game ---------- */

.spotlight { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.spotlight__media { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.spotlight__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.spotlight__media:hover { border-color: var(--accent-2); }
.spotlight__title { font-size: clamp(44px, 5.4vw, 68px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1; margin: 0 0 8px; }
.spotlight__title a:hover { text-decoration: none; }
.spotlight__tagline, .card__tagline { font: 18px/1.3 var(--font-mono); letter-spacing: .06em; color: var(--accent); margin-bottom: 18px; }
.spotlight__tagline span, .card__tagline span { display: block; margin-top: 4px; font: 15px/1.4 var(--font-body); color: var(--muted); }
.spotlight__summary { margin-bottom: 24px; }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- other game cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 26px; margin-top: 64px; }
.section--alt .cards { margin-top: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent-2) 70%, transparent); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card__link:hover { text-decoration: none; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.card__body > p:not([class]) { color: var(--muted); font-size: 15px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__stores { display: flex; gap: 8px; opacity: .8; }
.card__cta { font: 600 16px/1 var(--font-display); color: var(--accent-2); }

/* ---------- game overview ---------- */

.pitch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 80px; }
.pitch__text { max-width: 34em; }
.pitch__text p { font-size: 18px; }
.pitch__text p:first-child { font-size: 22px; line-height: 1.5; color: var(--hull); }
.pitch__media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
/* Phone screenshot (screenshotLayout: "portrait"): a narrow upright screen beside the text. */
.pitch--portrait { grid-template-columns: minmax(0, 1fr) auto; }
.pitch--portrait .pitch__media { width: min(300px, 70vw); justify-self: center; }
@media (max-width: 860px) {
  .pitch { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .pitch__text p:first-child { font-size: 20px; }
}

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 44px; }
.feature { border-top: 1px solid var(--line); padding-top: 26px; }
/* Icons sit in the hexagonal cells of the in-game shield gauge. */
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 58px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34em; }

/* ---------- video ---------- */

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- gallery: the first screenshot twice as large ---------- */

.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery li { display: flex; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #000; cursor: zoom-in; aspect-ratio: 16 / 10;
}
.gallery li:first-child .gallery__item { aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__item:hover { border-color: var(--accent-2); }
.gallery__item:hover img { opacity: .85; }
.gallery__caption {
  position: absolute; inset: auto 0 0; padding: 24px 12px 9px; text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  color: #fff; font: 500 13px/1.3 var(--font-display);
  opacity: 0; transition: opacity .25s;
}
.gallery__item:hover .gallery__caption, .gallery__item:focus-visible .gallery__caption { opacity: 1; }
@media (hover: none) { .gallery__caption { opacity: 1; } }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery li:first-child { grid-row: auto; }
  .gallery li:first-child .gallery__item { aspect-ratio: 16 / 10; }
}
/* Phone screenshots: upright screens of the same size, centred, the whole screen visible. */
.gallery--portrait { grid-template-columns: repeat(auto-fit, minmax(150px, 240px)); justify-content: center; gap: 24px; }
.gallery--portrait li:first-child { grid-column: auto; grid-row: auto; }
.gallery--portrait .gallery__item,
.gallery--portrait li:first-child .gallery__item { aspect-ratio: 9 / 20; }
@media (max-width: 600px) {
  .gallery--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 5, 10, .95);
  display: flex; align-items: center; justify-content: center; padding: 56px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: var(--radius); }
.lightbox figcaption { margin-top: 14px; font: 500 15px/1.4 var(--font-display); color: var(--muted); text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff;
  width: 48px; height: 48px; border-radius: var(--radius); font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--void); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav--prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 56px 8px; }
  .lightbox__nav { top: auto !important; bottom: 14px; transform: none !important; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- soundtrack ---------- */

.soundtrack { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.soundtrack p { font: 600 20px/1.2 var(--font-display); color: var(--hull); }
.soundtrack audio { width: 100%; }

/* ---------- studio and contact ---------- */

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; }
.duo .section__title { margin-bottom: 20px; }
.studio__about p { font-size: 18px; max-width: 34em; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.contact__lead { color: var(--muted); margin-bottom: 16px; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  color: var(--hull); font: 500 clamp(19px, 4.5vw, 24px)/1.2 var(--font-display);
  overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--accent); text-decoration: none; }
.contact__mail .icon { width: 24px; height: 24px; color: var(--accent); flex: none; }
.section.contact { padding-block: 72px; }

/* ---------- privacy policy of an app ---------- */

.privacy-link { margin: 28px 0 0; font-size: 15px; }
.section--page { padding-top: 150px; }
.page-title { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.policy h2 { font-size: 24px; margin: 40px 0 12px; }
.policy p { max-width: 42em; }
.policy__meta { font: 14px/1.4 var(--font-mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 28px; }
.policy__draft {
  display: inline-block; margin: 0 0 22px; padding: 7px 12px;
  font: 600 14px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--void); background: var(--accent-2); border-radius: 2px;
}
.policy__pending { color: var(--accent-2); font-style: italic; }
.policy__todo { margin: 0 0 16px; padding: 12px 16px 12px 34px; border: 1px dashed var(--accent-2); color: var(--accent-2); font-size: 15px; }
.policy__back { margin-top: 48px; }

/* ---------- site root: language choice ---------- */

.chooser { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.chooser__box { text-align: center; max-width: 640px; }
.chooser h1 { margin: 0 0 6px; }
.chooser h1 img { width: min(300px, 70vw); height: auto; margin: 0 auto; filter: brightness(1.35); }
.chooser .eyebrow { font: 500 20px/1.3 var(--font-display); color: var(--hull); }
.chooser__list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chooser__list a {
  display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--text); font-size: 15px;
}
.chooser__list a:hover { text-decoration: none; border-color: var(--accent-2); }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); background: #05080f; padding: 40px 0 34px; }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__inner img { height: 44px; width: auto; filter: brightness(1.5); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 15px; }
.footer__links:empty { display: none; }
.footer__legal { margin: 0; color: var(--muted); font-size: 13px; }
.footer__notices { margin: -8px 0 0; max-width: 820px; color: var(--muted); font-size: 11.5px; line-height: 1.5; opacity: .8; }
