/* Wilkin · сайт в палитре онбординг-теста (src/features/quiz/palette.ts: QUIZ_LIGHT / QUIZ_DARK) */
:root {
  --bg: #F9F8F3; --bg-rgb: 249,248,243; --bg-top: #FCFBF7;
  --title: #1E1F1A; --sub: #4A4D44; --sec: #7C8A83;
  --card: #FDFCF8; --card-ring: #E7E6DE; --card-shadow: rgba(60,50,20,0.07);
  --sel-bg: #E4F1E0; --sel-text: #2A8A55;
  --cta: #43C181; --cta-text: #FFFFFF; --cta-shadow: rgba(67,193,129,0.28);
  --tint: #F2F3EC; --tint-ring: #E2E5DC; --grouped: #EEF3F0;
  --chip-bg: rgba(248,249,242,0.95); --chip-lab: #727876; --chip-val: #1C1D19; --chip-ring: rgba(255,255,255,0.55);
  --pill-bg: rgba(255,255,255,0.90); --link: #8C8F85; --divider: rgba(30,31,26,0.10);
  --corner: #FFFFFF; --store-ring: #000; --glow: rgba(67,193,129,0.32); --mascot-shadow: rgba(40,60,45,0.22); --on-bg: rgba(67,193,129,0.08); --on-ring: rgba(42,138,85,0.28); --ctl-bg: #E3E6DD; --ctl-ring: rgba(30,31,26,0.10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101314; --bg-rgb: 16,19,20; --bg-top: #101314;
    --title: #FCFEFF; --sub: #B9C3C4; --sec: #929E9F;
    --card: #1B1F21; --card-ring: #313537; --card-shadow: rgba(0,0,0,0.25);
    --sel-bg: #20372F; --sel-text: #5CCC9D;
    --cta: #42BF80; --cta-text: #0E1512; --cta-shadow: rgba(66,191,128,0.22);
    --tint: #171B1D; --tint-ring: #26292B; --grouped: #2E3336;
    --chip-bg: rgba(28,32,34,0.92); --chip-lab: #B9C3C4; --chip-val: #FCFEFF; --chip-ring: rgba(255,255,255,0.08);
    --pill-bg: rgba(28,32,34,0.92); --link: #929E9F; --divider: rgba(252,254,255,0.10);
    --corner: #FCFEFF; --store-ring: rgba(255,255,255,0.28); --glow: rgba(92,204,157,0.26); --mascot-shadow: rgba(0,0,0,0.55); --on-bg: rgba(92,204,157,0.10); --on-ring: rgba(92,204,157,0.35); --ctl-bg: #2A3033; --ctl-ring: rgba(252,254,255,0.12);
  }
}
:root[data-theme="dark"] {
    --bg: #101314; --bg-rgb: 16,19,20; --bg-top: #101314;
    --title: #FCFEFF; --sub: #B9C3C4; --sec: #929E9F;
    --card: #1B1F21; --card-ring: #313537; --card-shadow: rgba(0,0,0,0.25);
    --sel-bg: #20372F; --sel-text: #5CCC9D;
    --cta: #42BF80; --cta-text: #0E1512; --cta-shadow: rgba(66,191,128,0.22);
    --tint: #171B1D; --tint-ring: #26292B; --grouped: #2E3336;
    --chip-bg: rgba(28,32,34,0.92); --chip-lab: #B9C3C4; --chip-val: #FCFEFF; --chip-ring: rgba(255,255,255,0.08);
    --pill-bg: rgba(28,32,34,0.92); --link: #929E9F; --divider: rgba(252,254,255,0.10);
    --corner: #FCFEFF; --store-ring: rgba(255,255,255,0.28); --glow: rgba(92,204,157,0.26); --mascot-shadow: rgba(0,0,0,0.55); --on-bg: rgba(92,204,157,0.10); --on-ring: rgba(92,204,157,0.35); --ctl-bg: #2A3033; --ctl-ring: rgba(252,254,255,0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--title); transition: background-color .25s ease, color .25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -0.2px;
}
a { color: inherit; }
[data-lang="ru"] [lang="en"], [data-lang="en"] [lang="ru"] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
/* заголовки — шрифтом логотипа (Montserrat Alternates), чтобы сайт был в одном характере с брендом */
.hero3 h1, .shead h2, .feat h2, .doc h1, .band h2 { font-family: "Montserrat Alternates", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; }

