@font-face {
  /* Local Inter fonts loaded for CSP compliance */
  font-family: 'Inter';
  src: url('/fonts/Inter/Inter-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter/Inter-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter/Inter-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter/Inter-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   BASE — глобальные переменные
   =========================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f2f2f7;
  --bg-softer: #f9fafb;
  --card-bg: #ffffff;
  --card-border: #e5e5ea;

  --primary: #007aff;
  --primary-soft: rgba(0, 122, 255, 0.08);

  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);

  --success: #34c759;
  --danger: #ff3b30;

  --text-main: #000000;
  --text-muted: rgba(60, 60, 67, 0.65);
  --text-soft: rgba(60, 60, 67, 0.45);

  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.16);

  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

/* ============== RESET ============== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle at top, #f9fafb 0, #f2f2f7 55%, #ffffff 100%);
  color: var(--text-main);
  min-height: 100vh;
  padding: 24px 16px 40px;
  display: flex;
  justify-content: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  width: 100%;
  max-width: 1120px;
}

/* Utility */
/* -------- */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }

/* === Accessibility / Contrast Fixes (global) === */
.statement-highlight span,
.statement-highlight span.accent {
    color: #020617; /* почти чёрный, максимальный контраст на светлом фоне */
}

.statement-highlight span.accent {
    background-color: #C7E2FF; /* чуть более насыщённый голубой, но фон всё ещё светлый */
    padding: 0.15em 0.7em;
    border-radius: 999px;
}

.strip .strip-label,
.strip .strip-headline {
    color: #020617; /* более тёмный текст в нижних блоках */
}