/**
 * @file
 * SM design tokens. Every sm_ module styles itself with these variables,
 * so the palette can be retuned in one place.
 */
:root {
  /* Surfaces: night sky to stage deck. */
  --sm-night: #081530;
  --sm-navy: #0e2147;
  --sm-navy-2: #16305f;
  --sm-navy-3: #1f3d75;
  --sm-line: #2a477f;

  /* Text. */
  --sm-ink: #f3f6ff;
  --sm-mist: #aebfe2;
  --sm-ink-on-light: #081530;

  /* Signals. Amber is the one action colour; cyan is for links. */
  --sm-amber: #ffc14d;
  --sm-amber-hot: #ffd27d;
  --sm-cyan: #6fdcf2;
  --sm-green: #8ee39b;
  --sm-red: #ff8080;
  --sm-violet: #c7a3ff;

  /* Type. */
  --sm-font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sm-font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --sm-text-xs: 0.8125rem;
  --sm-text-sm: 0.9375rem;
  --sm-text-md: 1rem;
  --sm-text-lg: 1.25rem;
  --sm-text-xl: 1.75rem;
  --sm-text-2xl: 2.5rem;
  --sm-text-3xl: clamp(2.75rem, 6vw, 4.5rem);

  /* Shape: pills for actions, softer corners for containers. */
  --sm-radius-pill: 999px;
  --sm-radius-card: 18px;
  --sm-radius-field: 12px;
  --sm-radius-chip: 8px;

  /* Space. */
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.5rem;
  --sm-space-6: 2rem;
  --sm-space-7: 3rem;
  --sm-space-8: 4.5rem;

  --sm-content-width: 76rem;
  --sm-focus: 0 0 0 3px var(--sm-night), 0 0 0 5px var(--sm-amber);
  --sm-lift: 0 18px 40px -24px rgba(0, 4, 20, 0.9);
}
