:root {
  --bg: #ffffff;
  --card: #fcfcfc;
  --text: #1c1c1c;
  --muted: #575757;
  --border: #ededed;
  --tag-bg: #f5f5f5;
  --accent: #00c220;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --max: 800px;
  --shadow-soft:
    0 0.84px 0.5px -0.31px rgba(0, 0, 0, 0.13),
    0 1.99px 1.19px -0.63px rgba(0, 0, 0, 0.13),
    0 3.63px 2.18px -0.94px rgba(0, 0, 0, 0.13),
    0 6.04px 3.62px -1.25px rgba(0, 0, 0, 0.13),
    0 9.75px 5.85px -1.56px rgba(0, 0, 0, 0.13),
    0 15.96px 9.57px -1.88px rgba(0, 0, 0, 0.13),
    0 27.48px 16.49px -2.19px rgba(0, 0, 0, 0.13),
    0 50px 30px -2.5px rgba(0, 0, 0, 0.13);
  --shadow-soft-half:
    0 0.84px 0.5px -0.31px rgba(0, 0, 0, 0.065),
    0 1.99px 1.19px -0.63px rgba(0, 0, 0, 0.065),
    0 3.63px 2.18px -0.94px rgba(0, 0, 0, 0.065),
    0 6.04px 3.62px -1.25px rgba(0, 0, 0, 0.065),
    0 9.75px 5.85px -1.56px rgba(0, 0, 0, 0.065),
    0 15.96px 9.57px -1.88px rgba(0, 0, 0, 0.065),
    0 27.48px 16.49px -2.19px rgba(0, 0, 0, 0.065),
    0 50px 30px -2.5px rgba(0, 0, 0, 0.065);
  --shadow-btn:
    inset 0 0 20px 1.64px rgba(255, 255, 255, 0.15),
    var(--shadow-soft);
}

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

html {
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(920px, 108vh, 1320px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-mountains {
  position: absolute;
  inset: 0;
  margin: 0;
  transform-origin: center bottom;
  will-change: transform;
  --mountain-edge-fade: 0.62;
}

.bg-mountains img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
}

.bg-mountains::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12%;
  opacity: var(--mountain-edge-fade, 0.55);
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.18) 52%, var(--bg) 100%);
  pointer-events: none;
}

/* Лёгкий blur только для hero: интенсивность гасится в JS до блока «Кабинет заказа» */
.bg-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(1.5px) saturate(1.02);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.02);
  will-change: opacity;
}

.bg-blur--off {
  display: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bg-blur {
    background: rgba(255, 255, 255, 0.65);
  }
}

/* Закреплённая шапка при прокрутке ниже тега «Технолог» */
.site-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px) saturate(1.06);
  -webkit-backdrop-filter: blur(6px) saturate(1.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.site-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-sticky-bar__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  overflow: visible;
}

.site-sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.site-sticky-bar__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: 0;
  line-height: 0;
  text-decoration: none;
  overflow: visible;
}

.site-sticky-bar__logo img {
  display: block;
  width: auto;
  height: 19px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}
.site-sticky-bar.is-visible .site-sticky-bar__logo img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-sticky-bar .btn-login {
  flex-shrink: 0;
  padding: 6px 2px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


.site-sticky-bar .btn-login + .btn-login {
  margin-left: 8px;
}

.site-sticky-bar .site-sticky-bar__actions .btn-login::after {
  display: none;
}

.site-sticky-bar .btn-login:hover {
  color: var(--text);
  letter-spacing: -0.02em;
  transform: none;
  opacity: 0.55;
}

.site-sticky-bar .site-sticky-bar__actions .btn-login:hover::after {
  display: none;
  animation: none;
}

.site-sticky-bar .btn-login:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.22);
  outline-offset: 4px;
}

.site-sticky-bar .btn-login:active {
  transform: none;
  opacity: 0.45;
}


