/* Inter 4 (variable, wght), @fontsource-variable/inter 5.3.0, SIL OFL 1.1 — см. /assets/fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* цвета */
  --canvas: #fcfcfc;
  --wash: #f0f4fe;
  --card: #ffffff;
  --ink: #020520;
  --body: #14141e;
  --caption: #374151;
  --helper: #6b7280;
  --divider: #e2e8f0;
  --fog: #f1f5f9;
  --accent: #145aff;
  --accent-hover: #0d47d9;
  --glow: #3b82f6;
  --green: #16ca2e;
  --red: #f26052;
  --orange: #ffa64d;
  --focus: #0099ff;
  --navy: #020520;

  /* скругления */
  --r-inner: 8px;
  --r-card: 16px;
  --r-field: 12px;
  --r-section: 40px;
  --r-pill: 9999px;

  /* тени */
  --shadow-sm: rgba(0, 0, 0, .1) 0 0 4px -2px;
  --shadow-section: rgba(0, 0, 0, .082) 0 .36px 1.8px -1.4px, rgba(0, 0, 0, .07) 0 1.37px 6.87px -2.8px, rgba(0, 0, 0, .016) 0 6px 30px -4.25px;
  --shadow-glow: rgba(20, 90, 255, .1) 0 0 50px -28px, rgba(0, 0, 0, .18) 0 0 3px -1px;
  --shadow-glow-lg: rgba(20, 90, 255, .1) 0 0 100px -28px;

  --header-h: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.63;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); font-weight: 600; }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--ink); }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* шапка */
.header {
  position: sticky; top: 0; z-index: 10;
  background: var(--canvas);
  border-bottom: 1px solid var(--divider);
}
.header__in {
  max-width: 1200px; margin: 0 auto; height: var(--header-h);
  padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__logo {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--r-inner);
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px; line-height: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 600; font-size: 18px; letter-spacing: -.2px; }
.brand__sub { display: none; font-size: 12px; color: var(--helper); }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-login { font-size: 15px; font-weight: 500; color: var(--body); padding: 8px; }
.nav-login:hover { color: var(--accent); }
.nav-cta {
  font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--accent); border: 1px solid var(--accent);
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: var(--shadow-glow); }

/* кнопки: «пилюли»; главные — с заливкой, остальные — с контуром */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px 32px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; line-height: 1.4;
  background: var(--canvas); border: 1px solid var(--accent); color: var(--accent);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn:hover { background: var(--wash); color: var(--accent); box-shadow: var(--shadow-glow); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--outline { color: var(--ink); border-color: var(--divider); }
.btn--outline:hover { color: var(--ink); border-color: var(--ink); background: var(--canvas); }

/* первый экран */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 0;
  /* первый экран доходит до нижнего края окна (высота окна минус шапка 64 px и её нижняя граница 1 px);
     если текст выше окна — экран растёт, телефон показывается минимум на 160 px */
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h) - 1px);
  min-height: calc(100svh - var(--header-h) - 1px);
  background: linear-gradient(180deg, rgba(182, 203, 253, .4), rgba(240, 244, 254, 0));
  border-radius: 0 0 40px 40px;
}
/* бледная сетка с затуханием к краям */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 90, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 90, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
}
/* .wrap.hero__grid — один элемент: сетка из текста и блока телефона, растягивается на высоту первого экрана */
.hero > .wrap { position: relative; z-index: 1; width: 100%; flex: 1 0 auto; }
.hero__grid { display: grid; gap: 40px; justify-items: center; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.hero__text { text-align: center; max-width: 760px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; line-height: 1.43;
  border: 1px solid transparent;
}
.pill--green { background: rgba(22, 202, 46, .1); color: var(--body); }
.pill--blue { background: rgba(20, 90, 255, .08); color: var(--accent); }
.pill--blue::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero__title { font-size: 44px; line-height: 1.04; letter-spacing: -.035em; }
.grad { color: var(--accent); }
.hero__lead { margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--caption); max-width: 520px; }
.hero__buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; line-height: 1.43; color: var(--helper); }
.hero__note a { font-weight: 400; color: var(--accent); }

