/* gladko.tech — общие стили (небо, знак, стекло, тарифы) + главная. Собрано из site/variants/shared/base.css и variants/b/style.css. */
/* Гладко VPN — сайт-витрина, общая основа всех вариантов главной.
   Небо «Сияние · живое небо» и знак «Арка · световая кромка» перенесены из мини-приложения (design/app/),
   адаптированы под прокручиваемую страницу и широкий экран. Без внешних запросов: шрифты системные. */

@property --ca { syntax: '<color>'; inherits: true; initial-value: #8c5aff; }
@property --cb { syntax: '<color>'; inherits: true; initial-value: #c8a0ff; }
@property --cc { syntax: '<color>'; inherits: true; initial-value: #5a6ef0; }
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --night: #080A1B;
  --night-low: #0B0A22;
  --text: #FFFFFF;
  --text-2: rgba(226, 222, 255, .78);
  --text-3: rgba(212, 208, 250, .68);

  --font-round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --swap: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  --gutter: 20px;
  --head-h: 64px;

  /* 6 месяцев — фиолет и сирень (как в приложении) */
  --ca: oklch(61% .232 292);
  --cb: oklch(77.7% .138 302.7);
  --cc: oklch(59.3% .195 272.4);
  --ca-t: 140 90 255; --cb-t: 200 160 255; --cc-t: 90 110 240;
  interpolate-size: allow-keywords;
}
html[data-hue="12"] {
  --ca: oklch(81.8% .149 175.1); --cb: oklch(88.4% .137 162.7); --cc: oklch(68.5% .12 220.5);
  --ca-t: 36 226 190; --cb-t: 120 245 190; --cc-t: 30 170 205;
}
html[data-hue="1"] {
  --ca: oklch(61.9% .205 263.2); --cb: oklch(78.6% .112 251.3); --cc: oklch(51.2% .218 266.2);
  --ca-t: 64 124 255; --cb-t: 130 190 255; --cc-t: 44 84 225;
}
html { transition: --ca .8s var(--swap), --cb .8s var(--swap), --cc .8s var(--swap); }
@media (min-width: 900px) { :root { --gutter: 40px; --head-h: 72px; } }

* { box-sizing: border-box; }
html {
  background: var(--night);
  color: var(--text);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
}
body { margin: 0; min-height: 100vh; overflow-x: hidden; font-size: 16px; line-height: 1.45; }
a { color: inherit; }
img, svg { display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid color-mix(in oklab, var(--cb) 70%, #fff); outline-offset: 3px; border-radius: 12px; }
::selection { background: color-mix(in oklab, var(--ca) 55%, transparent); }

/* ============ Небо (за всей страницей, неподвижно) ============ */

.bg {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(90% 40% at 50% 100%, rgba(10, 8, 34, .9), rgba(10, 8, 34, 0) 70%),
    linear-gradient(180deg, #080A1B 0%, #0A0B24 45%, #0B0A22 100%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 85% at 50% 36%, rgba(4, 4, 14, 0) 52%, rgba(4, 4, 14, .55));
}
/* зерно против полос в градиенте */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* без JS сияние не запекается — мягкое свечение тех же цветов, чтобы небо не было пустым */
html:not(.js) .bg {
  background:
    radial-gradient(60% 34% at 70% 18%, color-mix(in oklab, var(--ca) 26%, transparent), transparent 70%),
    radial-gradient(50% 30% at 22% 42%, color-mix(in oklab, var(--cc) 20%, transparent), transparent 70%),
    linear-gradient(180deg, #080A1B 0%, #0A0B24 45%, #0B0A22 100%);
}

.ly { position: absolute; inset: -28px; will-change: transform; }
.au {
  position: absolute;
  left: -25%;
  width: 150%;
  height: 24%;
  mix-blend-mode: screen;
  will-change: transform;
}
.au > i {
  position: absolute;
  inset: 0;
  --rays: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='80' preserveAspectRatio='none'><filter id='r' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.03 .004' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  2.1 0 0 0 -.5'/></filter><rect width='100%' height='100%' filter='url(%23r)'/></svg>");
  -webkit-mask-size: 520px 100%, 100% 100%;
          mask-size: 520px 100%, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
          mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  visibility: hidden;
}
.ly-sky.is-baked .au > i { visibility: inherit; }
.au-a { top: 11%; transform: rotate(-28deg); animation: auA 19s ease-in-out infinite alternate; }
.au-a > i { background-image: linear-gradient(90deg, transparent 5%, color-mix(in oklab, var(--ca) 96%, transparent) 30%, color-mix(in oklab, var(--cc) 54%, transparent) 55%, transparent 80%); }
.au-b { top: 10%; transform: rotate(-30deg); animation: auB 23s ease-in-out infinite alternate; }
.au-b > i {
  background-image: linear-gradient(90deg, transparent 25%, color-mix(in oklab, var(--cb) 90%, transparent) 62%, color-mix(in oklab, var(--ca) 46%, transparent) 85%, transparent 100%);
  -webkit-mask-position: 190px 0, 0 0; mask-position: 190px 0, 0 0;
}
.au-c { top: 34%; height: 16%; transform: rotate(-26deg); opacity: .82; animation: auC 27s ease-in-out infinite alternate; }
.au-c > i {
  background-image: linear-gradient(90deg, transparent 0%, color-mix(in oklab, var(--ca) 65%, transparent) 25%, color-mix(in oklab, var(--cc) 46%, transparent) 55%, transparent 85%);
  -webkit-mask-position: 340px 0, 0 0; mask-position: 340px 0, 0 0;
}
.au-d { top: 58%; height: 17%; transform: rotate(-24deg); animation: auD 31s ease-in-out infinite alternate; }
.au-d > i {
  background-image: linear-gradient(90deg, transparent 10%, color-mix(in oklab, var(--cb) 62%, transparent) 50%, color-mix(in oklab, var(--ca) 46%, transparent) 80%, transparent 100%);
  -webkit-mask-position: 90px 0, 0 0; mask-position: 90px 0, 0 0;
}
/* широкий экран: полосы положе и шире, иначе на 1440 px они режут экран слишком круто */
@media (min-width: 900px) {
  .au-a { top: 8%; height: 30%; transform: rotate(-15deg); }
  .au-b { top: 4%; height: 26%; transform: rotate(-17deg); }
  .au-c { top: 36%; height: 20%; transform: rotate(-13deg); }
  .au-d { top: 62%; height: 22%; transform: rotate(-12deg); opacity: .8; }
}
@keyframes auA { from { translate: -4% -2%; } to { translate: 6% 3%; } }
@keyframes auB { from { translate: 5% 2%; } to { translate: -6% -3%; } }
@keyframes auC { from { translate: -5% 2%; } to { translate: 6% -2%; } }
@keyframes auD { from { translate: 4% -2%; } to { translate: -5% 3%; } }

.stars { position: absolute; inset: 0; }
.stars b { position: absolute; border-radius: 50%; background: #fff; opacity: var(--o); }
.stars b.tw { animation: tw var(--d) ease-in-out var(--w) infinite alternate; }
@keyframes tw { to { opacity: calc(var(--o) * .5); } }

.meteor {
  position: absolute;
  left: -130px; top: 0;
  width: 130px; height: 1.6px; margin-top: -.8px;
  border-radius: 2px;
  opacity: 0;
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(220, 235, 255, 0), rgba(220, 235, 255, .5) 70%, #fff);
  filter: drop-shadow(0 0 4px rgba(200, 220, 255, .9));
}

/* ============ Знак «Арка» ============ */

.sign {
  --s: 168px;
  flex: none;
  position: relative;
  width: var(--s);
  height: var(--s);
  perspective: 700px;
}
.sign-halo-in, .sign-halo {
  position: absolute;
  left: 50%; top: 52%;
  width: 210%; height: 190%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.sign-halo-in .sign-halo { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
.sign-halo {
  border-radius: 50%;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--ca) 40%, transparent),
    color-mix(in oklab, var(--cc) 15%, transparent) 46%,
    color-mix(in oklab, var(--ca) 6%, transparent) 72%,
    transparent);
  animation: breathe 6.4s ease-in-out infinite alternate-reverse;
}
.sign-tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.sign-float { position: absolute; inset: 0; display: grid; place-items: center; animation: float 6.4s ease-in-out infinite alternate-reverse; }
@keyframes float { from { transform: translateY(1.5px) scale(1); } to { transform: translateY(-1.5px) scale(1.025); } }
@keyframes breathe { from { opacity: .8; } to { opacity: 1; } }
@keyframes glow { from { opacity: .66; } to { opacity: 1; } }

.arka { grid-area: 1 / 1; display: block; width: var(--s); height: calc(var(--s) * .9091); overflow: visible; }
.arka-glow-w { grid-area: 1 / 1; display: block; width: var(--s); height: calc(var(--s) * .9091); animation: glow 6.4s ease-in-out infinite alternate-reverse; }
.arka-glow { filter: blur(5px); }
.arka-glow use { fill: none; stroke: url(#gRim); stroke-width: 7; stroke-linejoin: round; }
.arka .inner use { fill: none; stroke: url(#gRim); stroke-width: 9; opacity: .5; }
.arka .rim use { fill: none; stroke: url(#gRim); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.arka .core use { fill: none; stroke: url(#gCore); stroke-width: .85; opacity: .92; stroke-linejoin: round; stroke-linecap: round; }

.s-a { stop-color: color-mix(in oklab, #39E6CF 74%, var(--cb)); }
.s-b { stop-color: color-mix(in oklab, #9A6BFF 68%, var(--ca)); }
.c-a { stop-color: color-mix(in oklab, #fff 82%, #39E6CF); }
.c-b { stop-color: color-mix(in oklab, #fff 62%, var(--cb)); stop-opacity: .5; }

.arka-sheen {
  grid-area: 1 / 1;
  position: relative;
  width: var(--s);
  height: calc(var(--s) * .9091);
  overflow: hidden;
  pointer-events: none;
  --shape: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187 170'><path d='M0 168.5V56A56 56 0 0 1 56 0H182A5 5 0 0 1 187 5V46.5A1.5 1.5 0 0 1 185.5 48H96A48 48 0 0 0 48 96V168.5A1.5 1.5 0 0 1 46.5 170H1.5A1.5 1.5 0 0 1 0 168.5Z'/><path d='M73 168.5V119A48 48 0 0 1 121 71H185.5A1.5 1.5 0 0 1 187 72.5V147A23 23 0 0 1 164 170H74.5A1.5 1.5 0 0 1 73 168.5Z'/></svg>");
  -webkit-mask: var(--shape) 0 0 / 100% 100% no-repeat;
          mask: var(--shape) 0 0 / 100% 100% no-repeat;
}
.arka-sheen::before {
  content: "";
  position: absolute;
  top: -10%; bottom: -10%; left: -60%; right: -60%;
  background: linear-gradient(105deg, transparent 42%, color-mix(in oklab, var(--cb) 45%, #fff) 50%, transparent 58%);
  opacity: .35;
  transform: translateX(-75%);
  animation: sheen 10s ease-in-out 3s infinite;
}
@keyframes sheen { 0% { transform: translateX(-75%); } 11%, 100% { transform: translateX(75%); } }

/* появление знака: свет пробегает по кромке, затем проявляется тело */
.js .intro .sign { animation: signIn .8s var(--ease) .05s both; }
.js .intro .sign .draw { stroke-dasharray: 100 100; animation: draw 1.1s cubic-bezier(.65, 0, .35, 1) .1s both; }
.js .intro .sign .body { animation: fadeIn .7s ease-out .3s both; }
.js .intro .sign-halo-in { animation: haloIn .5s ease-out .9s both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes signIn { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes haloIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(var(--dy, 12px)); } }

/* маленький знак (шапка, подвал) — та же форма, кромка толще, чтобы читалась в 24 px */
.mark { width: 26px; height: auto; overflow: visible; flex: none; }
.mark .m-body use { fill: url(#gBody); }
.mark .m-rim use { fill: none; stroke: url(#gRim); stroke-width: 11; stroke-linejoin: round; }
.mark .m-glow { filter: blur(4px); opacity: .7; }
.mark .m-glow use { fill: none; stroke: url(#gRim); stroke-width: 16; }

/* ============ Шапка ============ */

.head {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--head-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.head.is-scrolled {
  background-color: rgba(9, 9, 28, .62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
}
.head-in {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: #fff; background-color: rgba(255, 255, 255, .06); }
@media (min-width: 900px) { .nav { display: flex; } }

/* стеклянная кнопка-таблетка (шапка, вторичные действия) */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 60%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px -8px rgba(0, 0, 12, .7);
  transition: transform .38s var(--spring), background-color .25s ease;
}
.pill:hover { background-color: rgba(255, 255, 255, .13); }
.pill:active { transform: scale(.96); transition-duration: .09s; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.head .pill { margin-left: auto; height: 38px; padding: 0 14px; font-size: 14px; }
@media (min-width: 900px) { .head .pill { margin-left: 8px; } }

/* ============ Главная кнопка (как в приложении) ============ */

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 32px;
  border-radius: 29px;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-round);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: color-mix(in oklab, var(--cc) 30%, #0c0a26);
  background: linear-gradient(180deg, #fff 0%, color-mix(in oklab, var(--cb) 22%, #fff) 55%, color-mix(in oklab, var(--cb) 38%, #fff) 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 color-mix(in oklab, var(--cc) 14%, transparent),
    0 14px 36px -10px color-mix(in oklab, var(--ca) 75%, transparent),
    0 6px 16px -6px rgba(0, 0, 20, .6);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform .38s var(--spring), box-shadow .3s ease;
}
.cta:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 color-mix(in oklab, var(--cc) 14%, transparent), 0 18px 44px -10px color-mix(in oklab, var(--ca) 90%, transparent), 0 6px 16px -6px rgba(0, 0, 20, .6); }
.cta:active { transform: scale(.97); transition-duration: .09s; }
.cta svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .9) 48%, color-mix(in oklab, var(--cb) 40%, transparent) 54%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-105%);
  pointer-events: none;
}
.cta:hover::after { animation: ctaShine .8s var(--swap); }
@keyframes ctaShine { to { transform: translateX(105%); } }

/* тихая ссылка-действие */
.quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.quiet:hover { border-color: #fff; }

/* щит «Отключить можно в любой момент» */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-2);
}
.chip svg { width: 16px; height: 16px; flex: none; }
.chip svg circle { fill: color-mix(in oklab, var(--cb) 40%, #fff); opacity: .9; }
.chip svg path { fill: none; stroke: color-mix(in oklab, var(--cc) 40%, #0a0824); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* условия (касса: видны рядом с тарифами, до оплаты) */
.fine {
  font-size: 13px;
  line-height: 1.42;
  color: rgba(255, 255, 255, .74);
  text-wrap: balance;
  font-variant-numeric: tabular-nums;
}
.fine a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 2px; }
.fine a:hover { text-decoration-color: #fff; }

/* ============ Стекло ============ */

.glass {
  position: relative;
  border-radius: 24px;
  background-color: rgba(9, 9, 30, .58);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 45%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
          backdrop-filter: blur(20px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 28px -14px rgba(0, 0, 12, .7);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--cb) 38%, rgba(255, 255, 255, .3)), rgba(255, 255, 255, .07) 40%, rgba(255, 255, 255, .04) 62%, color-mix(in oklab, var(--ca) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* ============ Тарифы: строка-карточка как в приложении ============ */

.plan {
  --rim-on: linear-gradient(150deg, #fff, color-mix(in oklab, var(--cb) 75%, #fff) 35%, color-mix(in oklab, var(--ca) 70%, transparent) 65%, color-mix(in oklab, var(--cb) 80%, #fff));
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 24px;
  background-color: rgba(9, 9, 30, .58);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 45%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
          backdrop-filter: blur(20px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 28px -14px rgba(0, 0, 12, .7);
  cursor: pointer;
  transition: transform .38s var(--spring), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.plan::before, .plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.plan::before { background: linear-gradient(160deg, color-mix(in oklab, var(--cb) 38%, rgba(255, 255, 255, .3)), rgba(255, 255, 255, .07) 40%, rgba(255, 255, 255, .04) 62%, color-mix(in oklab, var(--ca) 45%, transparent)); }
.plan::after { padding: 1.5px; background: var(--rim-on); opacity: 0; }
.plan:active { transform: scale(.98); transition: transform .09s ease-out; }
.plan:has(input:focus-visible) { outline: 2px solid var(--cb); outline-offset: 3px; }
.plan.is-on {
  background-color: color-mix(in oklab, var(--cc) 32%, rgba(14, 12, 44, .6));
  background-image:
    radial-gradient(120% 140% at 0% 0%, color-mix(in oklab, var(--cb) 22%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 45%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
          backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    0 0 0 4px color-mix(in oklab, var(--cb) 10%, transparent),
    0 0 32px -4px color-mix(in oklab, var(--ca) 55%, transparent),
    0 16px 36px -12px color-mix(in oklab, var(--cc) 60%, transparent);
}
.plan.is-on::before { opacity: 0; }
.plan.is-on::after { opacity: 1; }
.plan.is-sweep::after {
  background: conic-gradient(from var(--sweep), rgba(255, 255, 255, 0) 0deg 290deg, #fff 345deg, rgba(255, 255, 255, 0) 360deg), var(--rim-on);
  animation: sweep .7s var(--swap) both;
}
@keyframes sweep { from { --sweep: -40deg; } to { --sweep: 320deg; } }
.plan input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.radio {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(235, 232, 255, .5);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.radio svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: color-mix(in oklab, var(--cc) 40%, #0a0824);
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s var(--ease), transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.plan.is-on .radio {
  background-color: color-mix(in oklab, var(--cb) 35%, #fff);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--cb) 22%, transparent), 0 2px 12px color-mix(in oklab, var(--ca) 70%, transparent);
}
.plan.is-on .radio svg { opacity: 1; transform: scale(1); }
.plan-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.plan-name { font-family: var(--font-round); font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.2; }
.plan-total { font-size: 14px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .86); font-variant-numeric: tabular-nums; }
.plan-total s { margin-right: 5px; font-weight: 400; color: var(--text-3); text-decoration-color: rgba(255, 255, 255, .5); text-decoration-thickness: 1.25px; }
.plan-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.plan-price b { font-family: var(--font-round); font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.04; font-variant-numeric: tabular-nums; }
.plan-price i { margin-left: 2px; font-style: normal; font-size: .62em; font-weight: 600; opacity: .7; }
.plan-price small { font-size: 13px; line-height: 1.2; letter-spacing: .01em; color: var(--text-3); }
.tag {
  position: absolute;
  z-index: 2;
  top: -11px; left: 56px;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 12px; font-weight: 600; line-height: 22px; letter-spacing: .005em;
  white-space: nowrap;
  color: color-mix(in oklab, var(--cb) 40%, #fff);
  background: rgba(18, 16, 48, .9);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cb) 38%, transparent);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.plan.is-on .tag {
  color: color-mix(in oklab, var(--cc) 40%, #0a0824);
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--cb) 45%, #fff));
  box-shadow: 0 4px 16px -2px color-mix(in oklab, var(--ca) 65%, transparent);
}

/* ============ Значки ============ */

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Вопросы (работают без JS: <details>) ============ */

.faq details { position: relative; }
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq .plus {
  flex: none;
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .4s var(--ease), background-color .3s ease;
}
.faq .plus::before, .faq .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.6px;
  margin: -.8px 0 0 -5.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .9);
  transition: transform .4s var(--ease);
}
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: color-mix(in oklab, var(--ca) 30%, rgba(255, 255, 255, .06)); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 60ch; }
.faq details p b { color: #fff; font-weight: 600; }
/* плавное раскрытие там, где браузер умеет (Chrome 131+); в остальных — просто открывается */
.faq details::details-content {
  height: 0;
  overflow: clip;
  opacity: 0;
  transition: height .4s var(--ease), opacity .3s ease, content-visibility .4s allow-discrete;
}
.faq details[open]::details-content { height: auto; opacity: 1; }

/* ============ Подвал ============ */

.foot { position: relative; color: var(--text-3); font-size: 14px; line-height: 1.6; }
.foot a { color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: #fff; }
.foot h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.req { font-style: normal; }
.req span { display: block; }

/* ЮKassa — временная текстовая плашка (официальный логотип поставим позже) */
.ykassa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background-color .2s ease;
}
.ykassa:hover { background: rgba(255, 255, 255, .13); }
.ykassa small { font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

/* ============ Появление секций при прокрутке (только с JS и без «уменьшить движение») ============ */

.js.motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js.motion .rv.in { opacity: 1; transform: none; }

/* ============ Без движения: ?static=1 и системная настройка ============ */

.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* облегчённый режим: слабый телефон или ?lite=1 — без размытия под стеклом */
.lite .au { animation: none; }
.lite .stars b { animation: none; }
.lite .bg::before, .lite .arka-sheen { display: none; }
.lite .glass, .lite .plan, .lite .pill, .lite .head.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .glass, .lite .plan { background-color: rgba(14, 14, 42, .84); }
.lite .head.is-scrolled { background-color: rgba(10, 10, 32, .94); }

/* ============ Старые браузеры без color-mix ============ */

@supports not (color: color-mix(in oklab, red, blue)) {
  .au-a > i { background-image: linear-gradient(90deg, rgb(var(--ca-t) / 0) 5%, rgb(var(--ca-t) / .96) 30%, rgb(var(--cc-t) / .54) 55%, rgb(var(--cc-t) / 0) 80%); }
  .au-b > i { background-image: linear-gradient(90deg, rgb(var(--cb-t) / 0) 25%, rgb(var(--cb-t) / .9) 62%, rgb(var(--ca-t) / .46) 85%, rgb(var(--ca-t) / 0) 100%); }
  .au-c > i { background-image: linear-gradient(90deg, rgb(var(--ca-t) / 0) 0%, rgb(var(--ca-t) / .65) 25%, rgb(var(--cc-t) / .46) 55%, rgb(var(--cc-t) / 0) 85%); }
  .au-d > i { background-image: linear-gradient(90deg, rgb(var(--cb-t) / 0) 10%, rgb(var(--cb-t) / .62) 50%, rgb(var(--ca-t) / .46) 80%, rgb(var(--ca-t) / 0) 100%); }
  .sign-halo { background: radial-gradient(closest-side, rgb(var(--ca-t) / .4), rgb(var(--cc-t) / .15) 46%, rgb(var(--ca-t) / .06) 72%, rgb(var(--ca-t) / 0)); }
  .s-a { stop-color: #62E3D9; }
  .s-b { stop-color: rgb(var(--ca-t)); }
  .c-a { stop-color: #E8FFFB; }
  .c-b { stop-color: #F3EEFF; }
  .cta { color: #1B1640; background: linear-gradient(180deg, #fff, #ECE4FF); box-shadow: 0 14px 36px -10px rgb(var(--ca-t) / .75); }
  .glass::before, .plan::before { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 45%, rgb(var(--ca-t) / .4)); }
  .plan.is-on { background-color: rgb(var(--cc-t) / .34); box-shadow: 0 0 32px -4px rgb(var(--ca-t) / .55); }
  .plan::after { background: linear-gradient(150deg, #fff, rgb(var(--cb-t)), rgb(var(--ca-t) / .7)); }
  .tag { color: #E6DAFF; box-shadow: inset 0 0 0 1px rgb(var(--cb-t) / .4); }
  .plan.is-on .tag { color: #1B1640; background: #fff; }
  .radio svg { stroke: #16123A; }
  .plan.is-on .radio { background-color: #fff; }
  .chip svg circle { fill: #E6DDFF; }
  .chip svg path { stroke: #16123A; }
  .off { color: #E6DAFF; background: rgb(var(--cb-t) / .18); }
}

/* подписи, которые на узком экране прячутся */
.wide { display: none; }
@media (min-width: 560px) { .wide { display: inline; } }
@media (min-width: 900px) { .ly-sky { opacity: .86; } }
/* ореолы знака и телефона шире экрана — обрезаем, чтобы не было горизонтальной прокрутки */
main { overflow-x: clip; }

/* скидка к помесячной оплате */
.off {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .01em;
  vertical-align: 1px;
  color: color-mix(in oklab, var(--cb) 30%, #fff);
  background: color-mix(in oklab, var(--cb) 20%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cb) 30%, transparent);
}
.disc { margin: 14px 0 0; font-size: 13px; line-height: 1.4; color: var(--text-3); text-align: center; text-wrap: balance; }

/* шапка: на самых узких экранах — только значок Telegram */
@media (max-width: 340px) { .head .pill .pill-t { display: none; } .head .pill { width: 38px; padding: 0; } }

/* показать только на телефоне / только на компьютере */
@media (min-width: 900px) { .m-only { display: none !important; } }
@media (max-width: 899px) { .d-only { display: none !important; } }

/* строка условий под нижней кнопкой */
.end-fine { max-width: 420px; margin: 0 auto; text-align: center; }
.lite .foot { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(7, 8, 22, .97); }


/* ===================== вариант B ===================== */
/* Вариант B «Витрина с телефоном»: на компьютере первый экран разделён — слова слева, настоящее приложение справа. */

.wrap { max-width: calc(1120px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ——— Первый экран ——— */
/* телефон: как первый экран приложения */
.hero { padding-top: 10px; }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.m-sign .sign { --s: 118px; margin-bottom: 18px; }
.title {
  margin: 0;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 0 1px 24px color-mix(in oklab, var(--ca) 35%, transparent);
}
.sub { margin: 6px 0 0; font-size: 16px; line-height: 1.32; color: var(--text-2); }
.facts { margin: 8px 0 0; font-size: 17px; color: var(--text-3); }
.m-plans { width: 100%; margin-top: 26px; text-align: left; }
.m-plans .plans { display: grid; gap: 20px; }
.m-plans .disc { margin-top: 12px; }
.hero-text > .chip { margin: 14px 0 10px; }
.hero-act { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
.pill-lg { height: 58px; padding: 0 28px; border-radius: 29px; font-family: var(--font-round); font-size: 17px; }
.hero-text > .fine { margin: 10px -4px 0; font-size: 12.5px; }

.hero-phone { position: relative; display: grid; place-items: center; }
.phone-glow {
  position: absolute;
  left: 50%; top: 46%;
  width: 150%; height: 86%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--ca) 42%, transparent), color-mix(in oklab, var(--cc) 16%, transparent) 50%, transparent);
  animation: breathe 6.4s ease-in-out infinite alternate-reverse;
}
.phone-tilt { perspective: 1400px; }
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 640 / 1385;
  padding: calc(var(--w) * .035);
  border-radius: calc(var(--w) * .16);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, .02) 60%, color-mix(in oklab, var(--cb) 40%, transparent)),
    #0C0C1E;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    inset 0 0 0 4px #05050F,
    0 50px 90px -30px rgba(0, 0, 10, .9),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 30px 80px -20px color-mix(in oklab, var(--ca) 45%, transparent);
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(1deg);
  animation: phoneFloat 7s ease-in-out infinite alternate;
}
@keyframes phoneFloat { from { translate: 0 4px; } to { translate: 0 -6px; } }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .13); background: #080A1B; }
.island { position: absolute; left: 50%; top: calc(var(--w) * .062); width: 28%; height: calc(var(--w) * .085); transform: translateX(-50%); border-radius: 99px; background: #000; }
.phone-gloss { position: absolute; inset: calc(var(--w) * .035); border-radius: calc(var(--w) * .13); background: linear-gradient(115deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 32%); pointer-events: none; }

.js .intro .hero-text > * { animation: fadeUp .7s var(--ease) both; --dy: 14px; }
.js .intro .hero-text > :nth-child(2) { animation-delay: .05s; }
.js .intro .hero-text > :nth-child(3) { animation-delay: .1s; }
.js .intro .hero-text > :nth-child(n+4) { animation-delay: .18s; }
.js .intro .hero-phone { animation: phoneIn 1.1s var(--ease) .15s both; }
.js .intro .m-sign { animation: none; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }

/* компьютер: слева слова (по центру макета), справа телефон */
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    min-height: calc(100vh - var(--head-h));
    min-height: calc(100svh - var(--head-h));
    max-height: 900px;
    padding-top: 0;
    padding-bottom: 16px;
  }
  .hero-text { align-items: flex-start; text-align: left; max-width: 560px; }
  .title { font-size: 60px; letter-spacing: -.035em; }
  .sub { margin-top: 18px; font-size: 20px; }
  .hero-text > .chip { margin: 34px 0 14px; }
  .hero-act { flex-direction: row; width: auto; gap: 14px; }
  .hero-text > .fine { margin: 18px 0 0; max-width: 470px; font-size: 13px; text-align: left; }
}

/* ——— Секции ——— */
.sec { margin-top: 112px; }
@media (min-width: 900px) { .sec { margin-top: 150px; } }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-title {
  margin: 0;
  font-family: var(--font-round);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.sec-sub { margin: 10px 0 0; font-size: 16px; color: var(--text-2); text-wrap: balance; }
.sec-sub a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
@media (min-width: 900px) { .sec-title { font-size: 40px; } .sec-sub { font-size: 18px; } .sec-head { margin-bottom: 48px; } }

/* ——— Тарифы ——— */
.tcards { display: grid; gap: 22px; max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) { .tcards { grid-template-columns: repeat(3, 1fr); max-width: 980px; gap: 24px; align-items: stretch; } }
.tcard {
  --rim-on: linear-gradient(150deg, #fff, color-mix(in oklab, var(--cb) 75%, #fff) 35%, color-mix(in oklab, var(--ca) 70%, transparent) 65%, color-mix(in oklab, var(--cb) 80%, #fff));
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 28px;
  text-decoration: none;
  color: #fff;
  background-color: rgba(9, 9, 30, .58);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 45%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
          backdrop-filter: blur(20px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 28px -14px rgba(0, 0, 12, .7);
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background-color .4s var(--ease), opacity .8s var(--ease);
}
.tcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--cb) 38%, rgba(255, 255, 255, .3)), rgba(255, 255, 255, .07) 40%, rgba(255, 255, 255, .04) 62%, color-mix(in oklab, var(--ca) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.tcard:hover { transform: translateY(-4px); }
.tcard .t-total .off { margin-left: 8px; }
.tcard.is-on {
  background-color: color-mix(in oklab, var(--cc) 32%, rgba(14, 12, 44, .6));
  background-image: radial-gradient(120% 90% at 0% 0%, color-mix(in oklab, var(--cb) 22%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 0 0 4px color-mix(in oklab, var(--cb) 10%, transparent), 0 0 40px -4px color-mix(in oklab, var(--ca) 55%, transparent), 0 20px 44px -12px color-mix(in oklab, var(--cc) 60%, transparent);
}
.tcard.is-on::before { padding: 1.5px; background: var(--rim-on); }
.tcard .tag { left: 24px; top: -11px; }
.tcard.is-on .tag {
  color: color-mix(in oklab, var(--cc) 40%, #0a0824);
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--cb) 45%, #fff));
  box-shadow: 0 4px 16px -2px color-mix(in oklab, var(--ca) 65%, transparent);
}
.t-name { font-family: var(--font-round); font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.t-price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.t-price b { font-family: var(--font-round); font-size: 52px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.t-price i { font-style: normal; font-family: var(--font-round); font-size: 26px; font-weight: 600; opacity: .7; }
.t-price small { margin-left: 6px; font-size: 15px; color: var(--text-3); }
.t-total { margin: 10px 0 28px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86); font-variant-numeric: tabular-nums; }
.t-total s { margin-left: 6px; font-weight: 400; color: var(--text-3); text-decoration-color: rgba(255, 255, 255, .5); }
.t-btn {
  margin-top: auto;
  text-decoration: none;
  color: #fff;
  height: 50px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 650;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background-color .25s ease;
}
.tcard:hover .t-btn { background: rgba(255, 255, 255, .14); }
.tcard.is-on .t-btn {
  color: color-mix(in oklab, var(--cc) 30%, #0c0a26);
  background: linear-gradient(180deg, #fff 0%, color-mix(in oklab, var(--cb) 22%, #fff) 55%, color-mix(in oklab, var(--cb) 38%, #fff) 100%);
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px -10px color-mix(in oklab, var(--ca) 75%, transparent);
}

.terms { margin: 32px auto 0; max-width: 680px; text-align: center; }
.terms .disc { margin: 0; }
.terms .fine { margin: 10px 0 0; }
/* ——— Шаги: на телефоне номер и заголовок в одну строку ——— */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 14px; max-width: 440px; }
.steps li { padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; }
.steps .num {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 700;
  color: color-mix(in oklab, var(--cc) 40%, #0a0824);
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--cb) 40%, #fff));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--cb) 12%, transparent), 0 6px 18px -4px color-mix(in oklab, var(--ca) 65%, transparent);
}
.steps .st { display: flex; flex-direction: column; padding-top: 6px; }
.steps b { font-family: var(--font-round); font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.steps small { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 24px; }
  .steps li { flex-direction: column; gap: 20px; padding: 30px 28px 32px; }
  .steps .num { width: 40px; height: 40px; font-size: 18px; border-radius: 14px; }
  .steps .st { padding-top: 0; }
  .steps b { font-size: 19px; }
}

/* ——— Устройства: на телефоне 5 в ряд без плиток, на компьютере — плитки ——— */
.devices { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 440px; }
.devices li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.devices .ico { width: 30px; height: 30px; stroke-width: 1.4; color: color-mix(in oklab, var(--cb) 35%, #fff); }
@media (max-width: 899px) {
  .devices li.glass { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .devices li.glass::before { display: none; }
}
@media (max-width: 400px) { .devices li { font-size: 12px; } }
@media (min-width: 900px) { .devices { max-width: none; gap: 20px; } .devices li { height: 150px; gap: 12px; font-size: 15px; border-radius: 22px; } .devices .ico { width: 42px; height: 42px; stroke-width: 1.35; } }

/* ——— Оплата ——— */
.pay { padding: 26px 24px; display: grid; gap: 22px; }
.pay-title { margin: 0; font-family: var(--font-round); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.pay-note { margin: 10px 0 0; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.pay-note .ico { width: 18px; height: 18px; flex: none; color: color-mix(in oklab, var(--cb) 45%, #fff); }
.pay-side { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 600; text-decoration: none; color: #fff; }
.more .ico { width: 18px; height: 18px; opacity: .7; transition: transform .3s var(--ease); }
.more:hover .ico { transform: translateX(3px); }
@media (min-width: 900px) {
  .pay { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; border-radius: 28px; }
  .pay-title { font-size: 26px; }
  .pay-side { gap: 24px; }
}

/* ——— Вопросы ——— */
.faq-sec { display: grid; gap: 8px; }
.faq-side { text-align: center; margin-bottom: 20px; }
.faq details { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .09); }
.faq details:first-child { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(255, 255, 255, .09); }
.faq summary { min-height: 68px; padding: 16px 4px; }
.faq details p { padding: 0 48px 22px 4px; }
.faq details a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 2px; }
@media (min-width: 900px) {
  .faq-sec { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-side { text-align: left; position: sticky; top: calc(var(--head-h) + 24px); }
  .faq summary { font-size: 18px; min-height: 76px; }
}

.end { text-align: center; display: flex; flex-direction: column; align-items: center; }
.end-title { margin: 0; font-family: var(--font-round); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.end .hero-act { margin-top: 24px; justify-content: center; }
@media (min-width: 900px) { .end-title { font-size: 36px; } }

/* ——— Подвал ——— */
.foot { margin-top: 120px; padding: 48px var(--gutter) 36px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); background: rgba(7, 8, 22, .9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.foot-in { max-width: 1120px; margin: 0 auto; display: grid; gap: 30px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin: 10px 0 0; }
.copy { max-width: 1120px; margin: 36px auto 0; font-size: 13px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr 1.2fr 1.3fr; gap: 48px; } }

/* вопросы на стеклянной карточке (как в A) — ответы не лежат на сиянии */
.faq.glass details { box-shadow: none; padding: 0 20px; }
.faq.glass details + details { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.faq.glass details:first-child { box-shadow: none; }
.faq.glass summary { padding-left: 0; padding-right: 0; }
.faq.glass details p { padding-left: 0; padding-right: 40px; }
@media (min-width: 900px) { .faq.glass details { padding: 0 26px; } }
.end .end-fine { margin-top: 18px; }
.end .quiet { margin-top: 18px; }

/* низкий экран телефона (640–720 px с панелями браузера) — кнопка и условия остаются в первом экране */
@media (max-width: 899px) and (max-height: 719px) {
  .hero { padding-top: 4px; }
  .m-sign .sign { --s: 72px; margin-bottom: 10px; }
  .title { font-size: 29px; }
  .sub { margin-top: 4px; font-size: 15px; }
  .m-plans { display: contents; }
  .m-plans .plans { width: 100%; margin-top: 20px; text-align: left; gap: 14px; }
  .m-plans .disc { order: 1; margin-top: 10px; font-size: 12px; }
  .plan { min-height: 60px; padding: 9px 16px; }
  .plan-price b { font-size: 25px; }
  .plan-price small { font-size: 12px; }
  .hero-text > .chip { margin: 12px 0 8px; }
  .hero-act .cta { height: 54px; }
  .hero-text > .fine { margin-top: 8px; font-size: 12px; line-height: 1.36; }
}

/* ===================== gladko.tech: главная (вариант B) — дополнения боевой версии ===================== */
.tg-alt { margin-top: 14px; font-size: 15px; }
.steps-alt { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--text-2); }
.steps-alt a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.chip svg path { fill: color-mix(in oklab, var(--cb) 16%, transparent); stroke: color-mix(in oklab, var(--cb) 55%, #fff); stroke-width: 1.7; }
.foot-brand p + p { margin-top: 4px; }
@media (max-width: 899px) and (max-height: 719px) { .tg-alt { margin-top: 10px; font-size: 14px; } }
@supports not (color: color-mix(in oklab, red, blue)) { .chip svg path { stroke: #D9CCFF; fill: none; } }
