/*
 * First Light: design tokens
 * Warm, editorial and quiet. An unbleached paper background, run-on headlines that start in a
 * firm sans and drift into a soft serif in stone gray, hairline pill buttons, and one wide
 * "horizon" panel: a dusk gradient with a blue curve of sea rising from the bottom.
 * One clay accent, used rarely.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: paper first, card for quiet blocks, night for one dark band */
  --fl-paper: #f8f6f1;
  --fl-card: #f0ece4;
  --fl-card-2: #e8e2d7;
  --fl-line: #e2ddd2;
  --fl-line-strong: #cfc8bb;
  --fl-white: #fffdf9;
  --fl-night: #22211e;
  --fl-night-2: #2e2c28;

  /* Text */
  --fl-ink: #1d1c19;
  --fl-soft: #67635c;
  --fl-stone: #a3a099;   /* the run-on serif half of a headline */

  /* The one accent: clay. Primary button, a dot, a link underline */
  --fl-clay: #c8643f;
  --fl-clay-dark: #a94f2f;
  --fl-clay-soft: #f3dccf;

  /* Horizon colors, only inside the horizon panel and small illustrations */
  --fl-dusk: #9a8b7b;
  --fl-apricot: #e8b488;
  --fl-sea: #3f6f99;
  --fl-sea-deep: #284c70;

  /* Type */
  --fl-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fl-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --fl-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fl-text-hero: clamp(34px, 4.4vw, 56px);
  --fl-text-h2: clamp(28px, 3.2vw, 40px);
  --fl-text-h3: 22px;
  --fl-text-lead: 19px;
  --fl-text-body: 16px;
  --fl-text-small: 14px;
  --fl-text-micro: 12px;

  --fl-tracking-tight: -.025em;
  --fl-leading-hero: 1.12;

  /* Shape: hairlines, small radii, pills for every control. Almost no shadow */
  --fl-radius-sm: 6px;
  --fl-radius: 10px;
  --fl-radius-lg: 14px;
  --fl-radius-pill: 999px;
  --fl-border: 1px solid var(--fl-line);
  --fl-border-strong: 1px solid var(--fl-line-strong);
  --fl-shadow: 0 1px 2px rgba(29, 28, 25, .05);
  --fl-shadow-float: 0 18px 48px rgba(60, 45, 30, .12);

  /* Horizon panel gradients */
  --fl-sky: linear-gradient(180deg, #8f8273 0%, #b39a80 42%, #e0ad84 78%, #edc39c 100%);
  --fl-sea-curve: radial-gradient(120% 70% at 50% 118%, #3f6f99 0 58%, rgba(63, 111, 153, 0) 59.5%);

  /* Space */
  --fl-section: clamp(72px, 9vw, 120px);
  --fl-gutter: clamp(20px, 5.5vw, 80px);
  --fl-container: 1280px;
  --fl-narrow: 720px;

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