body.sticky-bar-visible .top-bar {
  opacity: 0;
  pointer-events: none;
}

.top-bar {
  width: 100%;
  transition: opacity 0.35s ease;
}

.top-bar-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 52px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
  margin-right: -6px;
}

.top-bar .btn-login {
  color: #fff;
}

.top-bar .btn-login:hover {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.02em;
  transform: none;
}

.top-bar .btn-login:hover::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, #fff 50%, rgba(255, 255, 255, 0.55) 100%);
}

.top-bar .btn-login:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px 4px;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: none;
  transition:
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.btn-login::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff8800 0%, #ffaa44 50%, #ff8800 100%);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-login:hover {
  color: #ff8800;
  letter-spacing: 0.04em;
  transform: translateY(-1px);
}

.btn-login:hover::after {
  transform: scaleX(1);
  animation: btn-login-line-shimmer 0.65s ease-out;
}

.btn-login:active {
  transform: translateY(0) scale(0.97);
}

.btn-login:focus-visible {
  outline: 2px solid rgba(255, 136, 0, 0.5);
  outline-offset: 4px;
  border-radius: 4px;
}

@keyframes btn-login-line-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.page > .container {
  margin-top: -50px;
}

.container {
  width: 100%;
  max-width: var(--max);
  padding-left: 20px;
  padding-right: 20px;
}

/* Appear animation */
.reveal {
  opacity: 0;
  transform: translateY(100px) scale(0.9);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.34, 1.2, 0.64, 1);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }
.reveal-d7 { transition-delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-sticky-bar,
  .site-sticky-bar__logo img {
    transition: none;
  }

  .btn-login,
  .btn-login::after {
    transition: none;
    animation: none;
  }

  .btn-login:hover {
    transform: none;
    letter-spacing: -0.02em;
  }

  .btn-login:hover::after {
    transform: scaleX(1);
  }

  .site-sticky-bar.is-visible .site-sticky-bar__logo img {
    opacity: 1;
    transform: none;
  }

  .faq-answer {
    grid-template-rows: 1fr;
    transition: none;
  }

  .faq-answer-inner,
  .faq-toggle::before,
  .faq-toggle::after {
    transition: none;
    transform: none;
    opacity: 1;
    padding: 0 24px 24px;
  }

  .faq-item:not(.open) .faq-answer {
    grid-template-rows: 0fr;
  }

  .faq-item:not(.open) .faq-answer-inner {
    padding: 0 24px 0;
    opacity: 0;
  }
}

/* Hero */
.hero {
  padding: 100px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  text-align: center;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(var(--shadow-soft));
}

.logo-wrap img {
  display: block;
  height: 101px;
  width: auto;
  max-width: min(360px, 70vw);
  object-fit: contain;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--tag-bg);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.pulse {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
}

.pulse::before {
  inset: 0;
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

.pulse::after {
  width: 5px;
  height: 5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.06em;
  max-width: 450px;
  background: linear-gradient(100deg, var(--text) 0%, #545454 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 em {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  max-width: 400px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

/* Counter */
.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.avatars {
  display: flex;
  width: 65px;
  height: 28px;
  position: relative;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  position: absolute;
  top: 0;
  box-shadow: var(--shadow-soft);
  border: 0;
  outline: none;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.avatar:nth-child(1) {
  left: 0;
  background-image: url("/assets/leaders/leader-1.png");
  z-index: 1;
}

.avatar:nth-child(2) {
  left: calc(50% - 14px);
  background-image: url("/assets/leaders/leader-2.png");
  z-index: 2;
}

.avatar:nth-child(3) {
  right: 0;
  background-image: url("/assets/leaders/leader-3.png");
  z-index: 3;
}

.social-proof-text {
  font-size: 16px;
  color: var(--text);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  padding-bottom: 32px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.feature-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--text);
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #ededed;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-body {
  width: 100%;
  padding: 32px 16px 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}

.feature-body h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.feature-body p {
  font-size: 14px;
  color: var(--muted);
  max-width: 150px;
  margin: 0 auto;
}

/* Story cards (Mission, Problem) */
.story-section {
  padding: 64px 0;
  width: 100%;
}

.story-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 8px;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

.story-inner {
  position: relative;
  background: var(--bg);
  border-radius: 16px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: visible;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--tag-bg);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text);
}

.story-inner h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: var(--text);
}

