/*
  Copper Landing — тёмная «медная» дизайн-система для продающих лендингов.
  Чёрный фон, заголовки Playfair Display 400 с курсивным медным акцентом, текст Inter,
  один акцент — медь oklch(65.5% .15 50), карточки почти-чёрные с тонкой рамкой,
  радиальное медное свечение за ключевыми секциями. Префикс классов: cp-.
*/
:root {
  color-scheme: dark;
  --radius: .75rem;
  --bg: oklch(0% 0 0);
  --fg: oklch(100% 0 0);
  --card: oklch(15.8% 0 0);
  --card-2: oklch(12% 0 0);
  --secondary: oklch(21.6% 0 0);
  --border: oklch(26.9% 0 0);
  --muted: oklch(72.3% 0 0);
  --dim: oklch(55% 0 0);
  --primary: oklch(65.52% .1499 50.36);
  --primary-hover: oklch(71.3% .1499 50.36);
  --primary-soft: oklch(65.52% .1499 50.36 / .1);
  --primary-border: oklch(65.52% .1499 50.36 / .38);
  --header-bg: oklch(0% 0 0 / .88);
  --shadow: 0 16px 40px oklch(0% 0 0 / .45);
  --glow: radial-gradient(ellipse at center, oklch(65.52% .1499 50.36 / .08), transparent 66%);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.cp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.cp-narrow { max-width: 760px; }

/* ---------- Типографика ---------- */
.cp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.cp-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.cp-h1, .cp-h2, .cp-h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; margin: 0; }
.cp-h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.12; }
.cp-h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.15; }
.cp-h3 { font-size: 22px; line-height: 1.25; }
.cp-h1 em, .cp-h2 em, .cp-h3 em { font-style: italic; color: var(--primary); }
.cp-num { font-family: var(--sans); font-weight: 400; color: var(--primary); letter-spacing: -.04em; }
.cp-lead { color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 640px; margin: 22px auto 0; }
.cp-muted { color: var(--muted); }
.cp-small { font-size: 12.5px; color: var(--dim); }
.cp-center { text-align: center; }
.cp-head { text-align: center; margin-bottom: 52px; }
.cp-head .cp-h2 { margin-top: 18px; }

/* ---------- Кнопки ---------- */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 25px; border-radius: 12px; font: 500 14px/1 var(--sans); border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.cp-btn:hover { border-color: oklch(40% 0 0); background: oklch(100% 0 0 / .03); }
.cp-btn--primary { background: var(--primary); border-color: var(--primary); color: #000; }
.cp-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); }
.cp-btn--sm { height: 34px; padding: 0 18px; border-radius: 8px; font-size: 12px; }
.cp-btn svg { width: 15px; height: 15px; }
.cp-btn .cp-num { color: inherit; font-weight: 500; margin: 0 2px; }
.cp-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Шапка ---------- */
.cp-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid oklch(100% 0 0 / .06); }
.cp-header .cp-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; max-width: 1240px; }
.cp-logo { font-family: var(--serif); font-size: 24px; letter-spacing: -.02em; }
.cp-header .cp-btn { justify-self: end; }
.cp-pill { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--primary-border); background: var(--primary-soft); font-size: 11.5px; color: var(--muted); }
.cp-pill b { color: var(--primary); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .02em; }

/* ---------- Секции ---------- */
.cp-section { padding: 105px 0; position: relative; }
.cp-glow { background: var(--glow); }
.cp-divider { border-top: 1px solid oklch(100% 0 0 / .07); }
.cp-hero { padding: 72px 0 0; text-align: center; background: var(--glow); }
.cp-hero .cp-h1 { margin-top: 22px; }
.cp-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.cp-note b { color: var(--fg); font-weight: 500; }

