:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f8ff;
  --surface-strong: #eaf0fb;
  --text: #07132d;
  --muted: #5a6888;
  --line: #dfe6f2;
  --primary: #2859f6;
  --primary-hover: #1646e8;
  --green: #1fcb74;
  --phone: #07132d;
  --header-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 30px 70px rgba(24, 46, 99, 0.14);
}

html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #07101f;
  --surface: #101b2e;
  --surface-strong: #16233a;
  --text: #f7f9ff;
  --muted: #a7b3ce;
  --line: #263651;
  --primary: #4d76ff;
  --primary-hover: #6589ff;
  --green: #32db86;
  --phone: #dfe7ff;
  --header-bg: rgba(7, 16, 31, 0.82);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 220ms ease, color 220ms ease;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 54px; height: 54px; display: block; border-radius: 15px; }
.brand-name { display: flex; align-items: baseline; gap: 6px; font-size: 30px; line-height: 1; letter-spacing: -1.8px; }
.brand-name b { color: var(--primary); font-weight: 900; }
.brand-name em { color: var(--green); font-style: normal; font-weight: 900; }
html[data-theme='dark'] .brand-name b { color: #ffffff; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.navigation { display: flex; align-items: center; gap: 38px; }
.navigation a { position: relative; color: var(--muted); font-size: 15px; font-weight: 700; transition: color 180ms ease; }
.navigation a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--primary); transition: right 180ms ease; }
.navigation a:hover { color: var(--text); }
.navigation a:hover::after { right: 0; }
.theme-toggle {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
html[data-theme='dark'] .sun-icon { display: none; }
html[data-theme='dark'] .moon-icon { display: block; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; padding: 128px 0 56px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(650px, 1.35fr) minmax(340px, .65fr); align-items: center; gap: 40px; }
.hero-copy { min-width: 0; padding-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; border-radius: 99px; background: var(--green); }
h1 { margin: 0; max-width: none; font-size: clamp(56px, 4.8vw, 72px); line-height: .98; letter-spacing: -.068em; font-weight: 900; }
.headline-main { display: block; white-space: nowrap; }
.headline-dash { display: block; height: .72em; }
h1 strong { display: block; color: var(--primary); font-weight: 900; }
.hero-description { margin: 34px 0 0; color: var(--muted); font-size: 20px; line-height: 1.65; font-weight: 550; }
.hero-cta-row { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.telegram-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 0 27px; border-radius: 16px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 14px 34px rgba(40, 89, 246, .28); transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.telegram-button:hover { transform: translateY(-3px); background: var(--primary-hover); box-shadow: 0 18px 42px rgba(40, 89, 246, .36); }
.telegram-button svg { width: 24px; height: 24px; fill: currentColor; }
.cta-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.cta-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(31, 203, 116, .13); }

.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(40, 89, 246, .16), rgba(40, 89, 246, 0) 68%); z-index: -2; }
.visual-orbit { position: absolute; border: 1px solid rgba(40, 89, 246, .14); border-radius: 50%; z-index: -1; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 610px; height: 610px; }
.phone { position: relative; width: 372px; padding: 13px; border-radius: 56px; background: var(--phone); box-shadow: var(--shadow); transform: rotate(1.25deg); transition: transform 350ms ease, background 220ms ease; }
.hero-visual:hover .phone { transform: rotate(0deg) translateY(-4px); }
.phone-speaker { position: absolute; z-index: 3; top: 25px; left: 50%; width: 72px; height: 6px; margin-left: -36px; border-radius: 99px; background: rgba(7, 19, 45, .22); }
.phone-screen { overflow: hidden; min-height: 566px; border-radius: 44px; background: var(--surface); }
.phone-header { height: 98px; padding: 25px 24px 16px; display: flex; align-items: center; gap: 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.phone-header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.phone-header div { display: grid; gap: 3px; }
.phone-header strong { font-size: 16px; }
.phone-header span { color: var(--muted); font-size: 13px; }
.phone-header > i { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(31, 203, 116, .12); }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; }
.message { width: fit-content; max-width: 84%; padding: 13px 15px; border-radius: 17px; font-size: 14px; font-weight: 650; line-height: 1.35; }
.incoming { align-self: flex-start; background: var(--bg); color: var(--text); border-bottom-left-radius: 5px; }
.outgoing { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
.accept { background: var(--green); color: #042817; font-weight: 850; }
.car-card { overflow: hidden; width: 92%; align-self: flex-start; border-radius: 21px; background: var(--bg); box-shadow: 0 10px 30px rgba(15, 32, 71, .08); }
.car-card-top { display: flex; align-items: center; gap: 14px; padding: 17px; }
.car-card-top > div { display: grid; gap: 6px; }
.car-card-top strong { font-size: 14px; }
.car-card-top span:not(.car-illustration) { color: var(--muted); font-size: 12px; }
.car-card button { width: 100%; height: 48px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--primary); font-weight: 850; }
.car-illustration { position: relative; display: block; width: 74px; height: 45px; flex: 0 0 74px; }
.car-body { position: absolute; inset: 10px 4px 9px; border-radius: 20px 24px 8px 8px; background: var(--primary); }
.car-body::before { content: ''; position: absolute; left: 17px; top: -9px; width: 34px; height: 18px; border-radius: 20px 20px 0 0; background: var(--primary); transform: skew(-13deg); }
.wheel { position: absolute; bottom: 2px; width: 15px; height: 15px; border: 4px solid var(--text); border-radius: 50%; background: var(--surface); }
.wheel-one { left: 15px; }.wheel-two { right: 13px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 14px; border-radius: 16px 16px 16px 5px; background: var(--bg); }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.3s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .14s; }.typing span:nth-child(3) { animation-delay: .28s; }
.floating-chip { position: absolute; z-index: 4; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); box-shadow: 0 18px 45px rgba(23, 44, 91, .13); font-size: 14px; font-weight: 850; }
.chip-calendar { top: 100px; right: -5px; padding: 13px 16px; color: var(--primary); }
.chip-calendar span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.chip-status { left: -14px; bottom: 116px; display: flex; align-items: center; gap: 8px; padding: 13px 15px; }
.chip-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { right: -180px; top: 80px; width: 460px; height: 460px; background: rgba(40, 89, 246, .055); }
.hero-glow-two { left: -180px; bottom: -280px; width: 550px; height: 550px; background: rgba(31, 203, 116, .045); }

