@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-cyrillic-400-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 400
}

@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-cyrillic-700-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 700
}

@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-cyrillic-400-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 400
}

@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-cyrillic-700-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 700
}

:root {
  --seo-paper: #ffffff;
  --seo-ink: #1a1a1a;
  --seo-muted: #64748b;
  --seo-line: #cbd5e1;
  --seo-accent: #ff9500;
  --seo-accent-text: #ffffff;
  --seo-card-bg: #f8fafc;
  --seo-card-hover: #f1f5f9;
  --seo-header-bg: rgba(255, 255, 255, 0.95);
  --seo-badge-bg: rgba(255, 149, 0, 0.1);
  color-scheme: light;
}

html.dark,
:root.dark,
body.dark,
.dark,
.seo-shell.dark {
  --seo-paper: #131315;
  --seo-ink: #e4e2e4;
  --seo-muted: #a1a1aa;
  --seo-line: #2a2a2c;
  --seo-accent: #ff9500;
  --seo-accent-text: #131315;
  --seo-card-bg: #1b1b1d;
  --seo-card-hover: #242428;
  --seo-header-bg: rgba(19, 19, 21, 0.95);
  --seo-badge-bg: rgba(255, 149, 0, 0.15);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --seo-paper: #131315;
    --seo-ink: #e4e2e4;
    --seo-muted: #a1a1aa;
    --seo-line: #2a2a2c;
    --seo-accent: #ff9500;
    --seo-accent-text: #131315;
    --seo-card-bg: #1b1b1d;
    --seo-card-hover: #242428;
    --seo-header-bg: rgba(19, 19, 21, 0.95);
    --seo-badge-bg: rgba(255, 149, 0, 0.15);
  }
}

/* Custom Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 150, 150, 0.3) transparent;
}

html.dark *,
.dark * {
  scrollbar-color: #3f3f46 transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(150, 150, 150, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(150, 150, 150, 0.5);
}

.dark ::-webkit-scrollbar-thumb,
html.dark::-webkit-scrollbar-thumb {
  background-color: #3f3f46;
}

.dark ::-webkit-scrollbar-thumb:hover,
html.dark::-webkit-scrollbar-thumb:hover {
  background-color: #52525b;
}

.seo-shell {
  background-color: var(--seo-paper);
  color: var(--seo-ink);
  min-height: 100vh;
  font-family: Montserrat, system-ui, sans-serif;
  transition: background-color .2s ease, color .2s ease;
  line-height: 1.6;
}

.seo-shell * {
  box-sizing: border-box;
}

/* Media theme switcher */
.seo-img-dark {
  display: none;
}

.seo-img-light {
  display: block;
}

html.dark .seo-img-dark,
body.dark .seo-img-dark,
.dark .seo-img-dark {
  display: block;
}

html.dark .seo-img-light,
body.dark .seo-img-light,
.dark .seo-img-light {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) .seo-img-dark {
    display: block;
  }

  :root:not(.light) .seo-img-light {
    display: none;
  }
}

/* Sticky Header */
.seo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 60px);
  background: var(--seo-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--seo-line);
}

.seo-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.seo-header a,
.seo-footer a {
  text-decoration: none;
  color: inherit;
  transition: color .15s ease;
}

.seo-header a:hover,
.seo-footer a:hover {
  color: var(--seo-accent);
}

.seo-brand {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.seo-brand small {
  display: block;
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .25em;
  margin-top: 2px;
  color: var(--seo-accent);
}

.seo-phone {
  font-size: .8125rem;
  white-space: nowrap;
  font-weight: 700;
  padding: 6px 14px;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 9999px;
  transition: all .2s ease;
}

.seo-phone:hover {
  border-color: var(--seo-accent);
  color: var(--seo-accent);
}

/* Main Container */
.seo-page {
  max-width: 1120px;
  margin: auto;
  padding: 32px clamp(16px, 4vw, 40px) 80px;
}

/* Breadcrumbs */
.seo-crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .75rem;
  line-height: 1.4;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 4px;
  color: var(--seo-muted);
}

.seo-crumbs a {
  text-decoration: none;
  color: inherit;
  transition: color .15s ease;
}

.seo-crumbs a:hover {
  color: var(--seo-accent);
}

.seo-crumbs span[aria-current="page"] {
  color: var(--seo-ink);
  font-weight: 600;
}

/* Kicker Badge */
.seo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--seo-accent);
  font-weight: 700;
  background: var(--seo-badge-bg);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 149, 0, 0.25);
  margin-bottom: 12px;
}

/* Typography */
.seo-page h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  max-width: 32ch;
  color: var(--seo-ink);
}

.seo-page h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin: 44px 0 18px;
  color: var(--seo-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-page h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--seo-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.seo-page h3 {
  font-size: 1.0625rem;
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--seo-ink);
}

.seo-page p {
  max-width: 68ch;
  line-height: 1.7;
  margin: 10px 0 20px;
  color: var(--seo-muted);
}

.seo-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--seo-ink) !important;
}

/* Hero Showcase Card */
.seo-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 40px;
}

.seo-split strong {
  color: var(--seo-accent);
  font-size: 1.125rem;
}

.seo-split-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--seo-paper);
  border: 1px solid var(--seo-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seo-split-media .seo-img-light {
  object-fit: contain;
  background: #ffffff;
  padding: 16px;
}

/* CTA Button */
.seo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: none;
  border-radius: 4px;
  background: var(--seo-accent);
  color: var(--seo-accent-text);
  font: 700 .75rem Montserrat, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
  margin: 8px 0;
  transition: all .2s ease;
}

.seo-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: var(--seo-accent-text);
}

/* Category & Product List Grid */
.seo-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.seo-list li {
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all .2s ease;
}

.seo-list li:hover {
  border-color: var(--seo-accent);
  background: var(--seo-card-hover);
  transform: translateY(-1px);
}

.seo-list a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--seo-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: auto;
  transition: color .15s ease;
}

.seo-list a:hover {
  color: var(--seo-accent);
  text-decoration: none;
}

.seo-list span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--seo-accent);
  white-space: nowrap;
  background: var(--seo-badge-bg);
  border: 1px solid rgba(255, 149, 0, 0.25);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: right;
}

.seo-list small {
  display: block;
  font-size: .5625rem;
  font-weight: 500;
  color: var(--seo-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Checklist Steps Grid */
.seo-steps {
  list-style: none;
  counter-reset: step-num;
  padding: 0;
  margin: 16px 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.seo-steps li {
  counter-increment: step-num;
  position: relative;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 6px;
  padding: 18px 18px 18px 52px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--seo-ink);
  font-weight: 500;
  transition: border-color .2s ease;
}

.seo-steps li:hover {
  border-color: rgba(255, 149, 0, 0.4);
}

.seo-steps li::before {
  content: counter(step-num, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: .875rem;
  font-weight: 800;
  color: var(--seo-accent);
}

/* FAQ Accordions */
.seo-faq details {
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color .2s ease;
}

.seo-faq details[open] {
  border-color: rgba(255, 149, 0, 0.4);
}

.seo-faq summary {
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  line-height: 1.4;
  color: var(--seo-ink);
  transition: color .15s ease;
  user-select: none;
}

.seo-faq summary:hover {
  color: var(--seo-accent);
}

.seo-faq details p {
  margin: 12px 0 4px;
  font-size: .875rem;
  line-height: 1.65;
}

/* Request Consultation Box */
.seo-request {
  margin-top: 48px;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-left: 4px solid var(--seo-accent);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
}

.seo-request h2 {
  margin-top: 0;
  font-size: 1.375rem;
}

.seo-request h2::before {
  display: none;
}

.seo-request p {
  font-size: .9375rem;
  margin-bottom: 20px;
}

/* Contacts Box */
.seo-contacts {
  margin-top: 48px;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
}

.seo-contacts h2 {
  margin-top: 0;
}

.seo-contacts p {
  font-size: .875rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.seo-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--seo-card-hover);
  border: 1px solid var(--seo-line);
  border-radius: 4px;
  color: var(--seo-accent);
  font-weight: 600;
  font-size: .8125rem;
  text-decoration: none;
  margin: 4px 10px 4px 0;
  transition: all .2s ease;
}

.seo-contacts a:hover {
  border-color: var(--seo-accent);
  transform: translateY(-1px);
}

/* Posts */
.seo-post {
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.seo-post h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.seo-post h2::before {
  display: none;
}

.seo-post time {
  font-size: .75rem;
  color: var(--seo-accent);
  font-weight: 600;
}

.seo-post p {
  white-space: pre-line;
  margin-bottom: 0;
}

/* Footer */
.seo-footer {
  margin-top: 80px;
  border-top: 1px solid var(--seo-line);
  background: var(--seo-card-bg);
  padding: 36px clamp(20px, 4vw, 60px) 110px;
  font-size: .8125rem;
}

.seo-footer a {
  display: inline-block;
  margin: 0 24px 14px 0;
  text-decoration: none;
  color: var(--seo-muted);
  transition: color .15s ease;
}

.seo-footer a:hover {
  color: var(--seo-accent);
}

.seo-footer p {
  margin-top: 12px;
  font-size: .75rem;
  color: var(--seo-muted);
}

.seo-shell :focus-visible {
  outline: 3px solid var(--seo-accent);
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .seo-header {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .seo-header nav {
    gap: 16px;
    font-size: .8125rem;
  }

  .seo-phone {
    display: none;
  }

  .seo-split {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .seo-split-media {
    max-height: 220px;
    order: -1;
  }

  .seo-page {
    padding-top: 20px;
  }

  .seo-page h1 {
    font-size: 1.625rem;
    margin-bottom: 20px;
  }

  .seo-list {
    grid-template-columns: 1fr;
  }

  .seo-steps {
    grid-template-columns: 1fr;
  }

  .seo-request {
    padding: 20px;
  }

  .seo-contacts {
    padding: 20px;
  }

  .seo-crumbs {
    margin-bottom: 16px;
  }
}


/* «Коротко» — short answer quoted by search and AI answers */
.seo-short {
  position: relative;
  max-width: 76ch;
  margin: -8px 0 32px;
  padding: 18px 22px 18px 24px;
  background: var(--seo-card-bg);
  border: 1px solid var(--seo-line);
  border-radius: 14px;
  overflow: hidden;
}

.seo-short::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--seo-accent);
}

.seo-short b {
  display: block;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--seo-accent);
  margin-bottom: 6px;
}

.seo-page .seo-short p {
  margin: 0;
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--seo-ink);
}

.seo-h1-kicker {
  display: block;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--seo-accent);
  margin-bottom: 14px;
}