/* шапка */
.top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.brand span { font-family: "Montserrat Alternates", -apple-system, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.2px; color: var(--title); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 16px; font-weight: 500; color: var(--sub); text-decoration: none; }
.nav a:hover { color: var(--title); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 21px; border: 0; cursor: pointer;
  background: var(--pill-bg); color: var(--title); font: 600 17px/1 inherit; font-family: inherit;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.pill .flag { font-size: 18px; }
@media (max-width: 720px) { .nav a { display: none; } }

/* секции */
.section { padding-top: 88px; padding-bottom: 96px; border-top: 1px solid var(--divider); } /* только вертикаль: боковые отступы даёт .wrap */
#features { padding-top: 72px; margin-top: 24px; }
@media (max-width: 760px) { .section { padding-top: 52px; padding-bottom: 56px; } #features { padding-top: 40px; margin-top: 0; } }
/* заголовок секции: крупно слева, описание справа в той же строке (редакционная подача) */
.shead { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.section .shead h2 { margin: 0; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; text-wrap: balance; }
.shead p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--sub); max-width: 52ch; }
.shead a { color: var(--sel-text); }
@media (max-width: 760px) { .shead { grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; } .section .shead h2 { font-size: 30px; letter-spacing: -0.8px; } .shead p { display: none; } #faq .shead p { display: block; font-size: 16px; } .feat h2 { font-size: 28px; } }
.section h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.5px; text-wrap: balance; }
.section .eyebrow { margin-bottom: 12px; }
.eyebrow.center { text-align: center; }
.section .lead { margin: 0 0 28px; font-size: 18px; line-height: 1.45; color: var(--sub); max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--card-ring); border-radius: 24px; padding: 24px; box-shadow: 0 2px 3px var(--card-shadow); }
.card .ic { width: 52px; height: 52px; border-radius: 17px; background: var(--sel-bg); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.4px; }
.card p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--sub); }
.card .step { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--sel-bg); color: var(--sel-text); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
/* «Почему Вилкин»: Вилкин говорит + список с 3D-иконками приложения */
.man { margin-top: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.say { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: end; }
/* персонаж: мягкое зелёное свечение за спиной + лёгкое покачивание, чтобы притягивал взгляд */
.say .ava { position: relative; width: 150px; height: 190px; display: grid; place-items: end center; }
.say .glow { display: none; }
.say img { position: relative; width: 136px; height: auto; display: block; filter: drop-shadow(0 10px 14px var(--mascot-shadow)); animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(-2.5deg); } }
@media (prefers-reduced-motion: reduce) { .say img { animation: none; } }
.bubble { position: relative; background: var(--card); border: 1px solid var(--card-ring); border-radius: 26px 26px 26px 6px; padding: 24px 26px; box-shadow: 0 10px 30px var(--card-shadow), 0 2px 4px var(--card-shadow); }
.bubble::before { content: ""; position: absolute; left: -10px; bottom: 18px; width: 20px; height: 20px; background: var(--card); border-left: 1px solid var(--card-ring); border-bottom: 1px solid var(--card-ring); transform: rotate(45deg); border-radius: 0 0 0 5px; }
.bubble p { margin: 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.25; font-weight: 600; letter-spacing: -0.6px; text-wrap: balance; }
.bubble p em { font-style: normal; color: var(--sel-text); }
.bubble .sig { margin-top: 14px; color: var(--sec); font-size: 15px; font-weight: 500; }
.man ul { list-style: none; margin: 0; padding: 0; }
.man li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--divider); align-items: center; }
.man li:first-child { border-top: 1px solid var(--divider); }
.man li h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }
.man li p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--sub); }
.i3d { flex: none; width: 64px; height: 64px; display: grid; place-items: center; }
.i3d img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 14px var(--card-shadow)); }
@media (max-width: 860px) { .man { grid-template-columns: 1fr; gap: 28px; } .say { grid-template-columns: 84px 1fr; gap: 12px; } .say .ava { width: 84px; height: 110px; } .say img { width: 78px; } .bubble { padding: 16px 16px; border-radius: 20px 20px 20px 6px; } .bubble p { font-size: 18px; } .bubble .sig { font-size: 13px; margin-top: 10px; } .man li { gap: 14px; padding: 16px 0; } .i3d, .i3d img { width: 52px; height: 52px; } .man li h3 { font-size: 19px; } .man li p { font-size: 15px; } .bubble { padding: 18px 20px; } }
/* блок одной фичи: текст слева, телефон справа с наклоном */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.feat h2 { text-align: left; max-width: 16ch; font-size: clamp(30px, 3.2vw, 45px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.08; }
.feat .lead { text-align: left; margin: 14px 0 0; max-width: 48ch; }
.eyebrow.green { color: var(--sel-text); }
.feat-art { position: relative; height: 620px; }
.feat-art .phone { left: 50%; margin-left: -135px; top: 20px; transform: rotate(5deg); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; gap: 24px; text-align: center; } .feat h2, .feat .lead { text-align: center; margin-left: auto; margin-right: auto; } .feat-art { height: 520px; } .feat-art .phone { margin-left: -110px; } }
@media (max-width: 640px) { .feat-art { height: 420px; } .feat-art .phone { margin-left: -90px; } }
/* переключатель темы */
/* тумблер темы (как iOS-переключатель) и пилюля языка без флага */
.tog { position: relative; width: 58px; height: 32px; border-radius: 16px; border: 0; padding: 0; background: var(--ctl-bg); box-shadow: inset 0 0 0 1px var(--ctl-ring); cursor: pointer; transition: background .25s ease; }
.tog.on { background: var(--cta); box-shadow: none; }
.tog .ico { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #FFF; box-shadow: 0 2px 6px rgba(0,0,0,0.2); display: grid; place-items: center; font-style: normal; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.tog.on .ico { transform: translateX(26px); }
.tog svg { width: 14px; height: 14px; fill: none; stroke: #1E1F1A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lang { height: 32px; padding: 0 14px; border-radius: 16px; border: 0; background: var(--ctl-bg); box-shadow: inset 0 0 0 1px var(--ctl-ring); color: var(--title); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; letter-spacing: .3px; }
.lang:hover { background: var(--sel-bg); }
/* плавная смена языка */
main, footer, .brand span, .nav a { transition: opacity .22s ease; }
[data-switching] main, [data-switching] footer, [data-switching] .brand span, [data-switching] .nav a { opacity: 0; }

.rows { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--card-ring); border-radius: 22px; padding: 16px 18px; }
.row .ic { width: 48px; height: 48px; border-radius: 15px; background: var(--tint); border: 1px solid var(--tint-ring); display: grid; place-items: center; flex: none; }
.row .ic svg { width: 26px; height: 26px; }
.row b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
.row span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--sub); }
@media (min-width: 861px) { .rows { grid-template-columns: 1fr 1fr; } }

