/*
 * Страница подключения COMPTON VPN — «Жидкое золото».
 *
 * Слои: .scene (липкая сцена с каплей: постер → петля → сплит по скроллу)
 * → контент → .grain (плёночное зерно). Капля снята на чистом чёрном и
 * ложится через screen: чёрный исчезает, остаётся только металл.
 *
 * Без JS и при reduced-motion сцены нет: первый экран показывает статичный
 * кадр капли, шаги идут обычным списком. Всё рабочее — ссылки и кнопки —
 * живёт в разметке и от скрипта не зависит.
 *
 * Шрифты свои, с этого же домена — CSP не пускает внешние.
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-italic-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  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';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  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 {
  color-scheme: dark;

  --void: #070605;
  --ink: #f2ece1;
  --ink-2: rgba(242, 236, 225, 0.66);
  --ink-3: rgba(242, 236, 225, 0.44);
  --ink-4: rgba(242, 236, 225, 0.24);

  --gold-hi: #fff3d1;
  --gold: #d9b462;
  --gold-mid: #b08a3e;
  --gold-low: #6b4e1c;
  --gold-ink: #150f06;
  --hair: rgba(217, 180, 98, 0.2);
  --hair-2: rgba(217, 180, 98, 0.42);
  --metal: linear-gradient(105deg, #5c4318 0%, #9c7431 16%, #e8cc8a 34%, #fff3d1 42%, #d9b462 54%, #8e6828 72%, #c9a55a 88%, #6b4e1c 100%);

  --status: var(--gold);

  --gutter: 20px;
  /* Линия горизонта в кадре подвала. Телефон: кадр озера 9:16 стоит в
     рамке 9:11 по нижнему краю — сверху срезан пустой чёрный верх, и
     горизонт (64.06% кадра) оказывается на 1 − 0.3594 · 16/11. */
  --horizon: 47.72%;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --serif: 'Cormorant Garamond', 'Cormorant', ui-serif, Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--void);
}

/* Липкая сцена двигает слои при каждом скролле; привязка прокрутки
   принимает это за сдвиг контента и начинает сама листать страницу. */
.js-scene,
.js-scene body {
  overflow-anchor: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Фон — только у html: фон body рисовался бы поверх слоёв с z-index: -1. */
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--gold-ink);
  background: var(--gold);
}

a {
  color: inherit;
}

/* --- Золото как материал: текстура жидкого металла + бегущий блик --- */

.gilt {
  color: var(--gold);
  background-image:
    linear-gradient(100deg, transparent 40%, rgba(255, 250, 236, 0.95) 50%, transparent 60%),
    url('media/material.webp'),
    var(--metal);
  background-size: 300% 100%, 160% auto, 100% 100%;
  background-position: 130% 0, 20% 30%, 0 0;
  background-repeat: no-repeat, repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gilt 11s ease-in-out 1.4s infinite alternate;
}

@keyframes gilt {
  0% { background-position: 130% 0, 20% 30%, 0 0; }
  26% { background-position: -30% 0, 28% 40%, 0 0; }
  100% { background-position: -30% 0, 62% 72%, 0 0; }
}

/* --- Сцена --- */

/* Трек на всю высоту первого экрана и шагов; сцена в нём липнет к окну
   и уезжает вместе с последней панелью шагов. screen — на треке: он
   единственный слой, который смешивается с фоном страницы. */
.scene-track {
  display: none;
}

.js-scene .scene-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
}

.scene {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  contain: layout paint;
  animation: sceneIn 2s var(--ease-expo) 0.1s both;
}

.scene-media {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1000px;
  height: 562.5px;
  max-width: none;
  transform-origin: 0 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease-quint);
  will-change: transform, opacity;
}

.scene.is-portrait .scene-media {
  height: 1777.78px;
}

.scene-media.is-on {
  opacity: 1;
}

