@font-face { font-family: "Mont"; src: url("/assets/montserrat-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "InterV"; src: url("/assets/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --navy: #071645; --navy2: #0a1f5c; --navy3: #0b2a78;
  --sky: #5fd0ff; --blue-top: #20b6f9; --blue-bot: #1254e8;
  --tg-top: #3cc0ff; --tg-bot: #0a84d6;
  --green: #4fe07a; --text: #fff; --muted: #a9bbd8; --line: rgba(255,255,255,.14);
  --glass: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--navy); }
body {
  margin: 0; color: var(--text); font: 16px/1.45 "InterV", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--navy3) 0%, var(--navy2) 40%, var(--navy) 100%); min-height: 100vh; overflow-x: hidden;
}
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 420px at 50% -80px, rgba(32,182,249,.42), transparent 70%),
    radial-gradient(520px 520px at 110% 70%, rgba(26,140,243,.28), transparent 70%),
    radial-gradient(480px 480px at -10% 45%, rgba(18,84,232,.35), transparent 70%);
}
.bg::after { content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, transparent 70%);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .name { font-family: "Mont", "InterV", sans-serif; font-weight: 800; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: rgba(8,24,72,.66); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-family: "Mont", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.2px; }
.brand img { border-radius: 8px; }
.top-tg { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(60,192,255,.16); border: 1px solid rgba(95,208,255,.4); color: #dff4ff; }
.top-tg svg { width: 16px; height: 16px; fill: currentColor; }

main { max-width: 1100px; margin: 0 auto; padding: 0 18px; }

.hero { display: grid; gap: 28px; padding: 30px 0 8px; }
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo { border-radius: 16px; box-shadow: 0 10px 28px rgba(18,84,232,.55), 0 0 0 1px rgba(255,255,255,.12); }
.name-org { font-size: 13px; font-weight: 700; letter-spacing: .4px; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.name { font-size: 24px; letter-spacing: -.4px; line-height: 1.1; }
.sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .2px; color: #fff;
  background: linear-gradient(180deg, #3fd866, #28b14c); box-shadow: 0 6px 20px rgba(52,199,89,.35); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
h1 { font-size: clamp(29px, 8.4vw, 37px); line-height: 1.08; letter-spacing: -1px; margin: 26px 0 12px; }
.hl { color: var(--sky); }
.lead { font-size: 17px; color: #d3e1f7; margin: 0; max-width: 520px; }

.cta { display: grid; gap: 12px; margin-top: 24px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 18px;
  border-radius: 16px; font-size: 17px; font-weight: 700; text-align: center; transition: transform .12s, box-shadow .2s; }
.nw { white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.demo { color: var(--navy2); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.demo svg { color: var(--blue-bot); }
.tg { color: #fff; min-height: 62px; font-size: 18px; background: linear-gradient(180deg, var(--tg-top), var(--tg-bot));
  box-shadow: 0 10px 30px rgba(10,132,214,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:hover { transform: translateY(-1px); }
.cta-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.phone { margin: 0 auto; width: min(300px, 78vw); padding: 9px; border-radius: 40px; background: #050b1f;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1.5px rgba(255,255,255,.14), 0 0 80px rgba(32,182,249,.25); }
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 32px; background: var(--navy2); object-fit: cover; }

.how ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.how li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.how li > span { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bot)); }
.how b { display: block; font-size: 16px; }
.how em { display: block; font-style: normal; color: var(--muted); font-size: 15px; margin-top: 2px; }

.features { margin-top: 44px; }
.features h2, .final h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.6px; margin: 0 0 18px; }
.grid { display: grid; gap: 12px; }
.f { padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.f h3 { font-size: 17px; line-height: 1.25; letter-spacing: -.2px; margin: 12px 0 6px; }
.f p { margin: 0; font-size: 15px; color: #c3d3ec; }
.ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(180deg, var(--blue-top), var(--blue-bot));
  box-shadow: 0 6px 16px rgba(18,84,232,.45); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-main { background: linear-gradient(135deg, rgba(32,182,249,.32), rgba(18,84,232,.22)); border-color: rgba(95,208,255,.45); }
.f-main h3 { font-size: 20px; }
.f-main .ic { background: #fff; }
.f-main .ic svg { stroke: var(--blue-bot); }
.f-wide { border-color: rgba(95,208,255,.35); }
.plan { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .2px;
  color: #fff; background: linear-gradient(180deg, var(--blue-top), var(--blue-bot)); }
.f-wide .plan + h3 { margin-top: 8px; }

.final { margin: 44px 0 0; padding: 28px 20px 24px; border-radius: 26px; text-align: center;
  background: radial-gradient(400px 220px at 50% 0, rgba(32,182,249,.35), transparent 70%), var(--glass); border: 1px solid rgba(95,208,255,.35); }
.final h2 { margin: 0 0 8px; font-size: 28px; }
.final p { margin: 0 auto; color: #d3e1f7; max-width: 440px; }
.final .cta { max-width: 440px; margin: 22px auto 0; }

.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 16px calc(30px + env(safe-area-inset-bottom));
  font-size: 13px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-product { font-family: "Mont", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: -.2px; color: #fff; }
.foot img { border-radius: 5px; }
.foot-contacts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; }
.foot-contacts a { color: #dff4ff; font-weight: 600; text-decoration: none; word-break: break-all; }
.foot-contacts a:hover { color: #fff; text-decoration: underline; }
.foot-site { color: var(--muted); font-weight: 600; text-decoration: none; }
.foot-site:hover { color: #dff4ff; text-decoration: underline; }

@media (min-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .f-main, .f-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .top { padding-left: max(24px, calc((100vw - 1100px) / 2 + 18px)); padding-right: max(24px, calc((100vw - 1100px) / 2 + 18px)); }
  .hero { grid-template-columns: 1fr 340px; align-items: center; gap: 56px; padding-top: 64px; }
  h1 { font-size: 56px; letter-spacing: -1.8px; }
  .lead { font-size: 19px; }
  .hero .cta { max-width: 460px; }
  .hero .cta-note { text-align: left; max-width: 460px; text-align: center; }
  .phone { width: 320px; }
  .how ol { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .features { margin-top: 64px; }
  .features h2 { font-size: 34px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .f-main { grid-column: span 3; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: center; padding: 22px 24px; }
  .f-main .ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; }
  .f-main h3 { margin: 0 0 4px; font-size: 22px; }
  .f-wide { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; padding: 22px 24px; }
  .f-wide .ic { width: 52px; height: 52px; border-radius: 14px; }
  .f-wide .plan { margin-top: 0; }
  .final { margin-top: 64px; padding: 44px 32px 38px; }
  .final h2 { font-size: 38px; }
  .final .cta { max-width: 760px; grid-template-columns: 1fr 1fr; }
  .final .btn { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* шапка: ссылка на тарифы */
.top-r { display: flex; align-items: center; gap: 8px; }
.top-link { padding: 7px 10px; font-size: 14px; font-weight: 600; color: #dff4ff; }
/* «Вход» для уже зарегистрированных — справа, заметная белая кнопка */
.top-login { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: #fff; color: #0b2a6b; box-shadow: 0 4px 14px rgba(0,0,0,.25); white-space: nowrap; }
.top-login:hover { background: #e9f6ff; }
/* переключатель языка RU/EN (список языков — infra/aa-master-site-src/build.py) */
.top-lang { display: inline-flex; align-items: center; padding: 2px; border-radius: 999px; border: 1px solid rgba(95,208,255,.4); background: rgba(8,24,72,.35); }
.top-lang a { padding: 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: #bcd6f3; line-height: 1; }
.top-lang a:hover { color: #fff; }
.top-lang a[aria-current="page"] { background: rgba(95,208,255,.22); color: #fff; }
@media (max-width: 430px) {
  .top { padding-left: 12px; padding-right: 12px; }
  .top-r { gap: 6px; }
  .top-link { padding: 7px 6px; }
  .top-tg { padding: 8px 9px; }
  .top-tg .tg-t { display: none; }
  .top-lang a { padding: 5px 6px; }
}
.brand span { white-space: nowrap; }
/* с переключателем языка в шапке на телефоне не помещается подпись — остаётся логотип (название есть ниже, в первом экране) */
@media (max-width: 420px) { .brand span { display: none; } }

/* тарифы */
.tariffs { margin-top: 44px; scroll-margin-top: 70px; }
.tariffs h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.6px; margin: 0 0 6px; }
.t-sub { margin: 0 0 16px; color: #d3e1f7; font-size: 15px; }
.promo-banner { display: none; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: linear-gradient(180deg, #ff4d4f, #d9262b); box-shadow: 0 10px 28px rgba(217,38,43,.45); }
.promo-banner b { font-size: 17px; line-height: 1.25; }
.promo-banner .cd { font-size: 14px; opacity: .95; }
.promo-banner time { font-variant-numeric: tabular-nums; font-weight: 700; }
.tgrid { display: grid; gap: 12px; }
.t { display: flex; flex-direction: column; padding: 20px 18px 18px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.t h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.3px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price b { font-family: "Mont", "InterV", sans-serif; font-size: 32px; letter-spacing: -.8px; line-height: 1.1; }
.price s { color: var(--muted); font-size: 17px; }
.per { color: var(--muted); font-size: 15px; }
.p-old, .p-promo, .promo-only { display: none; }
.promo-on .p-old { display: inline; }
.promo-on .p-reg, .promo-on .p-list { display: none; }
.promo-on .p-promo { display: inline; color: #ff6b6d; }
/* «Макс» в акции: −50% от 9 990 — зачёркнуто 9 990, красным 4 995 (как в оплате) */
.promo-on .promo-banner { display: flex; }
.promo-on .promo-only { display: block; }
.p-note { color: #ff8f91; font-size: 13px; font-weight: 600; margin-top: 2px; }
.p-first { color: #9fe6ff; font-size: 13px; font-weight: 600; margin-top: 4px; }
.year { color: #d3e1f7; font-size: 14px; margin-top: 6px; }
.t ul { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.t li { position: relative; padding-left: 26px; font-size: 15px; color: #dbe6f7; }
.t li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(-45deg); }
.t-btn { color: #fff; min-height: 52px; background: rgba(95,208,255,.16); border: 1px solid rgba(95,208,255,.5); }
.t-max { background: linear-gradient(135deg, rgba(32,182,249,.32), rgba(18,84,232,.24)); border-color: rgba(95,208,255,.6); }
.t-max .btn { min-height: 56px; }
.t-why { margin: 4px 0 0; padding: 16px 18px; border-radius: 18px; font-size: 15px; color: #e6f0ff;
  border-left: 3px solid var(--sky); background: rgba(95,208,255,.08); }
.t-setup { margin: 14px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-size: 15px; color: #d3e1f7; }
.t-setup b { color: #fff; }
.t-soon { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

@media (min-width: 900px) {
  .tariffs { margin-top: 64px; }
  .tariffs h2 { font-size: 34px; }
  .promo-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 22px; }
  .tgrid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .t-why { grid-column: 1 / -1; order: -1; margin: 0 0 4px; font-size: 16px; }
  .t { padding: 24px 22px 22px; }
}

/* «Почему стоит перейти на AA Master» — раскрывающийся блок (<details>), картинки грузятся только после раскрытия (loading=lazy) */
.why { margin-top: 30px; scroll-margin-top: 70px; }
.why-d { border-radius: 22px; }
.why-btn { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px;
  color: #fff; background: linear-gradient(135deg, #ff8a3d, #f0532b); box-shadow: 0 12px 32px rgba(240,83,43,.38), inset 0 1px 0 rgba(255,255,255,.3);
  -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.why-btn::-webkit-details-marker { display: none; }
.why-btn:active { transform: scale(.985); }
.why-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.why-btn-t { flex: 1; }
.why-btn b { display: block; font-family: "Mont", "InterV", sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.3px; }
.why-btn em { display: block; font-style: normal; font-size: 14px; opacity: .92; margin-top: 3px; }
.why-btn svg { flex: 0 0 30px; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.22);
  fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.why-d[open] .why-btn svg { transform: rotate(180deg); }
.why-body { padding: 18px 0 4px; }
.why-lead { margin: 0 0 16px; color: #d3e1f7; font-size: 16px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.w { padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.w-t h3 { font-size: 19px; line-height: 1.22; letter-spacing: -.3px; margin: 10px 0 6px; }
.w-t p { margin: 0; font-size: 15.5px; color: #c9d8ef; }
.w-n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 10px; font-weight: 800; font-size: 15px;
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bot)); margin-right: 8px; vertical-align: middle; }
.w-t .plan { margin-top: 0; vertical-align: middle; }
.w-img { margin: 16px auto 0; max-width: 340px; }
.w-img img { display: block; width: 100%; height: auto; border-radius: 16px; background: #f2f2f7;
  box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.14); }
.w-img figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }
.w-ill { margin: 16px auto 0; max-width: 340px; padding: 18px; border-radius: 16px; background: rgba(4,14,46,.45); border: 1px solid var(--line); }
.w-ill svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.w-big { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(180deg, #3fd866, #22a447); box-shadow: 0 10px 26px rgba(52,199,89,.35); }
.w-big svg { width: 36px; height: 36px; }
.w-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.w-chips li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 14.5px; }
.w-chips svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--sky); }
.w-move { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; text-align: center; }
.w-box { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.w-box svg { width: 34px; height: 34px; color: #a9bbd8; }
.w-box-aa { background: rgba(32,182,249,.18); border: 1px solid rgba(95,208,255,.4); }
.w-box-aa img { border-radius: 10px; }
.w-arrow { width: 34px; height: 34px; color: var(--sky); stroke-width: 2.4 !important; }
.w-move p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.w-dev { display: flex; align-items: flex-end; justify-content: center; gap: 18px; color: var(--sky); }
.w-dev svg:nth-child(1) { width: 46px; height: 46px; }
.w-dev svg:nth-child(2) { width: 64px; height: 64px; }
.w-dev svg:nth-child(3) { width: 96px; height: 96px; }
.w-seven { display: flex; align-items: center; justify-content: center; gap: 16px; }
.w-seven b { font-family: "Mont", sans-serif; font-weight: 800; font-size: 72px; line-height: 1; color: var(--green); }
.w-seven span { font-size: 16px; font-weight: 600; line-height: 1.3; }
.why-cta { margin-top: 20px; }
.why-close { display: block; margin: 14px auto 0; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
@media (min-width: 900px) {
  .why { margin-top: 48px; }
  .why-btn { max-width: 760px; margin: 0 auto; padding: 22px 28px; }
  .why-btn b { font-size: 24px; }
  .why-lead { max-width: 760px; margin: 6px auto 22px; text-align: center; font-size: 17px; }
  .w { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: center; padding: 26px 30px; }
  .w:nth-child(even) { grid-template-columns: 340px 1fr; }
  .w:nth-child(even) .w-t { order: 2; }
  .w-img, .w-ill { margin: 0; }
  .w-t h3 { font-size: 24px; }
  .w-t p { font-size: 17px; }
  .why-cta { max-width: 760px; margin: 26px auto 0; grid-template-columns: 1fr 1fr; }
}
.foot-legal { order: 99; margin-top: 6px; color: #8a93a6; opacity: .7; font-size: 10.5px; line-height: 1.4; text-align: center; }
.foot-legal a { color: inherit; text-decoration: underline; }
.foot-legal a:hover { text-decoration: underline; }

.t-pay{margin-top:8px;background:transparent;border:1px solid rgba(159,230,255,.55);color:#9fe6ff}
