/*
  Olive Token: design tokens
  A warm charcoal room after hours. Big quiet serif headlines in stone grey,
  one phrase lifted to cream, olive pill buttons, and sculpted game-piece
  tokens (ridged, dimpled, ringed) floating in the dark.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ot-charcoal: #1C1B19;
  --ot-ink: #232220;
  --ot-raise: #2C2A27;
  --ot-line: #383631;
  --ot-line-soft: #2A2926;

  /* Text */
  --ot-cream: #EDEAE3;
  --ot-stone: #A7A398;
  --ot-dim: #77736A;

  /* Accent */
  --ot-olive: #8E9C24;
  --ot-olive-hi: #A4B32E;
  --ot-olive-ink: #20230A;
  --ot-olive-glow: rgba(142, 156, 36, 0.18);

  /* Token colours (face and edge) */
  --ot-tok-olive: #7F8D22;
  --ot-tok-olive-edge: #4F5814;
  --ot-tok-indigo: #3E428F;
  --ot-tok-indigo-edge: #262960;
  --ot-tok-pewter: #8D8B86;
  --ot-tok-pewter-edge: #57554F;
  --ot-tok-moss: #56652A;
  --ot-tok-moss-edge: #343E18;
  --ot-tok-clay: #A5694B;
  --ot-tok-clay-edge: #6B412D;

  /* States */
  --ot-error: #E07A62;

  /* Fonts */
  --ot-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ot-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --ot-text-display: clamp(44px, 6.4vw, 88px);
  --ot-text-h1: clamp(40px, 5.2vw, 68px);
  --ot-text-h2: clamp(30px, 3.6vw, 46px);
  --ot-text-h3: 22px;
  --ot-text-lead: 19px;
  --ot-text-body: 16px;
  --ot-text-small: 14px;
  --ot-text-micro: 12px;

  /* Shape */
  --ot-radius-pill: 999px;
  --ot-radius-lg: 24px;
  --ot-radius-md: 16px;
  --ot-radius-sm: 10px;

  /* Shadows */
  --ot-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --ot-shadow-token: 0 30px 40px rgba(0, 0, 0, 0.55);
  --ot-inset-token: inset 0 -10px 22px rgba(0, 0, 0, 0.38), inset 0 8px 14px rgba(255, 255, 255, 0.12);
  --ot-sheen: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 46%);

  /* Space */
  --ot-space-1: 4px;
  --ot-space-2: 8px;
  --ot-space-3: 12px;
  --ot-space-4: 16px;
  --ot-space-5: 24px;
  --ot-space-6: 32px;
  --ot-space-7: 48px;
  --ot-space-8: 72px;
  --ot-space-9: 112px;

  /* Layout */
  --ot-container: 1240px;
  --ot-narrow: 700px;
  --ot-gutter: 32px;
  --ot-nav-h: 68px;
}

@media (max-width: 640px) {
  :root {
    --ot-gutter: 20px;
    --ot-space-8: 52px;
    --ot-space-9: 76px;
  }
}