.seo-h1-main {
  display: block;
}

/* Fix: .seo-split-media img (display:block) overrode theme switching, both images were visible */
.seo-split-media .seo-img-dark {
  display: none;
}

html.dark .seo-split-media .seo-img-dark,
.dark .seo-split-media .seo-img-dark {
  display: block;
}

html.dark .seo-split-media .seo-img-light,
.dark .seo-split-media .seo-img-light {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) .seo-split-media .seo-img-dark {
    display: block;
  }

  :root:not(.light) .seo-split-media .seo-img-light {
    display: none;
  }
}

/* ===================== Stage 1.2: brand / guide / hub templates (approved mockups) ===================== */
@font-face {
  font-family: Montserrat;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic-200-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
  font-family: Montserrat;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic-300-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
  font-family: Montserrat;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
  font-family: Montserrat;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
  font-family: Montserrat;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/montserrat-latin-200-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

@font-face {
  font-family: Montserrat;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/montserrat-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

@font-face {
  font-family: Montserrat;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/montserrat-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

@font-face {
  font-family: Montserrat;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

@font-face {
  font-family: Montserrat;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

@font-face {
  font-family: Montserrat;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2116, U+2191, U+2193, U+2212
}

.seo-page.seo-wide {
  max-width: none;
  margin: 0;
  padding: 0
}

.sx {
  --bg: var(--seo-paper);
  --bg2: #f5f6f8;
  --ink: #111214;
  --ink2: #2b2d33;
  --muted: #626875;
  --line: #e5e7eb;
  --line2: #d5d8de;
  --card: #fff;
  --acc: #ff9500;
  --acc-ink: #b86200;
  --on-acc: #1a1206;
  --hero: #0d0d0f;
  --hero-ink: #f4f3f5;
  --hero-muted: #a3a3ab;
  --hero-line: rgba(255, 255, 255, .12);
  --pad: clamp(20px, 3.4vw, 64px);
  --max: 1680px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased
}

html.dark .sx,
.dark .sx {
  --bg2: #17171a;
  --ink: #ecebee;
  --ink2: #d4d3d7;
  --muted: #a1a1aa;
  --line: #26262a;
  --line2: #33333a;
  --card: #19191c;
  --acc-ink: #ffbd7f
}

@media (prefers-color-scheme:dark) {
  :root:not(.light) .sx {
    --bg2: #17171a;
    --ink: #ecebee;
    --ink2: #d4d3d7;
    --muted: #a1a1aa;
    --line: #26262a;
    --line2: #33333a;
    --card: #19191c;
    --acc-ink: #ffbd7f
  }
}

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

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

.sx h1,
.sx h2,
.sx h3 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: inherit
}

.sx p {
  margin: 0
}

.sx ul {
  margin: 0
}

.sx-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad)
}

.sx-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted)
}

.sx-lbl.sx-acc {
  color: var(--acc-ink)
}

.sx-hero .sx-lbl.sx-acc,
.sx-dk .sx-lbl.sx-acc,
.sx-ban .sx-lbl.sx-acc,
.sx-sc .sx-lbl.sx-acc {
  color: var(--acc)
}

.sx-x {
  color: var(--acc);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -.02em
}

/* buttons */
.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  font: 700 11px/1 Montserrat, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: .25s;
  white-space: nowrap;
  background: none;
  color: inherit
}

.sx-btn.sx-p {
  background: var(--acc);
  color: var(--on-acc)
}

.sx-btn.sx-p:hover {
  background: #ffa524
}

.sx-btn.sx-g {
  border-color: rgba(255, 255, 255, .22);
  color: #fff
}

.sx-btn.sx-g:hover {
  border-color: #fff
}

.sx-btn.sx-o {
  border-color: var(--line2);
  color: var(--ink)
}

.sx-btn.sx-o:hover {
  border-color: var(--acc);
  color: var(--acc-ink)
}

.sx-btn.sx-s {
  height: 42px;
  padding: 0 20px;
  font-size: 10px
}

.sx-arr {
  display: inline-block;
  transition: transform .3s
}

.sx-btn:hover .sx-arr,
.sx a:hover .sx-arr {
  transform: translateX(5px)
}

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

/* hero */
.sx-hero {
  position: relative;
  background: var(--hero);
  color: var(--hero-ink);
  overflow: hidden;
  isolation: isolate
}

.sx-hero-img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  z-index: -1
}

.sx-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center
}

.sx-hero-img:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, #0d0d0f 0%, #0d0d0f 6%, rgba(13, 13, 15, 0.75) 28%, rgba(13, 13, 15, 0.35) 55%, rgba(13, 13, 15, 0.08) 80%, transparent 100%);
  background: linear-gradient(to right in oklab, #0d0d0f 0%, #0d0d0f 6%, rgba(13, 13, 15, 0.75) 28%, rgba(13, 13, 15, 0.35) 55%, rgba(13, 13, 15, 0.08) 80%, transparent 100%);
}

@media (min-width: 1001px) {
  .sx-hero.sx-about .sx-hero-img {
    bottom: 104px;
  }
}

.sx-hero.sx-about .sx-stats {
  position: relative;
  z-index: 2;
  background: var(--hero);
}

.sx-hero-in {
  min-height: min(760px, calc(100vh - 80px));
  display: flex;
  flex-direction: column;
  padding-top: 34px
}

.sx-hero.sx-sm .sx-hero-in {
  min-height: 520px;
  padding-bottom: 24px
}

.sx-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hero-muted)
}

.sx-crumbs a:hover {
  color: #fff
}

.sx-crumbs span {
  opacity: .4
}

.sx-crumbs b {
  font-weight: 500;
  color: #fff
}

.sx-hero-main {
  margin: auto 0;
  max-width: min(760px, 56%);
  padding: 56px 0
}

.sx-hero h1 {
  font-size: clamp(34px, 3.1vw, 58px);
  margin: 18px 0 24px
}

.sx-hero h1 .sx-x {
  display: block
}

.sx-hero-logo {
  height: 28px;
  width: auto;
  margin-bottom: 28px
}

.sx-hero-wm {
  display: block;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #fff
}

.sx .seo-short {
  position: relative;
  margin: 0;
  padding: 22px 26px 22px 28px;
  max-width: 600px;
  border-radius: 0;
  box-shadow: none
}

.sx .seo-short::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--acc)
}

.sx .seo-short b {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--acc-ink)
}

.sx .seo-short p {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65
}

.sx-hero .seo-short {
  position: relative;
  z-index: 3;
  background: rgba(13, 13, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px)
}

.sx-hero .seo-short b {
  color: var(--acc)
}

.sx-hero .seo-short p {
  color: #e9e8ec
}

.sx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hero-line);
  margin-top: auto
}

.sx-stats div {
  padding: 26px 28px 30px 0;
  border-right: 1px solid var(--hero-line)
}

.sx-stats div+div {
  padding-left: 28px
}

.sx-stats div:last-child {
  border-right: 0
}

.sx-stats b {
  display: block;
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: #fff
}

.sx-stats b em {
  font-style: normal;
  color: var(--acc)
}

.sx-stats span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hero-muted)
}

.sx-byl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hero-muted)
}

.sx-byl i {
  font-style: normal;
  color: var(--acc)
}

/* sections */
.sx-sec {
  padding: clamp(64px, 6.5vw, 112px) 0
}

.sx-sec.sx-alt {
  background: var(--bg2)
}

.sx-sec.sx-dk {
  background: var(--hero);
  color: var(--hero-ink)
}

.sx-sec.sx-pt0 {
  padding-top: 0
}

.sx-sh {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 64px;
  margin-bottom: clamp(36px, 4vw, 64px)
}

.sx-sh h2 {
  font-size: clamp(28px, 2.3vw, 42px);
  margin-top: 16px;
  max-width: 20ch
}

.sx-sh p {
  max-width: 460px;
  color: var(--muted);
  font-weight: 300
}

.sx-dk .sx-sh p {
  color: var(--hero-muted)
}

