/* Обучение: карточки-истории. Тёмный фон, один жёлтый акцент, много воздуха. */
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(/static/fonts/onest-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(/static/fonts/onest-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(/static/fonts/onest-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 800; font-display: swap; src: url(/static/fonts/onest-cyrillic-800.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(/static/fonts/onest-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(/static/fonts/onest-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(/static/fonts/onest-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 800; font-display: swap; src: url(/static/fonts/onest-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0D0E0A; --bg2: #14150F; --panel: #191A13; --panel2: #1F2017;
  --text: #F2F1E6; --muted: #A09F90; --faint: #6E6D61;
  --line: rgba(255,238,160,.10); --line2: rgba(255,238,160,.20);
  --y: #FFD21F; --y-ink: #1A1503; --y-soft: rgba(255,210,31,.12); --y-glow: rgba(255,210,31,.35);
  --ok: #8FD48A; --ok-bg: rgba(143,212,138,.10);
  --bad: #FF8A6B; --bad-bg: rgba(255,138,107,.09);
  --r: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.5 "Onest", -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% -5%, rgba(255,210,31,.09), transparent 70%),
  radial-gradient(500px 400px at -10% 105%, rgba(255,210,31,.05), transparent 70%); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 10px; }
a { color: inherit; }
.ic { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.app { max-width: 580px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 16px; }

/* ---------- главная ---------- */
.home { padding: calc(env(safe-area-inset-top) + 22px) 0 110px; animation: fade .5s var(--ease) both; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--y); box-shadow: 0 0 14px var(--y-glow); }
.h1 { font-weight: 800; font-size: clamp(30px, 8vw, 42px); line-height: 1.08; letter-spacing: -.02em; margin: 26px 0 12px; }
.h1 em { font-style: normal; color: var(--y); }
.lead { color: var(--muted); font-size: 18px; max-width: 30em; }
.meter { margin: 26px 0 8px; }
.meter-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.meter-top b { color: var(--text); font-weight: 700; }
.track { height: 6px; background: var(--panel2); border-radius: 6px; overflow: hidden; }
.track > i { display: block; height: 100%; width: 0; background: var(--y); border-radius: 6px; transition: width 1s var(--ease); box-shadow: 0 0 16px var(--y-glow); }
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 22px 0 28px; padding: 18px 22px; border-radius: 16px; background: var(--y); color: var(--y-ink); font-weight: 700; font-size: 18px; transition: transform .2s var(--ease), box-shadow .2s; box-shadow: 0 10px 30px -10px var(--y-glow); }
.cta:active { transform: scale(.98); }
.lessons { display: grid; gap: 10px; }
.lesson { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; text-align: left; padding: 14px 16px 14px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s var(--ease), border-color .2s, background .2s; animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 100ms); }
.lesson:hover { border-color: var(--line2); background: var(--panel2); }
.lesson:active { transform: scale(.985); }
.lesson .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--y-soft); color: var(--y); position: relative; }
.lesson .ico .ic { width: 25px; height: 25px; }
.lesson .num { font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.lesson .ttl { font-weight: 700; font-size: 17px; line-height: 1.25; }
.lesson .sub { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.lesson .st { width: 28px; height: 28px; position: relative; }
.lesson.done .ico { background: var(--ok-bg); color: var(--ok); }
.ringsm { width: 28px; height: 28px; transform: rotate(-90deg); }
.ringsm circle { fill: none; stroke-width: 3; }
.ringsm .bg { stroke: var(--panel2); }
.ringsm .fg { stroke: var(--y); stroke-linecap: round; }
.lesson.done .ringsm .fg { stroke: var(--ok); }
.lesson .st .ic { position: absolute; inset: 6px; width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(env(safe-area-inset-bottom) + 10px); background: linear-gradient(to top, var(--bg) 60%, transparent); }
.tabs-in { max-width: 580px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; backdrop-filter: blur(12px); }
.tab { padding: 12px; border-radius: 13px; font-weight: 600; font-size: 15px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s; }
.tab.on { background: var(--y); color: var(--y-ink); }
.tab .ic { width: 19px; height: 19px; }

/* ---------- урок ---------- */
.les { display: flex; flex-direction: column; min-height: 100dvh; padding-top: calc(env(safe-area-inset-top) + 12px); }
.les-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.iconbtn:hover { background: var(--panel); color: var(--text); }
.les-title { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segs { display: flex; gap: 4px; margin: 12px 0 0; }
.seg { flex: 1; height: 24px; display: flex; align-items: center; }
.seg i { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--panel2); position: relative; overflow: hidden; }
.seg i::after { content: ""; position: absolute; inset: 0; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.seg.on i::after { transform: scaleX(1); }
.seg.cur i::after { box-shadow: 0 0 10px var(--y-glow); }
.stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 14px 0 20px; position: relative; }
.card { animation: slideR .5s var(--ease) both; }
.card.back { animation-name: slideL; }
.nav { position: sticky; bottom: 0; padding: 12px 0 calc(env(safe-area-inset-bottom) + 14px); display: grid; grid-template-columns: 56px 1fr; gap: 10px; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.nbtn { height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 17px; transition: transform .2s var(--ease), opacity .2s, background .2s; }
.nbtn:active { transform: scale(.97); }
.nbtn.prev { background: var(--panel); border: 1px solid var(--line2); color: var(--muted); }
.nbtn.prev[disabled] { opacity: .35; pointer-events: none; }
.nbtn.next { background: var(--y); color: var(--y-ink); box-shadow: 0 10px 28px -12px var(--y-glow); }
.nbtn.next.soft { background: var(--panel2); color: var(--muted); border: 1px solid var(--line2); box-shadow: none; }
.nbtn.next.pulse { animation: pulse 1.6s ease-in-out infinite; }

/* ---------- общие элементы карточки ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--y); margin-bottom: 12px; }
.ctitle { font-weight: 800; font-size: clamp(26px, 6.6vw, 34px); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 18px; text-wrap: balance; }
.rev { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--y); background: var(--y-soft); border-radius: 0 12px 12px 0; color: #E8E6D2; font-size: 16px; line-height: 1.45; }
.txt { color: var(--muted); font-size: 18px; line-height: 1.5; }

.hero { padding: 6px 0; position: relative; }
.hero .orb { position: absolute; right: -40px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--line2); animation: orb 6s ease-in-out infinite; z-index: -1; }
.hero .orb::before, .hero .orb::after { content: ""; position: absolute; inset: 28px; border-radius: 50%; border: 1px solid var(--line); }
.hero .orb::after { inset: 62px; background: radial-gradient(circle, var(--y-glow), transparent 70%); border: 0; }
.hero .ctitle { font-size: clamp(30px, 8vw, 40px); line-height: 1.08; }

.plist { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.pic { width: 46px; height: 46px; border-radius: 13px; background: var(--y-soft); color: var(--y); display: grid; place-items: center; }
.pic .ic { width: 23px; height: 23px; }
.prow h4 { font-weight: 700; font-size: 17px; line-height: 1.3; }
.prow p { color: var(--muted); font-size: 15.5px; line-height: 1.42; margin-top: 3px; }
.prow.plain { grid-template-columns: 1fr; }

.statement .big { font-weight: 800; font-size: clamp(28px, 7.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; }
.statement .big mark { background: none; color: var(--y); }
.statement .sub { margin-top: 18px; }

.steps { display: grid; gap: 0; position: relative; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line2); transform: scaleY(0); transform-origin: top; animation: grow .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 320ms); }
.step:last-child::before { display: none; }
.sn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--y); color: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 15px; background: var(--bg); z-index: 1; }
.sn.long { font-size: 12px; }
.step h4 { font-weight: 700; font-size: 17px; line-height: 1.3; padding-top: 9px; }
.step h4.only { padding-top: 10px; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.4; margin-top: 3px; }

.bignum { font-weight: 800; font-size: clamp(64px, 20vw, 104px); line-height: 1; letter-spacing: -.03em; color: var(--y); font-variant-numeric: tabular-nums; text-shadow: 0 0 60px var(--y-glow); }
.bignum small { font-size: .5em; margin-left: .12em; color: var(--text); opacity: .85; }
.duo { display: grid; gap: 10px; }
.duo .cell { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.duo .cell.hl { border-color: rgba(255,210,31,.45); background: linear-gradient(160deg, var(--y-soft), var(--panel)); }
.duo .bignum { font-size: clamp(44px, 13vw, 64px); }
.duo .lab { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

.ladder { display: flex; align-items: flex-end; gap: 10px; height: 250px; margin-top: 8px; }
.rung { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.rbar { border-radius: 14px 14px 6px 6px; background: linear-gradient(to top, rgba(255,210,31,.22), rgba(255,210,31,.08)); border: 1px solid rgba(255,210,31,.35); padding: 12px 10px; transform-origin: bottom; animation: bar .8s var(--ease) both; animation-delay: calc(var(--i) * 160ms + 150ms); display: flex; flex-direction: column; gap: 2px; }
.rbar .nm { font-weight: 700; font-size: 15px; }
.rbar .rt { font-weight: 800; font-size: 20px; color: var(--y); font-variant-numeric: tabular-nums; }
.rbar .rg { font-size: 12.5px; color: var(--muted); line-height: 1.25; }

.ring { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.ringbig { width: 140px; height: 140px; flex: none; position: relative; }
.ringbig svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ringbig circle { fill: none; stroke-width: 9; }
.ringbig .bg { stroke: var(--panel2); }
.ringbig .fg { stroke: var(--y); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; animation: dash 1.4s var(--ease) .2s forwards; filter: drop-shadow(0 0 8px var(--y-glow)); }
.ringbig .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 38px; line-height: 1; }
.ringbig .val small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.ring .txt { font-size: 17px; }
.bul { display: grid; gap: 10px; }
.bul li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #E4E2D2; font-size: 16.5px; line-height: 1.42; }
.bul .ic { width: 20px; height: 20px; color: var(--y); margin-top: 2px; stroke-width: 2.2; }
.bul.no .ic { color: var(--bad); }
.bul.no li { padding: 12px 14px; background: var(--bad-bg); border: 1px solid rgba(255,138,107,.18); border-radius: 14px; grid-template-columns: 22px 1fr; }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp .col { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.cmp .col.r { border-color: rgba(143,212,138,.35); background: linear-gradient(170deg, var(--ok-bg), var(--panel)); }
.cmp .col.l h4 { color: var(--faint); }
.cmp h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.cmp .col.r h4 { color: var(--ok); }
.cmp li { list-style: none; font-size: 14.5px; line-height: 1.38; padding: 8px 0; border-top: 1px solid var(--line); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
.cmp li:first-of-type { border-top: 0; }
.cmp .col.l li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.18); }
@media (max-width: 400px) { .cmp { grid-template-columns: 1fr; } }

/* квиз */
.qq { font-weight: 700; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.26; margin-bottom: 20px; text-wrap: pretty; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; text-align: left; padding: 16px; border-radius: 16px; background: var(--panel); border: 1.5px solid var(--line2); font-size: 16.5px; line-height: 1.4; transition: transform .2s var(--ease), border-color .2s, background .2s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 120ms); }
.opt:hover { border-color: var(--y); }
.opt:active { transform: scale(.985); }
.opt .l { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .25s; }
.opt .l .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.opts.locked .opt { pointer-events: none; }
.opt.ok { border-color: var(--ok); background: var(--ok-bg); }
.opt.ok .l { background: var(--ok); border-color: var(--ok); color: var(--ok-ink, #10200F); }
.opt.bad { border-color: var(--bad); background: var(--bad-bg); animation: shake .45s; }
.opt.bad .l { background: var(--bad); border-color: var(--bad); color: #2A0F08; }
.opts.locked .opt:not(.ok):not(.bad) { opacity: .45; }
.explain { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); font-size: 16px; line-height: 1.45; animation: rise .45s var(--ease) both; }
.explain b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.explain.ok b { color: var(--ok); } .explain.bad b { color: var(--bad); }
.cl { align-self: flex-start; max-width: 85%; padding: 12px 16px; background: var(--panel2); border-radius: 18px 18px 18px 4px; font-size: 18px; margin-bottom: 18px; animation: rise .5s var(--ease) both; }
.cl small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.rpl .opt { grid-template-columns: 1fr; border-radius: 18px 18px 4px 18px; font-size: 16px; }
.rpl .opt .l { display: none; }
.sub-eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 8px; }

/* чат */
.phone-chat { background: var(--panel); border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; }
.pc-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.pc-head i { width: 30px; height: 30px; border-radius: 50%; background: var(--y-soft); color: var(--y); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.pc-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.bub { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.42; animation: pop .35s var(--ease) both; position: relative; }
.bub.me { align-self: flex-end; background: var(--y); color: var(--y-ink); border-bottom-right-radius: 5px; }
.bub.them { align-self: flex-start; background: var(--panel2); border-bottom-left-radius: 5px; }
.typing { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 12px; border-radius: 10px; background: rgba(26,21,3,.14); font-size: 13px; font-weight: 700; color: var(--y-ink); }
.copy .ic { width: 15px; height: 15px; }
.copy.done { background: var(--y-ink); color: var(--y); }
.tip { margin-top: 14px; }

/* телефон со скриншотом */
.phone-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.phone { width: 150px; border-radius: 26px; padding: 6px; background: #2A2B22; border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 50px -10px var(--y-glow); animation: float 5s ease-in-out infinite; }
.phone img { display: block; width: 100%; border-radius: 21px; aspect-ratio: 390/844; object-fit: cover; object-position: top; }
@media (max-width: 480px) { .phone-wrap { grid-template-columns: 1fr; justify-items: center; gap: 16px; } .phone { width: 168px; } .phone-wrap .bul { width: 100%; } }
.phone-wrap .bul li { font-size: 15.5px; }
@media (min-width: 560px) { .phone-wrap { grid-template-columns: 200px 1fr; } .phone { width: 200px; } }

/* таймлайн */
.tl { display: grid; gap: 0; }
.tli { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding-bottom: 16px; position: relative; }
.tli::before { content: ""; position: absolute; left: 63px; top: 24px; bottom: -2px; width: 2px; background: var(--line2); }
.tli:last-child::before { display: none; }
.tli .tm { font-weight: 800; font-size: 15px; color: var(--y); padding-top: 2px; font-variant-numeric: tabular-nums; }
.tli .dot { position: absolute; left: 58px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px var(--bg), 0 0 12px var(--y-glow); }
.tli .bd { padding-left: 14px; }
.tli h4 { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.tli p { color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 2px; }

/* круги */
.circ { position: relative; width: min(100%, 330px); aspect-ratio: 1; margin: 0 auto 10px; }
.cr { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,210,31,.4); background: rgba(255,210,31,.05); display: flex; justify-content: center; animation: grow2 .8s var(--ease) both; animation-delay: calc(var(--i) * 140ms + 100ms); }
.cr span { margin-top: 5%; font-size: 12.5px; font-weight: 700; color: var(--text); text-align: center; max-width: 70%; line-height: 1.15; }
.cr.c0 { inset: 0; } .cr.c1 { inset: 17%; background: rgba(255,210,31,.08); } .cr.c2 { inset: 34%; background: rgba(255,210,31,.14); } .cr.c3 { inset: 51%; background: var(--y); border-color: var(--y); }
.cr.c3 span { color: var(--y-ink); margin: 0; align-self: center; font-size: 12px; }
.cr.c0 span { margin-top: 3%; } .cr.c1 span { margin-top: 3%; } .cr.c2 span { margin-top: 3%; }

/* воронка */
.fun { display: grid; gap: 14px; margin-top: 6px; }
.fr { display: grid; gap: 6px; }
.fb { height: 50px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,210,31,.34), rgba(255,210,31,.12)); border: 1px solid rgba(255,210,31,.45); display: flex; align-items: center; padding: 0 16px; width: var(--w); min-width: 84px; transform-origin: left; animation: wid .8s var(--ease) both; animation-delay: calc(var(--i) * 200ms + 150ms); }
.fb b { font-weight: 800; font-size: 24px; color: var(--y); font-variant-numeric: tabular-nums; }
.fl { font-size: 15px; color: var(--muted); padding-left: 4px; }

/* калькулятор */
.calc { background: var(--panel); border: 1px solid var(--line2); border-radius: 22px; padding: 18px; margin-bottom: 18px; }
.calc-d { background: #0A0B07; border-radius: 14px; padding: 14px 16px; min-height: 108px; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; justify-content: space-between; }
.calc-e { color: var(--muted); font-size: 18px; min-height: 52px; word-break: break-word; }
.calc-r { text-align: right; font-weight: 800; font-size: 34px; min-height: 40px; transition: color .3s; }
.calc-r.err { color: var(--bad); font-size: 26px; }
.calc-r.ok { color: var(--ok); }
.calc-m { margin-top: 12px; text-align: center; color: var(--faint); font-size: 14px; min-height: 22px; }

/* чеклист, итоги */
.chk { display: grid; gap: 10px; }
.chk button { display: grid; grid-template-columns: 28px 1fr; gap: 14px; text-align: left; padding: 14px 16px; background: var(--panel); border: 1.5px solid var(--line2); border-radius: 15px; font-size: 16.5px; line-height: 1.4; transition: border-color .2s, background .2s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.chk .bx { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line2); display: grid; place-items: center; color: transparent; transition: all .25s var(--ease); }
.chk .bx .ic { width: 16px; height: 16px; stroke-width: 3; }
.chk button.on { border-color: var(--ok); background: var(--ok-bg); }
.chk button.on .bx { background: var(--ok); border-color: var(--ok); color: #10200F; transform: scale(1.08); }
.recap { display: grid; gap: 8px; }
.rc { padding: 13px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.rc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--y); margin-bottom: 3px; }
.rc p { font-size: 15.5px; line-height: 1.42; color: #E4E2D2; }

/* финиш урока */
.fin { text-align: center; padding: 10px 0; }
.fin .badge { width: 120px; height: 120px; margin: 0 auto 22px; position: relative; }
.fin .badge svg { width: 100%; height: 100%; }
.fin .badge .c { fill: var(--y-soft); stroke: var(--y); stroke-width: 2; stroke-dasharray: 340; stroke-dashoffset: 340; animation: dash .9s var(--ease) .1s forwards; }
.fin .badge .k { fill: none; stroke: var(--y); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .5s var(--ease) .75s forwards; }
.fin .badge::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--y); opacity: 0; animation: burst 1.2s var(--ease) .7s; }
.fin .ctitle { margin-bottom: 8px; }
.fin .stat { display: inline-flex; gap: 8px; align-items: center; margin: 14px 0 6px; padding: 8px 16px; background: var(--panel); border: 1px solid var(--line2); border-radius: 100px; font-size: 15px; color: var(--muted); }
.fin .stat b { color: var(--text); }
.fin-acts { display: grid; gap: 10px; margin-top: 24px; }
.btn2 { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 15px; border: 1px solid var(--line2); background: var(--panel); font-weight: 700; font-size: 16.5px; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.btn2:hover { background: var(--panel2); } .btn2:active { transform: scale(.98); }
.btn2.pri { background: var(--y); color: var(--y-ink); border-color: var(--y); }
.sparks i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--y); opacity: 0; animation: spark 1s var(--ease) calc(.7s + var(--k) * 20ms) both; }

/* шпаргалка */
.cheat { padding: calc(env(safe-area-inset-top) + 22px) 0 120px; animation: fade .5s var(--ease) both; }
.cgrp { margin-top: 30px; }
.cgrp h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--y); margin-bottom: 10px; }
.cs { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.cs .cap { font-size: 13px; color: var(--faint); font-weight: 600; margin-bottom: 6px; }
.cs p { font-size: 16px; line-height: 1.5; white-space: pre-wrap; }
.cs .cl2 { font-weight: 700; margin-bottom: 4px; font-size: 15px; color: var(--muted); }
.cs .copy { background: var(--y); color: var(--y-ink); margin-top: 12px; }
.cs .copy.done { background: var(--ok); color: #10200F; }

/* профиль, роль, цепочка, путь */
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 100px; border: 1px solid rgba(255,210,31,.45); color: var(--y); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.rolebig { font-weight: 800; font-size: clamp(30px, 8.4vw, 42px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.formula { display: grid; justify-items: stretch; gap: 0; }
.fpill { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line2); font-weight: 700; font-size: 18px; }
.fpill i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 14px; color: var(--y); flex: none; }
.fpill.hl i { border-color: var(--y-ink); color: var(--y-ink); }
.fpill.hl { background: var(--y); color: var(--y-ink); border-color: var(--y); box-shadow: 0 12px 34px -12px var(--y-glow); }
.farrow { display: grid; place-items: center; height: 26px; color: var(--y); animation: rise .5s var(--ease) both; animation-delay: .4s; }
.farrow .ic { width: 18px; height: 18px; }
.chain { position: relative; display: grid; gap: 0; }
.cn { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding-bottom: 16px; animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 150ms + 100ms); }
.cn::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--line2), var(--line)); transform-origin: top; animation: grow .4s var(--ease) both; animation-delay: calc(var(--i) * 150ms + 350ms); transform: scaleY(0); }
.cn:last-child { padding-bottom: 0; } .cn:last-child::before { display: none; }
.cnic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line2); color: var(--muted); z-index: 1; }
.cnic .ic { width: 26px; height: 26px; }
.cn.me .cnic { background: var(--y-soft); border-color: rgba(255,210,31,.5); color: var(--y); }
.cn.vl .cnic { background: var(--ok-bg); border-color: rgba(143,212,138,.45); color: var(--ok); }
.cn.hl .cnic { background: var(--y); border-color: var(--y); color: var(--y-ink); box-shadow: 0 0 0 5px rgba(255,210,31,.16), 0 10px 30px -8px var(--y-glow); animation: pulse2 2s ease-in-out 1.4s infinite; }
.cn .who { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 1px; }
.cn.me .who { color: var(--y); } .cn.vl .who { color: var(--ok); }
.cn h4 { font-weight: 700; font-size: 17px; line-height: 1.3; }
.cn.hl h4 { font-size: 19px; }
.path { position: relative; display: grid; gap: 0; }
.ps { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; min-height: 44px; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
.ps::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: -10px; width: 2px; background: var(--line2); }
.ps:last-child::before { display: none; }
.pn { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--muted); background: var(--bg); z-index: 1; }
.pn .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.ps b { font-weight: 600; font-size: 16px; }
.ps.done .pn { background: var(--ok); border-color: var(--ok); color: #10200F; }
.ps.here .pn { border-color: var(--y); color: var(--y); box-shadow: 0 0 0 4px rgba(255,210,31,.16); }
.ps.here b { color: var(--text); }
.ps .you { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--y-ink); background: var(--y); padding: 3px 9px; border-radius: 100px; }
.ps.goal .pn { background: var(--y); border-color: var(--y); color: var(--y-ink); box-shadow: 0 0 20px var(--y-glow); }
.ps.goal b { color: var(--y); font-weight: 700; }

