/* SIMP — платёжный лендинг. Фирменная палитра: чернила, лайм, розовый, жёлтый. */
@font-face { font-family: "Simp Display"; src: url("DelaGothicOne.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #111111;
  --paper: #f6f3ee;
  --card: #ffffff;
  --muted: #5f5d66;
  --line: #e4e0d8;
  --pink: #f75cd9;
  --blush: #ffe3fa;
  --lime: #c8f53b;
  --sun: #ffd53d;
  --lilac: #b9a7ff;
  --radius: 22px;
  --display: "Simp Display", "Arial Black", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--text); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(2px); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--lime:active { box-shadow: 0 2px 0 var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); letter-spacing: .02em; }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav { display: none; } }

/* Первый экран */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__tag { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--blush); font-weight: 700; font-size: 13px; }
.hero h1 { margin: 0 0 16px; font: 400 clamp(34px, 6vw, 60px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 mark { background: none; color: inherit; box-shadow: inset 0 -.38em 0 var(--lime); }
.hero p { margin: 0 0 26px; max-width: 520px; font-size: 18px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__card { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; background: var(--ink); color: #fff; padding: 22px; overflow: hidden; border: 2px solid var(--ink); }
.hero__card::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, var(--pink), transparent 65%); opacity: .55; }
.hero__card::after { content: ""; position: absolute; inset: auto auto -25% -25%; width: 75%; aspect-ratio: 1; background: radial-gradient(circle, var(--lilac), transparent 65%); opacity: .45; }
.chat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.35; }
.bubble--in { background: #2a2930; border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--lime); color: var(--ink); border-bottom-right-radius: 6px; }
.chip-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; }
.chip--hot { background: var(--sun); color: var(--ink); border-color: var(--sun); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero__card { aspect-ratio: auto; } }

/* Секции */
section { padding: 56px 0; }
.section-title { margin: 0 0 10px; font: 400 clamp(26px, 4vw, 40px)/1.08 var(--display); text-transform: uppercase; }
.section-lead { margin: 0 0 28px; max-width: 640px; color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; border: 2px solid var(--ink); font-size: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--ink); border-radius: 26px; padding: 22px; }
.plan--hit { background: var(--ink); color: #fff; }
.plan__badge { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; }
.plan h3 { margin: 0; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.plan__price { margin: 10px 0 2px; font: 800 34px/1 var(--text); }
.plan__price small { font-size: 15px; font-weight: 600; opacity: .7; }
.plan__long { margin: 0 0 16px; font-size: 14px; opacity: .75; }
.plan ul { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.plan--hit li::before { box-shadow: none; }
.plans-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ol { margin: 0 0 18px; color: var(--muted); }
.faq details ol { padding-left: 20px; }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: 32px; padding: 40px 28px; text-align: center; }
.cta .section-title { color: #fff; }
.cta p { margin: 0 auto 22px; max-width: 520px; color: #c9c7cf; }

/* Подвал */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.foot ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--ink); }
.foot__legal { line-height: 1.7; }
.foot__copy { margin-top: 28px; font-size: 13px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; row-gap: 6px; } .foot__grid > div:last-child h4 { display: none; } .foot__grid > div:first-child { margin-bottom: 22px; } }

/* Документы */
.doc { padding: 40px 0 64px; }
.doc article { max-width: 780px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 44px); }
.doc h1 { margin: 0 0 6px; font: 400 clamp(26px, 4vw, 36px)/1.1 var(--display); text-transform: uppercase; }
.doc .rev { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.doc h2 { margin: 28px 0 10px; font-size: 19px; }
.doc p, .doc li { color: #2b2a30; }
.doc ul, .doc ol { padding-left: 22px; }
.doc .note { padding: 14px 16px; border-radius: 16px; background: var(--blush); }
.back { display: inline-flex; margin-bottom: 18px; font-weight: 700; text-decoration: none; }

/* Уведомление-заглушка оплаты */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 60; width: min(420px, 100% - 32px); padding: 14px 18px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 15px;
  opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Подтверждение возраста и правил перед оплатой */
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; cursor: pointer; }
.agree input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.doc h1 { overflow-wrap: anywhere; hyphens: auto; }

/* Сетка сроков в карточке тарифа: 30 и 90 дней со скидкой от недельной цены */
.plan__terms { list-style: none; margin: 4px 0 16px !important; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: none !important; }
.plan__terms li { display: flex; align-items: center; gap: 8px; padding: 8px 10px !important; border-radius: 12px; background: rgb(0 0 0 / .04); font-size: 14px; }
.plan--hit .plan__terms li { background: rgb(255 255 255 / .08); }
.plan__terms li::before { display: none; }
.plan__terms span { flex: 1; }
.plan__terms b { font-variant-numeric: tabular-nums; }
.plan__terms em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
