/* Мыльница landing — тёмная тема, статичный UI (без декоративных анимаций и transitions) */

:root {
  --bg0: #1e1c2e;
  --bg1: #262238;
  --surface: rgba(40, 38, 62, 0.88);
  --surface2: rgba(48, 46, 72, 0.72);
  --border: rgba(255, 255, 255, 0.16);
  --border2: rgba(255, 255, 255, 0.24);
  --section-rule: rgba(255, 255, 255, 0.18);
  --text: rgba(252, 252, 255, 0.99);
  --muted: rgba(228, 230, 245, 0.92);
  --faint: rgba(198, 202, 224, 0.78);
  --rose: #ff4d7a;
  --violet: #8b5cf6;
  --gold: #f0c879;
  --mint: #5eead4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 820px at 12% -8%, rgba(139, 92, 246, 0.34), transparent 58%),
    radial-gradient(900px 680px at 88% 8%, rgba(255, 77, 122, 0.26), transparent 52%),
    radial-gradient(820px 560px at 50% 100%, rgba(94, 234, 212, 0.18), transparent 56%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 38%, #221f36);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--text);
  color: #0a0a10;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  z-index: 100;
  transform: translateY(-160%);
  transition: none;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* Film grain — статичное зерно */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.038;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
}

.ambient-orb--a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  left: -12%;
  top: 8%;
  background: radial-gradient(circle, var(--violet), transparent 70%);
}

.ambient-orb--b {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  right: -8%;
  top: 22%;
  background: radial-gradient(circle, var(--rose), transparent 70%);
}

.ambient-orb--c {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  left: 28%;
  bottom: -5%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.45), transparent 70%);
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(36, 34, 56, 0.96) 0%, rgba(26, 24, 42, 0.94) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand__type {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.brand__tagline {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 236, 252, 0.72);
}

/* Марк как в iOS `MylnitsaLaunchMark`: три «снимка» */
.launch-mark__stage {
  position: relative;
  width: 108px;
  height: 96px;
}

.launch-mark__card {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 14px;
  border: 1.2px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform-origin: center center;
}

.launch-mark__card--back {
  width: 48px;
  height: 64px;
  margin-left: -24px;
  margin-top: -32px;
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(-13deg) translate(-11px, 11px);
  z-index: 1;
}

.launch-mark__card--mid {
  width: 52px;
  height: 70px;
  margin-left: -26px;
  margin-top: -35px;
  background: rgba(255, 255, 255, 0.38);
  transform: rotate(10deg) translate(13px, 5px);
  z-index: 2;
}

.launch-mark__card--front {
  width: 56px;
  height: 74px;
  margin-left: -28px;
  margin-top: -37px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.52) 52%,
    rgba(255, 224, 184, 0.44) 100%
  );
  transform: rotate(-5deg) translate(0, -9px);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.68);
}

.launch-mark--header {
  position: relative;
  width: 46px;
  height: 40px;
  flex-shrink: 0;
}

.launch-mark--header .launch-mark__stage {
  position: absolute;
  left: 0;
  top: 0;
  transform: scale(0.42);
  transform-origin: 0 0;
}

