/*
 * Ember: design tokens
 * Calm, editorial SaaS: white and warm sand surfaces, big regular-weight serif headlines,
 * quiet Inter body text, and one vivid ember-orange accent used sparingly. Product shots are
 * layered app windows on a soft peach glow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500&family=Inter:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, sand for quiet sections and secondary buttons */
  --em-white: #ffffff;
  --em-sand: #f7f3ec;
  --em-sand-2: #efe7da;
  --em-line: #e8e1d6;
  --em-night: #18161a;      /* dark windows: terminals, code, the occasional dark card */
  --em-night-2: #24212a;

  /* Text */
  --em-ink: #141210;
  --em-soft: #6e6862;
  --em-faint: #a39c94;

  /* The one accent. Primary buttons, a single highlighted word, live dots, the accent band */
  --em-ember: #ee5a36;
  --em-ember-dark: #d4472a;
  --em-ember-soft: #fde4da;
  --em-peach: #fbd9c9;       /* the glow behind product shots */

  /* Status colors, only inside product UI */
  --em-green: #2fa36b;
  --em-amber: #e9a23b;
  --em-blue: #4a7bec;

  /* Type */
  --em-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --em-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --em-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --em-text-hero: clamp(48px, 7vw, 88px);
  --em-text-h2: clamp(34px, 4.2vw, 52px);
  --em-text-h3: 24px;
  --em-text-lead: 20px;
  --em-text-body: 16px;
  --em-text-small: 14px;
  --em-text-micro: 12px;

  --em-tracking-hero: -.04em;
  --em-tracking-h2: -.03em;

  /* Shape: soft and quiet. Thin lines, gentle shadows, pills for buttons */
  --em-radius-sm: 8px;
  --em-radius: 14px;
  --em-radius-lg: 22px;
  --em-radius-pill: 999px;
  --em-border: 1px solid var(--em-line);
  --em-shadow: 0 1px 2px rgba(20, 18, 16, .06), 0 8px 24px rgba(20, 18, 16, .06);
  --em-shadow-lg: 0 2px 4px rgba(20, 18, 16, .05), 0 24px 60px rgba(120, 60, 30, .14);

  /* Space */
  --em-section: clamp(80px, 10vw, 128px);
  --em-container: 1160px;
  --em-narrow: 760px;

  /* Motion */
  --em-ease: cubic-bezier(.22, .8, .24, 1);
}
