/* Мама ВПН — лендинг. Цвета и шрифт как в приложении. */
@font-face {
  font-family: "Golos Text";
  src: url("golos-text.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --paper: #fafafc;
  --card: #ffffff;
  --ink: #17171e;
  --ash: #73737f;
  --faint: #a9a9b4;
  --mist: #ececf2;
  --cloud: #f3f3f8;
  --pink: #f75276;
  --pink-deep: #d93b63;
  --coral: #fcb5b3;
  --blush: rgba(252, 181, 179, 0.24);
  --mint: #12b76a;
  --mint-soft: #e3f8ee;
  --cta: linear-gradient(90deg, #fa6f8c, #f04a6e);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(23, 23, 30, 0.04), 0 8px 24px rgba(23, 23, 30, 0.05);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 12px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p, ul, ol { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* ---- шапка ---- */
.top { padding-block: 18px; position: relative; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { height: 26px; width: auto; color: var(--ink); display: block; }
.menu { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.menu a { color: var(--ink); }
.menu .menu-cta { display: none; }
.burger { display: none; }

/* ---- первый экран ---- */
.hero { padding-block: 28px 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero .copy { display: grid; gap: 18px; min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); }
.hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 700; letter-spacing: -0.02em; }
.hero .lead { font-size: 18px; color: var(--ash); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 16px;
  font: inherit; font-weight: 600; font-size: 16px;
}
.btn:hover { text-decoration: none; }
.btn-main { background: var(--cta); color: #fff; box-shadow: 0 8px 20px rgba(240, 74, 110, 0.28); }
.btn-main:hover { filter: brightness(1.04); }
.btn-soon { background: var(--cloud); color: var(--ash); cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }
.hint { font-size: 14px; color: var(--ash); }
/* Фото семьи: фон снимка выровнен ровно в цвет страницы (#FAFAFC), тени под
   диваном — настоящие; поэтому никакой рамки, карточки и подложки. */
.hero-art { display: grid; place-items: center; }
.hero-art img { width: 100%; height: auto; }

/* ---- секции ---- */
section { padding-block: 44px; }
.head { display: grid; gap: 10px; margin-bottom: 26px; max-width: 40em; }
.head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
.head p { color: var(--ash); font-size: 17px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { display: grid; gap: 10px; align-content: start; }
.bubble { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--pink-deep); display: grid; place-items: center; }
.bubble svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { color: var(--ash); font-size: 15px; }

/* ---- тарифы ---- */
.plans { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; align-items: start; }
.plan { display: grid; gap: 16px; }
.plan .name { font-size: 15px; font-weight: 600; color: var(--ash); text-transform: uppercase; letter-spacing: 0.05em; }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--ash); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2312b76a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.plan-premium { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--cta) border-box; }
.terms { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.terms th, .terms td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--mist); }
.terms th { font-size: 13px; font-weight: 600; color: var(--ash); text-transform: uppercase; letter-spacing: 0.04em; }
.terms td:nth-child(2), .terms th:nth-child(2), .terms td:nth-child(3), .terms th:nth-child(3) { text-align: right; }
.terms td:nth-child(2) { font-weight: 700; }
.terms td:nth-child(3) { color: var(--ash); }
.terms tr:last-child td { border-bottom: 0; }
.terms .days { display: block; font-size: 13px; color: var(--faint); }
.note { font-size: 14px; color: var(--ash); }

/* ---- оплата ---- */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(s); width: 34px; height: 34px; border-radius: 50%;
  background: var(--cta); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.rules { list-style: none; padding: 0; display: grid; gap: 12px; }
.rules li { padding-left: 16px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.rules b { font-weight: 600; }

/* ---- поддержка и документы ---- */
.support { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.support .handle { font-size: 22px; font-weight: 700; }
.support p { color: var(--ash); }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc { display: grid; gap: 6px; color: var(--ink); }
.doc:hover { text-decoration: none; box-shadow: 0 1px 2px rgba(23, 23, 30, 0.05), 0 12px 28px rgba(23, 23, 30, 0.08); }
.doc b { font-size: 16px; }
.doc span { color: var(--ash); font-size: 14px; }

/* ---- подвал ---- */
footer { padding-block: 36px 48px; border-top: 1px solid var(--mist); margin-top: 20px; }
footer .wrap { display: grid; gap: 14px; }
footer .logo { height: 20px; }
footer p { font-size: 13px; color: var(--ash); max-width: 60em; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }

/* ---- телефон ---- */
@media (max-width: 860px) {
  .hero .wrap, .plans, .pay { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; width: 100%; justify-self: center; }
  .features, .docs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .features, .docs { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .card { padding: 20px; }
}
@media (max-width: 640px) {
  .burger {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .top.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.open .burger span:nth-child(2) { opacity: 0; }
  .top.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .burger:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
  .menu {
    display: none; position: absolute; top: calc(100% - 4px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    background: var(--card); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(23, 23, 30, 0.14);
    font-size: 17px;
  }
  .top.open .menu { display: flex; }
  .menu a { padding: 14px 16px; border-radius: 14px; }
  .menu a:hover { background: var(--cloud); text-decoration: none; }
  .menu .menu-cta { display: inline-flex; margin-top: 6px; color: #fff; }
  .menu .menu-cta:hover { background: var(--cta); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .burger span { transition: none; } }
