/* Лендинг «Перехват» — поверх токенов и компонентов из app.css */
.landing { font-size: 16px; }
.landing a { text-decoration: none; }
.btn-lg { padding: 16px 24px; font-size: 16px; border-radius: 16px; }

.l-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + var(--safe-t)) max(16px, calc((100% - 1120px) / 2)) 12px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.l-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 14.5px; }
.l-links > a:not(.btn) { color: var(--muted); }
.l-links > a:not(.btn):hover { color: var(--text); }
@media (max-width: 760px) { .l-links > a:not(.btn):not(.l-login) { display: none; } .l-links { gap: 12px; } }
@media (max-width: 420px) { .l-dl { display: none; } .l-nav .brand-name { font-size: 15px; } }

/* ----- Первый экран ----- */
.hero {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 72px 16px 64px;
}
.hero-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 62%); opacity: .55; pointer-events: none; z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--muted); }
.live-dot { background: #3BD16F; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3BD16F; opacity: 0; animation: ping 2s ease-out infinite; }
.hero h1 { font-size: clamp(36px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 90%, transparent 90%); }
:root[data-theme="dark"] .hero h1 em { background: none; color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 em { background: none; color: var(--accent); } }
.lead { font-size: 18px; color: var(--muted); max-width: 44ch; margin: 0 0 30px; line-height: 1.55; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); font-weight: 700; margin: 16px 0 0; }

/* телефон с уведомлениями */
.phone { justify-self: center; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 11px; background: #0A0A0B; box-shadow: 0 0 0 2px #2A2C31, var(--shadow-lg); transform: rotate(3deg); }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; position: relative; padding: 46px 12px 0; background: radial-gradient(120% 70% at 20% 0%, #3A4A14 0%, transparent 60%), radial-gradient(90% 60% at 100% 100%, #23292F, transparent 60%), #101215; color: #fff; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #000; }
.ph-time { text-align: center; font: 600 62px/1 var(--display); letter-spacing: -.03em; margin-top: 18px; }
.ph-date { text-align: center; font-size: 14px; font-weight: 600; opacity: .75; margin: 6px 0 28px; }
.ph-notes { display: grid; gap: 8px; }
.note { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px; border-radius: 18px; background: rgba(255, 255, 255, .13); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; animation: noteIn .6s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.note img { width: 30px; height: 30px; border-radius: 8px; }
.note b { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .06em; opacity: .7; }
.note b span { font-weight: 600; letter-spacing: 0; }
.note p { margin: 2px 0 1px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.note small { font-size: 11.5px; opacity: .7; font-weight: 600; }
.n1 { animation-delay: .5s; } .n2 { animation-delay: .25s; } .n3 { animation-delay: 0s; }
.n2, .n3 { transform-origin: top; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 44px; text-align: left; }
  .phone { width: min(280px, 78vw); transform: none; }
}

/* ----- Полоса цифр ----- */
.band { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.band > div { background: var(--text); color: var(--bg); border-radius: 20px; padding: 22px 20px; }
.band b { display: block; font: 700 34px/1 var(--display); letter-spacing: -.03em; color: var(--accent); }
.band span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; opacity: .72; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr 1fr; } }

/* ----- Секции ----- */
.sec { max-width: 1120px; margin: 0 auto; padding: 88px 16px 0; }
.sec > h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.03em; margin-bottom: 28px; max-width: 20ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 24px; }
.step-n { font: 700 14px var(--display); color: var(--accent-text); background: var(--accent-soft); padding: 5px 9px; border-radius: 8px; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feat { background: var(--surface); padding: 26px 24px; }
.feat i { font-style: normal; font-size: 26px; }
.feat h3 { font-size: 17px; margin: 14px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .steps, .feats { grid-template-columns: 1fr; } }

/* ----- Цена ----- */
.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; align-items: stretch; max-width: 820px; }
.price-card { padding: 26px; display: flex; flex-direction: column; }
.price-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.price-big { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; }
.price-big b { font: 700 46px/1 var(--display); letter-spacing: -.04em; }
.price-big span { font-weight: 700; color: var(--muted); }
.price-card p { margin: 0; }
.price-main { background: var(--text); color: var(--bg); border-color: var(--text); }
.price-main .price-tag { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.price-main .price-big b { color: var(--accent); }
.price-main .price-big span { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.price-main ul { list-style: none; padding: 0; margin: 6px 0 22px; display: grid; gap: 9px; font-weight: 600; }
.price-main li { padding-left: 26px; position: relative; }
.price-main li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.price-main .btn { margin-top: auto; }
.price-foot { margin: 16px 0 0; font-weight: 600; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }

/* ----- Большая кнопка «Скачать приложение» ----- */
.dl-hero {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 18px; border-radius: 20px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--accent) 90%, transparent), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .2s;
  position: relative; overflow: hidden;
}
.dl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite 1s; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.dl-hero:hover { transform: translateY(-2px); }
.dl-hero:active { transform: scale(.98); }
.dl-hero svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 12px; background: var(--accent-ink); stroke: var(--accent); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl-hero small { display: block; font-size: 12.5px; font-weight: 800; opacity: .7; letter-spacing: .02em; }
.dl-hero b { display: block; font: 700 19px/1.15 var(--display); letter-spacing: -.01em; }
.dl-wide { display: flex; width: 100%; justify-content: center; margin: 6px 0 4px; }
.hero-cta { align-items: center; }
.hero-more { display: inline-block; margin-top: 18px; color: var(--muted); font-weight: 800; font-size: 14px; }
.hero-more:hover { color: var(--text); }
@media (max-width: 520px) { .hero-cta .dl-hero, .hero-cta .btn { width: 100%; justify-content: center; } }

