/*
Theme Name: Candy AI Ru
Description: Брендовый малостраничник о Candy AI. Дизайн-язык — «фантик»: тёплый розово-кремовый фон, зубчатая кромка карточек как у обёртки конфеты, капсульные кнопки, мятный второй акцент.
Author: Candy AI Ru
Version: 1.0.0
*/

:root {
  --bg:         #fff3f6;
  --surface:    #ffffff;
  --surface-2:  #ffe8ef;
  --surface-3:  #fff8fa;
  --line:       #f3cfdb;
  --line-soft:  #fae2ea;
  --text:       #241019;
  --text-2:     #4a2833;
  --muted:      #7a5a66;
  --accent:     #ff4b9b;
  --accent-ink: #d4156d;
  --accent-soft:#ffd9e8;
  --mint:       #2fcfa0;
  --mint-soft:  #d9f7ed;
  --amber:      #ffb020;
  --red:        #e5484d;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 10px 30px rgba(255, 75, 155, .15);
  --shadow-sm:  0 4px 14px rgba(255, 75, 155, .12);
  --font-display: 'Rubik', 'Segoe UI', sans-serif;
  --font-text:    'Nunito Sans', 'Segoe UI', sans-serif;
  --header-h:   64px;
  --wrap:       1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 17px/1.65 var(--font-text);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); letter-spacing: -.02em; margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 35px); font-weight: 700; }
h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { color: var(--text); font-weight: 700; }
mark { background: linear-gradient(transparent 58%, var(--accent-soft) 58%); color: inherit; padding: 0 .12em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.cy-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.cy-section { padding: 54px 0; }
.cy-section--tight { padding: 34px 0; }
.cy-section--soft { background: var(--surface-2); }
.cy-lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-2); max-width: 62ch; }
.cy-center { text-align: center; }
.cy-muted { color: var(--muted); font-size: 15px; }