@media (max-width: 520px) {
  .brand__tagline {
    display: none;
  }

  .brand__name {
    font-size: 1.05rem;
  }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  border-radius: 12px;
  background: var(--surface2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: none;
}

.nav a:hover {
  color: var(--text);
}

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

.header__cta {
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    pointer-events: none;
    opacity: 0;
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 0;
    background: rgba(32, 30, 48, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    transition: none;
  }

  .nav.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: var(--surface2);
  }

  .nav a::after {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: none;
}

.btn__ico {
  flex-shrink: 0;
}

.btn--primary {
  color: #0a0a10;
  background: linear-gradient(135deg, #fff 0%, #f0e8ff 45%, #ffe0ec 100%);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
  box-shadow:
    0 14px 48px rgba(139, 92, 246, 0.42),
    0 26px 60px rgba(255, 77, 122, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
}

.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 16px;
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::before {
  display: none;
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 10vw, 120px);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero__copy {
  margin: 0;
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(40, 38, 62, 0.75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.22);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__seo {
  margin: 14px 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(252, 252, 255, 0.92);
}

.hero__kicker {
  margin: 12px 0 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.52;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__chips {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chips li {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero — две колонки (текст | визуал); ≤900px — визуал сверху. Статичный aurora + марк (без частиц и motion) */
.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(400px, 48vw, 540px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: min(500px, 100%);
  min-width: 280px;
  aspect-ratio: 1;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
}

.hero-visual > * {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  max-width: 100%;
}

.hero-visual--static .aurora-blob {
  pointer-events: none;
}

.aurora-field {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  grid-area: 1 / 1;
  z-index: 1;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.52;
  mix-blend-mode: screen;
}

.aurora-blob--1 {
  width: 78%;
  height: 78%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.85), transparent 68%);
  transform: translate(4%, 5%) scale(1.06);
}

.aurora-blob--2 {
  width: 62%;
  height: 62%;
  background: radial-gradient(circle, rgba(255, 77, 122, 0.68), transparent 65%);
  transform: translate(-6%, -4%) scale(1.05);
}

.aurora-blob--3 {
  width: 48%;
  height: 48%;
  background: radial-gradient(circle, rgba(240, 200, 121, 0.48), transparent 62%);
  transform: translate(5%, -6%) scale(1.08);
}

.launch-mark--hero {
  z-index: 6;
  position: relative;
  width: min(340px, 88vw);
  height: min(320px, 82vw);
  min-height: 260px;
  display: grid;
  place-items: center;
  transform-origin: center center;
  transform: scale(1.14) translateY(0);
}

.launch-mark--hero .launch-mark__stage {
  position: relative;
  width: 168px;
  height: 154px;
  margin: 0 auto;
}

.launch-mark--hero .launch-mark__fan {
  position: absolute;
  inset: 0;
}

.launch-mark--hero .launch-mark__fan .launch-mark__card {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform-origin: center center;
}

.launch-mark--hero .launch-mark__card--back {
  width: 62px;
  height: 84px;
  margin-left: -31px;
  margin-top: -42px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.58);
  transform: rotate(-14deg) translate(-12px, 14px) scale(1.05);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.launch-mark--hero .launch-mark__card--mid {
  width: 68px;
  height: 92px;
  margin-left: -34px;
  margin-top: -46px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.58);
  transform: rotate(11deg) translate(14px, 8px) scale(0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.launch-mark--hero .launch-mark__card--front {
  width: 74px;
  height: 98px;
  margin-left: -37px;
  margin-top: -49px;
  z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.52) 52%,
    rgba(255, 224, 184, 0.44) 100%
  );
  border-color: rgba(255, 255, 255, 0.68);
  transform: rotate(-6deg) translate(0, -12px) scale(0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
    min-height: clamp(300px, 68vw, 440px);
  }

  .hero__copy {
    max-width: 40rem;
    margin-inline: auto;
  }
}

/* ===== Hero title accent (статичный градиент) ===== */

.hero__title--fx .hero__title-lines {
  display: block;
}

.hero__title-line {
  display: inline-block;
}

.hero__title-line--accent {
  background-image: linear-gradient(
    95deg,
    rgba(253, 230, 138, 0.95) 10%,
    rgba(251, 113, 133, 0.98) 38%,
    rgba(167, 139, 250, 0.98) 68%,
    rgba(94, 234, 212, 0.95) 100%
  );
  background-size: 170% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-position: 42% 50%;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.14));
}

/* ===== Полоса слоганов (статичная) ===== */

.marquee-strip-wrap {
  position: relative;
  z-index: 3;
  margin-top: clamp(8px, 2vw, 16px);
  margin-bottom: clamp(20px, 4vw, 40px);
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.12) 42%,
    rgba(255, 77, 122, 0.1) 58%,
    transparent
  );
}

.marquee-strip {
  overflow: visible;
}

.marquee-strip__viewport {
  max-width: min(72rem, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 16px;
}

.marquee-static {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 252, 0.78);
  line-height: 1.65;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(64px, 11vw, 120px) 0;
}

