/* Совпали — стиль 09 «Воздух» (brand/Sovpali_Brandbook_FIXED.pdf) */
:root {
  --cocoa: #4a3c38;
  --sky: #b5d8e6;
  --peach: #eec2ac;
  --pearl: #fbfcf8;
  --text: var(--cocoa);
  --muted: #76675f;
  --bg: var(--pearl);
  --card: rgba(255, 255, 255, 0.78);
  --border: #e4dbd5;
  --button: var(--cocoa);
  --button-text: var(--pearl);
  --air: 0.55;
  --radius: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: var(--pearl);
    --muted: #c8bcb6;
    --bg: #241d1b;
    --card: rgba(255, 255, 255, 0.06);
    --border: #4a3c38;
    --button: var(--pearl);
    --button-text: var(--cocoa);
    --air: 0.16;
    color-scheme: dark;
  }
  .only-light { display: none !important; }
}
@media (prefers-color-scheme: light) {
  .only-dark { display: none !important; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* «Воздух»: Sky — из нижнего левого края, Peach — из верхнего правого, центр светлый */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 100% 0%, rgb(238 194 172 / var(--air)), transparent 70%),
    radial-gradient(65vmax 50vmax at 0% 100%, rgb(181 216 230 / var(--air)), transparent 70%);
}
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0;
}
.top .logo img { height: 30px; width: auto; display: block; }
.top nav { display: flex; gap: 20px; align-items: center; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.lang {
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; background: var(--card);
}
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px;
  padding: 48px 0 72px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 20px; font-weight: 700; white-space: pre-line;
}
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.hero .symbol { width: min(360px, 80%); justify-self: center; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero .symbol { animation: none; } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; text-align: left; }
  .hero .symbol { order: -1; width: 180px; justify-self: start; }
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.pill.sky { background: var(--sky); color: var(--cocoa); }
.pill.peach { background: var(--peach); color: var(--cocoa); }
.pill.ghost { border: 1px solid var(--border); background: var(--card); }

section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 28px; letter-spacing: -0.01em; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; backdrop-filter: blur(6px);
}
.card h3 { margin: 12px 0 8px; font-size: 19px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot.sky { background: var(--sky); } .dot.peach { background: var(--peach); }
.num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: var(--cocoa);
}
.band {
  background: var(--cocoa); color: var(--pearl); border-radius: 28px; padding: 36px;
}
.band h2 { margin-bottom: 12px; }
.band p { margin: 0; max-width: 60ch; opacity: 0.9; }
@media (prefers-color-scheme: dark) { .band { background: rgba(255,255,255,0.08); } }

footer {
  padding: 40px 0 56px; border-top: 1px solid var(--border); margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between;
  font-size: 15px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
footer .muted { color: var(--muted); }

/* Документы */
.doc { max-width: 720px; padding: 24px 0 48px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 8px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 17px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.back { display: inline-flex; gap: 6px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border-radius: 28px; background: var(--button); color: var(--button-text);
  font-weight: 700; text-decoration: none; margin: 8px 0 4px;
}
.button:hover { opacity: 0.88; }
.note { color: var(--muted); font-size: 15px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
