/* Design tokens — v3, "Crisp" (the owner's pick, concept 02) + The Drop mark.
   Source of truth: tmp/theme-concepts-2/preview/concepts.css (concept--crisp).

   SURFACE LANGUAGE (one for the whole site): cool white #F6F8FC page; white
   surfaces lifted by COBALT-TINTED ELEVATION — shadow, never borders. The one
   exception the owner asked for: ICON TILES ARE CARDLESS — icons sit directly
   on the surface, separation by whitespace and a cobalt tint wash on hover,
   never a card box.

   SIGNATURE 1: the cardless live sampler — the same 100 free icons in four
   labeled parallel treatment columns; hover plays the icon's own motion and
   the how-line tells you how it moves.
   SIGNATURE 2: The Drop — the wordmark's trailing period drops and settles on
   hover (masthead, footer, favicon).

   Accent: cobalt #2743E0, one role: links, primary action, the period.
   Type: Sora display + Inter body, 12/16/25/60. Icons: duotone by default.

   Legacy aliases at the bottom keep checkout.html / redeem.html (app.css)
   rendering in the same family. */

:root {
  color-scheme: light;

  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #EAF0FA;
  --border: #D6DEEF; /* hairline only where a rule truly helps, never on icon tiles */

  --text: #131A2A;
  --body: #3D475C;
  --muted: #5D6B85;

  --accent: #2743E0;
  --accent-hover: #1D33B8;
  --accent-ink: #FFFFFF;
  --glow: rgba(39, 67, 224, 0.16);
  --glow-strong: rgba(39, 67, 224, 0.24);

  /* Elevation — cobalt-tinted, the one shadow family. */
  --elev-1: 0 2px 8px var(--glow);
  --elev-2: 0 10px 28px var(--glow);
  --elev-3: 0 14px 32px var(--glow-strong);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --t-label: 12px;
  --t-body: 16px;
  --t-h2: 25px;
  --t-display: clamp(40px, 5vw, 60px);

  --lh-display: 1.08;
  --lh-h2: 1.25;
  --lh-body: 1.5;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --w-page: 1200px;
  --w-prose: 660px;
  --gutter: 24px;

  --radius-card: 16px;
  --radius-ctl: 12px;
  --radius-pill: 999px;

  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Legacy aliases — checkout.html / redeem.html keep the shared names. */
  --page: var(--bg);
  --card: var(--surface);
  --well: var(--surface-2);
  --sunken: #DFE7F5;
  --ink: var(--text);
  --line: rgba(19, 26, 42, 0.1);
  --line-strong: rgba(19, 26, 42, 0.18);
  --line-input: rgba(19, 26, 42, 0.4);
  --accent-soft: rgba(39, 67, 224, 0.12);
  --success: #0b7a43;
  --success-soft: rgba(26, 143, 79, 0.12);
  --danger: #b4342a;
  --danger-soft: rgba(180, 52, 42, 0.1);
  --action-bg: var(--accent);
  --action-ink: var(--accent-ink);
  --shadow: var(--elev-1);
  --font-ui: var(--font-body);
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas,
    monospace;
  --t-h3: 19px;
  --t-ui: 14px;
  --t-mono: 12px;
  --s1: var(--sp-1);
  --s2: var(--sp-2);
  --s3: var(--sp-3);
  --s4: var(--sp-4);
  --s5: var(--sp-5);
  --s6: var(--sp-6);
  --s7: var(--sp-7);
  --s8: var(--sp-8);
  --s9: var(--sp-9);
  --w-prose: 58ch;
  --r-card: var(--radius-card);
  --r-well: var(--radius-ctl);
  --r-pill: var(--radius-pill);
  --strip-bg: #131A2A;
  --strip-ink: #FFFFFF;
  --strip-muted: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
}
