/*
 * Horizon Grid: tokens
 *
 * Feel: a dark night scene that looks forward. Near-black violet surfaces, an aurora sky
 * (violet into magenta into mint) over a glowing perspective floor grid, thin light
 * headlines, and square mono buttons in capitals. Calm and cinematic with a little
 * synth-era nostalgia.
 *
 * Fonts (all free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --hg-night: #0B0A14;      /* page background */
  --hg-deep: #13111F;       /* panels, cards */
  --hg-raised: #1B1830;     /* hover on panels, inputs */
  --hg-line: #2B2745;       /* 1px rules and outlines */
  --hg-line-bright: #48407A;/* focused or featured outlines */

  /* Text */
  --hg-text: #EEEDF7;       /* main text */
  --hg-muted: #9D99BA;      /* secondary text */
  --hg-dim: #67638A;        /* captions, timestamps */

  /* Accents */
  --hg-violet: #9C7CFF;     /* the one main action, links */
  --hg-violet-dark: #7E5CF0;/* hover on violet */
  --hg-magenta: #D45BC6;    /* sky glow only, never text */
  --hg-mint: #6CEFC2;       /* horizon line, live states, success */
  --hg-amber: #FFC46B;      /* warnings, delays */

  /* Gradients: the sky and the horizon line */
  --hg-sky: radial-gradient(70% 60% at 50% 100%, rgba(108, 239, 194, .28) 0%, rgba(212, 91, 198, .34) 38%, rgba(156, 124, 255, .30) 62%, rgba(11, 10, 20, 0) 100%);
  --hg-horizon: linear-gradient(90deg, rgba(108, 239, 194, 0), var(--hg-mint) 30%, var(--hg-violet) 70%, rgba(156, 124, 255, 0));

  /* Fonts */
  --hg-display: "Sora", system-ui, sans-serif;
  --hg-sans: "DM Sans", system-ui, sans-serif;
  --hg-mono: "Space Mono", ui-monospace, monospace;

  /* Type scale */
  --hg-text-hero: clamp(42px, 7vw, 88px);
  --hg-text-h2: clamp(32px, 4.4vw, 56px);
  --hg-text-h3: 22px;
  --hg-text-lead: clamp(17px, 1.6vw, 20px);
  --hg-text-body: 16px;
  --hg-text-small: 14px;
  --hg-text-micro: 12px;
  --hg-tracking-hero: -0.035em;
  --hg-tracking-mono: 0.08em;

  /* Shape: square corners, 1px outlines, glow instead of drop shadows */
  --hg-radius: 0px;
  --hg-radius-soft: 4px;
  --hg-border: 1px solid var(--hg-line);
  --hg-glow: 0 0 0 1px rgba(156, 124, 255, .35), 0 0 32px rgba(156, 124, 255, .25);
  --hg-glow-mint: 0 0 24px rgba(108, 239, 194, .35);

  /* Space */
  --hg-container: 1200px;
  --hg-narrow: 720px;
  --hg-section: clamp(72px, 10vw, 128px);
  --hg-gap: 24px;
  --hg-ease: cubic-bezier(.2, .7, .2, 1);
}
