/*
 * Prompt Dusk: design tokens
 * A calm, premium dark style for tools you talk to. Warm charcoal surfaces, thin 300-weight
 * headlines, bone-cream pill buttons and one big signature: a rounded "stage" lit by a plum
 * and rust dusk glow, with a cream composer box floating on it over a tilted ghost of the product.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm charcoal, never pure black */
  --pd-night: #161514;      /* page background */
  --pd-night-2: #1f1d1b;    /* cards, panels */
  --pd-night-3: #2a2724;    /* chips, inputs on dark, hover */
  --pd-line: #34312d;       /* every border and divider */

  /* Text */
  --pd-text: #f3f0ea;
  --pd-soft: #a29d94;
  --pd-faint: #6c6861;

  /* Bone: the light surface. Primary buttons, the composer box, light product frames */
  --pd-bone: #ece8dc;
  --pd-bone-2: #dcd6c6;
  --pd-ink: #1c1a17;        /* text on bone */

  /* Dusk: the glow on the stage, the top bar. Never used as flat fills elsewhere */
  --pd-plum: #3b2340;
  --pd-rust: #b8542e;
  --pd-ember: #e07a45;
  --pd-dusk: radial-gradient(120% 90% at 100% 100%, rgba(184, 84, 46, .75) 0%, rgba(184, 84, 46, 0) 55%),
             radial-gradient(90% 80% at 0% 0%, rgba(59, 35, 64, .95) 0%, rgba(59, 35, 64, 0) 60%),
             linear-gradient(160deg, #24201f 0%, #1a1817 60%, #2b1a16 100%);
  --pd-bar: linear-gradient(90deg, #2e1b33 0%, #3b2340 45%, #5a2c24 100%);

  /* The one cool accent: the send button, focus rings, inline links */
  --pd-cobalt: #4c7fd9;
  --pd-cobalt-soft: rgba(76, 127, 217, .18);

  /* Status, only inside product UI */
  --pd-sage: #9acb7a;
  --pd-amber: #e6b35a;
  --pd-coral: #e5735f;

  /* Type */
  --pd-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pd-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pd-text-hero: clamp(42px, 6.4vw, 84px);
  --pd-text-h2: clamp(32px, 4.4vw, 56px);
  --pd-text-h3: 22px;
  --pd-text-list: clamp(24px, 2.6vw, 32px);  /* the underscore tab list */
  --pd-text-lead: 19px;
  --pd-text-body: 16px;
  --pd-text-small: 14px;
  --pd-text-micro: 12px;

  --pd-weight-display: 300;
  --pd-tracking-hero: -.035em;
  --pd-tracking-h2: -.025em;

  /* Shape: big soft stage, rounded cards, pills for every button and chip */
  --pd-radius-sm: 8px;
  --pd-radius: 14px;
  --pd-radius-lg: 20px;
  --pd-radius-stage: 28px;
  --pd-radius-pill: 999px;
  --pd-border: 1px solid var(--pd-line);
  --pd-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --pd-shadow-composer: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 5px rgba(236, 232, 220, .14), 0 30px 70px rgba(0, 0, 0, .55);

  /* Space */
  --pd-section: clamp(72px, 9vw, 120px);
  --pd-container: 1200px;
  --pd-narrow: 720px;
  --pd-gutter: 24px;

  /* Motion */
  --pd-ease: cubic-bezier(.2, .8, .2, 1);
}
