/*
 * Meadow Haze: tokens
 * Feel: a daydream seen from a dark room. The page is a deep green black, and
 * the hero is a big inset frame holding a soft painted afternoon: powder blue
 * sky, slow white clouds, a rounded green hill and blurred blush flowers in
 * the foreground. Headlines are wide, expanded capitals in white, the main
 * action is a bright white prompt bar, and everything else is dark glass pills.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..800&family=Figtree:wght@400;500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --mh-night: #0C100E;
  --mh-deep: #141a17;
  --mh-raise: #1E2622;
  --mh-line: #2A332E;
  --mh-line-bright: #44504A;

  /* Text */
  --mh-cloud: #F6F4EE;
  --mh-mist: #B6BDB6;
  --mh-dim: #7C8680;
  --mh-on-light: #101512;
  --mh-on-light-dim: #5F6862;

  /* Accents: taken from the painted afternoon */
  --mh-sky: #8DB7E2;
  --mh-sky-deep: #4E7DB6;
  --mh-meadow: #93C56C;
  --mh-meadow-deep: #3F6B34;
  --mh-blush: #F3A8BA;
  --mh-straw: #E8C67E;
  --mh-blush-soft: rgba(243, 168, 186, .16);
  --mh-meadow-soft: rgba(147, 197, 108, .16);
  --mh-glass: rgba(16, 21, 18, .58);
  --mh-glass-strong: rgba(16, 21, 18, .78);
  --mh-glass-line: rgba(246, 244, 238, .14);

  /* The painted afternoon (layer order: hill, haze, sky) */
  --mh-paint-sky: linear-gradient(180deg, #4F7DB4 0%, #7FA8D8 30%, #B5CFEA 58%, #EBDCDD 78%, #F2E3D6 100%);
  --mh-paint-hill:
    radial-gradient(70% 42% at 50% 100%, #4E7A3A 0%, #6B9A4B 46%, rgba(107, 154, 75, 0) 70%),
    radial-gradient(60% 30% at 18% 104%, #3D6430 0%, rgba(61, 100, 48, 0) 70%),
    radial-gradient(60% 30% at 86% 104%, #3D6430 0%, rgba(61, 100, 48, 0) 70%);
  --mh-paint-clouds:
    radial-gradient(22% 12% at 18% 24%, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(16% 9% at 28% 20%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(26% 13% at 74% 16%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(18% 9% at 86% 26%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(30% 10% at 50% 46%, rgba(255, 246, 240, .7), transparent 70%);
  --mh-paint-bloom:
    radial-gradient(9% 14% at 6% 92%, rgba(243, 168, 186, .95), transparent 70%),
    radial-gradient(7% 11% at 14% 98%, rgba(250, 205, 214, .9), transparent 70%),
    radial-gradient(10% 15% at 92% 90%, rgba(243, 168, 186, .9), transparent 70%),
    radial-gradient(6% 10% at 82% 99%, rgba(255, 224, 230, .85), transparent 70%),
    radial-gradient(5% 8% at 30% 102%, rgba(232, 198, 126, .7), transparent 70%);
  --mh-paint-shade: linear-gradient(180deg, rgba(12, 16, 14, 0) 45%, rgba(12, 16, 14, .55) 100%);

  /* Small scene swatches for cards */
  --mh-scene-noon: linear-gradient(180deg, #6E9ACD 0%, #B9D2EC 60%, #7FAE5A 61%, #4E7A3A 100%);
  --mh-scene-gold: linear-gradient(180deg, #D99A7A 0%, #F2CE9C 58%, #8AA352 59%, #5A7436 100%);
  --mh-scene-mist: linear-gradient(180deg, #9FB4C8 0%, #DCE3E6 62%, #93AE86 63%, #5F7F5A 100%);
  --mh-scene-blush: linear-gradient(180deg, #B89CC9 0%, #F2C6CF 60%, #7EA35E 61%, #4A6E3A 100%);

  /* Type */
  --mh-font-head: 'Archivo', 'Arial Black', Arial, sans-serif;
  --mh-font-body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --mh-stretch-head: 125%;
  --mh-text-display: clamp(34px, 6.4vw, 86px);
  --mh-text-h1: clamp(30px, 4.8vw, 62px);
  --mh-text-h2: clamp(24px, 3.4vw, 42px);
  --mh-text-h3: 19px;
  --mh-text-lead: 18px;
  --mh-text-body: 16px;
  --mh-text-small: 14px;
  --mh-text-micro: 11px;
  --mh-track-head: -0.01em;
  --mh-track-label: 0.12em;
  --mh-lh-head: .98;

  /* Shape */
  --mh-radius-pill: 999px;
  --mh-radius-frame: 28px;
  --mh-radius-card: 22px;
  --mh-radius-bar: 18px;
  --mh-radius-input: 14px;
  --mh-radius-thumb: 12px;
  --mh-blur: blur(18px) saturate(1.2);
  --mh-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7);
  --mh-shadow-bar: 0 24px 60px -18px rgba(8, 12, 10, .65), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  --mh-highlight: inset 0 1px 0 rgba(246, 244, 238, .06);

  /* Space */
  --mh-space-1: 4px;
  --mh-space-2: 8px;
  --mh-space-3: 12px;
  --mh-space-4: 16px;
  --mh-space-5: 24px;
  --mh-space-6: 32px;
  --mh-space-7: 48px;
  --mh-space-8: 72px;
  --mh-space-9: 112px;
  --mh-frame-inset: 12px;
  --mh-container: 1180px;
  --mh-article: 680px;
}