#main > .section {
  border-top: 1px solid var(--section-rule);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section--tight {
  padding-top: clamp(28px, 5vw, 48px);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section__sub {
  margin: 16px 0 0;
  color: var(--muted);
}

/* Контент сразу виден (без scroll-reveal) */
[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-stagger-item] {
  opacity: 1;
  transform: none;
}

[data-stagger].is-revealed [data-stagger-item],
[data-reveal].is-revealed [data-stagger-item] {
  opacity: 1;
  transform: none;
}

/* Value grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.value-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.value-card__icon {
  display: block;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}

.value-card__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.value-card__text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* Flow */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow__step {
  position: relative;
  padding: 26px 22px 26px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, rgba(44, 42, 68, 0.95), rgba(28, 26, 44, 0.98));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.flow__step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 120px at 10% 0%, rgba(139, 92, 246, 0.12), transparent 55%);
  pointer-events: none;
}

.flow__n {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--mint);
  margin-bottom: 12px;
}

.flow__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 650;
}

.flow__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow__step:hover {
  border-color: rgba(167, 139, 250, 0.35);
}

@media (max-width: 1024px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

/* Roadmap */
.section--road {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
    linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.08), transparent);
}

.roadmap-track {
  position: relative;
  padding: clamp(14px, 2.5vw, 28px) 0 8px;
}

.roadmap-track::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: min(940px, 92vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 234, 212, 0.5) 35%,
    rgba(167, 139, 250, 0.6) 50%,
    rgba(251, 113, 133, 0.5) 65%,
    transparent
  );
}

.roadmap-progress {
  --fill: 0.35;
  display: none;
}

.roadmap-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roadmap-card {
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.roadmap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(255, 77, 122, 0.28),
    transparent 35%,
    transparent 65%,
    rgba(94, 234, 212, 0.22)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.88;
  z-index: 0;
}

.roadmap-card > * {
  position: relative;
  z-index: 2;
}

.roadmap-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 77, 122, 0.12), transparent 65%);
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.roadmap-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.roadmap-card__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
}

.roadmap-card--now .roadmap-card__badge {
  color: var(--mint);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.06);
}

.roadmap-card--next .roadmap-card__badge {
  color: var(--gold);
  border-color: rgba(240, 200, 121, 0.35);
}

.roadmap-card__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 650;
}

.roadmap-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.roadmap-card li {
  margin-bottom: 8px;
}

@media (max-width: 1080px) {
  .roadmap-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .roadmap-cards {
    grid-template-columns: 1fr;
  }
}

/* Prices */
.price-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-tile {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-tile:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.price-tile__label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}

.price-note {
  margin: 24px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.price-note a {
  color: rgba(196, 181, 253, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-note a:hover {
  color: #fff;
}

.price-tile__value {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .price-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .price-row {
    grid-template-columns: 1fr;
  }
}

/* Tips */
.section--glass {
  position: relative;
}

.section--glass::before {
  content: "";
  position: absolute;
  inset: 10% -5% auto -5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip {
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tip__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 650;
}

.tip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 840px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* Download CTA */
.section--cta {
  padding-bottom: clamp(72px, 12vw, 120px);
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.22) 0%,
    rgba(36, 34, 56, 0.92) 38%,
    rgba(255, 77, 122, 0.14) 100%
  );
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-shell::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  transform: translate(-12px, 12px) scale(1.08);
  opacity: 0.55;
}

.cta-shell__copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.cta-shell__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 650;
}

.cta-shell__copy p {
  margin: 0;
  color: var(--muted);
}

.cta-shell__buttons {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: right;
}

.cta-shell__fineprint {
  margin: 14px 0 0;
  max-width: 260px;
  margin-left: auto;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-shell__buttons {
    text-align: left;
    width: 100%;
  }

  .cta-shell__fineprint {
    margin-left: 0;
    max-width: none;
  }
}

/* Contact */
.section--contact {
  padding-top: clamp(36px, 6vw, 56px);
}

.contact-card {
  padding: clamp(36px, 6vw, 52px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.contact-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 650;
}

.contact-card__lead {
  margin: 14px auto 0;
  max-width: 540px;
  color: var(--muted);
}

.contact-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.contact-pill:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.07);
}