/* ---------- анимации ---------- */
@keyframes zoomout { from { transform: scale(1.12) } to { transform: scale(1) } }
@keyframes pulse2 { 0%, 100% { box-shadow: 0 0 0 5px rgba(255,210,31,.16), 0 10px 30px -8px var(--y-glow) } 50% { box-shadow: 0 0 0 10px rgba(255,210,31,.06), 0 10px 40px -4px var(--y-glow) } }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@keyframes slideR { from { opacity: 0; transform: translateX(34px) } to { opacity: 1; transform: none } }
@keyframes slideL { from { opacity: 0; transform: translateX(-34px) } to { opacity: 1; transform: none } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(6px) } to { opacity: 1; transform: none } }
@keyframes grow { to { transform: scaleY(1) } }
@keyframes grow2 { from { opacity: 0; transform: scale(.4) } to { opacity: 1; transform: none } }
@keyframes bar { from { transform: scaleY(.05); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes wid { from { transform: scaleX(.15); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes dash { to { stroke-dashoffset: 0 } }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none } 30% { opacity: 1; transform: translateY(-3px) } }
@keyframes shake { 20% { transform: translateX(-6px) } 40% { transform: translateX(6px) } 60% { transform: translateX(-4px) } 80% { transform: translateX(3px) } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes orb { 0%, 100% { transform: scale(1) rotate(0) } 50% { transform: scale(1.06) rotate(8deg) } }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 28px -12px var(--y-glow) } 50% { box-shadow: 0 10px 38px -4px var(--y-glow) } }
@keyframes burst { 0% { opacity: .7; transform: scale(.8) } 100% { opacity: 0; transform: scale(1.5) } }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) scale(1) } 100% { opacity: 0; transform: translate(var(--x), var(--y2)) scale(.3) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; } }

