/* Вдох — лендинг. Без внешних шрифтов и скриптов: сайт должен открываться из РФ без VPN
   и не передавать данные посетителей третьим лицам (152-ФЗ). */
:root {
  --bg: #f4f9f9;
  --bg-2: #ffffff;
  --ink: #0f2a33;
  --ink-2: #4a6670;
  --line: #d7e6e8;
  --accent: #129a8a;
  --accent-ink: #ffffff;
  --accent-soft: #dff3ef;
  --sky: #cfeef0;
  --shadow: 0 10px 30px rgba(15, 42, 51, .08);
  --radius: 18px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a1f;
    --bg-2: #10242b;
    --ink: #e7f3f4;
    --ink-2: #9db8bf;
    --line: #1f3a42;
    --accent: #3cc9b5;
    --accent-ink: #062320;
    --accent-soft: #123a36;
    --sky: #133239;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav { display: none; } }

.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.small { padding: 9px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p.lead { font-size: 20px; color: var(--ink-2); margin: 0 0 30px; max-width: 30em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.breath { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; }
.breath span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sky), var(--accent-soft) 60%, transparent 72%);
  animation: breathe 8s ease-in-out infinite; }
.breath span:nth-child(2) { inset: 14%; background: radial-gradient(circle at 40% 40%, var(--bg-2), var(--sky) 70%); animation-delay: -.6s; opacity: .9; }
.breath span:nth-child(3) { inset: 34%; background: var(--accent); opacity: .85; animation-delay: -1.2s; }
.breath b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@keyframes breathe { 0%, 100% { transform: scale(.86); } 45% { transform: scale(1); } 55% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .breath span { animation: none; } }
@media (max-width: 820px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .breath { max-width: 220px; order: -1; }
}

/* Секции */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--ink-2); margin: 0 0 40px; max-width: 40em; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 12px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 24px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; }

/* Тарифы */
.periods { display: inline-grid; grid-template-columns: repeat(4, auto); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 28px; }
section.alt .periods { background: var(--bg); }
.periods button { border: 0; background: transparent; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 15px; cursor: pointer; }
.periods button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.periods small { opacity: .8; margin-left: 4px; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }  /* три в ряд или столбиком — без «2 + 1» */
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.hit { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 40px; font-weight: 700; margin: 14px 0 0; letter-spacing: -.02em; }
.price span { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.permonth { color: var(--ink-2); font-size: 15px; min-height: 1.5em; margin: 2px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--ink-2); font-size: 15px; }
.plan li { padding: 4px 0 4px 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; text-align: center; }
.fine { font-size: 14px; color: var(--ink-2); margin-top: 22px; }

/* Вопросы */
details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* Подвал */
footer { padding: 40px 0 56px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
footer h4 { color: var(--ink); margin: 0 0 8px; font-size: 15px; }
footer p { margin: 0 0 6px; }
footer a { color: var(--ink-2); }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* Документы (оферта, политика) */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 6px; }
.doc .date { color: var(--ink-2); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ol, .doc ul { padding-left: 22px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.ph { background: #fff3c4; color: #5b4500; padding: 0 4px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .ph { background: #4a3d10; color: #ffe89a; } }
.price i { font-style: normal; }
@media (max-width: 700px) {
  .periods { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; width: 100%; }
  .periods button { border-radius: 12px; }
}