/* type cards */
.sx-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.sx-tc {
  position: relative;
  background: var(--card);
  padding: clamp(28px, 2.6vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: background .3s
}

.sx-tc:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--acc);
  transition: width .5s
}

.sx-tc:hover:before {
  width: 100%
}

.sx-n {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: .1em
}

.sx-tc h3 {
  font-size: clamp(22px, 1.6vw, 28px);
  margin: 44px 0 12px
}

.sx-tg {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc-ink);
  border: 1px solid currentColor;
  padding: 4px 9px;
  margin-left: 12px;
  vertical-align: 5px
}

.sx-tc p {
  color: var(--muted);
  font-weight: 300;
  max-width: 38ch
}

.sx-tc ul {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink2)
}

.sx-tc li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px
}

.sx-tc li:before {
  content: "—";
  color: var(--acc)
}

.sx-ft {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px
}

.sx-pr {
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1
}

.sx-pr small {
  display: block;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500
}

.sx-go {
  width: 52px;
  height: 52px;
  flex: none;
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: .3s
}

.sx-tc:hover .sx-go {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--on-acc)
}

/* steps */
.sx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px)
}

.sx-st {
  border-top: 1px solid var(--hero-line);
  padding-top: 28px
}

.sx-big {
  font-size: clamp(52px, 4.4vw, 80px);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--acc)
}

.sx-st h3 {
  font-size: 24px;
  margin: 28px 0 12px;
  font-weight: 400;
  letter-spacing: -.01em
}

.sx-st p {
  color: var(--hero-muted);
  font-weight: 300
}

.sx-code {
  display: inline-block;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 2px 8px;
  border: 1px solid rgba(255, 149, 0, .45);
  color: var(--acc);
  margin: 2px
}

/* problems */
.sx-probs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.sx-probs>div {
  background: var(--card);
  padding: clamp(24px, 2.4vw, 40px)
}

.sx-probs h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 10px
}

.sx-probs p {
  color: var(--muted);
  font-weight: 300
}

/* faq */
.sx-faqg {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 120px);
  align-items: start
}

.sx-faqg .sx-l {
  position: sticky;
  top: 110px
}

.sx-faqg .sx-l h2 {
  font-size: clamp(28px, 2.3vw, 42px);
  margin: 16px 0 22px
}

.sx-faqg .sx-l p {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 40ch
}

.sx .seo-faq {
  margin: 0;
  padding: 0;
  border: 0;
  background: none
}

.sx .seo-faq details {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 0;
  margin: 0;
  box-shadow: none
}

.sx .seo-faq details:last-child {
  border-bottom: 1px solid var(--line)
}

.sx .seo-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ink);
  background: none
}

.sx .seo-faq summary::-webkit-details-marker {
  display: none
}

.sx .seo-faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: linear-gradient(var(--acc), var(--acc)) center/14px 1.5px no-repeat, linear-gradient(var(--acc), var(--acc)) center/1.5px 14px no-repeat;
  transition: transform .3s
}

.sx .seo-faq details[open] summary::after {
  transform: rotate(45deg)
}

.sx .seo-faq details p {
  padding: 0 48px 30px 0;
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 70ch
}

/* logos */
.sx-logo {
  display: block;
  position: relative
}

.sx-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain
}

.sx-wm {
  display: block;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink)
}

.sx-lgs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.sx-lc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 120px;
  padding: 28px 26px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  transition: background .3s
}

.sx-lc .sx-logo {
  height: 30px;
  max-width: 130px
}

.sx-lc:hover {
  background: var(--bg)
}

.sx-lc small {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted)
}

.sx-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin-top: 64px
}

.sx-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line)
}

.sx-links a .sx-arr {
  color: var(--acc-ink)
}

/* banner */
.sx-ban {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  color: #fff;
  isolation: isolate;
  display: flex;
  align-items: center
}

.sx-ban img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2
}

.sx-ban:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%)
}

.sx-ban-c {
  padding: clamp(28px, 3vw, 48px) clamp(28px, 4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  width: 100%
}

.sx-ban h2 {
  font-size: clamp(24px, 2vw, 34px);
  margin: 12px 0 10px;
  max-width: 22ch
}

.sx-ban p {
  color: #d0d0d6;
  font-weight: 300;
  max-width: 46ch
}

.sx-ban .sx-cta {
  margin-top: 0
}

/* shop */
.sx-shop {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center
}

.sx-ph {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden
}

.sx-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sx-ph span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 8px 12px
}

.sx-shop h2 {
  font-size: clamp(28px, 2.3vw, 42px);
  margin: 16px 0 36px
}

.sx-kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--line);
  margin: 0
}

.sx-kv>* {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin: 0
}

.sx-kv dt {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 24px
}

.sx-kv dd {
  font-size: 19px;
  font-weight: 300
}

.sx-kv dd small {
  display: block;
  font-size: 13px;
  color: var(--muted)
}

.sx-kv a:hover {
  color: var(--acc-ink)
}

.sx-upd {
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted)
}

/* article */
.sx-art {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 320px;
  gap: clamp(28px, 3vw, 48px);
  padding-block: clamp(56px, 6vw, 104px)
}

.sx-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 13px
}

.sx-toc .sx-lbl {
  display: block;
  margin-bottom: 14px
}

.sx-toc a {
  display: block;
  padding: 10px 0 10px 16px;
  border-left: 1px solid var(--line);
  color: var(--muted)
}

.sx-toc a:hover {
  border-color: var(--acc);
  color: var(--ink)
}

.sx-prose {
  min-width: 0
}

.sx-prose .seo-short {
  max-width: none;
  margin-bottom: 72px;
  padding: 30px 32px;
  background: var(--bg2);
  border-left: 2px solid var(--acc)
}

.sx-prose .seo-short::before {
  display: none
}

.sx-prose .seo-short p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink2)
}

.sx-prose h2 {
  font-size: clamp(24px, 1.9vw, 32px);
  margin: 72px 0 24px;
  scroll-margin-top: 100px
}

.sx-ol {
  counter-reset: s;
  border-top: 1px solid var(--line)
}

.sx-ol>div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px
}

.sx-ol>div:before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-size: 44px;
  font-weight: 200;
  color: var(--acc-ink);
  line-height: 1;
  letter-spacing: -.04em
}

.sx-ol h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 8px
}

.sx-ol p {
  color: var(--muted);
  font-weight: 300
}

.sx-tip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px 28px;
  background: var(--bg2);
  border-left: 2px solid var(--acc)
}

.sx-tip b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px
}

.sx-tip p {
  color: var(--muted);
  font-weight: 300
}

.sx-tip .sx-lbl {
  color: var(--acc-ink);
  padding-top: 3px
}

.sx-tw {
  overflow-x: auto
}

.sx-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px
}

.sx-tbl th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px 16px 0;
  border-bottom: 1px solid var(--ink)
}

.sx-tbl td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 300
}

.sx-tbl td:first-child {
  font-weight: 500
}

.sx-tbl tr.sx-hl td {
  background: rgba(255, 149, 0, .07)
}

.sx-tbl tr.sx-hl td:first-child {
  box-shadow: inset 2px 0 0 var(--acc);
  padding-left: 12px
}

.sx-tbl a {
  color: var(--acc-ink);
  border-bottom: 1px solid currentColor
}

.sx-inl {
  margin-top: 72px;
  padding: 40px;
  background: var(--hero);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center
}

.sx-inl h3 {
  font-size: 30px
}

.sx-inl p {
  color: var(--hero-muted);
  font-weight: 300;
  margin-top: 8px;
  max-width: 44ch
}

.sx-rel {
  border-top: 1px solid var(--line)
}

.sx-rel a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px
}

.sx-rel a .sx-arr,
.sx-rel a:hover {
  color: var(--acc-ink)
}

.sx-side {
  position: sticky;
  top: 110px;
  align-self: start
}

.sx-sc {
  background: var(--hero);
  color: var(--hero-ink);
  padding: 34px 32px;
  position: relative;
  overflow: hidden
}

.sx-sc:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 149, 0, .35), transparent 70%);
  pointer-events: none
}

.sx-sc h3 {
  font-size: 28px;
  margin: 14px 0 10px
}

.sx-sc p {
  color: var(--hero-muted);
  font-weight: 300;
  font-size: 14px
}

.sx-sc .sx-pr {
  color: #fff;
  margin: 28px 0 24px
}

.sx-sc .sx-pr small {
  color: #8b8b93
}

.sx-sc .sx-btn {
  width: 100%
}

.sx-mini {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hero-line);
  font-size: 13px;
  color: var(--hero-muted);
  display: grid;
  gap: 4px
}

.sx-mini b {
  color: #fff;
  font-weight: 500
}

/* hubs */
.sx-search {
  margin-top: 40px;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 14px
}

.sx-search input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  font: 300 clamp(20px, 1.6vw, 26px)/1.2 Montserrat, sans-serif;
  letter-spacing: -.01em
}

.sx-search input::placeholder {
  color: #6f6f78
}

.sx-search:focus-within {
  border-color: var(--acc)
}

.sx-fr {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.sx-fbar {
  position: sticky;
  top: 64px;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line)
}

.sx-fbar .sx-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  overflow-x: auto
}

.sx-fbar label {
  cursor: pointer;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  white-space: nowrap
}