.band { background: var(--tint); border: 1px solid var(--tint-ring); border-radius: 28px; padding: 36px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band h2 { margin: 0 0 6px; font-weight: 800; }
.band p { margin: 0; color: var(--sub); font-size: 17px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; text-align: center; } .band .cta { width: 100%; } }

/* подвал */
footer { border-top: 1px solid var(--divider); padding: 28px 0 44px; margin-top: 24px; }
footer .about { margin-bottom: 18px; }
footer .about p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sec); max-width: 90ch; }
footer .about b { color: var(--sub); font-weight: 600; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--sec); }
footer a { color: var(--sec); text-decoration: none; }
footer a:hover { color: var(--title); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* документы */
.doc { max-width: 760px; margin: 0 auto; padding: 16px 20px 48px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -1px; margin: 12px 0 6px; }
.doc .meta { color: var(--sec); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -0.4px; }
.doc p, .doc li { font-size: 17px; line-height: 1.55; color: var(--sub); }
.doc ul { padding-left: 22px; }
.doc .note { background: var(--sel-bg); color: var(--sel-text); border-radius: 16px; padding: 12px 16px; font-size: 15px; }
.doc .card { margin-top: 24px; }

/* ---------- герой: телефоны как у Cal AI, в нашей палитре ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 280px; height: 62px; padding: 0 28px;
  border-radius: 31px; background: var(--cta); color: var(--cta-text); font-size: 19px; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 14px var(--cta-shadow); transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 20px var(--cta-shadow); }
.cta:active { transform: scale(.97); }
.cta svg { width: 22px; height: 22px; flex: none; }
.link { font-size: 17px; font-weight: 500; color: var(--sel-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px; border-radius: 12px; background: #000; color: #FFF; border: 1px solid var(--store-ring); text-decoration: none; }
.store span, .store b, .store small { color: #FFF; }
.store svg { width: 22px; height: 22px; fill: #FFF; } /* в шапке .nav a перекрашивал currentColor в серый */
.nav a.store { color: #FFF; }
.store span { display: flex; flex-direction: column; line-height: 1; }
.store small { font-size: 10px; font-weight: 500; opacity: .85; }
.store b { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.store.big { height: 60px; padding: 0 22px 0 18px; border-radius: 16px; gap: 10px; }
.store.big svg { width: 30px; height: 30px; }
.store.big small { font-size: 12px; }
.store.big b { font-size: 22px; }
.store:hover { opacity: .9; }
.band .store.big { flex: none; }
@media (max-width: 980px) { .nav .store { display: none; } }

/* надзаголовок — как section label в приложении: капс, разрядка, вторичный цвет */
.eyebrow { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--sec); }
/* герой: текст по центру, три телефона в ряд, персонаж выглядывает из-за среднего */
.hero3 { padding: 36px 20px 0; text-align: center; max-width: 1400px; overflow: hidden; }
.hero3 h1 { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.06; font-weight: 800; letter-spacing: -1.6px; }
.hero3 h1 .l { display: block; }
@media (min-width: 721px) { .hero3 h1 .l { white-space: nowrap; } }
.hero3 .sub { margin: 0 auto 28px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--sub); max-width: 46ch; }
.hero3-art { position: relative; height: 600px; max-width: 1300px; margin: 44px auto 0;
  /* растворение снизу и по краям: ни один телефон не режется жёстко */
  -webkit-mask-image: linear-gradient(#000 45%, rgba(0,0,0,0.55) 72%, transparent 97%), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(#000 45%, rgba(0,0,0,0.55) 72%, transparent 97%), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 1340px) { .hero3-art .p0, .hero3-art .p4 { display: none; } }
.hero3-art .phone { top: 70px; }
.hero3-art .p1 { left: 50%; margin-left: -405px; transform: rotate(-5deg); z-index: 1; }
.hero3-art .p2 { left: 50%; margin-left: -135px; top: 30px; z-index: 3; }
.hero3-art .p3 { left: 50%; margin-left: 135px; transform: rotate(5deg); z-index: 1; }
/* крайние телефоны: меньше, дальше, слегка в тени — заполняют края, не спорят с центром */
.hero3-art .p0, .hero3-art .p4 { width: 226px; top: 150px; z-index: 0; opacity: .9; }
.hero3-art .p0 { left: 50%; margin-left: -640px; transform: rotate(-10deg); }
.hero3-art .p4 { left: 50%; margin-left: 414px; transform: rotate(10deg); }
.phone { position: absolute; width: 270px; padding: 10px; border-radius: 44px; background: #15171A; box-shadow: 0 30px 60px rgba(20,30,20,0.28), inset 0 0 0 2px #3A3D40; }
.phone::before { content: ""; position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #15171A; z-index: 2; }
.phone img { display: block; width: 100%; aspect-ratio: 430 / 932; height: auto; object-fit: cover; object-position: top; border-radius: 34px; background: #15171A; }
.float { display: none; position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 14px; border-radius: 16px; background: var(--chip-bg); box-shadow: 0 8px 22px rgba(0,0,0,0.12), inset 0 0 0 1px var(--chip-ring); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: floatY 5s ease-in-out infinite; }
.float b { font-size: 20px; font-weight: 700; color: var(--chip-val); letter-spacing: -0.5px; }
.float span { font-size: 13px; font-weight: 500; color: var(--chip-lab); }
.float.f1 { right: 0; top: 54%; flex-direction: row; align-items: baseline; gap: 4px; }
.float.f2 { left: 30%; top: 2%; animation-delay: .8s; }
.float.f3 { left: 0; bottom: 6%; animation-delay: 1.6s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 960px) {
  .hero3-art { height: 500px; }
  .phone { width: 220px; }
  .hero3-art .p1 { margin-left: -330px; } .hero3-art .p2 { margin-left: -110px; } .hero3-art .p3 { margin-left: 110px; }
  .hero3-art .p0, .hero3-art .p4 { display: none; }
}
@media (max-width: 640px) {
  .hero3 { padding-top: 16px; }
  .hero3 h1 { font-size: 27px; letter-spacing: -0.8px; line-height: 1.1; }
  .hero3 h1 .l { white-space: nowrap; }
  .hero3 .sub { display: none; } /* на телефоне подзаголовок героя лишний: заголовок и кнопка */
  .hero3 h1 { margin-bottom: 22px; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .hero3-art { height: 420px; margin-top: 32px; }
  .phone { width: 180px; padding: 7px; border-radius: 34px; }
  .phone img { border-radius: 27px; }
  .phone::before { width: 64px; height: 18px; top: 12px; }
  .hero3-art .phone { top: 50px; }
  .hero3-art .p1 { margin-left: -250px; } .hero3-art .p2 { margin-left: -90px; top: 20px; } .hero3-art .p3 { margin-left: 70px; }
}

/* ---------- возможности: два телефона + список карточек ---------- */
.center { text-align: center; }
h2.center + .lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-top: 0; }
.phones2 { position: relative; height: 640px; }
.phones2 .phone { width: 260px; }
.phones2 .p3 { left: 4%; top: 20px; z-index: 2; }
.phones2 .p4 { right: 4%; top: 90px; z-index: 1; transform: rotate(4deg); }
.flist { display: grid; gap: 10px; }
/* карточки «Что внутри» как истории: карточкой выглядит только активная, под ней бежит зелёная полоска до переключения */
.fcard { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--card-ring); border-radius: 20px; padding: 18px 22px 22px; transition: box-shadow .2s ease, border-color .2s ease; }
.fcard .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--card-ring); opacity: 0; transition: opacity .2s; }
.fcard .bar i { display: block; height: 100%; width: 0; background: var(--cta); }
.fcard.on .bar { opacity: 1; }
.fcard.on .bar i { animation: storyFill 5s linear forwards; }
.flist.manual .fcard.on .bar i { animation: none; width: 100%; }
@keyframes storyFill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fcard.on .bar i { animation: none; width: 100%; } }
.fcard.on { border-color: transparent; box-shadow: 0 10px 28px var(--card-shadow), 0 2px 4px var(--card-shadow); }
.fcard h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.4px; }
.fcard p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--sub); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .phones2 { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phones2 .phone { width: 220px; }
}
@media (max-width: 480px) { .phones2 { height: 430px; } .phones2 .phone { width: 180px; padding: 7px; border-radius: 34px; } .phones2 .phone img { border-radius: 27px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 1120px; margin: 0; display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--card-ring); border-radius: 22px; padding: 0 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; border-right: 2px solid var(--sec); border-bottom: 2px solid var(--sec); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-body { overflow: hidden; height: 0; transition: height .28s ease; }
.faq details[open] .faq-body { height: auto; }
.faq p { margin: 0 0 26px; font-size: 18px; line-height: 1.5; color: var(--sub); max-width: 70ch; }
.faq a { color: var(--sel-text); }

/* ---------- переключатель экранов (как у Cal AI) ---------- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stage .phone { position: relative; width: 300px; }
.stage .phone img { transition: opacity .25s ease; }
.stage .phone img.fading { opacity: 0; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--card-ring); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.dots button.on { background: var(--title); transform: scale(1.15); }
.fcard { cursor: pointer; }
.fcard:hover { border-color: var(--on-ring); }
.split { align-items: start; }
.phones2 { display: none; }
@media (max-width: 960px) { .stage .phone { width: 250px; } }

/* ---------- отзывы ---------- */
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.rcard { width: calc((100% - 36px) / 3); }
[data-lang="en"] .rcard.ru-only { display: none; } /* в английской версии пять отзывов: 3 + 2 по центру */
.rcard { background: var(--card); border: 1px solid var(--card-ring); border-radius: 26px; padding: 26px 26px 28px; box-shadow: 0 2px 3px var(--card-shadow); }
.rhead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ava { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.rhead b { font-size: 21px; font-weight: 600; letter-spacing: -0.4px; }
.rcard p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--sub); }
@media (max-width: 960px) { .rcard { width: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .rcard { width: 100%; } }

@media (max-width: 640px) { .faq details { padding: 0 20px; border-radius: 18px; } .faq summary { padding: 18px 0; font-size: 18px; } .faq p { font-size: 16px; } }