/* ---------- Таймер ---------- */
.cp-timer { display: inline-block; margin-top: 30px; padding: 18px 16px 14px; border-radius: 14px; border: 1px solid var(--primary-border); background: linear-gradient(180deg, oklch(65.52% .1499 50.36 / .12), oklch(65.52% .1499 50.36 / .04)); }
.cp-timer__label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cp-timer__cells { display: flex; gap: 8px; justify-content: center; }
.cp-timer__cell { width: 62px; padding: 10px 0 8px; border-radius: 9px; background: #000; border: 1px solid var(--border); }
.cp-timer__cell b { display: block; font-size: 28px; font-weight: 500; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.cp-timer__cell span { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.cp-timer__after { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.cp-timer__after b { color: var(--fg); font-weight: 500; }

/* ---------- Веер превью в hero ---------- */
.cp-fan { position: relative; height: 330px; margin: 64px auto 0; max-width: 980px; clip-path: inset(-400px -400px 0 -400px); }
.cp-fan .cp-shot { position: absolute; bottom: -40px; left: 50%; width: 190px; transform-origin: 50% 100%; box-shadow: var(--shadow); }
.cp-fan .cp-shot:nth-child(1) { transform: translateX(-50%) translateX(-380px) rotate(-12deg); }
.cp-fan .cp-shot:nth-child(2) { transform: translateX(-50%) translateX(-195px) rotate(-6deg); bottom: -20px; }
.cp-fan .cp-shot:nth-child(3) { transform: translateX(-50%); bottom: 0; width: 210px; z-index: 2; }
.cp-fan .cp-shot:nth-child(4) { transform: translateX(-50%) translateX(195px) rotate(6deg); bottom: -20px; }
.cp-fan .cp-shot:nth-child(5) { transform: translateX(-50%) translateX(380px) rotate(12deg); }
.cp-fan-caption { position: relative; z-index: 3; padding: 26px 0 0; font-size: 12px; color: var(--muted); border-top: 1px solid oklch(100% 0 0 / .06); }

/* ---------- Превью-кадр 9:16 / 16:9 (CSS-заглушка ведущего) ---------- */
.cp-shot { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; border: 1px solid oklch(100% 0 0 / .08); background: linear-gradient(170deg, oklch(42% 0 0), oklch(22% 0 0)); }
.cp-shot--wide { aspect-ratio: 16 / 9; }
.cp-shot img, .cp-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-shot__person { z-index: 1; position: absolute; left: 50%; bottom: 0; width: 82%; height: 58%; transform: translateX(-50%); }
.cp-shot__person::before { content: ""; position: absolute; left: 50%; top: 0; width: 38%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(180deg, oklch(86% 0 0), oklch(70% 0 0)); }
.cp-shot__person::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; border-radius: 48% 48% 0 0 / 60% 60% 0 0; background: linear-gradient(180deg, oklch(80% 0 0), oklch(62% 0 0)); }
.cp-shot--wide .cp-shot__person { left: 72%; width: 34%; height: 80%; }
.cp-shot__cap { position: absolute; left: 8%; right: 8%; z-index: 2; text-align: center; font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 10px oklch(0% 0 0 / .5); }
.cp-shot__cap--top { top: 12%; }
.cp-shot__cap--mid { bottom: 9%; }
.cp-shot__cap em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--primary); }
.cp-shot__chip { display: inline-block; padding: 4px 9px; border-radius: 7px; background: #fff; color: #000; font-size: 11px; font-weight: 700; }
.cp-shot__panel { position: absolute; left: 8%; right: 8%; top: 9%; height: 34%; z-index: 2; border-radius: 10px; background: oklch(100% 0 0 / .1); border: 1px solid oklch(100% 0 0 / .14); backdrop-filter: blur(6px); }
.cp-shot__split { position: absolute; left: 0; right: 0; top: 0; height: 46%; z-index: 1; background: linear-gradient(160deg, oklch(30% .05 50), oklch(16% 0 0)); border-bottom: 1px solid oklch(100% 0 0 / .1); }
.cp-shot__tag { position: absolute; top: 9px; left: 9px; z-index: 3; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: oklch(100% 0 0 / .65); }
/* тона фона превью */
.cp-tone-copper { background: linear-gradient(170deg, oklch(36% .05 50), oklch(14% .01 50)); }
.cp-tone-olive  { background: linear-gradient(170deg, oklch(55% .06 115), oklch(30% .03 115)); }
.cp-tone-navy   { background: linear-gradient(170deg, oklch(38% .06 255), oklch(18% .03 255)); }
.cp-tone-rose   { background: linear-gradient(170deg, oklch(62% .05 25), oklch(32% .03 25)); }
.cp-tone-black  { background: linear-gradient(170deg, oklch(20% 0 0), oklch(6% 0 0)); }
.cp-tone-paper  { background: linear-gradient(170deg, oklch(92% .01 80), oklch(78% .01 80)); color: #111; }

/* ---------- Сравнение стоимости ---------- */
.cp-rows { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.cp-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 18px; align-items: start; padding: 22px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.cp-row--accent { border-color: var(--primary-border); background: linear-gradient(90deg, oklch(65.52% .1499 50.36 / .09), var(--card) 70%); }
.cp-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--secondary); border: 1px solid var(--border); color: var(--muted); }
.cp-ico svg { width: 17px; height: 17px; }
.cp-row--accent .cp-ico { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary); }
.cp-row h4 { margin: 4px 0 4px; font-size: 15px; font-weight: 550; }
.cp-row--accent h4 { color: var(--primary); }
.cp-row p { margin: 0; color: var(--muted); font-size: 13.5px; }
.cp-row__price { text-align: right; font-size: 21px; font-weight: 500; white-space: nowrap; }
.cp-row--accent .cp-row__price { color: var(--primary); }
.cp-row__price small { display: block; font-size: 11px; font-weight: 400; color: var(--dim); }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cp-chip { padding: 4px 10px; border-radius: 7px; font-size: 11px; color: var(--muted); background: var(--secondary); border: 1px solid var(--border); }

/* бары «12 месяцев» */
.cp-bars { max-width: 860px; margin: 26px auto 0; padding: 26px 24px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--border); }
.cp-bars__title { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.cp-bar { display: grid; grid-template-columns: 200px 1fr 90px; gap: 18px; align-items: center; margin: 14px 0; font-size: 13px; }
.cp-bar__track { height: 6px; border-radius: 99px; background: var(--secondary); overflow: hidden; }
.cp-bar__fill { height: 100%; width: 0; border-radius: 99px; background: oklch(78% 0 0); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.cp-bar__val { text-align: right; font-variant-numeric: tabular-nums; }
.cp-bar--accent, .cp-bar--accent .cp-bar__val { color: var(--primary); }
.cp-bar--accent .cp-bar__fill { background: var(--primary); }
.cp-bar__sub { grid-column: 2 / 4; margin-top: -8px; font-size: 11.5px; color: var(--dim); }
.cp-footnote { max-width: 860px; margin: 18px auto 0; font-size: 11.5px; color: var(--dim); line-height: 1.6; }

/* ---------- Каталог ---------- */
.cp-group { margin-top: 56px; }
.cp-group__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid oklch(100% 0 0 / .07); }
.cp-group__head h3 { margin: 0; font-size: 15px; font-weight: 550; }
.cp-group__head h3 span { color: var(--dim); font-weight: 400; margin-left: 6px; font-size: 13px; }
.cp-group__head small { font-size: 12px; color: var(--dim); }
.cp-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.cp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cp-item { border-radius: 14px; background: var(--card); border: 1px solid var(--border); overflow: hidden; transition: border-color .25s, transform .25s; }
.cp-item:hover { border-color: var(--primary-border); transform: translateY(-3px); }
.cp-item .cp-shot { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.cp-item__body { padding: 14px 16px 18px; }
.cp-item__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cp-item h4 { margin: 0; font-size: 13.5px; font-weight: 600; }
.cp-badge { font-size: 9.5px; padding: 2px 7px; border-radius: 5px; color: var(--muted); background: var(--secondary); border: 1px solid var(--border); white-space: nowrap; }
.cp-item p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cp-item--text { padding: 20px; }
.cp-item--text p { margin-top: 10px; }

/* ---------- Карточки-фичи ---------- */
.cp-card { padding: 30px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.cp-card .cp-ico { margin-bottom: 22px; }
.cp-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: -.02em; margin: 0 0 10px; }
.cp-card p { margin: 0; color: var(--muted); font-size: 14px; }
.cp-card--accent { border-color: var(--primary-border); background: linear-gradient(160deg, oklch(65.52% .1499 50.36 / .1), var(--card) 60%); }
.cp-quote { margin: 44px auto 0; max-width: 720px; text-align: center; font-family: var(--serif); font-size: 24px; line-height: 1.4; letter-spacing: -.02em; }
.cp-quote em { color: var(--primary); }

/* ---------- Шаги ---------- */
.cp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cp-step { padding: 26px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); position: relative; }
.cp-step__n { font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; color: var(--primary); }
.cp-step h4 { margin: 22px 0 8px; font-size: 15px; font-weight: 600; }
.cp-step p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Списки с галочками ---------- */
.cp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cp-checks li { position: relative; display: block; padding: 16px 20px 16px 54px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: 14.5px; }
.cp-checks li::before { content: ""; position: absolute; left: 20px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d17a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; border: 1px solid var(--primary-border); }
.cp-checks li small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.cp-checks--plain li { background: transparent; border: 0; padding: 6px 0 6px 34px; }
.cp-checks--plain li::before { left: 0; top: 7px; }

/* ---------- Тариф ---------- */
.cp-price { max-width: 520px; margin: 0 auto; padding: 34px; border-radius: 20px; background: var(--card); border: 1px solid var(--primary-border); box-shadow: 0 0 0 6px oklch(65.52% .1499 50.36 / .04), var(--shadow); text-align: center; }
.cp-price__tag { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-border); }
.cp-price .cp-timer { display: block; width: fit-content; margin: 20px auto 0; }
.cp-price__name { margin: 28px 0 6px; font-size: 14px; color: var(--muted); }
.cp-price__sum { display: flex; justify-content: center; align-items: baseline; gap: 14px; }
.cp-price__sum b { font-family: var(--serif); font-weight: 400; font-size: 64px; letter-spacing: -.03em; line-height: 1; }
.cp-price__sum s { font-size: 20px; color: var(--dim); }
.cp-price .cp-checks { text-align: left; margin: 26px 0 28px; }
.cp-price .cp-checks li { background: transparent; border: 0; padding: 5px 0 5px 34px; font-size: 14px; }
.cp-price .cp-checks li::before { left: 0; top: 6px; }
.cp-price .cp-btn { width: 100%; height: 52px; }

