/*
 * Sun Dapple: tokens
 * Warm afternoon light through leaves. A full-bleed honey sunlight field with blurred leaf
 * shadows, a huge soft swash serif wordmark in white, frosted cream app windows floating
 * over the light, and a white dome that rises from the bottom of the hero to hold the
 * one black pill button. Below the fold everything turns quiet: warm paper, ink text,
 * a calm sans and honey only as a highlight.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..600,0..100,0..1;1,9..144,300..600,0..100,0..1&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --sd-paper: #FFFCF4;
  --sd-cream: #FBF4E0;
  --sd-linen: #F4EAD0;
  --sd-line: #E9DDBC;
  --sd-glass: rgba(255, 250, 236, .82);
  --sd-glass-edge: rgba(255, 255, 255, .72);

  /* Sunlight: only for the sun field, highlights and small marks */
  --sd-sun: #F3BB2E;
  --sd-sun-light: #F9D467;
  --sd-sun-pale: #FCEBB4;
  --sd-amber: #D8901C;
  --sd-amber-deep: #A86512;
  --sd-leaf-shadow: rgba(150, 88, 10, .32);

  /* Text and the black pill */
  --sd-ink: #231C10;
  --sd-ink-soft: #3B3222;
  --sd-soft: #75694F;
  --sd-faint: #A89A79;
  --sd-on-ink: #FFFCF4;

  /* Small accents for window dots, status and charts */
  --sd-sage: #8AA071;
  --sd-clay: #D3784F;
  --sd-alert: #B5401F;

  /* Fonts */
  --sd-serif: "Fraunces", Georgia, serif;
  --sd-sans: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --sd-serif-feel: "SOFT" 100, "WONK" 1;

  /* Type scale */
  --sd-text-mark: clamp(84px, 22vw, 330px);
  --sd-text-hero: clamp(40px, 5.6vw, 80px);
  --sd-text-h2: clamp(34px, 4.2vw, 58px);
  --sd-text-h3: 24px;
  --sd-text-lead: 20px;
  --sd-text-body: 17px;
  --sd-text-small: 14px;
  --sd-text-label: 13px;
  --sd-weight-display: 350;
  --sd-tracking-display: -0.025em;

  /* Shape */
  --sd-radius-xl: 32px;
  --sd-radius-lg: 20px;
  --sd-radius: 14px;
  --sd-radius-sm: 10px;
  --sd-pill: 999px;
  --sd-border: 1px solid var(--sd-line);
  --sd-shadow-window: 0 40px 80px -30px rgba(120, 72, 8, .45), 0 12px 24px -12px rgba(120, 72, 8, .25);
  --sd-shadow-soft: 0 18px 40px -24px rgba(120, 72, 8, .35);
  --sd-focus: 0 0 0 3px var(--sd-paper), 0 0 0 5px var(--sd-amber);

  /* Space */
  --sd-container: 1200px;
  --sd-narrow: 720px;
  --sd-gutter: clamp(18px, 3vw, 40px);
  --sd-section: clamp(72px, 9vw, 128px);
  --sd-gap: 24px;
}