#sx-f-all:checked~.sx-fbar label[for=sx-f-all],
#sx-f-tv:checked~.sx-fbar label[for=sx-f-tv],
#sx-f-stb:checked~.sx-fbar label[for=sx-f-stb],
#sx-f-ac:checked~.sx-fbar label[for=sx-f-ac] {
  color: var(--ink);
  border-color: var(--acc)
}

#sx-f-tv:checked~.sx-groups .sx-grp:not([data-g=tv]),
#sx-f-stb:checked~.sx-groups .sx-grp:not([data-g=stb]),
#sx-f-ac:checked~.sx-groups .sx-grp:not([data-g=ac]) {
  display: none
}

.sx-fr:focus-visible~.sx-fbar {
  outline: 2px solid var(--acc)
}

.sx-grp {
  padding-top: 72px
}

.sx-grp h2 {
  font-size: clamp(24px, 1.9vw, 34px);
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px
}

.sx-grp h2 small {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 500
}

.sx-bg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.sx-bt {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s
}

.sx-bt:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--acc);
  transition: width .45s;
  z-index: 2
}

.sx-bt:hover:before {
  width: 100%
}

.sx-stage {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate
}

.sx-stage:after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 149, 0, .13), rgba(255, 149, 0, .06) 40%, transparent);
  filter: blur(28px);
  transition: opacity .6s
}

.sx-bt:hover .sx-stage:after {
  opacity: 1
}

.sx-stage .sx-logo {
  height: 34px;
  max-width: 150px;
  opacity: .92;
  transition: transform .45s, opacity .3s
}

.sx-stage .sx-logo img {
  margin: 0 auto
}

.sx-stage .sx-wm {
  font-size: 22px;
  letter-spacing: .06em;
  transition: transform .45s
}

.sx-bt:hover .sx-logo,
.sx-bt:hover .sx-wm {
  transform: scale(1.05);
  opacity: 1
}

.sx-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 22px 18px;
  border-top: 1px solid var(--line)
}

.sx-tx {
  min-width: 0;
  display: block
}

.sx-nm {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sx-ds {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 300
}

.sx-pc {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  color: var(--acc-ink)
}

.sx-pc small {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px
}

.sx-pc b {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1
}

.sx-pc i {
  font-style: normal;
  font-size: 15px;
  font-weight: 300
}

.sx-hot {
  position: absolute;
  left: 18px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted)
}

.sx-hot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc)
}

.sx-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300
}

.sx-empty[hidden] {
  display: none
}

.sx-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.sx-tiles a {
  background: var(--card);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  min-height: 150px;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.25;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s
}

.sx-tiles a small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .05em;
  margin-top: 8px
}

.sx-tiles a i {
  font-style: normal;
  color: var(--acc-ink)
}

.sx-tiles a:hover {
  background: var(--bg2)
}

/* responsive */
@media(max-width:1280px) {
  .sx-art {
    grid-template-columns: minmax(0, 1fr) 300px
  }

  .sx-toc {
    display: none
  }
}

@media(max-width:1000px) {
  .sx-hero {
    display: flex;
    flex-direction: column
  }

  .sx-hero-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    inset: auto;
    order: 2
  }

  .sx-hero-img:after {
    background: linear-gradient(0deg, var(--hero) 0%, rgba(13, 13, 15, 0) 45%)
  }

  .sx-hero-in,
  .sx-hero.sx-sm .sx-hero-in {
    min-height: 0;
    order: 1
  }

  .sx-hero-main {
    max-width: none;
    padding: 24px 0 36px;
    margin: 0
  }

  .sx-stats {
    grid-template-columns: 1fr 1fr
  }

  .sx-stats div:nth-child(2) {
    border-right: 0
  }

  .sx-stats div:nth-child(3) {
    padding-left: 0
  }

  .sx-stats div:nth-child(n+3) {
    border-top: 1px solid var(--hero-line)
  }

  .sx-types,
  .sx-steps,
  .sx-links,
  .sx-shop,
  .sx-faqg,
  .sx-probs {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-faqg .sx-l {
    position: static
  }

  .sx-lgs {
    grid-template-columns: repeat(3, 1fr)
  }

  .sx-tiles {
    grid-template-columns: 1fr 1fr
  }

  .sx-art {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-side {
    position: static
  }

  .sx-tc {
    min-height: 0
  }

  .sx-tc h3 {
    margin-top: 28px
  }
}

@media(max-width:560px) {
  .sx-btn {
    width: 100%
  }

  .sx-cta {
    flex-direction: column
  }

  .sx .seo-short p {
    font-size: 16px
  }

  .sx-ol>div {
    grid-template-columns: 56px 1fr
  }

  .sx-ol>div:before {
    font-size: 30px
  }

  .sx-kv {
    grid-template-columns: 1fr
  }

  .sx-kv dt {
    padding-bottom: 0;
    border: 0
  }

  .sx-tiles {
    grid-template-columns: 1fr
  }

  .sx-lgs,
  .sx-bg {
    grid-template-columns: repeat(2, 1fr)
  }

  .sx-stage {
    height: 110px
  }

  .sx-hot {
    left: 12px;
    top: 10px
  }

  .sx-meta {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px 14px;
    gap: 8px
  }

  .sx-stage .sx-logo {
    transform: scale(.8)
  }

  .sx-bt:hover .sx-stage .sx-logo {
    transform: scale(.84)
  }

  .sx-stage .sx-wm {
    font-size: 17px
  }

  .sx-stage .sx-wm {
    white-space: normal;
    text-align: center;
    line-height: 1.12;
    padding: 0 10px;
    font-size: clamp(13px, 4.2vw, 17px);
    overflow-wrap: anywhere
  }

  .sx-meta>.sx-tx {
    max-width: 100%;
    min-width: 0
  }

  .sx-nm {
    letter-spacing: .12em
  }

  .sx-rtiles a {
    min-height: 0
  }

  .sx-inl {
    padding: 28px
  }

  .sx-stats div {
    padding: 18px 14px 20px 0
  }

  .sx-stats div+div {
    padding-left: 14px
  }

  .sx-stats div:nth-child(3) {
    padding-left: 0
  }

  .sx-fbar {
    top: 56px
  }
}

@media (prefers-reduced-motion:reduce) {
  .sx * {
    transition: none !important
  }
}

.sx [hidden] {
  display: none !important
}

.sx h2::before {
  display: none;
  content: none;
}

.sx img.seo-img-dark {
  display: none
}

html.dark .sx img.seo-img-dark,
body.dark .sx img.seo-img-dark,
.dark .sx img.seo-img-dark {
  display: block
}

html.dark .sx img.seo-img-light,
body.dark .sx img.seo-img-light,
.dark .sx img.seo-img-light {
  display: none
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) .sx img.seo-img-dark {
    display: block
  }

  :root:not(.light) .sx img.seo-img-light {
    display: none
  }
}

/* Theme toggle in SEO header (default theme: dark) */
.seo-head-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.seo-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--seo-line);
  background: var(--seo-card-bg);
  color: var(--seo-ink);
  cursor: pointer;
  transition: border-color .2s, color .2s
}

.seo-theme:hover {
  border-color: var(--seo-accent);
  color: var(--seo-accent)
}

.seo-theme .seo-ico-sun {
  display: none
}

html.dark .seo-theme .seo-ico-sun {
  display: block
}

html.dark .seo-theme .seo-ico-moon {
  display: none
}

/* ===== Header = original site Navbar (Navbar.tsx) ===== */
.seo-shell {
  --nav-surface: #fff;
  --nav-ink: #1a1a1a;
  --nav-muted: #64748b;
  --nav-accent: #1d4ed8;
  --nav-btn: #1d4ed8;
  --nav-btn-ink: #fff;
  --nav-chip: #e2e8f0
}

html.dark .seo-shell,
.dark .seo-shell {
  --nav-surface: #131315;
  --nav-ink: #e4e2e4;
  --nav-muted: #a1a1aa;
  --nav-accent: #ff9500;
  --nav-btn: #ff9500;
  --nav-btn-ink: #643700;
  --nav-chip: #2a2a2c
}

.seo-shell .seo-header {
  height: 64px;
  padding: 0 32px;
  gap: 24px;
  max-width: 1920px;
  margin: 0 auto;
  flex-wrap: nowrap;
  background: color-mix(in srgb, var(--nav-surface) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--nav-muted) 12%, transparent);
  font-family: Montserrat, system-ui, sans-serif
}

.seo-shell .seo-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: fit-content;
  text-transform: none;
  letter-spacing: normal
}

.seo-shell .seo-brand span {
  color: var(--nav-ink);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.025em
}

.seo-shell .seo-brand small {
  color: var(--nav-accent);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px
}

.seo-shell .seo-nav {
  display: flex;
  gap: 32px;
  align-items: center
}

.seo-shell .seo-nav a {
  font-weight: 300;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--nav-muted)
}

.seo-shell .seo-nav a:hover {
  color: var(--nav-ink)
}

.seo-shell .seo-nav a[aria-current] {
  color: var(--nav-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--nav-accent) 50%, transparent);
  padding-bottom: 4px
}

.seo-shell .seo-head-actions {
  gap: 24px
}

.seo-shell .seo-theme {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--nav-chip);
  color: var(--nav-ink)
}

.seo-shell .seo-theme:hover {
  opacity: .8;
  color: var(--nav-ink)
}

