@font-face {
  font-family: "Dela Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/gf/fonts/dela-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Dela Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/gf/fonts/dela-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: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/gf/fonts/golos-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: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/gf/fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/gf/fonts/golos-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;
}

/* Gamifier landing — "the wheel is the hero" */

:root {
  --night: #1b0e4b;
  --night-2: #26146a;
  --night-3: #12083a;
  --violet: #7b61ff;
  --violet-strong: #5b3cf0;
  --violet-deep: #3e22c4;
  --lilac: #f1edff;
  --lilac-2: #e2d9ff;
  --paper: #ffffff;
  --ink: #1b1340;
  --ink-2: #3b3360;
  --muted: #5f587b;
  --line: #e6e1f5;
  --prize: #ffd233;
  --prize-deep: #c99700;
  --coral: #f2466b;
  --sky: #3db5ff;
  --mint: #22cc9a;
  --tg: #2aabee;
  --on-night: #ffffff;
  --on-night-muted: #c9c0f2;

  --font-display: "Dela Gothic One", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1240px;
  --section-pad: clamp(84px, 10vw, 148px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ol,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--violet-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero :focus-visible,
.finale :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--prize);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--prize);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  --depth: 6px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 700 1.0625rem/1.15 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.14s var(--ease-out),
    box-shadow 0.14s var(--ease-out),
    background-color 0.2s,
    color 0.2s;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-prize {
  background: var(--prize);
  color: var(--night);
  box-shadow: 0 var(--depth) 0 var(--prize-deep);
}

.btn-violet {
  background: var(--violet-strong);
  color: #fff;
  box-shadow: 0 var(--depth) 0 var(--violet-deep);
}

.btn-prize:hover,
.btn-violet:hover {
  transform: translateY(-2px);
}

.btn-prize:hover {
  box-shadow: 0 calc(var(--depth) + 2px) 0 var(--prize-deep);
}

.btn-violet:hover {
  box-shadow: 0 calc(var(--depth) + 2px) 0 var(--violet-deep);
}

.btn-prize:active {
  transform: translateY(var(--depth));
  box-shadow: 0 0 0 var(--prize-deep);
}

