/*
 * Lilac Drift: tokens
 * Dreamy, playful and a little bit cosmic. Pale mist pages under a grainy periwinkle sky
 * that melts into blush and aqua at the edges. Soft serif headlines with a violet italic
 * second line, a friendly rounded sans for everything else, one coral pill for the main
 * action, a frosted glass pill nav, and storybook line drawings (balloons, clouds, little
 * islands under glass domes) drawn with inline SVG in thick indigo ink.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400;1,9..144,500&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --ld-mist: #F7F6FE;
  --ld-paper: #FFFFFF;
  --ld-haze: #ECEAFC;
  --ld-line: #DFDCF3;

  /* The sky: only for hero gradients, bands and drawings */
  --ld-sky: #B6BBF7;
  --ld-sky-deep: #9AA0F0;
  --ld-blush: #F6AEC4;
  --ld-aqua: #BCE6EA;
  --ld-teal: #4B9893;
  --ld-teal-soft: #8FCBC6;
  --ld-sun: #FFD58A;

  /* Text */
  --ld-ink: #231848;
  --ld-ink-2: #3A2F63;
  --ld-soft: #5D5779;
  --ld-faint: #8D88A8;

  /* Accents */
  --ld-violet: #7740DE;
  --ld-violet-deep: #5B2BB8;
  --ld-violet-soft: #E6DCFB;
  --ld-coral: #F46B52;
  --ld-coral-deep: #DE5038;
  --ld-coral-soft: #FFE2DA;
  --ld-alert: #C2361F;

  /* Glass */
  --ld-glass: rgba(255, 255, 255, .62);
  --ld-glass-strong: rgba(255, 255, 255, .82);
  --ld-glass-edge: rgba(255, 255, 255, .9);

  /* Fonts */
  --ld-serif: "Fraunces", Georgia, serif;
  --ld-sans: "Figtree", "Helvetica Neue", system-ui, sans-serif;

  /* Type scale */
  --ld-text-hero: clamp(44px, 5.6vw, 78px);
  --ld-text-h2: clamp(34px, 3.8vw, 52px);
  --ld-text-h3: 23px;
  --ld-text-lead: 19px;
  --ld-text-body: 17px;
  --ld-text-small: 14px;
  --ld-text-label: 13px;
  --ld-tracking-display: -0.025em;

  /* Shape */
  --ld-radius-xl: 32px;
  --ld-radius-lg: 22px;
  --ld-radius: 14px;
  --ld-radius-sm: 10px;
  --ld-pill: 999px;
  --ld-border: 1px solid var(--ld-line);
  --ld-ink-stroke: 2.4px;
  --ld-shadow-glass: 0 1px 0 var(--ld-glass-edge) inset, 0 10px 30px -14px rgba(35, 24, 72, .28);
  --ld-shadow-card: 0 24px 48px -28px rgba(35, 24, 72, .32);
  --ld-shadow-button: 0 0 0 3px rgba(244, 107, 82, .22), 0 8px 18px -8px rgba(222, 80, 56, .7);
  --ld-focus: 0 0 0 3px var(--ld-paper), 0 0 0 6px var(--ld-violet);

  /* Grain laid over the sky (an SVG noise drawn in CSS, no image file) */
  --ld-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.09 0 0 0 0 0.28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

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