.seo-shell .seo-ico-sun {
  display: none
}

.seo-shell .seo-ico-moon {
  display: block
}

html.dark .seo-shell .seo-ico-sun {
  display: block
}

html.dark .seo-shell .seo-ico-moon {
  display: none
}

.seo-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--nav-btn);
  color: var(--nav-btn-ink);
  border: 0;
  padding: 8px 24px;
  font: 700 10px/1.5 Montserrat, system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s
}

.seo-contact:hover {
  background: color-mix(in srgb, var(--nav-btn) 90%, transparent)
}

.seo-mmenu {
  display: none;
  position: relative
}

.seo-mmenu summary {
  list-style: none;
  cursor: pointer;
  color: var(--nav-ink);
  display: flex
}

.seo-mmenu summary::-webkit-details-marker {
  display: none
}

.seo-mmenu-panel {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 240px;
  background: var(--nav-surface);
  border: 1px solid color-mix(in srgb, var(--nav-muted) 25%, transparent);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25)
}

.seo-mmenu-panel a,
.seo-mmenu-panel button {
  padding: 11px 20px;
  font: 300 13px/1.3 Montserrat, system-ui, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--nav-ink);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer
}

.seo-mmenu-panel button {
  color: var(--nav-accent);
  font-weight: 700
}

@media (max-width:767px) {
  .seo-shell .seo-header {
    padding: 0 20px;
    flex-wrap: nowrap
  }

  .seo-shell .seo-nav,
  .seo-contact {
    display: none
  }

  .seo-mmenu {
    display: block
  }

  .seo-shell .seo-head-actions {
    gap: 16px
  }
}

.sx-probs>div:last-child:nth-child(odd) {
  grid-column: 1/-1
}

/* Stage 4: товарный раздел — сравнение */
.sx-cmp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.sx-cc {
  background: var(--card);
  padding: clamp(28px, 3vw, 52px);
  position: relative;
  transition: background .3s
}

.sx-cc:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--acc);
  transition: width .5s
}

.sx-cc:hover:before {
  width: 100%
}

.sx-cc h3 {
  font-size: clamp(26px, 2.2vw, 40px);
  margin: 28px 0 10px;
  font-weight: 200;
  letter-spacing: -.03em;
  line-height: 1.1
}

.sx-coins .sx-cc h3 {
  font-size: clamp(34px, 3vw, 54px);
  margin-top: 24px;
  letter-spacing: -.04em
}

.sx-mm {
  font-size: 15px;
  color: var(--ink2, var(--ink))
}

.sx-mm b {
  font-weight: 600
}

.sx-cc p {
  color: var(--muted);
  font-weight: 300;
  font-size: 15px;
  margin-top: 12px;
  max-width: 40ch
}

.sx-coinv {
  height: 150px;
  display: flex;
  align-items: center
}

.sx-coin {
  position: relative;
  width: 150px;
  margin-top: 30px;
  border-radius: 75px/30px;
  background: linear-gradient(180deg, #e6e8eb 0%, #a9aeb6 100%);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .35)
}

.sx-coin:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, #fbfbfc, #c2c6cc 60%, #9aa0a8);
  transform: translateY(-50%)
}

@media(max-width:1000px) {
  .sx-cmp {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-coinv {
    height: 120px
  }
}

@media(min-width:1001px) {
  .sx-tiles.sx-tn2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .sx-tiles.sx-tn4 {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* ---------- «Справочник» (reference tables) ---------- */
.sx-sec.sx-pb0 {
  padding-bottom: 0
}

.sx-ref .sx-search {
  margin-top: 32px
}

.sx-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.sx-jump a {
  font-size: 12px;
  letter-spacing: .08em;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--hero-ink);
  transition: border-color .2s, color .2s
}

.sx-jump a:hover {
  border-color: var(--acc);
  color: var(--acc)
}

.sx-ref-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start
}

.sx-ref-lead .seo-short {
  max-width: none;
  margin: 0
}

.sx .sx-ref-intro p {
  color: var(--ink2);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75
}

.sx .sx-ref-intro p+p {
  margin-top: 18px
}

.sx .sx-ref-p {
  max-width: 860px;
  color: var(--muted);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  margin: -8px 0 40px
}

.sx-ref .sx-sh .sx-cta {
  margin: 0;
  flex-wrap: wrap;
  gap: 10px
}

.sx-rt {
  font-variant-numeric: tabular-nums
}

.sx-rt td {
  padding: 16px 20px 16px 0
}

.sx-rt td:first-child {
  white-space: nowrap
}

.sx-ref tr[hidden],
.sx-ref [data-ref-sec][hidden] {
  display: none
}

.sx-ref .sx-tip {
  margin-top: 0
}

.sx-rtiles a {
  min-height: 210px;
  align-items: flex-end
}

.sx-rtiles a em {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 14px;
  font-weight: 300
}

@media(max-width:1000px) {
  .sx-ref-lead {
    grid-template-columns: 1fr
  }
}

@media(max-width:700px) {
  .sx-rt thead {
    display: none
  }

  .sx-rt,
  .sx-rt tbody,
  .sx-rt tr,
  .sx-rt td {
    display: block;
    width: 100%
  }

  .sx-rt tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
  }

  .sx-rt tr[hidden] {
    display: none
  }

  .sx-rt td {
    border: 0;
    padding: 3px 0;
    white-space: normal
  }

  .sx-rt td:first-child {
    white-space: normal;
    font-size: 17px;
    padding-bottom: 6px
  }

  .sx-rt td[data-th]::before {
    content: attr(data-th) ": ";
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em
  }

  .sx-tbl.sx-rt tr.sx-hl td:first-child {
    box-shadow: none;
    padding-left: 0
  }

  .sx-rt tr.sx-hl {
    box-shadow: inset 2px 0 0 var(--acc);
    padding-left: 12px;
    background: rgba(255, 149, 0, .07)
  }

  .sx-rt tr.sx-hl td {
    background: none
  }

  /* Строка таблицы = карточка: название сверху, характеристики парами в две колонки */
  .sx-rt tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 12px;
    padding: 18px 0
  }

  .sx-rt td {
    width: auto;
    min-width: 0;
    overflow-wrap: anywhere
  }

  .sx-rt td:first-child {
    grid-column: 1/-1;
    padding-bottom: 0
  }

  .sx-rt td[data-th]::before {
    content: attr(data-th);
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 3px;
    line-height: 1.35
  }

  .sx-rt tr.sx-hl {
    padding: 16px 14px;
    border-radius: 14px;
    border-bottom-color: transparent
  }

  .sx-gt tr {
    grid-template-columns: 1fr
  }
}

@media(max-width:700px) {
  .sx-ban:after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .74) 55%, rgba(0, 0, 0, .62) 100%)
  }

  .sx-ban p {
    color: #e2e2e8
  }
}

.sx-prose p+.sx-rel {
  margin-top: 32px
}

/* ===== Поиск по сайту (SiteSearch.tsx) ===== */
:root {
  --ss-bg: #fff;
  --ss-ink: #1a1a1a;
  --ss-muted: #64748b;
  --ss-line: #e2e8f0;
  --ss-chip: #f1f5f9;
  --ss-acc: #1d4ed8;
  --ss-acc-ink: #fff;
  --ss-mark: rgba(29, 78, 216, .12);
  --ss-hover: #f5f7fb;
  --ss-shadow: 0 30px 80px -20px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06)
}

html.dark {
  --ss-bg: #18181a;
  --ss-ink: #e4e2e4;
  --ss-muted: #a1a1aa;
  --ss-line: #2a2a2c;
  --ss-chip: #232326;
  --ss-acc: #ff9500;
  --ss-acc-ink: #1a1206;
  --ss-mark: rgba(255, 149, 0, .2);
  --ss-hover: #202023;
  --ss-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06)
}

.ss-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  width: 220px;
  padding: 0 8px 0 14px;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--ss-muted) 28%, transparent);
  background: color-mix(in srgb, var(--ss-chip) 70%, transparent);
  color: var(--ss-muted);
  font: 300 12.5px/1 Montserrat, system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: text;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px)
}

.ss-trigger:hover {
  border-color: color-mix(in srgb, var(--ss-acc) 55%, transparent);
  color: var(--ss-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ss-acc) 10%, transparent)
}

.ss-trigger:focus-visible {
  outline: 2px solid var(--ss-acc);
  outline-offset: 2px
}

.ss-trigger svg {
  flex: none
}

.ss-trigger-t {
  flex: 1;
  text-align: left;
  white-space: nowrap
}

.ss-trigger kbd {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--ss-muted) 30%, transparent);
  font: 500 11px/1 Montserrat, system-ui, sans-serif;
  color: var(--ss-muted)
}

@media (max-width:1180px) {
  .ss-trigger {
    width: 170px
  }
}

@media (max-width:1023px) {
  .ss-trigger {
    width: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 9999px
  }

  .ss-trigger-t,
  .ss-trigger kbd {
    display: none
  }
}

@media (max-width:767px) {
  .ss-trigger {
    width: 32px;
    height: 32px;
    border: 0;
    background: var(--nav-chip, var(--ss-chip));
    color: var(--ss-ink)
  }
}