/* Footer */
.footer {
  border-top: 1px solid var(--section-rule);
  padding: 28px 0 40px;
  background: rgba(24, 22, 38, 0.92);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}

.footer__copy {
  margin: 0;
  color: var(--faint);
  font-size: 14px;
}

.footer__legal p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer__legal strong {
  color: rgba(220, 222, 235, 0.88);
  font-weight: 650;
}

@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ (SEO: видимый текст совпадает с JSON-LD FAQPage; раскрытие — native details) */
.section--faq {
  padding: clamp(36px, 6vw, 64px) 0;
}

.section__head--faq {
  margin-bottom: clamp(14px, 2.5vw, 20px);
}

.section--faq .section__sub {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.faq-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  margin: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(165deg, rgba(40, 38, 60, 0.92), rgba(26, 24, 40, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
  border-color: rgba(167, 139, 250, 0.28);
}

.faq-item[open] {
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 36px rgba(0, 0, 0, 0.2);
}

.faq-item > summary.faq-q {
  margin: 0;
  padding: 12px 38px 12px 14px;
  list-style: none;
  cursor: pointer;
  position: relative;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  user-select: none;
}

.faq-item > summary.faq-q::-webkit-details-marker {
  display: none;
}

.faq-item > summary.faq-q::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid rgba(220, 222, 240, 0.65);
  border-bottom: 2px solid rgba(220, 222, 240, 0.65);
  transform: rotate(45deg);
  opacity: 0.85;
}

.faq-item[open] > summary.faq-q::after {
  margin-top: -2px;
  transform: rotate(225deg);
}

.faq-item > summary.faq-q:focus-visible {
  outline: 2px solid rgba(94, 234, 212, 0.65);
  outline-offset: 2px;
  border-radius: 12px;
}

.faq-a {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.faq-item[open] .faq-a {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal documents (privacy, terms) */
.legal-header {
  border-bottom: 1px solid var(--section-rule);
  padding: 16px 0;
  background: rgba(34, 32, 52, 0.97);
}

.legal-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.legal-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.legal-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
}

.legal-header__nav a {
  color: var(--muted);
  text-decoration: none;
}

.legal-header__nav a:hover,
.legal-header__nav a[aria-current="page"] {
  color: var(--text);
}

.legal-page {
  padding: clamp(28px, 5vw, 48px) 0 56px;
}

.legal-doc {
  max-width: 760px;
}

.legal-doc__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  line-height: 1.2;
}

.legal-doc__meta {
  margin: 0 0 28px;
  color: var(--faint);
  font-size: 14px;
}

.legal-doc h2 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 14px;
  padding-left: 1.35rem;
}

.legal-doc li {
  margin-bottom: 6px;
}

.legal-doc a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc__operator {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-doc__operator p {
  margin: 0 0 6px;
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

/* Password reset (Universal Link fallback) */
.reset-page {
  padding: clamp(28px, 5vw, 48px) 0 56px;
}

.reset-page__inner {
  max-width: 480px;
}

.reset-card {
  padding: clamp(22px, 4vw, 28px);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reset-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  line-height: 1.2;
}

.reset-card__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.reset-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.reset-card__hint {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}

.reset-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reset-card__divider::before,
.reset-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--section-rule);
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reset-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reset-field__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--faint);
}

.reset-field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a1a22;
  font: inherit;
  font-size: 16px;
}

.reset-field__input:focus {
  outline: 2px solid rgba(255, 77, 122, 0.45);
  outline-offset: 1px;
  border-color: rgba(255, 77, 122, 0.55);
}

.reset-form__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 77, 122, 0.14);
  color: #ffd6e0;
  font-size: 14px;
  font-weight: 600;
}

.reset-form__success {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.14);
  color: #c8fff5;
  font-size: 14px;
  font-weight: 600;
}

.reset-form__submit {
  width: 100%;
  margin-top: 4px;
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.footer__links a {
  color: var(--mint);
  font-size: 13px;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

/* Скрытые форматы (polaroid) — снять вместе с PrintFormat.isPolaroidUserSelectable в iOS */
.is-format-hidden,
[data-format-id="polaroid"] {
  display: none !important;
}
