/*
 * Dusk Pane: design tokens
 * Calm, dreamy and a little futuristic. An off-white page with a quiet transitional serif for
 * big headlines and a friendly grotesk for everything else. The signature visual is the dusk
 * pane: a huge rounded panel washed lilac to rose to peach, with a near-black app window
 * floating inside it, like a lit screen held up against an evening sky. One coral spark marks
 * the assistant; buttons are near-black.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&family=Figtree:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: day side */
  --dp-page: #faf9f7;
  --dp-paper: #ffffff;
  --dp-mist: #f1eff3;          /* chips, quiet fills */
  --dp-line: #e4e1e6;
  --dp-line-strong: #cfcbd4;

  /* Text */
  --dp-ink: #17151c;
  --dp-soft: #5c5866;
  --dp-faint: #8f8a99;

  /* Night side: the floating window and the closing band */
  --dp-night: #1b1a21;
  --dp-night-2: #26242d;
  --dp-night-line: #3a3742;
  --dp-moon: #ece8f6;          /* text on night */
  --dp-moon-soft: #a9a3b8;

  /* The dusk wash: only inside .dp-pane and small swatches */
  --dp-lilac: #c9c3e6;
  --dp-rose: #e9c3d3;
  --dp-peach: #f3d4be;
  --dp-dusk: linear-gradient(135deg, var(--dp-lilac) 0%, #dcc6e0 38%, var(--dp-rose) 62%, var(--dp-peach) 100%);

  /* The one accent: the coral spark that marks the assistant, one live dot, one key number */
  --dp-ember: #e2643f;
  --dp-ember-soft: #fbe3d9;
  --dp-leaf: #4f8a6a;          /* "on" status dots only */

  /* Type */
  --dp-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --dp-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --dp-text-hero: clamp(40px, 5.6vw, 72px);
  --dp-text-h2: clamp(30px, 3.6vw, 46px);
  --dp-text-h3: 20px;
  --dp-text-lead: 19px;
  --dp-text-body: 16px;
  --dp-text-small: 14px;
  --dp-text-micro: 12px;

  --dp-tracking-hero: -.025em;
  --dp-tracking-h2: -.02em;

  /* Shape: soft. Big radius on panes, pills on chips, 10px on buttons */
  --dp-radius-sm: 10px;
  --dp-radius: 16px;
  --dp-radius-lg: 32px;
  --dp-radius-pill: 999px;
  --dp-border: 1px solid var(--dp-line);
  --dp-shadow: 0 1px 2px rgba(23, 21, 28, .05);
  --dp-shadow-float: 0 2px 6px rgba(23, 21, 28, .12), 0 30px 60px -20px rgba(40, 24, 60, .45);

  /* Space */
  --dp-section: clamp(72px, 9vw, 128px);
  --dp-container: 1280px;
  --dp-narrow: 700px;
  --dp-gutter: 28px;

  /* Motion */
  --dp-ease: cubic-bezier(.3, .7, .2, 1);
}

@media (max-width: 600px) {
  :root { --dp-gutter: 16px; }
}
