/*
 * Peach Mark: tokens
 * Warm, bookish and calm. Off-white paper, big rounded panels washed in a peach-to-apricot glow,
 * a serif headline with one italic word, a yellow highlighter swipe on the key phrase,
 * tilted paper cards drifting behind the hero, and ink-black pill buttons.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,500;1,8..60,600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --pm-paper: #FAF8F4;        /* the page */
  --pm-white: #FFFFFF;        /* cards, app frames, forms */
  --pm-sand: #F3EEE7;         /* quiet sections, footer */
  --pm-pill: #E8E4DE;         /* grey pill buttons, chips */
  --pm-line: #E9E1D6;         /* borders and dividers */
  --pm-line-strong: #D6CBBD;  /* input borders */

  /* Text */
  --pm-ink: #1E1A16;          /* headlines, body, dark buttons */
  --pm-soft: #675E55;         /* leads and secondary text */
  --pm-faint: #A0958A;        /* captions, card meta */

  /* The glow: used only inside big rounded panels */
  --pm-glow-top: #FCEBDC;
  --pm-peach: #F8CFAE;
  --pm-apricot: #F3A472;
  --pm-glow: radial-gradient(120% 90% at 50% 0%, var(--pm-glow-top) 0%, var(--pm-peach) 55%, var(--pm-apricot) 120%);
  --pm-glow-soft: linear-gradient(180deg, var(--pm-glow-top) 0%, #FADCC4 100%);

  /* Accents */
  --pm-forest: #12332F;       /* the one dark panel: announcements, the closing call */
  --pm-forest-soft: #1D4540;
  --pm-tangerine: #EE853A;    /* badges, accent words on forest, active dots */
  --pm-mark: #FBE36A;         /* highlighter swipe, only on one phrase per block */
  --pm-on-dark: #F7F1E8;      /* text on forest */

  /* Artwork swatches: only for the little CSS-drawn tiles that stand in for content */
  --pm-art-clay: #C8643B;
  --pm-art-moss: #6F8A55;
  --pm-art-sky: #7FA6C4;
  --pm-art-plum: #6E4B63;
  --pm-art-ochre: #E2B24A;

  /* Fonts */
  --pm-serif: 'Source Serif 4', Georgia, serif;
  --pm-sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --pm-text-hero: clamp(40px, 6vw, 76px);
  --pm-text-h2: clamp(30px, 3.8vw, 48px);
  --pm-text-h3: 24px;
  --pm-text-lead: clamp(18px, 1.7vw, 22px);
  --pm-text-body: 17px;
  --pm-text-small: 15px;
  --pm-text-micro: 13px;
  --pm-tracking-hero: -0.025em;

  /* Shape */
  --pm-radius-panel: 32px;    /* the big inset panels */
  --pm-radius-frame: 26px;    /* app frames */
  --pm-radius-card: 18px;     /* cards, plans, forms */
  --pm-radius-sm: 10px;       /* inputs, small tiles */
  --pm-radius-pill: 999px;    /* every button and chip */

  /* Shadows: soft and warm, never gray */
  --pm-shadow-sm: 0 1px 2px rgba(80, 50, 20, .06), 0 4px 12px rgba(80, 50, 20, .05);
  --pm-shadow: 0 2px 6px rgba(80, 50, 20, .06), 0 18px 40px -12px rgba(120, 70, 30, .18);
  --pm-shadow-lg: 0 4px 10px rgba(80, 50, 20, .06), 0 40px 80px -24px rgba(120, 70, 30, .30);

  /* Space */
  --pm-container: 1140px;
  --pm-narrow: 700px;
  --pm-inset: clamp(12px, 3.3vw, 48px);  /* gap between a panel and the window edge */
  --pm-section: clamp(72px, 9vw, 120px);
}
