/*
  Lit Cell: design tokens

  Feel: a black night city seen from above, out of focus. Soft grey blocks
  of light drift behind big, thin headlines, and one or two sharp cobalt
  pixels are the only colour. Everything is square: a white nav slab,
  solid white buttons, white outline buttons, hairline grids.

  Fonts (free on Google Fonts):
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --lc-pitch: #060607;        /* the page */
  --lc-coal: #0E0F10;         /* panels, inputs, cards */
  --lc-ash: #1A1B1D;          /* hairlines and grid lines */
  --lc-ash-bright: #303135;   /* input borders, hover lines */

  /* Mosaic blocks (always blurred) */
  --lc-block-1: #121315;
  --lc-block-2: #1B1C1F;
  --lc-block-3: #26272A;
  --lc-block-4: #333438;

  /* Text and the white slab */
  --lc-paper: #F3F3F0;        /* headlines, nav slab, solid button */
  --lc-paper-dim: #DADAD5;    /* solid button hover */
  --lc-ink: #0A0A0B;          /* text on paper */
  --lc-smoke: #8D8E93;        /* leads, body on dark, meta */
  --lc-fog: #5A5B60;          /* quiet labels, placeholders */

  /* The only colour */
  --lc-cobalt: #4150F2;       /* the lit pixel, links, focus, checks */
  --lc-cobalt-deep: #2A35B5;  /* the second, dimmer pixel */
  --lc-cobalt-wash: rgba(65, 80, 242, 0.14);
  --lc-signal: #F2655A;       /* errors only */

  /* Fonts */
  --lc-font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --lc-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --lc-text-display: clamp(44px, 6.4vw, 92px);
  --lc-text-h1: clamp(40px, 5.2vw, 72px);
  --lc-text-h2: clamp(30px, 3.6vw, 48px);
  --lc-text-h3: 21px;
  --lc-text-lead: 18px;
  --lc-text-body: 16px;
  --lc-text-small: 14px;
  --lc-text-micro: 12px;

  --lc-weight-thin: 300;
  --lc-weight-regular: 400;
  --lc-weight-medium: 500;
  --lc-weight-strong: 600;

  --lc-leading-tight: 1.04;
  --lc-leading-snug: 1.25;
  --lc-leading-body: 1.6;
  --lc-tracking-head: -0.035em;
  --lc-tracking-mono: 0.06em;

  /* Shape: square everywhere */
  --lc-radius: 0;
  --lc-border: 1px solid var(--lc-ash);
  --lc-border-bright: 1px solid var(--lc-ash-bright);
  --lc-border-paper: 1px solid var(--lc-paper);

  /* Depth: no soft shadows, only blur behind and a hard cobalt halo on the pixel */
  --lc-blur: blur(14px);
  --lc-pixel-glow: 0 0 18px rgba(65, 80, 242, 0.55);
  --lc-focus: 0 0 0 2px var(--lc-cobalt);

  /* Space */
  --lc-space-1: 4px;
  --lc-space-2: 8px;
  --lc-space-3: 12px;
  --lc-space-4: 16px;
  --lc-space-5: 24px;
  --lc-space-6: 32px;
  --lc-space-7: 48px;
  --lc-space-8: 64px;
  --lc-space-9: 96px;
  --lc-space-10: 140px;

  --lc-container: 1360px;
  --lc-narrow: 700px;
  --lc-gutter: 40px;
  --lc-nav-height: 44px;
}

@media (max-width: 720px) {
  :root {
    --lc-gutter: 16px;
  }
}
