/*
 * Noctiso v1 design tokens — implements brand-v1.md §5–6.
 * Cream + warm ink + sunset gradient. Syne + DM Mono + Lora.
 */

:root {
  /* Palette */
  --bg-cream: #fbf7f0;
  --bg-cream-alt: #fff8ee;
  --ink: #1a1726;
  --ink-dim: #6b6577;
  --ink-faint: #b5afbe;
  --c1-dusk: #7a6cf0;
  --c2-peach: #e0709a;
  --c3-dawn: #ffb46b;
  --c4-mist: #6dc7d6;
  --rule: rgba(26, 23, 38, 0.10);
  --rule-strong: rgba(26, 23, 38, 0.22);

  /* Sunset gradient (canonical) */
  --grad-sunset: linear-gradient(135deg, #7a6cf0 0%, #e0709a 55%, #ffb46b 100%);

  /* Type */
  --font-display: "Syne", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --font-serif: "Lora", Georgia, serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-drawer: 280ms;
  --dur-fast: 120ms;

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

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-drawer: 0ms;
    --dur-fast: 0ms;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-cream); color: var(--ink); }
body { font-family: var(--font-display); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Utility: gradient text fill for the wordmark "tiso" letters and brand emphasis. */
.grad-text {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