/* ============ общие дополнения ============ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 20s ease-in-out infinite; }
.bg i:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -100px; background: rgba(255,210,31,.15); }
.bg i:nth-child(2) { width: 340px; height: 340px; left: -140px; bottom: -80px; background: rgba(255,210,31,.08); animation-delay: -7s; }
.bg i:nth-child(3) { width: 260px; height: 260px; left: 42%; top: 46%; background: rgba(143,212,138,.05); animation-delay: -12s; }
.bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,238,160,.075) 1px, transparent 1.3px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 72%); }
.wd { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); animation: wd .7s var(--ease) both; animation-delay: calc(var(--w) * 55ms + 80ms); }
.profile { display: block; }
.prof { position: relative; margin-bottom: 12px; animation: fade .6s var(--ease) both; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.prof-in { position: relative; height: min(44vh, 320px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: var(--panel); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.prof-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; animation: zoomout 1.8s var(--ease) both; }
.prof-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(13,14,10,.92), transparent); display: flex; flex-direction: column; gap: 2px; }
.prof-cap b { font-size: 22px; font-weight: 800; }
.prof-cap span { color: var(--y); font-weight: 600; font-size: 15px; }
.prof-chip { display: none; }
.pkt { display: block; position: absolute; left: 22px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--y); box-shadow: 0 0 14px var(--y-glow), 0 0 36px var(--y-glow); z-index: 2; opacity: 0; animation: pktv 4.2s cubic-bezier(.4,0,.2,1) 1.7s infinite; }
.t-hero .ctitle { margin-bottom: 18px; }
@keyframes wd { to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(50px, 30px) scale(1.12); } 66% { transform: translate(-30px, 60px) scale(.94); } }
@keyframes pktv { 0% { opacity: 0; top: 28px; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 34px); } }
@keyframes pkth { 0% { opacity: 0; left: calc(100% / 12 - 6px); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 100% / 12 - 6px); } }
@keyframes growx { to { transform: scaleX(1); } }

/* ============ КОМПЬЮТЕР: отдельный макет ============ */
@media (min-width: 960px) {
  body { font-size: 18px; }
  .app { max-width: 1240px; padding: 0 56px; }

  /* главная: слева крупный заголовок, справа список уроков */
  .home { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; padding: 150px 0 90px; align-items: start; }
  .hl { position: sticky; top: 130px; }
  .hl .brand { position: absolute; top: -104px; left: 0; font-size: 16px; }
  .h1 { font-size: clamp(48px, 4.6vw, 64px); margin: 0 0 20px; }
  .lead { font-size: 20px; }
  .meter { margin-top: 34px; }
  .cta { width: auto; display: inline-flex; padding: 20px 34px; font-size: 19px; margin-bottom: 0; }
  .cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--y-glow); }
  .lessons { gap: 12px; }
  .lesson { padding: 18px 26px 18px 18px; grid-template-columns: 60px 1fr auto; gap: 18px; }
  .lesson:hover { transform: translateX(8px); }
  .lesson .ico { width: 60px; height: 60px; border-radius: 17px; }
  .lesson .ttl { font-size: 19px; } .lesson .sub { font-size: 15px; }
  .tabs { top: 26px; bottom: auto; left: 50%; right: auto; width: min(1240px, 100%); transform: translateX(-50%); padding: 0 56px; background: none; }
  .tabs-in { width: 300px; margin: 0 0 0 auto; }
  .cheat { padding: 150px 0 80px; }
  .cheat .h1 { font-size: 56px; }
  .cgrp .cs { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: start; }
  .cgrp .cs .cap { grid-column: 1 / -1; }
  .cgrp .cs .copy { margin: 0; align-self: center; }

  /* урок */
  .les { padding-top: 30px; }
  .les-top { grid-template-columns: 52px 1fr 52px; }
  .iconbtn { width: 48px; height: 48px; }
  .les-title { font-size: 15px; }
  .segs { margin-top: 20px; } .seg i { height: 5px; }
  .stage { padding: 30px 0 36px; }
  .card { width: 100%; margin: 0 auto; }
  .card.wide { max-width: 1120px; }
  .card.narrow { max-width: 800px; }
  .ctitle { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 30px; }
  .txt { font-size: 21px; }
  .note { font-size: 18px; padding: 18px 22px; }
  .nav { width: 100%; max-width: 1120px; margin: 0 auto; grid-template-columns: 60px 260px; justify-content: end; padding-bottom: 38px; }
  .nbtn { height: 60px; font-size: 18px; }
  .nbtn.next:hover { transform: translateY(-2px); }

  .hero { padding: 24px 0; max-width: 940px; }
  .hero .ctitle { font-size: clamp(52px, 6vw, 88px); line-height: 1.03; letter-spacing: -.025em; margin-bottom: 26px; }
  .hero .txt { font-size: 23px; max-width: 28em; }
  .hero .orb { width: 560px; height: 560px; right: -300px; top: -140px; }
  .hero .orb::before { inset: 60px; } .hero .orb::after { inset: 140px; }

  .profile { display: grid; grid-template-columns: max(300px, min(440px, calc((100vh - 290px) * .75))) 1fr; grid-template-areas: "photo ." "photo title" "photo list" "photo ."; grid-template-rows: 1fr auto auto 1fr; column-gap: 76px; align-items: start; }
  .p-title { grid-area: title; align-self: end; font-size: clamp(40px, 4vw, 58px); margin-bottom: 28px; }
  .nav { background: none; }
  .prof { grid-area: photo; margin: 0; }
  .prof-in { height: auto; aspect-ratio: 3 / 4; border-radius: 30px; }
  .prof-cap { padding: 60px 26px 22px; } .prof-cap b { font-size: 28px; } .prof-cap span { display: none; }
  .prof-chip { display: inline-flex; align-items: center; gap: 8px; position: absolute; top: 26px; right: -34px; padding: 12px 18px; border-radius: 100px; background: var(--y); color: var(--y-ink); font-weight: 700; font-size: 16px; box-shadow: 0 16px 40px -10px var(--y-glow); animation: float 5s ease-in-out infinite; z-index: 2; }
  .prof-chip .ic { width: 18px; height: 18px; stroke-width: 2.8; }
  .p-list { grid-area: list; align-self: start; grid-template-columns: 1fr !important; }

  .plist { gap: 14px; }
  .prow { grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 22px; border-radius: 20px; transition: border-color .2s, transform .25s var(--ease); }
  .prow:hover { border-color: var(--line2); transform: translateY(-3px); }
  .pic { width: 56px; height: 56px; border-radius: 16px; } .pic .ic { width: 27px; height: 27px; }
  .prow h4 { font-size: 20px; } .prow p { font-size: 17px; margin-top: 4px; }
  .plist.n2, .plist.n4, .plist.n5, .plist.n6 { grid-template-columns: 1fr 1fr; }
  .plist.n3 { grid-template-columns: repeat(3, 1fr); }
  .plist.n3 .prow { grid-template-columns: 1fr; gap: 18px; padding: 26px; }

  .role { display: grid; grid-template-columns: 1.15fr .85fr; gap: 88px; align-items: center; min-height: 52vh; }
  .rolebig { font-size: clamp(44px, 4.6vw, 66px); }
  .role-l .txt { margin: 24px 0 0; max-width: 24em; }
  .fpill { font-size: 22px; padding: 24px 26px; gap: 18px; } .fpill i { width: 38px; height: 38px; font-size: 16px; }
  .farrow { height: 34px; } .farrow .ic { width: 22px; height: 22px; }
  .role-note { margin-top: 24px !important; font-size: 18px !important; }

  .chain { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: column; margin-top: 36px; }
  .cn { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding: 0 12px; align-content: start; }
  .cn::before { left: calc(50% + 48px); right: calc(-50% + 48px); top: 35px; bottom: auto; width: auto; height: 2px; background: var(--line2); transform: scaleX(0); transform-origin: left; animation-name: growx; }
  .cnic { width: 72px; height: 72px; border-radius: 22px; } .cnic .ic { width: 32px; height: 32px; }
  .cn h4 { font-size: 18px; } .cn.hl h4 { font-size: 20px; }
  .pkt { left: calc(100% / 12 - 6px); top: 30px; animation-name: pkth; animation-duration: 4.6s; }

  .path { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 88px; }
  .ps { min-height: 62px; grid-template-columns: 42px 1fr auto; } .pn { width: 42px; height: 42px; font-size: 16px; }
  .ps::before { left: 20px; top: 42px; bottom: -14px; }
  .ps:nth-child(6)::before { display: none; }
  .ps b { font-size: 20px; }

  .qq { font-size: 32px; margin-bottom: 28px; }
  .opt { font-size: 19px; padding: 20px 22px; grid-template-columns: 34px 1fr; }
  .opt .l { width: 32px; height: 32px; }
  .explain { font-size: 18px; padding: 18px 22px; }
  .cl { font-size: 22px; }
  .rpl .opt { font-size: 18px; }

  .phone-wrap { grid-template-columns: 236px 1fr; gap: 80px; }
  .phone { width: 236px; border-radius: 34px; padding: 8px; } .phone img { border-radius: 29px; }
  .phone-wrap .bul li { font-size: 20px; }
  .bul li { font-size: 19px; }
  .cmp .col { padding: 24px; } .cmp li { font-size: 17px; padding: 12px 0; } .cmp h4 { font-size: 14px; }
  .statement .big { font-size: clamp(38px, 4vw, 54px); }
  .bignum { font-size: 120px; }
  .duo { grid-template-columns: 1fr 1fr; } .duo .bignum { font-size: 76px; }
  .ladder { height: 320px; gap: 14px; }
  .rbar .rt { font-size: 26px; } .rbar .nm { font-size: 17px; }
  .ringbig { width: 180px; height: 180px; } .ringbig .val { font-size: 50px; }
  .fb { height: 60px; } .fb b { font-size: 28px; } .fl { font-size: 17px; }
  .circ { width: 420px; }
  .step h4, .tli h4 { font-size: 19px; } .step p, .tli p { font-size: 17px; }
  .rc p { font-size: 17px; }
}
@media (min-width: 1500px) { .app { max-width: 1360px; } .card.wide { max-width: 1240px; } .nav { max-width: 1240px; } }
.role-l .txt { margin: 16px 0 22px; }
@media (min-width: 960px) { .role-l .txt { margin: 24px 0 0; } }

