/* Life Puzzles — прототип v2, светлый. Образец настроения — сайт Insight Timer:
   кремовый фон, фото природы между блоками, стеклянные карточки. */

:root {
  --bg: #F7F4EE;
  --paper: #FFFFFF;
  --ink: #1F2A24;
  --ink2: #46524B;
  --muted: #7D867F;
  --line: #E7E2D9;
  --line2: #F0ECE4;
  --yellow: #FCDE30;
  --yellow2: #EFC80F;
  --yellow-l: #FFF4B8;
  --green: #2F6B4F;
  --green-l: #E4EFE8;
  --ok: #2E9A66;
  --ok-l: #E3F4EA;
  --warn: #B8741A;
  --warn-l: #FBF0DC;
  --r: 20px;
  --sh: 0 1px 2px rgba(31, 42, 36, .04), 0 12px 32px rgba(31, 42, 36, .07);
  --serif: 'Lora', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --on-photo: rgba(255, 255, 255, .9);
  --fade: 247, 244, 238;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); transition: background .2s linear, color .2s linear; font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 58px; line-height: 1.08; }
h2 { font-size: 42px; line-height: 1.15; }
h3 { font-size: 24px; line-height: 1.25; }
h4 { font: 700 17px/1.3 var(--sans); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.lead { font-size: 19px; color: var(--ink2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }
.center { text-align: center; }
.b { font-weight: 700; }
.label { font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrapf { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-4 { margin-top: 4px; } .mt-6 { margin-top: 6px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.i { display: inline-flex; width: 22px; height: 22px; flex: none; }
.i svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 28px; height: 28px; }

/* Кнопки: жёлтая — главное действие экрана */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 700 15.5px/1 var(--sans); border: 0; cursor: pointer; white-space: nowrap; }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-d { background: var(--ink); color: var(--paper); }
.btn-w { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-o { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.off { opacity: .45; }

/* Шапка */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.top .wrap { height: 84px; display: flex; align-items: center; gap: 30px; }
.top .logo { height: 32px; }
.top nav { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.top nav a { padding: 6px 0; }
.top nav a.on { box-shadow: inset 0 -2px 0 currentColor; }
.top .sp { flex: 1; }
.top--photo { color: #fff; }
.top--light { position: sticky; background: rgba(var(--fade), .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .burger { display: none; }

/* Первый экран на фото */
.hero { position: relative; min-height: 860px; background: var(--img) center/cover; padding: 130px 0 190px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 30%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 300px; background: linear-gradient(to bottom, rgba(var(--fade), 0), var(--bg)); }
.hero > .wrap { position: relative; z-index: 1; }
.glass { background: rgba(255, 255, 255, .2); backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); border: 1px solid rgba(255, 255, 255, .4); border-radius: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .16); }
.glass-d { background: rgba(18, 30, 24, .3); }
.hero-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 56px; color: #fff; }
.hero-card h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .2); }
.hero-card .lead { color: rgba(255, 255, 255, .92); }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 15px 18px; font-weight: 600; font-size: 16.5px; }
.choice .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.choice .i { margin-left: auto; width: 18px; height: 18px; }
.choice.hl { background: var(--yellow); }

/* Переходы через фото природы */
.band { position: relative; background: var(--img) center/cover; padding: 220px 0; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 240px; pointer-events: none; }
.band::before { top: 0; background: linear-gradient(var(--bg), rgba(var(--fade), 0)); }
.band::after { bottom: 0; background: linear-gradient(rgba(var(--fade), 0), var(--bg)); }
.band.cut { padding-bottom: 110px; }
.band.cut::after { display: none; }
.band > .wrap { position: relative; z-index: 1; }
.band .on-photo { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.section { padding: 100px 0; }
.section.tight { padding: 64px 0; }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head .lead { margin-top: 14px; }
.white { background: var(--paper); }

/* Карточки */
.card { background: var(--paper); border-radius: var(--r); box-shadow: var(--sh); }
.pad { padding: 24px; }
.pad-l { padding: 32px; }
.card-img { border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--sh); display: flex; flex-direction: column; }
.card-img .ph { aspect-ratio: 16/10; background: var(--img) center/cover; position: relative; }
.card-img .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 700 12.5px/1 var(--sans); background: var(--line2); color: var(--ink2); white-space: nowrap; }
.badge .i { width: 14px; height: 14px; }
.badge.y { background: var(--yellow-l); color: #5F4E00; }
.badge.g { background: var(--ok-l); color: #1F6B45; }
.badge.w { background: rgba(255, 255, 255, .92); color: var(--ink); }
.badge.warn { background: var(--warn-l); color: var(--warn); }
.badge.d { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip.sm { height: 32px; padding: 0 12px; font-size: 13.5px; }
.play { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink); }
.play .i { width: 18px; height: 18px; margin-left: 2px; }
.ph .tl { position: absolute; left: 14px; top: 14px; }
.ph .bl { position: absolute; left: 14px; bottom: 14px; }

/* Сферы */
.sphere { padding: 22px; border-radius: var(--r); background: var(--paper); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.sphere .ic, .ic-box { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c, #2F6B4F) 15%, var(--paper)); color: var(--c, #2F6B4F); display: grid; place-items: center; flex: none; }
.ic-box.s { width: 40px; height: 40px; border-radius: 12px; }
.sphere::after { content: ""; position: absolute; right: -34px; top: -34px; width: 100px; height: 100px; border-radius: 50%; background: color-mix(in srgb, var(--c) 9%, transparent); }
.sphere h4 { margin-top: 6px; }

/* Портрет: лицо на фоне цвета сферы — так будет выглядеть автообработка фото */
.portrait { border-radius: 50%; overflow: hidden; flex: none; display: block; }
.portrait svg { width: 100%; height: 100%; display: block; }
.portrait.sq { border-radius: 22px; }
.s40 { width: 40px; height: 40px; } .s48 { width: 48px; height: 48px; } .s64 { width: 64px; height: 64px; }
.s88 { width: 88px; height: 88px; } .s120 { width: 120px; height: 120px; } .s160 { width: 160px; height: 160px; }

/* Специалист */
.spec { background: var(--paper); border-radius: var(--r); box-shadow: var(--sh); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.stars .i { color: #F2B01E; width: 16px; height: 16px; }
.slots { display: flex; gap: 6px; flex-wrap: wrap; }
.slot { height: 36px; padding: 0 12px; border-radius: 10px; background: var(--bg); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.slot.on { background: var(--ink); color: var(--paper); }
.slot.off { color: #B9BDB8; text-decoration: line-through; }
.spec-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 250px; gap: 24px; background: var(--paper); border-radius: var(--r); box-shadow: var(--sh); padding: 24px; }
.spec-row .side-col { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line2); padding-left: 24px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 28px; border-radius: 24px; background: var(--on-photo); display: flex; flex-direction: column; gap: 10px; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); font: 700 17px/40px var(--sans); text-align: center; flex: none; }

/* Миссия */
.quote { font-family: var(--serif); font-size: 40px; line-height: 1.28; text-align: center; max-width: 1000px; margin: 0 auto; }
.goal { font-family: var(--serif); font-size: 54px; line-height: 1.05; }
.harmony { border-radius: 24px; padding: 28px; background: var(--paper); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 12px; }

/* Эволюция */
.evo { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; position: relative; }
.evo::before { content: ""; position: absolute; left: 7%; right: 7%; top: 30px; height: 2px; background: var(--line); }
.evo .st { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; font-weight: 600; position: relative; }
.evo .bb { width: 60px; height: 60px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font-size: 26px; }
.evo .done .bb { background: var(--green-l); box-shadow: none; }
.evo .cur .bb { background: var(--yellow); box-shadow: 0 0 0 7px rgba(252, 222, 48, .35); }
.evo .lock { opacity: .55; }

/* Подвал */
.foot { background: var(--paper); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot .cols { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot a { display: block; color: var(--ink2); font-size: 14.5px; padding: 4px 0; }
.foot h4 { font-size: 15px; margin-bottom: 8px; }

/* Кабинеты */
.cab { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--paper); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.side .logo { height: 30px; margin: 4px 10px 24px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink2); }
.side nav a.on { background: var(--bg); color: var(--ink); }
.side nav a.on .i { color: var(--green); }
.side .tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--line2); padding: 3px 7px; border-radius: 6px; }
.side .spacer { flex: 1; min-height: 20px; }
.widget { border-radius: 16px; background: var(--bg); padding: 14px; margin-top: 8px; }
.main { padding: 32px 40px 64px; max-width: 1240px; width: 100%; }
.cab-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cab-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.tabbar { display: none; }
.kpi { font: 600 32px/1.1 var(--serif); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars i { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--c); display: block; }
.progress { height: 8px; border-radius: 99px; background: var(--line2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.progress.y i { background: var(--yellow2); }
.lrow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line2); }
.lrow:first-child { border-top: 0; padding-top: 0; }
.input { height: 54px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 18px; color: var(--muted); font-size: 15.5px; }
.note { background: var(--bg); border-radius: 12px; padding: 12px 14px; color: var(--ink2); font-size: 15px; }
.note.empty { color: #A9AFA9; }
.sep { height: 1px; background: var(--line2); margin: 18px 0; }
.check-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.check-ok .i { width: 15px; height: 15px; }
.check-ok svg { stroke-width: 2.6; }
.circle { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.circle.cur { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }

/* Плеер */
.player { padding: 30px; border-radius: 28px; color: #fff; }
.ctrls { display: flex; align-items: center; justify-content: center; gap: 30px; }
.pbtn { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.pbtn .i { width: 28px; height: 28px; }
.track { height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .35); position: relative; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; background: #fff; border-radius: 9px; }
.track i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* Вкладки, шаги записи */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 14px 0; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stepper .s { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.stepper .s .bar { flex: 1; height: 2px; background: var(--line); }

/* Чат */
.msg { max-width: 82%; padding: 11px 15px; border-radius: 18px; background: var(--bg); font-size: 15px; line-height: 1.45; }
.msg.me { margin-left: auto; background: var(--yellow-l); }
.msg .t { font-size: 11.5px; color: var(--muted); margin-top: 4px; text-align: right; }

/* Статья */
.article p { font-size: 18.5px; line-height: 1.75; margin: 0 0 20px; color: #2A332E; }
.article h3 { margin: 38px 0 14px; font-size: 28px; }
.article blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--yellow2); font: italic 22px/1.5 var(--serif); color: var(--ink); }

/* Сниппет Яндекса */
.ya { font-family: Arial, sans-serif; background: var(--paper); border-radius: 14px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.ya .u { color: #006600; font-size: 13px; }
.ya .t { color: #1a0dab; font-size: 18px; margin: 2px 0 4px; }
.ya .r { color: #E8A317; font-size: 14px; }

/* Шкала оценки */
.scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.scale span { height: 56px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font: 700 18px/1 var(--sans); }
.scale span.on { background: var(--c); color: #fff; box-shadow: none; transform: scale(1.06); }

.lvl { border-radius: 20px; padding: 22px; background: var(--paper); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 10px; position: relative; }
.lvl.cur { box-shadow: 0 0 0 2px var(--ink), var(--sh); }
.lvl ul { margin: 0; padding-left: 18px; color: var(--ink2); font-size: 14.5px; }
.lvl li { margin: 4px 0; }
.faq { border-top: 1px solid var(--line); padding: 20px 0; }

@media (max-width: 1000px) {
  h1 { font-size: 38px; }
  h2 { font-size: 31px; }
  h3 { font-size: 21px; }
  .quote { font-size: 26px; }
  .goal { font-size: 48px; }
  .lead { font-size: 17px; }
  .wrap { padding-inline: 18px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .top .wrap { height: 68px; gap: 12px; }
  .top .logo { height: 26px; }
  .top nav, .top .hide-m { display: none !important; }
  .top .burger { display: inline-flex; }
  .hero { min-height: 0; padding: 92px 0 140px; }
  .hero-card { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 26px; border-radius: 26px; }
  .band { padding: 150px 0; }
  .band.cut { padding-bottom: 70px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cab { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 18px 16px 100px; }
  .cab-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cab-grid > [class*="span-"] { grid-column: auto; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); height: 72px; z-index: 20; justify-content: space-around; align-items: center; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar a.on { color: var(--ink); }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
  .spec-row .side-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line2); padding-top: 14px; }
  .evo { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 6px; }
  .evo::before { display: none; }
  .evo .st { min-width: 76px; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .cols > :first-child { grid-column: 1 / -1; }
  .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pad-l { padding: 22px; }
  .article p { font-size: 17px; }
  .hide-mob { display: none !important; }
}
@media (min-width: 1001px) { .only-mob { display: none !important; } }
@media (max-width: 560px) {
  .g4.one { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 34px; }
  .btn-lg { height: 54px; padding: 0 24px; font-size: 16px; }
}

/* Раскладки страниц */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.two-col.eq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sticky { position: sticky; top: 104px; }
.cover { height: 360px; background: var(--img) center/cover; position: relative; }
.cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(var(--fade), 0), var(--bg)); }
.lift { position: relative; z-index: 2; margin-top: -150px; }
.thumb { width: 120px; height: 90px; border-radius: 14px; background: var(--img) center/cover; flex: none; }
.video { aspect-ratio: 16/9; border-radius: var(--r); background: var(--img) center/cover; position: relative; overflow: hidden; }
.video .play { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; }
.video .play .i { width: 26px; height: 26px; }
.vtile { border-radius: 16px; background: #26312C; position: relative; overflow: hidden; display: grid; place-items: center; }
.vbtn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.vbtn.red { background: #D64545; }
.soft { background: linear-gradient(rgba(var(--fade), .78), var(--bg) 560px), var(--img) top center/cover no-repeat; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
@media (max-width: 1000px) {
  .two-col, .two-col.eq { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .sticky { position: static; }
  .cover { height: 220px; }
  .lift { margin-top: -90px; }
  .thumb { width: 84px; height: 70px; }
}

/* v3 */
.hero-t { font-size: 50px; }
.qr { width: 88px; height: 88px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
@media (max-width: 1000px) { .hero-t { font-size: 33px; } }

/* Тёмная тема. Переключается кнопкой в шапке, выбор запоминается. */
[data-theme="dark"] {
  --bg: #14181A;
  --paper: #1C2124;
  --ink: #ECE8E1;
  --ink2: #C5CBC4;
  --muted: #979E97;
  --line: #2C3236;
  --line2: #242A2D;
  --yellow-l: #3D3617;
  --green: #86C7A2;
  --green-l: #1C2A23;
  --ok: #3FB07B;
  --ok-l: #1A2A22;
  --warn: #D6A24A;
  --warn-l: #2C2618;
  --sh: 0 1px 2px rgba(0, 0, 0, .34), 0 14px 34px rgba(0, 0, 0, .38);
  --on-photo: rgba(20, 24, 26, .84);
  --fade: 20, 24, 26;
  color-scheme: dark;
}
[data-theme="dark"] .glass { background: rgba(16, 20, 22, .38); border-color: rgba(255, 255, 255, .16); }
[data-theme="dark"] .btn-y, [data-theme="dark"] .num, [data-theme="dark"] .choice.hl,
[data-theme="dark"] .play, [data-theme="dark"] .pbtn, [data-theme="dark"] .evo .cur .bb { color: #1F2A24; }
[data-theme="dark"] .badge.y { color: #F0D98C; }
[data-theme="dark"] .badge.w { background: rgba(28, 33, 36, .92); color: var(--ink); }
[data-theme="dark"] .sphere .ic, [data-theme="dark"] .ic-box {
  background: color-mix(in srgb, var(--c, #2F6B4F) 24%, #14181A);
  color: color-mix(in srgb, var(--c, #2F6B4F) 55%, #FFFFFF);
}
[data-theme="dark"] .band, [data-theme="dark"] .hero, [data-theme="dark"] .cover,
[data-theme="dark"] .card-img img, [data-theme="dark"] .soft { filter: brightness(.86) saturate(.95); }
.theme-btn { cursor: pointer; display: inline-flex; align-items: center; }
[data-theme="dark"] .article p { color: #DAD6CF; }
[data-theme="dark"] .badge.g { color: #7FD3A6; }
[data-theme="dark"] .ya { background: #FFFFFF; color: #1F2A24; box-shadow: inset 0 0 0 1px #DADDE1; }

/* ---- Настоящие формы сайта (вход, регистрация, восстановление пароля) ---- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-weight: 700; font-size: 14.5px; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 13px; color: #C24B3A; font-weight: 600; }
[data-theme="dark"] .field-error { color: #F08C7A; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 0;
  background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans);
  box-shadow: inset 0 0 0 1px var(--line); outline: none;
}
textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
input:focus, textarea:focus, select:focus { box-shadow: inset 0 0 0 2px var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); }

.choices label { display: flex; align-items: center; gap: 12px; background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 14px 16px; font-weight: 600; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); }
.choices label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.choices input[type="radio"] { width: 20px; height: 20px; accent-color: var(--green); flex: none; }

.check-line { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check-line input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }

.note.ok { background: var(--ok-l); color: var(--ok); font-weight: 600; }
.note.warn { background: var(--warn-l); color: var(--warn); font-weight: 600; }

.portrait.s40 { width: 40px; height: 40px; background: var(--yellow-l); color: var(--ink);
  display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.theme-btn .i { width: 22px; height: 22px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
form .btn { font-family: var(--sans); }
.dot-c { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.scale-item { position: relative; display: block; }
.scale-item input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.scale-item span { height: 56px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; font: 700 18px/1 var(--sans); cursor: pointer; transition: transform .12s; }
.scale-item input:checked + span { background: var(--c); color: #fff; box-shadow: none; transform: scale(1.06); }
.scale-item input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--ink); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
@media (max-width: 560px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.spec-row img.portrait, .spec-row span.portrait { border-radius: 22px; }
@media (max-width: 1000px) {
  .step-wheel { max-width: 230px; margin: 0 auto; }
}
.slot-pick { position: relative; display: block; }
.slot-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot-pick span { display: grid; place-items: center; height: 46px; min-width: 84px; padding: 0 16px;
  border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700; cursor: pointer; }
.slot-pick input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
