/*
 * Статический промо-слой Огниво: один канонический лист стилей (`ognivo.html` уже его подключает).
 * Копирайт — в ognivo-landing-fragment.html. На проде оба файла можно держать в /var/www/ognivo-landing/
 * и править без пересборки клиента (SSI + nginx alias), см. docs/runbooks/ognivo-deploy.md.
 */
:root {
  color-scheme: dark;
  --ognivo-bg: var(--og-bg, #0a0a0b);
  --ognivo-fg: var(--og-text, #fafafa);
  --ognivo-dim: var(--og-text-mid, #a1a1a6);
  --ognivo-muted: var(--og-text-dim, #5a5a60);
  --ognivo-accent: var(--og-accent, #d6841d);
  --ognivo-accent-hot: var(--og-accent-hi, #ec9332);
  --ognivo-card: var(--og-surface-1, #131315);
  --ognivo-card-raised: var(--og-surface-2, #1a1a1d);
  --ognivo-border: var(--og-border, rgba(255, 255, 255, 0.06));
  --ognivo-border-em: var(--og-border-em, rgba(255, 255, 255, 0.10));
  --ognivo-radius-sm: var(--og-r-sm, 4px);
  --ognivo-radius-md: var(--og-r-md, 6px);
  --ognivo-radius-lg: var(--og-r-lg, 10px);
  --ognivo-radius-pill: var(--og-r-pill, 9999px);
  --ognivo-shadow: var(--og-shadow-2, 0 1px 0 rgba(255, 255, 255, 0.04) inset);
  --ognivo-font-ui: var(--og-font-ui, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
  --ognivo-font-display: var(--og-font-display, "InterDisplay", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ognivo-bg);
  color: var(--ognivo-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ognivo-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ognivo-landing__container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
}

.ognivo-landing__top {
  background: var(--ognivo-bg);
}

.ognivo-header__sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(20, 20, 20, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-sizing: border-box;
}

.ognivo-header__sticky-inner.ognivo-landing__container {
  padding-top: 12px;
  padding-bottom: 12px;
}

.ognivo-header__main.ognivo-landing__container {
  padding-top: 0;
  padding-bottom: 12px;
}

.ognivo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ognivo-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ognivo-nav__brand-logo {
  display: block;
  width: clamp(118px, 14vw, 160px);
  height: auto;
}

.ognivo-footer__age {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  color: var(--ognivo-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ognivo-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ognivo-nav__actions .ognivo-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.ognivo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--ognivo-border);
  background: var(--ognivo-card);
  color: var(--ognivo-fg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}

.ognivo-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.ognivo-btn:active {
  transform: translateY(1px);
}

.ognivo-btn--primary {
  background: linear-gradient(135deg, var(--ognivo-accent) 0%, var(--ognivo-accent-hot) 100%);
  border-color: transparent;
  color: var(--og-on-accent, #ffffff);
}

.ognivo-btn--primary:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--ognivo-accent) 0%, var(--ognivo-accent-hot) 100%);
}

.ognivo-hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.ognivo-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ognivo-hero__image {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
}

.ognivo-hero__content {
  display: grid;
  gap: 18px;
}

.ognivo-hero__kicker {
  color: var(--ognivo-accent);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.ognivo-hero__title {
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.ognivo-hero__sub {
  max-width: 680px;
  color: var(--ognivo-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  margin: 0;
}

.ognivo-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ognivo-hero__cta .ognivo-btn {
  padding: 14px 22px;
  font-size: 15px;
}

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

.ognivo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ognivo-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ognivo-fg);
  font-size: 13px;
  line-height: 1.35;
}

.ognivo-section {
  padding: 0 0 76px;
}

.ognivo-section__intro {
  max-width: 780px;
  margin-bottom: 28px;
}

.ognivo-section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ognivo-accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.ognivo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.ognivo-feature {
  background: var(--ognivo-card);
  border: 1px solid var(--ognivo-border);
  border-radius: 14px;
  padding: 22px;
}

.ognivo-feature__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.ognivo-feature__body {
  margin: 0;
  color: var(--ognivo-dim);
  font-size: 14px;
  line-height: 1.55;
}

.ognivo-section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.08;
}

.ognivo-section-lead {
  margin: 0;
  color: var(--ognivo-dim);
  font-size: 17px;
  line-height: 1.65;
}

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

.ognivo-step {
  background: var(--ognivo-card);
  border: 1px solid var(--ognivo-border);
  border-radius: 16px;
  padding: 22px;
}

.ognivo-step__num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ognivo-accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.ognivo-step__title,
.ognivo-showcase__title,
.ognivo-payment__title,
.ognivo-cta-panel__title,
.ognivo-model__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.ognivo-step__body,
.ognivo-showcase__body,
.ognivo-payment__body,
.ognivo-cta-panel__body,
.ognivo-model__body {
  margin: 0;
  color: var(--ognivo-dim);
  font-size: 15px;
  line-height: 1.6;
}

.ognivo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.ognivo-showcase__card,
.ognivo-payment,
.ognivo-cta-panel {
  border-radius: 20px;
  border: 1px solid var(--ognivo-border);
  background: var(--ognivo-card);
}

.ognivo-showcase__card {
  padding: 28px;
}

.ognivo-showcase__card--accent,
.ognivo-payment {
  background: var(--ognivo-card);
}

.ognivo-showcase__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ognivo-accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.ognivo-model {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--ognivo-border);
  background: var(--ognivo-card);
}

.ognivo-payment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.ognivo-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 28px;
}

.ognivo-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───────── скриншоты интерфейса ───────── */

.ognivo-section-figure {
  margin: 28px 0 0;
  padding: 0;
}

.ognivo-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--ognivo-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.25);
}

.ognivo-showcase__card--with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 24px;
  align-items: start;
}

.ognivo-showcase__card--with-image .ognivo-showcase__card-text {
  min-width: 0;
}

.ognivo-showcase__card-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--ognivo-border);
  background: rgba(0, 0, 0, 0.25);
}

.ognivo-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
}

.ognivo-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin: 0;
}

