/* ════════════════════════════════════════════════════════════════════
   ReklamAI — Landing (Главная). WARM-LIGHT marketing theme.
   Deliberately a SEPARATE theme from the dark studio shell (tokens.css):
   the marketing page must feel light, safe, "Russian-friendly tool".
   Ported from the Pencil "Studio Stage" mockup. One orange action / section.
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* warm neutrals */
  --bg: #FBFAF7;
  --surface: #F4F2ED;
  --surface-2: #EAE7E0;
  --deep: #F0EDE6;
  --border: #DCD8D0;
  --border-strong: #C5C0B6;
  /* ink */
  --ink: #28241E;
  --ink-2: #403C35;
  --ink-3: #615C53;
  --ink-4: #8E887D;
  /* accent */
  --accent: #F1581E;
  --accent-press: #B83E12;
  --accent-soft: #FCEFE7;
  --accent-mid: #F7CDB4;
  --cta-from: #F8743E;
  --cta-to: #E04E18;
  --cta-shadow: rgba(241, 88, 30, .32);
  --inner-hi: rgba(255, 217, 196, .65);
  /* status */
  --success: #2F9D5B;
  --warning: #C98A12;
  --warning-soft: #FBEFD6;
  /* depth */
  --sh-soft: 0 1px 2px rgba(40, 36, 30, .08);
  --sh-card: 0 18px 44px -24px rgba(40, 36, 30, .22);
  --sh-cta: 0 16px 34px -14px var(--cta-shadow);
  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-cta: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--accent-press); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.overline {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4);
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { left: 16px; }

h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; line-height: 1.1; font-weight: 700; }
.h2 { font-size: clamp(28px, 2vw + 18px, 40px); }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-sub { font-size: 16px; color: var(--ink-3); max-width: 560px; }
.accent { color: var(--accent); }

/* ── buttons / chips ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; cursor: pointer; border: none;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-cta {
  height: 54px; padding: 0 30px; border-radius: var(--r-cta); color: #fff; font-size: 16px;
  background: linear-gradient(180deg, var(--cta-from), var(--accent) 55%, var(--cta-to));
  box-shadow: inset 0 1px 0 var(--inner-hi), var(--sh-cta);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--inner-hi), 0 20px 40px -14px var(--cta-shadow); }
.btn-cta:active { transform: translateY(0); }
.btn-cta.sm { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn-cta.lg { height: 58px; padding: 0 36px; font-size: 17px; }
.btn-ghost {
  height: 44px; padding: 0 18px; border-radius: 999px; color: var(--ink-3);
  background: transparent; font-size: 14.5px; font-weight: 500;
}
.btn-ghost:hover { color: var(--ink); }
.btn-outline {
  height: 46px; padding: 0 18px; border-radius: var(--r-sm); color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: 14.5px;
}
.btn-outline:hover { border-color: var(--border-strong); }
.btn-link { color: var(--ink-3); font-weight: 500; font-size: 15px; }
.btn-link:hover { color: var(--accent); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.dot.ok { background: var(--success); }
.ico { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── brand mark (stack of cards + dot) ───────────────────────────── */
.mark { position: relative; width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(180deg, var(--cta-from), var(--accent) 55%, var(--cta-to)); }
.mark::before, .mark::after { content: ""; position: absolute; border-radius: 3px; }
.mark::before { width: 11px; height: 14px; left: 7px; top: 5px; background: rgba(255, 255, 255, .48); }
.mark::after { width: 11px; height: 14px; left: 12px; top: 8px; background: #fff; }
.mark i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); left: 15px; top: 13px; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 17px; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; height: 64px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-3); position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-act { display: flex; align-items: center; gap: 14px; }

/* ── section rhythm ──────────────────────────────────────────────── */
section { padding-block: 96px; }
.s-surface { background: var(--surface); }
.s-deep { background: var(--deep); }

/* Moat / differentiators grid */
.moat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.moat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.moat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); border-color: var(--border-strong); }
.moat-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
}
.moat-ic .ico { width: 22px; height: 22px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.moat-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.moat-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }
@media (max-width: 760px) { .moat-grid { grid-template-columns: 1fr; } }