.story-inner h2 em {
  font-family: "DM Serif Text", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-text p,
.story-lead {
  color: var(--muted);
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.stat-value {
  font-size: 16px;
  color: var(--muted);
  text-align: left;
}

/* Mission */
.mission-float {
  position: absolute;
  top: -26px;
  right: 42px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  background: var(--text);
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mission-float svg {
  width: 24px;
  height: 24px;
  stroke: #ededed;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mission-founder {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  -webkit-user-select: none;
  user-select: none;
}

.founder-avatar-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-pill);
}

.founder-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  background: var(--tag-bg) url("/assets/avatar.png") center top / cover no-repeat;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.founder-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.founder-role {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.founder-exp {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Pricing */
.pricing {
  padding: 64px 0 32px;
  width: 100%;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2,
.section-title-gradient {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.2;
  background: linear-gradient(100deg, var(--text) 0%, #545454 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* background-clip: text обрезает последний глиф при отриц. letter-spacing */
.section-head h2,
.section-title-gradient {
  display: inline-block;
  padding-inline: 0.04em 0.14em;
  overflow: visible;
}

#faq-title {
  text-align: center;
  overflow: visible;
}

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

.price-card {
  position: relative;
  padding-top: 26px;
}

.price-card .feature-body {
  min-height: 180px;
  padding-top: 38px;
  gap: 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(1.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.06);
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

.price-card.featured .feature-body {
  outline: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.65);
}

.price-name {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.price-amount {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 14px;
  color: var(--muted);
}

.price-detail {
  font-size: 14px;
  color: var(--muted);
  max-width: none;
}

.price-card[data-tariff-open] {
  cursor: pointer;
  border: none;
  background: none;
  padding: 26px 0 0;
  margin: 0;
  font: inherit;
  text-align: inherit;
  width: 100%;
}

.price-card[data-tariff-open]:hover .feature-body,
.price-card[data-tariff-open]:focus-visible .feature-body {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.72);
}

.price-card[data-tariff-open]:focus-visible .feature-body {
  outline: 2px solid rgba(255, 136, 0, 0.45);
  outline-offset: 2px;
}

.price-card[data-tariff-open]:active .feature-body {
  transform: translateY(-1px);
}

.price-card .feature-body {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.price-more {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}



/* Trial CTA above FAQ */
.trial-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0 8px;
  margin-top: 16px;
}

.btn-trial-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff8800 0%, #ff9a2e 100%);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255, 136, 0, 0.35);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn-trial-free:hover {
  background: linear-gradient(135deg, #e67a00 0%, #ff8800 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 136, 0, 0.42);
}

.btn-trial-free:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(255, 136, 0, 0.3);
}

.btn-trial-free:focus-visible {
  outline: 2px solid rgba(255, 136, 0, 0.55);
  outline-offset: 4px;
}

.trial-cta-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* FAQ */
.faq {
  padding: 64px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.faq-badge-wrap {
  display: flex;
  justify-content: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 780px;
  background: var(--card);
  border-radius: 26px;
  padding: 8px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text);
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--text);
  box-shadow: var(--shadow-soft-half);
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #ededed;
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
}

/* Плавное раскрытие по реальной высоте (без рывка max-height) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.68, 0.06);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    padding 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.faq-item.open .faq-answer-inner {
  padding: 0 24px 24px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item:not(.open) .faq-answer-inner {
  transition:
    opacity 0.22s ease-in,
    transform 0.24s ease-in,
    padding 0.28s ease-in;
}

.faq-contact {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  max-width: 350px;
}

.faq-contact a {
  color: var(--text);
  text-decoration: underline;
}

/* Footer */
footer {
  width: 100%;
  max-width: var(--max);
  padding: 32px 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Контраст текста, когда блок наезжает на фон гор (мобильный скролл) */
.faq-contact.over-mountains,
footer.over-mountains .footer-inner {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.faq-contact.over-mountains a,
footer.over-mountains .footer-inner a,
footer.over-mountains .footer-links a {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer.over-mountains {
  border-top-color: rgba(255, 255, 255, 0.28);
}

footer.over-mountains .footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}


/* Responsive */
@media (min-width: 880px) {
  .site-sticky-bar__logo {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .site-sticky-bar__logo img {
    max-width: 112px;
  }
}

@media (max-width: 879px) {
  .site-sticky-bar__inner {
    padding: 10px 16px;
    gap: 10px;
  }

  .site-sticky-bar__logo {
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-sticky-bar__logo img {
    height: 16px;
    max-width: min(128px, calc(100vw - 96px));
  }

  .site-sticky-bar .btn-login {
    font-size: 15px;
  }

  .section-nav--sticky .section-nav__link {
    font-size: 15px;
    padding: 6px 2px;
  }
}

@media (max-width: 809px) {
  .hero {
    padding: 100px 0 48px;
    gap: 42px;
  }

  .features,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .feature-card {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .story-inner {
    padding: 32px;
  }

  .mission-float {
    right: 24px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .container { max-width: 720px; }
  h1 { font-size: 38px; }
}


/* Модальное окно тарифа */
body.pricing-modal-open {
  overflow: hidden;
}

.pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.pricing-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.pricing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 22, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 440px);
  max-height: min(88vh, 560px);
  background: var(--bg);
  border-radius: 18px;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
}

.pricing-modal.is-open .pricing-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pricing-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.pricing-modal__header h2 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.pricing-modal__close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--tag-bg);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pricing-modal__close:hover {
  background: #ececec;
}

.pricing-modal__body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.pricing-modal__price-line {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-modal__amount {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.pricing-modal__period {
  font-size: 14px;
  color: var(--muted);
}

.pricing-modal__summary {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pricing-modal__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-modal__features {
  margin: 0;
  padding-left: 1.15em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.pricing-modal__features li + li {
  margin-top: 8px;
}

.pricing-modal__footer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.pricing-modal__btn-close {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #ededed;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.pricing-modal__btn-close:hover {
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .price-card .feature-body,
  .pricing-modal,
  .pricing-modal__panel {
    transition: none;
  }

  .pricing-modal.is-open .pricing-modal__panel {
    transform: none;
    opacity: 1;
  }
}


/* Legal modal (лендинг) */
body.register-modal-open,
body.legal-modal-open {
  overflow: hidden;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.legal-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 22, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.legal-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 100vw);
  max-height: 100%;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 32px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.legal-modal__header h2 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: left;
}

.legal-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--tag-bg);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px clamp(16px, 4vw, 40px) 28px;
  text-align: left;
}

.legal-modal__footer {
  flex-shrink: 0;
  padding: 12px clamp(16px, 4vw, 32px) 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-modal__btn-close {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #ededed;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.legal-prose {
  max-width: none;
  width: 100%;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.legal-prose h3 {
  margin: 1.5em 0 0.6em;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
}

.legal-prose p,
.legal-prose li {
  text-align: left;
}

.legal-prose ul {
  margin: 0.5em 0 1em;
  padding-left: 1.25em;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
}


/* MicroModal base styles */
.modal { display: none; }
.modal.is-open { display: block; }

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10000;
}

.modal__container {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}


.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}

.modal__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #111;
  transform-origin: center;
}

.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.modal__content {
  padding: 16px 18px 6px;
}

.modal__footer {
  padding: 14px 18px 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}

.modal__btn {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
}

.modal__btn-primary {
  border: 0;
  color: #fff;
  background: var(--text);
}

/* Registration form styles */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-intro {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.reg-field { display: grid; gap: 6px; margin: 10px 0; }
.reg-label { font-size: 12px; color: var(--muted); }
.reg-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
.reg-input:focus {
  border-color: rgba(0, 194, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 194, 32, 0.12);
}
.reg-input--bad { border-color: rgba(239, 68, 68, 0.55); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.reg-msg {
  display: none;
  margin: 0 0 10px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 13px;
}
.reg-msg.reg-msg--visible {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 194, 32, 0.08);
  border: 1px solid rgba(0, 194, 32, 0.2);
}
.reg-msg.reg-msg--error.reg-msg--visible {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.28);
  color: #b91c1c;
}
.reg-field--code[hidden] { display: none; }
.reg-footnote { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* MicroModal animations */
@keyframes mmfadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mmfadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes mmslideIn { from { transform: translateY(18px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes mmslideOut { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(18px) scale(0.98); opacity: 0; } }

.micromodal-slide .modal__overlay { will-change: opacity; }
.micromodal-slide .modal__container { will-change: transform, opacity; }

.micromodal-slide.is-open .modal__overlay { animation: mmfadeIn 0.22s ease-out both; }
.micromodal-slide.is-open .modal__container { animation: mmslideIn 0.34s cubic-bezier(0.16, 1, 0.3, 1) both; }

.micromodal-slide.is-closing .modal__overlay { animation: mmfadeOut 0.18s ease-in both; }
.micromodal-slide.is-closing .modal__container { animation: mmslideOut 0.22s ease-in both; }

@media (prefers-reduced-motion: reduce) {
  .micromodal-slide.is-open .modal__overlay,
  .micromodal-slide.is-open .modal__container,
  .micromodal-slide.is-closing .modal__overlay,
  .micromodal-slide.is-closing .modal__container {
    animation: none !important;
  }
}


/* Platform reengineering layer */
.platform-hero .tag {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(20,184,166,0.20);
  color: #1a1d26;
}

.platform-hero h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.platform-hero h1 em,
.section-title-gradient em {
  color: #0d9488;
}

.hero-actions {
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  min-width: min(100%, 260px);
}

.hero-proof {
  margin: 1rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  list-style: none;
}

.hero-proof li {
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(15,118,110,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-secondary {
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(26,29,38,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1a1d26;
}

.platform-flow .feature-card {
  border: 0;
  background: transparent;
}

.platform-flow .feature-icon {
  background: rgba(20,184,166,0.10);
  color: #0d9488;
  box-shadow: 0 12px 28px rgba(26,29,38,0.14);
}

.platform-flow .feature-icon svg {
  stroke: #0d9488;
}

.platform-flow .feature-body {
  border: 1px solid rgba(26,29,38,0.08);
  background: rgba(255,255,255,0.82);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(26,29,38,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.platform-section .story-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(26,29,38,0.08);
}

.platform-section .badge,
.process-section .badge {
  background: rgba(20,184,166,0.10);
  color: #0f766e;
  border-color: rgba(20,184,166,0.18);
}

.platform-stats .stat-value {
  color: #0f766e;
}

.product-preview-section,
.tech-check-section {
  margin: 5rem auto 0;
}

.product-preview-section .section-head,
.tech-check-section .section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.product-preview-section .section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.product-preview-section .badge,
.tech-check-section .badge {
  background: rgba(20,184,166,0.10);
  color: #0f766e;
  border-color: rgba(20,184,166,0.18);
}

.product-shot-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.95rem;
  align-items: stretch;
}

.product-shot {
  position: relative;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,29,38,0.06), 0 24px 70px rgba(26,29,38,0.10);
}

.product-shot__frame {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: #f8fafc;
}

.product-shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 40%);
  pointer-events: none;
}

.product-shot--three {
  grid-column: 1 / -1;
  min-height: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.product-three {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1rem;
  padding: 0.85rem;
  min-height: 22rem;
}

.product-three__viewer {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border-radius: 20px;
}

.product-three__viewer canvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 20rem;
  display: block;
}

.product-three__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.4rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,0.58), rgba(255,255,255,0.18) 24%, transparent 48%),
    radial-gradient(circle at 82% 72%, rgba(20,184,166,0.10), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.36), rgba(226,232,240,0.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -18px 50px rgba(255,255,255,0.12), 0 18px 45px rgba(15,23,42,0.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
}

.product-three__copy::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0.06) 42%, rgba(20,184,166,0.06)),
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.32), transparent 18%);
  pointer-events: none;
}

.product-three__copy::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 12%;
  top: 8%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  pointer-events: none;
}

.reveal.visible .product-three__copy,
.reveal.visible .product-casting-process__frame,
.reveal.visible .product-shot__caption--glass {
  transform-origin: 50% 64%;
  animation: liquid-glass-enter 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.reveal.visible .product-casting-process__copy {
  animation-delay: 0.12s;
}

@keyframes liquid-glass-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.96, 1.04);
  }
  58% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.01, 0.995);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.visible .product-three__copy,
  .reveal.visible .product-casting-process__frame,
  .reveal.visible .product-shot__caption--glass {
    animation: none;
  }
}