/* Десктоп: когда капли сложились, три шарика рисуются отсюда и
   разъезжаются ровно над своими карточками. */
.scene-balls {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.scene-balls.is-on {
  opacity: 1;
}

/* Нить при растяжении уходит за края кадра — растворяем их. */
.scene-split {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
}

/* На телефоне капли висят с подтёками — хвосты гасим к низу, под текст. */
.scene.is-portrait .scene-split {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 88%);
}

/* --- Зерно --- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-3%, 2%); }
  33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); }
  67% { transform: translate(3%, 3%); }
  83% { transform: translate(-1%, 4%); }
  100% { transform: translate(0, 0); }
}

/* --- Верхняя строка --- */

.journey {
  position: relative;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 0;
  animation: fadeDown 1.1s var(--ease-expo) 0.1s both;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.mark-emblem {
  width: 28px;
  height: 28px;
}

.mark-word {
  padding-left: 0.02em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.36em;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.5s var(--ease-expo);
}

.topbar-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.5s var(--ease-expo);
}

/* --- Общее --- */

/* Без z-index: иначе main станет своим контекстом наложения, и screen у
   статичных кадров смешивался бы с пустотой, а не с фоном страницы. */
main {
  position: relative;
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 400;
  padding-right: 0.06em;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow::after {
  transform: scaleX(-1);
}

/* --- Стекло ---
   Толстое матовое стекло, как в референсе: за ним всё размыто, центр
   темнее (там текст), к краям стекло светлеет и ловит свет золота.
   backdrop-filter — на самом элементе, не на псевдо: тогда opacity и
   transform на карточке не ломают размытие. */

.glass {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(115% 88% at 50% 44%, rgba(10, 8, 5, 0.72) 0%, rgba(10, 8, 5, 0.54) 50%, rgba(10, 8, 5, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 236, 200, 0.06), rgba(255, 236, 200, 0.02));
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.34),
    inset 0 -1px 0 rgba(255, 232, 190, 0.12),
    inset 0 0 44px rgba(255, 214, 150, 0.08),
    0 44px 90px -42px rgba(0, 0, 0, 0.95);
}

/* Светящаяся кромка — видна только по краю. */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.2px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 238, 205, 0.6) 0%,
    rgba(255, 238, 205, 0.16) 22%,
    rgba(255, 238, 205, 0) 44%,
    rgba(255, 238, 205, 0) 62%,
    rgba(255, 238, 205, 0.1) 84%,
    rgba(255, 238, 205, 0.4) 100%
  );
  -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, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 0.8s var(--ease-quint);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(18, 14, 9, 0.9);
  }
}

/* --- Первый экран --- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 560px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(max(16px, env(safe-area-inset-top)) + 62px) var(--gutter) calc(18px + env(safe-area-inset-bottom));
  text-align: center;
}

/* Статичный кадр — только без сцены. */
.hero-still {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: fadeIn 1.6s var(--ease-quint) 0.1s both;
}

.hero-still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js-scene .hero-still {
  display: none;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 14px;
}

h1 {
  font-size: clamp(44px, 13.6vw, 72px);
  line-height: 0.92;
}

/* Строки выезжают из-под маски; padding даёт место курсиву и выносным. */
.line {
  display: block;
  overflow: hidden;
  padding: 0 0.1em 0.08em;
  margin: 0 -0.1em -0.08em;
}

.line > span {
  display: inline-block;
  animation: lineUp 1.3s var(--ease-expo) both;
}

.line:nth-child(1) > span { animation-delay: 0.22s; }
.line:nth-child(2) > span { animation-delay: 0.34s; }

/* Карточка и капля за ней. Капля выглядывает над стеклом чёткой,
   а сквозь стекло видна размытым золотым светом. Где она встанет,
   задаёт .orb-slot — по нему её ставит gold.js. */
.pod-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 116px auto 0;
  --orb-w: 94%;
  --orb-y: 13%;
}