.btn-violet:active {
  transform: translateY(var(--depth));
  box-shadow: 0 0 0 var(--violet-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-ghost:disabled {
  cursor: progress;
  opacity: 0.6;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn-outline svg {
  fill: currentColor;
  stroke: none;
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-sm {
  --depth: 4px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #fff;
  background: rgba(27, 14, 75, 0.88);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1480px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 400 1.3rem/1 var(--font-display);
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: 28px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--on-night-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--prize);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang button,
.lang a {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  min-width: 38px;
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-night-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lang button:hover,
.lang a:hover {
  color: #fff;
}

.lang button[aria-pressed="true"],
.lang a[aria-current="true"] {
  background: #fff;
  color: var(--night);
}

.login {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.login:hover {
  color: var(--prize);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-lines {
  display: grid;
  gap: 6px;
  width: 20px;
  margin: 0 auto;
}

.menu-lines span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .lang {
  margin: 22px 0;
}

.mobile-menu .btn {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  --wheel-d: clamp(600px, calc((100vh - var(--header-h)) * 1.04), 980px);
  --wheel-shift: 0.4;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--on-night);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-rays,
.hero-glow {
  position: absolute;
  top: 50%;
  left: calc(var(--wheel-d) * (0.5 - var(--wheel-shift)));
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.hero-rays {
  width: calc(var(--wheel-d) * 3.4);
  background: repeating-conic-gradient(from -3.75deg, rgba(255, 255, 255, 0.05) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 14%, rgba(0, 0, 0, 0.55) 42%, transparent 78%);
  mask: radial-gradient(closest-side, #000 14%, rgba(0, 0, 0, 0.55) 42%, transparent 78%);
}

.hero-glow {
  width: calc(var(--wheel-d) * 2);
  background: radial-gradient(closest-side, rgba(123, 97, 255, 0.6), rgba(123, 97, 255, 0.2) 48%, rgba(242, 70, 107, 0.06) 62%, transparent 74%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(640px, calc(100vh - var(--header-h)), 960px);
  min-height: clamp(640px, calc(100svh - var(--header-h)), 960px);
  padding: 64px clamp(24px, 6vw, 112px) 80px calc(var(--wheel-d) * (1 - var(--wheel-shift)) + clamp(40px, 5vw, 96px));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero h1 {
  max-width: 8.6em;
  font-size: clamp(3rem, 5.2vw + 0.6rem, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero-kicker {
  display: block;
  margin-bottom: 0.6em;
  color: var(--prize);
  font: 700 clamp(1rem, 0.3vw + 0.92rem, 1.2rem) / 1.35 var(--font-body);
  letter-spacing: 0;
}

.hero-slogan {
  display: block;
}

.hero-lead {
  max-width: 33em;
  margin-top: 28px;
  color: var(--on-night-muted);
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 38px;
}

.hero-note,
.hero-after {
  margin-top: 22px;
  color: var(--on-night-muted);
  font-size: 0.95rem;
}

.hero-after {
  margin-top: 8px;
  color: var(--prize);
  font-weight: 600;
}

.hero-wheel-slot {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(var(--wheel-d) * var(--wheel-shift) * -1);
  width: var(--wheel-d);
  height: var(--wheel-d);
  transform: translateY(-50%);
}

.hero-wheel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* page-load moment: the wheel rolls in and the copy rises */
.js .hero .wheel--hero {
  animation: wheel-enter 1.25s var(--ease-out) both;
}

.js .hero-copy > * {
  animation: copy-rise 0.9s var(--ease-out) both;
}

.js .hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.js .hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.js .hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes wheel-enter {
  from {
    opacity: 0;
    transform: translateX(-18%) rotate(-40deg) scale(0.92);
  }
}

@keyframes copy-rise {
  from {
    transform: translateY(24px);
  }
}

.wheel-hint {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: calc(var(--wheel-shift) * 100% + 5%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  background: rgba(18, 8, 58, 0.8);
  box-shadow: 0 10px 24px rgba(6, 2, 28, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.wheel-hint::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--prize);
  box-shadow: 0 0 0 0 rgba(255, 210, 51, 0.7);
  animation: hint-pulse 1.8s infinite;
}

.wheel-hint.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
}

.wheel-hint.is-nudge {
  background: var(--prize);
  color: var(--night);
}

@keyframes hint-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 210, 51, 0.7);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(255, 210, 51, 0);
  }
}

.sound-toggle {
  position: absolute;
  z-index: 4;
  left: clamp(16px, 2.5vw, 36px);
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 8, 58, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--on-night-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.sound-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle .icon-sound-on,
.sound-toggle[aria-pressed="true"] .icon-sound-off {
  display: none;
}

.sound-toggle[aria-pressed="true"] .icon-sound-on {
  display: block;
}

.sound-toggle[aria-pressed="true"] {
  color: var(--prize);
}

.sound-toggle:hover {
  color: #fff;
}

.confetti {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Wheel (shared) ---------- */

.wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.wheel--hero {
  cursor: grab;
  touch-action: pan-x;
}

.wheel--hero.is-dragging {
  cursor: grabbing;
}

.wheel-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.wheel-disc {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.wheel-disc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wheel-label {
  font-family: var(--font-display);
  font-weight: 400;
}

.wheel-pointer {
  position: absolute;
  top: 46.2%;
  left: 88.4%;
  width: 12.1%;
  height: 7.6%;
  transform-origin: 75% 50%;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(6, 2, 28, 0.45));
}

.wheel-pointer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bulb {
  opacity: 0.42;
}

.bulb-core {
  fill: #fff6d6;
}

.bulb-halo {
  fill: var(--prize);
  opacity: 0.55;
}

.wheel[data-bulbs="idle"] .bulb {
  animation: bulb-alt 1.8s steps(1, end) infinite;
  animation-delay: calc(var(--odd) * -0.9s);
}

.wheel[data-bulbs="chase"] .bulb {
  animation: bulb-chase 0.56s linear infinite;
  animation-delay: calc(var(--i) * -0.07s);
}

.wheel[data-bulbs="win"] .bulb {
  animation: bulb-win 0.32s steps(1, end) 8;
}

@keyframes bulb-alt {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes bulb-chase {
  0%,
  22% {
    opacity: 1;
  }
  23%,
  100% {
    opacity: 0.32;
  }
}

@keyframes bulb-win {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.no-js .wheel--hero,
.no-js .wheel--finale {
  border-radius: 50%;
  background: conic-gradient(from 90deg, #7b61ff 0 45deg, #ffd233 0 90deg, #f2466b 0 135deg, #3db5ff 0 180deg, #4b2fd6 0 225deg, #22cc9a 0 270deg, #9b4dff 0 315deg, #ede7ff 0);
  box-shadow: 0 0 0 22px #2a1670;
}

/* ---------- Coupon ---------- */

.coupon {
  position: absolute;
  z-index: 4;
  top: 57%;
  left: 57%;
  width: min(290px, 78vw);
  filter: drop-shadow(0 22px 34px rgba(6, 2, 28, 0.5));
  transform: rotate(-5deg);
  transform-origin: 30% 20%;
}

.coupon[hidden] {
  display: none;
}

.coupon.is-in {
  animation: coupon-slap 0.55s var(--ease-spring) both;
}

@keyframes coupon-slap {
  0% {
    opacity: 0;
    transform: rotate(-20deg) scale(1.45);
  }
  60% {
    opacity: 1;
    transform: rotate(-3deg) scale(0.97);
  }
  100% {
    transform: rotate(-5deg) scale(1);
  }
}

.coupon-kicker,
.coupon-value,
.coupon-code,
.coupon-note {
  position: relative;
  background: #fff;
  color: var(--ink);
}

.coupon > :first-child {
  padding: 18px 22px 0;
  border-radius: 16px 16px 0 0;
}

.coupon-kicker {
  color: var(--violet-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.coupon-value {
  padding: 2px 22px 16px;
  font: 400 3rem / 1 var(--font-display);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.coupon-value.is-long {
  font-size: 1.95rem;
  line-height: 1.08;
}

.coupon-value.is-longer {
  font-size: 1.5rem;
  line-height: 1.1;
}

.coupon-code {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px 4px;
  font-size: 0.9rem;
  color: var(--muted);
  -webkit-mask:
    radial-gradient(circle 11px at 0 0, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% 0, transparent 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 11px at 0 0, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% 0, transparent 97%, #000) right / 51% 100% no-repeat;
}

.coupon-code::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  border-top: 2px dashed #d8d0f4;
}

.coupon-code b {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--lilac);
  color: var(--violet-strong);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.coupon-code[hidden] {
  display: none;
}

.coupon-note {
  padding: 8px 22px 18px;
  border-radius: 0 0 16px 16px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* ---------- Telegram toast ---------- */

.tg-toast {
  position: absolute;
  z-index: 6;
  top: 24px;
  right: clamp(16px, 3vw, 44px);
  width: min(350px, calc(100% - 32px));
}

.tg-toast[hidden] {
  display: none;
}

.tg-toast.is-in {
  animation: toast-drop 0.6s var(--ease-spring) both;
}

.tg-toast.is-out {
  animation: toast-out 0.4s var(--ease-out) both;
}

@keyframes toast-drop {
  from {
    opacity: 0;
    transform: translateY(-120%) scale(0.96);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-30%) scale(0.96);
  }
}

.tg-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(250, 248, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 26px 50px rgba(6, 2, 28, 0.45);
}

.tg-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tg);
}

.tg-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transform: translateX(-1px);
}

.tg-icon .fold {
  fill: none;
  stroke: var(--tg);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.tg-body {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.tg-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.tg-head b {
  color: var(--ink);
  font-size: 0.9rem;
}

.tg-title {
  margin-top: 2px;
  font-weight: 700;
}

.tg-line {
  color: var(--ink-2);
}

.tg-caption {
  margin-top: 8px;
  padding-right: 6px;
  color: var(--on-night-muted);
  font-size: 0.8rem;
  text-align: right;
}

/* ---------- Section heads ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px 72px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.section-head h2 {
  font-size: clamp(2.3rem, 4.3vw, 4rem);
}

.section-head p {
  max-width: 32em;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- Route (how it works) ---------- */

.route {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.6);
  background: var(--paper);
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 5vw, 80px);
}

.route-steps {
  position: relative;
  padding: 0;
  list-style: none;
}

.route-steps::before {
  content: "";
  position: absolute;
  top: 36vh;
  bottom: 36vh;
  left: 23px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--lilac-2) 0 8px, transparent 8px 16px);
}

.route-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  padding: 32px 0 32px 76px;
}

.step-num {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 2px solid var(--lilac-2);
  border-radius: 50%;
  background: #fff;
  color: var(--violet-strong);
  font: 400 1.1rem/1 var(--font-display);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.route-step.is-active .step-num {
  border-color: var(--violet-strong);
  background: var(--violet-strong);
  color: #fff;
  transform: scale(1.12);
}

.route-step h3 {
  font: 400 clamp(1.6rem, 2.3vw, 2.15rem) / 1.08 var(--font-display);
  letter-spacing: -0.01em;
}

.route-step p {
  max-width: 28em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.1rem;
}

.route-stage-wrap {
  position: relative;
}

.route-stage {
  position: sticky;
  top: calc(var(--header-h) + max(24px, (100vh - var(--header-h) - 560px) / 2));
  aspect-ratio: 1.22;
  max-height: 560px;
  margin: 0 auto;
  container-type: inline-size;
}

.browser {
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 2.4cqw;
  background: #fff;
  box-shadow: 0 30px 60px rgba(27, 14, 75, 0.16), 0 0 0 1px rgba(27, 14, 75, 0.09);
  container-type: inline-size;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 3cqw;
  height: 7.4cqw;
  padding: 0 2.6cqw;
  border-bottom: 1px solid var(--line);
  background: #f7f5fd;
}

.browser-dots {
  display: flex;
  gap: 1cqw;
}

.browser-dots i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: #d9d3ee;
}

.browser-url {
  flex: 1;
  padding: 1cqw 2cqw;
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  font-size: 1.9cqw;
  box-shadow: inset 0 0 0 1px var(--line);
}

.browser-page {
  position: relative;
  height: calc(100% - 7.4cqw);
  overflow: hidden;
}

.shop {
  height: 100%;
  padding: 3.2cqw 4cqw;
  background: #fffaf3;
}

.shop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 2cqw;
}

.shop-head b {
  font: 400 3.4cqw/1 var(--font-display);
  color: #3a2418;
}

.shop-nav {
  display: flex;
  gap: 3cqw;
  color: #7a6557;
}

.shop-title {
  margin-top: 4.5cqw;
  max-width: 60%;
  color: #3a2418;
  font: 400 5cqw/1.02 var(--font-display);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6cqw;
  margin-top: 4.5cqw;
}

.product {
  display: grid;
  gap: 0.8cqw;
  font-size: 1.8cqw;
  color: #7a6557;
}

.product b {
  color: #3a2418;
  font-weight: 700;
}

.product-pic {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.8cqw;
  border-radius: 1.6cqw;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.35) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.25) 0 10%, transparent 11%),
    #c99a6b;
}

.product-pic--b {
  background-color: #a8744c;
}

.product-pic--c {
  background-color: #7c4f33;
}

.stage-chip {
  position: absolute;
  z-index: 3;
  top: 3cqw;
  right: 3cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.3cqw 2.2cqw;
  border-radius: 99px;
  background: var(--night);
  color: #fff;
  font-size: 1.9cqw;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-40%);
  transition: opacity 0.4s, transform 0.5s var(--ease-spring);
}

.chip-dot {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: var(--mint);
}

.stage-chip svg {
  width: 2.8cqw;
  height: 2.8cqw;
  fill: none;
  stroke-width: 2.6;
  transform: rotate(-90deg);
}

.stage-chip svg circle {
  stroke: rgba(255, 255, 255, 0.25);
}

.stage-chip svg .timer-arc {
  stroke: var(--prize);
  stroke-dasharray: 47.2;
  stroke-dashoffset: 47.2;
  stroke-linecap: round;
}

.route-stage[data-state="1"] .stage-chip--source,
.route-stage[data-state="2"] .stage-chip--timer {
  opacity: 1;
  transform: none;
}

.route-stage[data-state="2"] .timer-arc {
  animation: timer-fill 1.1s var(--ease-out) forwards;
}

@keyframes timer-fill {
  to {
    stroke-dashoffset: 0;
  }
}

.stage-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 10, 50, 0.5);
  opacity: 0;
  transition: opacity 0.5s;
}

.route-stage:not([data-state="1"]) .stage-dim {
  opacity: 1;
}

.widget {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 56%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 110%, rgba(255, 122, 154, 0.75), transparent 55%),
    linear-gradient(165deg, #2c1680 0%, #5b2fc6 55%, #8f3fd1 100%);
  box-shadow: 1.5cqw 0 4cqw rgba(0, 0, 0, 0.35);
  transform: translateX(-104%);
  transition: transform 0.75s var(--ease-out);
}

.route-stage:not([data-state="1"]) .widget {
  transform: none;
}

.widget-wheel {
  position: absolute;
  top: 50%;
  left: -40%;
  width: 80%;
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.mini-wheel {
  width: 100%;
  height: 100%;
}

.mini-wheel .wheel-disc {
  transition: transform 2.2s cubic-bezier(0.15, 0.85, 0.2, 1);
}

.widget-pin {
  position: absolute;
  top: 50%;
  right: -3%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50% 0 50% 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0.6cqw #fff;
  transform: translateY(-50%) rotate(-135deg);
}

.widget-body {
  position: relative;
  width: 50%;
  margin-left: 46%;
  color: #fff;
}

.widget-title {
  font: 400 3.4cqw/1.08 var(--font-display);
}

.widget-form {
  display: grid;
  gap: 1.2cqw;
  margin-top: 3cqw;
  transition: opacity 0.3s;
}

.widget-label {
  font-size: 1.8cqw;
  font-weight: 600;
  opacity: 0.85;
}

.widget-input {
  display: flex;
  align-items: center;
  height: 5.6cqw;
  padding: 0 1.8cqw;
  border-radius: 1.2cqw;
  background: #fff;
  color: var(--ink);
  font-size: 2cqw;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.caret {
  width: 2px;
  height: 55%;
  margin-left: 2px;
  background: var(--violet-strong);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.widget-btn {
  display: grid;
  place-items: center;
  height: 5.6cqw;
  border-radius: 1.2cqw;
  background: var(--prize);
  color: var(--night);
  font-size: 2.1cqw;
  font-weight: 700;
  transition: transform 0.15s;
}

.route-stage.is-pressed .widget-btn {
  transform: scale(0.94);
}

.widget-win {
  position: absolute;
  inset: auto 0 auto 0;
  top: 50%;
  display: grid;
  gap: 1cqw;
  margin-top: 1cqw;
  font-size: 2cqw;
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.4s, transform 0.5s var(--ease-spring);
}

.widget-win b {
  justify-self: start;
  padding: 1cqw 2cqw;
  border: 0.35cqw dashed var(--prize);
  border-radius: 1cqw;
  color: var(--prize);
  font: 400 3.6cqw/1 var(--font-display);
  letter-spacing: 0.04em;
}

.route-stage.is-won .widget-form,
.route-stage[data-state="4"] .widget-form {
  opacity: 0;
}

.route-stage.is-won .widget-win,
.route-stage[data-state="4"] .widget-win {
  opacity: 1;
  transform: none;
}

.widget-close {
  position: absolute;
  top: 2cqw;
  right: 2.4cqw;
  color: rgba(255, 255, 255, 0.7);
  font-size: 3cqw;
  line-height: 1;
}

.cursor {
  position: absolute;
  z-index: 4;
  top: 58%;
  left: 70%;
  width: 3.6cqw;
  height: 3.6cqw;
  fill: var(--night);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0.5cqw 0.8cqw rgba(0, 0, 0, 0.3));
  transition: top 0.9s var(--ease-out), left 0.9s var(--ease-out), opacity 0.3s;
}

.route-stage[data-state="1"] .cursor {
  animation: cursor-wander 5s ease-in-out infinite;
}

.route-stage[data-state="2"] .cursor {
  top: 62%;
  left: 80%;
}

.route-stage[data-state="3"] .cursor {
  top: 64%;
  left: 38%;
}

.route-stage[data-state="4"] .cursor {
  opacity: 0;
}

@keyframes cursor-wander {
  0%,
  100% {
    top: 58%;
    left: 70%;
  }
  30% {
    top: 72%;
    left: 34%;
  }
  60% {
    top: 40%;
    left: 52%;
  }
}

.tg-phone {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  width: 36%;
  aspect-ratio: 9 / 16;
  padding: 1.4cqw;
  border-radius: 5cqw;
  background: #120a2e;
  box-shadow: 0 3cqw 6cqw rgba(27, 14, 75, 0.35);
  opacity: 0;
  transform: translateY(18%) rotate(4deg);
  transition: opacity 0.4s, transform 0.7s var(--ease-spring);
}

.route-stage[data-state="4"] .tg-phone {
  opacity: 1;
  transform: rotate(3deg);
}

.tg-phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 3.8cqw;
  background:
    radial-gradient(circle at 20% 20%, rgba(42, 171, 238, 0.18), transparent 50%),
    #dfe9f3;
}

.tg-chat-head {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 3.6cqw 2.4cqw 1.8cqw;
  background: #fff;
  font-size: 1.9cqw;
  line-height: 1.2;
}

.tg-chat-head b,
.tg-chat-head small {
  display: block;
}

.tg-chat-head small {
  color: var(--muted);
  font-size: 1.6cqw;
}

.tg-ava {
  display: grid;
  place-items: center;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: var(--violet-strong);
  color: #fff;
  font: 400 2.2cqw/1 var(--font-display);
}

.tg-msg {
  position: relative;
  display: grid;
  gap: 0.4cqw;
  margin: auto 2cqw 3cqw;
  padding: 1.8cqw 2.2cqw 2.6cqw;
  border-radius: 2.4cqw 2.4cqw 2.4cqw 0.6cqw;
  background: #fff;
  color: var(--ink);
  font-size: 1.75cqw;
  line-height: 1.35;
  box-shadow: 0 0.4cqw 1cqw rgba(0, 0, 0, 0.06);
  transform-origin: 0 100%;
}

.route-stage[data-state="4"] .tg-msg {
  animation: msg-pop 0.5s 0.35s var(--ease-spring) both;
}

@keyframes msg-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

.tg-msg b {
  font-size: 1.95cqw;
}

.tg-msg time {
  position: absolute;
  right: 2cqw;
  bottom: 0.8cqw;
  color: var(--muted);
  font-size: 1.4cqw;
}

/* ---------- Builder ---------- */

.builder {
  padding: var(--section-pad) 0;
  background: var(--lilac);
}

.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.builder-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 4.3vw, 4rem);
}

.builder-lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.125rem;
}

.builder-form {
  display: grid;
  gap: 30px;
  margin: 44px 0 40px;
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field legend,
.field-label {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.prize-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.builder input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid var(--lilac-2);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.builder input[type="text"]:hover {
  border-color: #c9bcff;
}

.builder input[type="text"]:focus {
  border-color: var(--violet-strong);
  outline: none;
  box-shadow: 0 0 0 4px rgba(91, 60, 240, 0.16);
}

.builder input[type="text"].is-flash {
  animation: input-flash 0.6s var(--ease-out);
}

@keyframes input-flash {
  0% {
    background: var(--prize);
  }
}

.ideas {
  margin-top: 16px;
}

.ideas-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.ideas-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--lilac-2);
}

.ideas-tabs button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.ideas-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.ideas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.idea {
  padding: 8px 14px;
  border: 2px dashed #c3b5ff;
  border-radius: 10px;
  background: #fff;
  color: var(--violet-strong);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s var(--ease-spring), background-color 0.2s, border-color 0.2s;
}

.idea:hover {
  border-style: solid;
  border-color: var(--violet-strong);
  transform: translateY(-2px) rotate(-1.5deg);
}

.idea:active {
  transform: scale(0.95);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch,
.segmented label {
  position: relative;
  cursor: pointer;
}

.swatch input,
.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--lilac-2);
  font-size: 0.95rem;
  font-weight: 600;
  transition: box-shadow 0.2s;
}

.swatch-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(var(--a) 0 25%, var(--b) 0 50%, var(--a) 0 75%, var(--b) 0);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.swatch:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--violet-strong);
  color: var(--violet-strong);
}

