/* Шрифты по лицензии SIL Open Font License 1.1 — Onest и Unbounded (Google Fonts). Самостоятельный хостинг. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/assets/fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/assets/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cekta — лендинг. Мобильная вёрстка по умолчанию, системные шрифты, без внешних запросов. */
:root {
  --bg: #0B0D0C; --card: #151917; --card-hi: #1D2220; --line: #262C29;
  --text: #F2F5F3; --dim: #9AA49E; --faint: #5A635E;
  --accent: #C8F25A; --ink: #0B0D0C; --warn: #F2B45A;
  --r: 28px; --gap: 16px;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Onest", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
/* overscroll: без «резинки» на iOS шапка не уезжает вместе со страницей при оттягивании. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior-y: none; scrollbar-gutter: stable; }
/* Пока открыт квиз, страница под ним стоит на месте. */
html.is-locked, html.is-locked body { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
/* Типографика как у дорогих продуктовых сайтов: крупно, плотно, с отрицательным трекингом. */
h1, h2, h3 { margin: 0 0 14px; font-weight: 800; }
h1 { font-size: clamp(34px, 9vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 7vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 12px; }
.accent { color: var(--accent); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 720px; }

/* Кнопки */
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); background: var(--accent);
  border-radius: 999px; padding: 15px 26px; letter-spacing: -0.01em; transition: transform .12s ease, filter .12s ease; text-decoration: none; display: inline-block; }
.btn:hover { filter: brightness(1.05); } .btn:active { transform: scale(.98); }
.btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--lg { font-size: 17px; padding: 19px 18px; width: 100%; max-width: 420px; text-align: center; white-space: nowrap; box-shadow: 0 10px 40px -10px rgba(200,242,90,.45); }
@media (min-width: 400px) { .btn--lg { font-size: 18px; padding: 20px 30px; } }
@media (max-width: 340px) { .btn--lg { font-size: 16px; padding: 18px 12px; } }
.btn--sm { font-size: 15px; padding: 10px 18px; }
.btn--ghost { background: var(--card-hi); color: var(--text); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11,13,12,.86); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.top .btn--sm { padding: 0 18px; min-height: 44px; font-size: 15px; display: inline-flex; align-items: center; }
.logo { color: var(--accent); font-family: var(--display); font-weight: 800; letter-spacing: .18em; text-decoration: none; font-size: 15px; margin: 0; }
a.logo { display: inline-flex; align-items: center; min-height: 44px; padding-right: 8px; }

/* Первый экран */
.hero { padding: 36px 0 48px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(200,242,90,.13), transparent 70%); pointer-events: none; }
.hero__in { position: relative; }
.hero__in { display: grid; gap: 32px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.lead { color: var(--dim); font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; max-width: 560px; margin-bottom: 28px; }
.micro { color: var(--faint); font-size: 14px; margin-top: 12px; }
.hero__phone { display: flex; justify-content: center; }

/* Телефон-рамка вокруг настоящих экранов приложения */
.phone { margin: 0; width: min(78vw, 300px); border-radius: 38px; padding: 9px; background: #000; border: 1px solid #2b302d;
  box-shadow: 0 30px 80px -20px rgba(200,242,90,.18), 0 0 0 1px #000; }
.phone img { border-radius: 30px; width: 100%; }
.phone--sm { width: min(70vw, 260px); }

/* Секции */
.sec { padding: 72px 0; }
.sec--alt { background: #0F1211; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__lead { color: var(--dim); font-size: clamp(18px, 2vw, 20px); max-width: 600px; }

.steps { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.steps p { color: var(--dim); margin: 0; }
.steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15px; display: grid; place-items: center; }

.split { display: grid; gap: 28px; align-items: center; justify-items: center; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--r); padding: 20px; max-width: 520px; }
.note p { color: var(--dim); margin: 0; }

.cards { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.cards span { color: var(--dim); font-size: 15px; }
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--dim); font-weight: 600; font-size: 15px; }
.ladder i { width: 18px; height: 2px; background: var(--line); display: inline-block; }

.trust { display: grid; gap: 14px; margin-top: 24px; }
.trust__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.trust__item p:last-child { color: var(--dim); margin: 0; }
.big { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin-bottom: 8px; }

.price { display: grid; gap: 14px; margin-top: 20px; }
.price__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.price__col p { color: var(--dim); margin: 0; }
.price__col--pro { border-color: var(--accent); }

/* Зона нажатия — вся строка вопроса, а не только текст. */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 60px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--dim); margin: -4px 0 0; padding-bottom: 18px; }

