/* Accountly +7 — «сплит-сцена»: фото телефонной связи стоит на месте, текст читается рядом. */
@font-face { font-family: "Oswald"; font-weight: 500; font-display: optional; src: url(fonts/oswald-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: optional; src: url(fonts/oswald-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: optional; src: url(fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: optional; src: url(fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: optional; src: url(fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: optional; src: url(fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }


/* Direction: «Самолётик +7» — тёмный Telegram-навы, фирменный синий как единственный акцент. */
:root {
  --bg: #ffffff; --paper: #f4f8fb; --ink: #17212b; --muted: #5d6d7e; --line: #e1e8ef;
  --accent: #2aabee; --accent-ink: #fff; --dark: #2aabee; --dark-ink: #fff;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-small: .9375rem; --step-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.04rem + .45vw, 1.4rem);
  --step-head: clamp(1.9rem, 1.3rem + 2.8vw, 3.75rem);
  --step-display: clamp(2.2rem, 1.2rem + 4.6vw, 5.4rem);
  --m: clamp(16px, 3.4vw, 48px); --gap: clamp(72px, 9vw, 150px); --max: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 var(--text); overflow-x: clip; overflow-wrap: break-word; hyphens: auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
p, ul, ol, h1, h2, h3, figure, fieldset { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: -.005em; line-height: 1; text-wrap: balance; hyphens: none; overflow-wrap: normal; }
h2 { font-size: var(--step-head); }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px var(--m); background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.mark { font: 500 1.375rem/1 var(--display); text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mark span, .foot__mark span { color: var(--accent); }
.top__nav { display: none; gap: 28px; margin-left: auto; font-size: var(--step-small); }
.top__nav a { text-decoration: none; } .top__nav a:hover { color: var(--accent); }
.top .btn { margin-left: auto; } @media (min-width: 900px) { .top__nav { display: flex; } .top .btn { margin-left: 12px; } }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-weight: 500; text-decoration: none; text-align: center; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #1e96d6; } .btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: var(--step-small); }
.btn--big { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--ink { background: var(--ink); color: var(--bg); } .btn--ink:hover { background: #dbe7f1; }
.btn--block { width: 100%; }
.link { font-weight: 500; }

main > section, .split { max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }

/* Герой */
.hero { display: grid; gap: 32px; padding-top: clamp(24px, 4vw, 56px); }
.hero__num { font: 500 clamp(7rem, 26vw, 13rem)/.8 var(--display); color: var(--accent); letter-spacing: -.04em; margin-bottom: 16px; }
.hero h1 { font-size: var(--step-display); max-width: 14ch; }
.hero__sub { margin-top: 20px; font-size: var(--step-lead); line-height: 1.45; max-width: 36ch; color: var(--muted); }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.hero__facts li { padding: 14px 10px 0 0; display: grid; gap: 2px; }
.hero__facts b { font: 500 clamp(1.15rem, .9rem + 1vw, 1.75rem)/1.1 var(--display); white-space: nowrap; }
.hero__facts span { font-size: .8125rem; color: var(--muted); }
.stage { position: relative; border-radius: 6px; overflow: hidden; background: var(--dark); }
.stage img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__stage { position: relative; border-radius: 6px; overflow: hidden; } .split__stage img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.stage__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.stage__bar span { background: var(--paper); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 500; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
  .hero .stage img { aspect-ratio: 4/5; max-height: 74vh; width: 100%; }
}

/* Розница / опт */
.plans { display: grid; gap: 16px; margin-top: var(--gap); }
.plan { padding: clamp(24px, 3.5vw, 48px); border-radius: 6px; display: flex; flex-direction: column; gap: 16px; }
.plan--retail { background: var(--paper); border: 1px solid var(--line); }
.plan--opt { background: var(--dark); color: var(--dark-ink); }
.plan h2 { font-size: var(--step-head); }
.plan__who { font-size: var(--step-lead); line-height: 1.4; }
.plan__inc { color: var(--muted); } .plan--opt .plan__inc { color: #d6ebf8; }
.plan__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__price { font: 500 1.5rem/1 var(--display); text-transform: uppercase; }
.plan__tiers { margin-top: auto; display: grid; gap: 8px; }
.tier { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; font: 500 1.25rem/1 var(--display); text-transform: uppercase; text-decoration: none; transition: background .2s, border-color .2s; }
.tier::after { content: "Цена →"; font: 500 .875rem/1 var(--text); text-transform: none; color: var(--accent); }
.tier:hover { border-color: var(--accent); background: rgba(255,255,255,.08); }
.plan__tiers--inner { margin: 24px 0 8px; } .plan__tiers--inner .tier { background: var(--dark); color: var(--dark-ink); }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.3fr; } }

/* Конструктор */
.order { display: grid; gap: 32px; margin-top: var(--gap); }
.order__text { display: grid; gap: 16px; align-content: start; } .order__text p { color: var(--muted); max-width: 48ch; }
.slip { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; min-width: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); white-space: nowrap; transition: background .15s, color .15s; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.slip__msg { display: grid; gap: 6px; padding: 16px; background: var(--bg); border-radius: 6px; border-left: 3px solid var(--accent); }
.slip__label { font-size: .8125rem; color: var(--muted); }
.slip__go { display: flex; justify-content: center; align-items: center; min-height: 56px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; text-decoration: none; }
.slip__go:hover { background: #1e96d6; }
@media (min-width: 900px) { .order { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Форматы */
.formats { margin-top: var(--gap); }
.formats__rows { margin-top: 32px; border-top: 1px solid var(--ink); }
.frow { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.frow h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); } .frow h3 a { text-decoration: none; } .frow h3 a:hover { color: var(--accent); }
.frow__body { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; align-items: start; }
.frow__pic img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.frow ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.frow li { padding-left: 18px; position: relative; } .frow li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--accent); }
@media (min-width: 900px) { .frow { grid-template-columns: 1fr 1.4fr; align-items: center; } .frow__body { grid-template-columns: 160px 1fr; gap: 32px; } }

/* FAQ */
.faq { margin-top: var(--gap); display: grid; gap: 32px; }
.faq__text { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq__text p { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.faq__text strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; font-size: var(--step-lead); line-height: 1.3; }
@media (min-width: 900px) { .faq:not(.faq--inner) { grid-template-columns: .7fr 1.3fr; } }

/* Финал */
.last { margin-top: var(--gap); }
.last__pic { display: none; }
.last__text { background: var(--dark); color: var(--dark-ink); border-radius: 6px; padding: clamp(28px, 6vw, 96px); display: grid; gap: 20px; justify-items: start; }
.last__text h2 { font-size: var(--step-display); } .last__text p { max-width: 46ch; color: #d6ebf8; font-size: var(--step-lead); }

/* Внутренние страницы */
.split { display: grid; gap: 32px; padding-top: clamp(20px, 3vw, 48px); }
.split__read { min-width: 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.split h1 { font-size: var(--step-display); margin-top: 16px; }
.lead { margin-top: 20px; font-size: var(--step-lead); color: var(--muted); line-height: 1.45; }
.split .hero__act { margin-top: 24px; }
.prose { margin-top: 56px; display: grid; gap: 48px; max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 16px; }
.prose p + p { margin-top: 12px; } .prose ul { padding-left: 20px; display: grid; gap: 8px; } .prose li::marker { color: var(--accent); }
.prose .more { margin-top: 16px; color: var(--muted); }
.ask { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 24px; } .ask .btn { margin-top: 20px; }
.faq--inner { margin-top: 0; gap: 16px; }
.pages ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pages a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pages a:hover { border-color: var(--accent); }
@media (min-width: 900px) { .split { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .split__stage { position: sticky; top: 96px; } }
@media (max-width: 899px) { .split__stage img { aspect-ratio: 16/10; } }

/* Подвал */
.foot { margin-top: var(--gap); background: var(--dark); color: var(--dark-ink); padding: clamp(40px, 6vw, 80px) var(--m) 120px; }
.foot__body { max-width: var(--max); margin-inline: auto; display: grid; gap: 28px; }
.foot__mark { font: 500 clamp(2.5rem, 8vw, 6rem)/1 var(--display); text-transform: uppercase; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; } .foot__nav a { text-decoration: none; } .foot__nav a:hover { color: var(--accent); }
.foot__notes { display: grid; gap: 16px; color: #d6ebf8; font-size: var(--step-small); max-width: 80ch; }
.foot__credits { font-size: .8125rem; color: #9fb0c0; }
@media (min-width: 700px) { .foot { padding-bottom: 48px; } }

/* Нижняя кнопка на телефоне */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.dock.is-on { transform: none; }
@media (min-width: 700px) { .dock { display: none; } }

/* Появление */
.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-in].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-in] { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* Самолётик */
.stage {  display: grid; place-items: center; }
.stage .plane { width: 74%; height: auto; filter: drop-shadow(0 30px 60px rgba(42,171,238,.35)); animation: fly 6s ease-in-out infinite; }
@keyframes fly { 50% { transform: translate(6px,-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .stage .plane { animation: none; } }
@media (min-width: 900px) { .hero .stage { max-height: 74vh; } }
.split__stage {  display: grid; place-items: center;  }
.split__stage .plane { width: 60%; height: auto; }
@media (max-width: 899px) { .split__stage { aspect-ratio: 16/9; } .split__stage .plane { width: 34%; } }
.frow__pic { width: 96px; aspect-ratio: 1; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.frow__pic .plane { width: 64%; height: auto; }
@media (min-width: 900px) { .frow__pic { width: 160px; } }
.plan--opt .tier::after, .plan__tiers--inner .tier::after { color: #fff; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.stage__bar span { background: rgba(14,22,33,.8); color: var(--ink); border: 1px solid var(--line); }
.plan, .slip, .ask, .stage, .split__stage, .last__text { border-radius: 16px; }

/* Без рамок вокруг самолётика */
.stage, .split__stage, .frow__pic { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
.stage .plane { filter: drop-shadow(0 20px 40px rgba(42,171,238,.25)); }

.stage__bar{display:none!important}

/* Светлая тема, самолётик без подложки */
.btn--ink:hover { background: #2b3a4a; }
.stage, .split__stage, .frow__pic { aspect-ratio: auto !important; outline: 0 !important; }
.stage .plane, .split__stage .plane { filter: drop-shadow(0 18px 40px rgba(42,171,238,.28)); }
.tier { border-color: rgba(255,255,255,.5); }