.swatch:has(input:focus-visible),
.segmented label:has(input:focus-visible) {
  outline: 3px solid var(--violet-strong);
  outline-offset: 3px;
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--lilac-2);
}

.segmented label span {
  display: block;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}

.segmented label:has(input:checked) span {
  background: var(--violet-strong);
  color: #fff;
}

.field--title input {
  max-width: 460px;
}

.builder-preview {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.device {
  position: relative;
  width: 100%;
  max-width: min(400px, calc((100vh - var(--header-h) - 60px) * 9 / 18.6));
  margin: 0 auto;
  container-type: inline-size;
  aspect-ratio: 9 / 18.6;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(145deg, #2b2150, #0d0724);
  box-shadow:
    0 50px 90px rgba(27, 14, 75, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.device-screen {
  --pv-bg: linear-gradient(170deg, #22105f 0%, #4c28b5 55%, #9b43d6 100%);
  --pv-accent: #ffd233;
  --pv-accent-ink: #1b0e4b;
  --pv-pin: #f2466b;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding: 0 7cqw 7cqw;
  border-radius: 42px;
  background: var(--pv-bg);
  color: #fff;
  transition: background 0.4s;
}

.device-screen[data-theme="citrus"] {
  --pv-bg: linear-gradient(170deg, #ff6a00 0%, #ff9d1f 55%, #ffc94a 100%);
  --pv-accent: #2b1200;
  --pv-accent-ink: #fff;
  --pv-pin: #2b1200;
}

.device-screen[data-theme="mint"] {
  --pv-bg: linear-gradient(170deg, #033b35 0%, #0b6e62 55%, #14a38b 100%);
  --pv-accent: #ffd233;
  --pv-accent-ink: #033b35;
  --pv-pin: #ffd233;
}

.device-screen[data-theme="berry"] {
  --pv-bg: linear-gradient(170deg, #3d0629 0%, #8e1459 55%, #e2186f 100%);
  --pv-accent: #ffe3ee;
  --pv-accent-ink: #8e1459;
  --pv-pin: #ffe3ee;
}

.pv-bar {
  position: relative;
  display: grid;
  width: calc(100% + 14cqw);
  place-items: center;
  margin-bottom: 8cqw;
  padding: 7cqw 10cqw 3cqw;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.pv-close {
  position: absolute;
  top: 7.6cqw;
  left: 6cqw;
  font-size: 7cqw;
  line-height: 0.8;
  opacity: 0.8;
}

.pv-address b,
.pv-address small {
  display: block;
}

.pv-address b {
  max-width: 100%;
  overflow: hidden;
  font-size: 4cqw;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-address small {
  font-size: 3.2cqw;
  opacity: 0.7;
}

.pv-wheel-wrap {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.pv-pin {
  position: absolute;
  z-index: 2;
  top: -3.4cqw;
  left: 50%;
  width: 9cqw;
  height: 9cqw;
  border-radius: 50% 50% 50% 0;
  background: var(--pv-pin);
  box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) rotate(-45deg);
  transition: background-color 0.4s;
}

.pv-pin::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
}

.pv-title {
  max-width: 100%;
  margin-top: 6cqw;
  font: 400 6.4cqw/1.1 var(--font-display);
  text-align: center;
  overflow-wrap: anywhere;
}

.pv-fields {
  display: grid;
  gap: 2.4cqw;
  width: 100%;
  margin-top: 4.4cqw;
}

.pv-field {
  display: grid;
  gap: 1.2cqw;
  font-size: 3.4cqw;
  font-weight: 600;
}

.pv-field i {
  display: block;
  padding: 3cqw 3.6cqw;
  border-radius: 2.6cqw;
  background: #fff;
  color: #6f6a86;
  font-style: normal;
  font-weight: 500;
}

.device-screen[data-fields="phone"] .pv-field--email,
.device-screen[data-fields="email"] .pv-field--phone,
.device-screen[data-fields="none"] .pv-fields {
  display: none;
}

.pv-btn {
  width: 100%;
  margin: 4.4cqw 0 auto;
  padding: 4cqw;
  border: 0;
  border-radius: 3cqw;
  background: var(--pv-accent);
  color: var(--pv-accent-ink);
  font-size: 4.4cqw;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.4cqw 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.4s, color 0.4s;
}

.pv-btn:active {
  transform: translateY(1.2cqw);
  box-shadow: 0 0.2cqw 0 rgba(0, 0, 0, 0.25);
}

.pv-btn:disabled {
  cursor: progress;
  opacity: 0.8;
}

.pv-result {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3cqw;
  padding: 10cqw;
  background: rgba(10, 4, 30, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
  animation: fade-in 0.35s var(--ease-out);
}

.pv-result[hidden] {
  display: none;
}

.pv-result p {
  font-size: 4.6cqw;
  font-weight: 600;
}

.pv-result strong {
  padding: 3cqw 5cqw;
  border: 0.8cqw dashed var(--pv-accent);
  border-radius: 3cqw;
  color: #fff;
  font: 400 11cqw/1.05 var(--font-display);
  overflow-wrap: break-word;
  animation: coupon-pop 0.5s var(--ease-spring) both;
}

.pv-result strong.is-long {
  font-size: 7.4cqw;
}

.pv-result strong.is-longer {
  font-size: 5.8cqw;
}

.pv-again {
  margin-top: 3cqw;
  padding: 3cqw 6cqw;
  border: 0;
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font-size: 3.8cqw;
  font-weight: 700;
  cursor: pointer;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes coupon-pop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-8deg);
  }
}

.editor-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
}

.editor-frame {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(27, 14, 75, 0.16), 0 0 0 1px rgba(27, 14, 75, 0.08);
}

.editor-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f5fd;
}

.editor-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d3ee;
}

.editor-bar b {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.editor-proof img {
  width: 100%;
  height: auto;
}

.editor-proof figcaption {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 1.05rem;
}

.editor-proof figcaption b {
  color: var(--ink);
  font: 400 clamp(1.5rem, 2.2vw, 2rem) / 1.1 var(--font-display);
}

/* ---------- Channels ---------- */

.channels {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.channel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
}

.channel h3 {
  font: 400 clamp(1.6rem, 2.4vw, 2.2rem) / 1.08 var(--font-display);
  letter-spacing: -0.01em;
}

.channel > p,
.channel-social-copy > p:not(.link-pill) {
  max-width: 30em;
  margin-top: 14px;
  font-size: 1.05rem;
}

.channel--site {
  background: var(--night);
  color: #fff;
}

.channel--site > p {
  color: var(--on-night-muted);
}

.code {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--night-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.code pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  color: #e9e4ff;
  font: 500 0.86rem/1.7 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.code .t {
  color: #a996ff;
}

.code .a {
  color: #7fd6ff;
}

.code .s {
  color: #ffe38a;
}

.code em {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 210, 51, 0.18);
  font-style: normal;
}

.code figcaption {
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-night-muted);
  font-size: 0.88rem;
}

.platforms-label {
  margin-top: 28px;
  color: var(--on-night-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 600;
}

.platforms li:last-child {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: var(--on-night-muted);
}

.channel--social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.72fr);
  gap: 24px;
  background: var(--prize);
  color: var(--night);
}

.channel-social-copy > p:not(.link-pill) {
  color: #4a3a12;
}

.link-pill {
  display: inline-flex;
  max-width: 100%;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.link-pill span {
  color: var(--on-night-muted);
}

.link-pill b {
  color: var(--prize);
}

.channel-note {
  font-size: 0.98rem !important;
}

.real-phone {
  align-self: end;
  margin-bottom: calc(clamp(28px, 4vw, 48px) * -1 - 40px);
  transform: rotate(4deg);
  transform-origin: 50% 100%;
}

.real-phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 28px 50px rgba(27, 14, 75, 0.35);
}

/* ---------- Voice ---------- */

.voice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background: var(--night);
  color: #fff;
}

.voice::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -12%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(123, 97, 255, 0.45), transparent 70%);
}

.voice-quote {
  position: relative;
  max-width: 1040px;
}

.voice-quote::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: clamp(56px, 7vw, 88px);
  height: clamp(44px, 5.5vw, 68px);
  background: var(--prize);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 40'%3E%3Cpath d='M0 40V23C0 8 8 1 24 0v9c-8 1-12 4-13 10h12v21H0Zm29 0V23C29 8 37 1 52 0v9c-7 1-11 4-12 10h11v21H29Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 40'%3E%3Cpath d='M0 40V23C0 8 8 1 24 0v9c-8 1-12 4-13 10h12v21H0Zm29 0V23C29 8 37 1 52 0v9c-7 1-11 4-12 10h11v21H29Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.voice-quote p {
  padding-left: clamp(80px, 10vw, 136px);
  color: #fff;
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
  font-weight: 500;
  line-height: 1.42;
  text-wrap: pretty;
}

.voice-quote footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 28px;
  padding-left: clamp(80px, 10vw, 136px);
  font-size: 1rem;
}

