/* ─────────────────────────────────────────────────────────────
   Lingavela — marketing site styles (built on tokens.css / Sunset v2)
   Light theme is primary; dark supported via .theme-dark on <html>.
   ──────────────────────────────────────────────────────────── */

:root {
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec-y: clamp(64px, 9vw, 120px);
  --shadow-soft: 0 2px 4px rgba(80,30,0,.05), 0 12px 32px rgba(80,30,0,.08);
}
.theme-dark { --shadow-soft: 0 2px 4px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.45); }

html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  /* iOS 26 Safari сэмплирует именно background-color у body для нижнего бара;
     градиент — это background-image, без явного цвета бар белый */
  background-color: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ── Type ── */
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -0.02em; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-2); line-height: 1.55; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.fine { font-size: .82rem; color: var(--text-3); line-height: 1.5; }
strong, b { font-weight: 700; color: var(--text); }
em { font-style: italic; }

/* ── Layout ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: var(--sec-y); position: relative; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

/* ── Buttons (extend kit .btn3d) ── */
.btn3d { font-size: 1.05rem; padding: 16px 28px; border-radius: var(--radius-md); }
.btn3d.lg { font-size: 1.18rem; padding: 19px 36px; }
.btn3d:hover { filter: brightness(1.04); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--accent); cursor: pointer;
  background: none; border: none; font-size: 1.02rem; padding: 8px 4px;
  font-family: var(--font-sans);
}
.btn-ghost:hover { gap: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.center .btn-row { justify-content: center; }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.center .stores { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 18px; border-radius: 14px;
  box-shadow: var(--shadow-pop); transition: transform .08s ease, box-shadow .08s ease;
}
.theme-dark .store-badge { --shadow-color: rgba(0,0,0,.5); }
.store-badge:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--shadow-color); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-top { font-size: .62rem; line-height: 1; opacity: .8; font-weight: 600; letter-spacing: .02em; }
.store-badge .sb-name { font-size: 1.08rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

/* ── Header ── */
/* iOS 26 Safari красит верхнюю полосу по фону sticky/fixed элемента у верха страницы.
   Полупрозрачный фон + backdrop-filter на самом хедере даёт белую полосу, поэтому
   визуал вынесен на абсолютный ::before — его Safari не сэмплирует. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand .logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a {
  font-weight: 600; font-size: .98rem; color: var(--text-2); white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Lang switcher + theme toggle */
.pill-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); font-weight: 700; font-size: .92rem;
  padding: 9px 13px; border-radius: 11px; cursor: pointer; font-family: var(--font-sans);
  transition: color .15s, border-color .15s;
}
.pill-btn:hover { color: var(--text); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }
.pill-btn svg { width: 17px; height: 17px; }
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; min-width: 168px;
  box-shadow: var(--shadow-soft); display: none; z-index: 60;
}
.lang-menu.open { display: block; }
.lang-menu a, .lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; font-family: var(--font-sans);
  color: var(--text-2); font-weight: 600; font-size: .95rem;
  padding: 9px 11px; border-radius: 9px; text-align: left; white-space: nowrap;
}
.lang-menu a:hover, .lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current="true"], .lang-menu button[aria-current="true"] { color: var(--accent); }
.lang-menu .lc { font-size: .72rem; font-weight: 700; color: var(--text-3); margin-left: auto; }

.menu-toggle { display: none; }

/* ── Hero ── */
/* Длинные языки: hero-заголовок на EN-размере занимает 4–5 строк вместо 3 и
   распихивает layout — слегка уменьшаем (ru/pt-BR длиннее всего, es/fr/de чуть короче). */
html[lang="ru"] .hero h1, html[lang="pt-BR"] .hero h1,
html[lang="ru"] .page-hero h1, html[lang="pt-BR"] .page-hero h1 { font-size: clamp(2.05rem, 4.9vw, 3.25rem); }
html[lang="es"] .hero h1, html[lang="fr"] .hero h1, html[lang="de"] .hero h1,
html[lang="es"] .page-hero h1, html[lang="fr"] .page-hero h1, html[lang="de"] .page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.55rem); }
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 14px; }
.hero .lede { margin-top: 22px; max-width: 34ch; }
.hero .btn-row { margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--text-3); font-size: .92rem; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero .stores { margin-top: 26px; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-glow {
  position: absolute; width: 115%; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 34%, transparent) 0%, transparent 62%);
  filter: blur(8px); z-index: 0; pointer-events: none;
}

