:root {
  --ink: #18213d;
  --ink-2: #3a4463;
  --muted: #6a7492;
  --line: #e1e6f2;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --dark: #111b45;
  --dark-2: #18275c;
  --dark-line: #2a3a7a;
  --accent: #27439b;
  --accent-hover: #1f3785;
  --accent-bright: #4a74f0;
  --accent-soft: #eaeef9;
  --accent-2: #14b88a;
  --brand-yellow: #ffd512;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(17 27 69 / .06), 0 8px 24px rgb(17 27 69 / .08);
  --shadow-lg: 0 24px 60px rgb(17 27 69 / .18);
  --container: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.nowrap { white-space: nowrap; }
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: #a9bcff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgb(74 116 240 / .5);
  outline-offset: 2px;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(39 67 155 / .3); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 10px 24px rgb(39 67 155 / .38); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c3cbe0; background: #fff; }
.btn--sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn--lg { padding: 15px 28px; font-size: 17px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -.02em; }
.logo img { border-radius: 9px; }
.logo span { margin-left: -2px; }
.logo--light { color: #fff; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.nav__login { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #e3e8f6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section--dark .section__head p:not(.eyebrow) { color: #a6b1d3; }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 50% 0%, rgb(39 67 155 / .13), transparent 65%),
    radial-gradient(700px 420px at 90% 70%, rgb(74 116 240 / .10), transparent 60%);
}
.hero__text { max-width: 860px; margin: 0 auto; text-align: center; }
.lead { margin: 22px auto 0; font-size: 19px; color: var(--ink-2); max-width: 680px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.hero__facts b { color: var(--ink); }

.showcase { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 130px; }
.browser { background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f6f8fc; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser__bar i:nth-child(1) { background: #ff6159; }
.browser__bar i:nth-child(2) { background: #ffbd2e; }
.browser__bar i:nth-child(3) { background: #28c941; }
.browser__bar span { margin: 0 auto; padding: 3px 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.browser img { width: 100%; height: auto; }
.showcase__phones { position: absolute; inset: 0; pointer-events: none; }
.showcase__phones .iphone { position: absolute; bottom: -64px; --w: 220px; }
.iphone--seller { left: 0; transform: rotate(-4deg); }
.iphone--client { right: 0; transform: rotate(4deg); }

.toast { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; animation: float 5s ease-in-out infinite; }
.toast small { display: block; color: var(--muted); font-size: 12px; }
.toast__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.toast__icon .icon { width: 18px; height: 18px; }
.toast--order { left: 40px; top: 18%; }
.toast--courier { right: 40px; top: 6%; animation-delay: -2.5s; }
.toast--courier .toast__icon { background: #e3f8f1; color: #0f8f6b; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- iPhone 18 Pro Max ---------- */
/* размеры в em: 1em = 1% ширины корпуса, ширина задаётся через --w */
.iphone {
  --w: 300px;
  position: relative;
  flex-shrink: 0;
  width: var(--w);
  font-size: calc(var(--w) / 100);
  padding: 1em;
  border-radius: 15.5em;
  background: linear-gradient(135deg, #5d6f97 0%, #26324f 22%, #3e4f78 48%, #1d2740 74%, #56688f 100%);
  box-shadow:
    inset 0 0 0 .25em rgb(255 255 255 / .18),
    inset 0 0 .6em rgb(0 0 0 / .5),
    0 3em 7em rgb(17 27 69 / .35),
    0 1em 2em rgb(17 27 69 / .2);
}
.iphone__screen {
  position: relative;
  overflow: hidden;
  border: 2.3em solid #050608;
  border-radius: 14.5em;
  background: #050608;
}
.iphone__screen img { width: 100%; height: auto; aspect-ratio: 468 / 1013; object-fit: cover; object-position: top; border-radius: 12.2em; }
.iphone__island {
  position: absolute;
  top: 2.4em;
  left: 50%;
  width: 26em;
  height: 7.6em;
  transform: translateX(-50%);
  border-radius: 99em;
  background: #000;
  box-shadow: 0 0 0 .2em rgb(0 0 0 / .4);
}
.iphone__island::after {
  content: '';
  position: absolute;
  right: 2.2em;
  top: 50%;
  width: 3.4em;
  height: 3.4em;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #2b3a63 0 22%, #0b1020 40%, #000 70%);
}
.iphone__btn { position: absolute; width: .9em; border-radius: .4em; background: linear-gradient(90deg, #26324f, #5d6f97, #26324f); }
.iphone__btn--action { left: -.7em; top: 24em; height: 9em; }
.iphone__btn--vol-up { left: -.7em; top: 38em; height: 15em; }
.iphone__btn--vol-down { left: -.7em; top: 56em; height: 15em; }
.iphone__btn--power { right: -.7em; top: 44em; height: 22em; }
.iphone__btn--camera { right: -.4em; top: 128em; height: 14em; width: .6em; background: linear-gradient(90deg, #1d2740, #3e4f78); }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare__col { border-radius: var(--radius-lg); padding: 32px; }
.compare__col h3 { margin-bottom: 18px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare__col li { position: relative; padding-left: 30px; }
.compare__col li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.compare__col--before { background: var(--bg-soft); color: var(--ink-2); }
.compare__col--before li::before { color: #c0c6d6; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.compare__col--after { background: linear-gradient(160deg, #edf1fb, #e9f0ff); border: 1px solid #d6def3; }
.compare__col--after li::before { color: var(--accent); }
.compare__arrow { align-self: center; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(39 67 155 / .3); }

/* ---------- flow ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow::before { content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--accent-bright), #8fb0ff); opacity: .5; }
.flow__step { position: relative; text-align: center; padding: 0 6px; }
.flow__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--dark-2); border: 2px solid var(--accent-bright); color: #fff; font-weight: 800; font-size: 20px; }
.flow__step:last-child .flow__num { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--ink); }
.flow__step h3 { font-size: 18px; margin-bottom: 8px; }
.flow__step p { color: #a6b1d3; font-size: 15px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature:hover { border-color: #c4cfee; box-shadow: var(--shadow); transform: translateY(-2px); }
.icon { display: block; width: 22px; height: 22px; }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: background .2s ease, color .2s ease; }
.feature:hover .feature__icon { background: var(--accent); color: #fff; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > *, .hero__text { min-width: 0; overflow-wrap: break-word; }
.split--reverse .split__text { order: 2; }
.split__text > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks b { color: var(--ink); }
.split__visual { display: flex; justify-content: center; }

.report-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 26px; }
.report-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.report-card__head span { font-size: 13px; color: var(--muted); }
.abc { display: grid; gap: 14px; }
.abc__row { display: grid; grid-template-columns: 32px 1fr; gap: 6px 12px; align-items: center; }
.abc__row em { grid-column: 2; font-style: normal; font-size: 13px; color: var(--muted); }
.abc__bar { height: 12px; border-radius: 6px; background: var(--bg-soft); position: relative; overflow: hidden; }
.abc__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 12px; border-radius: 6px; background: var(--accent); }
.abc__bar--b::after { background: var(--accent-bright); }
.abc__bar--c::after { background: #94a3b8; }
.tag { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-weight: 800; color: #fff; }
.tag--a { background: var(--accent); }
.tag--b { background: var(--accent-bright); }
.tag--c { background: #94a3b8; }
.report-card__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.report-card__foot small { display: block; font-size: 12px; color: var(--muted); }
.report-card__foot b { font-size: 16px; }

/* ---------- apps ---------- */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app { padding: 30px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.app--wide { grid-column: 1 / -1; background: linear-gradient(135deg, #18275c, #27439b); color: #d5dcf0; border: 0; }
.app--wide h3 { color: #fff; font-size: 24px; }
.app__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.app__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); }
.app--wide .app__icon { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .18); color: #fff; }
.app__tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; }
.app--wide .app__tag { background: var(--brand-yellow); color: var(--ink); }
.app h3 { margin-bottom: 10px; }
.app p { color: var(--muted); }
.app--wide p { color: #c3cce8; max-width: 720px; }
.app__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.app__list li { padding: 8px 14px; border-radius: 10px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); font-size: 14.5px; color: #fff; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step__num { display: block; font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; border-top: 4px solid var(--accent); }
.price:nth-child(2) { border-top-color: var(--accent-bright); }
.price:nth-child(3) { border-top-color: var(--brand-yellow); }
.price h3 { margin-bottom: 10px; }
.price p { color: var(--muted); font-size: 15.5px; }
.pricing__note { text-align: center; margin-top: 28px; color: var(--ink-2); }
.pricing__note a { color: var(--accent); font-weight: 700; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: #fff; transition: border-color .2s ease; }
.faq details[open] { border-color: #c4cfee; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* ---------- contacts ---------- */
.contacts { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact { display: grid; gap: 4px; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); color: #fff; text-decoration: none; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.contact:hover { border-color: var(--accent-bright); background: #1c2c68; transform: translateY(-2px); }
.contact__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / .08); color: var(--brand-yellow); margin-bottom: 14px; }
.contact__label { font-size: 14px; color: #8f9bc4; }
.contact b { font-size: 17px; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.footer { background: #0b1233; color: #a6b1d3; padding: 56px 0 28px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 40px; align-items: start; }
.footer__inner p { margin-top: 12px; max-width: 320px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; }
.footer__stores { display: flex; gap: 10px; }
.store-btn { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--dark-line); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.store-btn:hover { border-color: #5f6c99; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #1c2858; font-size: 14px; }

[hidden] { display: none !important; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .toast { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .showcase { padding: 0; }
  .showcase__phones { position: static; display: flex; justify-content: center; gap: 24px; margin-top: -90px; }
  .showcase__phones .iphone { position: relative; bottom: auto; left: auto; right: auto; --w: 200px; }
  .toast--order { left: -8px; top: 30%; }
  .toast--courier { right: -8px; top: 4%; }
  .split--reverse .split__text { order: 0; }
  .split { gap: 48px; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent-bright), #8fb0ff); }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__num { grid-row: span 2; margin: 0; }
  .flow__step h3 { align-self: end; margin-bottom: 4px; }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); justify-self: center; }
  .pricing { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  .burger { display: block; }
  .header__login { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #f1f5f9; }
  .nav a:last-child { border-bottom: 0; }
  .nav__login { display: block; color: var(--accent) !important; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .header__actions .btn--primary { display: none; }
  .features, .steps, .apps { grid-template-columns: 1fr; }
  .app--wide { grid-column: auto; }
  .hero { padding-bottom: 72px; }
  .showcase { margin-top: 44px; }
  .showcase__phones { gap: 12px; margin-top: -40px; }
  .showcase__phones .iphone { --w: 150px; }
  .toast { display: none; }
  .nowrap { white-space: normal; }
  .compare__col, .app, .report-card { padding: 22px; }
  .contacts { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .contact__icon { grid-row: span 2; margin: 0; }
  .report-card__foot b { font-size: 14px; }
}