/* ===== Поиск по сайту — окно (SiteSearch.tsx), в стилистике sx-страниц ===== */
.sr {
  --sr-bg: #fff;
  --sr-bg2: #f5f6f8;
  --sr-card: #fff;
  --sr-ink: #111214;
  --sr-ink2: #2b2d33;
  --sr-muted: #626875;
  --sr-line: #e5e7eb;
  --sr-line2: #d5d8de;
  --sr-acc: #ff9500;
  --sr-acc-ink: #b86200;
  --sr-on-acc: #1a1206
}

html.dark .sr {
  --sr-bg: #131315;
  --sr-bg2: #19191c;
  --sr-card: #17171a;
  --sr-ink: #ecebee;
  --sr-ink2: #d4d3d7;
  --sr-muted: #a1a1aa;
  --sr-line: #26262a;
  --sr-line2: #33333a;
  --sr-acc-ink: #ffbd7f
}

.sr {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 36px);
  background: rgba(6, 6, 8, .75);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  animation: sr-fade .2s ease-out;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--sr-ink);
  overflow-y: auto
}

html.dark .sr {
  background: rgba(0, 0, 0, .84)
}

.sr * {
  box-sizing: border-box
}

.sr button {
  font-family: inherit
}

.sr-sheet {
  position: relative;
  background: var(--sr-bg);
  width: 100%;
  max-width: 980px;
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--sr-line);
  box-shadow: 0 35px 100px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  animation: sr-modal-in .25s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
  margin: auto
}

html.dark .sr-sheet {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08)
}

.sr-sheet:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--sr-acc);
  z-index: 10;
  transform-origin: left;
  animation: sr-bar .5s cubic-bezier(.16, 1, .3, 1)
}

@keyframes sr-fade {
  from {
    opacity: 0
  }
}

@keyframes sr-modal-in {
  from {
    opacity: 0;
    transform: scale(.97) translateY(-14px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes sr-bar {
  from {
    transform: scaleX(0)
  }
}

.sr-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 40px)
}

.sr-sheet>.sr-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column
}

.sr-head {
  height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--sr-line)
}

.sr-lbl {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sr-acc-ink)
}

.sr-lbl i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sr-acc)
}

.sr-meta {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sr-muted);
  white-space: nowrap
}

.sr-meta b {
  font-weight: 500;
  color: var(--sr-ink)
}

.sr-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 0 0 22px;
  border: 0;
  border-left: 1px solid var(--sr-line);
  background: none;
  color: var(--sr-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s
}

.sr-close:hover {
  color: var(--sr-acc-ink)
}

.sr-close svg {
  transition: transform .3s
}

.sr-close:hover svg {
  transform: rotate(90deg)
}

.sr-field {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 0 24px;
  cursor: text
}

.sr-field-ico {
  flex: none;
  color: var(--sr-muted);
  transition: color .2s
}

.sr-field:focus-within .sr-field-ico {
  color: var(--sr-acc)
}

.sr-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  padding: 0;
  color: var(--sr-ink);
  font: 200 clamp(32px, 3.6vw, 54px)/1.1 Montserrat, system-ui, sans-serif;
  letter-spacing: -.035em;
  -webkit-appearance: none;
  appearance: none;
  caret-color: var(--sr-acc)
}

.sr-field input::placeholder {
  color: var(--sr-muted);
  opacity: .45
}

.sr-field input::-webkit-search-cancel-button {
  display: none
}

.sr-clear {
  flex: none;
  border: 0;
  background: none;
  color: var(--sr-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0
}

.sr-clear:hover {
  color: var(--sr-acc-ink)
}

.sr-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sr-line)
}

.sr-line:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--sr-acc);
  transition: width .6s cubic-bezier(.16, 1, .3, 1)
}

.sr-field:focus-within .sr-line:after {
  width: 100%
}

.sr-note {
  flex: none;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 300;
  color: var(--sr-muted)
}

.sr-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sr-muted)
}

.sr-cap span {
  letter-spacing: .1em;
  color: var(--sr-muted);
  font-weight: 400
}

.sr-cap.sr-acc {
  color: var(--sr-acc-ink);
  justify-content: flex-start
}

.sr-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--sr-muted);
  font-variant-numeric: tabular-nums
}

/* Стартовый экран */
.sr-start {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 4.5vw, 72px);
  padding: 36px 0 44px;
  overflow-y: auto
}

.sr-start .sr-cap {
  margin-bottom: 12px
}

.sr-recent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px
}

.sr-recent .sr-cap {
  width: 100%;
  margin-bottom: 6px
}

.sr-recent button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--sr-line2);
  background: none;
  color: var(--sr-ink2);
  font-size: 12.5px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color .2s, color .2s
}

.sr-recent button:hover {
  border-color: var(--sr-acc);
  color: var(--sr-acc-ink)
}

.sr-pop {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sr-line)
}

.sr-pop button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--sr-line);
  background: none;
  color: var(--sr-ink);
  text-align: left;
  cursor: pointer
}

.sr-pop-t {
  flex: 1;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: -.02em;
  transition: color .2s, transform .35s cubic-bezier(.16, 1, .3, 1)
}

.sr-pop svg {
  color: var(--sr-muted);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), color .2s
}

.sr-pop button:hover .sr-pop-t {
  color: var(--sr-acc-ink);
  transform: translateX(6px)
}

.sr-pop button:hover svg {
  color: var(--sr-acc);
  transform: translateX(4px)
}

.sr-secs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--sr-line);
  border: 1px solid var(--sr-line)
}

.sr-secs a {
  position: relative;
  grid-column: span 2;
  height: 164px;
  overflow: hidden;
  background: #0d0d0f;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px
}

.sr-secs a:nth-child(-n+2) {
  grid-column: span 3;
  height: 184px
}

.sr-secs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .4s
}

.sr-secs a:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .72) 100%)
}

.sr-secs a>*:not(img) {
  position: relative;
  z-index: 1
}

.sr-secs .sr-num {
  color: rgba(255, 255, 255, .7)
}

.sr-secs b {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.01em
}

.sr-secs svg {
  position: absolute !important;
  right: 18px;
  top: 16px;
  color: rgba(255, 255, 255, .75);
  transition: transform .35s, color .2s
}

.sr-secs a:hover img {
  transform: scale(1.06);
  opacity: .75
}

.sr-secs a:hover svg {
  color: var(--sr-acc);
  transform: translate(3px, -3px)
}

/* Результаты */
.sr-res {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 3.5vw, 56px);
  padding: 28px 0 32px;
  min-height: 0
}

.sr-list {
  max-height: calc(92vh - 64px - 106px - 48px - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin
}

.sr-grp+.sr-grp {
  margin-top: 28px
}

.sr-grp>.sr-cap {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sr-line)
}

.sr-hit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 5px;
  padding: 15px 44px 15px 20px;
  border-bottom: 1px solid var(--sr-line);
  color: var(--sr-ink);
  text-decoration: none;
  scroll-margin: 12px;
  transition: background .2s
}

.sr-hit:before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--sr-acc);
  transform: scaleY(0);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1)
}

.sr-hit[data-active=true] {
  background: var(--sr-bg2)
}

.sr-hit[data-active=true]:before {
  transform: scaleY(1)
}

.sr-hit-t {
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.01em
}

.sr-hit-s {
  grid-column: 1;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sr-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sr-hit-a {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  color: var(--sr-acc);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .3s
}

.sr-hit[data-active=true] .sr-hit-a {
  opacity: 1;
  transform: none
}

.sr mark {
  background: none;
  color: var(--sr-acc-ink);
  font-weight: inherit
}

.sr-hit-t mark,
.sr-prev h3 mark {
  color: var(--sr-acc)
}

html:not(.dark) .sr-hit-t mark,
html:not(.dark) .sr-prev h3 mark {
  color: var(--sr-acc-ink)
}

.sr-price {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 300;
  color: var(--sr-ink2)
}

.sr-price small {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sr-muted);
  margin-right: 6px
}

.sr-price em {
  font-style: normal;
  color: var(--sr-acc-ink);
  font-size: 16px;
  font-weight: 400;
  margin-right: 3px
}

html.dark .sr-price em {
  color: var(--sr-acc)
}

.sr-more {
  width: 100%;
  height: 46px;
  border: 0;
  border-bottom: 1px solid var(--sr-line);
  background: none;
  color: var(--sr-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  padding: 0 20px
}

.sr-more:hover {
  color: var(--sr-acc-ink)
}

/* Превью активного результата */
.sr-prev {
  align-self: start;
  border: 1px solid var(--sr-line);
  background: var(--sr-card);
  animation: sr-fade .25s
}

.sr-prev-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0d0f
}

.sr-prev-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: sr-zoom .7s cubic-bezier(.16, 1, .3, 1)
}

@keyframes sr-zoom {
  from {
    opacity: .3;
    transform: scale(1.05)
  }
}

.sr-prev-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .65))
}

.sr-prev-img .sr-prev-logo {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  width: auto;
  height: 26px;
  max-width: 140px;
  object-fit: contain;
  animation: none
}

.sr-prev-in {
  padding: 26px 28px 28px
}

.sr-prev h3 {
  margin: 14px 0 12px;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 200;
  line-height: 1.18;
  letter-spacing: -.025em
}

.sr-prev p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--sr-muted)
}

.sr-prev p mark {
  color: var(--sr-ink);
  font-weight: 500
}

