/* Лендинг Sfera (sfera.energy). Токены — те же, что у кабинета
   (web/app/assets/stylesheets/tokens.css): Fixel, синий #1f5bff, жёлтая искра,
   navy. Экраны кабинета ниже (.cab-*) — HTML-копии «Сьогодні», «Результати» и
   телефона на демо-данных; масштабирует их script.js (.shot). */

@font-face { font-family: "Fixel Text"; src: url("/fonts/FixelText-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url("/fonts/FixelText-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url("/fonts/FixelText-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url("/fonts/FixelText-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fixel Display"; src: url("/fonts/FixelDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fixel Display"; src: url("/fonts/FixelDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --accent: #1f5bff;
  --accent-600: #1747c8;
  --accent-soft: rgba(31, 91, 255, 0.08);
  --yellow: #ffd500;
  --navy: #1b2764;
  --navy-2: #101740;
  --navy-text: #c9d0e6;
  --bg: #f4f5f8;
  --card: #ffffff;
  --sunken: #eff1f5;
  --text: #16171a;
  --muted: #5c5f68;
  --faint: #686b75;
  --border: #e6e8ed;
  --border-strong: #d4d7de;
  --ok: #0b5e3a;
  --ok-soft: #e7f5ec;
  --warn: #8a5200;
  --warn-soft: #fff3df;
  --orange: #c96f00;
  --font: "Fixel Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fixel Display", "Fixel Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 18, 24, 0.04), 0 1px 3px rgba(16, 18, 24, 0.04);
  --shadow-lift: 0 1px 2px rgba(16, 18, 24, 0.04), 0 12px 32px -16px rgba(16, 18, 24, 0.16);
  --page: 1280px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: var(--accent); }
a:hover { color: var(--accent-600); }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-lift); font-weight: 600; }
.skip:focus { top: 12px; }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 140ms ease, border-color 140ms ease; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 91, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--accent-600); border-color: var(--accent); background: #f7f9ff; }
.btn-yellow { background: var(--yellow); color: var(--navy-2); font-weight: 700; min-height: 56px; border-radius: 14px; }
.btn-yellow:hover { background: #ffe14d; color: var(--navy-2); }

/* --- шапка --- */
body { background-image: radial-gradient(ellipse 45% 520px at 4% 0, rgba(255, 213, 0, 0.22), transparent 72%), radial-gradient(ellipse 55% 560px at 98% 0, rgba(31, 91, 255, 0.11), transparent 74%); background-repeat: no-repeat; }
.header { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 0.16em; color: var(--navy); }
.brand-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 28px; flex: 1 1 auto; }
.nav a { color: #3d4049; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- hero --- */
.hero { padding-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: #3d4049; }
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.25); }
.hero h1 { font-size: clamp(38px, 6vw, 78px); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.stage { max-width: 1320px; margin: 0 auto; padding: 64px 24px 0; }
.stage-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.browser { border-radius: 18px; background: #fff; border: 1px solid #dfe2e8; box-shadow: 0 2px 4px rgba(16, 18, 24, 0.04), 0 40px 80px -32px rgba(27, 39, 100, 0.35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #eceef2; background: #fafbfc; }
.browser-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #e3e5ea; }
.browser-bar > em { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: var(--sunken); font-size: 12.5px; color: var(--muted); font-style: normal; }
.stage-phone { position: absolute; right: 20px; bottom: -48px; width: 248px; }
.demo-note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--faint); }