.orb-slot {
  position: absolute;
  top: var(--orb-y);
  left: 50%;
  width: var(--orb-w);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pod {
  display: grid;
  justify-items: center;
  padding: 22px 20px 22px;
  border-radius: 44px;
  text-align: center;
  animation: podIn 1.4s var(--ease-expo) 0.4s both;
}

.pod > * {
  animation: blurIn 1s var(--ease-expo) both;
}

.pod > :nth-child(1) { animation-delay: 0.62s; }
.pod > :nth-child(2) { animation-delay: 0.7s; }
.pod > :nth-child(3) { animation-delay: 0.78s; }
.pod > :nth-child(4) { animation-delay: 0.86s; }
.pod > :nth-child(5) { animation-delay: 0.94s; }

.status-active { --status: var(--gold); }
.status-trial { --status: #efe3c4; }
.status-bad { --status: #d9826a; }
.status-muted { --status: rgba(242, 236, 225, 0.5); }

.pod-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.pod-dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: 0 0 6px 1px var(--status), 0 0 16px 3px var(--status);
  box-shadow: 0 0 6px 1px var(--status), 0 0 16px 3px color-mix(in srgb, var(--status) 55%, transparent);
}

.pod-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--status);
  animation: ping 2.8s cubic-bezier(0, 0, 0.2, 1) 1.8s infinite;
}

.status-bad .pod-dot::after,
.status-muted .pod-dot::after {
  animation: none;
}

.pod-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 18px 0 14px;
  border-radius: 21px;
  background: linear-gradient(160deg, rgba(255, 240, 215, 0.13), rgba(255, 240, 215, 0.03) 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 235, 0.18),
    inset 0 -10px 22px rgba(0, 0, 0, 0.22),
    0 18px 34px -18px rgba(0, 0, 0, 0.8);
}

.pod-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(170deg, rgba(255, 238, 205, 0.4), rgba(255, 238, 205, 0.04) 50%, rgba(255, 238, 205, 0.18));
  -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, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.pod-icon svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px rgba(217, 180, 98, 0.55));
}

.pod-status {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 13.4vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.facts {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
}

.facts > div {
  min-width: 0;
  padding: 2px 20px;
}

.facts > div + div {
  border-left: 1px solid var(--hair-2);
}

.facts dt {
  margin: 0 0 6px;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.05;
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
}

.until {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 16px 0 0;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 240, 215, 0.1), rgba(255, 240, 215, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 235, 0.16),
    inset 0 0 0 1px rgba(255, 232, 190, 0.12),
    0 12px 26px -16px rgba(0, 0, 0, 0.8);
}

/* --- Кнопки --- */

.actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.6s var(--ease-expo), translate 0.7s var(--ease-expo), box-shadow 0.5s var(--ease-expo), background-color 0.4s ease, color 0.3s ease;
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn:focus-visible,
.topbar-link:focus-visible,
.store:focus-visible,
.chip:focus-visible,
.hint a:focus-visible {
  outline: 1.5px solid var(--gold-hi);
  outline-offset: 3px;
}

/* Главная кнопка — толстое стекло, за которым течёт жидкое золото.
   Слои снизу вверх: ::before — металл, уже размытый, будто сквозь матовое
   стекло (material-soft.webp), медленно плывёт; ::after — само стекло:
   центр темнее (там текст), сверху блик, снизу и по краям стекло
   подсвечено золотом. Оба слоя с отрицательным z-index — над фоном
   кнопки, но под текстом и иконками. */