.final { padding: 64px 0 72px; text-align: center; }
.final .lead { margin: 0 auto 24px; }
.stores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.store { border: 1px solid var(--line); color: var(--dim); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--faint); font-size: 14px; }
.foot__in { display: grid; gap: 10px; }
.foot__nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.foot__nav a { color: var(--dim); display: inline-flex; align-items: center; min-height: 44px; }
.foot__req:empty { display: none; }

/* Квиз */
.quiz { width: 100%; max-width: 560px; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh; overscroll-behavior: contain; margin: auto; padding: 0; border: 0; background: var(--bg); color: var(--text); }
.quiz::backdrop { background: rgba(0,0,0,.7); }
.quiz[open] { display: flex; flex-direction: column; }
.quiz__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); }
.quiz__back, .quiz__close { appearance: none; border: 0; background: var(--card-hi); color: var(--text); width: 40px; height: 40px; border-radius: 12px; font-size: 18px; cursor: pointer; }
.quiz__back[hidden] { visibility: hidden; display: block; }
.quiz__progress { flex: 1; height: 6px; background: var(--card-hi); border-radius: 3px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.quiz__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); }
.quiz h2 { font-size: 28px; margin: 8px 0 18px; }
.opts { display: grid; gap: 10px; }
.opt { appearance: none; text-align: left; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opt:hover, .opt:focus-visible { border-color: var(--accent); outline: none; }
.opt b { display: block; font-size: 17px; } .opt span { color: var(--dim); font-size: 15px; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fields label { display: grid; gap: 6px; font-size: 14px; color: var(--dim); }
.fields input { font: inherit; font-size: 20px; font-weight: 700; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; width: 100%; }
.fields input:focus { border-color: var(--accent); outline: none; }
.hint { color: var(--faint); font-size: 14px; }
.err { color: var(--warn); font-size: 15px; min-height: 22px; }
.result__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.result__nums div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; text-align: center; min-width: 0; }
.result__nums b { display: block; font-family: var(--display); font-size: clamp(17px, 5.4vw, 22px); font-weight: 700; color: var(--accent); white-space: nowrap; }
.result__nums span { color: var(--dim); font-size: 13px; }
.result ul { padding-left: 20px; color: var(--dim); } .result li { margin-bottom: 6px; }
.result__box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 14px 0; }
.result__box p { color: var(--dim); margin: 0; }
/* Кнопка в Telegram закреплена внизу экрана результата. */
.result__cta { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); margin: 16px -16px calc(-24px - env(safe-area-inset-bottom));
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(11,13,12,0)); }
.result__cta .btn--lg { max-width: none; }
.result__again { appearance: none; background: none; border: 0; color: var(--dim); font: inherit; text-decoration: underline; cursor: pointer; margin-top: 14px; }

/* Cookie */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; background: var(--card-hi); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; font-size: 14px; max-width: 560px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.cookie p { margin: 0; color: var(--dim); } .cookie div { display: flex; gap: 8px; }
.cookie[hidden] { display: none; }

/* Документы */
.doc { padding: 32px 0 64px; } .doc h1 { font-size: 32px; } .doc h2 { font-size: 22px; margin-top: 28px; }
.doc p, .doc li { color: var(--dim); }

