/* Страница раздела в стиле новой главной. Токены, стекло, кнопки, вопросы и подвал — общие
   (styles.css, liquid.css, story.css); здесь — раскладка раздела, график, журнал, шаги. */

.section-page a.brand { text-decoration: none; }
.sec { position: relative; z-index: 3; padding: 120px 56px 96px; max-width: 1440px; margin: 0 auto; }
.sec-head { display: grid; gap: 16px; max-width: 640px; justify-items: start; }
.sec-head.center { margin: 0 auto; justify-items: center; text-align: center; }
.sec-head .lead { max-width: 560px; }

/* ── первый экран ── */
.hero-sec { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 60px; }
/* подсветка фона — неподвижная, у правой колонки (на главной её водит шар) */
.section-page .backdrop { position: fixed; transform: translate3d(70vw, 38vh, 0) translate(-50%, -50%) scale(4); }
.sp-copy { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 640px; justify-items: start; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumb a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.crumb a svg { transform: rotate(180deg); }
.crumb a:hover { color: var(--blue); }
.crumb b { font-weight: 650; color: var(--ink); }
.sp-copy h1 { font-size: clamp(44px, 4.6vw, 66px); line-height: 1.02; }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--pill-bg); border: 1px solid var(--glass-line); }
.ticks svg { color: #14915A; }
/* окно под ролик раздела */
.hero-video { position: relative; z-index: 2; padding: 10px; border-radius: 32px; }
.hv-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: linear-gradient(150deg, #EAF1FF 0%, #D6E4FF 55%, #C2D6FF 100%); }
body[data-theme="dark"] .hv-screen { background: linear-gradient(150deg, #10265F 0%, #0B1A45 60%, #071230 100%); }
.hv-screen video, .hv-screen .hv-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── журнал ── */
.journal-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start; }
.journal-side { position: sticky; top: 120px; display: grid; gap: 28px; }
.history-card { padding: 20px 22px; display: grid; gap: 14px; }
.history { list-style: none; padding: 0; display: grid; gap: 12px; }
.history li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; }
.history i { width: 10px; height: 10px; border-radius: 50%; background: #3988FF; box-shadow: 0 0 0 4px rgba(57, 136, 255, 0.15); }
.history .h-manual i { background: #7C5CFF; box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15); }
.history .h-mode i { background: var(--ink-3); box-shadow: none; }
.history time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.journal { display: grid; gap: 12px; }
.jr { border-radius: 24px; background: var(--card); border: 1px solid var(--glass-line); box-shadow: 0 24px 60px -44px rgba(23, 59, 122, 0.5); }
.jr summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 38px 1fr 30px; gap: 14px; align-items: center; padding: 18px 22px; }
.jr summary::-webkit-details-marker { display: none; }
.jr summary:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; border-radius: 24px; }
.jr-ava { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #E8F4FF 0%, #56B8F5 30%, #1446FF 64%, #0B1A5C 100%); box-shadow: 0 8px 18px -8px rgba(20, 70, 255, 0.8); }
.jr-head { display: grid; gap: 2px; }
.jr-head b { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.jr-head time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.jr[open] .faq-plus { transform: rotate(45deg); background: rgba(21, 53, 237, 0.14); }
.jr p { padding: 0 24px 22px 74px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* ── что умеет ── */
.tariff-tag { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650; color: var(--blue); background: rgba(21, 53, 237, 0.08); }
body[data-theme="dark"] .tariff-tag { color: #9CC2FF; background: rgba(57, 136, 255, 0.16); }
.feats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { padding: 26px 26px 28px; display: grid; gap: 12px; align-content: start; transition: transform 0.5s var(--ease); }
.feat-card:hover { transform: translateY(-3px); }
.feat-card.wide { grid-column: span 2; position: relative; overflow: hidden; padding-right: 340px; min-height: 210px; }
.fc-art { position: absolute; right: 26px; bottom: 18px; width: 300px; height: 130px; }
.fc-art rect { fill: #3988FF; opacity: 0.18; }
.fc-art .steps { fill: none; stroke: #1535ED; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.fc-art circle { fill: #fff; stroke: #1535ED; stroke-width: 3; }
body[data-theme="dark"] .fc-art .steps, body[data-theme="dark"] .fc-art circle { stroke: #6FA8FF; }
body[data-theme="dark"] .fc-art circle { fill: #0E1D4A; }
.fc-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #3D6BFF, #1535ED); box-shadow: 0 12px 26px -12px rgba(21, 53, 237, 0.8); }
.fc-ic svg { width: 24px; height: 24px; }
.feat-card h3 { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.feat-card.wide h3 { font-size: 28px; }
.feat-card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }

/* ── сценарий ── */
.steps-line { position: relative; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-line .step { min-height: 0; padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--glass-line); box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step-n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.s-bad .step-n { color: #B42318; background: rgba(214, 69, 69, 0.1); }
.s-mid .step-n { color: var(--blue); background: rgba(21, 53, 237, 0.09); }
.s-good .step-n { color: #067A46; background: rgba(25, 164, 99, 0.12); }
.steps-line .step h3 { font-size: 21px; }
.steps-line .step p { font-size: 15.5px; line-height: 1.6; }
.steps-line .step p .big { display: block; margin-bottom: 4px; font-size: 32px; letter-spacing: -0.03em; color: var(--ink); }
.s-good { box-shadow: 0 0 0 2px rgba(25, 164, 99, 0.35), var(--shadow); }

/* ── вопросы и финал ── */
#faq .faq-wrap .sec-head { position: sticky; top: 132px; }
.cta-sec { min-height: 86vh; max-width: none; padding-bottom: 140px; display: grid; align-items: center; justify-items: center; }
.cta-copy { display: grid; gap: 18px; justify-items: center; text-align: center; width: min(860px, 100%); }
.cta-copy h2 { font-size: clamp(40px, 4vw, 60px); line-height: 1.04; }
.cta-copy .lead { font-size: 20px; color: var(--ink); max-width: 620px; }
.cta-copy .hero-actions { justify-content: center; }
.cta-note { font-size: 15px; color: var(--ink-3); }
.history .fresh { animation: fresh 2.4s var(--ease); }
@keyframes fresh { 0%, 30% { background: rgba(57, 136, 255, 0.14); } 100% { background: transparent; } }
.history li { border-radius: 10px; padding: 2px 4px; margin: -2px -4px; }
.history .h-budget i { background: #19A463; box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.15); }
.history .h-pilot i { background: #0B1A5C; box-shadow: 0 0 0 4px rgba(11, 26, 92, 0.12); }
.summary-card { padding: 20px 22px; display: grid; gap: 14px; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.summary dt { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.summary dd { margin: 2px 0 0; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.summary dd.blue { color: var(--blue); }
.summary dd.green { color: #14915A; }
.summary dd.muted { color: var(--ink-3); }
body[data-theme="dark"] .summary dd.blue { color: #9CC2FF; }
body[data-theme="dark"] .summary dd.green { color: #6FE0A6; }
.summary-foot { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--glass-line); font-size: 14px; color: var(--ink-2); }
.summary-foot .forecast { font-weight: 650; color: var(--ink); }
.plan-chip { justify-self: start; margin-top: 4px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--blue); background: rgba(21, 53, 237, 0.08); }
body[data-theme="dark"] .plan-chip { color: #9CC2FF; background: rgba(57, 136, 255, 0.16); }

/* ── ноутбук ── */
@media (max-width: 1180px) {
}
/* ── телефон ── */
@media (max-width: 700px) {
  .sec { padding: 88px 16px 56px; }
  .hero-sec { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 96px; }
  /* телефон: ролик сразу под заголовком — его видно без прокрутки */
  .hero-sec .sp-copy { display: contents; }
  .hero-sec .crumb { order: 1; }
  .hero-sec .eyebrow { order: 2; }
  .hero-sec h1 { order: 3; }
  .hero-video { order: 4; }
  .hero-sec .lead { order: 5; }
  .hero-sec .ticks { order: 6; }
  .hero-sec .hero-actions { order: 7; }
  .hero-video { padding: 6px; border-radius: 24px; }
  .hv-screen { border-radius: 19px; }
  .sp-copy h1 { font-size: 36px; }
  .journal-grid { grid-template-columns: 1fr; gap: 24px; }
  .journal-side { position: static; }
  .jr p { padding: 0 18px 18px; }
  .feats { grid-template-columns: 1fr; }
  .feat-card.wide { grid-column: auto; padding-right: 26px; padding-bottom: 150px; }
  .steps-line { grid-template-columns: 1fr; }
  #faq .faq-wrap .sec-head { position: static; }
  .cta-sec { min-height: 0; padding-top: 72px; padding-bottom: 170px; }
  .cta-copy h2 { font-size: 34px; }
}