.btn-gold {
  display: flex;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 64px;
  padding: 0 9px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fffaf0;
  text-shadow: 0 1px 14px rgba(36, 22, 4, 0.7);
  background: #3a2a10;
  box-shadow:
    0 26px 54px -24px rgba(226, 172, 78, 0.78),
    0 12px 26px -14px rgba(0, 0, 0, 0.95);
  animation: rise 1s var(--ease-expo) 0.62s both;
  transition: transform 0.6s var(--ease-expo), translate 0.7s var(--ease-expo), box-shadow 0.6s var(--ease-expo);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: -80% -30%;
  z-index: -2;
  background: url('media/material-soft.webp') 50% 50% / cover;
  animation: molten 16s ease-in-out infinite alternate;
  transition: opacity 0.6s var(--ease-quint);
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 247, 230, 0.32) 0%, rgba(255, 247, 230, 0.08) 30%, rgba(255, 247, 230, 0) 50%),
    radial-gradient(46% 92% at 50% 56%, rgba(16, 10, 2, 0.66) 0%, rgba(16, 10, 2, 0.42) 50%, rgba(16, 10, 2, 0) 100%),
    linear-gradient(180deg, rgba(16, 10, 2, 0.1), rgba(16, 10, 2, 0.26));
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 240, 0.85),
    inset 0 0 0 1px rgba(255, 236, 200, 0.26),
    inset 0 -1px 0 rgba(255, 222, 165, 0.5),
    inset 0 12px 16px -14px rgba(255, 250, 238, 0.8),
    inset 0 -18px 26px -18px rgba(255, 204, 116, 0.75),
    inset 0 0 30px 3px rgba(255, 226, 174, 0.22);
  transition: opacity 0.6s var(--ease-quint);
}

.btn-ico,
.btn-go {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

/* Молния — во вложенной стеклянной капле, как плитка в карточке статуса. */
.btn-ico {
  color: var(--gold-hi);
  background: radial-gradient(circle at 50% 30%, rgba(46, 34, 17, 0.62), rgba(10, 7, 3, 0.78) 74%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 228, 0.42),
    inset 0 0 0 1px rgba(255, 232, 190, 0.16),
    inset 0 -8px 12px -8px rgba(255, 200, 120, 0.4),
    0 8px 18px -8px rgba(0, 0, 0, 0.85);
}

.btn-ico svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 214, 140, 0.65));
}

.btn-go {
  position: relative;
  background: rgba(255, 248, 230, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.28),
    inset 0 0 0 1px rgba(255, 238, 205, 0.16);
  transition: background-color 0.4s ease;
}

.btn-go svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 6px rgba(36, 22, 4, 0.6));
  transition: transform 0.6s var(--ease-expo), opacity 0.3s ease;
}

/* Пока ждём приложение — вместо стрелки тонкое светлое кольцо. */
.btn-go::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 248, 230, 0.22);
  border-top-color: #fffaf0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-gold.is-busy .btn-go svg {
  opacity: 0;
  transform: scale(0.6);
}

.btn-gold.is-busy .btn-go::after {
  opacity: 1;
  animation: spin 0.9s linear infinite;
}

