/* Bastion Blast landing page — standalone stylesheet.
   Design tokens extracted from the Frodo design system (Ravendell Studios).
   Fonts: Alagard (Hewett Tsoi, free w/ credit) + Geist Pixel (Vercel +
   basement.studio, SIL OFL — see fonts/Geist-OFL.txt). */

/* ---------------- Fonts ---------------- */
@font-face {
  font-family: 'Alagard';
  src: url('fonts/alagard.ttf') format('truetype');
  font-display: swap; font-style: normal; font-weight: 400;
}
/* Geist Pixel Square. The other four variants (Grid, Circle, Triangle, Line)
   ship in the `geist` npm package under dist/fonts/geist-pixel/. */
@font-face {
  font-family: 'Geist Pixel';
  src: url('fonts/GeistPixel-Square.woff2') format('woff2');
  font-display: swap; font-style: normal; font-weight: 500;
}

/* ---------------- Design tokens ---------------- */
:root {
  /* Neutrals — stone / zinc ramp */
  --zinc-950: #09090b; --zinc-900: #18181b; --zinc-800: #27272a;
  --zinc-700: #3f3f46; --zinc-600: #52525b; --zinc-500: #71717a;
  --zinc-400: #a1a1aa; --zinc-300: #d4d4d8; --zinc-200: #e4e4e7; --zinc-100: #f4f4f5;

  /* Primary — antique gold / amber */
  --amber-200: #fde68a; --amber-300: #fcd34d; --amber-400: #fbbf24;
  --amber-500: #f59e0b; --amber-900: #78350f; --amber-950: #451a03;

  /* Brand accents */
  --royal-purple: #5b2a86; --royal-purple-deep: #3d1a5e; --crown-gold: #e0a91b;
  --moonlit-navy: #12263f; --moonlit-navy-deep: #0b1826; --ember: #d9531e;
  --parchment: #e8dcc0; --steam: #171a21;

  /* Server-state semantics */
  --emerald-900: #064e3b; --emerald-300: #6ee7b7;

  /* Surfaces */
  --surface-app: var(--zinc-950); --surface-card: var(--zinc-900);
  --surface-raised: var(--zinc-800); --surface-sunken: var(--zinc-950);

  /* Text */
  --text-strong: var(--zinc-100); --text-body: var(--zinc-300);
  --text-muted: var(--zinc-400); --text-faint: var(--zinc-500);
  --text-on-gold: var(--zinc-950);

  /* Primary action */
  --primary: var(--amber-500); --primary-hover: var(--amber-400);
  --primary-fg: var(--zinc-950); --accent-text: var(--amber-400);

  /* Borders */
  --border: var(--zinc-800); --border-strong: var(--zinc-700); --border-focus: var(--amber-500);

  /* Type families */
  --font-display: 'Alagard', 'Times New Roman', fantasy;
  --font-sans: 'Geist Pixel', ui-monospace, 'SFMono-Regular', monospace;
  --font-mono: 'Geist Pixel', ui-monospace, 'SFMono-Regular', monospace;

  /* Radii */
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 12px; --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,.45);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.55);
}

/* ---------------- Base ---------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zinc-950);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: none;
}
img { image-rendering: pixelated; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--amber-300); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes softPulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* ---------------- Document pages (terms, privacy, refunds, support) ---------------- */
.doc-wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.doc-wrap h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px);
  color: var(--amber-300); letter-spacing: .02em; margin: 0 0 6px;
}
.doc-wrap .doc-meta { font-size: 12px; color: var(--text-faint); margin: 0 0 40px; }
.doc-wrap h2 {
  font-family: var(--font-display); font-size: 24px; color: var(--text-strong);
  letter-spacing: .02em; margin: 40px 0 12px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.doc-wrap h3 { font-size: 15px; color: var(--amber-400); margin: 24px 0 8px; }
.doc-wrap p, .doc-wrap li { font-size: 14px; line-height: 1.75; color: var(--text-muted); }
.doc-wrap p { margin: 0 0 14px; }
.doc-wrap ul { margin: 0 0 14px; padding-left: 22px; }
.doc-wrap li { margin-bottom: 8px; }
.doc-wrap strong { color: var(--text-body); }
.doc-wrap a { text-decoration: underline; text-underline-offset: 3px; }
.doc-callout {
  background: rgba(24,24,27,.6); border: 1px solid var(--border);
  border-left: 3px solid var(--amber-500); border-radius: var(--radius-lg);
  padding: 18px 20px; margin: 0 0 32px;
}
.doc-callout p:last-child { margin-bottom: 0; }
.doc-back { display: inline-block; font-size: 13px; margin-bottom: 28px; }
