/* Hush tokens. Every colour and font on the site goes through this block.
   Deep space black, Cherenkov blue neon for the one accent, cold white for text. Longs green, shorts raspberry. */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  /* surfaces: deep space black, a cold blue cast */
  --ink: #04060B;
  --bg: #070A12;
  --bg-2: #0C1220;
  --bg-3: #142040;
  --surface: #0B101B;
  --surface-2: #101727;
  --surface-3: #172137;
  /* lines: faint blue hairlines */
  --line: rgba(150, 180, 255, 0.10);
  --line-2: rgba(150, 180, 255, 0.17);
  --line-3: rgba(150, 180, 255, 0.32);
  /* text: cold white */
  --text: #E9EEFF;
  --text-2: #A4AECA;
  --text-3: #6B7591;
  /* signal: Cherenkov blue, the glow of a particle moving faster than light can through water */
  --accent: #4D86FF;
  --accent-hi: #A9C4FF;
  --accent-lo: #2C59D6;
  --accent-wash: rgba(77, 134, 255, 0.12);
  --accent-glow: rgba(77, 134, 255, 0.42);
  --up: #3DDC97;
  --down: #FF5C7A;
  --down-wash: rgba(255, 92, 122, 0.10);
  --scrim: rgba(4, 6, 11, 0.76);
  --chrome: linear-gradient(160deg, #DCE7FF 0%, #93B4FF 30%, #4D86FF 58%, #B9CDFF 78%, #3A64DE 100%);
  --page-bg: radial-gradient(110% 80% at 85% 0%, #12244F 0%, #0A1022 42%, #070A12 75%);

  /* type: one grotesk for everything you read and press, a mono for numbers */
  --font-display: var(--font);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(2rem, 1.3rem + 2vw, 2.875rem);
  --fs-3xl: clamp(2.6rem, 1.4rem + 3.8vw, 4.5rem);
  --fs-hero: clamp(3.4rem, 1.4rem + 6.6vw, 7.25rem);

  /* space: one scale on a 2px/4px grid. Use these for every padding, margin and gap. */
  --sp-2: .125rem; --sp-4: .25rem; --sp-6: .375rem; --sp-8: .5rem; --sp-10: .625rem; --sp-12: .75rem; --sp-14: .875rem;
  --sp-16: 1rem; --sp-20: 1.25rem; --sp-24: 1.5rem; --sp-28: 1.75rem; --sp-32: 2rem; --sp-40: 2.5rem; --sp-48: 3rem;
  /* shadows: one for anything floating over the page, one glow for the main action */
  --shadow-pop: 0 24px 60px -18px rgba(0, 0, 0, .8);
  --shadow-glow: 0 8px 28px -12px var(--accent-glow);

  /* shape: soft corners, round ends like a neon tube */
  --gutter: clamp(1rem, 0.4rem + 2.4vw, 2rem);
  --container: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-med: 260ms;
  --nav-h: 68px;
}