.btn-label {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.roll {
  display: block;
  height: 1.3em;
  overflow: hidden;
  line-height: 1.3;
}

.roll > span {
  display: block;
  transition: transform 0.65s var(--ease-expo);
}

.btn-gold:active {
  transform: scale(0.985);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  animation: rise 1s var(--ease-expo) 0.72s both;
}

.actions-row .btn {
  gap: 7px;
  padding: 0 13px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* Узкий экран: кнопки не влезают в строку — обе по центру, одна под другой. */
@media (max-width: 369px) {
  .actions-row {
    justify-content: center;
  }
}

/* --- Остальные кнопки — то же стекло, что у главной ---
   Те же слои: ::before — размытое золото за стеклом, только приглушённое,
   чтобы главная кнопка оставалась главной; ::after — стекло с бликом
   сверху, кромкой и тёмным центром под текстом. Стекло к тому же держит
   текст, когда кнопки проезжают по золоту капли. */
.btn-line,
.btn-text,
.topbar-link,
.store,
.chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: rgba(22, 15, 6, 0.46);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 16px 34px -20px rgba(226, 172, 78, 0.5),
    0 10px 22px -14px rgba(0, 0, 0, 0.9);
}

.btn-line::before,
.btn-text::before,
.topbar-link::before,
.store::before,
.chip::before {
  content: '';
  position: absolute;
  inset: -80% -30%;
  z-index: -2;
  background: url('media/material-soft.webp') 50% 50% / cover;
  opacity: 0.46;
  animation: molten 16s ease-in-out infinite alternate;
  transition: opacity 0.6s var(--ease-quint);
}

/* Золото в каждой кнопке течёт со своим сдвигом, не в ногу. */
.btn-text::before { animation-delay: -5s; }
.topbar-link::before { animation-delay: -9s; }
.store::before { animation-delay: -3s; }
.chip::before { opacity: 0.34; animation-delay: -11s; }
.chip:nth-child(3)::before { animation-delay: -7s; }
.chip:nth-child(4)::before { animation-delay: -14s; }

.btn-line::after,
.btn-text::after,
.topbar-link::after,
.store::after,
.chip::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 247, 230, 0.16) 0%, rgba(255, 247, 230, 0.04) 32%, rgba(255, 247, 230, 0) 52%),
    radial-gradient(62% 100% at 50% 56%, rgba(14, 9, 2, 0.6) 0%, rgba(14, 9, 2, 0.4) 55%, rgba(14, 9, 2, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 240, 0.55),
    inset 0 0 0 1px rgba(255, 236, 200, 0.2),
    inset 0 -1px 0 rgba(255, 222, 165, 0.32),
    inset 0 10px 14px -12px rgba(255, 250, 238, 0.45),
    inset 0 -14px 20px -14px rgba(255, 204, 116, 0.5),
    inset 0 0 22px 2px rgba(255, 226, 174, 0.1);
  transition: opacity 0.6s var(--ease-quint);
}

.btn-line:active,
.btn-text:active,
.topbar-link:active,
.chip:active {
  transform: scale(0.97);
}

.btn-text {
  padding: 0 12px;
  font-size: 14px;
}

.btn-text svg {
  width: 16px;
  height: 16px;
  color: var(--gold-hi);
}

/* Скопировано — стекло на миг вспыхивает золотом. */
.btn-text.is-done {
  color: var(--gold-hi);
}

.btn-text.is-done::before {
  opacity: 0.85;
}

.raw-link {
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  font: 500 12px/1.5 var(--mono);
  color: var(--gold);
  word-break: break-all;
  background: rgba(217, 180, 98, 0.05);
  box-shadow: inset 0 0 0 1px var(--hair);
  -webkit-user-select: all;
  user-select: all;
}

.hint {
  margin: 2px 4px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #efdcae;
  text-wrap: pretty;
  animation: rise 0.7s var(--ease-expo) both;
}

.hint a {
  white-space: nowrap;
  color: var(--gold-hi);
  text-decoration-color: var(--hair-2);
  text-underline-offset: 4px;
}

/* --- Шаги ---
   Три стеклянные карточки. Без сцены — обычный список под кадром трёх
   капель. Со сценой на телефоне карточки ложатся стопкой под капли
   (стекло размывает подтёки), на десктопе сцена замирает и карточки
   встают в ряд под каплями одна за другой. */

.steps {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 140px) var(--gutter) 24px;
}

.steps-still {
  display: block;
  margin: 0 calc(var(--gutter) * -1) -30%;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 80%);
}

.steps-still img {
  display: block;
  width: 100%;
  height: auto;
}

.js-scene .steps-still {
  display: none;
}

.steps-head {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.steps-head h2 {
  font-size: clamp(42px, 12.6vw, 64px);
  line-height: 0.95;
}

.cards {
  display: grid;
  gap: 20px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 22px 22px 24px;
  border-radius: 34px;
  text-align: left;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding-right: 0.06em;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-hi);
  background: rgba(217, 180, 98, 0.07);
  box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 250, 235, 0.14);
}

