:root {
  color-scheme: dark;
  --bg: #05060b;
  --panel: rgba(18, 19, 31, 0.72);
  --panel-strong: rgba(24, 25, 39, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #fbf9ff;
  --muted: #aeb3c5;
  --muted-soft: #767d93;
  --violet: #8c35e8;
  --violet-dark: #600cac;
  --blue: #1240ab;
  --blue-bright: #2d6bff;
  --amber: #f5a623;
  --amber-soft: #ffd482;
  --green: #38d59f;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.44);
  --page: min(1560px, calc(100vw - 64px));
  --font: Inter, "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(140, 53, 232, 0.16), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(245, 166, 35, 0.12), transparent 32%),
    radial-gradient(circle at 72% 86%, rgba(18, 64, 171, 0.14), transparent 34%),
    var(--bg);
  font-family: var(--font);
  font-size: 16px;
}

::selection {
  color: #fff;
  background: rgba(140, 53, 232, 0.62);
}

a {
  color: inherit;
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(140, 53, 232, 0.58), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(245, 166, 35, 0.38), transparent 36%),
    radial-gradient(circle at 72% 92%, rgba(18, 64, 171, 0.48), transparent 42%),
    linear-gradient(135deg, #06060e 0%, #090716 45%, #05060b 100%);
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  inset: -35%;
  opacity: 0.34;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 120deg at 50% 50%, transparent 0deg, rgba(140, 53, 232, 0.32) 72deg, transparent 128deg, rgba(245, 166, 35, 0.22) 214deg, transparent 300deg, rgba(18, 64, 171, 0.28) 360deg);
  filter: blur(82px);
  animation: auroraRotate 34s linear infinite;
}

.ambient::after {
  opacity: 0.2;
  animation-direction: reverse;
  animation-duration: 46s;
}

.orb {
  position: absolute;
  width: 46vw;
  min-width: 520px;
  aspect-ratio: 1;
  border-radius: 999px;
  opacity: 0.24;
  filter: blur(105px);
  animation: drift 18s ease-in-out infinite alternate;
}

.orb--violet {
  left: -16vw;
  top: -18vw;
  background: var(--violet);
}

.orb--amber {
  right: -18vw;
  top: 0;
  opacity: 0.17;
  background: var(--amber);
  animation-delay: -6s;
}

.orb--blue {
  right: 10vw;
  bottom: -26vw;
  opacity: 0.22;
  background: var(--blue-bright);
  animation-delay: -12s;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 212, 130, 0.35) 0 1px, transparent 1.8px);
  background-position: 0 0, 44px 72px;
  background-size: 140px 140px, 220px 220px;
  animation: starsMove 36s linear infinite;
  mask-image: linear-gradient(#000, transparent 82%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: noiseShift 1.4s steps(2) infinite;
}

@keyframes drift {
  from {
    transform: translate3d(-4%, 2%, 0) scale(0.96);
  }
  to {
    transform: translate3d(7%, -5%, 0) scale(1.08);
  }
}

@keyframes starsMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, 90px, 0);
  }
}

@keyframes auroraRotate {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes noiseShift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1%, -1%, 0);
  }
}

.shell {
  width: var(--page);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: var(--page);
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 16px auto 0;
  padding: 11px 14px 11px 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(10, 11, 20, 0.7);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.header.is-scrolled {
  background: rgba(10, 11, 20, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(145deg, rgba(245, 166, 35, 0.34), rgba(140, 53, 232, 0.22));
  box-shadow: 0 14px 38px rgba(140, 53, 232, 0.26);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a,
.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 17px;
  color: #e2e5f0;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.header-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue-bright));
  box-shadow: 0 18px 42px rgba(140, 53, 232, 0.36);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(140, 53, 232, 0.48);
}

.hero {
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 5.8vw, 92px);
  padding: clamp(70px, 7vw, 120px) 0 clamp(56px, 6vw, 98px);
}

.badge {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: 999px;
  color: var(--amber-soft);
  background: rgba(245, 166, 35, 0.1);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--violet));
  box-shadow: 0 0 18px rgba(245, 166, 35, 0.7);
}

