:root {
  color-scheme: light dark;

  /* Warm neutral surfaces with sunset pink, lilac and marine teal accents. */
  --c-asphalt: light-dark(#faf8fb, #17141b);
  --c-chalk: light-dark(#241e29, #f1eaf2);
  --c-chrome: light-dark(#665d6b, #c4b8c8);
  --c-sodium: light-dark(#92365f, #ffafce);
  --c-sodium-tint: light-dark(#ffdfeb, #533042);
  --c-tube: light-dark(#684687, #d5b5f0);
  --c-seaglass: light-dark(#10685f, #83d9cb);
  --c-raised: light-dark(#ffffff, #211d25);
  --c-raised-2: light-dark(#f2edf3, #2d2731);
  --c-line: light-dark(#e4dfe6, #3e3643);
  --c-line-strong: light-dark(#a89daa, #948799);
  --c-scrim: light-dark(rgb(255 255 255 / 94%), rgb(33 29 37 / 94%));

  --f-text: Roboto, "Segoe UI", Arial, sans-serif;
  --f-display: var(--f-text);
  --f-num: var(--f-text);
  --f-num-features: tabular-nums;
  --w-wide: 100%;
  --w-normal: 100%;
  --w-narrow: 100%;
  --wt-light: 400;
  --wt-regular: 400;
  --wt-bold: 600;
  --wt-heavy: 600;
  --wt-black: 600;

  /* Type scale: 12 14 16 24 48 72 (t-1 smallest). */
  --t-1: 0.75rem;
  --t-2: 0.875rem;
  --t-3: 1rem;
  --t-4: 1.5rem;
  --t-5: 1.75rem;
  --t-6: clamp(1.75rem, 3vw, 2.25rem);
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-text: 1.5;
  --measure: 68ch;

  /* Spacing: 4 8 12 16 24 40 64. */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2.5rem;
  --s-7: 4rem;

  /* Radii by hierarchy: controls, containers, chips. */
  --r-control: 7px;
  --r-container: 14px;
  --r-pill: 999px;

  /* Focus ring. */
  --focus-ring: 2px solid var(--c-sodium);
  --focus-offset: 2px;

  /* Elevation, only for things that float. */
  --shadow-float: 0 6px 20px rgb(40 22 40 / 0.15), 0 0 0 1px var(--c-line);

  /* Layout. */
  --panel-w: 380px;
  --header-h: 3.5rem;

  /* Motion. */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 160ms;
  --dur-slow: 180ms;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

@media (prefers-reduced-motion: reduce) {
  :root {
    --ease: linear;
    --dur: 0ms;
    --dur-slow: 0ms;
  }
}