.card-tag {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card h3 {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.card p + p {
  margin-top: 8px;
}

.card.is-highlighted .num {
  animation: halo 1.1s ease-out 3;
}

.stores {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 9px 16px 9px 9px;
  border-radius: 22px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.5s var(--ease-expo);
}

.store:active {
  transform: scale(0.99);
}

.store-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: var(--gold-hi);
  background: radial-gradient(circle at 50% 30%, rgba(46, 34, 17, 0.62), rgba(10, 7, 3, 0.78) 74%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 228, 0.42),
    inset 0 0 0 1px rgba(255, 232, 190, 0.16),
    inset 0 -8px 12px -8px rgba(255, 200, 120, 0.4),
    0 8px 18px -8px rgba(0, 0, 0, 0.85);
}

.store-icon svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 0 6px rgba(255, 214, 140, 0.55));
}

.store-text {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.store-text small {
  font-size: 12px;
  color: var(--ink-3);
}

.store-text strong {
  font-size: 15.5px;
  font-weight: 600;
}

.store-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--gold);
  transition: transform 0.5s var(--ease-expo);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.chips-label {
  margin-right: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease, transform 0.5s var(--ease-expo);
}

/* Ряд трёх капель и цифры над ними — внутри сцены. */
.row-slot {
  position: absolute;
  top: 25%;
  left: var(--gutter);
  right: var(--gutter);
  height: 0;
}

.marks {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.marks li {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  margin-left: -30px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1;
  text-align: center;
  color: var(--ink-3);
  opacity: 0;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: opacity 0.6s var(--ease-quint), color 0.5s ease;
}

.marks.is-on li {
  opacity: 1;
}

.marks li.is-active {
  color: var(--gold-hi);
}

/* Телефон со сценой: сначала капля делится на три в пустоте, потом
   карточки ложатся стопкой прямо под капли — каждая наезжает на
   предыдущую. Верх каждой карточки, её поля и хвост секции считает
   gold.js: стопка и сцена уезжают разом, а подвал с кнопкой бота идёт
   сразу за стопкой. Значения ниже — запас до первого замера. */
.js-scene .steps {
  padding: 12vh var(--gutter) var(--steps-tail, 24px);
}

/* Отступ до стопки (--stack-lead) такой, чтобы к посадке первой
   карточки заголовок встал прямо над цифрами капель. */
.js-scene .cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--stack-lead, 20vh);
}

/* Пока прокручивают этот хвост, стопка стоит целиком. */
.js-scene .cards::after {
  content: '';
  flex: none;
  height: 6vh;
}

/* Появление: карточка всплывает из глубины, её содержимое — следом. */
.js-scene .card {
  position: -webkit-sticky;
  position: sticky;
  top: var(--stick, 30vh);
  margin: var(--mt, 16px) 0 var(--mb, 0);
  opacity: 0;
  transform: translate3d(0, 60px, 0) scale(0.95);
  transform-origin: 50% 0;
  transition: opacity 1s var(--ease-quint), transform 1.4s var(--ease-expo);
}

.js-scene .card:first-child {
  margin-top: 0;
}

/* Карточка под следующей темнеет: стопка читается глубиной. */
.js-scene .card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: #070605;
  opacity: calc(var(--cover, 0) * 0.55);
  pointer-events: none;
}

.js-scene .card.is-in {
  opacity: 1;
  transform: none;
}

.js-scene .card > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-quint), transform 1.2s var(--ease-expo);
}

.js-scene .card.is-in > * {
  opacity: 1;
  transform: none;
}

.js-scene .card.is-in > :nth-child(1) { transition-delay: 0.12s; }
.js-scene .card.is-in > :nth-child(2) { transition-delay: 0.2s; }
.js-scene .card.is-in > :nth-child(3) { transition-delay: 0.28s; }
.js-scene .card.is-in > :nth-child(4) { transition-delay: 0.36s; }
.js-scene .card.is-in > :nth-child(5) { transition-delay: 0.44s; }