.voice-quote footer span {
  color: var(--on-night-muted);
}

.voice :focus-visible {
  outline-color: var(--prize);
}

/* ---------- Pricing ---------- */

.pricing {
  padding: var(--section-pad) 0;
  overflow: hidden;
  overflow: clip;
  background: var(--lilac);
}

.tickets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.ticket {
  --cut: 200px;
  --notch: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 16px 26px rgba(27, 14, 75, 0.1));
}

.ticket-stub,
.ticket-body {
  background: #fff;
}

.ticket-stub {
  height: var(--cut);
  padding: 28px 26px 22px;
  border-radius: 22px 22px 0 0;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 100%, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, transparent 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 100%, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, transparent 97%, #000) right / 51% 100% no-repeat;
}

.ticket-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 28px;
  border-radius: 0 0 22px 22px;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, transparent 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 0, transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, transparent 97%, #000) right / 51% 100% no-repeat;
}

.ticket-body::before {
  content: "";
  position: absolute;
  top: -1px;
  left: calc(var(--notch) + 8px);
  right: calc(var(--notch) + 8px);
  border-top: 2px dashed var(--line);
}

.ticket h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ticket-price {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
}

.price-num {
  font: 400 clamp(2.9rem, 3.8vw, 3.6rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
}

.ticket-price {
  flex-wrap: wrap;
}

.price-unit {
  display: contents;
  font: 400 1.6rem/1.3 var(--font-display);
}

.price-unit small {
  flex-basis: 100%;
  margin-top: 2px;
  color: var(--muted);
  font: 600 0.8rem/1.1 var(--font-body);
}

.ticket-for {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.ticket-spins {
  display: grid;
  font-size: 0.95rem;
  color: var(--muted);
}

.ticket-spins b {
  color: var(--ink);
  font: 400 1.9rem/1.1 var(--font-display);
}

.ticket-limit {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.ticket--featured .ticket-limit {
  color: #ece7ff;
}

.ticket-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 26px;
  font-size: 0.95rem;
  font-weight: 600;
}

.ticket-brand::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3.2' fill='%235b3cf0'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.ticket-brand--off::before {
  background: #e3f8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6' fill='none' stroke='%23158a63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.ticket .btn {
  width: 100%;
  margin-top: auto;
}

.ticket--featured .ticket-stub,
.ticket--featured .ticket-body {
  background: var(--violet-strong);
  color: #fff;
}

.ticket--featured .ticket-body::before {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.ticket--featured .price-unit small,
.ticket--featured .ticket-for,
.ticket--featured .ticket-spins {
  color: #ece7ff;
}

.ticket--featured .ticket-spins b {
  color: #fff;
}

.ticket--featured .ticket-brand::before {
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3.2' fill='%23ffffff'/%3E%3C/svg%3E");
}

.ticket--featured {
  filter: drop-shadow(0 22px 34px rgba(62, 34, 196, 0.35));
}

.sticker {
  position: absolute;
  z-index: 2;
  top: -38px;
  right: -16px;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 24px 20px;
  background: var(--prize);
  color: var(--night);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.12;
  hyphens: manual;
  text-align: center;
  clip-path: polygon(50% 0%, 56.7% 7.5%, 65.5% 2.4%, 69.5% 11.7%, 79.4% 9.5%, 80.4% 19.6%, 90.5% 20.6%, 88.3% 30.5%, 97.6% 34.5%, 92.5% 43.3%, 100% 50%, 92.5% 56.7%, 97.6% 65.5%, 88.3% 69.5%, 90.5% 79.4%, 80.4% 80.4%, 79.4% 90.5%, 69.5% 88.3%, 65.5% 97.6%, 56.7% 92.5%, 50% 100%, 43.3% 92.5%, 34.5% 97.6%, 30.5% 88.3%, 20.6% 90.5%, 19.6% 80.4%, 9.5% 79.4%, 11.7% 69.5%, 2.4% 65.5%, 7.5% 56.7%, 0% 50%, 7.5% 43.3%, 2.4% 34.5%, 11.7% 30.5%, 9.5% 20.6%, 19.6% 19.6%, 20.6% 9.5%, 30.5% 11.7%, 34.5% 2.4%, 43.3% 7.5%);
  transform: rotate(12deg);
}

/* ---------- FAQ ---------- */

.faq {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-head h2 {
  font-size: clamp(2.3rem, 4.3vw, 4rem);
}

.faq-head p {
  max-width: 26em;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.faq-head .btn svg {
  width: 20px;
  height: 20px;
}

.faq-list details {
  border-bottom: 2px solid var(--line);
}

.faq-list details:first-child {
  border-top: 2px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px 0;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lilac);
  transition: background-color 0.2s, transform 0.3s var(--ease-out);
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2.5px;
  margin: -1.25px 0 0 -7px;
  border-radius: 2px;
  background: var(--violet-strong);
}

.faq-list summary i::after {
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease-out);
}

.faq-list summary:hover i {
  background: var(--lilac-2);
}

.faq-list details[open] summary i {
  background: var(--violet-strong);
  transform: rotate(180deg);
}

.faq-list details[open] summary i::before,
.faq-list details[open] summary i::after {
  background: #fff;
}

.faq-list details[open] summary i::after {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 40em;
  padding: 0 60px 26px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Finale ---------- */

.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--section-pad);
  background: var(--night);
  color: #fff;
  text-align: center;
}

.finale::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: 2200px;
  aspect-ratio: 1;
  background: repeating-conic-gradient(from -3.75deg, rgba(255, 255, 255, 0.045) 0 7.5deg, transparent 7.5deg 15deg);
  transform: translate(-50%, 50%);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 70%);
  mask: radial-gradient(closest-side, #000 20%, transparent 70%);
}