/* ============ кнопки: нигде не растягиваем на всю ширину ============ */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nbtn.prev { flex: none; width: 56px; }
.nbtn.next { flex: none; min-width: 200px; padding: 0 28px; }
.cta { display: inline-flex; width: auto; padding: 17px 28px; margin: 22px 0 26px; font-size: 17px; }
.btn2 { display: inline-flex; width: auto; padding: 14px 24px; font-size: 16px; }
.btn2 .ic { width: 18px; height: 18px; }
.btn2.sm { padding: 11px 20px; font-size: 15px; border-radius: 13px; }
.fin-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.card:not(.t-finish) .fin-acts { justify-content: center; }
.t-finish .fin-acts { justify-content: flex-start; }
.act { margin-top: 18px; }

/* ============ вкладки ============ */
.tabs-in { grid-template-columns: repeat(4, 1fr); }
.tab { flex-direction: column; gap: 3px; font-size: 12px; padding: 9px 2px; }
.tab .ic { width: 20px; height: 20px; }

/* ============ слова-подсказки, словарь, полезное ============ */
.term { display: inline; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: help; border-bottom: 1.5px dotted var(--y); transition: color .2s, border-color .2s; }
.term:hover { color: var(--y); }
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s; }
.sheet.on { opacity: 1; }
.sheet-bg { position: absolute; inset: 0; background: rgba(6,7,4,.62); backdrop-filter: blur(6px); }
.sheet-box { position: relative; width: min(560px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 24px 24px 0 0; padding: 26px 22px calc(env(safe-area-inset-bottom) + 24px); transform: translateY(34px); transition: transform .35s var(--ease); }
.sheet.on .sheet-box { transform: none; }
.sheet-k { color: var(--y); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.sheet h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.sheet p { color: #E4E2D2; font-size: 17px; line-height: 1.5; }
.sheet-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.search { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 0 16px; background: var(--panel); border: 1.5px solid var(--line2); border-radius: 16px; transition: border-color .2s; }
.search .ic { color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 17px; padding: 16px 0; }
.search:focus-within { border-color: var(--y); }
.dd { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.dd h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.dd p { font-size: 16px; line-height: 1.5; color: #E4E2D2; }
.dd.flash { animation: flash 1.4s ease 2; }
.guide { margin-top: 28px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.guide-h { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.guide-h h3 { font-size: 21px; font-weight: 800; }
.guide-h p { color: var(--muted); font-size: 15px; }
.guide .step h4 { padding-top: 10px; }
@keyframes flash { 0%, 100% { border-color: var(--line); box-shadow: none; } 50% { border-color: var(--y); box-shadow: 0 0 0 4px var(--y-soft); } }

/* ============ деньги: купюры ============ */
.cashwrap { display: grid; gap: 22px; }
.notes { position: relative; height: 230px; width: 100%; max-width: 340px; margin: 0 auto; }
.bn { position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: auto 0; height: max-content; container-type: inline-size; animation: billin .9s var(--ease) both; animation-delay: calc(var(--k) * .18s + .3s); }
.bn:nth-child(1) { --rot: -9deg; --tx: -10px; --ty: -38px; }
.bn:nth-child(2) { --rot: -1deg; --tx: 0px; --ty: 0px; }
.bn:nth-child(3) { --rot: 7deg; --tx: 10px; --ty: 38px; }
.bill { position: relative; aspect-ratio: 2.15; border-radius: 10px; overflow: hidden; color: #FFF4E0; background: linear-gradient(120deg, #b9462c 0%, #e38a4d 38%, #d96a3b 62%, #a63a26 100%); box-shadow: 0 18px 40px -14px rgba(0,0,0,.75), inset 0 0 0 3px rgba(255,235,200,.35), inset 0 0 0 7px rgba(120,30,10,.22); animation: float 6s ease-in-out 1.6s infinite; }
.bn:nth-child(2) .bill { animation-delay: 2.1s; } .bn:nth-child(3) .bill { animation-delay: 2.6s; }
.b-wave { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 16% 130%, rgba(255,240,210,.2) 0 2px, transparent 2px 9px), repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 2px, transparent 2px 7px); }
.b-val { position: absolute; left: 12%; right: 0; top: 50%; transform: translateY(-54%); text-align: center; font-weight: 800; font-size: 19cqw; letter-spacing: -.02em; text-shadow: 0 2px 0 rgba(120,30,10,.45); }
.b-cap { position: absolute; left: 12%; right: 0; bottom: 8%; text-align: center; font-size: 4.6cqw; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.b-c { position: absolute; top: 8%; font-weight: 700; font-size: 6cqw; opacity: .9; }
.b-c.l { left: 6%; } .b-c.r { right: 6%; }
.b-emb { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); width: 16cqw; height: 16cqw; border-radius: 50%; border: .9cqw solid rgba(255,244,224,.55); background: rgba(120,30,10,.2); display: grid; place-items: center; font-weight: 800; font-size: 9cqw; }
@keyframes billin { from { opacity: 0; transform: translate(130px, 170px) rotate(38deg) scale(.7); } to { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); } }

/* ============ шкала 15 000 ============ */
.scale { position: relative; padding: 78px 10px 74px; margin: 0 8px; }
.sc-track { position: relative; height: 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,138,107,.16) var(--thr), rgba(143,212,138,.12) var(--thr)); }
.sc-red, .sc-green { position: absolute; top: 0; bottom: 0; border-radius: 12px; transform: scaleX(0); transform-origin: left; animation: growx 1.1s linear .2s both; }
.sc-red { left: 0; background: var(--bad); }
.sc-green { background: var(--ok); animation-duration: 2.5s; animation-delay: 1.3s; border-radius: 0 12px 12px 0; }
.sc-line { position: absolute; top: -16px; bottom: -16px; width: 2px; margin-left: -1px; background: var(--y); box-shadow: 0 0 12px var(--y-glow); }
.sc-ball { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 5px rgba(255,210,31,.2), 0 0 24px var(--y-glow); animation: ballgo 3.6s linear .2s both; z-index: 3; }
.smk { position: absolute; top: 50%; left: var(--p); z-index: 2; animation: popm .5s var(--ease) var(--d) both; }
.smk i { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid; }
.smk.ok i { border-color: var(--ok); color: var(--ok); } .smk.no i { border-color: var(--bad); color: var(--bad); }
.smk i .ic { width: 14px; height: 14px; stroke-width: 3; }
.sm-l { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; color: var(--muted); text-align: center; display: flex; flex-direction: column; line-height: 1.25; }
.sm-l b { font-size: 15px; color: var(--text); font-weight: 700; }
.smk.up .sm-l { bottom: 24px; } .smk.dn .sm-l { top: 24px; }
.smk.edge .sm-l { transform: translateX(-88%); text-align: right; align-items: flex-end; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 10px; }
.lg { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; font-size: 14.5px; font-weight: 600; }
.lg .ic { width: 16px; height: 16px; stroke-width: 3; }
.lg.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid rgba(255,138,107,.3); }
.lg.good { background: var(--ok-bg); color: var(--ok); border: 1px solid rgba(143,212,138,.3); }
@keyframes ballgo { from { left: 0; } to { left: 100%; } }
@keyframes popm { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* ============ кольцо без квадратной подложки, деления ============ */
.ringbig svg { overflow: visible; }
.ringbig .fg { filter: none; }
.ringbig { --R: 84px; }
.ticks { position: absolute; inset: -14px; pointer-events: none; }
.ticks i { position: absolute; left: 50%; top: 0; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px; background: var(--line2); transform-origin: 50% var(--R); transform: rotate(calc(var(--k) * 12deg)); animation: tick .3s ease both; animation-delay: calc(var(--k) * 45ms + .25s); }
@keyframes tick { from { background: var(--line2); } to { background: var(--y); box-shadow: 0 0 8px var(--y-glow); } }

/* ============ было и стало: красные и зелёные пометки ============ */
.cmp li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; text-decoration: none; }
.cmp .col.l li { color: inherit; text-decoration: none; }
.cmp .ci .ic { width: 18px; height: 18px; stroke-width: 2.8; margin-top: 3px; }
.cmp .col.l .ci { color: var(--bad); } .cmp .col.r .ci { color: var(--ok); }
.cmp .col.l .ct { color: #CDB9B1; text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.cmp .col.l { border-color: rgba(255,138,107,.35); background: linear-gradient(170deg, var(--bad-bg), var(--panel)); }
.cmp .col.l h4 { color: var(--bad); }

/* ============ плитки пользы, цены, первый экран ============ */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.tile .pic { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 10px; } .tile .pic .ic { width: 20px; height: 20px; }
.tile h4 { font-size: 15.5px; line-height: 1.25; font-weight: 700; }
.tile p { color: var(--muted); font-size: 13.5px; line-height: 1.35; margin-top: 3px; }
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.prices { display: grid; gap: 10px; }
.price { display: grid; grid-template-columns: 46px 1fr auto; grid-template-areas: "ic h pv" "ic p pv"; gap: 2px 14px; align-items: center; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.price .pic { grid-area: ic; } .price h4 { grid-area: h; font-size: 17px; font-weight: 700; } .price p { grid-area: p; color: var(--muted); font-size: 14.5px; }
.price .pv { grid-area: pv; color: var(--y); font-weight: 800; font-size: 20px; white-space: nowrap; }
.note.warn { display: flex; gap: 12px; align-items: flex-start; border-left-color: var(--bad); background: var(--bad-bg); }
.note.warn .ic { color: var(--bad); margin-top: 2px; }
.fs { display: grid; gap: 26px; }
.browser { position: relative; border-radius: 14px; background: #15160F; border: 1px solid var(--line2); box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.br-bar span { margin-left: 10px; flex: 1; font-size: 12px; color: var(--faint); background: var(--bg); padding: 3px 12px; border-radius: 8px; }
.br-first { position: relative; margin: 8px; padding: 14px 16px 24px; outline: 2px dashed var(--y); border-radius: 8px; animation: fsPulse 2.4s ease-in-out 2.6s infinite; }
.br-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; }
.br-nav b { width: 46px; height: 14px; border-radius: 5px; background: var(--y); margin-right: auto; }
.br-nav u { width: 28px; height: 7px; border-radius: 4px; background: var(--line2); }
.br-h1 { height: 16px; border-radius: 6px; background: var(--text); opacity: .92; width: 78%; margin-bottom: 9px; transform-origin: left; animation: wid .6s var(--ease) both; animation-delay: calc(var(--j) * .28s + .3s); }
.br-h1.s { width: 52%; }
.br-p { height: 8px; border-radius: 4px; background: var(--line2); width: 90%; margin-bottom: 7px; transform-origin: left; animation: wid .6s var(--ease) both; animation-delay: calc(var(--j) * .28s + .3s); }
.br-p.s { width: 64%; }
.br-btn { width: 96px; height: 28px; border-radius: 9px; background: var(--y); margin-top: 16px; animation: pop .5s var(--ease) 1.7s both; }
.br-tag { position: absolute; right: 12px; bottom: -12px; background: var(--y); color: var(--y-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 100px; animation: pop .5s var(--ease) 2.1s both; }
.br-rest { padding: 14px 16px 14px; display: grid; gap: 8px; opacity: .3; }
.br-rest i { display: block; height: 26px; border-radius: 7px; background: var(--line2); }
.free { position: absolute; top: -14px; right: -10px; z-index: 3; background: var(--ok); color: #10200F; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; animation: pop .6s var(--ease) 2.5s both; }
@keyframes fsPulse { 0%, 100% { outline-color: var(--y); } 50% { outline-color: rgba(255,210,31,.3); } }

/* цепочка с любым числом узлов */
.chain .cn { --n2: var(--n, 6); }
@keyframes pkth { 0% { opacity: 0; left: calc(50% / var(--n, 6) - 6px); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 50% / var(--n, 6) - 6px); } }

@media (min-width: 960px) {
  .nav { justify-content: flex-end; }
  .nbtn.next { min-width: 240px; }
  .cta { padding: 20px 34px; font-size: 19px; margin-bottom: 0; }
  .tab { flex-direction: row; gap: 8px; font-size: 15px; padding: 12px 6px; }
  .tab .ic { width: 19px; height: 19px; }
  .tabs-in { width: 480px; }
  .sheet { align-items: center; }
  .sheet-box { border-radius: 24px; padding: 30px; }
  #dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  #dl .cs { margin: 0; display: block; }
  .guide { padding: 36px 40px; max-width: 760px; }
  .chain { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
  .cashwrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .notes { height: 380px; max-width: 480px; }
  .ringbig { --R: 104px; }
  .scale { padding: 96px 20px 92px; }
  .sm-l { font-size: 15px; } .sm-l b { font-size: 18px; }
  .smk i { width: 32px; height: 32px; margin: -16px 0 0 -16px; } .smk i .ic { width: 17px; height: 17px; }
  .sc-track { height: 16px; } .sc-ball { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .smk.up .sm-l { bottom: 30px; } .smk.dn .sm-l { top: 30px; }
  .lg { font-size: 16px; padding: 11px 18px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tile { padding: 24px; } .tile .pic { width: 48px; height: 48px; margin-bottom: 16px; } .tile .pic .ic { width: 24px; height: 24px; }
  .tile h4 { font-size: 19px; } .tile p { font-size: 16px; margin-top: 5px; }
  .tile:last-child:nth-child(odd) { grid-column: auto; }
  .prices { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .price { grid-template-columns: 1fr; grid-template-areas: "ic" "h" "pv" "p"; gap: 8px; padding: 28px; align-items: start; }
  .price .pv { font-size: 36px; } .price h4 { font-size: 21px; } .price p { font-size: 16px; }
  .fs { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .br-h1 { height: 22px; } .br-p { height: 10px; } .br-btn { width: 130px; height: 38px; }
  .br-first { padding: 24px 28px 36px; } .br-nav b { width: 64px; height: 18px; } .br-rest i { height: 34px; }
  .fin-acts .btn2 { padding: 16px 30px; font-size: 17px; }
}
.ring { padding-left: 14px; }
@media (max-width: 480px) { .sm-l { font-size: 11.5px; } .sm-l b { font-size: 13.5px; } }
@media (max-width: 959px) { .tile { padding: 12px; } .tile p { font-size: 13px; } .tile .pic { margin-bottom: 8px; } }
@media (min-width: 960px) { .tile { padding: 20px 22px; } .tile .pic { margin-bottom: 12px; width: 44px; height: 44px; } }

/* ============ этапы поиска, точки, план на день ============ */
.cn p { color: var(--muted); font-size: 14.5px; line-height: 1.35; margin-top: 3px; }
.heat { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 13.5px; font-weight: 600; }
.heat span:first-child { color: var(--y); } .heat span:last-child { color: #8FB4D9; }
.heat i { flex: 1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--y), #8FB4D9); transform-origin: left; animation: growx 1.2s var(--ease) .4s both; }
.cn.cc .cnic { color: #8FB4D9; border-color: rgba(143,180,217,.35); background: rgba(143,180,217,.07); }
.cn.cc .who { color: #8FB4D9; }
.cn.cc.hl .cnic { background: #8FB4D9; color: #0D1218; border-color: #8FB4D9; box-shadow: 0 0 0 5px rgba(143,180,217,.16); animation: none; }
.hint { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.hint a { color: var(--y); text-decoration: none; border-bottom: 1px solid rgba(255,210,31,.4); }

.dotswrap { display: grid; gap: 22px; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; width: 100%; max-width: 360px; margin: 0 auto; }
.dt { display: block; aspect-ratio: 1; border-radius: 50%; background: rgba(255,210,31,.5); animation: dotin .45s var(--ease) backwards; animation-delay: calc(var(--k) * 9ms + .1s); transition: opacity .6s, background .5s, transform .5s var(--ease), box-shadow .5s; position: relative; }
.dots.st1 .dt[data-s="0"] { opacity: .26; }
.dots.st1 .dt:not([data-s="0"]) { background: var(--y); box-shadow: 0 0 12px var(--y-glow); transform: scale(1.18); }
.dots.st2 .dt[data-s="1"] { opacity: .4; transform: scale(1); box-shadow: none; }
.dots.st2 .dt[data-s="2"], .dots.st2 .dt[data-s="3"] { background: #FFF1A8; box-shadow: 0 0 0 3px rgba(255,210,31,.35), 0 0 22px var(--y-glow); transform: scale(1.5); z-index: 1; }
.dots.st3 .dt[data-s="2"] { opacity: .45; transform: scale(1); box-shadow: none; }
.dots.st3 .dt[data-s="3"] { background: var(--ok); box-shadow: 0 0 0 4px rgba(143,212,138,.3), 0 0 30px rgba(143,212,138,.8); transform: scale(2.1); animation: okpulse 1.5s ease-in-out 1.2s infinite; z-index: 2; }
.dots.st3 .dt[data-s="3"]::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--ok); animation: boom 1s ease-out both; }
.lgds { display: grid; gap: 8px; align-content: center; }
.lgd { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; opacity: .35; transition: opacity .5s, border-color .5s, background .5s, transform .5s var(--ease); }
.lgd b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--y); }
.lgd span { font-size: 16px; line-height: 1.3; }
.lgd.on { opacity: .75; }
.lgd.cur { opacity: 1; border-color: rgba(255,210,31,.55); background: linear-gradient(90deg, var(--y-soft), var(--panel)); transform: translateX(6px); }
.lgd[data-i="3"] b { color: var(--ok); } .lgd[data-i="3"].cur { border-color: rgba(143,212,138,.6); background: linear-gradient(90deg, var(--ok-bg), var(--panel)); }
@keyframes dotin { from { opacity: 0; transform: scale(.2); } }
@keyframes okpulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(143,212,138,.3), 0 0 26px rgba(143,212,138,.7); } 50% { box-shadow: 0 0 0 10px rgba(143,212,138,.08), 0 0 44px rgba(143,212,138,1); } }
@keyframes boom { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }

.planwrap { display: grid; gap: 16px; }
.pbars { display: flex; align-items: flex-end; gap: 12px; padding: 18px 18px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.pb { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 8px; height: 190px; text-align: center; }
.pb span { font-size: 14px; color: var(--muted); font-weight: 600; }
.pbar { height: calc(var(--h) * 1.3px); border-radius: 12px 12px 6px 6px; background: linear-gradient(to top, rgba(255,210,31,.55), rgba(255,210,31,.22)); border: 1px solid rgba(255,210,31,.5); display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; transform-origin: bottom; animation: bar .8s var(--ease) both; animation-delay: calc(var(--i) * 160ms + 200ms); }
.pbar b { font-size: 22px; font-weight: 800; color: var(--y); font-variant-numeric: tabular-nums; }
.ptotal { align-self: center; min-width: 84px; text-align: center; padding: 12px 10px; border-radius: 16px; background: var(--y); color: var(--y-ink); }
.ptotal b { display: block; font-size: 34px; font-weight: 800; line-height: 1; } .ptotal span { font-size: 13px; font-weight: 700; }
.pers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pper { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; display: grid; gap: 4px; }
.pper span { font-size: 14px; color: var(--muted); font-weight: 600; }
.pper b { font-size: 40px; font-weight: 800; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.pper:last-child { border-color: rgba(255,210,31,.55); background: linear-gradient(160deg, var(--y-soft), var(--panel)); }
.pper:last-child b { color: var(--y); }

@media (min-width: 960px) {
  .dotswrap { grid-template-columns: minmax(0, 420px) 1fr; gap: 72px; align-items: center; }
  .dots { gap: 9px; max-width: 420px; }
  .lgd { padding: 16px 22px; grid-template-columns: 84px 1fr; } .lgd b { font-size: 40px; } .lgd span { font-size: 19px; }
  .planwrap { grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
  .pb { height: 230px; } .pbar { height: calc(var(--h) * 1.7px); } .pbar b { font-size: 28px; }
  .pers { grid-template-columns: 1fr; } .pper b { font-size: 52px; }
  .ptotal b { font-size: 44px; }
}

@media (max-width: 959px) { .dots { max-width: 300px; gap: 6px; } .lgd { padding: 9px 14px; grid-template-columns: 56px 1fr; } .lgd b { font-size: 26px; } .lgd span { font-size: 15px; } .dotswrap { gap: 16px; } }

/* ============ скрипты: категории ============ */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 22px -16px 4px; padding: 4px 16px 8px; scrollbar-width: none; position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 70%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 100px; background: var(--panel); border: 1px solid var(--line2); font-weight: 600; font-size: 14.5px; transition: border-color .2s, transform .2s var(--ease); }
.chip .ic { width: 17px; height: 17px; color: var(--y); }
.chip i { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 100px; background: var(--y-soft); color: var(--y); }
.chip:hover { border-color: var(--y); } .chip:active { transform: scale(.97); }
.accs { display: grid; gap: 12px; margin-top: 12px; }
.acc { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s; scroll-margin-top: 70px; }
.acc.open { border-color: var(--line2); }
.acc-h { width: 100%; display: grid; grid-template-columns: 46px 1fr auto auto; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
.acc-t b { display: block; font-size: 18px; font-weight: 700; line-height: 1.25; }
.acc-t small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.acc-n { font-size: 13px; font-weight: 700; color: var(--y); background: var(--y-soft); padding: 3px 10px; border-radius: 100px; }
.acc-c { color: var(--muted); transition: transform .35s var(--ease); display: grid; }
.acc.open .acc-c { transform: rotate(180deg); color: var(--y); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc.open .acc-b { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc-grid { display: grid; gap: 10px; padding: 2px 14px 16px; }
.acc .cs { margin: 0; background: var(--bg2); display: block; }
@media (min-width: 960px) {
  .chips { margin: 28px 0 6px; padding: 4px 0 10px; flex-wrap: wrap; position: static; background: none; }
  .accs { gap: 14px; max-width: 980px; }
  .acc-h { padding: 18px 22px; grid-template-columns: 56px 1fr auto auto; }
  .acc-t b { font-size: 21px; } .acc-t small { font-size: 15.5px; }
  .acc-grid { grid-template-columns: 1fr 1fr; padding: 2px 20px 22px; gap: 12px; }
}

/* ============ подстановка данных в скрипты, FAQ ============ */
.fill { margin-top: 22px; padding: 16px; background: var(--panel); border: 1px solid rgba(255,210,31,.3); border-radius: 18px; }
.fill-t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; margin-bottom: 12px; }
.fill-t .ic { color: var(--y); width: 20px; height: 20px; }
.fill-row { display: grid; gap: 10px; }
.fill label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.fill input { width: 100%; background: var(--bg2); border: 1.5px solid var(--line2); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--text); text-transform: none; letter-spacing: 0; outline: 0; transition: border-color .2s; }
.fill input:focus { border-color: var(--y); }
.sp mark { background: var(--y-soft); color: var(--y); border-radius: 5px; padding: 0 4px; }
.faq .acc { background: var(--bg2); }
.faq-h { grid-template-columns: 1fr auto !important; padding: 14px 16px; }
.faq-h .acc-t b { font-size: 16.5px; }
.faq-a { padding: 0 16px 16px; color: #E4E2D2; font-size: 16px; line-height: 1.5; }
.guide .faq { margin-top: 16px; }
@media (min-width: 960px) {
  .fill { max-width: 980px; padding: 20px 22px; }
  .fill-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .faq-h .acc-t b { font-size: 18px; } .faq-a { font-size: 17px; padding: 0 22px 20px; }
  .guide { max-width: 860px; }
}

/* без увеличения экрана при быстрых двойных нажатиях и без выделения текста на кнопках */
html, body, button, a, .opt, .chip, .acc-h, .tab { touch-action: manipulation; }
.nbtn, .tab, .btn2, .cta, .opt, .chip, .acc-h, .copy, .iconbtn, .seg { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