/* Кланы: текст с выгодами + один телефон и две «парящие» карточки поверх */
.clans { display: grid; gap: 40px; align-items: center; }
.vals { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.vals li { display: flex; gap: 16px; align-items: flex-start; }
.vals__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(200,242,90,.08); border: 1px solid rgba(200,242,90,.22); }
.vals__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vals b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.vals p { color: var(--dim); margin: 4px 0 0; font-size: 16px; }
.clans__vis { position: relative; width: 100%; max-width: 380px; margin: 0 auto; padding: 28px 0 56px; display: flex; justify-content: center; }
.clans__phone { width: min(62vw, 270px); }
.float { position: absolute; z-index: 1; background: rgba(21,25,23,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid #2f3632; border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.35;
  box-shadow: 0 24px 50px -14px rgba(0,0,0,.75); }
.float p { margin: 0; }
.float--rank { left: 0; bottom: 18px; width: 205px; }
.float__t { color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px !important; }
.float ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.float li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: baseline; color: var(--dim); }
.float li span { font-family: var(--display); font-weight: 700; font-size: 13px; }
.float li b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float li em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.float li.is-me { color: var(--text); } .float li.is-me span, .float li.is-me em { color: var(--accent); }
.float--msg { right: 0; top: 40%; width: 196px; }
.float__who { font-size: 13px; color: var(--dim); margin-bottom: 4px !important; } .float__who b { color: var(--accent); }