.finale-inner {
  position: relative;
  z-index: 2;
}

.finale h2 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.finale p {
  max-width: 34em;
  margin: 26px auto 0;
  color: var(--on-night-muted);
  font-size: 1.15rem;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: 40px;
}

.finale-wheel {
  --fw: min(1080px, 140vw);
  position: relative;
  width: var(--fw);
  height: calc(var(--fw) * 0.36);
  margin: clamp(56px, 7vw, 88px) auto 0;
}

.finale-wheel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  width: 130%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(123, 97, 255, 0.55), transparent 70%);
  z-index: -1;
}

.finale-wheel .wheel {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 44px;
  background: var(--night-3);
  color: var(--on-night-muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: start;
}

.footer-brand p {
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--prize);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav {
    gap: 20px;
    margin-left: 12px;
  }

  .login {
    display: none;
  }
}

@media (max-width: 1100px) {
  .tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }
}

/* hero switches on orientation: landscape keeps the wheel at the side, portrait raises it from the bottom */
@media (max-width: 959px), (max-aspect-ratio: 1/1) {
  /* hero: copy on top, wheel rising from the bottom edge with the pointer on top */
  .hero {
    --wheel-d: min(150vw, 860px);
  }

  .hero-rays,
  .hero-glow {
    top: auto;
    bottom: calc(var(--wheel-d) * -0.1);
    left: 50%;
    transform: translate(-50%, 50%);
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding: clamp(40px, 7vw, 72px) var(--gutter) 0;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9.4vw, 5rem);
  }

  .hero-wheel-slot {
    position: relative;
    top: auto;
    left: 50%;
    width: var(--wheel-d);
    height: calc(var(--wheel-d) * 0.56);
    margin-top: clamp(40px, 8vw, 72px);
    transform: translateX(-50%);
  }

  .hero-wheel {
    height: var(--wheel-d);
  }

  .wheel--hero {
    transform: rotate(-90deg);
    touch-action: pan-y;
  }

  .js .hero .wheel--hero {
    animation-name: wheel-enter-up;
  }

  @keyframes wheel-enter-up {
    from {
      opacity: 0;
      transform: translateY(16%) rotate(-150deg) scale(0.92);
    }
  }

  .wheel-hint {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
  }

  .wheel-hint.is-hidden {
    transform: translateX(-50%) translateY(-8px);
  }

  .coupon {
    top: 17%;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
  }

  @keyframes coupon-slap {
    0% {
      opacity: 0;
      transform: translateX(-50%) rotate(-18deg) scale(1.4);
    }
    60% {
      opacity: 1;
      transform: translateX(-50%) rotate(-2deg) scale(0.97);
    }
    100% {
      transform: translateX(-50%) rotate(-4deg) scale(1);
    }
  }

  .sound-toggle {
    left: 16px;
    right: auto;
    bottom: 16px;
  }

  .tg-toast {
    top: 16px;
    right: 50%;
    transform: translateX(50%);
  }

  @keyframes toast-drop {
    from {
      opacity: 0;
      transform: translateX(50%) translateY(-120%) scale(0.96);
    }
    to {
      transform: translateX(50%);
    }
  }

  @keyframes toast-out {
    from {
      transform: translateX(50%);
    }
    to {
      opacity: 0;
      transform: translateX(50%) translateY(-30%) scale(0.96);
    }
  }

  /* route: sticky stage on top, steps scroll beneath */
  .route-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .route-stage-wrap {
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 3;
    order: -1;
    padding: 8px 0 24px;
    background: linear-gradient(#fff 88%, rgba(255, 255, 255, 0));
  }

  .route-stage {
    position: relative;
    top: 0;
    width: min(100%, 560px);
    max-height: none;
  }

  .route-steps::before {
    top: 10vh;
    bottom: 30vh;
  }

  .route-step {
    min-height: 58vh;
    justify-content: flex-start;
    padding-top: 6vh;
  }

  .step-num {
    top: calc(6vh + 2px);
    margin-top: 0;
  }

  .route-stage .browser {
    width: 100%;
  }

  .route-stage .tg-phone {
    right: -2%;
    bottom: -8%;
    width: 38%;
  }
}

@media (max-width: 1079px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .header-actions > .lang {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .builder-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .builder-copy {
    display: contents;
  }

  .builder-copy h2 {
    order: 1;
  }

  .builder-lead {
    order: 2;
  }

  .builder-preview {
    position: relative;
    top: 0;
    order: 3;
    margin-top: 36px;
  }

  .builder-form {
    order: 4;
  }

  .builder-copy > .btn {
    order: 5;
    justify-self: start;
  }

  .device {
    max-width: 330px;
  }


  .editor-proof {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .prize-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel--social {
    grid-template-columns: 1fr;
  }

  .real-phone {
    width: min(260px, 72%);
    margin: 8px auto -90px;
  }

  .voice-quote::before {
    position: static;
    display: block;
    margin-bottom: 20px;
  }

  .voice-quote p,
  .voice-quote footer {
    padding-left: 0;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tickets {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sticker {
    right: -6px;
  }

  .code pre {
    padding: 16px;
    font-size: 0.72rem;
  }

  .ticket {
    --cut: 186px;
  }

  .header-cta {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .segmented label span {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }

  .brand {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .wheel[data-bulbs] .bulb {
    opacity: 1;
  }
}
