/* Inflaton information site — static, no JS. Isekai XP brand: Lexend body, Lora headings,
   xp-ink / xp-blue / xp-white (same tokens as the player app, apps/player/ui/tokens.css). */

@font-face { font-family: "Lexend"; src: url("/assets/fonts/Lexend-var.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/Lora-var.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #2B2B2F;
  --ink-dim: #5f5f59;
  --ink-faint: #8d8d86;
  --blue: #5E7C99;
  --blue-deep: #4a6680;
  --white: #F5F7FA;
  --night: #0B0F1A;
  --bg: #fbfbfa;
  --surface: #ffffff;
  --border: #e6e6e2;
  --radius: 14px;
  --font: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font);
  min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }

/* ── header ─────────────────────────────────────────────── */
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 22px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 18px; color: var(--ink-dim); }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.site-nav a { color: var(--ink-dim); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* ── hero ───────────────────────────────────────────────── */
.hero {
  color: var(--white);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(94,124,153,.55), transparent 60%),
    radial-gradient(70% 90% at 95% 100%, rgba(94,124,153,.35), transparent 65%),
    var(--night);
}
.hero .wrap { padding-block: clamp(56px, 10vw, 112px); }
.hero .kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #c9d4df; }
.hero .kicker img { height: 18px; width: auto; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 58px); line-height: 1.1; margin: 0 0 18px; max-width: 16ch; }
.hero p.lede { font-size: clamp(17px, 2.2vw, 20px); max-width: 46ch; margin: 0 0 32px; color: #dfe6ee; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--white); color: var(--night); }
.btn-primary:hover { background: #ffffff; color: var(--night); }
.btn-ghost { color: var(--white); border-color: rgba(245,247,250,.55); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.hero .note { margin: 18px 0 0; font-size: 14px; color: #b8c4d0; }

/* ── sections ───────────────────────────────────────────── */
section.band { padding-block: clamp(48px, 8vw, 88px); }
section.band + section.band { border-top: 1px solid var(--border); }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 14px; }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 6px; }
.section-lede { color: var(--ink-dim); max-width: 60ch; margin: 0 0 36px; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--ink-dim); }
.card .mark { width: 36px; height: 36px; border-radius: 10px; background: rgba(94,124,153,.14); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }

.split { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split .card { padding: 28px; }
.split ul { margin: 12px 0 20px; padding-left: 20px; color: var(--ink-dim); }
.split li { margin-bottom: 6px; }
.split .btn-primary { background: var(--ink); color: var(--white); }
.split .btn-primary:hover { background: #000; color: var(--white); }

.status { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; }
.status p { margin: 0; }

/* ── documents (policy pages) ───────────────────────────── */
.doc .wrap { max-width: 760px; padding-block: clamp(40px, 7vw, 72px); }
.doc h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--ink-faint); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.callout { background: rgba(94,124,153,.10); border: 1px solid rgba(94,124,153,.30); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px; }
.callout p { margin: 0; }
.contact { font-size: 18px; font-weight: 600; }

/* ── footer ─────────────────────────────────────────────── */
.site-foot { background: var(--surface); border-top: 1px solid var(--border); color: var(--ink-faint); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px calc(28px + env(safe-area-inset-bottom)); }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-dim); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s, border-color .2s, color .2s; }
}