/* ── Фирменный приём: зубчатая кромка «фантика» ─────────── */
.cy-scallop {
  --s: 13px;
  background: var(--surface);
  -webkit-mask:
    radial-gradient(var(--s) at 50% 0, #0000 99%, #000 101%) 50% 0 / calc(2 * var(--s)) var(--s) repeat-x,
    radial-gradient(var(--s) at 50% 100%, #0000 99%, #000 101%) 50% 100% / calc(2 * var(--s)) var(--s) repeat-x,
    linear-gradient(#000 0 0) 50% 50% / 100% calc(100% - 2 * var(--s)) no-repeat;
          mask:
    radial-gradient(var(--s) at 50% 0, #0000 99%, #000 101%) 50% 0 / calc(2 * var(--s)) var(--s) repeat-x,
    radial-gradient(var(--s) at 50% 100%, #0000 99%, #000 101%) 50% 100% / calc(2 * var(--s)) var(--s) repeat-x,
    linear-gradient(#000 0 0) 50% 50% / 100% calc(100% - 2 * var(--s)) no-repeat;
  padding: 30px 26px;
}
.cy-scallop-shadow { filter: drop-shadow(0 8px 22px rgba(255, 75, 155, .16)); }

/* ── Кнопки ──────────────────────────────────────────────── */
.cy-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--accent); color: #fff !important;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  border: 0; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 6px 18px rgba(255, 75, 155, .35);
}
.cy-btn:hover { background: var(--accent-ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(255, 75, 155, .42); color: #fff !important; }
.cy-btn--lg { padding: 16px 34px; font-size: 18px; }
.cy-btn--ghost {
  background: transparent; color: var(--accent-ink) !important;
  border: 2px solid var(--accent); box-shadow: none;
}
.cy-btn--ghost:hover { background: var(--accent-soft); color: var(--accent-ink) !important; box-shadow: none; }
.cy-btn--mint { background: var(--mint); box-shadow: 0 6px 18px rgba(47, 207, 160, .34); }
.cy-btn--mint:hover { background: #23b78c; box-shadow: 0 10px 24px rgba(47, 207, 160, .4); }
.cy-btn i, .cy-btn svg { width: 18px; height: 18px; }

/* ── Шапка ───────────────────────────────────────────────── */
.cy-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 243, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.cy-header__in { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.cy-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text) !important; letter-spacing: -.03em; }
.cy-logo__icon { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #ff8bc0); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.cy-logo__icon svg { width: 20px; height: 20px; }
.cy-logo b { color: var(--accent); }
.cy-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.cy-nav a { color: var(--text-2); font-weight: 600; font-size: 15px; }
.cy-nav a:hover { color: var(--accent-ink); }
.cy-header .cy-btn { padding: 10px 20px; font-size: 15px; }
.cy-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--text); padding: 8px; }
.cy-burger svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .cy-nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    transform: translateY(-130%); transition: transform .25s ease; margin-left: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .cy-nav.is-open { transform: translateY(0); }
  .cy-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .cy-burger { display: block; }
  /* CTA остаётся на первом экране на любом разрешении — из меню не прячем */
  .cy-header__cta { display: inline-flex !important; margin-left: 8px; }
}
@media (max-width: 420px) {
  .cy-header__cta { padding: 9px 15px !important; font-size: 14px !important; }
  .cy-logo { font-size: 18px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.cy-hero { padding: 52px 0 46px; position: relative; overflow: hidden; }
.cy-hero::before {
  content: ''; position: absolute; top: -180px; right: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 75, 155, .18), transparent 68%); pointer-events: none;
}
.cy-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.cy-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: var(--mint-soft); color: #12684f; font-weight: 700; font-size: 14px; margin-bottom: 18px;
}
.cy-hero__badge i { width: 15px; height: 15px; }
.cy-hero h1 { margin-bottom: .35em; }
.cy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cy-hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cy-hero__stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; padding-top: 24px; border-top: 1px dashed var(--line); }
.cy-hero__stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; }
.cy-hero__stat span { font-size: 14px; color: var(--muted); }
.cy-hero__media { position: relative; }
.cy-hero__card { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.cy-hero__chat { display: flex; flex-direction: column; gap: 11px; }
.cy-msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.cy-msg--in { background: var(--surface-2); border-bottom-left-radius: 5px; color: var(--text-2); }
.cy-msg--out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.cy-msg--typing { color: var(--muted); font-style: italic; background: var(--surface-2); }
/* фото, «присланное» персонажем прямо в переписке */
.cy-msg--photo { padding: 5px; max-width: 62%; }
.cy-msg--photo img { width: 100%; height: auto; border-radius: 12px; display: block; }

@media (max-width: 900px) {
  .cy-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .cy-hero { padding: 34px 0 34px; }
}

/* ── Лейбл секции на ленте ───────────────────────────────── */
.cy-label { margin-bottom: 18px; }
.cy-label__tape {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}

/* ── TL;DR ───────────────────────────────────────────────── */
.cy-tldr {
  --s: 11px;
  position: relative; margin: 0 0 30px; padding: 30px 26px;
  background: var(--surface-2);
  /* фирменная кромка «фантика» — вместо боковой полосы */
  -webkit-mask:
    radial-gradient(var(--s) at 50% 0, #0000 99%, #000 101%) 50% 0 / calc(2 * var(--s)) var(--s) repeat-x,
    radial-gradient(var(--s) at 50% 100%, #0000 99%, #000 101%) 50% 100% / calc(2 * var(--s)) var(--s) repeat-x,
    linear-gradient(#000 0 0) 50% 50% / 100% calc(100% - 2 * var(--s)) no-repeat;
          mask:
    radial-gradient(var(--s) at 50% 0, #0000 99%, #000 101%) 50% 0 / calc(2 * var(--s)) var(--s) repeat-x,
    radial-gradient(var(--s) at 50% 100%, #0000 99%, #000 101%) 50% 100% / calc(2 * var(--s)) var(--s) repeat-x,
    linear-gradient(#000 0 0) 50% 50% / 100% calc(100% - 2 * var(--s)) no-repeat;
}
.cy-tldr__label {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 7px;
}
.cy-tldr p { margin: 0; font-size: 17px; color: var(--text-2); }

/* ── Карточки ────────────────────────────────────────────── */
.cy-grid { display: grid; gap: 20px; }
.cy-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cy-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cy-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cy-grid--3, .cy-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cy-grid--2, .cy-grid--3, .cy-grid--4 { grid-template-columns: 1fr; } }

.cy-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .16s ease, box-shadow .16s ease;
}
.cy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cy-card__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px; }
.cy-card__icon i, .cy-card__icon svg { width: 22px; height: 22px; color: var(--accent-ink); stroke: currentColor; }
.cy-card__icon--mint { background: var(--mint-soft); }
.cy-card__icon--mint i, .cy-card__icon--mint svg { color: #12684f; }
.cy-card h3 { margin-bottom: .4em; }
.cy-card p:last-child { margin-bottom: 0; }

/* ── Таблицы ─────────────────────────────────────────────── */
.cy-tablewrap { overflow-x: auto; margin: 0 0 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.cy-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.cy-table th, .cy-table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cy-table th { background: var(--surface-2); font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 14px; white-space: nowrap; }
.cy-table tr:last-child td { border-bottom: 0; }
.cy-table tbody tr:hover { background: var(--surface-3); }
.cy-yes { color: #12684f; font-weight: 700; }
.cy-no { color: var(--red); font-weight: 700; }

/* ── Тарифы ──────────────────────────────────────────────── */
.cy-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .cy-plans { grid-template-columns: 1fr; } }
.cy-plan { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 26px 24px; text-align: center; }
.cy-plan--best { border-color: var(--accent); box-shadow: var(--shadow); }
.cy-plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.cy-plan__period { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); }
.cy-plan__price { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--text); line-height: 1.1; margin: 10px 0 2px; }
.cy-plan__price span { font-size: 17px; font-weight: 600; color: var(--muted); }
.cy-plan__old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.cy-plan__save { display: inline-block; margin-top: 10px; background: var(--mint-soft); color: #12684f; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.cy-plan .cy-btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ── Персонажи ───────────────────────────────────────────── */
.cy-chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .cy-chars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cy-chars { grid-template-columns: repeat(2, 1fr); } }
.cy-char { background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-soft); transition: transform .16s ease, box-shadow .16s ease; }
.cy-char:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cy-char__media { position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); }
.cy-char__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.cy-char__media img.is-missing { display: none; }
.cy-char__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .5; }
.cy-char__ph i, .cy-char__ph svg { width: 42px; height: 42px; }
.cy-char__tag { position: absolute; z-index: 2; left: 10px; top: 10px; background: rgba(255, 255, 255, .92); color: var(--accent-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.cy-char__body { padding: 14px 15px 17px; }
.cy-char__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 4px; }
.cy-char__role { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ── Шаги ────────────────────────────────────────────────── */
.cy-steps { counter-reset: step; display: grid; gap: 16px; }
.cy-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px 22px; }
.cy-step__num { counter-increment: step; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.cy-step__num::before { content: counter(step); }
.cy-step h3 { margin-bottom: .3em; }
.cy-step p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .cy-step { grid-template-columns: 40px 1fr; gap: 13px; padding: 17px; } .cy-step__num { width: 38px; height: 38px; font-size: 17px; } }

/* ── FAQ ─────────────────────────────────────────────────── */
.cy-faq { display: grid; gap: 12px; }
.cy-faq__item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.cy-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text);
}
.cy-faq__q i, .cy-faq__q svg { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform .2s ease; }
.cy-faq__item.is-open .cy-faq__q i, .cy-faq__item.is-open .cy-faq__q svg { transform: rotate(45deg); }
.cy-faq__a { display: none; padding: 0 20px 18px; }
.cy-faq__item.is-open .cy-faq__a { display: block; }
.cy-faq__a p { margin: 0; color: var(--text-2); }
html:not(.js) .cy-faq__a { display: block; }

/* ── Отзывы ──────────────────────────────────────────────── */
.cy-review { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.cy-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cy-review__who { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.cy-review__date { font-size: 13px; color: var(--muted); }
.cy-review p { margin: 0; }

/* ── Звёзды ──────────────────────────────────────────────── */
.cy-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.cy-stars__row svg { width: 17px; height: 17px; display: inline-block; }
.cy-stars__bg svg { fill: var(--line); }
.cy-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; }
.cy-stars__fill svg { fill: var(--amber); }
.cy-rating-big { display: flex; align-items: center; gap: 14px; }
.cy-rating-big b { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--text); line-height: 1; }

/* ── Плашки-предупреждения ───────────────────────────────── */
.cy-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); margin: 0 0 22px; }
.cy-note i, .cy-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.cy-note p:last-child { margin-bottom: 0; }
.cy-note--warn { background: #fff5e6; color: #7a4f00; }
.cy-note--warn i, .cy-note--warn svg { color: var(--amber); }
.cy-note--danger { background: #ffeaea; color: #8a1f22; }
.cy-note--danger i, .cy-note--danger svg { color: var(--red); }
.cy-note--ok { background: var(--mint-soft); color: #12684f; }
.cy-note--ok i, .cy-note--ok svg { color: var(--mint); }

/* ── Быстрые кнопки (страницы «скачать»/«оплатить») ──────── */
.cy-quick { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }

/* ── CTA ─────────────────────────────────────────────────── */
.cy-cta { margin: 54px 0; }
.cy-cta__inner {
  background: linear-gradient(135deg, #ff4b9b, #ff7fb8);
  border-radius: 24px; padding: 44px 34px; text-align: center; color: #fff;
  box-shadow: var(--shadow);
}
.cy-cta__title { color: #fff; margin-bottom: .35em; }
.cy-cta__text { max-width: 60ch; margin: 0 auto 22px; color: rgba(255, 255, 255, .95); }
.cy-cta .cy-btn { background: #fff; color: var(--accent-ink) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.cy-cta .cy-btn:hover { background: #fff; color: var(--accent-ink) !important; transform: translateY(-3px); }

/* ── Читайте дальше ──────────────────────────────────────── */
.cy-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .cy-related__grid { grid-template-columns: 1fr; } }
.cy-related__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 16px 18px; color: var(--text) !important; font-weight: 600; transition: transform .16s ease, box-shadow .16s ease;
}
.cy-related__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--accent-ink) !important; }
.cy-related__item i, .cy-related__item svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* ── Хлебные крошки ──────────────────────────────────────── */
.cy-breadcrumb { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.cy-breadcrumb a { color: var(--muted); }
.cy-breadcrumb a:hover { color: var(--accent-ink); }
.cy-breadcrumb__sep { margin: 0 8px; }

/* ── Заголовок внутренней страницы ───────────────────────── */
.cy-pagehead { padding: 22px 0 8px; }
.cy-pagehead h1 { margin-bottom: .3em; }

/* ── Футер ───────────────────────────────────────────────── */
.cy-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 46px 0 30px; margin-top: 20px; }
.cy-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .cy-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px) { .cy-footer__grid { grid-template-columns: 1fr; } }
.cy-footer h4 { font-size: 15px; margin-bottom: 12px; }
.cy-footer ul { list-style: none; padding: 0; margin: 0; }
.cy-footer li { margin-bottom: 8px; }
.cy-footer a { color: var(--text-2); font-size: 15px; }
.cy-footer a:hover { color: var(--accent-ink); }
.cy-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.cy-footer__bottom p { margin: 0 0 8px; }

/* ── Возрастная всплывашка при первом заходе ─────────────── */
.cy-agegate {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(36, 16, 25, .62); backdrop-filter: blur(8px);
  padding: 20px;
}
html.js:not(.age-ok) .cy-agegate { display: flex; }
html.js:not(.age-ok) body { overflow: hidden; }
.cy-agegate__card {
  position: relative; background: var(--surface); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(36, 16, 25, .3);
  max-width: 470px; width: 100%; padding: 38px 34px; text-align: center;
}
.cy-agegate__badge {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ff8bc0); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  box-shadow: 0 8px 20px rgba(255, 75, 155, .34);
}
.cy-agegate__card h2 { font-size: clamp(21px, 3vw, 25px); margin-bottom: .5em; }
.cy-agegate__card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.cy-agegate__row { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cy-agegate__row .cy-btn { width: 100%; justify-content: center; }
@media (max-width: 520px) { .cy-agegate__card { padding: 30px 22px; border-radius: 20px; } }

/* ── Интерактив: конструктор/подборщик ───────────────────── */
.cy-tool { background: var(--surface); border: 2px dashed var(--line); border-radius: 20px; padding: 26px 24px; }
.cy-tool__row { display: grid; gap: 8px; margin-bottom: 18px; }
.cy-tool label { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); }
.cy-tool select, .cy-tool input[type="text"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: 400 16px var(--font-text); color: var(--text); background: var(--surface-3);
}
.cy-tool select:focus, .cy-tool input:focus { outline: none; border-color: var(--accent); }
.cy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cy-chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-3);
  font: 600 14px var(--font-text); color: var(--text-2); cursor: pointer; transition: all .15s ease;
}
.cy-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.cy-chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cy-tool__out {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2);
  font-size: 16px; color: var(--text-2); min-height: 60px;
}
.cy-tool__out b { color: var(--text); }
.cy-copy { margin-top: 12px; }