/* Планшеты и компьютеры */
@media (min-width: 760px) {
  .hero__in { grid-template-columns: 1.45fr .75fr; gap: 56px; }
  .hero h1 { font-size: clamp(44px, 4.6vw, 64px); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .split { grid-template-columns: auto 1fr; justify-items: start; }
  .split--rev { grid-template-columns: 1fr auto; }
  .trust, .price { grid-template-columns: repeat(3, 1fr); }
  .price { grid-template-columns: 1fr 1fr; }
  .sec { padding: 120px 0; }
  .clans { grid-template-columns: 1fr 1fr; gap: 72px; }
  .clans__vis { max-width: 560px; padding: 24px 0; }
  .clans__phone { width: 290px; }
  .float { font-size: 14px; }
  .float--rank { width: 230px; bottom: 44px; left: 0; }
  .float--msg { width: 220px; top: 43%; right: 0; }
  .hero { padding: 80px 0 96px; }
  .quiz { height: auto; max-height: 92vh; border-radius: 24px; border: 1px solid var(--line); }
  .cookie { left: 24px; right: auto; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ---------- Мини-демо в телефоне (блок «Как работает», рядом с «Честно о точности») ----------
   Экран повторяет приложение: системный шрифт, те же цвета и размеры. */
.phone--live { position: relative; flex: none; width: min(80vw, 300px); aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 44px;
  background: linear-gradient(145deg, #2a2f2c, #0c0e0d 40%, #1c201e); border: 1px solid #2b302d;
  box-shadow: 0 30px 80px -20px rgba(200,242,90,.18), 0 0 0 1px #000; }
.ph__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #000; border-radius: 20px; z-index: 2; }
.ph__screen { --pc: #151917; --pl: #262C29; --ph: #1D2220; position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #0B0D0C;
  padding: 48px 13px 16px; display: flex; flex-direction: column; gap: 9px;
  font: 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", sans-serif; color: #F2F5F3; letter-spacing: 0; }
.ph__screen noscript img { border-radius: 28px; }
.ph__screen button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ph__screen button:focus-visible { outline: 2px solid #C8F25A; outline-offset: 2px; }
.ph__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; text-align: center; min-height: 26px; }
.ph__head b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph__link { background: none; border: 0; color: #9AA49E; font-size: 12.5px; padding: 4px 0; text-align: left; }
.ph__back { font-size: 24px; line-height: 1; color: #F2F5F3; }
.ph__tag { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #C8F25A; font-size: 11.5px; font-weight: 700;
  background: rgba(200,242,90,.08); border: 1px solid rgba(200,242,90,.25); border-radius: 999px; padding: 4px 10px; }
.ph__tag i { width: 6px; height: 6px; border-radius: 50%; background: #C8F25A; animation: phpulse 1.8s infinite; }
@keyframes phpulse { 0% { box-shadow: 0 0 0 0 rgba(200,242,90,.55); } 70% { box-shadow: 0 0 0 7px rgba(200,242,90,0); } 100% { box-shadow: 0 0 0 0 rgba(200,242,90,0); } }

.ph__view { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #2A2420; flex: none; }
.ph__view img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ph__corner { position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.85); }
.ph__corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.ph__corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.ph__corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.ph__corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.ph__scanline { position: absolute; left: 6%; right: 6%; height: 2px; background: #C8F25A; box-shadow: 0 0 16px 4px rgba(200,242,90,.55); top: 10%; animation: phscan 1.1s ease-in-out infinite alternate; }
@keyframes phscan { to { top: 88%; } }
.ph__scanmsg { position: absolute; inset: auto 0 12px; text-align: center; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.ph__view.is-scan img { filter: saturate(.85) brightness(.8); }

.ph__chips { display: flex; gap: 6px; justify-content: center; }
.ph__chip { border: 0; background: var(--ph); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; }
.ph__chip.is-on { background: #C8F25A; color: #0B0D0C !important; }
.ph__shutter { align-self: center; margin-top: auto; width: 64px; height: 64px; border-radius: 50%; border: 4px solid rgba(255,255,255,.9); background: transparent; padding: 4px; flex: none; }
.ph__shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #C8F25A; transition: transform .12s ease; }
.ph__shutter:active span { transform: scale(.88); }
.ph__shutter:disabled { opacity: .5; }
.ph__hint { text-align: center; color: #8C9690; font-size: 12px; margin: 0; }

.ph__card { background: var(--pc); border: 1px solid var(--pl); border-radius: 18px; padding: 12px; }
.ph__totals { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: end; gap: 6px; }
.ph__totals b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ph__totals b.ph__k { font-size: 25px; }
.ph__totals span { color: #8C9690; font-size: 11px; }
.ph__k { color: #C8F25A; } .ph__p { color: #5AC8F2; } .ph__f { color: #F2B45A; } .ph__c { color: #B48CF2; }
.ph__conf { color: #8C9690; font-size: 11px; line-height: 1.35; margin: -2px 2px 0; }
.ph__items { padding: 2px 12px; overflow-y: auto; min-height: 0; }
.ph__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 7px 0; border-bottom: 1px solid var(--pl); }
.ph__item:last-child { border-bottom: 0; }
.ph__irow { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.ph__irow b { font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph__irow em { font-style: normal; color: #F2F5F3; font-weight: 700; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ph__irow span { color: #8C9690; font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph__ctl { display: flex; align-items: center; gap: 2px; flex: none; }
.ph__step { flex: none; display: flex; align-items: center; background: var(--ph); border-radius: 12px; }
.ph__step button { width: 30px; height: 30px; border: 0; background: none; font-size: 18px; font-weight: 700; color: #C8F25A !important; }
.ph__step output { min-width: 46px; text-align: center; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.ph__step output.is-bump { animation: phbump .25s ease; }
@keyframes phbump { 50% { color: #C8F25A; } }
.ph__x { flex: none; border: 0; background: none; color: #5A635E !important; font-size: 18px; width: 24px; height: 30px; text-align: right; padding: 0; }
.ph__btn { margin-top: auto; flex: none; border: 0; border-radius: 16px; background: #C8F25A; color: #0B0D0C !important; font-weight: 800 !important; font-size: 15px !important; padding: 13px; }
.ph__btn--ghost { background: var(--ph); color: #F2F5F3 !important; }

.ph__ring { position: relative; width: 140px; height: 140px; align-self: center; margin-top: 2px; flex: none; }
.ph__ring svg { width: 100%; height: 100%; }
.ph__ring svg circle:last-child { transition: stroke-dasharray .6s ease; }
.ph__ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ph__ring b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ph__ring span { color: #8C9690; font-size: 11px; }
.ph__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph__bar span { color: #8C9690; font-size: 11px; }
.ph__bar i { display: block; height: 5px; border-radius: 3px; background: var(--ph); overflow: hidden; margin: 4px 0; }
.ph__bar em { display: block; height: 100%; transition: width .6s ease; }
.ph__bar em.ph__p { background: #5AC8F2; } .ph__bar em.ph__f { background: #F2B45A; } .ph__bar em.ph__c { background: #B48CF2; }
.ph__bar b { font-size: 12.5px; font-variant-numeric: tabular-nums; } .ph__bar small { color: #8C9690; font-weight: 500; }
.ph__normnote { color: #5A635E; font-size: 11px; text-align: center; margin: 0; }
.ph__meals { display: grid; gap: 6px; overflow-y: auto; min-height: 0; }
.ph__meal { display: flex; justify-content: space-between; background: var(--pc); border: 1px solid var(--pl); border-radius: 14px; padding: 9px 12px; font-size: 13.5px; }
.ph__meal span { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .ph__scanline, .ph__tag i { animation: none; } }
/* Узкие телефоны (iPhone SE и подобные): демо сжимается, чтобы кнопки помещались. */
.phone--live { container-type: inline-size; }
@container (max-width: 280px) {
  .ph__screen { padding: 44px 10px 14px; gap: 7px; font-size: 13px; }
  .ph__items { padding: 2px 9px; }
  .ph__irow b, .ph__irow em { font-size: 12.5px; }
  .ph__irow span { font-size: 10.5px; }
  .ph__step button { width: 24px; height: 28px; font-size: 16px; }
  .ph__step output { min-width: 38px; font-size: 12px; }
  .ph__x { width: 16px; font-size: 15px; }
  .ph__ctl { gap: 0; }
  .ph__head { grid-template-columns: 28px 1fr 28px; }
  .ph__head b { font-size: 14px; }
  .ph__irow { gap: 4px; }
  .ph__totals b { font-size: 15px; } .ph__totals b.ph__k { font-size: 21px; }
  .ph__chip { padding: 7px 11px; font-size: 12px; }
  .ph__ring { width: 120px; height: 120px; } .ph__ring b { font-size: 24px; }
}

/* Мужская ветка: карточка повторяет экран ветки в приложении */
.men__note { color: var(--dim); font-size: 15px; max-width: 520px; margin: 0; }
.men__app { width: 100%; max-width: 360px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.men__top { display: flex; justify-content: space-between; align-items: baseline; }
.men__top b { font-family: var(--display); font-size: 34px; line-height: 1; }
.men__top small { color: var(--dim); font-size: 15px; }
.men__top span { color: var(--dim); font-size: 14px; }
.men__bar { display: block; height: 6px; background: var(--card-hi); border-radius: 3px; overflow: hidden; }
.men__bar em { display: block; height: 100%; width: 6%; background: var(--accent); border-radius: 3px; }
.men__stage { font-weight: 700; font-size: 18px; margin: 6px 0 0; }
.men__stage span { color: var(--dim); font-weight: 400; font-size: 14px; }
.men__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.men__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 20px; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.men__list em { font-style: normal; font-weight: 700; color: var(--dim); }
.men__list b { font-weight: 600; }
.men__list small { display: block; color: var(--dim); font-weight: 400; font-size: 13px; }
.men__list svg { width: 20px; height: 20px; }
.men__list .is-done em { color: var(--accent); }
.men__list .is-lock b, .men__list .is-lock em { color: var(--faint); }
.men__next { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.men__next span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--faint); font-size: 14px; font-weight: 600; }
@media (min-width: 760px) { .men__app { width: 340px; } }
