/* ==========================================================================
   Radio Silence — design tokens
   Ported verbatim from Radio Silence/Theme.swift (the app's single source of
   design truth). Every color, bloom pass, and easing here traces to a token
   in that file — keep them in lockstep.
   ========================================================================== */

:root {
  /* ----- Colors (RadioSilenceColors) ----- */
  --rs-black: #000000;            /* background — the screen is a void */
  --rs-white: #ffffff;            /* frequency digits, baseline, needle */
  --rs-orange: #ff6b1a;           /* tacticalOrange — THE single accent */
  --rs-green: #6db584;            /* modeBadgeGreen */
  --rs-amber: #ffaa44;            /* terminalAmber — onboarding terminal text */
  --rs-gold: #aa6600;             /* clandestinePreset — numbers stations */
  --rs-status: #ebebeb;           /* statusText */
  --rs-tick: #cacaca;             /* dialTickMajor / dialCenterLabel */
  --rs-meta: #888888;             /* metadataGray / dialLabel */
  --rs-logbook-meta: #adadad;     /* logbookMeta */
  --rs-notes-label: #999999;      /* notesLabel */
  --rs-divider: #1d1d1d;          /* rowDivider */
  --rs-header-divider: #242424;   /* headerDivider */
  --rs-pill-inactive: #1a1a1a;    /* pillInactive */
  --rs-dim: #444444;              /* dimGray */
  --rs-preset-label: #666666;     /* rsPresetLabel */

  /* ----- Bloom (RadioSilenceLayout.bloomTight/Mid/Wide: 0.8/3, 0.45/10, 0.2/28) ----- */
  --rs-bloom:
    0 0 3px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.45),
    0 0 28px rgba(255, 255, 255, 0.2);
  --rs-bloom-orange:
    0 0 3px rgba(255, 107, 26, 0.8),
    0 0 10px rgba(255, 107, 26, 0.45),
    0 0 28px rgba(255, 107, 26, 0.2);
  --rs-bloom-amber:
    0 0 3px rgba(255, 170, 68, 0.7),
    0 0 10px rgba(255, 170, 68, 0.35);

  /* ----- Typography ----- */
  /* Family A — Menlo (slashed zero). Apple devices load local Menlo at zero
     bytes; others fall through to self-hosted DejaVu Sans Mono (Menlo's
     Bitstream Vera ancestor — same slashed zero). */
  --font-mono: "RS Mono", Menlo, "DejaVu Sans Mono", ui-monospace, Consolas, monospace;
  /* Display face for consumer headlines */
  --font-display: "Space Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* Family B — SF Pro (condensed via font-stretch where supported) */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ----- Motion ----- */
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.9s;
  --reveal-rise: 28px;

  /* ----- Layout ----- */
  --page-max: 1120px;
  --section-pad: clamp(96px, 14vh, 160px);
}