.product-three__copy span {
  display: block;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-three__copy h3 {
  margin-top: 0.55rem;
  color: #1a1d26;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.product-three__copy p {
  margin-top: 0.85rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.product-three__copy ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.product-three__copy li {
  position: relative;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.4;
}

.product-three__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #14b8a6;
}

.product-shot--casting-copy {
  min-height: auto;
  background: transparent;
  box-shadow: none;
}

.product-shot .product-shot__caption--glass {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,0.58), rgba(255,255,255,0.18) 24%, transparent 48%),
    radial-gradient(circle at 82% 72%, rgba(20,184,166,0.10), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.36), rgba(226,232,240,0.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -18px 50px rgba(255,255,255,0.12), 0 18px 45px rgba(15,23,42,0.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
}

.product-shot__caption--glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0.06) 42%, rgba(20,184,166,0.06)),
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.32), transparent 18%);
  pointer-events: none;
}

.product-shot__caption--glass::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 12%;
  top: 8%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  pointer-events: none;
}

.product-shot__caption--glass h3 {
  margin-top: 0.55rem;
  color: #1a1d26;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.product-shot .product-shot__caption--glass p {
  margin-top: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.product-shot__caption--glass ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.product-shot__caption--glass li {
  position: relative;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.4;
}

.product-shot__caption--glass li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #14b8a6;
}