/* ----- Выбор: приложение или веб-версия ----- */
.get-sub { margin: -14px 0 28px; max-width: 60ch; }
.get-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: start; }
.get-grid.ios .get-web { order: -1; }
.get-card { padding: 26px; position: relative; }
.get-app { border: 2px solid var(--accent); box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--accent) 80%, transparent); }
.get-badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.get-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--text); display: grid; place-items: center; margin-bottom: 16px; }
.get-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.get-ico.web { background: var(--surface-2); border: 1px solid var(--line); }
.get-ico.web svg { stroke: var(--text); }
.get-card h3 { font-size: 21px; margin-bottom: 14px; }
.get-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-weight: 600; font-size: 15px; }
.get-list li { padding-left: 28px; position: relative; }
.get-list li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(-45deg); }
.get-ios { background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: 13.5px; border-radius: 12px; padding: 10px 12px; margin: 10px 0 0; }
.get-grid.ios .get-app .dl-hero { background: var(--surface-2); color: var(--text); box-shadow: none; }
.get-how { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.get-how summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--muted); list-style: none; }
.get-how summary::-webkit-details-marker { display: none; }
.get-how summary::after { content: " ↓"; }
.get-how[open] summary::after { content: " ↑"; }
.get-how ol { margin: 12px 0 0; padding-left: 20px; line-height: 1.7; font-size: 14.5px; }
@media (max-width: 860px) { .get-grid { grid-template-columns: 1fr; } }

/* ----- Плавающая кнопка на телефоне ----- */
.m-dl { display: none; }
@media (max-width: 760px) {
  .m-dl {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + var(--safe-b)); z-index: 40;
    padding: 15px 18px; border-radius: 18px; background: var(--accent); color: var(--accent-ink);
    font: 700 16px var(--display); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55);
    transform: translateY(140%); transition: transform .3s cubic-bezier(.2, .9, .3, 1);
  }
  .m-dl.show { transform: none; }
  .m-dl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .l-foot { padding-bottom: calc(96px + var(--safe-b)); }
}

/* ----- Регистрация / скачивание ----- */
.start { display: grid; place-items: center; }
.start-card { width: 100%; max-width: 520px; padding: 28px; position: relative; overflow: hidden; }
.start-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.start-head h2 { font-size: 26px; margin: 16px 0 6px; }
.start-head p { margin: 0 0 22px; }
.steps-mini { display: flex; gap: 6px; }
.sm { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--faint); border: 1px solid var(--line); }
.sm.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.auth-note a { color: var(--text); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.dl-buttons { display: grid; gap: 10px; margin-bottom: 14px; }
.dl-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 18px; border: 0; background: var(--text); color: var(--bg); text-align: left; transition: transform .12s; }
.dl-btn:active { transform: scale(.98); }
.dl-btn svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-btn small { display: block; font-size: 12.5px; font-weight: 700; opacity: .7; }
.dl-btn b { display: block; font: 700 18px var(--display); letter-spacing: -.01em; }
.dl-alt { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.dl-alt svg { stroke: var(--text); }
.howto { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; }
.howto h3 { font-size: 15px; margin-bottom: 8px; }
.howto ol { margin: 0; padding-left: 20px; line-height: 1.7; font-size: 15px; }
.howto.flash { animation: flash 1s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 1px var(--accent); } }

/* ----- FAQ ----- */
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--display); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }

.l-foot { max-width: 1120px; margin: 88px auto 0; padding: 28px 16px calc(36px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.l-foot p { margin: 0; font-size: 13.5px; }
.faq-tg { color: #229ED9; font-weight: 800; text-decoration: none; }
