/**
 * WayToHome — canonical design tokens (edit here).
 * figma-tokens.css maps Figma export names (--figma-*) to these variables.
 * Spacing: waytohome-spacing-tokens.css
 */
:root {
  /* Brand green: header, CTA, stats, map pin */
  --waytohome-green: #034c39;
  --waytohome-green-dark: #023528;
  /* About «Статут»: темна картка PDF у зеленій смузі (Figma Rectangle 36) */
  --waytohome-green-statute-card: #00402f;
  --waytohome-statute-card-radius: 20px;
  /* About «Політики» / «Річні звіти» / «Меморандуми»: рядок PDF (Figma Rectangle 37) */
  --waytohome-doc-download-surface: #f8f8f8;
  --waytohome-doc-download-radius: 20px;
  --waytohome-doc-download-row-height: 83px;
  --waytohome-doc-download-stack-gap: 20px;

  /* Figma «document» green — export palette only, not UI chrome */
  --waytohome-figma-green: #0b3d2e;
  --waytohome-figma-green-dark: #083225;

  --waytohome-header-border: #c9e0d9;

  /* Text */
  --waytohome-text: #0f1115;
  --waytohome-text-secondary: #2c3238;
  --waytohome-text-muted: #727272;

  /* Inline / text links in content */
  --waytohome-link: var(--waytohome-green);
  --waytohome-link-hover: var(--waytohome-green-dark);
  --waytohome-link-underline-offset: 3px;
  /* EN labels, stats captions — lighter than --waytohome-text-muted */
  --waytohome-label-muted: #c8c8c8;

  /* Surfaces (#f2f5f6 ≈ #f3f4f6 — один канон) */
  --waytohome-surface-muted: #f2f5f6;
  --waytohome-surface-soft: #eef1f0;
  --waytohome-surface-card: var(--waytohome-surface-muted);
  --waytohome-surface-card-media: #e5e7eb;
  --waytohome-surface-card-placeholder: #d1d5db;

  /* Світлі рамки / лінії (stats, reviews, dividers) */
  --waytohome-border-muted: #d7dae2;

  /* Galleries / carousels */
  --waytohome-gallery-accent: #c1dccd;
  --waytohome-gallery-accent-hover: #afcfbe;
  /* gallery-bootstrap: slide crossfade duration (interval = 4000 ms in PHP) */
  --waytohome-gallery-carousel-transition: 0.6s;
  /* Hero + About «Місія» image frame (Figma home-about) */
  --waytohome-gallery-hero-frame-height: clamp(300px, 36vw, 480px);
  --waytohome-gallery-hero-frame-height-sm: min(72vw, 360px);
  --waytohome-gallery-hero-frame-radius: 20px;
  --waytohome-gallery-hero-frame-radius-sm: 16px;
  /* About «Місія»: two photos per slide — inner frame min-height */
  --waytohome-gallery-mission-pair-frame-min: clamp(280px, 34vw, 460px);
  --waytohome-gallery-mission-pair-frame-min-sm: min(68vw, 340px);

  /* Elevation */
  --waytohome-shadow-md: 0 8px 24px color-mix(in srgb, var(--waytohome-green) 18%, transparent);
  --waytohome-shadow-lg: 0 16px 40px color-mix(in srgb, var(--waytohome-green) 22%, transparent);
  --waytohome-shadow-lg-soft: 0 16px 40px color-mix(in srgb, var(--waytohome-green) 12%, transparent);
  --waytohome-border-subtle: color-mix(in srgb, var(--waytohome-green) 12%, transparent);

  --waytohome-white: #fff;
  --waytohome-text-on-brand: var(--waytohome-white);

  --waytohome-footer-bg: #0b1111;
  --waytohome-footer-policy: var(--waytohome-text-muted);
  --waytohome-stats-underline: var(--waytohome-border-muted);
  --waytohome-icon-muted: #8a959c;

  /* h2 scale: first heading on page = lead (64px), following = section (46px) */
  --waytohome-h2-lead-size: 64px;
  --waytohome-h2-lead-line-height: 75px;
  --waytohome-h2-lead-weight: 700;
  --waytohome-h2-lead-margin-bottom: 30px;
  --waytohome-h2-lead-color: var(--waytohome-text);

  --waytohome-h2-section-size: 46px;
  --waytohome-h2-section-line-height: 53.90625px;
  --waytohome-h2-section-weight: 700;
  --waytohome-h2-section-margin-bottom: 16px;

  /* About page: body text in sections after «Місія» (mission keeps figma 22px) */
  --waytohome-about-section-body-size: 18px;
  --waytohome-about-section-body-line-height: 28px;

}
