:root {
  /* 1 = px макета (Obmin21.dc.html). Множник лишається в calc(), щоб розміри можна було підкрутити одним токеном. */
  --scale: 1;
  --color-bg: #ffffff;
  --color-text: #052145;
  /* Контраст WCAG AA (Design Lead 03.11): вторинний текст 6.05:1 на білому. */
  --ink: #052145;
  --ink-muted: #5c6370;
  --ink-subtle: #7b828f; /* лише large-текст/disabled, межі полів, іконки */
  --ink-on-dark-muted: #b3b4b6; /* вторинний текст на navy (футер) */
  --color-text-muted: var(--ink-muted);
  --color-text-soft: var(--ink-muted);
  --placeholder: var(--ink-muted);
  --border-ui: var(--ink-subtle);
  --border-decor: #eef0f3;
  --link: #8f5c1f; /* 5.65:1 */
  --accent-large: #b87b2c; /* 3.55:1 — лише ≥24px або ≥18.66px bold */
  --btn-primary-bg: #8f5c1f;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #7d5019;
  --color-border: #eef0f3;
  --color-border-soft: var(--border-ui);
  --color-surface: #f4f5f7;
  --color-surface-alt: #f9fafb;

  --color-accent: #ca8d42;
  --color-accent-rgb: 202, 141, 66;
  --color-accent-ink: #ffffff;
  --color-accent-hover: #b87b2c;
  --color-accent-soft: rgba(202, 141, 66, 0.14);

  --color-heading: #052145;
  --color-navy: #052145;
  --color-navy-mid: #1c3350;
  --color-navy-hover: #1c2f5c;
  --color-footer: #052145;
  --color-down: #b0372a;
  --color-up: #237a52;

  --font-display: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --space-2: calc(8px * var(--scale));
  --space-3: calc(12px * var(--scale));
  --space-4: calc(16px * var(--scale));
  --space-5: calc(24px * var(--scale));
  --space-6: calc(40px * var(--scale));
  --space-7: calc(60px * var(--scale));
  --space-8: calc(80px * var(--scale));

  --radius-sm: calc(6px * var(--scale));
  --radius-md: calc(8px * var(--scale));
  --radius-lg: calc(12px * var(--scale));
  --radius-pill: calc(20px * var(--scale));

  --border-w: 1px;
  --header-h: calc(86px * var(--scale));
  --container-max: calc(1440px * var(--scale));
  --container-pad: calc(16px * var(--scale));
  --touch-min: calc(44px * var(--scale));
  /* min-height .btn — золота CTA в .mobile-menu__bottom. */
  --menu-cta-h: calc(50px * var(--scale));
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --shadow-card: 0 calc(4px * var(--scale)) calc(30px * var(--scale)) rgba(11, 27, 63, 0.07);
  --shadow-dropdown: 0 calc(12px * var(--scale)) calc(36px * var(--scale)) rgba(5, 33, 69, 0.14);
  --shadow-modal: 0 calc(24px * var(--scale)) calc(60px * var(--scale)) rgba(5, 33, 69, 0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.3s;

  --reveal-duration: 400ms;
  --reveal-delay: 0ms;
  --reveal-easing: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --container-pad: calc(30px * var(--scale));
    --header-h: calc(88px * var(--scale));
  }
}

@media (min-width: 1025px) {
  :root {
    --container-pad: calc(30px * var(--scale));
  }
}
