/* After Effects курсы — light edition
   Палитра от иконки AE: тёмно-синий «ink» + фиолетовый, светлый фон.
   Фирменный элемент — блок «Таныс па?» в виде таймлайна AE с ключевыми кадрами. */

:root {
    --paper:   #F4F5FB;
    --surface: #FFFFFF;
    --ink:     #17144A;
    --muted:   #5E5B82;
    --line:    #DCDDF0;
    --violet:  #5F4FF0;
    --violet-2:#9999FF;
    --violet-soft: #ECEBFF;
    --key:     #F2B705;
    --wa:      #1DAA55;
    --wa-dark: #168A45;

    --f-display: 'Montserrat', 'Onest', system-ui, sans-serif;
    --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 10px;
    --wrap: 1160px;
    --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(26px, 5.2vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 22ch;
}
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 14px; }
.section { padding: 76px 0; }
.note { color: var(--muted); font-size: 14px; margin-top: 22px; max-width: 70ch; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 600; text-decoration: none; white-space: nowrap;
    border-radius: 999px; padding: 12px 20px; font-size: 16px;
    transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px -6px rgba(29,170,85,.55); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2670; }

/* ── Nav ── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244,245,251,.86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; margin-right: auto; }
.nav-logo img { border-radius: 8px; }
.nav-links { display: none; gap: 26px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-btn { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang-btn.active { background: var(--ink); color: #fff; }
.nav-cta { display: none; }

/* ── Hero ── */
.hero { padding: 28px 0 64px; }
.hero-grid { display: grid; }
.hero-media { margin-top: 22px; }
.hero-proof {
    justify-self: start;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: var(--violet);
    background: var(--violet-soft); padding: 6px 12px; border-radius: 999px;
}
.hero-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(29,170,85,.18); }
.hero h1 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(32px, 7.4vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin-top: 18px;
    max-width: 16ch;
}
.hero-sub { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 46ch; }
.hero-note { color: var(--muted); margin-top: 14px; font-size: 16px; }
.hero-note b { color: var(--ink); }
.hero-ig {
    justify-self: start; align-self: start;
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
    color: var(--muted); font-size: 15px; text-decoration: none;
}
.hero-ig svg { color: #D6249F; flex: none; }
.hero-ig b { color: var(--ink); }
.hero-ig:hover b { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 auto; }

.hero-media { display: flex; flex-direction: column; align-items: center; }
.phone {
    position: relative;
    width: min(320px, 68vw);
    aspect-ratio: 9 / 16;
    border-radius: 34px;
    overflow: hidden;
    background: var(--ink);
    border: 8px solid var(--ink);
    box-shadow: 0 30px 60px -24px rgba(23,20,74,.45);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.sound-btn {
    white-space: nowrap;
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.92); color: var(--ink);
    font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
}
.sound-btn .ic-on { display: none; }
.sound-btn[aria-pressed="true"] .ic-on { display: block; }
.sound-btn[aria-pressed="true"] .ic-off { display: none; }

/* ── Pains ── */
.pains { background: var(--surface); border-block: 1px solid var(--line); }
.pains .h2 { max-width: 24ch; }
.pain-list { display: grid; gap: 12px; margin-top: 28px; }
.pain { background: var(--paper); border-radius: var(--r-md); padding: 16px 18px; }
.pain-q { font-weight: 700; font-size: 17px; line-height: 1.35; position: relative; padding-left: 28px; }
.pain-q::before {
    content: "✕"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    display: grid; place-items: center; font-size: 11px; background: #FDE7E8; color: #D23B42;
}
.pain-a { margin-top: 8px; padding-left: 28px; position: relative; color: var(--violet); font-weight: 600; font-size: 15px; }
.pain-a::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F4FF0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ── Живые элементы ── */
/* 1. Заголовок hero: слова выезжают из-под маски */
.js .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform .7s cubic-bezier(.2,.85,.25,1); transition-delay: var(--wd, 0s); }
.js .hero h1.go .w > span, .js .hero h1.done .w > span { transform: none; }
.js .hero h1.done .w > span { transition: none; }
.js .hero-sub, .js .hero-actions, .js .hero-note, .js .hero-ig, .js .hero-media {
    opacity: 0; transform: translateY(14px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.js .hero.go .hero-media { opacity: 1; transform: none; transition-delay: .25s; }
.js .hero.go .hero-sub { opacity: 1; transform: none; transition-delay: .55s; }
.js .hero.go .hero-actions { opacity: 1; transform: none; transition-delay: .7s; }
.js .hero.go .hero-note, .js .hero.go .hero-ig { opacity: 1; transform: none; transition-delay: .85s; }

/* 2. Заголовки блоков выезжают при скролле */
.js .h2.rv { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .8s cubic-bezier(.2,.85,.25,1), transform .8s cubic-bezier(.2,.85,.25,1); }
.js .h2.rv.in { clip-path: inset(0 0 -10% 0); transform: none; }

/* 3. Чек: строки по очереди → красная линия по 200 000 → выскакивает 50 000 */
.js .receipt .rc-list li { opacity: 0; transform: translateX(-10px); transition: opacity .35s ease, transform .4s ease; transition-delay: calc(var(--i) * .07s); }
.js .receipt.in .rc-list li { opacity: 1; transform: none; }
.js .rc-total s { text-decoration: none; position: relative; }
.js .rc-total s::after {
    content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2.5px; background: #E0383E; border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.6,0,.3,1) 1.05s;
}
.js .receipt.in .rc-total s::after { transform: scaleX(1); }
.js .rc-yours b { display: inline-block; opacity: 0; transform: scale(.6); transition: opacity .3s ease 1.5s, transform .5s cubic-bezier(.3,1.6,.5,1) 1.5s; }
.js .receipt.in .rc-yours b { opacity: 1; transform: none; }

/* 4. Блик на главных зелёных кнопках */
.btn-wa.btn-lg { position: relative; overflow: hidden; isolation: isolate; }
.btn-wa.btn-lg::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2s infinite;
}
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* Анимация карточек при скролле (только если JS включён) */
.js .pain {
    opacity: 0; transform: translateY(26px) scale(.98);
    transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--d, 0s);
}
.js .pain .pain-q::before { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d, 0s) + .2s); }
.js .pain .pain-a {
    opacity: 0; transform: translateX(-12px);
    transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--d, 0s) + .45s);
}
.js .pain .pain-a::before { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d, 0s) + .6s); }
.js .pain.in { opacity: 1; transform: none; }
.js .pain.in .pain-q::before, .js .pain.in .pain-a::before { transform: scale(1); }
.js .pain.in .pain-a { opacity: 1; transform: none; }

