:root {
  /* Surfaces & text */
  --mah-bg: #f6f8fc;
  --mah-surface: #ffffff;
  --mah-surface-2: #f2f6ff;
  --mah-surface-muted: #eef2f9;
  --mah-border: rgba(18, 35, 73, 0.12);
  --mah-border-strong: rgba(18, 35, 73, 0.2);
  --mah-text: #10203d;
  --mah-text-muted: #5f6d87;
  --mah-text-faint: #6b7996;

  /* Brand accent */
  --mah-accent: #001fb5;
  --mah-accent-strong: #001a9c;
  --mah-accent-soft: rgba(0, 31, 181, 0.12);
  --mah-accent-contrast: #ffffff;

  /* Dark surface (mobile overlay) */
  --mah-dark-bg: #08101d;
  --mah-dark-bg-2: #0d1730;
  --mah-dark-surface: rgba(255, 255, 255, 0.08);
  --mah-dark-border: rgba(255, 255, 255, 0.14);
  --mah-dark-text: #f5f8ff;
  --mah-dark-text-muted: rgba(245, 248, 255, 0.68);

  /* Status */
  --mah-danger: #d1394b;
  --mah-danger-soft: rgba(209, 57, 75, 0.1);
  --mah-success: #1c9c6b;

  /* Elevation */
  --mah-shadow-sm: 0 2px 8px rgba(10, 25, 49, 0.06);
  --mah-shadow-md: 0 10px 30px rgba(10, 25, 49, 0.08);
  --mah-shadow-lg: 0 22px 60px rgba(10, 25, 49, 0.14);
  --mah-shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.45);

  /* Radius */
  --mah-radius-xl: 28px;
  --mah-radius-lg: 22px;
  --mah-radius-md: 16px;
  --mah-radius-sm: 10px;
  --mah-radius-pill: 999px;

  /* Spacing */
  --mah-gap-xl: 32px;
  --mah-gap: 24px;
  --mah-gap-sm: 12px;
  --mah-gap-xs: 8px;

  /* Type scale */
  /* Inherit the active site font stack from the theme / builder. */
  --mah-font: inherit;
  --mah-font-size-eyebrow: 12px;
  --mah-font-size-sm: 13px;
  --mah-font-size-base: 15px;
  --mah-font-size-md: 17px;
  --mah-font-size-lg: 22px;
  --mah-font-size-xl: 30px;
  --mah-font-size-xxl: 40px;
  --mah-line-height-tight: 1.15;
  --mah-line-height-base: 1.5;
  --mah-letter-spacing-eyebrow: 0.14em;

  /* Motion */
  --mah-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mah-duration-fast: 0.16s;
  --mah-duration-base: 0.24s;
  --mah-duration-slow: 0.42s;

  /* Focus */
  --mah-focus-ring: 0 0 0 3px var(--mah-accent-soft);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --mah-duration-fast: 0.001s;
    --mah-duration-base: 0.001s;
    --mah-duration-slow: 0.001s;
  }
}
