/* Чойс · чешский. Токены взяты из приложения Choice */
:root {
  --bg: #F5F6F8;          /* фон приложения */
  --card: #FFFFFF;
  --ink: #111114;
  --ink-2: #3A3C44;
  --muted: #7A7D86;
  --line: #E7E8EC;
  --orange: #FF6A13;      /* XP-пилюли, стрик */
  --orange-soft: #FFF0E6;
  --pink: #FF5FA2;
  --grad: linear-gradient(90deg, #FF7A1A 0%, #FF8A3D 45%, #FF5FA2 100%);
  --green: #16B97A;       /* «Wow ✓», достижения */
  --green-soft: #E6F7EF;
  --indigo: #5B5FEF;      /* «Персональный план» */
  --indigo-soft: #ECEBFD;
  --btn: linear-gradient(180deg, #3A3A3E 0%, #111114 100%);
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  --shadow: 0 1px 2px rgba(17,17,20,.04), 0 8px 24px rgba(17,17,20,.06);
  --shadow-phone: 0 2px 4px rgba(17,17,20,.05), 0 30px 60px -20px rgba(17,17,20,.22);
  --font: "Geist Variable", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.container { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 500 17px/1 var(--font); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--btn); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(17,17,20,.45), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(17,17,20,.5), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245,246,248,.82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header .row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 28px; letter-spacing: -0.04em; text-decoration: none; line-height: 1; }

/* ---------- орбы ---------- */
.orb { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.orb.pink { filter: hue-rotate(-48deg) saturate(1.25); }
.orb.grey { filter: grayscale(1) brightness(1.08) contrast(.9); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .orb.float { animation: float 9s ease-in-out infinite; }
  .orb.float.d2 { animation-duration: 11s; animation-delay: -3s; }
  .orb.float.d3 { animation-duration: 13s; animation-delay: -6s; }
  .voice-orb { animation: breathe 3.2s ease-in-out infinite; }
}
@keyframes float { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(8px,-14px) rotate(4deg); } }
@keyframes breathe { 0%,100% { transform: scale(1) rotate(-6deg); } 50% { transform: scale(1.07) rotate(-2deg); } }

/* сетка точек со сплэша */
.dots {
  background-image: radial-gradient(rgba(17,17,20,.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 104px 80px; text-align: center; }
.orb.soft { filter: blur(34px) saturate(.9); opacity: .42; }
.orb.soft.pink { filter: blur(34px) hue-rotate(-48deg) saturate(1.1); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.85); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,185,122,.18); }
.hero h1 { margin-top: 28px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; max-width: 14em; }
.hero .lead { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.hero .lead b { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-cta .btn { min-width: 300px; }
.micro-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.micro { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); }
.micro svg { width: 17px; height: 17px; flex: none; }

/* доверие */
.proof { padding-block: 24px 56px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--green-soft); color: #0E8A5A; font-size: 16px; font-weight: 500; }
.trust { margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; max-width: 920px; text-align: center; }
.trust-item { background: var(--card); border-radius: var(--radius-l); padding: 26px 20px; }
.trust-item b { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.trust-item span { display: block; font-size: 15px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.stars { color: var(--orange); font-size: 15px; letter-spacing: 1px; }

/* демо приложения */
.demo { overflow: hidden; }
.demo-visual { position: relative; display: flex; justify-content: center; margin-top: 44px; text-align: left; }
.demo-visual .phone { position: relative; z-index: 1; width: 300px; }

/* ---------- телефон (рамка как на макетах приложения) ---------- */
.phone {
  width: 300px; max-width: 100%;
  aspect-ratio: 603 / 1278;
  border-radius: 46px;
  background: var(--bg);
  border: 1px solid #E3E4E8;
  box-shadow: var(--shadow-phone);
  position: relative; overflow: hidden;
  font-size: 13px; line-height: 1.4; color: var(--ink);
  display: flex; flex-direction: column;
}
.phone .status { flex: 0 0 auto; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 34px; font-weight: 600; font-size: 14px; position: relative; z-index: 3; }
.phone .island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 94px; height: 28px; border-radius: 20px; background: #0B0B0C; }
.phone .sig { display: flex; gap: 5px; align-items: center; }
.phone .sig svg { height: 11px; width: auto; }
.phone .home-ind { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 4px; background: #111; z-index: 4; }
.phone .screen { flex: 1 1 auto; padding: 8px 12px 30px; display: flex; flex-direction: column; gap: 8px; min-height: 0; position: relative; }

/* онбординг */
.ob-progress { height: 5px; border-radius: 5px; background: #E4E5E9; overflow: hidden; margin: 2px 4px 6px; }
.ob-progress i { display: block; height: 100%; width: 22%; background: var(--grad); border-radius: 5px; }
.bubble { background: var(--card); border-radius: 18px; padding: 10px 13px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; }
.ob-picks { margin-top: auto; background: var(--card); border-radius: 22px; padding: 10px 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ob-picks .hint { font-size: 10.5px; color: var(--muted); text-align: center; margin-bottom: 2px; }
.ob-pill { border-radius: 999px; padding: 7px 14px; background: var(--card); box-shadow: 0 2px 10px rgba(17,17,20,.07); font-size: 12.5px; }
.ob-pill.on { background: var(--ink); color: #fff; }
.ob-input { background: var(--card); border-radius: 999px; padding: 11px 16px; color: #A3A6AE; font-size: 12px; box-shadow: 0 2px 10px rgba(17,17,20,.05); }

/* голосовая сессия */
.vs-top { display: flex; align-items: center; justify-content: space-between; }
.circle-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(17,17,20,.06); }
.circle-btn svg { width: 16px; height: 16px; }
.vs-meta { display: flex; gap: 4px; align-items: center; }
.pill-time { background: var(--card); color: var(--muted); border-radius: 8px; padding: 2px 7px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pill-streak { background: var(--orange); color: #fff; border-radius: 8px; padding: 2px 7px; font-size: 11.5px; font-weight: 600; }
.vs-title { text-align: center; font-size: 17px; font-weight: 500; margin-top: 4px; }
.vocab { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.vocab span { position: relative; background: var(--card); border-radius: 8px; padding: 4px 8px; font-size: 11.5px; color: var(--ink-2); }
.vocab span.hit { background: var(--orange-soft); color: var(--orange); }
.vocab span.hit::after { content: "+3 XP"; position: absolute; right: -8px; top: -9px; background: var(--orange); color: #fff; font-size: 8.5px; font-weight: 600; padding: 1px 5px; border-radius: 6px; transform: rotate(-8deg); }
.voice-orb { width: 150px; margin: 14px auto 4px; }
.subs { text-align: center; font-size: 15px; line-height: 1.45; color: #8E9098; padding: 0 6px; }
.subs u { text-decoration-color: #B9BBC2; text-underline-offset: 3px; }
.subs .said { color: var(--ink); }
.vs-bottom { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 12px; }
.mic-btn { width: 62px; height: 62px; border-radius: 22px; background: var(--card); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(17,17,20,.08); }
.mic-btn svg { width: 22px; height: 22px; }
.bulb-btn { width: 40px; height: 40px; border-radius: 14px; background: var(--card); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(17,17,20,.06); }
.bulb-btn svg { width: 18px; height: 18px; }

/* результат занятия */
.res-head { display: flex; align-items: center; justify-content: space-between; }
.wow { background: var(--green); color: #fff; border-radius: 8px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.res-title { text-align: center; font-size: 17px; font-weight: 500; margin: 6px 0 4px; }
.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.res-card { background: var(--card); border-radius: 16px; padding: 10px 12px; }
.res-card small { color: var(--muted); font-size: 11px; display: block; }
.res-card b { color: var(--green); font-size: 20px; font-weight: 500; }
.lvl { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.lvl .n { width: 20px; height: 20px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: inline-grid; place-items: center; font-size: 10.5px; margin-right: 5px; }
.lvl strong { color: var(--ink); font-weight: 500; }
.bar { height: 4px; border-radius: 4px; background: #EEEFF2; margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }
.fix { font-size: 11.5px; line-height: 1.45; }
.fix s { color: var(--muted); }
.fix b { font-weight: 700; }
.plan-cta { margin-top: auto; background: var(--indigo-soft); border-radius: 20px; padding: 12px; text-align: center; }
.plan-cta b { color: var(--indigo); font-size: 13.5px; display: block; }
.plan-cta small { color: var(--indigo); opacity: .85; font-size: 10.5px; display: block; margin: 2px 0 8px; }
.plan-cta span { display: block; background: var(--indigo); color: #fff; border-radius: 999px; padding: 9px; font-size: 12px; }

/* главный экран */
.app-logo { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); }
.week { background: var(--card); border-radius: 16px; padding: 7px; display: flex; gap: 4px; align-items: center; }
.week i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 8.5px; color: var(--muted); border: 1px solid var(--line); }
.week i.f { background: linear-gradient(180deg,#FF9A5A,#FF6A13); border: 0; font-size: 11px; }
.week .xp { background: var(--orange-soft); color: var(--orange); border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 600; }
.continue { background: linear-gradient(135deg, #FF9A4A 0%, #FF6A5A 60%, #FF6FA0 100%); color: #fff; border-radius: 18px; padding: 11px 12px; }
.continue small { font-size: 10.5px; opacity: .9; display: block; }
.continue .t { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; margin-top: 2px; }
.continue .t em { font-style: normal; font-weight: 400; font-size: 10.5px; opacity: .9; }
.continue .bar { background: rgba(255,255,255,.35); }
.continue .bar i { background: #fff; }
.continue .go { margin-top: 8px; background: #fff; color: var(--orange); border-radius: 999px; padding: 7px; text-align: center; font-size: 12px; font-weight: 600; }
.sec-label { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; padding: 2px 2px 0; }
.sec-label span { font-weight: 500; font-size: 10.5px; color: var(--indigo); background: var(--indigo-soft); padding: 3px 8px; border-radius: 999px; }
.sit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sit { background: var(--card); border-radius: 14px; padding: 6px 9px; }
.sit .meta { display: flex; gap: 4px; align-items: center; font-size: 9.5px; }
.sit .meta b { color: var(--orange); font-weight: 600; }
.sit .meta i { font-style: normal; background: #F0F1F4; color: var(--muted); padding: 1px 5px; border-radius: 5px; }
.sit .em { font-size: 17px; margin: 3px 0 1px; }
.sit strong { display: block; font-size: 11.5px; font-weight: 600; }
.sit small { font-size: 9.5px; color: var(--muted); }
.tabbar { margin-top: auto; background: var(--card); border-radius: 20px; display: flex; justify-content: space-around; padding: 7px 4px; font-size: 9.5px; color: var(--muted); box-shadow: 0 2px 10px rgba(17,17,20,.06); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbar span.on { color: var(--ink); }
.tabbar svg { width: 16px; height: 16px; }

/* прогресс */
.prog-head { text-align: center; padding: 4px 0 2px; }
.prog-head b { font-size: 17px; font-weight: 500; display: block; }
.prog-head small { color: var(--muted); font-size: 11px; }
.prog-card { background: var(--card); border-radius: 22px; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.days { display: flex; justify-content: space-between; align-items: center; }
.days .d { display: flex; gap: 7px; font-size: 8.5px; color: var(--muted); text-align: center; }
.days .d span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.days .d i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #C9CBD1; }
.days .d i.f { background: var(--ink); border-color: var(--ink); }
.days .d i.t { border: 1.5px solid var(--ink); }
.days .lv { font-size: 16px; font-weight: 500; }
.lvbar .bar { margin-top: 0; height: 5px; }
.lvbar .ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 4px; align-items: center; }
.lvbar .ends em { font-style: normal; background: var(--orange); color: #fff; border-radius: 7px; padding: 1px 7px; font-size: 10px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.stats3 div { border: 1px solid var(--line); border-radius: 12px; padding: 7px 8px; }
.stats3 b { display: block; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stats3 small { font-size: 9px; color: var(--muted); }
.ach { display: flex; flex-wrap: wrap; gap: 4px; }
.ach span { background: var(--green); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 10.5px; }
.done-list { display: flex; flex-direction: column; gap: 5px; }
.done-list div { background: #F6F7F9; border-radius: 12px; padding: 7px 9px; }
.done-list strong { font-size: 11.5px; font-weight: 600; display: block; }
.tags { display: flex; gap: 3px; margin-top: 3px; }
.tags i { font-style: normal; font-size: 9px; border-radius: 5px; padding: 1px 5px; }
.tags .k { background: var(--ink); color: #fff; }
.tags .g { background: #B5B7BE; color: #fff; }
.tags .w { background: #fff; color: var(--muted); }

/* ---------- секции ---------- */
.section { padding-block: 88px; position: relative; overflow-x: clip; }
.section.tight { padding-block: 64px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; max-width: 20ch; }
.sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 38em; }
.center { text-align: center; }
.center .h2, .center .sub { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-visual { order: -1; }
.split-visual { display: flex; justify-content: center; position: relative; }
.split-visual .phone { position: relative; z-index: 1; }
.split-visual .orb { z-index: 0; }

/* боль */
.pain-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.pain { background: var(--card); border-radius: var(--radius-m); padding: 22px 20px; }
.pain .e { font-size: 26px; }
.pain h3 { font-size: 18px; margin-top: 12px; font-weight: 600; letter-spacing: -0.02em; }
.pain p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.pain.ok { background: var(--green-soft); }
.pain.ok h3 { color: #0E8A5A; }

/* кому подойдёт */
.fit-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.fit { background: var(--card); border-radius: var(--radius-l); padding: 26px 24px 28px; position: relative; overflow: hidden; }
.fit img { width: 86px; margin: -6px 0 14px -6px; }
.fit h3 { font-size: 21px; font-weight: 700; }
.fit p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.fit .tag { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--muted); background: var(--bg); padding: 5px 11px; border-radius: 999px; }

/* с нуля */
.zero { background: var(--ink); color: #fff; border-radius: 40px; padding: 64px 56px; position: relative; overflow: hidden; }
.zero .h2 { color: #fff; max-width: 16ch; }
.zero .sub { color: rgba(255,255,255,.72); }
.zero .orb { opacity: .9; }
.zero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ladder { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ladder span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; }
.ladder span:last-child { background: var(--grad); border-color: transparent; }
.ladder i { font-style: normal; color: rgba(255,255,255,.45); }
.zero-points { margin-top: 30px; display: grid; gap: 16px; }
.zero-points div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.zero-points b { display: block; font-weight: 600; }
.zero-points p { color: rgba(255,255,255,.66); font-size: 15.5px; margin-top: 2px; }
.check { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.check svg { width: 13px; height: 13px; }
.chat-card { background: var(--bg); color: var(--ink); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; line-height: 1.45; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.chat-head img { width: 38px; }
.chat-head b { display: block; font-size: 15px; font-weight: 600; }
.chat-head small { color: var(--green); font-size: 12.5px; }
.chat-card .bubble { max-width: 90%; border-radius: 20px; padding: 11px 15px; }
.chat-card .bubble.me { background: var(--ink); }
.tip { background: var(--orange-soft); border-radius: 16px; padding: 11px 14px; font-size: 14px; color: #8A3A0B; }
.tip b { color: var(--orange); }
.ru-hint { font-size: 13px; color: var(--muted); margin-top: 3px; display: block; }

/* свобода */
.free-list { margin-top: 30px; display: grid; gap: 14px; }
.free-list div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: var(--card); border-radius: var(--radius-m); padding: 16px; }
.free-list .e { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; font-size: 22px; }
.free-list b { display: block; font-size: 17px; font-weight: 600; }
.free-list p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.quote { position: relative; background: var(--card); border-radius: 26px 26px 26px 8px; padding: 26px 26px 20px; max-width: 470px; box-shadow: var(--shadow); z-index: 1; }
.quote p { font-size: 18px; line-height: 1.5; }
.quote .who { margin-top: 14px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.quote .who b { color: var(--ink); font-weight: 600; }

/* ситуации */
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border-radius: 999px; padding: 9px 15px; font-size: 15px; box-shadow: 0 1px 2px rgba(17,17,20,.04); }

/* как работает */
.how-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.how { background: var(--card); border-radius: var(--radius-l); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.how h3 { font-size: 23px; font-weight: 700; }
.how p { color: var(--ink-2); font-size: 16px; }
.mode-row { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.mode { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 18px; padding: 12px 16px; font-size: 15px; }
.mode svg { width: 20px; height: 20px; }
.fb { margin-top: auto; background: var(--bg); border-radius: 20px; padding: 16px; display: grid; gap: 10px; font-size: 15px; }
.fb .said { color: var(--muted); }
.fb .said s { text-decoration-color: #E04848; }

/* план */
.steps { margin-top: 30px; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 94px 1fr; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius-m); padding: 16px 18px; }
.step .when { font-weight: 700; font-size: 15px; background: var(--orange-soft); color: var(--orange); border-radius: 12px; padding: 8px 0; text-align: center; }
.step p { font-size: 16px; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* пути улучшения */
.path { margin-top: 30px; display: grid; gap: 12px; counter-reset: p; }
.path div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.path .n { width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); }
.path b { font-weight: 600; font-size: 17px; }
.path p { color: var(--muted); font-size: 15px; }

/* выбор */
.picker { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin-inline: auto; }
.pick { font: 500 16px/1 var(--font); color: var(--ink); background: var(--card); border: 1px solid transparent; border-radius: 999px; padding: 14px 20px; cursor: pointer; box-shadow: 0 2px 10px rgba(17,17,20,.06); transition: background .15s, color .15s, transform .1s; }
.pick:hover { transform: translateY(-1px); }
.pick[aria-pressed="true"] { background: var(--ink); color: #fff; }
.picker-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.picker-count { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* почему */
.why-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.why { background: var(--card); border-radius: var(--radius-l); padding: 28px; }
.why .big { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.why:nth-child(2) .big { color: var(--orange); }
.why h3 { margin-top: 14px; font-size: 19px; font-weight: 600; }
.why p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* отзывы */
.reviews { margin-top: 44px; columns: 2 340px; column-gap: 16px; }
.review { break-inside: avoid; margin-bottom: 16px; background: var(--card); border-radius: 24px 24px 24px 8px; padding: 22px 22px 16px; }
.review .who { font-weight: 600; font-size: 15px; }
.review .who span { font-weight: 400; color: var(--muted); }
.review p { margin-top: 8px; font-size: 16px; }
.review time { display: block; text-align: right; font-size: 12.5px; color: #A3A6AE; margin-top: 8px; }

/* финальный CTA */
.final { position: relative; overflow: hidden; background: var(--card); border-radius: 40px; padding: 80px 32px; text-align: center; }
.final .h2 { margin-inline: auto; }
.final .sub { margin-inline: auto; }
.final .btn { margin-top: 30px; position: relative; z-index: 1; }
.final > *:not(.orb) { position: relative; z-index: 1; }

/* FAQ */
.faq { margin: 36px auto 0; max-width: 820px; display: grid; gap: 10px; text-align: left; }
.faq details { background: var(--card); border-radius: var(--radius-m); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; }

/* футер */
.footer { padding-block: 56px 120px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer .grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 30em; margin-top: 10px; }
.footer .legal { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.footer .legal a { color: var(--muted); }

/* плавающая кнопка на мобиле */
.sticky-cta { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta .btn { box-shadow: 0 16px 36px -10px rgba(17,17,20,.55), inset 0 1px 0 rgba(255,255,255,.12); }
.sticky-cta.show { transform: none; }

/* cookie */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 600px; margin: 0 auto; background: var(--card); border-radius: 20px; box-shadow: 0 10px 40px rgba(17,17,20,.16); padding: 18px 18px 18px 22px; display: none; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.cookie-bar.show { display: flex; }
/* The bar never covers the floating CTA: it rises above it once the CTA slides in. */
.sticky-cta.show ~ .cookie-bar { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.cookie-text { flex: 1; min-width: 0; }
.cookie-more { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-details { display: none; flex-basis: 100%; order: 3; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; line-height: 1.5; }
.cookie-details p + p { margin-top: 8px; }
.cookie-details b { color: var(--ink); font-weight: 600; }
.cookie-details a { color: inherit; }
.cookie-bar.open { flex-direction: column; align-items: stretch; }
.cookie-bar.open .cookie-details { display: block; max-height: calc(100vh - 300px); overflow: auto; }
.cookie-bar.open .cookie-actions { order: 4; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { white-space: nowrap; }
.cookie-bar.open .cookie-actions .btn { flex: 1; }
.btn-ghost { background: var(--bg); color: var(--ink); }
.btn-ghost:hover { background: #ECEDF0; }

/* ---------- юридические страницы ---------- */
.legal-head { padding-block: 18px; border-bottom: 1px solid var(--line); }
.legal-head .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-head .back { font-size: 15px; color: var(--muted); text-decoration: none; }
.legal-head .back:hover { color: var(--ink); }
.legal-doc { max-width: 800px; padding-block: 56px 24px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.legal-doc h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.legal-doc h2 { font-size: 23px; line-height: 1.25; font-weight: 700; color: var(--ink); margin-top: 48px; scroll-margin-top: 24px; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin: 14px 0 0; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc li { margin-top: 6px; }
.legal-doc li::marker { color: var(--muted); }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--ink); text-underline-offset: 3px; }
.legal-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg); padding: 1px 5px; border-radius: 5px; }
.legal-doc .version { color: var(--muted); font-size: 15px; }
.legal-doc h1 + .version { margin-top: 10px; margin-bottom: 28px; }
.legal-doc .summary, .legal-doc .form { background: var(--card); border-radius: var(--radius-m); padding: 6px 24px 22px; margin-top: 24px; }
.legal-doc .table-wrap { overflow-x: auto; margin-top: 18px; background: var(--card); border-radius: var(--radius-m); }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.legal-doc tr:last-child th, .legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc th { color: var(--ink); font-weight: 600; }
.legal-doc thead th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.legal-doc th[scope="row"] { width: 34%; }

/* кнопка на тёмном блоке и под секцией */
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.btn-light:hover { transform: translateY(-1px); }
.zero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.zero-cta .micro { color: rgba(255,255,255,.6); }
.section-cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; }

/* ---------- адаптив ---------- */
@media (max-width: 1020px) {
  .split, .zero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-visual { order: 0; }
  .pain-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fit-grid, .why-grid { grid-template-columns: 1fr; }
  .fit-grid { max-width: 620px; }
  .fit { display: grid; grid-template-columns: 76px 1fr; gap: 0 16px; align-items: start; }
  .fit img { width: 76px; margin: 0; grid-row: span 3; }
  .fit .tag { justify-self: start; }
  .how-grid { grid-template-columns: 1fr; }
  .zero { padding: 48px 32px; }
  .sticky-cta { left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(245,246,248,0), rgba(245,246,248,.95) 40%); }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.show ~ .cookie-bar { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .header .row { height: 60px; }
  .header .btn-sm { padding: 0 16px; font-size: 14px; min-height: 40px; }
  .hero { padding-block: 56px 48px; }
  .eyebrow { font-size: 13px; padding: 7px 14px; }
  .hero h1 { margin-top: 20px; font-size: 36px; line-height: 1.08; }
  .hero .lead { margin-top: 16px; font-size: 17.5px; }
  .hero-cta { margin-top: 26px; gap: 12px; }
  .hero-cta .btn { width: min(100%, 340px); min-width: 0; }
  .micro-row { flex-direction: column; gap: 6px; }
  .badges { gap: 8px; }
  .badge { font-size: 14.5px; padding: 8px 14px; }
  .zero-cta .btn, .section-cta .btn { width: 100%; }
  .zero-cta .micro, .section-cta .micro { width: 100%; justify-content: center; text-align: center; }
  .btn { padding: 0 22px; font-size: 16px; text-align: center; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item { padding: 18px 12px; }
  .trust-item:last-child { grid-column: span 2; }
  .section { padding-block: 64px; }
  .sub { font-size: 16.5px; }
  .pain-grid { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 56px 1fr; padding: 20px; }
  .fit img { width: 56px; }
  .zero { border-radius: 28px; padding: 36px 20px; margin-inline: -4px; }
  .how { padding: 22px; }
  .step { grid-template-columns: 80px 1fr; padding: 14px; }
  .why .big { font-size: 44px; }
  .final { border-radius: 28px; padding: 56px 20px; }
  .final .btn { width: 100%; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; padding: 16px; gap: 14px; }
  .cookie-actions .btn { flex: 1; }
  .legal-doc { padding-block: 36px 16px; font-size: 16px; }
  .legal-doc table { min-width: 520px; }
  .legal-doc th[scope="row"] { width: auto; }
}
@media (max-width: 360px) {
  .phone { width: 280px; }
}