.sr-prev-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sr-line)
}

.sr-prev-price .sr-cap {
  margin-bottom: 6px
}

.sr-prev-price .sr-price em {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: -.03em
}

.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  background: var(--sr-acc);
  color: var(--sr-on-acc);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s
}

.sr-btn:hover {
  background: #ffa524
}

.sr-btn-o {
  background: none;
  border-color: var(--sr-line2);
  color: var(--sr-ink);
  letter-spacing: .08em
}

.sr-btn-o:hover {
  background: none;
  border-color: var(--sr-acc);
  color: var(--sr-acc-ink)
}

/* Пусто */
.sr-none {
  padding: 44px 0 52px;
  max-width: 760px
}

.sr-none h3 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -.03em;
  word-break: break-word
}

.sr-none p {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--sr-muted)
}

.sr-none-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.sr-try {
  margin: 36px 0 0
}

/* Подвал окна */
.sr-foot {
  flex: none;
  border-top: 1px solid var(--sr-line);
  background: var(--sr-bg)
}

.sr-foot .sr-wrap {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sr-muted)
}

.sr-foot kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-right: 6px;
  border: 1px solid var(--sr-line2);
  font: 500 10px/1 Montserrat, system-ui, sans-serif;
  letter-spacing: 0;
  color: var(--sr-ink2)
}

.sr-foot-r {
  margin-left: auto
}

.sr-foot-r button {
  border: 0;
  background: none;
  padding: 0;
  margin-left: 6px;
  color: var(--sr-acc-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid currentColor
}

html.dark .sr-foot-r button {
  color: var(--sr-acc)
}

@media (max-width:1023px) {
  .sr-res {
    grid-template-columns: minmax(0, 1fr)
  }

  .sr-prev {
    display: none
  }

  .sr-start {
    grid-template-columns: minmax(0, 1fr)
  }

  .sr-hit {
    padding-right: 40px
  }
}

@media (max-width:767px) {
  .sr {
    background: var(--sr-bg)
  }

  .sr-sheet {
    max-height: none;
    height: 100%;
    overflow-y: auto;
    box-shadow: none;
    animation: sr-fade .2s
  }

  .sr-sheet>.sr-wrap {
    flex: none;
    display: block
  }

  .sr-head {
    height: 56px;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--sr-bg)
  }

  .sr-meta {
    display: none
  }

  .sr-close {
    margin-left: auto;
    padding-left: 16px
  }

  .sr-close span {
    display: none
  }

  .sr-field {
    gap: 14px;
    padding: 20px 0 18px;
    position: sticky;
    top: 56px;
    z-index: 2;
    background: var(--sr-bg)
  }

  .sr-field-ico {
    width: 24px;
    height: 24px
  }

  .sr-field input {
    font-size: 28px
  }

  .sr-start {
    padding: 26px 0 36px;
    gap: 34px;
    overflow: visible
  }

  .sr-pop-t {
    font-size: 18px
  }

  .sr-secs {
    grid-template-columns: 1fr 1fr
  }

  .sr-secs a,
  .sr-secs a:nth-child(-n+2) {
    grid-column: span 1;
    height: 118px;
    padding: 14px 16px
  }

  .sr-secs a:first-child {
    grid-column: span 2
  }

  .sr-secs b {
    font-size: 15px
  }

  .sr-res {
    padding: 18px 0 30px
  }

  .sr-list {
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0
  }

  .sr-hit {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 30px 14px 16px
  }

  .sr-hit .sr-price {
    grid-row: 3
  }

  .sr-hit-a {
    right: 8px
  }

  .sr-foot {
    display: none
  }

  .sr-none {
    padding: 30px 0 40px
  }
}

@media (prefers-reduced-motion:reduce) {

  .sr,
  .sr-sheet,
  .sr-sheet:before,
  .sr-prev,
  .sr-prev-img img {
    animation: none
  }
}

.seo-shell .seo-brand span {
  white-space: nowrap
}

.seo-shell .seo-nav a {
  white-space: nowrap
}

@media (min-width:768px) and (max-width:1100px) {
  .seo-shell .seo-nav {
    gap: 20px
  }

  .seo-shell .seo-head-actions {
    gap: 14px
  }

  .seo-shell .seo-header {
    padding: 0 24px;
    gap: 16px
  }

  .seo-contact {
    padding: 8px 16px
  }
}

@media (max-width:767px) {
  .seo-shell .seo-head-actions {
    gap: 12px
  }
}

@media (max-width:359px) {
  .seo-shell .seo-brand span {
    font-size: 20px
  }
}

@media (min-width:768px) and (max-width:959px) {
  .ss-contact-t {
    display: none
  }

  .ss-contact {
    padding-left: 12px !important;
    padding-right: 12px !important
  }
}

@media (min-width:768px) and (max-width:959px) {
  .seo-shell .seo-nav {
    flex-wrap: nowrap;
    gap: 14px
  }

  .seo-shell .seo-nav a,
  .ss-navlinks a {
    font-size: 12px !important;
    letter-spacing: .03em !important
  }

  .ss-navlinks {
    gap: 14px !important
  }

  .seo-shell .seo-head-actions {
    gap: 10px
  }
}

.sr-prev {
  max-height: calc(92vh - 64px - 106px - 48px - 60px);
  overflow-y: auto;
  scrollbar-width: none
}

.sr-prev-img {
  aspect-ratio: auto;
  height: min(26vh, 240px)
}

.sr-prev h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.sr-prev p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.sr-none-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center
}

.sr-store {
  border: 1px solid var(--sr-line);
  background: var(--sr-card)
}

.sr-store img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover
}

.sr-store div {
  padding: 22px 24px 24px
}

.sr-store b {
  display: block;
  margin: 12px 0 6px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4
}

.sr-store p {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sr-muted)
}

@media (max-width:1023px) {
  .sr-none-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .sr-store {
    display: none
  }
}

.sr-store-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sr-acc-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px
}

html.dark .sr-store-map {
  color: var(--sr-acc)
}

.sr-prev {
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.sr-prev-img {
  flex: 1 1 240px;
  height: auto;
  min-height: 84px;
  max-height: 240px
}

.sr-prev-img img {
  position: absolute;
  inset: 0
}

.sr-prev-in {
  flex: none
}

.sr-prev-img img.sr-prev-logo {
  inset: auto;
  left: 24px;
  bottom: 18px
}

@media (max-height:820px) {
  .sr-prev-in {
    padding: 20px 24px 22px
  }

  .sr-prev h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    -webkit-line-clamp: 2
  }

  .sr-prev p {
    -webkit-line-clamp: 3;
    font-size: 13px;
    line-height: 1.6
  }

  .sr-prev-foot {
    margin-top: 16px;
    padding-top: 14px
  }

  .sr-prev-price .sr-price em {
    font-size: 24px
  }

  .sr-btn {
    height: 44px
  }

  .sr-field {
    padding: 18px 0 16px
  }

  .sr-field input {
    font-size: 40px
  }
}

@media (max-height:640px) and (min-width:768px) {
  .sr-prev {
    display: none
  }

  .sr-res {
    grid-template-columns: minmax(0, 1fr)
  }
}

.sx .sx-prose p+p {
  margin-top: 1.1em
}

/* Хаб советов: липкая навигация по темам (особенно важна на телефоне — 40+ статей) */
.sx-anav a {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s
}

.sx-anav a small {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--acc-ink)
}

.sx-anav a:hover,
.sx-anav a:focus-visible {
  color: var(--ink);
  border-color: var(--acc)
}

.sx-grp {
  scroll-margin-top: 150px
}

@media(max-width:700px) {
  .sx-anav .sx-wrap {
    height: 56px;
    scrollbar-width: none
  }

  .sx-anav .sx-wrap::-webkit-scrollbar {
    display: none
  }

  .sx-anav a {
    padding: 10px 12px;
    letter-spacing: .1em
  }

  .sx-grp {
    scroll-margin-top: 124px
  }
}

@media(max-width:700px) {
  .sx-tiles a {
    min-height: 0;
    padding: 20px 20px 18px;
    font-size: 18px;
    align-items: center
  }

  .sx-tiles a i {
    font-size: 18px
  }
}

@media(max-width:700px) {
  .sx-anav .sx-wrap {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
    padding-right: 40px
  }
}

/* Own photos on category / service pages: one picture for both themes, 3:2 */
.seo-split-media.seo-photo {
  aspect-ratio: 3 / 2;
  background: #1e1e21;
}

.seo-split-media.seo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .seo-split-media.seo-photo {
    max-height: none;
  }
}

/* ===== Stage 3: каталог, разделы, услуги, о магазине, новости/акции (sx) ===== */
.sx-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px)
}

.sx-cards.sx-c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.sx-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s
}

.sx-card:hover {
  border-color: var(--acc);
  transform: translateY(-2px)
}

.sx-card-img {
  position: relative;
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #1e1e21
}

.sx-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.sx-card:hover .sx-card-img img {
  transform: scale(1.04)
}

.sx-card-img .sx-hot {
  position: absolute;
  top: 14px;
  left: 14px
}

.sx-card-b {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 1.8vw, 28px)
}

.sx-card-t {
  font-size: clamp(19px, 1.35vw, 23px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink)
}

