/* Публичный сайт — поверх токенов app.css */
body.site { background-image: radial-gradient(1100px 620px at 80% -8%, rgba(57,135,229,.18), transparent 60%),
  radial-gradient(900px 600px at 0% 20%, rgba(232,163,61,.10), transparent 60%), radial-gradient(800px 500px at 50% 110%, rgba(57,135,229,.08), transparent 60%); }
.site-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px 40px; background: rgba(8,11,18,.72); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.site-nav .brandmark { padding: 0; }
.site-links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.site-links a { color: var(--text-2); font-weight: 500; } .site-links a:hover { color: #fff; }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 11px; }
.eyebrow-old { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
.grad { background: linear-gradient(100deg, #F6C77A, var(--accent) 40%, #7FB2F0); -webkit-background-clip: text; background-clip: text; color: transparent; }


.sec-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 18px; max-width: 900px; }
.hero { max-width: 1240px; margin: 0 auto; padding: 104px 40px 72px; }
.hero h1 { font-size: clamp(52px, 8.4vw, 124px); line-height: .95; letter-spacing: -.045em; margin: 0 0 28px; }
.hero .lead { max-width: 900px; font-size: 20px; margin-bottom: 30px; }
.hero .engines { color: var(--muted); margin: 30px 0 0; font-size: 14px; }
.band { max-width: 1240px; margin: 0 auto; padding: 72px 40px; }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 11px; }
.preview { padding: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Why now: факты листаются, справа — «вырезка» */
.why { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.why-facts { list-style: none; margin: 0; padding: 0; }
.why-facts li { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; border-left: 2px solid var(--border); padding: 0 0 0 28px; opacity: .38; transition: opacity .3s; }
.why-facts li.on { opacity: 1; border-left-color: var(--accent); }
.why-facts .n { font: 600 clamp(56px, 7vw, 96px)/1 var(--font-display); letter-spacing: -.04em; color: var(--accent); }
.why-facts p { font-size: 19px; line-height: 1.5; color: var(--text); max-width: 520px; margin: 14px 0 0; }
.why-stage { position: sticky; top: calc(50vh - 190px); height: 380px; }
.why-stage .clipping { position: absolute; inset: 0; opacity: 0; transform: rotate(-1.2deg) translateY(12px); transition: opacity .35s, transform .35s; }
.why-stage .clipping.on { opacity: 1; transform: rotate(-1.2deg); }
.clip-inline { display: none; }
.clipping { background: #F5F2EB; color: #1A1A1A; padding: 26px 28px; border-radius: 3px; box-shadow: 0 24px 60px rgba(0,0,0,.45); font-family: Georgia, "Times New Roman", serif; }
.clipping .mast { font: 700 26px/1 Georgia, serif; letter-spacing: -.01em; border-bottom: 3px double #1A1A1A; padding-bottom: 10px; }
.clipping .kind { font: italic 13px Georgia, serif; color: #5B5852; margin: 8px 0 18px; }
.clipping h4 { font: 700 24px/1.15 Georgia, serif; margin: 0 0 14px; color: #111; }
.clipping p { font-size: 16px; line-height: 1.6; margin: 0 0 18px; color: #2A2A2A; }
.clipping mark { background: #E8A33D; color: #10141F; padding: 0 4px; font-weight: 700; }
.clipping .lines { display: grid; gap: 9px; } .clipping .lines i { display: block; height: 7px; background: #DAD5CA; border-radius: 1px; }

/* Two jobs */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.job { padding: 34px; background: var(--surface); }
.job + .job { border-left: 1px solid var(--border); }
.job.m { background: linear-gradient(180deg, rgba(57,135,229,.10), transparent 55%), var(--surface); }
.job.s { background: linear-gradient(180deg, rgba(217,89,38,.10), transparent 55%), var(--surface); }
.job header h3 { font-size: 26px; margin: 0; }
.job header span { color: var(--muted); font-size: 14px; }
.ask { margin: 24px 0 28px; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.ask figcaption { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ask q { display: block; quotes: none; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.ask .ans { color: var(--text-2); font-size: 14px; line-height: 1.55; padding-left: 12px; border-left: 2px solid var(--border-2); }
.ask mark { background: rgba(57,135,229,.22); color: #CFE2FA; padding: 0 3px; border-radius: 3px; }
.ask mark.bad { background: var(--neg-soft); color: #FFC9C4; }
.ask .verdict { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--warn); }
.ask .verdict.bad { color: var(--neg); }
.job dl { display: grid; grid-template-columns: 130px 1fr; margin: 0; }
.job dt, .job dd { padding: 12px 0; border-top: 1px solid var(--border); margin: 0; }
.job dt { font-weight: 600; color: var(--text); }
.job dd { color: var(--text-2); }

/* How it works: прокрутка ведёт по 4 шагам */
.how-track { height: 360vh; position: relative; }
.how-sticky { position: sticky; top: 90px; }
.how-rail { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.how-rail li { counter-increment: s; cursor: pointer; padding: 16px 0 0; border-top: 3px solid var(--border); color: var(--muted); transition: border-color .3s, color .3s; }
.how-rail li::before { content: counter(s); font: 600 13px var(--font-display); display: block; margin-bottom: 6px; }
.how-rail li b { display: block; font-size: 16px; color: inherit; }
.how-rail li span { font-size: 13px; }
.how-rail li.on { border-top-color: var(--accent); color: var(--text-2); }
.how-rail li.now { color: var(--text); }
.how-rail li.now b { color: #fff; }
.how-stage { position: relative; height: 430px; border: 1px solid var(--border); border-radius: 18px; background: radial-gradient(700px 300px at 70% 0%, rgba(57,135,229,.10), transparent), var(--surface); overflow: hidden; }
.scene { position: absolute; inset: 0; padding: 32px; opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .4s; pointer-events: none; }
.scene-title { display: none; }
.scene[data-scene="1"], .scene[data-scene="3"] { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.scene[data-scene="0"], .scene[data-scene="2"] { align-content: center; }
.enforce { width: 100%; }
.scene.on { opacity: 1; transform: none; pointer-events: auto; }
.scene[data-scene="0"] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pool h4 { margin: 0 0 14px; font-size: 14px; color: var(--muted); font-weight: 500; }
.pool .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pool .chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); font-size: 13px; transition: all .3s; }
.pool .chips span.pick { background: var(--accent); border-color: var(--accent); color: #10141F; font-weight: 600; }
.brandcard { max-width: 640px; margin: 0 auto; padding: 24px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.brandcard .bn { font: 600 22px var(--font-display); }
.brandcard .facts { width: 100%; border-collapse: collapse; font-size: 14px; }
.brandcard .facts td { padding: 10px 0; border-top: 1px solid var(--border); }
.brandcard .facts td:first-child { color: var(--muted); width: 34%; }
.brandcard .ok { color: var(--pos); font-size: 12px; font-weight: 600; }
.scene[data-scene="2"] { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; }
.chat .q { margin-left: auto; max-width: 80%; background: var(--accent-soft); color: var(--text); padding: 12px 16px; border-radius: 14px 14px 4px 14px; margin-bottom: 14px; width: fit-content; }
.chat .a { background: var(--bg-2); border: 1px solid var(--border); padding: 16px; border-radius: 14px 14px 14px 4px; line-height: 1.65; color: var(--text-2); }
.chat mark { padding: 1px 4px; border-radius: 4px; color: var(--text); }
.chat mark.me { background: rgba(57,135,229,.25); } .chat mark.pos { background: var(--pos-soft); } .chat mark.neg { background: var(--warn-soft); } .chat mark.bad { background: var(--neg-soft); color: #FFC9C4; }
.readout { display: grid; gap: 10px; }
.readout div { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); }
.readout span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.readout em { font-style: normal; font-weight: 700; } .readout em.pos { color: var(--pos); } .readout em.neg { color: var(--warn); }
.readout .alarm { border-color: rgba(240,100,92,.45); background: var(--neg-soft); } .readout .alarm b { color: #FFC9C4; }
.enforce { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.enforce li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); }
.enforce b { display: block; color: var(--text); } .enforce span { font-size: 13px; color: var(--muted); }
.enforce .st { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.enforce .st.done { background: var(--pos-soft); color: var(--pos); } .enforce .st.wip { background: var(--warn-soft); color: var(--warn); }

/* Pricing и старт */
.calc .total { background: var(--bg-2); }
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(232,163,61,.10), rgba(57,135,229,.08)), var(--surface); }
.err { color: var(--neg); font-size: 13px; }

@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr; } .why-stage { display: none; } .clip-inline { display: block; margin-top: 22px; max-width: 460px; }
  .why-facts li { min-height: 0; opacity: 1; padding: 26px 0 26px 20px; }
  .jobs, .start { grid-template-columns: 1fr; } .job + .job { border-left: 0; border-top: 1px solid var(--border); }
  .how-track { height: auto; } .how-sticky { position: static; } .how-rail { display: none; }
  .how-stage { height: auto; border: 0; background: none; display: grid; gap: 16px; }
  .scene { position: static; opacity: 1; transform: none; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 22px; }
  .scene[data-scene="0"], .scene[data-scene="2"] { grid-template-columns: 1fr; }
  .scene-title { display: block; margin: 0 0 14px; font-size: 18px; grid-column: 1 / -1; align-self: start; }
  .scene[data-scene="1"], .scene[data-scene="3"] { align-items: stretch; }
}
@media (max-width: 720px) { .site-links { display: none; } .site-nav { padding: 12px 16px; gap: 10px; } .site-nav .btn:not(.primary) { display: none; }
  .hero, .band { padding-left: 16px; padding-right: 16px; } .hero { padding-top: 56px; } .job, .start { padding: 22px; } .job dl { grid-template-columns: 1fr; } .job dt { padding-bottom: 0; } .job dd { border-top: 0; padding-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .scene, .why-stage .clipping, .why-facts li, .pool .chips span { transition: none; } }
