:root {
  --blue: #c7192d;
  --blue-dark: #9f1022;
  --red: #c7192d;
  --red-dark: #8f0d1d;
  --ink: #171719;
  --muted: #65656d;
  --line: #dedee3;
  --soft: #f6f6f7;
  --good: #18794e;
  --warn: #a76100;
  --bad: #b42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(199, 25, 45, .35);
  outline-offset: 3px;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(23, 23, 25, .1);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.landing-brand, .footer-brand {
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.045em;
  text-decoration: none;
}
.landing-brand span, .footer-brand span { color: var(--red); }
.landing-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.landing-header nav > a, .landing-header summary {
  color: #34343a;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}
.landing-header nav > a:hover, .landing-header summary:hover { color: var(--red); }
.header-cta, .primary-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 21px !important;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(143, 13, 29, .18);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.header-cta { min-height: 40px; padding: 10px 16px !important; }
.header-cta:hover, .primary-action:hover { transform: translateY(-1px); background: var(--red-dark); }

.landing-main { overflow: hidden; }
.contact-success {
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid #b8dec8;
  border-radius: 12px;
  background: #effaf3;
  color: #146c43;
  font-weight: 700;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 72px 0 88px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.seo-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 690px;
  margin: 25px 0 22px;
  color: #56565f;
  font-size: 19px;
  line-height: 1.62;
}
.hero-benefits {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.hero-benefits li {
  position: relative;
  padding-left: 27px;
  color: #313138;
  font-size: 15px;
  font-weight: 720;
}
.hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f8dfe3;
  color: var(--red-dark);
  font-size: 12px;
}
.hero-price {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  margin: 22px 0 10px;
  padding: 13px 17px;
  border: 1px solid #edc5cb;
  border-radius: 14px;
  background: #fff5f6;
}
.hero-price strong {
  color: var(--red);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.05em;
}
.hero-price span { color: #55545b; font-size: 12px; font-weight: 750; line-height: 1.35; }
.connection-note { margin: 0 0 22px; color: #6d5a5e; font-size: 12px; line-height: 1.45; }
.hero-actions { display: flex; gap: 12px; }
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #b9b9c0;
  border-radius: 10px;
  color: #28282d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.secondary-action:hover { border-color: var(--red); color: var(--red); }

.product-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8d8de;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(19, 19, 22, .12);
}
.product-shot > a {
  display: block;
  overflow: auto;
  background: #f5f5f6;
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top left;
}
.product-shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid #e8e8eb;
  color: #66666e;
  font-size: 11px;
  line-height: 1.4;
}
.hero-shot { transform: rotate(1deg); }

.section-shell, .pricing-section, .faq-section {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(500px, 1.18fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}
.section-shell.alternating { direction: rtl; }
.section-shell.alternating > * { direction: ltr; }
.section-copy h2, .section-heading h2, .pricing-section h2, .faq-section h2,
.live-demo-heading h2, .ozon-api-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-copy > p, .section-heading > p, .pricing-section > div > p,
.live-demo-heading p, .ozon-api-heading p {
  margin: 0 0 18px;
  color: #5e5e67;
  font-size: 17px;
  line-height: 1.7;
}
.formula-card, .info-card {
  display: grid;
  gap: 8px;
  margin: 25px 0 15px;
  padding: 21px 22px;
  border-left: 5px solid var(--red);
  border-radius: 12px;
  background: #f7f7f8;
  color: #39393f;
  font-style: normal;
  line-height: 1.5;
}
.formula-card strong { color: var(--red-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.formula-card span { font-size: 16px; font-weight: 800; }
.section-copy .fine-print { color: #77777f; font-size: 13px; line-height: 1.55; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.facts-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid #dfdfe3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(20, 20, 24, .06);
}
.facts-grid strong { display: block; margin-bottom: 15px; font-size: 20px; }
.facts-grid span { color: #686870; font-size: 13px; line-height: 1.55; }
.metric-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.metric-list li, .deep-links a {
  padding: 9px 12px;
  border: 1px solid #dedee3;
  border-radius: 999px;
  background: #fff;
  color: #44444b;
  font-size: 12px;
  font-weight: 750;
}
.product-shot-wide { align-self: center; }
.status-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.status-legend span { padding: 8px 10px; border-radius: 8px; font-size: 11px; font-weight: 850; }
.status-legend .good { background: #e9f7ef; color: var(--good); }
.status-legend .warn { background: #fff1d8; color: var(--warn); }
.status-legend .bad { background: #ffebe9; color: var(--bad); }
.deep-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.deep-links a { color: var(--red-dark); text-decoration: none; }
.deep-links a:hover { border-color: var(--red); }

.accruals-section {
  display: block;
  padding-top: 98px;
}
.accruals-section .section-heading { max-width: 820px; margin-bottom: 34px; }
.two-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.live-demo-section, .ozon-api-section {
  width: min(1280px, calc(100% - 48px));
  max-width: none;
  margin: 25px auto 80px;
  padding: 42px;
  border-radius: 24px;
}
.live-demo-section {
  background: #171719;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .18);
  color: #fff;
}
.live-demo-heading {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 26px;
}
.live-demo-heading .eyebrow { color: #ff7888; }
.live-demo-heading p { color: #c3c3c8; }
.live-demo-player {
  overflow: hidden;
  border: 1px solid #3d3d42;
  border-radius: 16px;
  background: #050506;
}
.live-demo-player video { display: block; width: 100%; max-height: 720px; object-fit: contain; }

.ozon-api-section {
  border: 1px solid #e0e0e4;
  background: #f6f6f7;
  box-shadow: none;
}
.ozon-api-heading {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 28px;
}
.ozon-api-table thead th { background: #222225; color: #fff; }
.ozon-api-table tbody th { background: #f2f2f4; color: #242429; }
.ozon-api-table th, .ozon-api-table td { font-size: 13px; }
.ozon-api-conclusion { background: #222225; }
.ozon-api-disclaimer { color: #707078; font-size: 11px; }

.pricing-section {
  grid-template-columns: minmax(300px, 1fr) minmax(340px, .72fr);
  align-items: center;
}
.price-card {
  padding: 34px;
  border: 1px solid #e4b7bf;
  border-radius: 22px;
  background: #fff6f7;
  box-shadow: 0 22px 60px rgba(143, 13, 29, .1);
}
.price-card > span { display: block; color: #67676f; font-size: 13px; font-weight: 800; }
.price-card strong {
  display: inline-block;
  margin: 10px 8px 4px 0;
  color: var(--red);
  font-size: 62px;
  line-height: 1;
  letter-spacing: -.06em;
}
.price-card em { color: #5c5c64; font-size: 16px; font-style: normal; font-weight: 750; }
.price-card p { margin: 18px 0 24px; color: #686870; font-size: 13px; line-height: 1.55; }

.faq-section {
  display: block;
  padding-top: 84px;
  padding-bottom: 110px;
}
.faq-section .section-heading { max-width: 760px; margin-bottom: 30px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq-list details {
  border: 1px solid #dfdfe3;
  border-radius: 14px;
  background: #fff;
}
.faq-list summary {
  position: relative;
  padding: 19px 48px 19px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 820;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--red);
  font-size: 25px;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 20px 20px; color: #62626a; font-size: 14px; line-height: 1.65; }

.landing-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 34px max(24px, calc((100vw - 1280px) / 2));
  border-top: 1px solid #dfdfe3;
  background: #171719;
  color: #aaaab1;
}
.landing-footer > div { display: grid; gap: 8px; }
.footer-brand { color: #fff; font-size: 18px; }
.landing-footer small { max-width: 410px; font-size: 11px; line-height: 1.45; }
.landing-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.landing-footer nav a { color: #d0d0d5; font-size: 11px; text-decoration: none; }
.landing-footer nav a:hover { color: #fff; }

@media (max-width: 1120px) {
  .landing-header nav > a:not(.header-cta), .landing-header .contact-menu { display: none; }
  .seo-hero, .section-shell { grid-template-columns: 1fr; }
  .seo-hero { min-height: 0; }
  .seo-hero-copy { max-width: 820px; }
  .hero-shot { max-width: 900px; transform: none; }
  .section-shell.alternating { direction: ltr; }
  .section-copy { max-width: 820px; }
  .product-shot { max-width: 980px; }
  .live-demo-heading, .ozon-api-heading { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .landing-header { min-height: 64px; padding: 8px 15px; }
  .landing-brand { font-size: 19px; }
  .landing-header nav { gap: 10px; }
  .landing-header nav > a:not(.header-cta) { display: none; }
  .header-cta { min-height: 38px; padding: 9px 12px !important; font-size: 11px !important; }
  .seo-hero, .section-shell, .pricing-section, .faq-section {
    width: min(100% - 30px, 1280px);
  }
  .seo-hero { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding: 48px 0 58px; }
  .seo-hero h1 { font-size: 41px; }
  .hero-lead { font-size: 17px; line-height: 1.58; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-price strong { font-size: 33px; }
  .product-shot > a { overflow-x: auto; }
  .hero-shot img { min-width: 600px; }
  .product-shot-wide img { min-width: 700px; }
  .section-shell { display: flex; flex-direction: column; align-items: stretch; padding: 62px 0; }
  .section-copy h2, .section-heading h2, .pricing-section h2, .faq-section h2,
  .live-demo-heading h2, .ozon-api-heading h2 { font-size: 34px; }
  .section-copy > p, .section-heading > p, .pricing-section > div > p,
  .live-demo-heading p, .ozon-api-heading p { font-size: 16px; }
  .facts-grid, .two-shots, .faq-list { grid-template-columns: 1fr; }
  .facts-grid article { min-height: 0; }
  .two-shots .product-shot img { min-width: 660px; }
  .live-demo-section, .ozon-api-section {
    width: calc(100% - 20px);
    margin-bottom: 44px;
    padding: 26px 14px;
    border-radius: 18px;
  }
  .ozon-api-table { min-width: 760px; }
  .pricing-section { display: flex; flex-direction: column; align-items: stretch; padding: 66px 0; }
  .price-card { padding: 27px 22px; }
  .price-card strong { font-size: 52px; }
  .faq-section { padding: 64px 0 80px; }
  .landing-footer { align-items: flex-start; flex-direction: column; padding: 30px 18px; }
  .landing-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