/* ── Phone mockup ── */
.phone-mock {
  position: relative; z-index: 1;
  width: clamp(232px, 24vw, 290px); aspect-ratio: 720 / 1600;
  background: #0c0a09; border-radius: 40px; padding: 11px;
  box-shadow: 0 2px 0 2px #2a211c, 0 24px 60px rgba(60,20,0,.34), 0 8px 18px rgba(60,20,0,.2);
  rotate: var(--tilt, 0deg);
}
.theme-dark .phone-mock { box-shadow: 0 0 0 1px #3a2b22, 0 28px 70px rgba(0,0,0,.6); }
.phone-mock::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 7px; border-radius: 99px; background: #2a211c; z-index: 3;
}
.phone-mock .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #15100e; }
.phone-mock .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Floating chips around hero phone */
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 11px 15px; border-radius: 16px;
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: .95rem;
}
.float-chip .big { font-size: 1.15rem; font-weight: 800; }
.float-chip svg { width: 26px; height: 26px; }
.float-chip.tl { top: 12%; left: -6%; }
.float-chip.br { bottom: 16%; right: -7%; }
.float-chip.ml { bottom: 38%; left: -11%; }
@media (prefers-reduced-motion: no-preference) {
  .float-chip { animation: floaty 5s ease-in-out infinite; }
  .float-chip.br { animation-delay: -2.5s; }
  .float-chip.ml { animation-delay: -1.2s; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Mascot peeking near hero */
.hero-cat { position: absolute; z-index: 2; width: 150px; right: -6%; bottom: -4%; pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(60,20,0,.28)); }

/* ── Generic section header ── */
.sec-head { max-width: 62ch; }
.center.sec-head, .sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-top: 10px; }
.sec-head .lede { margin-top: 18px; }

/* ── Bullets ── */
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; font-size: 1.02rem; color: var(--text-2); }
.bullets li b { color: var(--text); }
.bullets .bi {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; margin-top: 1px;
  background: color-mix(in oklab, var(--accent) 13%, var(--surface));
  color: var(--accent);
}
.bullets .bi svg { width: 19px; height: 19px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; font-size: 1.05rem; }
.checks .ck {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--success); color: var(--success-ink);
  display: grid; place-items: center; margin-top: 1px;
}
.checks .ck svg { width: 15px; height: 15px; }

/* ── Two-col feature row ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { display: flex; justify-content: center; }

/* ── Cards ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card.pop { box-shadow: var(--shadow-soft); }
.tile-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: var(--shadow-pop); --shadow-color: rgba(80,30,0,.18);
}
.theme-dark .tile-icon { --shadow-color: rgba(0,0,0,.5); }
.tile-icon svg { width: 44px; height: 44px; }
/* refined web feature icon (monoline on soft tint) */
.feat-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.feat-ic svg { width: 28px; height: 28px; }
.feature-card .step-no { font-size: .8rem; font-weight: 800; color: var(--text-3); letter-spacing: .1em; }

