:root {
  /* Colors — official white & blue */
  --color-primary: #0066B3;
  --color-primary-dark: #004E8C;
  --color-primary-light: #0088DD;
  --color-primary-pale: #E8F4FC;
  --color-primary-faint: #F0F8FF;
  --color-accent: #00A0E3;
  --color-text: #1A2332;
  --color-text-muted: #5A6578;
  --color-text-light: #8B95A5;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F9FD;
  --color-bg-blue: #EBF5FB;
  --color-bg-dark: #003D6B;
  --color-border: #D4E4F0;
  --color-border-light: #EAF2F8;

  /* Glass — iOS / Liquid Glass (~30% surfaces) */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-bg-subtle: rgba(255, 255, 255, 0.38);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-border-outer: rgba(255, 255, 255, 0.28);
  --glass-blur: blur(32px) saturate(210%);
  --glass-blur-light: blur(20px) saturate(190%);
  --glass-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.5) inset,
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 2px 12px rgba(0, 60, 120, 0.05),
    0 12px 40px rgba(0, 80, 150, 0.09);
  --glass-shadow-hover:
    0 0 0 0.5px rgba(255, 255, 255, 0.6) inset,
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 20px rgba(0, 60, 120, 0.08),
    0 20px 48px rgba(0, 80, 150, 0.12);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 3.25rem;
  --space-4xl: 4.5rem;

  /* Layout — ширина оболочки (одна точка настройки для заказчика) */
  --layout-shell-max: none; /* none = на всю ширину экрана; узкая колонка: 1140px */
  --container-max: var(--layout-shell-max);
  --container-padding: clamp(1.25rem, 2.5vw, 3rem);
  --sidebar-width: clamp(260px, 16vw, 340px);
  --layout-gap: clamp(var(--space-lg), 2vw, var(--space-2xl));
  --layout-content-max: none; /* при необходимости: 72ch — ограничить длину строк текста */
  --header-height: 68px;
  --topnav-height: 44px;
  --utility-height: 52px;

  /* Borders & shadows — square corners */
  --radius-xs: 0;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-2xl: 0;
  --radius-pill: 0;
  --shadow-sm: 0 2px 8px rgba(0, 80, 150, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 80, 150, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 80, 150, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Breakpoints */
  --bp-tablet: 900px;
  --bp-mobile: 600px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 136, 221, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(0, 102, 179, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(232, 244, 252, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #fafcff 0%, var(--color-primary-faint) 45%, var(--color-bg-alt) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a:not(.btn):not(.sidebar__link):not(.top-nav__link):not(.hotline-bar__cta):not(.hotline-bar__store):not(.quick-tile):not(.direction-card):not(.partner-card):not(.news-card__link):not(.action-card):not(.appeals-channel):not(.doc-list__download):not(.doc-list__external):not(.doc-tab):not(.pager__item):not(.org-supervised-btn):not(.menu-overlay__highlight):not(.social-banner):not(.goals-map__item):hover {
  color: var(--color-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-outer);
  box-shadow: var(--glass-shadow);
}

.glass--strong {
  background: var(--glass-bg-strong);
}

.glass--interactive {
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    background var(--transition-base);
}

.glass--interactive:hover {
  box-shadow: var(--glass-shadow-hover);
}

@media (max-width: 900px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;
    --container-padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  :root {
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 1.75rem;
    --font-size-5xl: 2rem;
    --container-padding: 1rem;
  }
}