.product-shot--casting-model {
  min-height: auto;
  background: transparent;
  box-shadow: none;
}

.product-shot--casting-process {
  --casting-breakout: min(1180px, calc(100vw - 1.5rem));
  grid-column: 1 / -1;
  width: var(--casting-breakout);
  max-width: var(--casting-breakout);
  margin-left: calc(50% - var(--casting-breakout) / 2);
  min-height: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.product-casting-process {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(15rem, 1fr);
  gap: 1.15rem;
  padding: 0;
  align-items: stretch;
}

.product-casting-process__frame {
  min-height: auto;
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
}

.product-casting-process__frame img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
  border-radius: 20px;
}

.product-casting-process__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.product-casting-process__cta {
  margin-top: 1.15rem;
  align-self: flex-start;
  text-decoration: none;
}

.product-casting-model {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.product-casting-model__viewer {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.product-casting-model__viewer canvas {
  width: 100% !important;
  min-height: 14rem;
  display: block;
  cursor: grab;
}

.product-casting-model__viewer canvas:active {
  cursor: grabbing;
}

.product-casting-model__button {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  border: 1px solid rgba(249,115,22,0.32);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  background: rgba(249,115,22,0.88);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(249,115,22,0.22);
  cursor: pointer;
}

.product-casting-model__button.is-active {
  background: rgba(194,65,12,0.92);
  border-color: rgba(194,65,12,0.42);
}

.product-shot img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.product-shot__caption {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid rgba(15,118,110,0.08);
  background: #fff;
}

.product-shot__caption span {
  display: block;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-shot__caption p {
  margin-top: 0.4rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}

.tech-check-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid rgba(26,29,38,0.08);
  border-radius: 32px;
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-soft-half);
}

.tech-check-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-services-section {
  margin: 4.5rem auto 0;
}

.seo-services-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid rgba(26,29,38,0.08);
  border-radius: 32px;
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-soft-half);
}

