/*
 * Air Mail: design tokens
 * Light, playful and a bit nostalgic, like a care package from a pen pal. A blush paper page with a
 * huge, soft high-contrast serif headline (one word in a rainbow ink gradient), friendly rounded sans
 * body text and handwritten notes. The signature moves: airmail envelopes with red and blue diagonal
 * stripe borders, stamps with perforated edges and round postmarks, tilted snapshot frames with white
 * borders, a faint red-ink sketch pattern behind the hero, and wavy edges between sections.
 * Built for clubs, communities, nonprofits and consumer products that want to feel personal and warm.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito:wght@400;600;700;800&family=Caveat:wght@500;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: blush paper page, cream envelopes and cards, a deeper blush for bands */
  --am-paper: #fdf5f3;
  --am-cream: #fffdf8;
  --am-blush: #fbe4e3;
  --am-blush-deep: #f6cfd0;
  --am-white: #ffffff;
  --am-line: #efdcd9;
  --am-line-strong: #e0c3c0;

  /* Text: a violet-tinted near black and two softer shades */
  --am-ink: #1e1a26;
  --am-ink-soft: #3b3545;
  --am-muted: #6d6577;
  --am-faint: #a69daf;

  /* Post office colors: red for action, airmail blue for stripes and links, a leaf green for success */
  --am-red: #e5384f;
  --am-red-deep: #c4233a;
  --am-red-soft: #fde3e6;
  --am-red-text: #b01d33;
  --am-blue: #2c5bd4;
  --am-blue-soft: #e2e9fb;
  --am-blue-text: #1f46ad;
  --am-leaf: #2f9e63;
  --am-leaf-soft: #ddf3e6;
  --am-leaf-text: #1d7546;
  --am-sun: #f6b73c;
  --am-sun-soft: #fff1d3;
  --am-sun-text: #8a5a00;

  /* Sketch ink: the faint red line drawings behind heroes */
  --am-sketch: #f1a7b1;
  --am-sketch-faint: rgba(229, 56, 79, 0.16);

  /* The rainbow ink: one word per hero, never more */
  --am-rainbow: linear-gradient(95deg, #2f9e63 0%, #2c9fc9 38%, #2c5bd4 66%, #9b48d6 100%);

  /* Airmail stripes: used on envelope borders and the ribbon rule */
  --am-stripes: repeating-linear-gradient(135deg, var(--am-red) 0 14px, var(--am-white) 14px 22px, var(--am-blue) 22px 36px, var(--am-white) 36px 44px);

  /* Type */
  --am-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --am-sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --am-hand: "Caveat", "Comic Sans MS", cursive;

  --am-text-hero: clamp(48px, 7.4vw, 104px);
  --am-text-h1: clamp(42px, 5.6vw, 76px);
  --am-text-h2: clamp(34px, 4.2vw, 56px);
  --am-text-h3: 24px;
  --am-text-lead: 20px;
  --am-text-body: 17px;
  --am-text-small: 15px;
  --am-text-micro: 13px;
  --am-text-hand: 26px;

  /* Shape */
  --am-radius-sm: 10px;
  --am-radius: 16px;
  --am-radius-lg: 26px;
  --am-radius-pill: 999px;
  --am-frame: 10px;
  --am-tilt: -3deg;
  --am-tilt-alt: 2.5deg;

  /* Shadows: soft paper lift, and a slightly stronger drop for tilted snapshots */
  --am-shadow-sm: 0 1px 2px rgba(60, 20, 30, 0.08), 0 2px 6px rgba(60, 20, 30, 0.06);
  --am-shadow: 0 2px 4px rgba(60, 20, 30, 0.06), 0 10px 26px rgba(60, 20, 30, 0.10);
  --am-shadow-lift: 0 4px 8px rgba(60, 20, 30, 0.08), 0 18px 40px rgba(60, 20, 30, 0.16);

  /* Space */
  --am-space-1: 4px;
  --am-space-2: 8px;
  --am-space-3: 12px;
  --am-space-4: 16px;
  --am-space-5: 24px;
  --am-space-6: 32px;
  --am-space-7: 48px;
  --am-space-8: 72px;
  --am-space-9: 112px;
  --am-width: 1180px;
  --am-width-text: 700px;
}