.ognivo-phone__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--ognivo-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.25);
}

.ognivo-phone__caption {
  margin: 0;
  color: var(--ognivo-dim);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.ognivo-faq {
  display: grid;
  gap: 14px;
}

.ognivo-faq__item {
  background: var(--ognivo-card);
  border: 1px solid var(--ognivo-border);
  border-radius: 12px;
  padding: 18px 20px;
}

.ognivo-faq__q {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.ognivo-faq__a {
  margin: 0;
  color: var(--ognivo-dim);
  font-size: 14px;
  line-height: 1.55;
}

.ognivo-footer {
  margin-top: auto;
  border-top: 1px solid var(--ognivo-border);
  padding: 20px 0;
}

.ognivo-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 16px 28px;
  color: var(--ognivo-dim);
  font-size: 13px;
}

.ognivo-footer a {
  color: var(--ognivo-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ognivo-footer__brandline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ognivo-footer__legal {
  display: grid;
  gap: 8px;
}

.ognivo-footer__legal p,
.ognivo-footer__legal-title {
  margin: 0;
}

.ognivo-footer__legal-title {
  color: var(--ognivo-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ognivo-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .ognivo-nav {
    gap: 10px;
  }

  .ognivo-nav__brand-logo {
    width: 96px;
  }

  .ognivo-nav__brand {
    gap: 8px;
  }

  .ognivo-footer__age {
    font-size: 11px;
  }

  .ognivo-nav__actions {
    gap: 8px;
  }

  .ognivo-nav__actions .ognivo-btn {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 9px;
  }

  .ognivo-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 0 40px;
  }

  .ognivo-hero__art {
    order: 1;
    position: relative;
    align-items: flex-start;
    max-height: 560px;
    overflow: hidden;
    margin: 0 -20px;
    mask-image: linear-gradient(
      180deg,
      #000 40%,
      rgba(0, 0, 0, 0.9) 62%,
      rgba(0, 0, 0, 0.55) 80%,
      rgba(0, 0, 0, 0.2) 92%,
      rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 40%,
      rgba(0, 0, 0, 0.9) 62%,
      rgba(0, 0, 0, 0.55) 80%,
      rgba(0, 0, 0, 0.2) 92%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .ognivo-hero__content {
    order: 2;
    gap: 14px;
    margin-top: -132px;
    position: relative;
    z-index: 1;
  }

  .ognivo-hero__proof {
    gap: 8px;
  }

  .ognivo-chip {
    font-size: 12px;
    min-height: 32px;
  }

  .ognivo-hero__image {
    width: 100%;
    max-width: none;
    max-height: 560px;
    object-fit: cover;
    object-position: center 8%;
  }

  .ognivo-hero__title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .ognivo-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ognivo-steps,
  .ognivo-models,
  .ognivo-showcase,
  .ognivo-payment,
  .ognivo-cta-panel {
    grid-template-columns: 1fr;
  }

  .ognivo-showcase__card--with-image {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ognivo-showcase__card--with-image .ognivo-showcase__card-image {
    max-width: 340px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .ognivo-section {
    padding-bottom: 60px;
  }

  .ognivo-section-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .ognivo-section-lead {
    font-size: 16px;
  }

  .ognivo-step,
  .ognivo-showcase__card,
  .ognivo-model,
  .ognivo-payment,
  .ognivo-cta-panel {
    padding: 20px;
  }

  .ognivo-section-figure {
    margin-top: 20px;
    margin-right: -20px;
    margin-left: -20px;
  }

  .ognivo-screen {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  /*
   * Десктопный скрин в 2554×1293 на узком экране превращается в муравейник —
   * прячем, мобильные скрины ниже уже показывают реальный UI.
   */
  .ognivo-section-figure {
    display: none;
  }

  /*
   * На мобилке три «телефона» складываются в горизонтальный snap-слайдер.
   * Соседний кадр выглядывает справа — сразу считывается, что можно листать.
   */
  .ognivo-phones {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 20px;
    margin: 0 -20px;
    scrollbar-width: none;
  }

  .ognivo-phones::-webkit-scrollbar {
    display: none;
  }

  .ognivo-phone {
    flex: 0 0 78%;
    max-width: none;
    scroll-snap-align: center;
  }
}

.ognivo-landing--react-hidden {
  display: none !important;
}

/*
 * Promo в `#ognivo-landing` (sibling `#root`). `base.css` / `mobile.css` жмут body;
 * пока на <html> класс `ognivo-doc--landing`, даём обычный document scroll.
 */
html.ognivo-doc--landing,
html.ognivo-doc--landing body,
html.ognivo-doc--landing #ognivo-landing {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

html.ognivo-doc--landing #root {
  height: auto;
  min-height: 0;
}

html.ognivo-doc--landing body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ───────── Огниво v3 landing preview: минимальный продуктовый слой ───────── */

html.ognivo-doc--landing,
html.ognivo-doc--landing body {
  background: var(--ognivo-bg);
}

html.ognivo-doc--landing body {
  color: var(--ognivo-fg);
  font-family: var(--ognivo-font-ui);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

.ognivo-landing {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0, transparent 220px),
    var(--ognivo-bg);
  color: var(--ognivo-fg);
  font-family: var(--ognivo-font-ui);
}

.ognivo-landing__container {
  max-width: 1180px;
  padding-inline: clamp(18px, 4vw, 40px);
}

.ognivo-landing__top {
  background: transparent;
  /* #ognivo-landing — flex-column + min-height:100vh; не даём верхнему блоку раздуваться. */
  flex: 0 0 auto;
  min-height: 0;
}

.ognivo-header__sticky {
  background: rgba(10, 10, 11, 0.82);
  border-bottom-color: var(--ognivo-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ognivo-header__sticky-inner.ognivo-landing__container {
  padding-block: 11px;
}

.ognivo-nav__brand-logo {
  width: clamp(92px, 7.8vw, 112px);
  height: auto;
  opacity: 0.94;
}

.ognivo-btn {
  min-height: 36px;
  padding: 9px 15px;
  border-radius: var(--ognivo-radius-md);
  border-color: var(--ognivo-border);
  background: transparent;
  color: var(--ognivo-fg);
  font-family: var(--ognivo-font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
  transition:
    background var(--og-dur-fast, 120ms) var(--og-ease, ease),
    border-color var(--og-dur-fast, 120ms) var(--og-ease, ease),
    color var(--og-dur-fast, 120ms) var(--og-ease, ease);
}

.ognivo-btn:hover {
  background: var(--ognivo-card);
  border-color: var(--ognivo-border-em);
}

.ognivo-btn:active {
  transform: none;
}

.ognivo-btn--primary,
.ognivo-btn--primary:hover {
  background: var(--ognivo-accent);
  border-color: var(--ognivo-accent);
  color: var(--og-on-accent, #ffffff);
  filter: none;
}

.ognivo-hero {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 4.5vw, 72px);
  display: block;
  background: transparent;
}

.ognivo-hero__inner {
  position: relative;
  display: grid;
  /* Тексту — явно большую долю; правая — чат-демка, шире минимум чтобы контент не жало в 296px. */
  grid-template-columns: minmax(0, 1.52fr) minmax(380px, 0.62fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

/* Десктоп: строка грида = max(текст, чат). При center короткая колона «плавает», при start — дырка
   под более низкой стороной. Тянем обе ячейки на высоту ряда; текст по центру по вертикали в ячейке,
   чат — flex:1 в колонке (см. chat-hero.css). */
@media (min-width: 901px) {
  .ognivo-hero__inner {
    align-items: stretch;
  }

  .ognivo-hero__content {
    align-content: center;
  }
}

.ognivo-hero__content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

/* Подпись над заголовком героя — строка, без таблетки и без оранжевой точки-маркера */
.ognivo-hero__eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}

.ognivo-hero__eyebrow-dot {
  align-self: center;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: var(--ognivo-radius-pill);
  background: var(--ognivo-border-em);
  box-shadow: none;
}

.ognivo-section-eyebrow,
.ognivo-showcase__eyebrow {
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ognivo-hero__title,
.ognivo-section-title {
  font-family: var(--ognivo-font-display);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.ognivo-hero__title {
  max-width: min(720px, 100%);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
}

.ognivo-hero__title-accent {
  color: var(--ognivo-accent);
}

.ognivo-hero__sub,
.ognivo-section-lead,
.ognivo-step__body,
.ognivo-showcase__body,
.ognivo-payment__body,
.ognivo-cta-panel__body,
.ognivo-model__body,
.ognivo-feature__body,
.ognivo-faq__a,
.ognivo-phone__caption,
.ognivo-footer__inner {
  color: var(--ognivo-dim);
}

.ognivo-hero__sub {
  max-width: min(620px, 100%);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.62;
}

/* Герой CTA: белая пилюля (крупнее v3 lg — отдельный маркетинговый акцент). */
html.ognivo-doc--landing .ognivo-hero__cta .ognivo-btn.ognivo-btn--primary.ognivo-btn--hero-primary {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--ognivo-radius-pill);
  background: #ffffff;
  background-image: none;
  border: 1px solid var(--ognivo-border-em);
  color: var(--ognivo-bg);
  filter: none;
}

html.ognivo-doc--landing .ognivo-hero__cta .ognivo-btn.ognivo-btn--primary.ognivo-btn--hero-primary:hover {
  background: #f0f0f1;
  background-image: none;
  border-color: var(--ognivo-border-em);
  color: var(--ognivo-bg);
  filter: none;
}

html.ognivo-doc--landing .ognivo-hero__cta .ognivo-btn.ognivo-btn--primary.ognivo-btn--hero-primary:active {
  background: #e4e4e6;
  background-image: none;
  filter: none;
}

/* Нав «Войти»: вторичная пилюля (подложка + бордер), не «голый» текст. */
html.ognivo-doc--landing a.ognivo-nav__login,
html.ognivo-doc--landing a.ognivo-nav__login:visited {
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ognivo-fg);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--ognivo-radius-pill);
  border: 1px solid var(--ognivo-border-em);
  background: var(--ognivo-card);
  transition:
    background var(--og-dur-fast, 120ms) var(--og-ease, ease),
    border-color var(--og-dur-fast, 120ms) var(--og-ease, ease);
}

html.ognivo-doc--landing a.ognivo-nav__login:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ognivo-fg);
}

html.ognivo-doc--landing a.ognivo-nav__login:active {
  background: rgba(255, 255, 255, 0.05);
}

/* Нав «Создать аккаунт»: та же белая пилюля, что у героя (перебивает градиент .ognivo-btn--primary). */
html.ognivo-doc--landing .ognivo-nav__actions .ognivo-btn.ognivo-btn--primary.ognivo-nav__signup {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--ognivo-radius-pill);
  background: #ffffff;
  background-image: none;
  border: 1px solid var(--ognivo-border-em);
  color: var(--ognivo-bg);
  filter: none;
}

html.ognivo-doc--landing .ognivo-nav__actions .ognivo-btn.ognivo-btn--primary.ognivo-nav__signup:hover {
  background: #f0f0f1;
  background-image: none;
  border-color: var(--ognivo-border-em);
  color: var(--ognivo-bg);
  filter: none;
}

html.ognivo-doc--landing .ognivo-nav__actions .ognivo-btn.ognivo-btn--primary.ognivo-nav__signup:active {
  background: #e4e4e6;
  background-image: none;
  filter: none;
}

/* Вторичная «Войти» в герое убрана из fragment; кешируемое SSI могло держать старый HTML. */
.ognivo-btn--hero-secondary {
  display: none !important;
}

.ognivo-hero__cta .ognivo-btn {
  min-height: 52px;
}

.ognivo-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ognivo-hero__trial {
  color: var(--ognivo-muted);
}

.ognivo-hero__trial::before {
  content: none;
}

.ognivo-hero__proof {
  max-width: min(620px, 100%);
}

.ognivo-chip {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: var(--ognivo-radius-pill);
  border-color: var(--ognivo-border);
  background: transparent;
  color: var(--ognivo-dim);
  font-size: 12px;
}

.ognivo-section {
  padding-bottom: clamp(72px, 9vw, 128px);
}

.ognivo-section__intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.ognivo-section-title {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.ognivo-section--intro-only .ognivo-section-title {
  font-size: 48px;
}

.ognivo-section-lead {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
}

.ognivo-quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 1px solid var(--ognivo-border-em);
  color: var(--ognivo-dim);
  font-style: normal;
}

.ognivo-quote__text {
  margin: 0;
  font-family: var(--ognivo-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.58;
  font-style: normal;
  letter-spacing: -0.012em;
}

.ognivo-quote__cite {
  display: block;
  margin-top: 12px;
  color: var(--ognivo-muted);
  opacity: 1;
  font-family: var(--ognivo-font-ui);
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
}

.ognivo-feature,
.ognivo-step,
.ognivo-showcase__card,
.ognivo-payment,
.ognivo-cta-panel,
.ognivo-model,
.ognivo-faq__item {
  border-radius: var(--ognivo-radius-lg);
  border-color: var(--ognivo-border);
  background: var(--ognivo-card);
  box-shadow: var(--ognivo-shadow);
}

.ognivo-feature,
.ognivo-step,
.ognivo-model,
.ognivo-faq__item {
  padding: 20px;
}

.ognivo-feature__title,
.ognivo-step__title,
.ognivo-showcase__title,
.ognivo-payment__title,
.ognivo-cta-panel__title,
.ognivo-model__title,
.ognivo-faq__q {
  color: var(--ognivo-fg);
  font-family: var(--ognivo-font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ognivo-step__num {
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
}

.ognivo-showcase__card--accent,
.ognivo-payment {
  background: var(--ognivo-card);
}

.ognivo-screen,
.ognivo-showcase__card-image,
.ognivo-phone__img {
  border-radius: var(--ognivo-radius-lg);
  border-color: var(--ognivo-border);
  background: var(--ognivo-card);
  box-shadow: none;
}

.ognivo-payment,
.ognivo-cta-panel {
  padding: clamp(22px, 3vw, 32px);
}

.ognivo-cta-panel {
  align-items: center;
}

.ognivo-cta-panel--demo {
  margin-top: clamp(20px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: none;
}

.ognivo-cta-panel--demo .ognivo-section-eyebrow {
  display: inline-block;
  margin-bottom: 0;
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ognivo-muted);
}

.ognivo-cta-panel--demo .ognivo-cta-panel__content {
  max-width: min(680px, 100%);
}

.ognivo-cta-panel--demo .ognivo-cta-panel__title {
  margin-top: 8px;
}

.ognivo-cta-panel--demo .ognivo-cta-panel__actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
}

.ognivo-cta-panel--demo .ognivo-btn {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
}

.ognivo-cta-panel--demo .ognivo-cta-panel__note {
  flex: 1 1 160px;
  margin: 0;
  min-width: 0;
}

@media (max-width: 620px) {
  .ognivo-cta-panel--demo .ognivo-cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ognivo-cta-panel--demo .ognivo-cta-panel__note {
    flex-basis: auto;
  }
}

.ognivo-cta-panel__note {
  margin: 0;
  color: var(--ognivo-muted);
  font-size: 12px;
}

.ognivo-footer {
  border-top-color: var(--ognivo-border);
  background: var(--ognivo-bg);
}

.ognivo-footer a {
  color: var(--ognivo-dim);
  text-decoration-color: var(--ognivo-border-em);
}

.ognivo-footer a:hover {
  color: var(--ognivo-fg);
}

.ognivo-footer__age {
  border: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
}

.ognivo-footer__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.ognivo-footer__mark-svg {
  display: block;
  flex-shrink: 0;
  height: 32px;
  width: auto;
  aspect-ratio: 20 / 42;
  color: var(--ognivo-accent);
}

.ognivo-footer__legal-title {
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ognivo-turnaround {
  padding-bottom: clamp(24px, 3.5vw, 48px);
}

.ognivo-series-gallery {
  padding-top: 0;
  padding-bottom: clamp(48px, 7vw, 96px);
}

.ognivo-turnaround__inner,
.ognivo-series-gallery__inner {
  display: grid;
  gap: 18px;
}

.ognivo-turnaround__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ognivo-turnaround__eyebrow,
.ognivo-series-gallery__label-title {
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ognivo-turnaround__title {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--ognivo-fg);
  font-family: var(--ognivo-font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.ognivo-turnaround__subtitle {
  max-width: 660px;
  margin: 12px auto 0;
  color: var(--ognivo-dim);
  font-size: 15px;
  line-height: 1.65;
}

.ognivo-turnaround__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: clamp(18px, 2.6vw, 40px);
  align-items: end;
  overflow-x: auto;
  padding: 10px 0 0;
  scrollbar-width: none;
}

.ognivo-turnaround__strip::-webkit-scrollbar {
  display: none;
}

.ognivo-turnaround__strip-item {
  box-sizing: border-box;
  min-width: 150px;
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  align-self: end;
}

.ognivo-turnaround__strip-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: var(--ognivo-radius-md);
  border: 1px solid var(--ognivo-border);
  box-sizing: border-box;
  filter: saturate(0.94) contrast(1.02);
}

/* Сброс устаревших desktop-правил (фикс. высота / aspect на обёртке —
   давали «ящик» выше самого img). */
@media (min-width: 900px) {
  .ognivo-turnaround__strip-item {
    flex: unset;
    width: auto;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    scroll-snap-align: unset;
    box-shadow: none;
  }
}

.ognivo-turnaround__caption {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ognivo-series-gallery__caption {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--ognivo-muted);
  font-family: var(--ognivo-font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.ognivo-turnaround__caption-tag,
.ognivo-series-gallery__caption-model {
  color: var(--ognivo-dim);
}

.ognivo-turnaround__caption-dot {
  color: var(--ognivo-border-em);
}

.ognivo-series-gallery__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.ognivo-series-gallery__label-meta {
  color: var(--ognivo-muted);
  font-size: 12px;
}

.ognivo-series-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.ognivo-series-gallery__cell {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ognivo-border);
  border-radius: var(--ognivo-radius-md);
  background: var(--ognivo-card);
  cursor: zoom-in;
}

.ognivo-series-gallery__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--og-dur-slow, 280ms) var(--og-ease, ease);
}

.ognivo-series-gallery__cell:hover {
  border-color: var(--ognivo-border-em);
}

.ognivo-series-gallery__cell:hover img {
  transform: scale(1.025);
}

.ognivo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ognivo-lightbox[hidden] {
  display: none;
}

.ognivo-lightbox__dialog {
  position: relative;
  max-width: min(1120px, 100%);
  max-height: min(820px, 100%);
}

.ognivo-lightbox__figure {
  margin: 0;
}

.ognivo-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 760px);
  border: 1px solid var(--ognivo-border);
  border-radius: var(--ognivo-radius-lg);
  background: var(--ognivo-card);
}

.ognivo-lightbox__close,
.ognivo-lightbox__nav {
  position: absolute;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ognivo-border);
  border-radius: var(--ognivo-radius-pill);
  background: rgba(19, 19, 21, 0.86);
  color: var(--ognivo-fg);
  cursor: pointer;
}

.ognivo-lightbox__close {
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
}

.ognivo-lightbox__nav {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  font-size: 24px;
}

.ognivo-lightbox__nav--prev {
  left: -52px;
}

.ognivo-lightbox__nav--next {
  right: -52px;
}

.ognivo-lightbox__counter {
  margin-top: 10px;
  color: var(--ognivo-dim);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .ognivo-hero {
    min-height: auto;
    padding-top: 38px;
  }

  .ognivo-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ognivo-hero__title {
    font-size: clamp(42px, 11vw, 68px);
  }

  .ognivo-hero__art {
    justify-content: flex-start;
  }

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

  .ognivo-lightbox__nav--prev {
    left: 8px;
  }

  .ognivo-lightbox__nav--next {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .ognivo-header__sticky-inner.ognivo-landing__container {
    padding-block: 10px;
  }

  .ognivo-nav__brand-logo {
    width: 104px;
  }

  .ognivo-nav__actions .ognivo-btn {
    min-height: 34px;
    padding: 0 11px;
    border-radius: var(--ognivo-radius-md);
    font-size: 12px;
  }

  .ognivo-hero {
    padding-bottom: 48px;
  }

  .ognivo-hero__art {
    order: 2;
    max-height: none;
    margin: 12px 0 0;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .ognivo-hero__content {
    order: 1;
    margin-top: 0;
  }

  .ognivo-hero__title {
    font-size: clamp(40px, 13vw, 56px);
  }

  .ognivo-section-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .ognivo-section--intro-only .ognivo-section-title {
    font-size: clamp(30px, 8vw, 48px);
  }

  .ognivo-turnaround__title {
    font-size: clamp(32px, 10vw, 46px);
  }

  .ognivo-series-gallery__label {
    align-items: flex-start;
    flex-direction: column;
  }

  .ognivo-series-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
