/* Сайт: лендинг, вход, лид-магниты, документы. Поверх app.css. */
.site-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
.site-nav .in { max-width: 1120px; margin: 0 auto; padding: max(8px, env(safe-area-inset-top)) 16px 8px; display: flex; align-items: center; gap: 8px; min-height: 64px; }
.site-nav .links { display: none; gap: 4px; margin-left: 16px; }
.site-nav .links a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 999px; }
.site-nav .links a:hover { background: var(--bg-2); }
@media (min-width: 900px) { .site-nav .links { display: flex; } }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--warm) 0%, var(--pink) 55%, var(--accent) 100%); box-shadow: 0 3px 0 var(--accent-deep); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.logo svg { width: 22px; height: 22px; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section.s { padding: 72px 0; }
section.s.tight { padding: 48px 0; }
section.s.alt { background: var(--card); border-block: 1px solid var(--line); }
section.s.ink { background: #13201f; color: #eef5f3; }
section.s.ink .muted { color: #a9bcb8; }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.s h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; max-width: 20ch; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
a.card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
a.card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 14px 30px -18px rgba(15, 118, 110, .55); }

/* первый экран */
.hero { padding: 24px 0 56px; min-height: calc(100svh - 64px); display: grid; align-items: center; }
.hero [data-enter] { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero [data-enter] { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 850; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 18px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero .cta .btn { min-height: 54px; padding: 14px 24px; font-size: 17px; }
.fact { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 650; font-size: 15px; }
.fact .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--warm); box-shadow: 0 0 0 4px var(--warm-soft); flex: none; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
[data-enter] > * { animation: enter .7s cubic-bezier(.2, .7, .2, 1) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* телефон с живым интерфейсом */
.phone { width: min(330px, 86vw); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px; background: #0f1a1c; box-shadow: 0 40px 80px -40px rgba(15, 60, 55, .55), inset 0 0 0 2px #2a3a3d; position: relative; }
.phone .scr { height: 100%; border-radius: 36px; overflow: hidden; background: #eef3fb; display: grid; grid-template-rows: auto 1fr auto; font-size: 13px; color: #172128; }
.phone .notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; border-radius: 999px; background: #0f1a1c; transform: translateX(-50%); z-index: 2; }
.phone .top { padding: 48px 14px 10px; background: linear-gradient(135deg, #ff7a45, #e83e80 55%, #2563eb); color: #fff; display: grid; gap: 8px; }
.phone .top b { font-size: 18px; }
.phone .chipsr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone .chipsr span { background: rgba(255, 255, 255, .16); border-radius: 10px; padding: 6px 8px; font-size: 11px; }
.phone .chipsr span b { display: block; font-size: 15px; }
.phone .body { padding: 10px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.phone .t { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.phone .t i { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #c9d3d6; flex: none; display: grid; place-items: center; }
.phone .t.ok i { background: #0f9f6e; border-color: #0f9f6e; }
.phone .t.ok i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.phone .t.ok span { text-decoration: line-through; color: #7b8a90; }
.phone .t .c { margin-left: auto; color: #0b7fab; font-weight: 750; }
.phone .rem { background: #fde5db; border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; animation: nudge 3.2s ease-in-out infinite; }
.phone .rem .r { display: flex; gap: 6px; }
.phone .rem .r span { background: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 650; font-size: 11px; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 75% { transform: translateX(-3px); } 80% { transform: translateX(3px); } 85% { transform: translateX(-2px); } }
.phone .nav { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 14px; background: #fff; font-size: 10px; color: #7b8a90; text-align: center; font-weight: 650; }
.phone .nav span.on { color: #e8503a; }
@media (max-width: 959px) { .phone { aspect-ratio: 9 / 15.5; width: min(310px, 82vw); } }
.phone .quiz { background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; box-shadow: inset 0 0 0 2px #2563eb; }
.phone .quiz b { font-size: 16px; }
.phone .quiz .r { display: flex; gap: 6px; }
.phone .quiz .r span { flex: 1; text-align: center; background: #e2ebff; border-radius: 10px; padding: 6px; font-weight: 800; color: #2563eb; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 13px; display: grid; gap: 2px; max-width: 210px; }
.float b { font-size: 14px; }
.stage { position: relative; padding: 8px 0; }
.stage .f1 { left: 0; top: 18%; } .stage .f2 { right: 0; bottom: 16%; }
@media (max-width: 959px) { .stage .float { display: none; } }

/* карточки */
.pain { display: grid; gap: 8px; }
.pain q { font-size: 20px; font-weight: 750; letter-spacing: -.01em; quotes: "«" "»"; }
.step { display: grid; gap: 10px; }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.feat { display: grid; gap: 12px; align-content: start; }
.feat .mini { background: var(--bg-2); border-radius: 14px; padding: 12px; display: grid; gap: 6px; font-size: 13px; min-height: 120px; }
.mini .ln { display: flex; gap: 8px; align-items: center; background: var(--card); border-radius: 10px; padding: 7px 10px; }
.mini .ln b { margin-left: auto; }
.mini .bars { display: flex; align-items: end; gap: 5px; height: 72px; padding: 6px 4px 0; }
.mini .bars i { flex: 1; background: var(--accent); border-radius: 5px 5px 2px 2px; opacity: .85; }
.mini .bars i.p { background: color-mix(in srgb, var(--accent) 40%, var(--card)); }
.honest { display: grid; gap: 10px; }
.honest li { margin: 0; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--accent-soft); }
ul.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
ul.crosses li::before { background: var(--warm-soft); }
ul.crosses li::after { border: 0; width: 10px; height: 2px; background: var(--warm); transform: none; left: 5px; top: 12px; }

/* пилот и форма */
.pilot { display: grid; gap: 24px; }
@media (min-width: 960px) { .pilot { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.seats { display: grid; gap: 10px; }
.seats .big { font-size: 64px; font-weight: 850; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.seats .bar { height: 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.seats .bar i { display: block; height: 100%; background: var(--warm); border-radius: 999px; transition: width .8s ease; }
form.reg { display: grid; gap: 14px; }
form.reg .two { display: grid; gap: 14px; }
@media (min-width: 560px) { form.reg .two { grid-template-columns: 1fr 1fr; } }
form.reg label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
form.reg .input { width: 100%; }
.err { color: var(--bad); font-size: 14px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.ok-box { background: var(--good-soft); border-radius: var(--radius); padding: 16px; }

/* вопросы */
.faq { display: grid; gap: 10px; }
.faq details.fold summary { font-size: 17px; }

footer.site { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer.site .in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer.site a { color: var(--muted); }

/* печать (лид-магниты) */
.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 80px; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.025em; }
.doc h2 { font-size: 22px; margin-top: 8px; }
.doc .sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.blank { display: inline-block; min-width: 9em; border-bottom: 1.5px solid var(--ink); height: 1.1em; vertical-align: baseline; }
.blank.s { min-width: 4em; }
.gate { display: grid; gap: 12px; }
.hidden { display: none !important; }
table.week { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
table.week th, table.week td { border: 1px solid var(--line-2); padding: 6px; vertical-align: top; text-align: left; }
table.week td { height: 54px; }
table.week th { background: var(--bg-2); }
@media print {
  .site-nav, footer.site, .noprint, .gate { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { padding: 0; max-width: none; }
  .doc .sheet { border: 0; padding: 0; box-shadow: none; }
  .printonly { display: block !important; }
  a { color: #000; }
}
.printonly { display: none; }
@media (prefers-reduced-motion: reduce) { [data-enter] > *, .phone .rem, .fact .dot { animation: none; } }
