/* Базовые переменные и сброс. Здесь удобно менять общие цвета и размеры сайта. */
:root {
  --bg: #000;
  --bg-soft: #f7f4ef;
  --bg-white: #fff;
  --text: #111;
  --text-inverse: #fff;
  --green: #2ecc71;
  --green-dark: #1f9c55;
  --orange: #f08a24;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --container: 1200px;
  --space: clamp(16px, 2vw, 28px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* Скрытый для визуального интерфейса, но доступный для screen reader */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}