/* ── Paths ── */
.paths-grid { display: grid; gap: 16px; margin-top: 32px; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.path--money { background: var(--ink); color: #fff; border-color: var(--ink); }
.path h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.path-who { color: var(--muted); margin-top: 6px; font-size: 15px; }
.path--money .path-who { color: #B9B7E8; }
.path ul { margin-top: 18px; display: grid; gap: 10px; }
.path li { position: relative; padding-left: 26px; }
.path li::before {
    content: ""; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px;
    transform: rotate(45deg); background: var(--violet); border-radius: 1px;
}
.path--money li::before { background: var(--key); }

/* ── Modules ── */
.modules .h2 { max-width: 24ch; }
.mod-rail {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 34px var(--gutter) 10px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.mod-rail::-webkit-scrollbar { display: none; }
.mod {
    flex: 0 0 76vw; max-width: 300px;
    scroll-snap-align: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 10px 10px 18px;
    display: flex; flex-direction: column;
}
.mod-video {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #0c0b22; cursor: pointer;
}
.mod-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.mod-video::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: inset 0 0 0 3px var(--violet); opacity: 0; transition: opacity .2s;
}
.mod.playing .mod-video::after { opacity: 1; }
.mod-num { font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--violet); margin: 16px 8px 0; }
.mod h3 { font-size: 19px; font-weight: 700; line-height: 1.25; margin: 4px 8px 0; }
.mod-result { font-size: 15px; margin: 10px 8px 0; color: var(--ink); }
.mod-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 8px 0; padding-top: 14px; }
.mod-tags span {
    font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
    color: var(--violet); background: var(--violet-soft); padding: 6px 9px; border-radius: 999px;
}
.rail-hint { display: flex; align-items: center; gap: 10px; color: var(--violet); font-size: 15px; font-weight: 600; margin-top: 8px; }
.rail-arrow { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* ── Trial ── */
.trial-grid { display: grid; gap: 28px; align-items: center; }
.video-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.video-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { display: block; width: 100%; cursor: pointer; padding: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 72px; height: 50px; border-radius: 14px; background: #E52D27; color: #fff;
    display: grid; place-items: center; transition: transform .15s;
}
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }

/* ── How ── */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 32px; }
.steps li {
    counter-increment: step;
    position: relative; padding: 0 0 26px 52px;
}
.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--f-display); font-weight: 700; font-size: 14px;
    background: var(--violet-soft); color: var(--violet);
}
.steps li::after {
    content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
/* Связанная анимация шагов: линия рисуется со скроллом, шаг «загорается», когда она до него дошла */
.js .steps li::after {
    background: var(--line) linear-gradient(var(--violet), var(--violet)) no-repeat top / 100% calc(var(--f, 0) * 100%);
}
.js .steps li::before { transition: background-color .3s, color .3s, transform .45s cubic-bezier(.3,1.7,.5,1), box-shadow .3s; }
.js .steps li.on::before { background: var(--violet); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px var(--violet-soft); }
.js .steps li h3, .js .steps li p { opacity: .15; transform: translateX(-10px); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.js .steps li p { transition-delay: .08s; }
.js .steps li.on h3, .js .steps li.on p { opacity: 1; transform: none; }
.steps h3 { font-size: 18px; font-weight: 700; padding-top: 4px; }
.steps p { color: var(--muted); margin-top: 2px; }

.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.platform figure { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.platform img { width: 100%; height: 100%; object-fit: cover; }
.platform-laptop { grid-column: 1 / -1; }

/* ── Reviews ── */
.rv-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.rv-video { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px; }
.rv-video video { width: 100%; border-radius: var(--r-md); background: #000; }
.rv-video video { aspect-ratio: 9 / 16; object-fit: contain; }
.rv-video figcaption { font-size: 14px; color: var(--muted); padding: 10px 6px 4px; }
.shots { display: flex; gap: 12px; margin-top: 14px; align-items: flex-start; }
.shots-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.shot {
    display: block; width: 100%;
    border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
    cursor: zoom-in;
}
.shot img { width: 100%; height: auto; }

/* ── Payback ── */
.pb-chart { position: relative; margin-top: 36px; display: grid; gap: 18px; }
.pb-label { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.pb-bar { position: relative; height: 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); display: flex; overflow: hidden; }
.pb-cost {
    width: calc(var(--w) / 60 * 100%);
    background: var(--ink); color: #fff;
    display: flex; align-items: center; padding: 0 14px; font-size: 15px;
}
.pb-order {
    width: 25%; display: grid; place-items: center;
    background: var(--wa); color: #fff; font-weight: 700; font-size: 13px;
    border-right: 2px solid var(--surface);
    transform-origin: left; transform: scaleX(0);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--i) * .35s);
}
.pb-chart.in .pb-order { transform: scaleX(1); }
.pb-line {
    position: absolute; top: 0; bottom: -26px;
    left: calc(var(--w) / 60 * 100%);
    border-left: 2px dashed var(--key);
}
.pb-line span {
    position: absolute; bottom: 0; right: 8px; white-space: nowrap;
    font-size: 13px; font-weight: 700; color: #9A7400;
}
.pb-facts { display: grid; gap: 14px; margin-top: 50px; }
.pb-fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.pb-num { font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.pb-fact p + p { color: var(--muted); margin-top: 4px; }

/* ── Value receipt ── */
.receipt {
    margin-top: 28px; max-width: 640px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 22px 20px;
}
.rc-list li {
    display: flex; align-items: baseline; gap: 8px;
    padding: 7px 0; font-size: 16px;
}
.rc-list li span { flex: 0 1 auto; }
.rc-list li::after { content: ""; order: 1; flex: 1 1 20px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.rc-list li b { order: 2; white-space: nowrap; font-weight: 600; }
.rc-extra { color: var(--violet); }
.rc-list li:nth-child(9) { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 14px; }
.rc-total, .rc-yours { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rc-total { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 600; }
.rc-total s { color: var(--muted); font-size: 20px; text-decoration-color: #E0383E; text-decoration-thickness: 2px; }
.rc-yours { margin-top: 12px; flex-direction: column; align-items: flex-start; gap: 2px; }
.rc-yours span { font-weight: 700; font-size: 16px; line-height: 1.3; }
@media (min-width: 560px) {
    .rc-yours { flex-direction: row; align-items: center; gap: 16px; }
    .rc-yours span { font-size: 17px; }
}
.rc-yours b { font-family: var(--f-display); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--violet); white-space: nowrap; }

/* ── Pricing ── */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.price-grid { display: grid; gap: 18px; margin-top: 28px; }
.plan { border-radius: var(--r-lg); padding: 28px 22px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.plan--main { border: 2px solid var(--violet); background: var(--surface); box-shadow: 0 24px 50px -30px rgba(95,79,240,.45); }
.plan h3 { font-family: var(--f-display); font-size: 24px; font-weight: 700; }
.plan-where { color: var(--muted); margin-top: 6px; }
.plan-list { display: grid; gap: 10px; margin-top: 20px; }
.plan-list li { position: relative; padding-left: 28px; }
.plan-list li::before {
    content: ""; position: absolute; left: 2px; top: .3em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F4FF0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pay-options { display: grid; gap: 10px; margin-top: 24px; }
.pay { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.pay--split { background: var(--violet-soft); border-color: transparent; }
.pay-name { font-size: 14px; color: var(--muted); font-weight: 600; }
.pay-price { font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.pay-price s { font-family: var(--f-body); font-size: 17px; font-weight: 500; color: var(--muted); margin-right: 6px; text-decoration-color: #E0383E; text-decoration-thickness: 2px; }
.pay-price small { font-family: var(--f-body); font-size: 16px; font-weight: 500; color: var(--muted); }
.pay-note { font-size: 14px; color: var(--muted); margin-top: 2px; }
.plan-actions { display: grid; gap: 10px; margin-top: 20px; }
.pay-price--offline { margin-top: auto; padding-top: 24px; }
.plan--offline .btn { margin-top: 14px; }

/* ── FAQ ── */
.faq-wrap { max-width: 820px; }
.faq .h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 20px 0; font-weight: 600; font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: ""; flex: 0 0 12px; height: 12px;
    border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet);
    transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details > p, .faq-body { color: var(--muted); padding: 0 0 22px; max-width: 68ch; }
.specs { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--ink); font-weight: 600; width: 38%; }
.specs td { color: var(--ink); }
.faq-more { margin-top: 28px; font-size: 17px; }
.faq-more a { color: var(--wa-dark); font-weight: 600; }

/* ── Final ── */
.final { background: var(--ink); color: #fff; padding: 72px 0 120px; }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-family: var(--f-display); font-size: clamp(26px, 5vw, 42px); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; }
.final p { color: #B9B7E8; margin: 14px 0 26px; font-size: 18px; }

.footer { background: var(--ink); color: #B9B7E8; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 100px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer a { color: #fff; text-decoration: none; }

/* ── Sticky CTA (mobile) ── */
.sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    padding: 10px 10px 10px 16px;
    box-shadow: 0 14px 36px -12px rgba(23,20,74,.35);
    transform: translateY(140%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s, opacity .3s, visibility 0s .3s;
}
.sticky-cta.show { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .3s, opacity .3s; }
.sticky-price { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-price b { font-family: var(--f-display); font-size: 18px; }
.sticky-price span { font-size: 13px; color: var(--muted); }

/* ── Lightbox ── */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; margin: auto; }
.lightbox::backdrop { background: rgba(14,12,40,.82); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: var(--r-md); }
.lb-close { position: fixed; top: 14px; right: 18px; font-size: 34px; color: #fff; line-height: 1; }

/* ═══════ ≥ 760px ═══════ */
@media (min-width: 760px) {
    :root { --gutter: 32px; }
    .section { padding: 104px 0; }
    .nav-links { display: flex; }
    .nav-cta { display: inline-flex; }
    .nav-inner { height: 72px; }
    .hero { padding: 48px 0 96px; }
    .hero-grid {
        grid-template-columns: 1.15fr .85fr; column-gap: 48px;
        grid-template-areas: "proof media" "h1 media" "sub media" "actions media" "note media" "ig media";
        grid-template-rows: auto auto auto auto auto 1fr;
        align-items: start;
    }
    .hero-proof { grid-area: proof; justify-self: start; }
    .hero h1 { grid-area: h1; }
    .hero-sub { grid-area: sub; }
    .hero-actions { grid-area: actions; }
    .hero-note { grid-area: note; }
    .hero-ig { grid-area: ig; }
    .hero-media { grid-area: media; margin-top: 0; align-self: center; }
    .pain-list { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pain { padding: 22px 24px; }
    .hero-actions .btn { flex: 0 0 auto; }


    .paths-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .path { padding: 34px; }

    .mod-rail {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
        overflow: visible; max-width: var(--wrap); margin: 0 auto;
    }
    .mod { max-width: none; }
    .rail-hint { display: none; }

    .trial-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }

    .how .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
    .how .h2 { grid-column: 1 / -1; }
    .platform { margin-top: 32px; align-self: start; }

    .rv-videos { grid-template-columns: 1fr 1fr; align-items: start; max-width: 720px; }
    .shots { margin-top: 20px; }

    .pb-facts { grid-template-columns: 1fr 1fr; }
    .price-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
    .plan { padding: 36px 32px; }
    .plan-actions { grid-template-columns: 1fr 1fr; }

    .sticky-cta { display: none; }
    .footer { padding-bottom: 28px; }
    .final { padding-bottom: 88px; }
}


@media (prefers-reduced-motion: reduce) {
    .js .steps li h3, .js .steps li p { opacity: 1 !important; transform: none !important; }
    .js .steps li::after { background-size: 100% 100% !important; }
    .btn-wa.btn-lg::after { animation: none; display: none; }
    .js .hero h1 .w > span, .js .hero-sub, .js .hero-actions, .js .hero-note, .js .hero-ig, .js .hero-media,
    .js .h2.rv, .js .receipt .rc-list li, .js .rc-yours b { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .js .rc-total s::after { transform: scaleX(1) !important; }
    .js .pain, .js .pain .pain-a { opacity: 1 !important; transform: none !important; }
    .js .pain .pain-q::before, .js .pain .pain-a::before { transform: none !important; }
    .rail-arrow { animation: none; }
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