.how-section { scroll-margin-top: 92px; padding: 112px 0 126px; background: var(--surface); }
.how-section h2 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.08; letter-spacing: -.048em; font-weight: 900; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 8vw, 112px); margin: 70px 0 0; padding: 0; list-style: none; }
.step-item { min-width: 0; }
.step-number { display: block; margin-bottom: 17px; color: var(--primary); font-size: 15px; line-height: 1; font-weight: 900; }
.step-item h3 { margin: 0 0 16px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; font-weight: 850; }
.step-item p { max-width: 320px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.58; font-weight: 550; }

.locations-section { scroll-margin-top: 92px; padding: 96px 0 54px; }
.locations-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 56px; }
.locations-section h2, .faq-section h2 { margin: 0; font-size: clamp(40px, 4vw, 54px); line-height: 1.08; letter-spacing: -.048em; font-weight: 900; }
.locations-section p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; font-weight: 550; }
.location-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding-top: 13px; }
.location-pill { min-height: 52px; padding: 0 24px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 800; white-space: nowrap; }
.location-pill.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.location-pill i { width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--green); }

.faq-section { scroll-margin-top: 92px; padding: 72px 0 108px; }
.faq-container { width: min(780px, calc(100% - 48px)); margin-inline: auto; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.35; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 3px; top: 50%; color: var(--primary); font-size: 24px; line-height: 1; font-weight: 800; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: '×'; }
.faq-list details p { margin: -3px 0 25px; padding-right: 48px; color: var(--muted); font-size: 16px; line-height: 1.6; font-weight: 550; }