/* макет телефона в первом экране (декоративный) */
/* высота блока меньше телефона: низ телефона обрезается краем первого экрана (overflow: hidden у .hero) */
.illo { position: relative; width: 100%; min-height: 160px; display: flex; justify-content: center; align-items: flex-start; }
.illo > .phone { position: absolute; top: 0; left: 50%; margin-left: -125px; }
.phone {
  position: relative; width: 250px; height: 510px; border-radius: 44px; padding: 9px;
  background: linear-gradient(155deg, #474a5e 0%, #1c1d27 32%, #0c0d14 100%);
  box-shadow: 0 36px 70px rgba(12, 16, 60, .42), 0 10px 26px rgba(12, 16, 60, .22), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden; color: #fff;
  background: radial-gradient(150% 60% at 50% 24%, #2c2688 0%, #1c1865 36%, #120e48 68%, #0c0930 100%);
  display: flex; flex-direction: column; align-items: center;
}
.phone__status {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 0; font-size: 12px; font-weight: 600;
}
.phone__bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, .8); position: relative; }
.phone__bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1px; }
.phone__power { position: relative; width: 150px; height: 150px; margin-top: 24px; flex-shrink: 0; }
.phone__ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
}
.phone__ring--3 { width: 150px; height: 150px; background: rgba(120, 110, 255, .08); }
.phone__ring--2 { width: 114px; height: 114px; background: rgba(120, 110, 255, .14); }
.phone__ring--1 {
  width: 82px; height: 82px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--glow), var(--accent)); box-shadow: 0 0 36px rgba(20, 90, 255, .55);
}
.phone__state { margin-top: 10px; font-size: 14px; font-weight: 600; color: #9ef0b9; }
.phone__list { width: 100%; padding: 0 10px; margin-top: 16px; margin-bottom: 18px; display: grid; gap: 6px; }
.phone__row {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .05);
}
.phone__row--on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .16); }
.phone__row-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.phone__row-name { font-size: 12px; font-weight: 600; letter-spacing: -.1px; }
.phone__row-sub { font-size: 9px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.phone__check { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.float { display: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.flag { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.flag-nl { background: linear-gradient(#ae1c28 0 33.3%, #fff 33.3% 66.6%, #21468b 66.6%); }
.flag-cz {
  background:
    linear-gradient(to top right, #11457e 50%, transparent 50%) left top / 50% 50% no-repeat,
    linear-gradient(to bottom right, #11457e 50%, transparent 50%) left bottom / 50% 50% no-repeat,
    linear-gradient(#fff 0 50%, #d7141a 50%);
}
.flag-de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag-ch {
  background:
    linear-gradient(#fff, #fff) center / 62% 19% no-repeat,
    linear-gradient(#fff, #fff) center / 19% 62% no-repeat,
    #d52b1e;
}
.flag-us {
  background:
    linear-gradient(#3c3b6e, #3c3b6e) left top / 50% 53.85% no-repeat,
    repeating-linear-gradient(#b22234 0 7.69%, #fff 7.69% 15.38%);
}

/* бегущая строка: карточки-«пилюли» */
.ticker { margin-top: 32px; padding: 16px 0; overflow: hidden; background: var(--navy); }
.ticker__track { display: flex; width: max-content; animation: tick 42s linear infinite; }
.ticker__group { display: flex; flex-shrink: 0; min-width: 100vw; justify-content: space-around; gap: 12px; padding-right: 12px; }
.ticker__group li {
  display: flex; align-items: baseline; gap: 8px; padding: 12px 24px; white-space: nowrap;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24);
  font-size: 15px; line-height: 1.4; font-weight: 500; color: rgba(255, 255, 255, .9);
}
.ticker__group b { font-size: 18px; line-height: 1.4; letter-spacing: -.16px; font-weight: 600; color: #fff; }
@media (min-width: 768px) {
  .ticker__group li { font-size: 16px; }
  .ticker__group b { font-size: 20px; }
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; width: auto; justify-content: center; }
  .ticker__group { flex-wrap: wrap; justify-content: center; flex-shrink: 1; min-width: 0; width: 100%; padding: 0 16px; }
  .ticker__group li { max-width: 100%; flex-wrap: wrap; justify-content: center; white-space: normal; }
  .ticker__group[aria-hidden="true"] { display: none; }
}

/* секции */
.section { padding: 80px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.43; color: var(--accent); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--center { display: flex; justify-content: center; }
.section__title--center, .section__lead { text-align: center; }
.section__title { font-size: 32px; line-height: 1.1; letter-spacing: -1px; margin-bottom: 32px; }
.section__title--center { margin-bottom: 12px; }
.section__lead { color: var(--caption); font-size: 16px; margin-bottom: 32px; }

.three { display: grid; gap: 12px; }
.card {
  background: var(--card); border-radius: var(--r-card); padding: 24px;
  border: 1px solid var(--divider); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease);
}
.card:hover { box-shadow: var(--shadow-glow); }
.card__icon {
  width: 40px; height: 40px; border-radius: var(--r-inner); background: var(--wash); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__title { font-size: 20px; line-height: 1.4; letter-spacing: -.16px; font-weight: 600; margin-bottom: 8px; }
.card__text { font-size: 14px; line-height: 1.43; color: var(--caption); }
.step__num {
  width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 500; margin-bottom: 20px;
}

/* тарифы: крупный контейнер секции */
.prices {
  max-width: 820px; margin: 0 auto; padding: 12px;
  background: var(--fog); border-radius: 28px; box-shadow: var(--shadow-section);
  display: grid; gap: 8px;
}
.price-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 16px; border-radius: var(--r-card); background: var(--card);
  border: 1px solid #94a3b8; box-shadow: rgba(2, 5, 32, .08) 0 1px 3px;
}
.price-row--hot { background: var(--wash); border: 2px solid var(--accent); padding: 15px; box-shadow: var(--shadow-glow); }
.price-info { flex: 1 1 0; min-width: 0; }
.price-name {
  font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.price-sub { font-size: 14px; line-height: 1.43; color: var(--helper); margin-top: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; line-height: 1.2; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--fog); color: var(--caption);
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.badge--green::before { background: var(--green); }
.badge--blue { background: var(--card); color: var(--accent); border: 1px solid rgba(20, 90, 255, .35); }
.badge--blue::before { background: var(--accent); }
.price-col { display: flex; flex-direction: column; align-items: flex-end; }
.price-val { font-size: 28px; font-weight: 600; line-height: 1.05; letter-spacing: -1px; color: var(--ink); }
.price-row--hot .price-val { color: var(--accent); }
.price-cur { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.price-per { font-size: 14px; line-height: 1.43; color: var(--helper); }
.price-off {
  margin-top: 4px; font-size: 12px; line-height: 1.2; font-weight: 500; color: var(--caption);
  background: var(--fog); padding: 4px 8px; border-radius: var(--r-pill);
}
.price-btn {
  flex: 1 0 100%; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; line-height: 1.4;
  background: var(--canvas); color: var(--ink); border: 1px solid var(--divider);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.price-btn:hover { color: var(--accent); border-color: var(--accent); }
.price-btn--hot { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-btn--hot:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: var(--shadow-glow); }
.includes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
  margin-top: 24px; font-size: 14px; line-height: 1.43; color: var(--caption);
}
.includes li { display: inline-flex; align-items: center; gap: 8px; }
.includes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* FAQ — светлый, на подложке wash во всю ширину */
#faq { background: var(--wash); margin-top: 80px; padding: 80px 0; }
.wrap--faq { max-width: 852px; }
.faq { display: grid; gap: 8px; }
.faq__item {
  border: 1px solid var(--divider); border-radius: var(--r-card); background: var(--card);
  box-shadow: var(--shadow-sm); transition: box-shadow var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-glow); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; list-style: none; border-radius: var(--r-card);
  font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink);
  transition: color var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: -2px; }
.faq__sign {
  position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: var(--r-pill);
  border: 1px solid var(--divider); background: var(--canvas);
}
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px;
  background: var(--ink); transform: translate(-50%, -50%);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__sign::after { display: none; }
.faq__a { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--caption); }
.faq__a a { text-decoration: underline; text-underline-offset: 2px; }

/* призыв к действию */
.cta { padding: 80px 0; text-align: center; }
.cta__in {
  padding: 52px 20px; border-radius: var(--r-section);
  background: linear-gradient(180deg, #dbe5fd, #c3d4fb);
  box-shadow: var(--shadow-glow-lg);
}
.cta__title { font-size: 32px; line-height: 1.1; letter-spacing: -1px; }
.cta__text { margin-top: 16px; font-size: 16px; color: var(--caption); }
.cta__buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* подвал — тёмно-синий */
.footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 52px 0 32px; font-size: 14px; line-height: 1.43; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: #fff; }
.footer :focus-visible { outline-color: #fff; }
.footer__cols { display: grid; gap: 32px; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.footer__head { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.footer__links { display: grid; gap: 8px; }
.footer__bottom {
  display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__docs { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* узкие экраны */
@media (max-width: 419px) {
  .header__in { gap: 12px; }
  .brand { gap: 6px; flex-shrink: 0; }
  .brand__logo { width: 32px; height: 32px; font-size: 16px; }
  .brand__name { font-size: 16px; }
  .header__actions { gap: 10px; }
  .nav-login { font-size: 14px; padding: 8px 0; }
  .nav-cta { font-size: 14px; padding: 7px 10px; }
}
@media (max-width: 359px) {
  .header__in { padding: 0 12px; }
  .header__actions { gap: 8px; }
  .nav-cta { padding: 6px 8px; }
}

@media (min-width: 480px) {
  .hero__buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta__buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .brand__sub { display: block; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .header__in { padding: 0 32px; }
  .hero { padding: 72px 0 0; border-radius: 0 0 48px 48px; }
  .hero__title { font-size: 56px; }
  .section__title, .cta__title { font-size: 40px; line-height: 1.05; letter-spacing: -1.48px; }
  .three { grid-template-columns: repeat(3, 1fr); }
  .prices { padding: 16px; border-radius: var(--r-section); }
  .price-row { flex-wrap: nowrap; gap: 16px; padding: 16px 24px; }
  .price-row--hot { padding: 15px 23px; }
  .price-btn { flex: 0 0 140px; padding: 10px 16px; }
  .price-col { flex: 0 0 110px; }
  .cta__in { padding: 72px; }
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .header__in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header__actions { justify-self: end; }
  .nav { display: flex; gap: 16px; }
  .nav a { font-size: 15px; font-weight: 500; color: var(--body); padding: 8px 4px; }
  .nav a:hover { color: var(--accent); }
  .nav-login { padding: 8px 12px; }
  .nav-cta { font-size: 15px; padding: 10px 24px; }
  .prices { max-width: 1000px; padding: 52px 72px; }
  /* первый экран: на всю высоту окна, текст по центру, под ним телефон; низ телефона обрезается краем экрана */
  .hero {
    padding: 32px 0 0;
    min-height: 0;
    height: min(calc(100vh - var(--header-h) - 1px), 1000px);
    height: min(calc(100svh - var(--header-h) - 1px), 1000px);
  }
  .hero__grid { gap: 32px; }
  .hero__title { font-size: 76px; line-height: 1.03; max-width: 760px; margin: 0 auto; }
  .pills { margin-bottom: 24px; }
  .illo { max-width: 1000px; }
  .float {
    position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 6px;
    padding: 12px 16px; border-radius: var(--r-card); background: var(--card);
    border: 1px solid var(--divider); box-shadow: var(--shadow-sm), rgba(2, 5, 32, .06) 0 4px 16px;
    font-size: 14px; line-height: 1.43; font-weight: 500; color: var(--ink); white-space: nowrap;
    animation: floaty 6s ease-in-out infinite;
  }
  .float__state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
  .float__state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
  .float__row { display: inline-flex; align-items: center; gap: 8px; color: var(--caption); }
  .float__head { font-weight: 600; }
  .float__flags { display: flex; gap: 6px; }
  .float .flag { width: 22px; height: 22px; }
  .float--1 { right: calc(50% + 184px); top: 24px; animation-duration: 6s; }
  .float--2 { left: calc(50% + 184px); top: 72px; animation-duration: 7s; animation-delay: -2s; }
  .float--3 { right: calc(50% + 200px); top: 150px; animation-duration: 8s; animation-delay: -4s; }
  .float--4 { left: calc(50% + 200px); top: 190px; animation-duration: 5.5s; animation-delay: -1s; }
  .phone { width: 300px; height: 614px; border-radius: 50px; padding: 10px; }
  .illo > .phone { margin-left: -150px; }
  .phone__screen { border-radius: 41px; }
  .phone__power { margin-top: 44px; transform: scale(1.12); }
  .phone__state { margin-top: 20px; }
  .phone__list { gap: 8px; padding: 0 12px; margin-bottom: 26px; }
  .phone__row { padding: 9px 12px; }
  .flag { width: 26px; height: 26px; }
  .phone__row-name { font-size: 13px; }
  .phone__row-sub { font-size: 10px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__title { font-size: 62px; }
  /* карточки ближе к телефону */
  .float--1 { right: calc(50% + 166px); }
  .float--2 { left: calc(50% + 166px); }
  .float--3 { right: calc(50% + 172px); }
  .float--4 { left: calc(50% + 172px); }
}
@media (min-width: 1024px) and (max-height: 820px) {
  /* невысокие окна: меньше отступы, чтобы был виден верх телефона */
  .hero { padding-top: 16px; }
  .hero__grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
}
