/* Caught: shared tokens, type, wordmark and buttons. Used by the site, the dashboard and the legal pages.
   The palette is Leonida after sunset: violet sky, pink and peach glow, teal water, window light.
   Red means "live" and nothing else. Caption yellow appears only where we show captions. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Mr Dafoe"; src: url("../fonts/mrdafoe.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Anton"; src: url("../fonts/anton.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #17122e;          /* text on light glass, the dashboard's room */
  --ink-2: #211a40;
  --ink-3: #2c2452;
  --line: #3a3166;
  --white: #ffffff;
  --mute: #a69fc7;         /* secondary text on dark */
  --mute-ink: #5d5680;     /* secondary text on light */
  --pink: #ff5c9a;
  --peach: #ffb37f;
  --sun: #ffe3a6;
  --teal: #3cc6cf;
  --caption: #ffe500;      /* the clips' caption highlight */
  --rec: #ff3b4e;
  --ok: #3ddc97;

  --glass: rgba(255, 255, 255, .9);
  --glass-line: rgba(255, 255, 255, .55);
  --glass-dark: rgba(18, 14, 40, .42);

  --display: "Archivo", system-ui, sans-serif;   /* set wide and heavy, see .display */
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --caption-font: "Anton", Impact, sans-serif;

  --wrap: 1200px;
  --pad: clamp(16px, 5vw, 48px);
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: #0d0b22;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, canvas, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
::selection { background: var(--pink); color: #fff; }

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

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.h1 { font-size: clamp(2.35rem, 4.5vw, 4.1rem); line-height: 1; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.5; max-width: 34em; }
.label { font: 700 .76rem/1.2 var(--body); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; }
.tc { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.small { font-size: .875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- wordmark: a sunset script, the one nod to the game's own lettering ---------- */
.mark { display: inline-block; font: 400 2.1rem/1 var(--script); letter-spacing: .01em; text-decoration: none; color: var(--white);
  padding: .02em .12em .1em .04em; background: linear-gradient(180deg, #fff3d6 10%, var(--peach) 55%, var(--pink) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(23, 18, 46, .55)); }
.mark.flat { background: none; -webkit-text-fill-color: currentColor; filter: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .7em 1.3em;
  border: 1px solid transparent; border-radius: var(--r); background: var(--ink); color: var(--white);
  font: 700 1rem/1.1 var(--body); font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { background: #2a2150; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(10, 6, 30, .55); }
.btn-light:hover { background: #fff3e6; }
.btn-glass { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(23, 18, 46, .25); }
.btn-line:hover { background: rgba(23, 18, 46, .06); }
.btn-small { min-height: 40px; padding: .5em 1em; font-size: .92rem; border-radius: 10px; }

/* ---------- top bar (site and legal pages) ---------- */
.top { position: sticky; top: 0; z-index: 40; padding-top: 12px; }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 8px 6px 16px;
  border-radius: 16px; background: rgba(20, 15, 44, .38); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); color: var(--white); }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .88; }
.top nav a:not(.btn):hover { opacity: 1; background: rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .top nav a.hide-s { display: none; } }

/* ---------- legal pages ---------- */
.paper { background: linear-gradient(180deg, #2f2a74 0, #8a4c9e 260px, #f6f3fb 260px); min-height: 100dvh; }
.legal { max-width: 780px; margin: 40px auto 96px; padding: clamp(24px, 5vw, 56px); background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px -40px rgba(23, 18, 46, .5); }
.legal h1 { margin-bottom: 10px; }
.legal h2 { font: 700 1.15rem/1.3 var(--body); font-stretch: 108%; margin: 34px 0 8px; }
.legal p, .legal li { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .dim { color: var(--mute-ink); }

/* ---------- footer ---------- */
.foot { padding-block: 28px 40px; font-size: .88rem; color: rgba(255, 255, 255, .7); background: linear-gradient(transparent, rgba(4, 3, 16, .7)); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: #fff; }
.foot p { max-width: 62em; }

.paper .foot { background: none; color: var(--mute-ink); }
.paper .foot a:hover { color: var(--ink); }
.foot .mark { justify-self: start; font-size: 1.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.freeze *, .freeze *::before, .freeze *::after { transition: none !important; animation: none !important; }