.sx-card-d {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.sx-card-f {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 22px
}

.sx-card-b .sx-card-f {
  margin-top: auto
}

.sx-card-b .sx-card-d+.sx-card-f,
.sx-card-b .sx-card-t+.sx-card-f {
  margin-top: 22px
}

.sx-card-p {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink)
}

.sx-card-p small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase
}

.sx-card-p b {
  font-size: 22px;
  font-weight: 400;
  color: var(--acc-ink)
}

.sx-card-p i {
  font-style: normal;
  color: var(--muted)
}

.sx-card .sx-go {
  color: var(--acc);
  font-size: 18px;
  transition: transform .3s
}

.sx-card:hover .sx-go {
  transform: translateX(4px)
}

.sx-cmini .sx-card-b {
  padding: 16px 18px
}

.sx-cmini .sx-card-t {
  font-size: 17px
}

.sx-cmini .sx-card-f {
  padding-top: 12px;
  margin-top: 12px
}

/* catalog: category blocks */
.sx-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px)
}

.sx-cat,
.sx-svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .3s
}

.sx-cat:hover,
.sx-svc:hover {
  border-color: color-mix(in srgb, var(--acc) 60%, var(--line))
}

.sx-cat-img {
  display: block;
  overflow: hidden;
  background: #1e1e21;
  min-height: 100%
}

.sx-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.sx-cat:hover .sx-cat-img img,
.sx-svc:hover .sx-cat-img img {
  transform: scale(1.04)
}

.sx-cat-b {
  padding: clamp(22px, 2vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px
}

.sx-cat-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px
}

.sx-cat h3,
.sx-svc h3 {
  font-size: clamp(22px, 1.6vw, 28px)
}

.sx-cat h3 a:hover,
.sx-svc h3 a:hover {
  color: var(--acc-ink)
}

.sx-cat p,
.sx-svc p {
  color: var(--muted);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6
}

.sx-cat ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 6px
}

.sx-cat li a {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--line2);
  font-size: 13px;
  color: var(--ink2);
  transition: border-color .2s, color .2s
}

.sx-cat li a:hover {
  border-color: var(--acc);
  color: var(--acc-ink)
}

.sx-cat .sx-btn {
  align-self: flex-start;
  margin-top: auto
}

.sx-svcs {
  display: grid;
  gap: clamp(16px, 1.6vw, 28px)
}

.sx-svc {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr)
}

.sx-svc ol {
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
  counter-reset: s
}

.sx-svc li {
  counter-increment: s;
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink2)
}

.sx-svc li:before {
  content: "0" counter(s);
  color: var(--acc);
  font-size: 13px;
  padding-top: 2px
}

.sx-svc .sx-cta {
  margin-top: auto
}

.sx-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start
}

.sx-two .sx-sh {
  margin-bottom: 28px
}

.sx-quote {
  margin-top: 8px;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--acc);
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink)
}

/* posts */
.sx-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px)
}

.sx-post {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line)
}

.sx-post-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1e1e21
}

.sx-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sx-post-img .sx-hot {
  position: absolute;
  top: 16px;
  left: 16px
}

.sx-post-b {
  padding: clamp(24px, 2.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1
}

.sx-post h3 {
  font-size: clamp(22px, 1.7vw, 30px)
}

.sx-post p {
  color: var(--ink2);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-line
}

.sx-post .sx-btn {
  align-self: flex-start;
  margin-top: auto
}

.sx-post-noimg {
  border-top: 2px solid var(--acc)
}

.sx-hero-flat .sx-hero-in {
  min-height: 0 !important;
  padding-bottom: clamp(40px, 4vw, 64px)
}

.sx-hero-p {
  margin-top: 20px !important;
  max-width: 620px;
  color: var(--hero-muted);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65
}

.sx-jump a[aria-current] {
  color: var(--acc);
  border-color: var(--acc)
}

@media (max-width:1200px) {
  .sx-cards.sx-c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sx-cats {
    grid-template-columns: minmax(0, 1fr)
  }
}

@media (max-width:900px) {
  .sx-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sx-two,
  .sx-posts {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-svc {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-svc .sx-cat-img {
    aspect-ratio: 3/2
  }
}

@media (max-width:640px) {

  .sx-cards,
  .sx-cards.sx-c4 {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-cards.sx-cmini {
    grid-template-columns: 1fr 1fr
  }

  .sx-cat {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-cat-img {
    aspect-ratio: 3/2
  }

  .sx-cat-h {
    flex-direction: column;
    gap: 6px
  }
}

/* ===== Подвал сайта ===== */
.sf {
  border-top: 1px solid var(--seo-line);
  background: var(--seo-card-bg);
  color: var(--seo-muted);
  font-size: 14px
}

.sf a {
  color: inherit;
  text-decoration: none;
  transition: color .15s
}

.sf a:hover {
  color: var(--seo-accent)
}

.sf-in {
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 80px) clamp(20px, 3.4vw, 64px) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 72px)
}

.sf-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 20px
}

.sf-logo span {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--seo-text)
}

.sf-logo small {
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--seo-accent);
  margin-top: 4px
}

.sf-brand p {
  font-weight: 300;
  line-height: 1.7;
  max-width: 380px;
  margin: 0
}

.sf-phone {
  display: inline-block;
  margin: 22px 0 10px;
  font-size: 20px;
  color: var(--seo-text) !important
}

.sf-addr {
  font-size: 13px
}

.sf-col {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.sf-col h2 {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--seo-accent)
}

.sf-col h2::before {
  display: none !important
}

.sf-col a {
  font-weight: 300
}

.sf-bot {
  max-width: 1680px;
  margin: 0 auto;
  padding: 22px clamp(20px, 3.4vw, 64px) 110px;
  border-top: 1px solid var(--seo-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 12px
}

.sf-bot span:last-child {
  display: flex;
  gap: 24px;
  flex-wrap: wrap
}

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

  .sf-brand {
    grid-column: 1/-1
  }
}

@media (max-width:520px) {
  .sf-in {
    grid-template-columns: 1fr
  }
}

/* stage3: 6 пунктов меню не помещаются на планшетах — до 1279px меню прячется в бургер */
.seo-shell .seo-nav {
  flex-wrap: nowrap
}

@media (min-width:1280px) and (max-width:1439px) {
  .seo-shell .seo-nav {
    gap: 22px
  }

  .seo-shell .seo-header {
    gap: 20px
  }

  .ss-trigger {
    width: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 9999px
  }

  .ss-trigger-t,
  .ss-trigger kbd {
    display: none
  }
}

@media (max-width:1279px) {
  .seo-shell .seo-nav {
    display: none
  }

  .seo-mmenu {
    display: block
  }
}

/* stage4: первый экран на всю высоту окна, картинки 3:2 без обрезки */
.sx-hero-in {
  min-height: clamp(620px, calc(100svh - 64px), 1000px);
  padding-bottom: 0
}

.sx-hero.sx-sm .sx-hero-in {
  min-height: clamp(560px, calc(100svh - 64px - 74px), 900px);
  padding-bottom: 24px
}

.sx-hero-img img {
  object-position: right center
}

/* разделы каталога: первый — широкий, остальные — вертикальные карточки с фото 3:2 */
.sx-cats {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.sx-cat {
  display: flex;
  flex-direction: column
}

.sx-cat-img {
  position: relative;
  min-height: 0;
  aspect-ratio: 3/2
}

.sx-cat-img img {
  position: absolute;
  inset: 0
}

.sx-cat:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr)
}

.sx-cat:first-child .sx-cat-img,
.sx-svc .sx-cat-img {
  aspect-ratio: auto;
  min-height: 0
}

.sx-cat:first-child .sx-cat-img:before,
.sx-svc .sx-cat-img:before {
  content: "";
  display: block;
  padding-top: 66.667%
}

.sx-cat:first-child .sx-cat-b {
  justify-content: center;
  padding: clamp(28px, 3vw, 56px)
}

.sx-svc .sx-cat-img {
  position: relative
}

@media (max-width:1200px) {
  .sx-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:760px) {
  .sx-cats {
    grid-template-columns: minmax(0, 1fr)
  }

  .sx-cat:first-child {
    display: flex
  }

  .sx-cat:first-child .sx-cat-img:before {
    display: none
  }

  .sx-cat:first-child .sx-cat-img {
    aspect-ratio: 3/2
  }
}

@media (min-width:1001px) {
  .sx-hero.sx-ah .sx-hero-in {
    min-height: clamp(540px, calc(100svh - 64px - 140px), 760px)
  }
}

@media (max-width:1000px) {

  .sx-hero-in,
  .sx-hero.sx-sm .sx-hero-in,
  .sx-hero.sx-ah .sx-hero-in {
    min-height: 0 !important;
    padding-bottom: 16px
  }

  .sx-hero.sx-ah .sx-hero-main {
    padding: 18px 0 16px !important;
    margin: 0 !important
  }
}

.sx-hero.sx-hero-flat .sx-hero-in {
  min-height: 0
}

.sx-hero-mos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: var(--hero)
}

.sx-hero-mos img {
  min-height: 0;
  opacity: .92
}

@media (max-width:1000px) {
  .sx-hero-mos {
    aspect-ratio: 3/2
  }
}

.sx-hero-main {
  padding: clamp(24px, 4.5vh, 56px) 0
}

.sx-hero-logo {
  margin-bottom: clamp(14px, 2.4vh, 28px)
}