/* Карточка, которую сейчас читают, — с кромкой поярче. */
.js-scene .card::after {
  opacity: 0.55;
}

.js-scene .card.is-active::after {
  opacity: 1;
}

/* --- Подвал: золотое озеро, слово стоит на горизонте --- */

.foot {
  position: relative;
  margin-top: clamp(40px, 10vh, 120px);
}

/* Телефон со сценой: хвост шагов нужен только сцене — подвал заходит
   на него и встаёт вплотную под стопку карточек. */
.js-scene .foot {
  margin-top: calc(var(--steps-tail, 24px) * -1);
}

.foot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 11;
  overflow: hidden;
}

.foot-lake {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

.foot-inner {
  position: absolute;
  top: 7%;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.foot-link {
  min-height: 50px;
  padding: 0 22px;
}

.wordmark {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: 18vw;
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.wordmark.gilt,
.wordmark-echo {
  bottom: calc(100% - var(--horizon) - 0.035em);
}

/* Отражение в металле: то же слово, перевёрнутое вокруг линии горизонта,
   гаснет к зрителю. */
.wordmark-echo {
  color: rgba(255, 238, 196, 0.32);
  transform: scaleY(-1);
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
  filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.35) 30%, transparent 70%);
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.35) 30%, transparent 70%);
}

.copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  margin: 0;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.34em;
  text-align: center;
  color: rgba(255, 243, 209, 0.5);
}

/* --- Тост --- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
  background: rgba(14, 11, 7, 0.82);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 24px 50px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 0.4s var(--ease-quint), transform 0.6s var(--ease-expo);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* --- Наведение: только там, где оно есть --- */

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    box-shadow:
      0 30px 64px -22px rgba(236, 184, 90, 0.95),
      0 12px 26px -14px rgba(0, 0, 0, 0.95);
  }

  /* Наведение: стекло светлеет, золото за ним проступает ярче. */
  .btn-gold:hover::after {
    opacity: 0.78;
  }

  .btn-gold:hover .btn-go {
    background-color: rgba(255, 248, 230, 0.16);
  }

  .btn-gold:hover .roll > span {
    transform: translateY(-100%);
  }

  .btn-gold:hover .btn-go svg {
    transform: translateX(3px);
  }

  .btn-line:hover::before,
  .btn-text:hover::before,
  .topbar-link:hover::before,
  .store:hover::before,
  .chip:hover::before {
    opacity: 0.75;
  }

  .btn-line:hover::after,
  .btn-text:hover::after,
  .topbar-link:hover::after,
  .store:hover::after,
  .chip:hover::after {
    opacity: 0.85;
  }

  .topbar-link:hover svg,
  .store:hover .store-arrow {
    transform: translate(2px, -2px);
  }

  .chip:hover {
    color: var(--ink);
  }
}

/* --- Анимации --- */