.seo-services-card .badge {
  align-self: flex-start;
  background: rgba(20,184,166,0.10);
  color: #0f766e;
  border-color: rgba(20,184,166,0.18);
}

.seo-services-card h2 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.seo-services-text {
  display: grid;
  gap: 0.85rem;
  max-width: 72rem;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.55;
}

.seo-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
}

.seo-services-tags li {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(15,118,110,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}

.seo-services-cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  text-decoration: none;
}

.tech-check-copy h2 {
  max-width: 620px;
  color: #1a1d26;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.tech-check-copy p {
  color: #575757;
  font-size: 1rem;
  line-height: 1.55;
}

.tech-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-content: center;
}

.tech-check-list span {
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(15,118,110,0.14);
  border-radius: 16px;
  background: rgba(20,184,166,0.07);
  color: #1f2933;
  font-size: 0.88rem;
  font-weight: 700;
}

.process-section {
  margin: 5rem auto 0;
}

.process-section .section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.process-section .section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-card {
  padding: 1.25rem;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 24px;
  border: 1px solid rgba(26,29,38,0.08);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft-half);
}

.process-card span {
  color: #0d9488;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin-top: 2.35rem;
  color: #1a1d26;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.process-card p {
  margin-top: 0.45rem;
  color: #575757;
  font-size: 0.9rem;
}