/* ---------- FAQ ---------- */
.cp-faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.cp-faq details { border-bottom: 1px solid var(--border); }
.cp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 14.5px; cursor: pointer; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.cp-faq details[open] summary::after { transform: rotate(-135deg); }
.cp-faq details p { margin: 0 0 22px; color: var(--muted); font-size: 14px; max-width: 640px; }

/* ---------- Финал и подвал ---------- */
.cp-final { text-align: center; padding: 110px 0; background: var(--glow); border-top: 1px solid oklch(100% 0 0 / .07); }
.cp-final .cp-h2 { margin-top: 20px; }
.cp-footer { padding: 30px 0; border-top: 1px solid oklch(100% 0 0 / .07); font-size: 12px; color: var(--dim); }
.cp-footer .cp-wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1240px; }

/* ---------- Появление ---------- */
.cp-reveal { opacity: 0; transform: translateY(15px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--d, 0s); }
.cp-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Анимации ---------- */
/* Hero: вход при загрузке, лесенкой */
.cp-hero .cp-wrap > * { animation: cp-up .9s cubic-bezier(.2,.7,.2,1) both; }
.cp-hero .cp-eyebrow { animation-delay: .05s; }
.cp-hero .cp-h1 { animation-delay: .15s; }
.cp-hero .cp-lead { animation-delay: .3s; }
.cp-hero .cp-btns { animation-delay: .42s; }
.cp-hero .cp-note { animation-delay: .5s; }
.cp-hero .cp-timer { animation-delay: .58s; }
.cp-hero .cp-fan-caption { animation: cp-fade .9s 1.2s ease both; }
@keyframes cp-fade { from { opacity: 0; } }
.cp-hero .cp-h1 em { display: inline-block; animation: cp-blur 1.1s .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cp-up { from { opacity: 0; transform: translateY(15px); } }
@keyframes cp-blur { from { opacity: 0; filter: blur(10px); transform: translateY(6px); } }

/* Веер: карточки выезжают снизу и раскрываются из центра */
.cp-hero .cp-fan { animation: none; }
.cp-fan .cp-shot { animation: cp-fan-in 1.1s cubic-bezier(.2,.8,.2,1) both; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cp-fan .cp-shot:nth-child(3) { animation-delay: .6s; }
.cp-fan .cp-shot:nth-child(2), .cp-fan .cp-shot:nth-child(4) { animation-delay: .72s; }
.cp-fan .cp-shot:nth-child(1), .cp-fan .cp-shot:nth-child(5) { animation-delay: .84s; }
@keyframes cp-fan-in { from { opacity: 0; translate: 0 90px; rotate: 0deg; } }
.cp-fan .cp-shot:hover { translate: 0 -14px; z-index: 3; }

/* Карточки и кнопки (как на референсе: подъём 4px, нажатие 0.98) */
.cp-item:hover { transform: translateY(-4px); }
.cp-card, .cp-step, .cp-row { transition: border-color .25s, transform .25s; }
.cp-card:hover, .cp-step:hover { border-color: var(--primary-border); transform: translateY(-4px); }
.cp-btn:active { transform: scale(.98); transition-duration: .1s; }
.cp-btn--primary svg { transition: transform .25s; }
.cp-btn--primary:hover svg { transform: translateX(3px); }

/* Превью «играют», пока видны на экране (.is-playing ставит copper.js) */
.cp-shot::before { content: ""; position: absolute; inset: -6%; background: inherit; z-index: 0; }
.cp-shot.is-playing::before { animation: cp-kb 9s ease-in-out infinite alternate; }
.cp-shot.is-playing .cp-shot__person { animation: cp-breathe 3.2s ease-in-out infinite; }
.cp-shot.is-playing .cp-shot__cap { animation: cp-cap 3.6s ease-in-out infinite; }
.cp-shot.is-playing .cp-shot__panel, .cp-shot.is-playing .cp-shot__chip { animation: cp-float 4s ease-in-out infinite; }
.cp-shot:has(img, video)::before { display: none; }
@keyframes cp-kb { to { transform: scale(1.08) translate(-2%, -2%); } }
@keyframes cp-breathe { 50% { transform: translateX(-50%) translateY(-1.5%) scale(1.015); } }
@keyframes cp-cap { 0%, 8% { opacity: 0; transform: scale(.85); } 16%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes cp-float { 50% { transform: translateY(-5px); } }

/* ---------- Превью из кадров: 3 кадра сменяются наплывом с лёгким зумом, пока карточка на экране ---------- */
.cp-shot__frames { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cp-shot__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); }
.cp-shot__frames img:first-child { opacity: 1; }
.cp-shot__frames--contain { background: radial-gradient(ellipse at center, oklch(30% .05 50), oklch(10% 0 0)); }
.cp-shot__frames--contain img { object-fit: contain; }
.cp-shot.is-playing .cp-shot__frames img { animation: cp-frame 7.5s linear infinite backwards; animation-delay: calc(var(--i) * 2.5s + var(--o, 0s)); }
@keyframes cp-frame {
  0% { opacity: 0; transform: scale(1.1); }
  7% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
.cp-item .cp-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: 1; background: linear-gradient(transparent, oklch(0% 0 0 / .35)); pointer-events: none; }

/* Таймер: смена цифры */
.cp-timer__cell b.tick { animation: cp-tick .45s ease; }
@keyframes cp-tick { from { opacity: .35; transform: translateY(-4px); } }
.cp-pill b.tick { animation: cp-tick .45s ease; }

/* FAQ: плавное раскрытие (высоту анимирует copper.js) */
.cp-faq details > p { overflow: hidden; }

/* Бейдж тарифа — мягкая пульсация */
.cp-price__tag { animation: cp-pulse 2.6s ease-in-out infinite; }
@keyframes cp-pulse { 50% { box-shadow: 0 0 0 6px oklch(65.52% .1499 50.36 / 0); } 0%, 100% { box-shadow: 0 0 0 0 oklch(65.52% .1499 50.36 / .25); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cp-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .cp-grid { grid-template-columns: repeat(3, 1fr); }
  .cp-steps { grid-template-columns: repeat(2, 1fr); }
  .cp-fan .cp-shot:nth-child(1), .cp-fan .cp-shot:nth-child(5) { display: none; }
}
@media (max-width: 720px) {
  .cp-wrap { padding: 0 16px; }
  .cp-section { padding: 76px 0; }
  .cp-header .cp-wrap { grid-template-columns: 1fr auto; height: 62px; }
  .cp-header .cp-pill { display: none; }
  .cp-logo { font-size: 20px; }
  .cp-grid, .cp-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cp-grid--2, .cp-steps { grid-template-columns: 1fr; }
  .cp-row { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .cp-row__price { text-align: left; }
  .cp-bar { grid-template-columns: 1fr 80px; gap: 6px 12px; }
  .cp-bar__track { grid-column: 1 / 3; grid-row: 2; }
  .cp-bar__sub { grid-column: 1 / 3; margin-top: 0; }
  .cp-fan { height: 250px; }
  .cp-fan .cp-shot { width: 130px; }
  .cp-fan .cp-shot:nth-child(3) { width: 150px; }
  .cp-fan .cp-shot:nth-child(2) { transform: translateX(-50%) translateX(-110px) rotate(-7deg); }
  .cp-fan .cp-shot:nth-child(4) { transform: translateX(-50%) translateX(110px) rotate(7deg); }
  .cp-timer__cell { width: 56px; }
  .cp-price { padding: 26px 20px; }
  .cp-price__sum b { font-size: 52px; }
  .cp-btns .cp-btn { width: 100%; }
}

/* =====================================================================
   Светлая тема: <html data-theme="light">. Та же разметка, тёплый «бумажный» фон,
   белые карточки, медь темнее (контраст на белом). Превью роликов остаются тёмными.
   ===================================================================== */
[data-theme="light"] {
  color-scheme: light;
  --bg: oklch(98.4% .006 80);
  --fg: oklch(19% .012 55);
  --card: oklch(100% 0 0);
  --card-2: oklch(97% .007 80);
  --secondary: oklch(95.5% .008 75);
  --border: oklch(90.5% .01 70);
  --muted: oklch(44% .012 55);
  --dim: oklch(57% .01 60);
  --primary: oklch(58% .15 47);
  --primary-hover: oklch(53% .15 47);
  --primary-soft: oklch(58% .15 47 / .09);
  --primary-border: oklch(58% .15 47 / .32);
  --header-bg: oklch(98.4% .006 80 / .86);
  --shadow: 0 18px 44px oklch(35% .04 55 / .16);
  --glow: radial-gradient(ellipse at center, oklch(72% .13 55 / .16), transparent 66%);
  --line: oklch(20% .02 55 / .08);
}
[data-theme="light"] .cp-header,
[data-theme="light"] .cp-fan-caption { border-color: var(--line); }
[data-theme="light"] .cp-divider,
[data-theme="light"] .cp-final,
[data-theme="light"] .cp-footer { border-top-color: var(--line); }
[data-theme="light"] .cp-group__head { border-bottom-color: var(--line); }
[data-theme="light"] .cp-btn--primary { color: #fff; }
[data-theme="light"] .cp-btn:hover { border-color: oklch(75% .01 60); background: oklch(20% .02 55 / .03); }
[data-theme="light"] .cp-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
[data-theme="light"] .cp-timer { background: linear-gradient(180deg, oklch(100% 0 0), oklch(96% .02 70)); box-shadow: var(--shadow); }
[data-theme="light"] .cp-timer__cell { background: var(--card); box-shadow: 0 1px 0 oklch(20% .02 55 / .04); }
[data-theme="light"] .cp-card,
[data-theme="light"] .cp-row,
[data-theme="light"] .cp-step,
[data-theme="light"] .cp-item,
[data-theme="light"] .cp-checks li,
[data-theme="light"] .cp-bars { box-shadow: 0 1px 2px oklch(30% .03 55 / .05), 0 8px 24px oklch(30% .03 55 / .05); }
[data-theme="light"] .cp-checks--plain li,
[data-theme="light"] .cp-price .cp-checks li { box-shadow: none; }
[data-theme="light"] .cp-row--accent { background: linear-gradient(90deg, oklch(58% .15 47 / .08), var(--card) 70%); }
[data-theme="light"] .cp-card--accent { background: linear-gradient(160deg, oklch(58% .15 47 / .09), var(--card) 60%); }
[data-theme="light"] .cp-bar__fill { background: oklch(70% .01 60); }
[data-theme="light"] .cp-price { box-shadow: 0 0 0 6px oklch(58% .15 47 / .06), var(--shadow); }
[data-theme="light"] .cp-item .cp-shot { border-bottom-color: var(--border); }
[data-theme="light"] .cp-fan .cp-shot { box-shadow: 0 24px 50px oklch(30% .04 55 / .28); }
[data-theme="light"] .cp-checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b35a1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
[data-theme="light"] .cp-faq summary::after { border-color: var(--dim); }