.closing-cta { padding: 8px 0 76px; }
.closing-card { position: relative; overflow: hidden; min-height: 310px; border-radius: 34px; background: var(--primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 54px 28px; text-align: center; }
.closing-card h2 { position: relative; z-index: 2; margin: 0 0 34px; font-size: clamp(42px, 5vw, 66px); line-height: 1; letter-spacing: -.055em; font-weight: 900; }
.closing-button { position: relative; z-index: 2; min-height: 62px; padding: 0 28px; border-radius: 16px; background: var(--green); color: #052918; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: 17px; font-weight: 850; transition: transform 180ms ease, box-shadow 180ms ease; }
.closing-button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .18); }
.closing-button svg { width: 23px; height: 23px; fill: currentColor; }
.closing-mark { position: absolute; right: 30px; bottom: -17px; width: 92px; height: 92px; border-radius: 24px; opacity: .16; }

.site-footer { padding: 0 0 48px; }
.footer-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand span { font-size: 22px; line-height: 1; letter-spacing: -1.2px; }
.footer-brand b { color: var(--primary); font-weight: 900; }
.footer-brand em { color: var(--green); font-style: normal; font-weight: 900; }
html[data-theme='dark'] .footer-brand b { color: #fff; }
.footer-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 700; }
.footer-links a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 1100px) {
  .navigation { gap: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 24px; }
  h1 { font-size: clamp(50px, 5.7vw, 62px); }
  .phone { width: 340px; }
  .hero-visual { min-height: 570px; }
  .chip-status { left: -30px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 34px, 620px); }
  .header-inner { height: 76px; }
  .brand img { width: 45px; height: 45px; }
  .brand-name { font-size: 25px; }
  .navigation { display: none; }
  .hero { padding-top: 112px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-top: 0; }
  .eyebrow, .hero-cta-row { justify-content: center; }
  h1 { margin-inline: auto; font-size: clamp(49px, 13vw, 72px); }
  .headline-main { white-space: normal; }
  .hero-description { font-size: 18px; }
  .hero-cta-row { flex-direction: column; gap: 20px; }
  .hero-visual { min-height: 590px; }
  .phone { width: min(350px, calc(100vw - 54px)); }
  .chip-calendar { right: 0; }
  .chip-status { left: 0; }
  .how-section { scroll-margin-top: 76px; padding: 80px 0 88px; text-align: left; }
  .how-section h2 { font-size: clamp(36px, 10vw, 48px); }
  .steps-list { grid-template-columns: 1fr; gap: 42px; margin-top: 52px; }
  .step-item { padding-left: 22px; border-left: 2px solid var(--line); }
  .step-number { margin-bottom: 14px; }
  .step-item p { max-width: 520px; }
  .locations-section { scroll-margin-top: 76px; padding: 74px 0 44px; }
  .locations-row { flex-direction: column; gap: 30px; }
  .location-pills { justify-content: flex-start; padding-top: 0; }
  .faq-section { scroll-margin-top: 76px; padding: 52px 0 76px; }
  .faq-container { width: min(100% - 34px, 620px); }
  .closing-cta { padding-bottom: 50px; }
  .closing-card { min-height: 300px; border-radius: 28px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-links { width: 100%; justify-content: space-between; gap: 16px; }
}

@media (max-width: 430px) {
  .brand-name { display: none; }
  .hero { padding-bottom: 30px; }
  h1 { font-size: 48px; }
  .hero-description br { display: none; }
  .hero-visual { min-height: 540px; }
  .phone { border-radius: 45px; padding: 10px; }
  .phone-screen { min-height: 520px; border-radius: 36px; }
  .floating-chip { display: none; }
  .telegram-button { width: 100%; }
  .location-pills { display: grid; width: 100%; }
  .location-pill { width: 100%; }
  .faq-list summary { font-size: 17px; }
  .closing-card { min-height: 270px; padding-inline: 20px; }
  .closing-card h2 { font-size: 43px; }
  .closing-button { width: 100%; }
  .closing-mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
