/* Главная — по образцу praktika.ai: светлая страница, герой — карточка бренд-цвета с настоящим экраном
   и «пузырями», «01 / 05» с закреплённым телефоном, bento из скруглённых карточек, финал с иконкой.
   Кегль не меньше 13px. */

html.light {
  color-scheme: light;
  --bg: #f4f5f4;
  --surface: #ffffff;
  --surface2: #eef0ef;
  --border: #e3e7e6;
  --text: #0b1112;
  --sec: #3d4748;
  --muted: #6b7677;
  --brand: #0e6b60;
}
html.light body { background: radial-gradient(1200px 700px at 50% 0, #ffffff, var(--bg) 70%); }
html.light .site-nav a { color: #2a3334; }
html.light .site-nav a:hover { background: #e8ebea; color: var(--text); }
.site-head { gap: 24px; }
.site-nav { margin-left: auto; }
.head-cta { background: var(--brand); color: #fff; padding: 12px 20px; font-size: 15px; border-radius: 999px; }

h1, h2, h3 { color: var(--text); font-weight: 700; }
.center { text-align: center; margin: 140px auto 48px; max-width: 980px; }
.center h2 { font-size: 60px; line-height: 1.04; letter-spacing: -2.4px; margin: 10px 0 0; }
.eyebrow-c { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.center-cta { text-align: center; margin-top: 28px; }
.more { color: var(--brand); font-weight: 700; font-size: 17px; text-decoration: none; }

/* iPhone с настоящим экраном */
.iphone { position: relative; width: 320px; aspect-ratio: 402 / 874; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #d9dcdc, #8d9393 40%, #e9ebeb 60%, #9aa0a0); box-shadow: 0 30px 70px #0b111240, inset 0 0 0 1px #ffffff80; }
.iphone::before { content: ''; position: absolute; inset: 5px; border-radius: 49px; background: #000; }
.iphone img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 44px; }

/* Герой */
.hero { margin-top: 36px; }
.hero-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 600px; padding: 72px 64px; border-radius: 48px; background: radial-gradient(800px 500px at 15% 10%, #179383, transparent 60%), linear-gradient(135deg, #0e6b60, #073f39); color: #fff; }
.hero-card h1 { color: #fff; font-size: 74px; line-height: 1; letter-spacing: -3.2px; margin: 0 0 22px; }
.hero-card p { color: #d8efe9; font-size: 20px; line-height: 1.5; max-width: 470px; margin: 0; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px; background: #fff; color: #0b1112; text-decoration: none; font-weight: 700; font-size: 21px; line-height: 1.1; }
.store small { display: block; font-size: 13px; font-weight: 500; }
.store svg { width: 30px; height: 30px; }
.store.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #ffffff70; }
.store.dark { background: #0b1112; color: #fff; }
.hero-phone { position: relative; }
.hero-phone .iphone { position: absolute; right: 40px; top: -40px; width: 330px; }
.bubble { position: absolute; z-index: 2; padding: 14px 20px; border-radius: 22px; background: #ffffffe6; backdrop-filter: blur(8px); color: #0b1112; font-size: 22px; font-weight: 700; box-shadow: 0 20px 40px #0003; white-space: nowrap; }
.bubble mark { background: #0e6b60; color: #fff; padding: 2px 10px; border-radius: 10px; }
.bubble mark.blue { background: #2f6fdb; }
.b1 { left: -70px; top: 470px; transform: rotate(-4deg); }
.b2 { right: -60px; top: 300px; transform: rotate(3deg); }

.banks-row { display: flex; justify-content: flex-start; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 32px; padding-left: 64px; max-width: 58%; color: var(--muted); font-size: 16px; }
.banks { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.banks span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 17px; font-weight: 700; color: var(--text); }
.bb { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; }
.bb-logo { overflow: hidden; }
.bb-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Банк против Копибары */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vcard { padding: 36px; border-radius: 40px; background: #fff; border: 1px solid var(--border); }
.vcard.brand { background: linear-gradient(135deg, #0e6b60, #073f39); border: 0; color: #fff; }
.v-cap { margin: 0; color: var(--muted); font-size: 16px; font-weight: 600; }
.vcard.brand .v-cap { color: #bfe3db; }
.v-big { margin: 6px 0 20px; font-size: 54px; font-weight: 800; letter-spacing: -2px; color: var(--text); }
.v-big.bad { color: #c2410c; }
.vcard.brand .v-big { color: #fff; }
.op { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--border); font-size: 16px; }
.vcard.brand .op { border-color: #ffffff22; }
.op > div { flex: 1; min-width: 0; }
.op b { display: block; font-weight: 700; }
.op small { display: block; color: var(--muted); font-size: 14px; }
.vcard.brand .op small { color: #bfe3db; }
.op > span { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--sec); }
.tag { font-style: normal; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.tag.red { background: #fde4dc; color: #b42318; }
.tag.light { background: #ffffff26; color: #fff; }
.tag.gold { background: #f4d79a; color: #3d2a05; }
.tag.green { background: #dcf3e6; color: #11663a; }
.versus-note { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--sec); font-size: 18px; line-height: 1.55; }

/* 01 / 05 */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .3s; }
.step.on { opacity: 1; }
.step .n { margin: 0; color: var(--muted); font-size: 18px; font-weight: 600; }
.step h3 { margin: 8px 0 16px; font-size: 52px; line-height: 1.05; letter-spacing: -2px; }
.step p:not(.n) { margin: 0; font-size: 21px; line-height: 1.5; color: var(--sec); max-width: 560px; }
.story-phone { position: sticky; top: calc(50vh - 340px); height: 690px; display: grid; justify-items: center; }
.story-phone .iphone { width: 316px; }
.stack .scr { position: absolute; inset: 11px; height: auto; opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.stack .scr.past { transform: translateY(-40px) scale(.97); }
.stack .scr.show { opacity: 1; transform: none; }

/* Свёрстанный экран приложения (тёмная тема Копибары) */
.scr { position: relative; height: 100%; border-radius: 44px; background: #0b0f10; color: #f3f5f4; padding: 14px 14px 18px; overflow: hidden; font-size: 13px; line-height: 1.3; }
.iphone:not(.stack) > .scr { position: relative; height: 100%; }
.scr p { margin: 0; max-width: none; color: inherit; font-size: 13px; line-height: 1.3; }
.sb { display: flex; justify-content: space-between; padding: 2px 14px 10px; font-size: 13px; font-weight: 700; }
.sb-r { letter-spacing: -1px; }
.scr .a-title { margin: 6px 4px 10px; text-align: center; font-weight: 700; font-size: 15px; }
.scr .a-title.big { text-align: left; font-size: 26px; letter-spacing: -.6px; margin: 8px 4px 12px; }
.a-card { background: #16191b; border-radius: 18px; padding: 12px 14px; margin-bottom: 9px; }
.scr .a-cap { margin: 0 0 6px; color: #a8b0b2; font-size: 13px; font-weight: 600; }
.scr .a-num { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.8px; }
.scr .a-num.small { font-size: 21px; }
.scr .a-num.gold { color: #d6b77d; }
.scr .a-sub { margin: 4px 0 0; color: #8a9294; font-size: 13px; }
.scr .a-sub.c { text-align: center; margin: 0 6px 10px; }
.up { color: #5eead4; }
.down { color: #ff8a7a; }
.a-ring { position: relative; width: 170px; margin: 2px auto 4px; }
.a-ring svg { width: 100%; transform: rotate(-90deg); }
.r-bg { fill: none; stroke: #1d2425; stroke-width: 9; }
.r-fg { fill: none; stroke: #5eead4; stroke-width: 9; stroke-linecap: round; }
.a-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.a-ring small { color: #8a9294; font-size: 13px; }
.a-ring b { font-size: 25px; letter-spacing: -.8px; }
.scr .a-good { text-align: center; color: #5eead4; font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.a-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; }
.a-row > i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.a-row span { flex: 1; min-width: 0; }
.a-row em { display: block; height: 4px; margin-top: 4px; border-radius: 2px; width: var(--w); background: var(--c); }
.a-row b { font-variant-numeric: tabular-nums; font-size: 13px; }
.a-row.muted { color: #6f7b79; }
.a-row.muted s { color: #6f7b79; }
.a-bar { display: flex; gap: 3px; height: 10px; border-radius: 5px; overflow: hidden; }
.a-acc { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.a-card.list .a-acc + .a-acc { border-top: 1px solid #1f2426; }
.a-acc span { flex: 1; min-width: 0; font-weight: 600; }
.a-acc small { display: block; color: #8a9294; font-size: 13px; font-weight: 500; }
.a-acc b { font-variant-numeric: tabular-nums; font-size: 13px; }
.a-acc b.pc { color: #d6b77d; font-size: 15px; }
.bk { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.bk.av { border-radius: 50%; }
.scr .a-card.q .hint { margin: 6px 0 8px; color: #d6b77d; font-weight: 700; font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips em { font-style: normal; padding: 5px 10px; border-radius: 999px; background: #1f2426; color: #cbd1d0; font-size: 13px; font-weight: 600; }
.chips em.on { background: #d6b77d; color: #1d1608; }
.a-card.two { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.a-card.two small { display: block; color: #8a9294; font-size: 13px; }
.a-card.two b { font-size: 19px; }
.prog { height: 4px; border-radius: 2px; background: #1f2426; margin-top: 6px; overflow: hidden; }
.prog i { display: block; height: 100%; background: #5eead4; }

/* Тихие списания — bento: маленькая сумма в месяц → заметная в год */
.bento-silent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.silent { display: flex; flex-direction: column; min-height: 240px; padding: 30px; border-radius: 36px; background: #fff; border: 1px solid var(--border); }
.silent .head { display: flex; align-items: center; gap: 12px; }
.silent .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--surface2); }
.silent .who b { display: block; font-size: 21px; letter-spacing: -.3px; }
.silent .who small { color: var(--muted); font-size: 14px; font-weight: 600; }
.silent .rise { align-self: flex-start; margin-top: 14px; padding: 6px 12px; border-radius: 10px; background: #fde4dc; color: #b42318; font-size: 15px; font-weight: 800; }
.silent .math { margin-top: auto; padding-top: 18px; }
.silent .per-month { color: var(--muted); font-size: 17px; font-weight: 600; }
.silent .per-month s { color: var(--muted); }
.silent .per-year { display: block; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; color: var(--text); }
.silent .per-year span { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.silent.wide { grid-row: span 2; background: linear-gradient(160deg, #0e6b60, #073f39); border: 0; color: #fff; }
.silent.wide img { width: 170px; height: auto; margin: -10px 0 10px -10px; }
.silent.wide p { margin: 0; color: #d8efe9; font-size: 18px; line-height: 1.5; }
.silent.wide .per-year { color: #fff; font-size: 60px; letter-spacing: -2.4px; margin-top: auto; }
.silent.wide .per-year span { color: #bfe3db; }
.silent.wide small { color: #bfe3db; font-size: 15px; margin-top: 8px; }

/* Разбор в браузере — карточка бренда */
.try { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 140px; padding: 64px; border-radius: 48px; background: radial-gradient(700px 400px at 90% 0, #179383, transparent 60%), linear-gradient(135deg, #0e6b60, #073f39); color: #fff; }
.try h2 { color: #fff; font-size: 50px; line-height: 1.05; letter-spacing: -1.8px; margin: 0 0 18px; }
.try p { color: #d8efe9; font-size: 19px; margin: 0; }
.try .zen { margin: 22px 0 30px; padding: 16px 20px; border-radius: 18px; background: #ffffff1a; color: #fff; font-size: 18px; }
.try img { width: 100%; max-width: 340px; justify-self: center; }
.try-banks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; color: #bfe3db; font-size: 15px; }
.try-banks .banks span { background: #ffffff; border: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.white { background: #fff; color: #0b1112; padding: 17px 28px; font-size: 17px; }
.btn.outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #ffffff70; padding: 17px 28px; font-size: 17px; }

/* Материалы */
.reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.read { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 32px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.read:hover { box-shadow: 0 20px 40px #0b111214; }
.read small { color: var(--brand); font-weight: 700; font-size: 14px; }
.read b { font-size: 21px; line-height: 1.3; }
.read span { color: var(--sec); font-size: 16px; }

/* Вопросы */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 24px; background: #fff; border: 1px solid var(--border); padding: 0 28px; }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 24px; color: var(--sec); font-size: 17px; }

/* Финал */
.final { text-align: center; margin: 160px auto 40px; }
.app-icon { width: 180px; height: 180px; border-radius: 42px; box-shadow: 0 30px 60px #0e6b6055; }
.final h2 { font-size: 64px; line-height: 1.03; letter-spacing: -2.6px; margin: 40px 0 32px; }
.center-row { justify-content: center; margin-top: 0; }

html.light .site-foot { border-color: var(--border); }
html.light .site-foot a { color: var(--sec); }

@media (max-width: 1100px) {
  .hero-card h1 { font-size: 58px; letter-spacing: -2.4px; }
  .center h2, .final h2 { font-size: 48px; letter-spacing: -1.8px; }
  .step h3 { font-size: 40px; }
  .b1 { left: -20px; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .banks-row { padding-left: 0; max-width: none; justify-content: center; }
  .hero-card { grid-template-columns: minmax(0, 1fr); padding: 44px 28px 0; border-radius: 36px; min-height: 0; overflow: hidden; }
  .hero-phone { height: 500px; }
  .hero-phone .iphone { position: relative; right: auto; top: 40px; margin: 0 auto; width: 300px; }
  .b1 { left: -6px; top: 330px; } .b2 { right: -6px; top: 420px; }
  .bubble { font-size: 17px; padding: 10px 14px; }
  .versus, .bento-silent, .reads, .try { grid-template-columns: minmax(0, 1fr); }
  .silent.wide { grid-row: auto; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-phone { order: -1; position: sticky; top: 0; z-index: 3; height: 470px; padding-top: 8px; background: linear-gradient(var(--bg) 88%, transparent); }
  .story-phone .iphone { transform: scale(.66); transform-origin: top center; }
  .step { min-height: 60vh; padding: 20px 0; }
  .try { padding: 36px 26px; }
  .try h2 { font-size: 34px; }
  .try img { max-width: 200px; }
  .center { margin-top: 96px; }
}
@media (max-width: 600px) {
  .hero-card h1 { font-size: 42px; letter-spacing: -1.6px; }
  .hero-card p { font-size: 17px; }
  .center h2, .final h2 { font-size: 34px; letter-spacing: -1.2px; }
  .step h3 { font-size: 32px; letter-spacing: -1px; }
  .step p:not(.n) { font-size: 17px; }
  .vcard { padding: 26px 20px; }
  .v-big { font-size: 40px; }
  .op > span { display: none; }
  .store { font-size: 18px; }
  .head-cta { display: none; }
}
/* Таб-бар внизу свёрстанного экрана */
.scr::after { content: 'Счета      Операции      Выгода      Новости'; position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 14px 0; border-radius: 26px; background: #1a1e20e6; color: #8a9294; font-size: 13px; font-weight: 600; text-align: center; white-space: pre; }
/* Детали свёрстанных экранов: логотипы банков, сегменты, плитки, кешбэк */
.lg { flex: none; width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.a-acc .lg + b { margin-left: 4px; }
.scr .a-title small { display: block; color: #8a9294; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.a-sec { display: flex; justify-content: space-between; margin: 10px 4px 6px; color: #cbd1d0; font-size: 13px; font-weight: 700; }
.a-sec span { font-weight: 500; color: #8a9294; }
.a-sec span.up { color: #5eead4; }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: #16191b; margin-bottom: 4px; }
.seg em { flex: 1; text-align: center; font-style: normal; padding: 6px 0; border-radius: 9px; color: #8a9294; font-size: 13px; font-weight: 600; }
.seg em.on { background: #2a3032; color: #f3f5f4; }
.seg.small { background: none; padding: 0; gap: 8px; align-items: center; margin: 4px 0 8px; }
.seg.small em { flex: none; padding: 0 0 4px; border-bottom: 2px solid #d6b77d; border-radius: 0; color: #f3f5f4; }
.search { padding: 9px 12px; border-radius: 12px; background: #16191b; color: #6f7b79; font-size: 13px; margin-bottom: 9px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 2px; }
.tiles div { padding: 10px 12px; border-radius: 16px; background: #16191b; }
.tiles b { display: block; font-size: 17px; }
.tiles small { color: #8a9294; font-size: 13px; }
.a-acc b.mut { color: #6f7b79; }
.scr .a-cap.big { color: #f3f5f4; font-size: 15px; font-weight: 700; }
.cb { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 13px; }
.cb b { margin-left: auto; font-size: 13px; }
.cb .lg { width: 20px; height: 20px; border-radius: 5px; }
.cb-ring { position: relative; width: 150px; margin: 0 auto; }
.cb-ring svg { width: 100%; transform: rotate(-90deg); }
.r-fg.gold { stroke: #d6b77d; }
.cb-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cb-ring b { font-size: 24px; }
.cb-ring small { color: #8a9294; font-size: 13px; }
.hero-num .logos { display: flex; gap: 5px; margin: 2px 0 12px; }
.hero-num .logos .lg { width: 24px; height: 24px; }
.scr .a-num.strike { color: #ff8a7a; text-decoration: line-through; text-decoration-thickness: 2px; font-size: 22px; margin-bottom: 8px; }
.scr .a-num.up { color: #5eead4; font-size: 32px; }
/* Логотипы внутри экрана — не картинка экрана во весь телефон (.iphone img) */
.iphone .scr img.lg { position: static; display: block; width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.iphone .scr .cb img.lg, .iphone .scr .seg img.lg { width: 20px; height: 20px; border-radius: 5px; }
.iphone .scr .logos img.lg { width: 24px; height: 24px; border-radius: 50%; }
.scr .cb-ring { width: 120px; }
.scr .cb-ring b { font-size: 21px; }
.scr .a-acc small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iphone .scr .a-acc span + img.lg { width: 18px; height: 18px; border-radius: 5px; }
/* Экраны из набора App Store (scripts/appstore-screenshots/poster.mjs, SCREENS_OUT) */
.scr.shot { padding: 0; background: #0e1213; }
.scr.shot::after { display: none; }
.iphone .scr.shot img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 44px; }
/* Карточка поверх телефона героя — как на слайде App Store «Сколько вы правда тратите» */
.over-card { position: absolute; z-index: 2; left: -40px; bottom: -60px; width: 330px; padding: 20px 22px; border-radius: 26px; background: #171d1f; color: #f3f5f4; box-shadow: 0 30px 60px #0007; transform: rotate(-3deg); border: 1px solid #2c3639; }
.oc-cap { margin: 0 0 6px; font-size: 15px; color: #a5afae; }
.oc-cap s { color: #ff8a7a; margin-left: 6px; font-weight: 700; }
.oc-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #2c3639; font-size: 15px; }
.oc-row b { font-variant-numeric: tabular-nums; }
.oc-row.total { font-size: 18px; font-weight: 800; }
.oc-row.total b { color: #d9bd83; }
@media (max-width: 860px) { .over-card { left: 6px; bottom: -10px; width: 280px; } }
/* Герой: три телефона — два на фоне веером, главный спереди (как слайды App Store) */
.hero-phone .iphone.front { z-index: 2; }
.hero-phone .iphone.back { width: 290px; filter: brightness(.8); z-index: 1; }
.hero-phone .b-left { right: 300px; top: 40px; transform: rotate(-8deg); }
.hero-phone .b-right { right: -190px; top: 40px; transform: rotate(8deg); }
.hero-card { overflow: visible; }
@media (max-width: 860px) {
  .hero-phone .iphone.back { width: 220px; position: absolute; }
  .hero-phone .b-left { left: -40px; right: auto; top: 70px; }
  .hero-phone .b-right { right: -40px; top: 80px; }
  .hero-card { overflow: hidden; }
}
/* Герой с тремя телефонами: текст уже, сцена шире; телефоны от центра сцены */
@media (min-width: 861px) {
  .hero-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 72px 56px; }
  .hero-card h1 { font-size: 64px; letter-spacing: -2.6px; }
  .hero-phone .iphone.front { left: 50%; right: auto; top: -40px; width: 320px; transform: translateX(-50%); }
  .hero-phone .b-left { left: 50%; right: auto; top: 30px; transform: translateX(-118%) rotate(-8deg); }
  .hero-phone .b-right { left: 50%; right: auto; top: 30px; transform: translateX(18%) rotate(8deg); }
}
html.light, html.light body { overflow-x: clip; }
@media (min-width: 861px) {
  .hero-text { position: relative; z-index: 3; max-width: 470px; }
  .hero-card p { max-width: 440px; }
  .hero-phone .iphone.front { width: 300px; left: 56%; }
  .hero-phone .iphone.back { width: 255px; }
  .hero-phone .b-left { left: 56%; top: 50px; transform: translateX(-108%) rotate(-7deg); }
  .hero-phone .b-right { left: 56%; top: 50px; transform: translateX(8%) rotate(7deg); }
  .stores { flex-direction: row; }
}
/* Увеличенные строки поверх телефона — «лупа» на главное, как в App Store у конкурентов */
.zoom { position: absolute; z-index: 3; left: -26%; right: -26%; padding: 14px 18px 12px; border-radius: 22px; background: #fff; color: #0b1112; box-shadow: 0 24px 50px #0006; }
.zrow { display: flex; align-items: center; gap: 12px; }
.zrow > div { flex: 1; min-width: 0; }
.zrow b { display: block; font-size: 19px; }
.zrow small { color: #5c6668; font-size: 14px; }
.zav { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 18px; }
.zav small { color: #fff !important; font-size: 13px !important; transform: scale(.8); letter-spacing: -.4px; }
.zsum { font-size: 20px !important; font-variant-numeric: tabular-nums; }
.zsum.mut { color: #8a9294; }
.zsum.plus { color: #11663a; }
.znote { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #e6f2ef; color: #0b3d36; font-size: 15px; }
.znote.warn { background: #fdecc8; color: #4a3305; }
.z1 { top: 31%; transform: rotate(-2deg); }
.z2 { top: 58%; transform: rotate(1.5deg); left: -36%; right: -16%; }
.z3 { top: 80%; transform: rotate(-1.5deg); left: -16%; right: -36%; }
@media (max-width: 860px) { .zoom { left: -6%; right: -6%; padding: 10px 12px; } .z2 { left: -10%; right: -2%; } .z3 { left: -2%; right: -10%; } .zrow b { font-size: 16px; } .znote { font-size: 13px; } }
.hero-card .zoom p.znote { color: #0b3d36; margin: 8px 0 0; font-size: 14px; line-height: 1.35; max-width: none; padding: 6px 10px; }
.hero-card .zoom p.znote.warn { color: #4a3305; }
.zoom { padding: 10px 14px; border-radius: 18px; }
.zrow b { font-size: 16px; }
.zrow small { font-size: 13px; }
.zav { width: 36px; height: 36px; font-size: 15px; }
.zsum { font-size: 17px !important; }
.z1 { top: 33%; left: -18%; right: -18%; }
.z2 { top: 56%; left: -30%; right: -6%; }
.z3 { top: 79%; left: -6%; right: -30%; }
@media (max-width: 860px) {
  .z1 { left: -4%; right: -4%; } .z2 { left: -8%; right: 0; } .z3 { left: 0; right: -8%; }
  .hero-phone { height: 660px; }
  .hero-card .zoom p.znote { font-size: 13px; }
}
/* Лупа v2: строка той же ленты, чуть крупнее и светлее, ровно на своём месте; подпись — в подстроке */
.hero-card .zoom { display: flex; align-items: center; gap: 10px; left: -7%; right: -7%; padding: 9px 14px; border-radius: 16px;
  background: #232a2c; color: #f3f5f4; border: 1px solid #3a4547; box-shadow: 0 14px 34px rgba(0,0,0,.45); transform: translateY(-50%); }
.hero-card .zoom > div { flex: 1; min-width: 0; }
.hero-card .zoom b { display: block; font-size: 15px; font-weight: 600; }
.hero-card .zoom small { display: block; color: #9aa6a4; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card .zoom em { font-style: normal; color: #5eead4; font-weight: 700; }
.hero-card .zoom em.warn { color: #e8c77e; }
.hero-card .zoom .zav { width: 32px; height: 32px; font-size: 14px; }
.hero-card .zoom .zsum { font-size: 15px !important; font-weight: 700; }
.hero-card .zoom .zsum.mut { color: #8a9294; }
.hero-card .zoom .zsum.plus { color: #94b6a3; }
.hero-card .z1 { top: 37.2%; left: -7%; right: -7%; }
.hero-card .z2 { top: 61.8%; left: -7%; right: -7%; }
.hero-card .z3 { top: 73.4%; left: -7%; right: -7%; }
.hero-card .zoom small { white-space: normal; overflow: visible; }
/* Лупа v3: компактнее + (i) с подсказкой при наведении/фокусе/тапе */
.hero-card .zoom { left: -4%; right: -4%; padding: 7px 10px; gap: 8px; border-radius: 14px; }
.hero-card .zoom b { font-size: 14px; }
.hero-card .zoom small { font-size: 13px; }
.hero-card .zoom .zav { width: 28px; height: 28px; font-size: 13px; }
.hero-card .zoom .zsum { font-size: 14px !important; }
.hero-card .z1, .hero-card .z2, .hero-card .z3 { left: -4%; right: -4%; }
.zi { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #6f7b79; color: #9aa6a4; font: italic 700 13px/15px Georgia, serif; text-align: center; cursor: help; outline: none; }
.zi:hover, .zi:focus { border-color: #e8c77e; color: #e8c77e; }
.ztip { position: absolute; z-index: 10; right: -10px; bottom: calc(100% + 10px); width: 250px; padding: 10px 12px; border-radius: 12px; background: #f3f5f4; color: #0b1112; font: 500 13px/1.4 var(--f); text-align: left; box-shadow: 0 12px 30px #0008; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.ztip::after { content: ''; position: absolute; right: 14px; top: 100%; border: 6px solid transparent; border-top-color: #f3f5f4; }
.zi:hover .ztip, .zi:focus .ztip { opacity: 1; transform: none; }
.hero-card .zoom:has(.zi:hover), .hero-card .zoom:has(.zi:focus) { z-index: 9; }
/* Строки-лупы — ровно над своими строками ленты (центры строк в feed: 38.2 / 64.9 / 79.2 % экрана) */
.hero-card .z1 { top: calc(11px + .382 * (100% - 22px)); }
.hero-card .z2 { top: calc(11px + .649 * (100% - 22px)); }
.hero-card .z3 { top: calc(11px + .792 * (100% - 22px)); }
/* Подсказка (i) v2: тёмное стекло в стиле приложения, заголовок латунью, мягкое появление */
.ztip { width: 270px; padding: 14px 16px 15px; border-radius: 18px; background: rgba(23,29,31,.96); color: #cbd1d0; border: 1px solid #3a4547;
  box-shadow: 0 20px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(12px); font: 500 14px/1.45 var(--f); transform: translateY(6px) scale(.98); }
.ztip::after { border-top-color: rgba(23,29,31,.96); }
.ztip strong { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: #e8c77e; font-size: 14px; font-weight: 700; }
.ztip strong::before { content: '✦'; font-size: 13px; }
.zi:hover .ztip, .zi:focus .ztip { transform: none; }
/* (i) — латунная таблетка, заметная на тёмной строке */
.zi { border: 0; background: #e8c77e; color: #1d1608; width: 20px; height: 20px; font: italic 800 13px/20px Georgia, serif; box-shadow: 0 0 0 3px rgba(232,199,126,.22); }
.zi:hover, .zi:focus { background: #f3d896; color: #1d1608; box-shadow: 0 0 0 5px rgba(232,199,126,.3); }
/* Три способа и сравнение — светлые карточки */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 36px; background: #fff; border: 1px solid var(--border); }
.way.hot { background: linear-gradient(160deg, #0e6b60, #073f39); border: 0; }
.way.hot h3, .way.hot p { color: #fff; }
.way .emoji { font-size: 40px; }
.way .price { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #e6f2ef; color: #0e6b60; }
.way .price.paid { background: #f4d79a; color: #3d2a05; }
.way h3 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.6px; }
.way p { margin: 0; color: var(--sec); font-size: 17px; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.cmp { padding: 34px; border-radius: 36px; }
.cmp h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 26px; }
.cmp h3 img { border-radius: 10px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 18px; }
.cmp.us { background: #fff; border: 2px solid #0e6b60; }
.cmp.us li::before { content: '✓'; color: #0e6b60; font-weight: 800; margin-right: 12px; }
.cmp.them { border: 1px dashed #c9d0cf; color: var(--muted); }
.cmp.them li::before { content: '✕'; margin-right: 12px; }
@media (max-width: 860px) { .ways, .compare { grid-template-columns: minmax(0, 1fr); } }
/* Герой: короткий заголовок + три пункта вместо абзаца */
.hero-card h1 .hl { color: #f4d79a; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; color: #d8efe9; font-size: 21px; }
.hero-points li::before { content: '✓'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #f4d79a; font-weight: 800; font-size: 16px; }
.hero-points b { color: #fff; font-weight: 700; }
@media (max-width: 600px) { .hero-points li { font-size: 18px; } }
.hero-points li { font-size: 19px; align-items: flex-start; }
.hero-points li::before { margin-top: 1px; }
@media (max-width: 600px) { .hero-points li { font-size: 17px; } }
@media (min-width: 861px) { .hero-card h1 { font-size: 58px; letter-spacing: -2.4px; } .hero-text { max-width: 500px; } }
@media (min-width: 861px) { .hero-card h1 { font-size: 54px; } .hero-card h1 .hl { white-space: nowrap; } }
html.light .logo .kopi { color: #b8924a; }