/* contrast block (tap vs think) */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus .vcard { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.versus .vcard.bad { background: var(--surface-2); }
.versus .vcard.good { background: var(--surface); box-shadow: var(--shadow-soft); border-color: color-mix(in oklab, var(--accent) 30%, var(--border)); }
.vtag { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; }
.vtag.bad { background: color-mix(in oklab, var(--danger) 18%, var(--surface)); color: var(--danger); }
.vtag.good { background: color-mix(in oklab, var(--success) 20%, var(--surface)); color: var(--success); }
.vcard h3 { margin: 14px 0 10px; }
/* word tiles illustration */
.wtiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wtile { padding: 9px 14px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border); font-weight: 700; font-size: .95rem; color: var(--text-2); }
.wtile.ghost { opacity: .42; }
.wtile.tap { box-shadow: 0 0 0 2px var(--accent); color: var(--text); }
/* AI-checked sentence illustration */
.ai-write { margin-top: 16px; }
.ai-line { font-size: 1.18rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.ai-line .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-feedback { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; background: color-mix(in oklab, var(--success) 12%, var(--surface)); border: 1px solid color-mix(in oklab, var(--success) 30%, var(--border)); border-radius: 14px; padding: 12px 14px; }
.ai-feedback .av { width: 30px; height: 30px; border-radius: 50%; background: var(--success); color: var(--success-ink); display: grid; place-items: center; flex-shrink: 0; }
.ai-feedback .av svg { width: 16px; height: 16px; }
.ai-feedback p { font-size: .94rem; color: var(--text-2); }

/* ── Card grid (ways / features) ── */
.grid-cards { display: grid; gap: 18px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.feature-card h3 { letter-spacing: -.02em; }
.feature-card p { color: var(--text-2); font-size: 1rem; }

/* ── Forgetting curve ── */
.curve-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(18px,3vw,30px); box-shadow: var(--shadow-soft); }
.curve-card svg { width: 100%; height: auto; display: block; }
.curve-legend { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.curve-legend span { display: inline-flex; align-items: center; gap: 9px; }
.curve-legend .sw { width: 22px; height: 4px; border-radius: 9px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 26px; }
.step .num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.3rem;
  box-shadow: var(--shadow-pop); --shadow-color: rgba(80,30,0,.2); margin-bottom: 18px;
}
.theme-dark .step .num { --shadow-color: rgba(0,0,0,.5); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 1rem; }

/* ── Gamification stat chips ── */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.stat-chip { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-soft); }
.stat-chip svg { width: 30px; height: 30px; }
.stat-chip .n { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.stat-chip .l { font-size: .8rem; color: var(--text-3); font-weight: 600; }
.feat-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.feat-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-soft); font-weight: 700; font-size: 1rem; color: var(--text); }
.feat-pill svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ── Speak / chat vignette ── */
.chat-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-soft); width: 100%; max-width: 420px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.chat-head .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-2); flex-shrink: 0; border: 1px solid var(--border); }
.chat-head .nm { font-weight: 800; }
.chat-head .st { font-size: .82rem; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat-head .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.bubbles { display: grid; gap: 12px; }
.bubble { padding: 12px 16px; border-radius: 18px; max-width: 84%; font-size: 1rem; line-height: 1.45; }
.bubble.bot { background: var(--surface-2); border-bottom-left-radius: 5px; justify-self: start; }
.bubble.me { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; justify-self: end; }
.bubble.correction { background: color-mix(in oklab, var(--success) 12%, var(--surface)); border: 1px solid color-mix(in oklab, var(--success) 32%, var(--border)); justify-self: end; max-width: 88%; }
.bubble.correction .fix { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--success); margin-bottom: 5px; }
.bubble.correction .fix svg { width: 14px; height: 14px; }
.bubble.correction p { font-size: .95rem; color: var(--text); }
.reply-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; justify-content: flex-end; }
.reply-opt { padding: 9px 14px; border-radius: 13px; border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border)); color: var(--accent); font-weight: 700; font-size: .9rem; }
.reply-opt.dim { color: var(--text-3); border-color: var(--border); }

/* ── No-fear banner ── */
.banner { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in oklab, var(--accent) 24%, var(--border)); border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 56px); position: relative; overflow: hidden; }
.banner .banner-grid { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.banner h2 { max-width: 18ch; }
.banner p { color: var(--text-2); margin-top: 16px; max-width: 56ch; }
.banner-cat { width: clamp(150px, 18vw, 230px); filter: drop-shadow(0 16px 26px rgba(60,20,0,.3)); }

/* ── Grammar / CEFR ── */
.cefr { display: flex; flex-wrap: wrap; gap: 12px; }
.cefr .lvl { display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 16px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); flex: 1 1 0; min-width: 78px; }
.cefr .lvl .c { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.cefr .lvl .t { font-size: .78rem; color: var(--text-3); font-weight: 600; }
.cefr .arr { display: grid; place-items: center; color: var(--text-3); }

/* ── Languages cards ── */
.lang-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lang-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.lang-card .flag { font-size: 2.6rem; line-height: 1; }
.lang-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -.02em; box-shadow: var(--shadow-pop); --shadow-color: rgba(80,30,0,.16); }
.theme-dark .lang-badge { --shadow-color: rgba(0,0,0,.5); }
.lang-card.soon .lang-badge { background: var(--surface-3) !important; color: var(--text-3); box-shadow: none; }
.lang-card h3 { font-size: 1.4rem; }
.lang-card .lvl-badge { display: inline-flex; align-self: flex-start; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--accent-2); background: color-mix(in oklab, var(--accent-2) 16%, var(--surface)); padding: 5px 11px; border-radius: 99px; }
.lang-card p { color: var(--text-2); font-size: .97rem; flex: 1; }
.lang-card .soon { opacity: .62; }
.lang-card .soon .flag { filter: grayscale(.3); }

/* ── Offer ── */
.offer { background: var(--surface); border: 1px solid color-mix(in oklab, var(--accent) 26%, var(--border)); border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow-soft); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }

/* ── FAQ accordion ── */
.faq-q::-webkit-details-marker { display: none; }
.faq-q { list-style: none; }
.faq-item summary { list-style: none; }
.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-sans); color: var(--text); font-weight: 700; font-size: 1.12rem; padding: 20px 22px; letter-spacing: -.01em; }
.faq-q .pm { margin-left: auto; flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform .25s ease; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .pm::before { top: 11px; left: 4px; width: 16px; height: 3px; }
.faq-q .pm::after { top: 4px; left: 11px; width: 3px; height: 16px; transition: transform .25s ease; }
.faq-item[open] .faq-q .pm::after { transform: rotate(90deg); }
.faq-a { padding: 0 22px 22px; color: var(--text-2); font-size: 1.02rem; line-height: 1.6; max-width: 68ch; }
.faq-group-title { font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 26px 0 4px; }

/* ── Final CTA band ── */
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--accent-ink); }
.cta-band p { color: color-mix(in oklab, var(--accent-ink) 86%, var(--accent)); margin: 16px auto 0; max-width: 50ch; font-size: 1.15rem; }
.cta-band .btn-row { margin-top: 30px; justify-content: center; }
.cta-band .btn3d { background: var(--accent-ink); color: var(--accent); --shadow-color: rgba(120,40,0,.35); }
.cta-band .store-badge { background: #000; color: #fff; border-color: rgba(255,255,255,.22); --shadow-color: rgba(120,40,0,.3); }
.cta-band .glow2 { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%); top: -30%; right: -8%; pointer-events: none; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); padding-block: clamp(48px, 6vw, 72px) calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--text-3); font-size: .95rem; max-width: 30ch; }
.foot-col h4 { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-2); font-weight: 600; font-size: .97rem; padding: 6px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); }
.foot-bottom .stores { margin-left: auto; }
.foot-bottom .copy { color: var(--text-3); font-size: .9rem; }

/* ── Reveal on scroll ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede, .hero h1 { margin-inline: auto; }
  .hero .btn-row, .hero .trust-row, .hero .stores { justify-content: center; }
  .hero-art { order: -1; min-height: 0; margin-bottom: 8px; }
  .split, .offer-grid, .banner .banner-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .banner .banner-grid { text-align: center; justify-items: center; }
  .cols-3, .steps, .lang-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  /* перебиваем inline style="grid-template-columns:repeat(3,1fr)" на списках преимуществ */
  .bullets[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 720px) {
  .nav-links, .hero-cat { display: none; }
  .nav { gap: 12px; }
  .nav-right { gap: 8px; }
  .nav-right > .btn3d { display: none; } /* CTA остаётся в мобильном меню-шторке */
  .menu-toggle { display: inline-grid; }
  .versus, .grid-cards.cols-3, .cols-2, .steps, .lang-cards { grid-template-columns: 1fr; }
  /* перебиваем inline style="grid-template-columns:1fr 1fr" (ряд «Coming soon» на главной/languages) */
  .lang-cards[style*="grid-template-columns"],
  .bullets[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  body { font-size: 17px; }
  .float-chip.tl { left: 0; }
  .float-chip.br { right: 0; }
  .float-chip.ml { display: none; }
  .foot-bottom .stores { margin-left: 0; width: 100%; }
  /* карточки на мобильном: значок слева, заголовок справа от него, описание ниже на всю ширину */
  .feature-card, .support-card, .step, .lang-card {
    display: grid; grid-template-columns: auto 1fr;
    align-items: center; column-gap: 14px; row-gap: 10px;
  }
  .feature-card > *, .support-card > *, .step > *, .lang-card > * { grid-column: 1 / -1; }
  .feature-card .feat-ic, .feature-card .tile-icon, .support-card .feat-ic,
  .step .num, .lang-card .lang-badge, .lang-card .flag { grid-column: 1; margin: 0; }
  .feature-card .feat-ic + h3, .feature-card .tile-icon + h3, .support-card .feat-ic + h3,
  .step .num + h3, .lang-card .lang-badge + h3, .lang-card .flag + h3 { grid-column: 2; margin: 0; }
}

/* Mobile nav drawer */
.mobile-nav { display: none; position: fixed; inset: 72px 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px var(--gutter) 24px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
.mobile-nav .btn3d { margin-top: 18px; width: 100%; }

/* ─────────────────────────────────────────────────────────────
   Sub-page components
   ──────────────────────────────────────────────────────────── */

/* Compact page hero */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-glow { width: 90%; top: 30%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 12px; max-width: 18ch; margin-inline: auto; }
.page-hero .lede { margin-top: 20px; max-width: 62ch; margin-inline: auto; }
.page-hero .btn-row { margin-top: 30px; justify-content: center; }
.page-hero.tight { padding-bottom: clamp(28px,4vw,44px); }

/* alternating feature rows reuse .split; add vertical rhythm */
.feature-rows { display: grid; gap: clamp(56px, 8vw, 104px); }
.feature-rows .eyebrow + h2, .feature-rows h2 { margin-top: 10px; }
.feature-rows .split p.lede { margin-top: 16px; }
.feature-rows .bullets { margin-top: 22px; }
.feature-media-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); padding: clamp(22px,3vw,34px); width: 100%; }
.feature-media-card.tinted { background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 12%, var(--surface)), var(--surface)); }