.pricing,
.pricing-modal {
  display: none !important;
}

.trial-cta-note {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .product-casting-process {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-actions {
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
  .hero-proof {
    justify-content: stretch;
  }
  .hero-proof li {
    width: 100%;
    text-align: center;
  }
  .product-shot {
    min-height: auto;
  }
  .product-shot__frame img {
    min-height: 14rem;
  }
  .product-three {
    padding: 0.7rem;
  }
  .product-three__viewer,
  .product-three__viewer canvas {
    min-height: 15rem;
  }
  .product-three__copy {
    padding: 0.8rem 0.7rem 1rem;
  }
  .product-shot--casting-process {
    --casting-breakout: calc(100vw - 1rem);
  }
  .product-casting-process__cta {
    width: 100%;
  }
  .tech-check-list {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    min-height: 10rem;
  }
}

/* Commercial landing content layer */
.benefits-section {
  margin: 5rem auto 0;
}

.benefits-section .section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.benefits-section .section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.benefit-card {
  padding: 1.35rem;
  min-height: 12rem;
  border-radius: 24px;
  border: 1px solid rgba(26,29,38,0.08);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft-half);
}

.benefit-card h3 {
  color: #1a1d26;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.benefit-card p {
  margin-top: 0.7rem;
  color: #575757;
  font-size: 0.94rem;
}

.capability-list {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.capability-card {
  min-height: 8rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(15,118,110,0.16);
  background: rgba(20,184,166,0.08);
}

.capability-card span {
  display: block;
  color: #1f2933;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.capability-card p {
  margin-top: 0.55rem;
  color: #575757;
  font-size: 0.88rem;
  line-height: 1.45;
}

.trust-section {
  margin: 5rem auto 0;
  padding: 0;
}

.trust-section.story-section {
  padding: 0;
}

.trust-section .section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.trust-section .section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.trust-section .section-head h2 em {
  font-family: "DM Serif Text", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  -webkit-text-fill-color: transparent;
}

.trust-section .badge {
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
}

.trust-card--glass {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18) 24%, transparent 48%),
    radial-gradient(circle at 82% 72%, rgba(20, 184, 166, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(226, 232, 240, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -18px 50px rgba(255, 255, 255, 0.12),
    0 18px 45px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
}

.trust-card--glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 42%, rgba(20, 184, 166, 0.06)),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.32), transparent 18%);
  pointer-events: none;
}

