/* Kokoro site tokens.
 * Two worlds, as in the app and the App Store pack:
 *  - the night: true black (the orb's stage), pearl type, one ember for "you, now";
 *  - the print: the program covers' paper, ink and vermilion.
 * Each guide keeps the accent colour of its orb in the app (src/voices/voices.ts). */
:root {
  --color-night: #000;
  --color-night-raised: #0f0d0b;
  --color-gallery: #0d0b09;       /* the programs wall: warm black under one light */
  --color-pearl: #ece7de;
  --color-pearl-soft: #b9b3a9;
  --color-ash: #8b857c;
  --color-hairline: rgb(236 231 222 / 0.14);
  --color-ember: #f07528;
  --color-ember-light: #ff9d50;

  --color-paper: #f3e3c3;
  --color-paper-deep: #e9d6b0;
  --color-ink: #1a1714;
  --color-ink-soft: #5b5246;
  --color-ink-hairline: rgb(26 23 20 / 0.07);
  --color-vermilion: #ee5a2a;

  --color-mistral: #8fb0f0;
  --color-flint: #ff9d50;
  --color-moss: #78dcaf;
  --color-iris: #cea2f5;

  /* Avenir Next is the app's own face (installed on every iPhone and Mac);
     Nunito Sans is the closest open face for everyone else. */
  --font-sans: "Avenir Next", "Nunito Sans", "Avenir", system-ui, sans-serif;
  --font-print: "Gloock", "Iowan Old Style", Georgia, serif;

  --text-hero: clamp(2.375rem, 1.35rem + 5.2vw, 5.5rem);
  --text-display: clamp(2.25rem, 1.3rem + 3.4vw, 4.5rem);
  --text-name: clamp(3.25rem, 1.6rem + 6.4vw, 6rem);
  --text-thought: clamp(1.75rem, 1.05rem + 2.5vw, 3.25rem);
  --text-heading: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-tiny: 0.8125rem;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;
  --space-section: clamp(6rem, 3rem + 10vw, 12rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --page-max: 84rem;

  --shadow-screen: 0 0 0 1px var(--color-hairline), 0 40px 80px -30px rgb(0 0 0 / 0.9);
  --shadow-dock: 0 10px 30px -8px rgb(0 0 0 / 0.55);

  --radius-print: 4px;
  --radius-sheet: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 480ms;
  --dur-slow: 1100ms;
}