/* масштабируемый «снимок»: --w/--h — видимая область, --x/--y — её сдвиг */
.shot { position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--w) / var(--h); }
.shot-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, 1)) translate(calc(var(--x, 0) * -1px), calc(var(--y, 0) * -1px)); }
.phone { padding: 12px; border-radius: 58px; background: #0f1426; box-shadow: 0 50px 90px -30px rgba(15, 20, 38, 0.55); }
.phone-screen { position: relative; width: 390px; height: 844px; border-radius: 46px; overflow: hidden; }
.shot .phone { width: 414px; height: 868px; }
.stage-phone .shot { overflow: visible; } /* иначе тень корпуса обрезается ровным прямоугольником */

/* --- секции --- */
.section { padding-top: 128px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -0.03em; }
.h2-sm { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.muted { color: var(--muted); }
.split-head { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.split-head .h2 { flex: 1 1 480px; max-width: 16ch; }
.split-head p { flex: 1 1 360px; max-width: 30em; }

.steps { list-style: none; margin: 0; padding: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 0; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm); }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; }
.steps li:last-child { padding-right: 0; }
.step-head { display: flex; align-items: center; gap: 10px; height: 32px; }
.mark { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.mark-done { background: var(--ok); color: #fff; }
.mark-now { background: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px rgba(31, 91, 255, 0.10); }
.mark-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.mark-next { background: #fff; box-shadow: inset 0 0 0 2px var(--border-strong); }
.line { flex: 1; height: 2px; border-radius: 1px; background: var(--border); }
.line-done { background: var(--ok); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 16px; }

.feature { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.feature-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature-media { flex: 1.6 1 560px; min-width: 0; }
.feature.reverse { flex-wrap: wrap-reverse; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 2px; }
.media-card { border-radius: 20px; background: #fff; border: 1px solid #dfe2e8; box-shadow: 0 30px 60px -30px rgba(27, 39, 100, 0.30); overflow: hidden; }
.phone-stage { display: flex; justify-content: center; align-items: flex-start; height: 560px; overflow: hidden; border-radius: 24px; background: var(--navy); background-image: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255, 213, 0, 0.18), transparent 70%); padding-top: 56px; }
.phone-stage .shot { width: 340px; max-width: 86%; }

.cards4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards4 li { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cards4 .num { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--faint); }
.cards4 h3 { font-size: 21px; }
.cards4 p { color: var(--muted); font-size: 16px; }
.cards4 li.is-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards4 li.is-navy .num { color: var(--yellow); }
.cards4 li.is-navy p { color: var(--navy-text); }

.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.faq > h2 { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-strong); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 26px; line-height: 1; color: var(--accent); flex: none; transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 46em; }

.cta { padding-top: 128px; padding-bottom: 96px; }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.cta-box > svg { position: absolute; right: -90px; top: -110px; opacity: 0.07; }
.cta-text { position: relative; flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-text h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; }
.cta-text p { font-size: 19px; color: var(--navy-text); max-width: 32em; }
.cta-box .btn { position: relative; }

.footer { border-top: 1px solid var(--border); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); }

/* --- адаптив --- */
@media (max-width: 1100px) {
  .steps, .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { padding-right: 0; }
  .stage-phone { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header { justify-content: space-between; }
  .header-actions .btn-primary { display: none; }
  .hero { padding-top: 40px; }
  .stage { padding-top: 40px; }
  .section { padding-top: 88px; }
  .steps, .cards4 { grid-template-columns: 1fr; }
  .steps { padding: 24px; }
  .steps li { padding-right: 0; }
  .line { display: none; }
  .phone-stage { height: 480px; }
  .cta { padding-top: 88px; padding-bottom: 64px; }
  .btn { white-space: normal; text-align: center; }
  /* на телефоне в герое — телефонный экран: десктопный в 340 px не читается */
  .browser { display: none; }
  .stage-phone { display: block; position: static; width: min(300px, 80vw); margin: 0 auto; }
}

/* =========================================================================
   Экраны кабинета (демо). Шрифт и размеры — как в web/app/assets/stylesheets.
   ========================================================================= */
.cab { width: 1240px; height: 900px; display: flex; overflow: hidden; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg); text-align: left; }
.cab-side { width: 228px; flex: none; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: rgba(255, 255, 255, 0.72); padding: 22px 0 16px; }
.cab-brand { display: flex; align-items: center; gap: 11px; padding: 0 20px 22px; }
.cab-mark { width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; }
.cab-brand b { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0.16em; line-height: 1.3; }
.cab-brand small { display: block; font-size: 10.5px; color: var(--yellow); letter-spacing: 0.08em; text-transform: uppercase; }
.cab-chip { margin: 0 12px 18px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); line-height: 1.25; }
.cab-chip b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.cab-chip small { display: block; color: #8e9bbb; font-size: 11.5px; }
.cab-tile { width: 28px; height: 28px; flex: none; border-radius: 8px; background: #e3ebff; color: var(--accent-600); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.cab-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.cab-nav span { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px; border-left: 3px solid transparent; }
.cab-nav span.on { border-left-color: var(--yellow); background: rgba(255, 255, 255, 0.09); color: #fff; font-weight: 600; }
.cab-user { margin: auto 12px 0; display: flex; align-items: center; gap: 11px; padding: 10px 12px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); line-height: 1.25; }
.cab-user i { width: 32px; height: 32px; flex: none; border-radius: 50%; background: linear-gradient(145deg, #4a7dff, #1f5bff); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; font-style: normal; }
.cab-user b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.cab-user small { display: block; color: #8e9bbb; font-size: 11.5px; }
.cab-main { flex: 1; min-width: 0; padding: 28px 40px; background-color: var(--bg); background-image: radial-gradient(ellipse 50% 420px at 6% 0, rgba(255, 213, 0, 0.20), transparent 72%), radial-gradient(ellipse 60% 460px at 96% 0, rgba(31, 91, 255, 0.09), transparent 74%); background-repeat: no-repeat; }
.cab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.cab-head h4 { margin: 0 0 4px; font-family: var(--font-head); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.cab-head p { color: var(--muted); font-size: 13.5px; }
.cab-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 9px; background: #fff; border: 1px solid var(--border-strong); font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.cab-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 91, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); padding: 0 16px; }
.cab-btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.cab-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-width: 0; }
.cab-card h5 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; }
.cab-card .sub { color: var(--muted); font-size: 13px; }
.cab-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.span4 { grid-column: span 4; } .span5 { grid-column: span 5; } .span7 { grid-column: span 7; } .span8 { grid-column: span 8; }
.cab-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.cab-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cab-legend i { width: 10px; height: 10px; border-radius: 2px; }
.cab-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* карточка дня */
.day { gap: 0; }
.day-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.day-title { display: flex; gap: 10px; align-items: center; margin: 2px 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.ok-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.phases { list-style: none; margin: 14px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phases li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 18px; }
.phases li:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 34px; right: 10px; height: 2px; border-radius: 1px; background: var(--border); }
.phases li.done:not(:last-child)::after { background: var(--ok); }
.pm { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--border-strong); }
.done .pm { background: var(--ok); box-shadow: none; color: #fff; font-size: 12px; font-weight: 700; }
.now .pm { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-soft); }
.now .pm::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.phases div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.phases b { font-size: 14px; font-weight: 600; }
.phases .next b { color: var(--muted); }
.phases span { color: var(--muted); font-size: 13.5px; }
.count { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-600); font-weight: 600; font-size: 13px; }
.day-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.vol-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.vol { margin: 2px 0; }
.vol b { font-family: var(--font-head); font-size: 40px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.vol span, .vol-note { color: var(--muted); }
.vol-note { font-size: 13.5px; }
.up { color: var(--ok); font-weight: 600; font-size: 12.5px; }
.day-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.day-acts > div { display: flex; gap: 8px; }
.day-acts p { font-size: 12.5px; color: var(--muted); }

/* профиль по часам */
.cb { position: relative; height: 176px; display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid var(--border-strong); background-image: linear-gradient(#eceef2 1px, transparent 1px); background-size: 100% 44px; }
.cb-outage { position: absolute; left: calc(17 / 24 * 100%); width: calc(2 / 24 * 100%); top: 0; bottom: 0; background: rgba(201, 111, 0, 0.06); border-left: 1px dashed #b36200; border-right: 1px dashed #b36200; }
.cb-col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.cb-col i { width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.92; }
.cb-col b { position: absolute; left: 50%; width: 6px; height: 6px; margin: 0 0 -3px -3px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px #fff; }
.axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }
.why { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.why i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: #eef3ff; color: var(--accent-600); display: grid; place-items: center; }
.why i.warn { background: var(--warn-soft); color: var(--warn); }
.why b { font-weight: 600; display: block; }
.why small { color: var(--muted); font-size: 13px; }

/* результаты */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--sunken); border: 1px solid var(--border); }
.seg span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.seg span.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(16, 18, 24, 0.08); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.kpi > span { color: var(--muted); font-size: 13px; }
.kpi > b { font-family: var(--font-head); font-size: 32px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.kpi > b small { font-family: var(--font); font-size: 16px; color: var(--muted); letter-spacing: 0; }
.kpi > em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.kpi > em.good { color: var(--ok); font-weight: 600; }
.cr-wrap { display: flex; gap: 10px; }
.cr-y { display: flex; flex-direction: column; justify-content: space-between; height: 190px; font-size: 11.5px; color: var(--faint); text-align: right; width: 26px; }
.cr { flex: 1; height: 190px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--border-strong); background-image: linear-gradient(#eceef2 1px, transparent 1px); background-size: 100% 95px; }
.cr-col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.cr-col i { width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; }
.cr-col b { position: absolute; left: -2px; right: -2px; height: 3px; margin-bottom: -1px; border-radius: 2px; background: var(--orange); }
.cr-col.is-emergency i { background: #c9ccd3; }
.cr-col.is-picked i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.vs { display: grid; grid-template-columns: 64px 1fr 52px; gap: 10px; align-items: center; font-size: 13.5px; }
.vs > span { font-weight: 600; }
.vs > i { height: 14px; border-radius: 4px; }
.vs > b { text-align: right; font-weight: 600; }
.note-box { padding: 10px 12px; border-radius: 9px; background: var(--sunken); font-size: 13.5px; }
.hours { display: grid; grid-template-columns: 70px 1fr 110px; gap: 8px 12px; font-size: 13.5px; align-items: center; }
.hours .th { color: var(--muted); font-size: 12.5px; }
.hours .r { text-align: right; }
.hours b { font-weight: 600; }
.hbar { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.hbar i { height: 8px; border-radius: 3px; }

/* телефон */
.mob { width: 390px; height: 844px; display: flex; flex-direction: column; overflow: hidden; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); text-align: left; background-color: var(--bg); background-image: radial-gradient(ellipse 80% 300px at 0 0, rgba(255, 213, 0, 0.22), transparent 72%), radial-gradient(ellipse 80% 320px at 100% 0, rgba(31, 91, 255, 0.10), transparent 74%); background-repeat: no-repeat; }
.mob-top { height: 54px; flex: none; }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 14px; }
.mob-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.16em; color: var(--navy); }
.mob-brand i { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; }
.mob-ten { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; }
.mob-ten i { width: 22px; height: 22px; border-radius: 6px; background: #e3ebff; color: var(--accent-600); display: grid; place-items: center; font-size: 11px; font-weight: 700; font-style: normal; }
.mob-main { flex: 1; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
.mob-main h4 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.mob-card { padding: 16px 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lift); }
.mob-card .day-title { font-size: 17px; margin: 0; }
.vsteps { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); }
.vsteps li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 28px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--border); }
.vsteps li.done::after { background: var(--ok); }
.vsteps div { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.vsteps b { font-weight: 600; }
.vsteps .next b { color: var(--muted); }
.vsteps span { color: var(--muted); font-size: 13px; }
.mob-bottom { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.mob-bottom .vol b { font-size: 30px; }
.mob-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 11px; font-weight: 600; }
.mob-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 91, 255, 0.7); }
.mob-btn.secondary { min-height: 44px; background: #fff; border: 1px solid var(--border-strong); }
.mob-tabs { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px 8px 28px; background: #fff; border-top: 1px solid var(--border); font-size: 11.5px; }
.mob-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); }
.mob-tabs span.on { color: var(--accent); font-weight: 600; }

/* --- возможности, самообучение, 15 минут, планы --- */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feats li { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; background: #eef3ff; color: var(--accent-600); display: grid; place-items: center; margin-bottom: 6px; }
.feats h3 { font-size: 19px; line-height: 1.25; }
.feats p { color: var(--muted); font-size: 15.5px; }

.learn { margin-top: 128px; padding: 112px 0; background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; }
.learn .split-head p { color: var(--navy-text); }
.learn .h2 { max-width: 17ch; }
.learn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ls; }
.learn-steps li { position: relative; padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 12px; }
.learn-steps h3 { font-size: 21px; }
.learn-steps p { color: var(--navy-text); font-size: 16px; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-now { background: var(--ok-soft); color: var(--ok); }
.tag-soon { background: #fff7cc; color: #6b5300; }
.tag-next { background: #eef3ff; color: var(--accent-600); }

.q15 { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.q15-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.q15-viz { flex: 1.3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.q15-row { display: flex; flex-direction: column; gap: 10px; }
.q15-row > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.q15-bars { height: 96px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--border-strong); }
.q15-24 { gap: 4px; }
.q15-96 { gap: 1px; }
.q15-bars i { flex: 1 1 0; border-radius: 2px 2px 0 0; background: var(--accent); }
.q15-96 i { background: var(--navy); border-radius: 1px 1px 0 0; }

.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-col { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-col li { position: relative; padding-left: 20px; font-size: 16px; }
.plan-col li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }

@media (max-width: 1100px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learn-steps, .plan { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .feats { grid-template-columns: 1fr; }
  .learn { margin-top: 88px; padding: 80px 0; }
  .q15-viz { padding: 20px; }
}

/* ролик героя (landing/video, Remotion): поверх статичного экрана, проявляется, когда пошёл */
.cab-video { position: absolute; left: 0; top: 0; z-index: 2; width: 1240px; height: 900px; opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.cab-video.is-playing { opacity: 1; }
.mob-video { width: 390px; height: 844px; }
@media (prefers-reduced-motion: reduce) { .cab-video { display: none; } }