.trust-card--glass::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 12%;
  top: 8%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .trust-card--glass {
    background: rgba(255, 255, 255, 0.92);
  }
}

.trust-card__visual {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.trust-card__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.trust-card__details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
}

.trust-card__lead {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.trust-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0;
  padding: 0;
}

.trust-points li {
  position: relative;
  padding-left: 1.35rem;
  color: #3a3a3a;
  font-size: 0.9rem;
  line-height: 1.4;
}

.trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.trust-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.trust-meta__item {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-meta__item span {
  display: block;
  margin-bottom: 0.15rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-meta__item strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: auto;
}

.trust-card__cta {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 15px;
}

.trust-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

@media (max-width: 759px) {
  .trust-points,
  .trust-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    min-height: auto;
  }
  .product-shot-grid {
    grid-template-columns: 1fr;
  }
  .product-three {
    grid-template-columns: 1fr;
  }
  .tech-check-card {
    grid-template-columns: 1fr;
  }
  .capability-list {
    grid-template-columns: 1fr;
  }
}

/* Навигация по секциям лендинга */
.landing-module {
  scroll-margin-top: 12px;
}

.section-nav {
  min-width: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.section-nav--top {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  max-width: 100%;
}

.section-nav--top .section-nav__list {
  justify-content: center;
}

.section-nav--sticky {
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.section-nav--sticky .section-nav__list {
  justify-content: center;
  gap: 8px;
}

.section-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-nav__list::-webkit-scrollbar {
  display: none;
}

.section-nav__link {
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 0;
  background: none;
  white-space: nowrap;
}

.top-bar .section-nav__link.is-active {
  color: #fff;
  letter-spacing: -0.02em;
  transform: none;
}

.top-bar .section-nav__link.is-active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, #fff 50%, rgba(255, 255, 255, 0.55) 100%);
}

.site-sticky-bar .section-nav__link {
  font-size: 14px;
  padding: 6px 2px;
}

.site-sticky-bar .section-nav__link.is-active {
  opacity: 1;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transform: none;
}

.site-sticky-bar .section-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-sticky-bar .section-nav__link.is-active:hover {
  opacity: 0.55;
  letter-spacing: -0.02em;
  transform: none;
}

.site-sticky-bar .section-nav__link.is-active:hover::after {
  transform: scaleX(1);
}

.section-nav__link:focus-visible {
  outline-offset: 4px;
}

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 45;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  box-shadow: var(--shadow-soft-half);
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
}

.scroll-to-top:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.22);
  outline-offset: 3px;
}

.scroll-to-top[hidden] {
  display: inline-flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 900px) {
  .top-bar-inner {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 20px 28px 0 20px;
  }

  .top-bar-actions {
    margin-left: auto;
    margin-right: -4px;
    grid-column: auto;
    justify-self: auto;
  }

  .section-nav--top {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }

  .section-nav--top .section-nav__list {
    justify-content: center;
  }

  .site-sticky-bar__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo actions"
      "nav nav";
  }

  .site-sticky-bar__logo {
    grid-area: logo;
  }

  .site-sticky-bar__actions {
    grid-area: actions;
    justify-self: end;
  }

  .section-nav--sticky {
    grid-area: nav;
    justify-self: stretch;
  }

  .section-nav--sticky .section-nav__list {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 640px) {
  .scroll-to-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}