/* ── Чек-лист ────────────────────────────────────────────── */
.cy-check { display: grid; gap: 10px; }
.cy-check__item { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; }
.cy-check__item.is-done { background: var(--mint-soft); border-color: var(--mint); }
.cy-check__box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; margin-top: 2px; }
.cy-check__item.is-done .cy-check__box { background: var(--mint); border-color: var(--mint); }
.cy-check__box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.cy-check__item.is-done .cy-check__box svg { opacity: 1; }
.cy-check__item h3 { font-size: 17px; margin-bottom: .25em; }
.cy-check__item p { margin: 0; font-size: 15px; }

/* ── Прочее ──────────────────────────────────────────────── */
.cy-dl { display: grid; gap: 14px; }
.cy-dl__item { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 16px 18px 16px 36px; }
.cy-dl__item::before { content: ''; position: absolute; left: 16px; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cy-dl__item b { display: block; font-family: var(--font-display); color: var(--text); margin-bottom: 4px; }
.cy-dl__item p { margin: 0; font-size: 15px; }
.cy-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .cy-pros { grid-template-columns: 1fr; } }
.cy-pros__col { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line-soft); }
.cy-pros__col h3 { display: flex; align-items: center; gap: 9px; }
.cy-pros__col h3 i, .cy-pros__col h3 svg { width: 20px; height: 20px; }
.cy-pros__col--plus h3 { color: #12684f; }
.cy-pros__col--minus h3 { color: var(--red); }
.cy-pros__col ul { padding-left: 1.1em; margin-bottom: 0; }
.cy-timeline { display: grid; gap: 0; }
.cy-timeline__item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 0 0 22px; position: relative; }
.cy-timeline__item::before { content: ''; position: absolute; left: 100px; top: 10px; bottom: -6px; width: 2px; background: var(--line); }
.cy-timeline__item:last-child::before { display: none; }
.cy-timeline__year { font-family: var(--font-display); font-weight: 800; color: var(--accent-ink); font-size: 18px; text-align: right; }
.cy-timeline__body { position: relative; padding-left: 20px; }
.cy-timeline__body::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.cy-timeline__body h3 { font-size: 18px; margin-bottom: .25em; }
.cy-timeline__body p { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .cy-timeline__item { grid-template-columns: 62px 1fr; gap: 12px; } .cy-timeline__item::before { left: 70px; } .cy-timeline__year { font-size: 15px; } }
