/*
  Boxed Out: design tokens
  A late-night studio look. Pure black pages, enormous mixed-case grotesk headlines set
  tight, and everything else sorted into separate hairline boxes with a small gap between
  them, like a wall of labelled bins. Nav links carry tiny superscript counts, a single
  ember orange dot marks status, and a floating pill switch sits at the bottom of the screen.

  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=Inter+Tight:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --bx-black: #050505;       /* the page */
  --bx-soot: #0E0E0D;        /* box fill, inputs */
  --bx-soot-2: #181816;      /* hover on a box */
  --bx-bone: #EDEAE3;        /* text, primary buttons, the one light section */
  --bx-white: #FFFFFF;

  /* Text */
  --bx-text: #EDEAE3;
  --bx-mute: #8C8A84;        /* secondary text on black */
  --bx-dim: #5A5955;         /* tertiary text, section kickers */
  --bx-ink: #050505;         /* text on bone */
  --bx-ink-soft: #57554F;    /* secondary text on bone */

  /* Accent: one ember orange, used for status and one word at most */
  --bx-ember: #FF5B14;
  --bx-ember-dark: #D9460A;
  --bx-ember-wash: rgba(255, 91, 20, 0.12);

  /* Lines */
  --bx-line: rgba(237, 234, 227, 0.14);
  --bx-line-strong: rgba(237, 234, 227, 0.38);
  --bx-line-bone: #CFCBC2;

  /* Fonts */
  --bx-font-display: "Inter Tight", Helvetica, Arial, sans-serif;
  --bx-font-body: "Inter", Helvetica, Arial, sans-serif;
  --bx-font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --bx-text-hero: clamp(48px, 7.6vw, 118px);
  --bx-text-h1: clamp(42px, 5.6vw, 84px);
  --bx-text-h2: clamp(32px, 3.6vw, 52px);
  --bx-text-h3: 22px;
  --bx-text-lead: clamp(17px, 1.35vw, 20px);
  --bx-text-body: 16px;
  --bx-text-small: 14px;
  --bx-text-label: 13px;
  --bx-text-micro: 11px;
  --bx-track-display: -0.045em;  /* headlines are set tight */
  --bx-leading-display: 0.94;

  /* Shape */
  --bx-radius: 0px;          /* boxes, cards, inputs */
  --bx-radius-pill: 999px;   /* only the floating switch and status chips */
  --bx-border: 1px solid var(--bx-line);
  --bx-border-strong: 1px solid var(--bx-line-strong);
  --bx-shadow: none;
  --bx-shadow-float: 0 10px 40px rgba(0, 0, 0, 0.7);  /* only the floating pill */

  /* Space */
  --bx-gap: 12px;            /* the gap between boxes in a grid, the signature */
  --bx-space-1: 4px;
  --bx-space-2: 8px;
  --bx-space-3: 12px;
  --bx-space-4: 16px;
  --bx-space-5: 24px;
  --bx-space-6: 32px;
  --bx-space-7: 48px;
  --bx-space-8: 72px;
  --bx-space-9: 112px;
  --bx-gutter: 16px;         /* page edge; the layout runs nearly full bleed */
  --bx-container: 1440px;
  --bx-bar: 36px;            /* nav height */
}
