/* Fredoka (SIL Open Font License, assets/fonts/OFL.txt), self-hosted so no
   request ever leaves for a font service. One variable file covers 500–700. */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../../assets/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../../assets/fonts/fredoka-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Hushmallow design system — tokens.
   Night-ink surfaces let the Mallows and realms carry the colour; controls
   stay quiet and precise.  One warm accent ("moonmilk gold") marks the
   primary action everywhere. */

:root {
  /* surfaces */
  --ink-0: #0a0818;
  --ink-1: #141130;
  --ink-2: #1e1a44;
  --ink-3: #2a2560;
  --glass: rgba(20, 16, 48, 0.58);
  --glass-strong: rgba(16, 12, 40, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* text */
  --text-1: #f7f3ff;
  --text-2: #cdc6ea;
  --text-3: #918ab6;
  --text-on-accent: #23140a;

  /* accent + feedback */
  --accent: #ffd98a;
  --accent-2: #ffb86b;
  --accent-glow: rgba(255, 217, 138, 0.35);
  --calm: #8fe3ff;
  --care: #ff9ccf;
  --danger: #ff8a8a;

  /* type */
  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --font-ui: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(34px, 9vw, 52px);
  --fs-h1: clamp(26px, 6.6vw, 34px);
  --fs-h2: 21px;
  --fs-body: 16px;
  --fs-small: 13.5px;
  --fs-micro: 12px;

  /* space (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --gutter: 20px;

  /* shape */
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-pill: 999px;

  /* depth */
  --shadow-1: 0 6px 18px rgba(4, 2, 16, 0.35);
  --shadow-2: 0 18px 50px rgba(4, 2, 16, 0.5);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 140ms; --t-med: 280ms; --t-slow: 620ms;

  /* safe areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 1ms; --t-med: 120ms; --t-slow: 200ms; }
}

*, *::before, *::after { box-sizing: border-box; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