/* Included / comparison table */
.itable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.itable th, .itable td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 1.02rem; }
.itable tr:last-child td { border-bottom: none; }
.itable th { font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.itable td:last-child, .itable th:last-child { text-align: right; width: 1%; white-space: nowrap; }
.itable .yes { color: var(--success); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; justify-content: flex-end; }
.itable .yes svg { width: 18px; height: 18px; }
.itable .no { color: var(--text-3); font-weight: 700; }
.itable td b { color: var(--text); }

/* Pricing highlight card */
.price-card { background: var(--surface); border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--border)); border-radius: var(--radius-xl); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-soft); text-align: center; max-width: 520px; margin-inline: auto; }
.price-card .tag { display: inline-flex; background: color-mix(in oklab, var(--accent) 16%, var(--surface)); color: var(--accent); font-weight: 800; padding: 7px 16px; border-radius: 99px; font-size: .9rem; }
.price-card .big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 6px; }
.price-card .checks { text-align: left; max-width: 320px; margin: 24px auto 0; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.support-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.support-card .feat-ic { margin-bottom: 4px; }
.support-card h3 { font-size: 1.15rem; }
.support-card p, .support-card a { color: var(--text-2); font-size: 1rem; }
.support-card a.mail { color: var(--accent); font-weight: 700; }

/* Legal / prose */
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.prose .updated { color: var(--text-3); font-size: .92rem; margin-top: 12px; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 4px; }
.prose h3 { font-size: 1.12rem; margin-top: 26px; }
.prose p { color: var(--text-2); margin-top: 14px; line-height: 1.7; }
.prose ul { color: var(--text-2); margin-top: 14px; padding-left: 22px; line-height: 1.7; }
.prose li { margin-top: 7px; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

@media (max-width: 980px) { .support-grid { grid-template-columns: 1fr; } }

/* Start-free call-to-action (призыв, not a button) + curved arrow */
.start-cta { display: flex; align-items: center; gap: 12px; }
.start-cta-text { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; color: var(--accent); line-height: 1.05; }
.curved-arrow { width: 26px; height: 60px; color: var(--accent); display: block; margin: 8px 0 6px 36px; }
.cta-arrow { width: clamp(28px, 3.4vw, 38px); height: clamp(28px, 3.4vw, 38px); color: var(--accent); flex-shrink: 0; }
.offer .stores { margin-top: 2px; }


/* How-it-works day plan */
.day-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.day-step { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-soft); }
.day-step .ds-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.day-step .ds-ic svg { width: 24px; height: 24px; }
.day-step .ds-body { display: flex; flex-direction: column; }
.day-step .ds-body b { font-weight: 800; }
.day-step .ds-d { font-size: .9rem; color: var(--text-2); }
.day-step .ds-min { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--text-3); background: var(--surface-2); padding: 5px 11px; border-radius: 99px; white-space: nowrap; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(56px,10vw,120px); }
.notfound .nf-cat { width: clamp(150px,20vw,210px); margin: 0 auto 8px; filter: drop-shadow(0 16px 26px rgba(60,20,0,.3)); }
.notfound .nf-code { font-size: clamp(3.5rem,11vw,6rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: .9; }
.notfound h1 { margin-top: 8px; }
.notfound .lede { margin: 16px auto 0; max-width: 44ch; }
.notfound .btn-row { flex-wrap: wrap; }

/* coming-soon toast (smart-cta) */
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(16px);background:var(--surface-3);color:var(--text);padding:13px 22px;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.35);font-weight:600;font-size:15px;opacity:0;transition:opacity .3s,transform .3s;z-index:999;max-width:90vw;text-align:center;pointer-events:none}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
