/* 1/4 PRIMITIVE — raw values only: no meaning, no brand. Everything else is built from these. */
:root {
  /* color families: 1 main, 2 light tint, 3 close analog, 4 deep. One family per segment, far apart on the wheel. */
  --hue-indigo-1: #4f63ff;
  --hue-indigo-2: #cfd6ff;
  --hue-indigo-3: #7aa2ff;
  --hue-indigo-4: #1f2a6b;

  --hue-amber-1: #ffa31a;
  --hue-amber-2: #ffe0a3;
  --hue-amber-3: #ff7a3d;
  --hue-amber-4: #b45309;

  --hue-rose-1: #ff3d7f;
  --hue-rose-2: #ffc2d6;
  --hue-rose-3: #ff6f91;
  --hue-rose-4: #a3153f;

  --hue-mint-1: #12b886;
  --hue-mint-2: #b8f2dc;
  --hue-mint-3: #2fd1c1;
  --hue-mint-4: #0b6b52;

  --hue-violet-1: #8a4dff;
  --hue-violet-2: #d9c7ff;
  --hue-violet-3: #c06bff;
  --hue-violet-4: #4a1fa8;

  /* light page backgrounds, tinted per family */
  --day-indigo: #f4f6ff;
  --day-amber: #fff7e8;
  --day-rose: #fff0f4;
  --day-mint: #ecfbf5;
  --day-violet: #f4eeff;

  /* night page backgrounds, tinted per family (the dark twins of --day-*) */
  --night-indigo: #0b0d2b;
  --night-amber: #17100a;
  --night-rose: #190c14;
  --night-mint: #07171a;
  --night-violet: #120b24;

  /* night surfaces and ink: a cool violet-navy, never pure black */
  --night-ink: #eceaff;
  --night-ink-72: rgb(236 234 255 / 0.74);
  --night-line: rgb(255 255 255 / 0.14);
  --night-paper: #19143a;
  --night-paper-hi: #231d4c;
  --night-glass: rgb(26 21 56 / 0.62);
  --night-glass-hi: rgb(38 31 78 / 0.86);
  --night-field: rgb(255 255 255 / 0.07);
  --night-field-hi: rgb(255 255 255 / 0.13);

  --red-1: #c4163a;
  --red-2: #ff9db1;

  --ink-900: #14102b;
  --ink-900-64: rgb(20 16 43 / 0.72);
  --ink-900-10: rgb(20 16 43 / 0.1);
  --white: #ffffff;
  --white-55: rgb(255 255 255 / 0.55);
  --white-80: rgb(255 255 255 / 0.8);

  /* sizes */
  --size-1: 0.25rem;
  --size-2: 0.4rem;
  --size-3: 0.6rem;
  --size-4: 0.85rem;
  --size-5: 1.1rem;
  --size-6: 1.5rem;
  --size-7: 2.2rem;
  --size-8: 3.5rem;

  --radius-1: 0.6rem;
  --radius-2: 0.9rem;
  --radius-3: 1.25rem;
  --radius-pill: 999px;
  --blur-1: 18px;

  /* type */
  --font-family-display: "Unbounded", "Inter", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-family-sans: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, sans-serif;
  --font-family-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-family-serif-fine: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --font-family-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --font-size-1: 0.8rem;
  --font-size-2: 0.95rem;
  --font-size-3: 1.2rem;
  --font-size-fluid-lede: clamp(1rem, 0.9rem + 0.45vw, 1.25rem);
  --font-size-fluid-title: clamp(2rem, min(0.8rem + 3.4vw, 7.4dvh), 3.9rem);

  /* motion */
  --duration-1: 0.18s;
  --duration-2: 0.35s;
  --duration-3: 0.9s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
