/*
 * Night Current: tokens
 *
 * A black observatory screen. One big drawn sphere floats in the dark,
 * crossed by thin streaming current lines in sea green, while every
 * control hugs the corners as tiny plain-text rows. Headlines are a thin
 * cinematic serif, the interface is a narrow sans and every number is mono.
 * Nothing is rounded; selection is shown by a 1px box around a word.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Sans+Condensed:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --nc-void: #030409;          /* the page: space black */
  --nc-deep: #080B16;          /* sections that step forward */
  --nc-panel: rgba(9, 12, 26, .78); /* floating readout panels */
  --nc-panel-solid: #0B0F1F;   /* cards, plans, inputs */
  --nc-line: #1A2036;          /* every hairline */
  --nc-line-bright: #313B5E;   /* boxes around selections, input borders */

  /* Ink */
  --nc-frost: #DCE3EE;         /* main text */
  --nc-mist: #95A0B6;          /* body copy, leads */
  --nc-dim: #5C6680;           /* labels, meta, captions */

  /* The sphere and its currents */
  --nc-sea: #22308F;           /* sphere body */
  --nc-sea-hi: #3C52D6;        /* sphere lit edge, links */
  --nc-current: #8EE39A;       /* current lines, the main button, live values */
  --nc-current-dim: #3E7C55;   /* slow currents, chart fills */
  --nc-surge: #F3E27A;         /* peak readings only: one warning value per screen */
  --nc-coast: rgba(220, 227, 238, .55); /* coastline and graticule strokes */

  /* The sphere, painted */
  --nc-sphere: radial-gradient(circle at 36% 32%, #3346C0 0%, var(--nc-sea) 38%, #121A5A 72%, #070A26 100%);
  --nc-halo: radial-gradient(circle, rgba(60, 82, 214, .22) 0%, rgba(60, 82, 214, 0) 62%);
  --nc-starfield: radial-gradient(1px 1px at 12% 18%, rgba(220, 227, 238, .5), transparent 60%), radial-gradient(1px 1px at 78% 8%, rgba(220, 227, 238, .35), transparent 60%), radial-gradient(1px 1px at 42% 72%, rgba(220, 227, 238, .3), transparent 60%), radial-gradient(1px 1px at 88% 64%, rgba(220, 227, 238, .45), transparent 60%), radial-gradient(1px 1px at 24% 88%, rgba(220, 227, 238, .25), transparent 60%);
  --nc-starfield-size: 420px 420px;

  /* Fonts */
  --nc-serif: "Instrument Serif", "Times New Roman", serif;
  --nc-sans: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --nc-mono: "IBM Plex Mono", ui-monospace, monospace;
  --nc-weight: 400;
  --nc-weight-medium: 500;
  --nc-weight-bold: 600;

  /* Type scale */
  --nc-text-display: clamp(52px, 7.6vw, 108px);
  --nc-text-h1: clamp(44px, 6vw, 84px);
  --nc-text-h2: clamp(34px, 4.2vw, 56px);
  --nc-text-h3: 19px;
  --nc-text-lead: 19px;
  --nc-text-body: 16px;
  --nc-text-small: 14px;
  --nc-text-micro: 12px;
  --nc-tracking-serif: -.01em;
  --nc-tracking-micro: .08em;
  --nc-leading-serif: .98;

  /* Shape: everything is square */
  --nc-radius: 0;
  --nc-radius-dot: 50%;
  --nc-border: 1px solid var(--nc-line);
  --nc-box: 1px solid var(--nc-line-bright);

  /* Light */
  --nc-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  --nc-glow: 0 0 24px rgba(142, 227, 154, .28);
  --nc-blur: blur(10px);

  /* Space */
  --nc-container: 1200px;
  --nc-narrow: 680px;
  --nc-gutter: 24px;
  --nc-corner: 28px;
  --nc-section: clamp(72px, 10vw, 128px);

  /* Motion */
  --nc-fast: 160ms;
  --nc-ease: cubic-bezier(.2, .7, .2, 1);
  --nc-stream: 9s;
}
