/* GENERATED by scripts/seo/build.mjs from src/pages/pages.css + src/ui/glass.tokens.json. Do not edit. */
:root { --glass-capsule-solid: rgba(10,20,48,0.73); --glass-capsule-edge: rgba(255,255,255,0.22); --glass-capsule-radius: 999px; }
/* The light pages: 404, offline, maintenance, legal (src/pages/static.ts). No script; one small file.
   scripts/seo/build.mjs copies this to public/pages.css with the glass tokens written in front as variables.
   Colours: the identity palette only (src/gl/glsl.ts). */
/* TODO(lead): point these at the subset WOFF2 files once the font pipeline exists; until they arrive the system font shows (swap). */
@font-face { font-family: Russo; src: url("/assets/source/fonts/Russo Sans Bold.otf"); font-display: swap; }
@font-face { font-family: Kafa; src: url("/assets/source/fonts/Kafa-Black.ttf"); font-display: swap; }
@font-face { font-family: Cairo; src: url("/assets/source/fonts/ofl/Cairo-Variable.ttf"); font-weight: 200 1000; font-display: swap; }

:root { --ink: #050B1F; --royal: #1440B8; --mist: #7FD3F2; --neon: #DFFF1A; --gold: #C9A24A; --fur: #F2F4F8; color-scheme: dark; }
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.p { min-height: 100svh; color: var(--fur); font: 500 16px/1.8 Cairo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background: radial-gradient(120% 55% at 50% 0%, rgba(20, 64, 184, .42), rgba(20, 64, 184, 0) 72%), radial-gradient(90% 40% at 50% 100%, rgba(127, 211, 242, .1), rgba(127, 211, 242, 0) 70%), var(--ink);
  background-attachment: fixed; }
h1, h2 { font-family: Kafa, Cairo, system-ui, sans-serif; font-weight: 400; line-height: 1.25; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.card { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center;
  padding: calc(28px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); }
.card h1 { font-size: clamp(30px, 9vw, 44px); }
.card h1, .card p { text-wrap: balance; }
.card p { max-width: 30ch; color: rgba(242, 244, 248, .84); }
.card .adults, .adults { max-width: none; font-size: 13px; color: rgba(242, 244, 248, .62) !important; margin-top: 10px; }
.logo { width: 96px; height: 96px; border-radius: 24px; }

/* buttons: the capsule glass from the tokens (no backdrop blur here: nothing but ink is behind) */
.btn { display: inline-grid; place-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--glass-capsule-radius); text-decoration: none;
  font: 700 15px/1.2 Cairo, system-ui, sans-serif; color: var(--fur); background: var(--glass-capsule-solid);
  box-shadow: inset 0 1px 0 0 var(--glass-capsule-edge), inset 0 0 0 .5px var(--glass-capsule-edge); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.96); }
.btn-go { background: var(--neon); color: var(--ink); box-shadow: none; margin-top: 6px; }
.links { list-style: none; padding: 0; display: grid; gap: 10px; width: min(100%, 320px); }
.links .btn { width: 100%; }

/* ---- 404: seven chips fall and stack ---- */
.card .code { font: 400 clamp(64px, 24vw, 104px)/1 Russo, system-ui, sans-serif; letter-spacing: .04em; color: var(--gold); max-width: none !important; }
.stack { position: relative; width: 128px; height: 132px; margin-bottom: 6px; }
.floor { position: absolute; left: -6px; right: -6px; bottom: -12px; height: 26px; border-radius: 50%; background: rgba(20, 64, 184, .55); filter: blur(12px); }
.chip { position: absolute; left: 10px; bottom: calc(var(--n) * 13px); width: 108px; height: 30px; z-index: var(--n);
  animation: drop .95s cubic-bezier(.3, 0, .7, 1) calc(.25s + var(--n) * .16s) both; }
/* the edge of the chip: stripes that turn with the chip; then its top face */
.chip::before { content: ""; position: absolute; inset: 9px 0 -9px; border-radius: 0 0 54px 54px / 0 0 15px 15px;
  background: linear-gradient(90deg, rgba(5, 11, 31, .55), rgba(5, 11, 31, 0) 28%, rgba(242, 244, 248, .18) 50%, rgba(5, 11, 31, 0) 72%, rgba(5, 11, 31, .6)),
    repeating-linear-gradient(90deg, var(--c) 0 15px, var(--s) 15px 21px); }
.chip::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(5, 11, 31, 0) 0 48%, rgba(5, 11, 31, .28) 50% 56%, rgba(5, 11, 31, 0) 58%),
    linear-gradient(105deg, rgba(242, 244, 248, .5), rgba(242, 244, 248, 0) 45%, rgba(5, 11, 31, .25)), var(--c); }
.chip { --c: var(--gold); --s: var(--ink); }
.chip:nth-child(1) { --n: 0; } .chip:nth-child(2) { --n: 1; --c: var(--royal); --s: var(--fur); } .chip:nth-child(3) { --n: 2; }
.chip:nth-child(4) { --n: 3; --c: var(--fur); --s: var(--royal); } .chip:nth-child(5) { --n: 4; } .chip:nth-child(6) { --n: 5; --c: var(--royal); --s: var(--fur); }
.chip:nth-child(7) { --n: 6; --c: var(--neon); --s: var(--ink); left: 16px; }
@keyframes drop {
  0% { transform: translateY(-110svh) rotate(-22deg); }
  62% { transform: translateY(0) rotate(0) scaleY(.8); }
  78% { transform: translateY(-9px) rotate(1.5deg); }
  100% { transform: none; }
}

/* ---- maintenance: one slow light across the logo ---- */
.shine { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { filter: brightness(1.18); } }

/* ---- legal ---- */
.doc { max-width: 40rem; margin-inline: auto; padding: calc(22px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.doc h1 { font-size: clamp(32px, 9vw, 46px); margin-top: 18px; }
.doc h2 { font-size: 28px; color: var(--gold); margin-top: 44px; scroll-margin-top: 20px; }
.doc section { scroll-margin-top: 20px; }
.doc h3 { font: 800 17px/1.5 Cairo, system-ui, sans-serif; margin-top: 22px; }
.doc p { color: rgba(242, 244, 248, .86); margin-top: 6px; }
.doc .intro { font-weight: 700; color: var(--fur); margin-top: 10px; }
.back { display: inline-grid; align-items: center; min-height: 48px; font-weight: 700; color: var(--mist); text-decoration: none; }
.draft { display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 999px; background: var(--neon); color: var(--ink) !important; font-weight: 800; font-size: 14px; }
.updated { font-size: 14px; color: rgba(242, 244, 248, .62) !important; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip, .shine { animation: none; }
}
