/* Vidiola — по логотипу (вязаная варежка): розовый фон, красный войлок, мятная резинка, жёлтые искры. Шрифт — Nunito
   (округлый, как надпись логотипа). Сайт для модерации эквайринга Т-Банка и для людей из рекламы. */
:root {
  --bg: #ffe5e4;
  --bg-soft: #fff3f2;
  --surface: #ffffff;
  --red: #c93545;
  --red-dark: #a8293a;
  --mint: #8fdccf;
  --mint-dark: #2f7c71;
  --yellow: #f7bd4f;
  --ink: #3a1f24;
  --muted: #7a5a5f;
  --line: #f3c9c8;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(168, 41, 58, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; flex: none; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 229, 228, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 26px; color: var(--red);
  text-decoration: none; letter-spacing: -.5px; }
.wordmark img { width: 40px; height: auto; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: var(--red); }
@media (max-width: 760px) { .top nav { display: none; } }

/* кнопки */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800;
  font-size: 17px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(201, 53, 69, .35); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--red); border: 2px solid var(--red); }
.btn-secondary:hover { background: var(--bg-soft); }

/* первый экран */
.hero { padding: 48px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--mint-dark);
  font-weight: 800; font-size: 14px; }
h1 { font-weight: 900; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 16px 0 0; color: var(--red);
  letter-spacing: -.5px; }
.lead { font-size: 19px; margin: 18px 0 0; max-width: 560px; }
.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-art { position: relative; display: flex; justify-content: center; }
.phone { margin: 0; width: min(320px, 80vw); border-radius: 34px; padding: 10px; background: var(--ink);
  box-shadow: var(--shadow); transform: rotate(2deg); }
.phone video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; object-fit: cover; background: #000; }
.hero-mitten { position: absolute; right: calc(50% - 280px); bottom: -10px; width: 110px; height: auto; transform: rotate(12deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mitten { display: none; }   /* на телефоне закрывала кнопку запуска ролика */
}

/* секции */
.section { padding: 64px 0; }
.section.tint { background: var(--bg-soft); }
h2 { font-weight: 900; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0; color: var(--red); text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 10px auto 0; max-width: 640px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 19px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* примеры */
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.example { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.frame { display: flex; justify-content: center; }
.frame video { background: #000; }
.frame.tall video { width: min(300px, 100%); height: auto; aspect-ratio: 9 / 16; border-radius: 20px; object-fit: cover; }
.frame.round video { width: min(300px, 100%); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  border: 6px solid var(--mint); }
.example figcaption { margin-top: 14px; }
.example .t { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 20px; color: var(--red); }
.example .s { display: block; color: var(--muted); margin-top: 6px; }
.disclaimer { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
@media (max-width: 760px) { .examples { grid-template-columns: 1fr; } }

/* цены */
.prices { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { background: var(--surface); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow);
  border: 2px solid transparent; }
.price:nth-child(2) { border-color: var(--mint); }
.price h3 { margin: 0; font-size: 20px; font-weight: 800; }
.price .sum { display: block; font-size: 38px; font-weight: 900; color: var(--red); margin: 8px 0 4px; }
.price .per { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 28px auto 0; padding: 0; max-width: 760px; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .icon { color: var(--mint-dark); margin-top: 4px; }

/* вопросы */
.faq details { background: var(--surface); border-radius: 16px; padding: 16px 20px; margin: 12px auto 0; max-width: 820px;
  box-shadow: 0 4px 14px rgba(168, 41, 58, .08); }
.faq details:first-of-type { margin-top: 28px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* финал */
.final { display: flex; align-items: center; gap: 32px; background: var(--surface); border-radius: 28px; padding: 32px;
  box-shadow: var(--shadow); }
.final img { width: 200px; border-radius: 24px; flex: none; }
.final h2 { text-align: left; }
.final p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 700px) { .final { flex-direction: column; text-align: center; } .final h2 { text-align: center; }
  .final .btns { justify-content: center; } }

/* документы */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 860px; background: var(--surface); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc h2 { text-align: left; font-size: 22px; margin: 28px 0 8px; }
.doc .meta { color: var(--muted); margin: 6px 0 20px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { width: 34%; color: var(--muted); font-weight: 700; }
.box { background: var(--bg-soft); border-left: 4px solid var(--mint); border-radius: 12px; padding: 14px 16px; }
mark.todo { background: var(--yellow); padding: 0 4px; border-radius: 4px; }
@media (max-width: 560px) { .doc .wrap { padding: 24px 16px; } .doc th { width: 40%; } }

/* подвал */
footer { background: var(--ink); color: #f6dcdd; padding: 44px 0 28px; margin-top: 0; }
footer a { color: #fff; }
footer .wordmark { color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
footer h4 { margin: 0 0 10px; color: #fff; font-size: 16px; }
footer p { margin: 8px 0 0; font-size: 15px; }
footer .links a { display: block; margin: 6px 0; text-decoration: none; font-size: 15px; }
footer .copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: #d9b8bb; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; } }