/* FAQ page (native <details> accordion) */
.faq-head { text-align: center; max-width: 720px; margin: 0 auto; }
.faq-list { max-width: 760px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 20px; transition: border-color .2s var(--ease), background .2s var(--ease);
}
details.faq-item[open] { background: #fff; border-color: var(--accent); }
details.faq-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 18px 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-4); line-height: 1; }
details.faq-item[open] > summary::after { content: "–"; color: var(--accent); }
details.faq-item p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.faq-cta {
  max-width: 760px; margin: 28px auto 0; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 16px; padding: 24px;
}
.faq-cta h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq-cta p { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }

/* Legal / doc pages */
.legal { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; padding: 56px 0 80px; }
.legal-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; }
.legal-aside h1 { font-size: 34px; font-weight: 700; letter-spacing: -.8px; color: var(--ink); margin: 6px 0 4px; line-height: 1.1; }
.legal-upd { font-family: var(--mono); font-size: 12px; color: var(--ink-4); }
.legal-toc { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.legal-toc a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); border-left: 2px solid transparent; transition: background .15s var(--ease), color .15s var(--ease); }
.legal-toc a:hover { color: var(--ink); background: var(--surface); border-left-color: var(--accent); }
.legal-art { display: flex; flex-direction: column; gap: 32px; max-width: 680px; }
.legal-sec .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); }
.legal-sec h2 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); margin: 6px 0 8px; }
.legal-sec p { font-size: 16px; line-height: 1.65; color: var(--ink-3); margin: 0; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 28px; } .legal-aside { position: static; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; padding: 8px 0 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form .fld label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: 14px; color: var(--ink-2); background: #fff; box-sizing: border-box; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(241, 88, 30, .14); }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.contact-card h3 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; }
.contact-card p { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.s-strip { padding-block: 0; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero { padding-top: 72px; padding-bottom: 84px; }
.hero h1 { font-size: clamp(34px, 3.2vw + 16px, 50px); max-width: 12ch; }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-3); max-width: 30em; margin-top: 20px; }
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero-risk { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-4); margin-top: 16px; }
.hero-visual {
  position: relative; aspect-ratio: 600 / 560; border-radius: 24px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: 0 30px 70px -30px rgba(40, 36, 30, .2);
  padding: 20px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
}
.hv-card { border-radius: 14px; overflow: hidden; position: relative; background: var(--surface-2); }
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-card .rl { position: absolute; left: 10px; bottom: 10px; }
.hv-info { background: var(--deep); display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 18px; }
.hv-info .ut { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.rl-chip { padding: 3px 8px; border-radius: 999px; background: rgba(251, 250, 247, .9); font-family: var(--mono); font-size: 9px; font-weight: 600; color: var(--ink-3); }
.hv-chip { position: absolute; z-index: 3; }
.hv-chip.tl { left: 20px; top: 20px; } .hv-chip.tr { right: 20px; top: 20px; }
.hv-chip.bot { left: 50%; transform: translateX(-50%); bottom: 18px; }

/* ── trust strip ─────────────────────────────────────────────────── */
.trust { height: 92px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-mk { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-mk b { font-size: 16px; font-weight: 600; color: var(--ink-3); opacity: .8; }
.trust-num { display: flex; align-items: center; gap: 14px; }
.trust-num .big { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--ink); }

/* ── how it works ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.step .num { font-family: var(--mono); font-size: 38px; font-weight: 600; color: var(--accent); }
.step .tile { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); font-size: 22px; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { font-size: 14px; color: var(--ink-3); margin-top: 8px; }

/* ── features bento ──────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.ft-big { position: relative; border-radius: 18px; overflow: hidden; min-height: 392px; display: flex; align-items: flex-end; padding: 20px; }
.ft-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ft-cap { position: relative; background: rgba(251, 250, 247, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 12px; padding: 12px 14px; }
.ft-cap h3 { font-size: 19px; } .ft-cap p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.ft-stack { display: flex; flex-direction: column; gap: 18px; }
.ft-row { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; flex: 1; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ft-row:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.ft-row .th { width: 86px; height: 86px; border-radius: 10px; object-fit: cover; flex: none; }
.ft-row .th.info { background: var(--deep); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px; }
.ft-row .th.info span { font-family: var(--mono); font-size: 9px; font-weight: 600; color: var(--success); }
.ft-row .th.info span:first-child { color: var(--ink-4); }
.ft-row h3 { font-size: 18px; } .ft-row p { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }

/* ── results bento ───────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.tab { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.rcard { position: relative; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 12px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(241, 88, 30, .28); }
.rcard.info { background: var(--deep); flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px; }
.rcard.info .ut { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* ── ROI ─────────────────────────────────────────────────────────── */
.ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1040px; margin: 40px auto 0; }
.ledger { border-radius: 20px; padding: 28px; }
.ledger.lose { background: var(--surface-2); border: 1px solid var(--border); }
.ledger.win { background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 24px 60px -24px var(--cta-shadow); }
.ledger h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.ledger.lose h3 { color: var(--ink-3); font-weight: 600; }
.ledger .row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--border); font-size: 15px; }
.ledger .row:first-of-type { border-top: none; }
.ledger .row .l { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.ledger .row .v { font-weight: 500; }
.ledger.win .row .v { color: var(--ink); }
.ledger .big { font-family: var(--mono); font-weight: 600; margin-top: 12px; }
.ledger.lose .big { font-size: 32px; color: var(--ink-4); text-decoration: line-through; }
.ledger.win .big { font-size: 40px; color: var(--accent); }
.fol { display: flex; justify-content: center; margin-top: 28px; }
.fol .chip { background: var(--bg); }
.roi-cta { text-align: center; margin-top: 28px; }

/* ── testimonials ────────────────────────────────────────────────── */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1180px; margin: 40px auto 0; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.tbadge { align-self: flex-start; background: var(--accent-soft); color: var(--accent-press); padding: 5px 11px; border-radius: 999px; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.tcard q { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.tfoot { display: flex; align-items: center; gap: 10px; }
.tav { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 600; color: var(--ink-3); }
.tfoot .nm { font-size: 14px; font-weight: 600; color: var(--ink); }
.tfoot .ni { font-size: 12.5px; color: var(--ink-4); }

/* ── pricing ─────────────────────────────────────────────────────── */
.pcards { display: flex; gap: 32px; justify-content: center; align-items: stretch; margin-top: 30px; flex-wrap: wrap; }
.pcard { width: 360px; max-width: 100%; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.pcard.start { background: var(--surface); border: 1px solid var(--border); }
.pcard.pro { background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 24px 60px -24px var(--cta-shadow); }
.pcard .pname { font-size: 16px; font-weight: 600; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.pcard.pro .pname { color: var(--ink); font-weight: 700; }
.ribbon { background: var(--accent-soft); color: var(--accent-press); padding: 4px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.price { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price small { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-4); margin-left: 8px; letter-spacing: 0; }
.buls { display: flex; flex-direction: column; gap: 10px; }
.bul { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.bul .ico { color: var(--success); }
.bul.muted { color: var(--ink-3); } .bul.muted .b { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.pcard .btn { margin-top: auto; width: 100%; }
.translator { display: flex; justify-content: center; margin-top: 24px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.acc { max-width: 760px; margin: 36px auto 0; }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { color: var(--accent); font-size: 20px; transition: transform .24s var(--ease); }
.acc details[open] summary .pm { transform: rotate(45deg); }
.acc .ans { padding-bottom: 20px; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 700px; }

/* ── final CTA ───────────────────────────────────────────────────── */
.final { text-align: center; position: relative; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; z-index: 1; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(241, 88, 30, .07), transparent 70%); }
.final .mark { width: 44px; height: 44px; border-radius: 12px; }
.final h2 { font-size: clamp(32px, 3vw + 16px, 46px); max-width: 16ch; }

/* ── comparison (vs обычные AI-редакторы) — reuses .ledgers/.ledger ─── */
.cmp-x { width: 16px; height: 16px; flex: none; color: var(--ink-4); }
.ledger.lose .row .v { color: var(--ink-4); font-weight: 500; }
.ledger.lose .big { font-size: 22px; text-decoration: none; }
.ledger.win .big { font-size: 22px; }
.cmp-note { display: flex; justify-content: center; margin-top: 26px; }

/* ── category marquee (для любого товара) ────────────────────────── */
.marq { padding-block: 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.marq-in { display: flex; width: max-content; animation: marq 34s linear infinite; }
.marq-track { display: flex; align-items: center; height: 60px; white-space: nowrap; }
.marq-track .it { display: inline-flex; align-items: center; gap: 14px; padding: 0 18px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.marq-track .it::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq:hover .marq-in { animation-play-state: paused; }

/* ── guarantee chips (objection-closer, inside final CTA) ────────── */
.guar-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 4px; }
.guar-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.guar-chip .ico { color: var(--success); }

/* ── footer ──────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border); padding-block: 56px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-tag { font-size: 13px; color: var(--ink-4); margin-top: 10px; max-width: 26ch; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--ink-4); text-transform: uppercase; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--ink-3); padding: 4px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-4); flex-wrap: wrap; gap: 12px; }

/* ── motion (alive) ──────────────────────────────────────────────── */
/* content is visible by default; only hidden when JS is on (progressive enhancement) */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@keyframes pulse-ring { 0%, 100% { box-shadow: inset 0 1px 0 var(--inner-hi), 0 12px 30px -14px var(--cta-shadow); } 50% { box-shadow: inset 0 1px 0 var(--inner-hi), 0 18px 44px -12px var(--cta-shadow); } }
.final .btn-cta { animation: pulse-ring 2.6s ease-in-out infinite; }

/* ── responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  section { padding-block: 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 520px; }
  .steps, .rgrid, .tcards { grid-template-columns: 1fr 1fr; }
  .bento, .ledgers { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .steps, .rgrid, .tcards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .trust .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .final .btn-cta, .marq-in, .iribbon-in { animation: none; }
  .hv-cycle img { transition: none; }
  .btn-cta:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Landing v2 — «маркетинговый план», не «набор картинок»
   ═══════════════════════════════════════════════════════════════════ */

/* hero deliverables chips */
.hero-deliv { display: flex; flex-direction: column; gap: 9px; margin-top: 24px; }
.hero-deliv .cap { font-size: 13px; font-weight: 600; color: var(--ink-4); }
.deliv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.deliv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.deliv-chip .b { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* hero visual → план + карточки (override the 2×2 grid) */
.hero-visual { position: relative; aspect-ratio: auto; background: none; border: none; box-shadow: none;
  padding: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hv-flow { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.hv-plan { width: 100%; max-width: 392px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 11px; box-shadow: var(--sh-card); }
.hv-plan .ph { display: flex; align-items: center; gap: 8px; }
.hv-plan .ph .ico { width: 16px; height: 16px; }
.hv-plan .ph b { font-size: 14px; font-weight: 700; color: var(--ink); }
.hv-plan .ph .tag { margin-left: auto; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .05em;
  color: var(--accent-press); background: var(--accent-soft); padding: 2px 7px; border-radius: 5px; }
.hv-plan .pr { display: flex; gap: 10px; align-items: baseline; }
.hv-plan .pr .k { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--ink-4); width: 92px; flex: none; }
.hv-plan .pr .v { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.hv-grid { width: 100%; max-width: 392px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-card2 { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.hv-card2 img { width: 100%; height: 100%; object-fit: cover; }
.hv-card2 .rl { position: absolute; left: 8px; bottom: 8px; }
.hv-info2 { background: var(--deep); display: flex; flex-direction: column; gap: 7px; padding: 14px; }
.hv-info2 .rl { position: static; align-self: flex-start; margin-bottom: 2px; }
.hv-info2 .ut { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink); }
.rl { background: rgba(40, 36, 30, .62); color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 600; padding: 3px 7px; border-radius: 5px; }
.rl.ok { background: var(--success); }
.hv-mod { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); color: var(--success);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.hv-mod .ico { color: var(--success); }

/* moat — публикация (полная панель) */
.moatpub { background: linear-gradient(150deg, var(--accent-soft), var(--surface)); }
.mp-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mp-l { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mp-l .h2 { max-width: 14ch; }
.mp-steps { display: flex; flex-direction: column; gap: 11px; width: 100%; }
.mp-step { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.mp-num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-press);
  font-family: var(--mono); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.mp-foot { font-size: 12px; color: var(--ink-4); }
.mp-flow { display: flex; align-items: center; justify-content: center; gap: 16px; }
.mp-card { position: relative; width: 184px; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--sh-card); }
.mp-card.win { border: 1.5px solid var(--accent); }
.mp-card img { width: 100%; height: 100%; object-fit: cover; }
.mp-tag { position: absolute; left: 10px; top: 10px; }
.mp-tag.dark { background: rgba(40, 36, 30, .65); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 6px; }
.mp-badge { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--success); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 7px; }
.mp-badge .ico { color: #fff; }
.mp-arrow { font-size: 30px; font-weight: 800; color: var(--accent); flex: none; }

/* how — выделенный шаг */
.step.hot { background: var(--accent-soft); border: 1px solid var(--accent-mid); border-radius: var(--r-lg); padding: 24px; }
.step.hot .num { color: var(--accent); }

/* что вы получаете — 3-колоночная сетка (реюз .moat-card) */
.deliv-grid { grid-template-columns: repeat(3, 1fr); }
.moat-card.feat { border-color: var(--accent); }

/* возможности движка — power bento */
.power-bento { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.pb-vision { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pb-vision h3 { font-size: 21px; font-weight: 700; }
.pb-vision p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.pb-ba { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.pb-shot { position: relative; flex: 1; aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.pb-shot.win { border: 1.5px solid var(--accent); }
.pb-shot img { width: 100%; height: 100%; object-fit: cover; }
.pb-shot .rl { position: absolute; left: 8px; top: 8px; }
.pb-arrow { font-size: 22px; font-weight: 800; color: var(--accent); flex: none; }
.pb-right { display: flex; flex-direction: column; gap: 20px; }
.pb-omni { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 11px; }
.pb-omni h3 { font-size: 18px; font-weight: 700; }
.ftags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftag { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink); background: var(--surface-2); padding: 5px 10px; border-radius: 7px; }
.pb-small-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; }
.pb-small { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 9px; }
.pb-small h3 { font-size: 15.5px; font-weight: 700; }
.pb-small p { font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* сравнение — 3 колонки */
.cmp3-wrap { margin-top: 36px; overflow-x: auto; }
.cmp3 { min-width: 720px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.cmp3-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; align-items: center; }
.cmp3-row + .cmp3-row { border-top: 1px solid var(--border); }
.cmp3-row.head { background: var(--surface); }
.cmp3-row.moat { background: var(--accent-soft); }
.cmp3 .c0, .cmp3 .cv, .cmp3 .cu { padding: 15px 18px; font-size: 13.5px; line-height: 1.35; }
.cmp3 .c0 { font-weight: 600; color: var(--ink); }
.cmp3-row.head .c0 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-4); text-transform: uppercase; }
.cmp3 .cv { color: var(--ink-3); font-weight: 500; }
.cmp3 .cv.mut { color: var(--ink-4); }
.cmp3-row.head .cv { font-weight: 600; color: var(--ink-3); font-size: 14px; }
.cmp3 .cu { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); background: var(--accent-soft); }
.cmp3-row.head .cu { background: linear-gradient(180deg, var(--cta-from), var(--accent) 55%, var(--cta-to)); color: #fff; font-size: 15px; font-weight: 800; }
.cmp3-row.moat .cu { background: transparent; }
.cmp3 .cu .ico { color: var(--success); width: 15px; height: 15px; }
.cmp3-row.head .cu .badge { font-family: var(--mono); font-size: 10px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .22); padding: 3px 8px; border-radius: 6px; }
.cmp3-foot { text-align: center; font-size: 12px; color: var(--ink-4); margin-top: 14px; }

/* анти-бан */
.antiban { background: var(--accent-soft); }
.ab-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: center; }
.ab-l { display: flex; flex-direction: column; gap: 15px; }
.ab-checks { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.ab-checks .ut { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ab-badge { background: #fff; border: 1.5px solid var(--success); border-radius: var(--r-lg); padding: 32px; display: flex;
  flex-direction: column; align-items: center; gap: 12px; box-shadow: var(--sh-card); }
.ab-badge b { font-size: 19px; font-weight: 800; color: var(--ink); }
.abx { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; }
.abx .ico { width: 30px; height: 30px; color: var(--success); }

/* доверие — метрики + интеграции */
.tf-metrics { display: flex; align-items: center; justify-content: center; max-width: 980px; margin: 34px auto 0; }
.tf-metric { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 12px; text-align: center; }
.tf-metric .n { font-family: var(--mono); font-size: clamp(22px, 1.6vw + 14px, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.tf-metric .c { font-size: 13px; font-weight: 500; color: var(--ink-4); }
.tf-sep { width: 1px; height: 46px; background: var(--border); flex: none; }
.tf-ints { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.tf-int { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.tf-int .ico { color: var(--ink-4); width: 14px; height: 14px; }

/* responsive v2 */
@media (max-width: 980px) {
  .mp-wrap, .ab-wrap, .power-bento { grid-template-columns: 1fr; gap: 32px; }
  .deliv-grid { grid-template-columns: 1fr 1fr; }
  .tf-metrics { flex-wrap: wrap; }
  .tf-metric { flex: 0 0 50%; padding-block: 10px; }
  .tf-sep { display: none; }
}
@media (max-width: 620px) {
  .deliv-grid { grid-template-columns: 1fr; }
  .pb-small-row { grid-template-columns: 1fr; }
  .mp-flow { gap: 10px; }
  .mp-card { width: 130px; }
  .nav-act .btn-ghost { display: none; }
  .hero-visual .hv-plan, .hero-visual .hv-grid { max-width: 100%; }
}

/* ── liveness: cycling hero cards + image ribbon ─────────────────── */
.hv-card2 .rl { z-index: 2; }
.hv-cycle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.hv-cycle img.on { opacity: 1; }

.iribbon { padding-block: 0; overflow: hidden; background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.iribbon-in { display: flex; width: max-content; padding-block: 36px; animation: imarq 64s linear infinite; }
.iribbon-track { display: flex; gap: 18px; padding-right: 18px; }
.itile { width: 188px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; flex: none;
  border: 1px solid var(--border); background: var(--surface-2); box-shadow: var(--sh-soft); }
.itile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes imarq { to { transform: translateX(-50%); } }
.iribbon:hover .iribbon-in { animation-play-state: paused; }


/* ── motion polish (auto) ── */
.deliv-chip,.itile,.cmp3-row,.tf-int,.ftag,.pb-small,.pb-vision,.pcard,.step,.tf-metric{transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease);will-change:transform}
.deliv-chip:hover,.tf-int:hover,.ftag:hover{transform:translateY(-2px);box-shadow:var(--sh-soft);border-color:var(--border-strong)}
.deliv-chip:active,.tf-int:active,.ftag:active{transform:translateY(0)}
.itile:hover{transform:translateY(-4px);box-shadow:var(--sh-card)}
.cmp3-row:not(.head):hover{transform:translateX(2px);box-shadow:inset 2px 0 0 var(--accent)}
.pb-small:hover,.pb-vision:hover{transform:translateY(-3px);box-shadow:var(--sh-card);border-color:var(--border-strong)}
.pcard:hover{transform:translateY(-4px);box-shadow:0 28px 64px -26px var(--cta-shadow)}
.pcard:active{transform:translateY(-1px)}
.step:hover{transform:translateY(-3px)}
.step:hover .tile{box-shadow:0 8px 22px -10px var(--cta-shadow);border-color:var(--accent-mid)}
.tf-metric:hover{transform:translateY(-3px)}
.tab{transition:transform .15s var(--ease),box-shadow .15s var(--ease),background .15s,border-color .15s}
.tab:hover{transform:translateY(-1px);border-color:var(--border-strong)}
.tab:active{transform:scale(.98)}
@keyframes mp-breathe{0%,100%{box-shadow:0 0 0 0 rgba(47,157,91,0)}50%{box-shadow:0 0 0 6px rgba(47,157,91,.1)}}
.hv-mod{transition:transform .25s var(--ease);animation:mp-breathe 6.5s ease-in-out infinite}
.hv-mod:hover{transform:translateY(-2px) scale(1.02)}
.hv-plan{transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.hv-plan:hover{transform:translateY(-3px);box-shadow:0 26px 56px -26px rgba(40,36,30,.26)}
.btn:focus-visible,.tab:focus-visible,.deliv-chip:focus-visible,.tf-int:focus-visible,.ftag:focus-visible,.pcard:focus-visible,.itile:focus-visible,.moat-card:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(241,88,30,.4)}
.nav-links a:focus-visible,.foot-col a:focus-visible,.legal-toc a:focus-visible,.btn-link:focus-visible,.faq-item>summary:focus-visible,.acc summary:focus-visible{outline:none;border-radius:var(--r-sm);box-shadow:0 0 0 3px rgba(241,88,30,.4)}
.contact-form input:focus-visible,.contact-form textarea:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(241,88,30,.4)}
@media (prefers-reduced-motion:reduce){.deliv-chip,.itile,.cmp3-row,.tf-int,.ftag,.pb-small,.pb-vision,.pcard,.step,.tf-metric,.tab,.hv-mod,.hv-plan{transition:none;animation:none;will-change:auto}.deliv-chip:hover,.tf-int:hover,.ftag:hover,.itile:hover,.cmp3-row:not(.head):hover,.pb-small:hover,.pb-vision:hover,.pcard:hover,.step:hover,.tf-metric:hover,.tab:hover,.tab:active,.hv-mod:hover,.hv-plan:hover{transform:none}.step:hover .tile{box-shadow:none}}