.badge--soft {
  color: #ffbf4e;
  background: rgba(255, 255, 255, 0.045);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 22px 0 24px;
  font-size: clamp(56px, 5.25vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.038em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #fff 0%, var(--amber-soft) 34%, #d7c1ff 68%, #fff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShine 6.5s ease-in-out infinite;
}

@keyframes textShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-text,
.custom-copy p,
.download-card p,
.account-copy p,
.feature-card p {
  color: var(--muted);
  line-height: 1.66;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(17px, 1vw, 20px);
  font-weight: 650;
}

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

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0 22px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--blue-bright));
  box-shadow: 0 24px 62px rgba(140, 53, 232, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.btn--primary:hover {
  box-shadow: 0 30px 78px rgba(140, 53, 232, 0.48);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #dde1ef;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  min-height: clamp(500px, 38vw, 660px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  display: none;
}

.yantar-window {
  --gem-top: #ffe58a;
  --gem-mid: #ff9f18;
  --gem-low: #9b1dff;
  --gem-edge: rgba(75, 0, 126, 0.66);
  --gem-glow: rgba(140, 53, 232, 0.46);
  width: min(100%, 590px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(11, 12, 23, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 38px 130px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(28px);
}

.window-chrome {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.window-dots {
  display: flex;
  gap: 7px;
  padding-left: 2px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.window-dots i:nth-child(1) {
  background: #ff6b6b;
}

.window-dots i:nth-child(2) {
  background: #ffbd4a;
}

.window-dots i:nth-child(3) {
  background: #4ddf8a;
}

.visual-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.visual-tabs button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.visual-tabs button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.visual-tabs button.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--violet), var(--blue-bright));
  box-shadow: 0 14px 34px rgba(140, 53, 232, 0.28);
}

.visual-stage {
  position: relative;
  min-height: clamp(370px, 29vw, 470px);
  display: grid;
  place-items: center;
  padding: 34px 24px 28px;
}

.visual-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 20px;
  z-index: 5;
  display: grid;
  gap: 6px;
  max-width: 430px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(10, 11, 20, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.visual-caption small {
  color: var(--amber-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-caption strong {
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.visual-caption span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.halo {
  position: absolute;
  width: min(78%, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotateX(68deg);
  animation: haloSpin 18s linear infinite;
}

.halo--one {
  box-shadow: 0 0 95px rgba(140, 53, 232, 0.24);
}

.halo--two {
  width: min(56%, 440px);
  border-color: rgba(245, 166, 35, 0.18);
  animation-direction: reverse;
  animation-duration: 14s;
}

@keyframes haloSpin {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

.gem-logo {
  position: relative;
  z-index: 2;
  width: clamp(160px, 13vw, 230px);
  aspect-ratio: 0.84;
  border-radius: 46% 46% 42% 42% / 46% 46% 54% 54%;
  background:
    linear-gradient(128deg, transparent 0 24%, rgba(255, 255, 255, 0.72) 25% 28%, transparent 29%),
    linear-gradient(155deg, var(--gem-top) 0 16%, var(--gem-mid) 17% 42%, #f06400 43% 62%, var(--gem-low) 63% 100%);
  clip-path: polygon(50% 0%, 85% 17%, 100% 54%, 50% 100%, 0% 54%, 15% 17%);
  box-shadow:
    inset 0 0 0 6px var(--gem-edge),
    inset 0 -34px 44px rgba(65, 0, 125, 0.44),
    0 0 0 18px rgba(255, 255, 255, 0.045),
    0 42px 110px rgba(0, 0, 0, 0.48),
    0 0 130px var(--gem-glow);
  animation: gemFloat 4.8s ease-in-out infinite;
  transition:
    filter 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.gem-logo::before,
.gem-logo::after,
.facet,
.shine {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gem-logo::before {
  inset: 7% 10%;
  background:
    linear-gradient(30deg, transparent 48%, rgba(255, 234, 99, 0.8) 49% 51%, transparent 52%),
    linear-gradient(108deg, transparent 49%, rgba(255, 255, 255, 0.28) 50% 51%, transparent 52%),
    linear-gradient(150deg, transparent 49%, rgba(80, 0, 150, 0.5) 50% 51%, transparent 52%);
  clip-path: inherit;
  opacity: 0.85;
}

.gem-logo::after {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 52% 55%, rgba(255, 255, 0, 0.38), transparent 26%);
  mix-blend-mode: screen;
}

.facet--one {
  left: 18%;
  top: 15%;
  width: 26%;
  height: 42%;
  background: rgba(255, 255, 255, 0.24);
  clip-path: polygon(72% 0, 100% 100%, 0 74%);
}

.facet--two {
  right: 14%;
  top: 17%;
  width: 27%;
  height: 45%;
  background: rgba(96, 12, 172, 0.25);
  clip-path: polygon(0 0, 100% 66%, 20% 100%);
}

.facet--three {
  left: 28%;
  bottom: 4%;
  width: 43%;
  height: 29%;
  background: rgba(92, 0, 190, 0.45);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.facet--four {
  left: 41%;
  top: 6%;
  width: 24%;
  height: 78%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 60%);
  clip-path: polygon(50% 0, 100% 54%, 50% 100%, 0 54%);
}

.shine {
  left: 21%;
  top: 22%;
  width: 15%;
  height: 28%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(1px);
  transform: rotate(22deg);
}

@keyframes gemFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

.float-card {
  position: absolute;
  z-index: 4;
  width: clamp(176px, 11vw, 230px);
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(19, 20, 34, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  animation: floatCard 5.4s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.float-card:hover {
  border-color: rgba(245, 166, 35, 0.24);
  background: rgba(28, 29, 45, 0.82);
}

.float-card small,
.float-card strong {
  display: block;
}

.float-card small {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 900;
}

.float-card strong {
  margin-top: 6px;
  font-size: clamp(15px, 1vw, 20px);
}

.float-card--left {
  left: 5%;
  top: 22%;
}

.float-card--right {
  right: 5%;
  top: 35%;
  animation-delay: -1.8s;
}

.float-card--bottom {
  left: 18%;
  bottom: 14%;
  animation-delay: -3.4s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

.marquee {
  width: var(--page);
  margin: 0 auto clamp(72px, 7vw, 130px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 12px;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #e3e5ee;
  background: rgba(255, 255, 255, 0.06);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.features,
.custom,
.download,
.account,
.contacts {
  padding: clamp(54px, 5vw, 86px) 0;
}

.section-title {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-title .badge {
  margin-inline: auto;
}

.section-title h2,
.custom-copy h2,
.download-card h2,
.account-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(40px, 3.9vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

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

.feature-card,
.custom-copy,
.custom-panel,
.download-card,
.auth-card,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.feature-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xl);
  padding: 26px;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 999px;
  opacity: 0.17;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.feature-card:hover {
  border-color: rgba(245, 166, 35, 0.24);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  opacity: 0.34;
  transform: scale(1.12);
}

.feature-card span {
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--amber);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 11px;
  font-size: clamp(24px, 1.6vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.feature-card--wide {
  grid-column: span 4;
  min-height: 250px;
  background:
    radial-gradient(circle at 84% 18%, rgba(245, 166, 35, 0.16), transparent 34%),
    radial-gradient(circle at 16% 84%, rgba(140, 53, 232, 0.2), transparent 38%),
    var(--panel);
}

.custom {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.custom-copy,
.custom-panel {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3vw, 46px);
}

.custom-copy p:not(.badge) {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.1vw, 22px);
}

.custom-panel {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 28px;
}

.panel-top {
  display: flex;
  gap: 10px;
}

.panel-top span {
  width: 50px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.panel-top span:first-child {
  width: 92px;
  background: linear-gradient(90deg, var(--violet), var(--amber));
}

.palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.palette i {
  min-height: 72px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.38), transparent 34%),
    var(--c);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease;
}

.palette i:hover {
  transform: translateY(-6px) rotate(3deg);
}

.settings-lines {
  display: grid;
  gap: 15px;
}

.settings-lines span {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.settings-lines i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--amber));
  box-shadow: 0 0 34px rgba(140, 53, 232, 0.42);
  animation: sliderGlow 4.2s ease-in-out infinite;
}

@keyframes sliderGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.45) brightness(1.08);
  }
}

.mini-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-widgets b {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.62fr);
  gap: 26px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.2vw, 56px);
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 166, 35, 0.16), transparent 36%),
    radial-gradient(circle at 18% 80%, rgba(140, 53, 232, 0.18), transparent 40%),
    var(--panel-strong);
}

.download-card p:not(.badge) {
  max-width: 830px;
  margin: 20px 0 0;
  font-size: clamp(17px, 1.05vw, 22px);
}

.inline-code {
  display: inline-flex;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 850;
}

.download-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
}

.download-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.download-icon img {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  object-fit: cover;
}

.download-action strong,
.download-action small {
  display: block;
}

.download-action strong {
  font-size: clamp(18px, 1.15vw, 24px);
}

.download-action small {
  margin-top: 6px;
  color: var(--muted);
}

.download-action .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.account {
  max-width: 1040px;
  display: block;
}

.account-copy {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.account-copy .badge,
.account-state {
  margin-inline: auto;
}

.account-copy p:not(.badge) {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.05vw, 22px);
}

.account-state {
  width: fit-content;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #e4e7f2;
  background: rgba(255, 255, 255, 0.055);
}

.account-state.is-connected {
  border-color: rgba(56, 213, 159, 0.32);
  color: #9dffd9;
  background: rgba(56, 213, 159, 0.11);
}

.auth-card {
  max-width: 560px;
  display: grid;
  gap: 15px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.23);
}

.auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.auth-tabs button:hover {
  color: #fff;
}

.auth-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue-bright));
  box-shadow: 0 14px 32px rgba(140, 53, 232, 0.28);
}

.auth-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.auth-card input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  padding: 0 16px;
  outline: 0;
  color: #fff;
  background: rgba(4, 5, 11, 0.72);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.auth-card input:focus {
  border-color: rgba(140, 53, 232, 0.65);
  box-shadow: 0 0 0 4px rgba(140, 53, 232, 0.16);
}

.auth-submit,
.auth-logout {
  width: 100%;
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.auth-message.is-error {
  color: #ff9d9d;
}

.auth-message.is-success {
  color: #93ffd5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xl);
  padding: 26px;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.contact-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 166, 35, 0.22);
  background:
    radial-gradient(circle at 82% 20%, rgba(245, 166, 35, 0.13), transparent 34%),
    var(--panel-strong);
}

.contact-card span {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(23px, 1.55vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-card small {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-weight: 750;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 14px;
  color: #dfe2ee;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.2, 0.9, 0.22, 1);
}

.reveal--late {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1800px) {
  body {
    font-size: 18px;
  }

  .header {
    min-height: 82px;
  }

  .nav a,
  .header-cta {
    min-height: 48px;
    padding-inline: 22px;
  }

  .btn {
    min-height: 62px;
    padding-inline: 28px;
  }
}

@media (max-width: 1160px) {
  :root {
    --page: min(100% - 32px, 1100px);
  }

  .hero,
  .custom,
  .download-card,
  .account {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .feature-card--wide {
    grid-column: span 2;
  }

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

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

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 24px, 760px);
  }

  .header {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
  }

  .nav {
    display: none;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .float-card {
    width: 180px;
  }

  .float-card--left {
    left: 0;
    top: 18%;
  }

  .float-card--right {
    right: 0;
    top: 54%;
  }

  .float-card--bottom {
    left: 8%;
    bottom: 8%;
  }

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

  .feature-card--wide {
    grid-column: auto;
  }

  .custom-panel {
    min-height: auto;
  }

  .palette {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-action {
    grid-template-columns: 1fr;
  }

  .download-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 520px) {
  :root {
    --page: min(100% - 18px, 500px);
  }

  .header {
    top: 8px;
    min-height: 62px;
    margin-top: 8px;
    padding: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

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

  .header-cta {
    min-height: 40px;
    padding-inline: 13px;
  }

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

  .section-title h2,
  .custom-copy h2,
  .download-card h2,
  .account-copy h2 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .feature-card,
  .custom-copy,
  .custom-panel,
  .download-card,
  .auth-card,
  .contact-card {
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .float-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Final visual polish */
:root {
  --theme-a: #8c35e8;
  --theme-b: #2d6bff;
  --theme-c: #f5a623;
  --theme-rgb: 140, 53, 232;
}

:root[data-site-theme="blue"] {
  --violet: #2d6bff;
  --blue-bright: #1240ab;
  --amber: #75d7ff;
  --amber-soft: #aeeaff;
  --theme-a: #2d6bff;
  --theme-b: #1240ab;
  --theme-c: #75d7ff;
  --theme-rgb: 45, 107, 255;
}

:root[data-site-theme="orange"] {
  --violet: #ff8a1c;
  --blue-bright: #f5a623;
  --amber: #ffd482;
  --amber-soft: #ffe3aa;
  --theme-a: #ff8a1c;
  --theme-b: #f5a623;
  --theme-c: #8c35e8;
  --theme-rgb: 245, 166, 35;
}

:root[data-site-theme="green"] {
  --violet: #38b994;
  --blue-bright: #0f8f73;
  --amber: #9dffd9;
  --amber-soft: #c5ffe8;
  --theme-a: #38b994;
  --theme-b: #0f8f73;
  --theme-c: #2d6bff;
  --theme-rgb: 56, 185, 148;
}

:root[data-site-theme="pink"] {
  --violet: #d9669d;
  --blue-bright: #8c35e8;
  --amber: #ffc1dc;
  --amber-soft: #ffd4e7;
  --theme-a: #d9669d;
  --theme-b: #8c35e8;
  --theme-c: #f5a623;
  --theme-rgb: 217, 102, 157;
}

.bubble {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  border-radius: 999px;
  opacity: 0.42;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(var(--theme-rgb), 0.56), rgba(245, 166, 35, 0.18));
  box-shadow:
    0 0 90px rgba(var(--theme-rgb), 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: blur(0.1px);
  animation: bubbleFly var(--speed) ease-in-out infinite alternate;
}

.bubble--1 {
  --size: 94px;
  --x: 7%;
  --y: 22%;
  --speed: 15s;
}

.bubble--2 {
  --size: 142px;
  --x: 82%;
  --y: 18%;
  --speed: 18s;
  animation-delay: -5s;
}

.bubble--3 {
  --size: 76px;
  --x: 70%;
  --y: 72%;
  --speed: 14s;
  animation-delay: -9s;
}

.bubble--4 {
  --size: 120px;
  --x: 16%;
  --y: 78%;
  --speed: 21s;
  animation-delay: -12s;
}

.bubble--5 {
  --size: 58px;
  --x: 48%;
  --y: 14%;
  --speed: 12s;
  animation-delay: -7s;
}

.bubble--6 {
  --size: 170px;
  --x: 90%;
  --y: 82%;
  --speed: 24s;
  animation-delay: -15s;
}

@keyframes bubbleFly {
  from {
    transform: translate3d(-22px, 18px, 0) scale(0.92);
  }
  to {
    transform: translate3d(34px, -42px, 0) scale(1.08);
  }
}

h1 {
  max-width: 740px;
  font-size: clamp(52px, 4.85vw, 88px);
  line-height: 1.06;
  letter-spacing: 0.012em;
  font-weight: 900;
}

h1 span {
  background: linear-gradient(100deg, #fff 0%, var(--theme-c) 34%, var(--theme-a) 68%, #fff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.section-title h2,
.custom-copy h2,
.download-card h2,
.account-copy h2 {
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.btn--primary,
.header-cta,
.auth-tabs button.is-active,
.visual-tab.is-active {
  background: linear-gradient(135deg, var(--theme-a), var(--theme-b)) !important;
  box-shadow: 0 20px 54px rgba(var(--theme-rgb), 0.34) !important;
}

.hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 0.72fr);
  justify-content: center;
  gap: clamp(48px, 5vw, 76px);
}

.hero-copy {
  align-self: center;
}

.yantar-window {
  width: min(100%, 560px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--theme-rgb), 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026)),
    rgba(13, 14, 24, 0.78);
}

.window-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 14px 16px;
}

.visual-tabs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.visual-tabs button,
.visual-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-height: 38px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  color: #dfe3f2 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
  cursor: pointer;
  font-weight: 900;
  line-height: 1 !important;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.visual-tabs button:hover,
.visual-tab:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

.visual-tabs button.is-active,
.visual-tab.is-active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.visual-stage {
  min-height: auto;
  display: grid;
  grid-template-rows: auto auto;
  place-items: stretch !important;
  justify-items: stretch !important;
  align-items: stretch !important;
  gap: 18px;
  padding: 20px;
}

.gem-scene {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 55%, rgba(var(--theme-rgb), 0.18), transparent 42%),
    rgba(0, 0, 0, 0.14);
}

.gem-scene::after {
  content: "";
  position: absolute;
  width: 82%;
  height: 34%;
  bottom: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--theme-rgb), 0.16), rgba(255, 255, 255, 0.035) 52%, transparent 72%);
  transform: rotate(-2deg);
}

.gem-scene .halo {
  position: absolute;
  width: min(78%, 360px);
}

.gem-scene .halo--two {
  width: min(54%, 260px);
}

.gem-logo {
  width: clamp(128px, 11vw, 178px);
  z-index: 2;
}

.visual-caption {
  position: static !important;
  inset: auto !important;
  max-width: none !important;
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 24px;
}

.visual-caption strong {
  font-size: clamp(22px, 1.6vw, 29px);
  letter-spacing: -0.01em;
}

.visual-caption span {
  max-width: 100%;
}

.visual-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.visual-chip {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.visual-chip small {
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 900;
}

.visual-chip b {
  color: #fff;
  font-size: 13px;
}

.palette {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.theme-swatch {
  appearance: none;
  -webkit-appearance: none;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.38), transparent 34%),
    var(--c);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.theme-swatch:hover {
  transform: translateY(-7px) rotate(2deg);
  border-color: rgba(255, 255, 255, 0.24);
}

.theme-swatch.is-active {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    0 0 0 5px rgba(var(--theme-rgb), 0.12),
    0 22px 54px rgba(var(--theme-rgb), 0.24);
}

.palette i {
  display: none;
}

.settings-lines i,
.panel-top span:first-child {
  background: linear-gradient(90deg, var(--theme-a), var(--theme-c));
}

@media (max-width: 1160px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 860px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .badge,
  .hero-actions,
  .hero-points {
    justify-content: center;
    margin-inline: auto;
  }

  h1,
  .hero-text {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(46px, 14vw, 70px);
    line-height: 1.04;
  }

  .window-chrome {
    grid-template-columns: 1fr;
  }

  .visual-tabs {
    justify-content: flex-start;
  }

  .visual-stage {
    padding: 16px;
  }

  .visual-chips,
  .palette {
    grid-template-columns: 1fr;
  }
}