@keyframes sceneIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes lineUp {
  from { transform: translateY(110%); }
  to { transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blurIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

@keyframes molten {
  from { transform: translate3d(-9%, -7%, 0) scale(1); }
  to { transform: translate3d(9%, 6%, 0) scale(1.12); }
}

@keyframes ping {
  75%, 100% { opacity: 0; transform: scale(3); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes podIn {
  from { opacity: 0; transform: translateY(26px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes halo {
  0% { box-shadow: inset 0 0 0 1px var(--hair-2), 0 0 0 0 rgba(217, 180, 98, 0.8); }
  100% { box-shadow: inset 0 0 0 1px var(--hair-2), 0 0 0 18px rgba(217, 180, 98, 0); }
}

/* --- Планшет и десктоп --- */

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
    --horizon: 59.17%;
  }

  .foot-stage {
    aspect-ratio: 16 / 9;
  }

  .foot-inner {
    top: 9%;
  }

  .wordmark {
    font-size: 17vw;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 56px;
  }

  .topbar {
    padding-top: 30px;
  }

  /* Заголовок и кнопки слева, карточка с каплей справа. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy pod"
      "actions pod";
    align-content: center;
    column-gap: 4vw;
    max-width: 1320px;
    padding-top: 110px;
    padding-bottom: 64px;
    text-align: left;
  }

  .hero-copy {
    grid-area: copy;
    align-self: end;
    justify-items: start;
    gap: 22px;
  }

  h1 {
    font-size: clamp(84px, 8.2vw, 132px);
    line-height: 0.9;
  }

  .pod-wrap {
    grid-area: pod;
    align-self: center;
    justify-self: center;
    max-width: 430px;
    margin: 120px 0 0;
    --orb-w: 128%;
    --orb-y: 30%;
  }

  .pod {
    padding: 30px 28px 28px;
    border-radius: 52px;
  }

  .pod-icon {
    width: 84px;
    height: 84px;
    margin: 24px 0 18px;
    border-radius: 27px;
  }

  .pod-icon svg {
    width: 36px;
    height: 36px;
  }

  .pod-status {
    font-size: 68px;
  }

  .facts dd {
    font-size: 23px;
  }

  .actions {
    grid-area: actions;
    align-self: start;
    max-width: 520px;
    margin-top: 40px;
  }

  .actions-row {
    justify-content: flex-start;
    gap: 14px;
  }

  .actions-row .btn {
    padding: 0 18px;
    font-size: 13.5px;
  }

  .hint {
    margin-left: 0;
    text-align: left;
  }

  /* Шаги без сцены: три карточки в ряд. */
  .steps {
    max-width: 1240px;
  }

  .steps-still {
    max-width: 900px;
    margin: 0 auto -18%;
  }

  .steps-head h2 {
    font-size: clamp(56px, 5.2vw, 84px);
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    margin-top: 56px;
  }

  .card {
    padding: 24px 26px 26px;
  }

  .card h3 {
    font-size: 28px;
  }

  /* Со сценой: сцена замирает, сверху заголовок, в середине капли,
     снизу карточки — встают по одной и остаются. */
  .js-scene .steps {
    max-width: none;
    height: 330vh;
    padding: 0;
  }

  .js-scene .stage {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8vh var(--gutter) 5vh;
  }

  .js-scene .steps-head h2 {
    font-size: clamp(44px, 4.2vw, 68px);
  }

  /* Верхние края карточек — на одной линии: на неё садятся шарики. */
  .js-scene .cards {
    display: grid;
    align-items: start;
    gap: 22px;
    margin: 0;
  }

  .js-scene .cards::after,
  .js-scene .card::before {
    content: none;
  }

  .js-scene .chips-label {
    display: none;
  }

  .js-scene .card {
    position: relative;
    top: auto;
    margin: 0;
    transform: translate3d(0, 80px, 0) scale(0.95);
    transform-origin: 50% 50%;
  }

  .js-scene .card.is-in {
    transform: none;
  }

  .row-slot {
    top: 38%;
    left: 50%;
    right: auto;
    width: min(42vw, 600px, 64vh);
    transform: translateX(-50%);
  }

  .marks li {
    font-size: 22px;
  }

  .stores {
    gap: 10px;
  }

  .js-scene .foot {
    margin-top: clamp(40px, 10vh, 120px);
  }

  .foot-link {
    min-height: 52px;
  }

  .wordmark {
    font-size: 17vw;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(72px, 7vw, 110px);
  }

  .pod-wrap {
    max-width: 380px;
    margin-top: 90px;
  }

  .pod-icon {
    width: 66px;
    height: 66px;
    margin: 16px 0 12px;
  }

  .pod-status {
    font-size: 56px;
  }
}

/* --- Меньше движения --- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .pod-dot::after,
  .grain {
    display: none;
  }
}
