:root {
  --ink: #0e0f11;
  --ink-soft: #2a2c30;
  --muted: #74757b;
  --bg: #f5f5f2;
  --bg-deep: #ecece7;
  --paper: #fff;
  --line: #e4e4df;
  --line-strong: #cdcdc6;
  --signal: #e5481d;
  --signal-deep: #c73b14;
  --font-base: "Onest", Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body.seo-page {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

body.seo-page.nav-locked {
  overflow: hidden;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  background: rgb(245 245 242 / 88%);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 1px 0 var(--line-strong), 0 4px 20px rgb(14 15 17 / 6%);
  backdrop-filter: blur(12px);
}

.site-top-tape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 48px;
  color: var(--ink-soft);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-top-tape__group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-top-tape a {
  color: inherit;
  text-decoration: none;
}

.site-top-tape__signal {
  color: var(--signal);
}

.site-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 48px;
}

.site-nav-row > a:first-child {
  color: inherit;
  text-decoration: none;
}

.site-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.site-logo svg {
  display: block;
  width: 28px;
  height: 28px;
}

.site-logo__type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.site-logo__tagline {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav__link {
  padding: 0 0 4px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-nav__link[aria-current="page"] {
  border-bottom-color: var(--signal);
}

.site-nav__phone {
  display: none;
}

.site-nav__action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-nav__action:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}

.site-burger {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

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

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

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

.site-nav-overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgb(14 15 17 / 25%);
}

.site-nav-overlay[hidden] {
  display: none;
}

.seo-page main {
  width: min(100%, 960px);
  min-height: 55vh;
  margin: 0 auto;
  padding: 64px 48px 88px;
}

.seo-page .bc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.seo-page .bc a {
  color: inherit;
  text-decoration-color: var(--line-strong);
}

.seo-page h1 {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.seo-page h2 {
  margin: 52px 0 16px;
  color: var(--ink);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.seo-page h3 {
  color: var(--ink);
  font-weight: 600;
}

.seo-page p,
.seo-page li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.seo-page p {
  margin: 0 0 16px;
}

.seo-page ol,
.seo-page ul {
  padding-left: 24px;
}

.seo-page .lead {
  max-width: 790px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.55;
}

.seo-page .note {
  margin: 32px 0 48px;
  padding: 24px 28px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
}

.seo-page .steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 36px;
}

.seo-page .step {
  min-height: 145px;
  padding: 24px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
}

.seo-page .step b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.seo-page .cta {
  margin: 56px 0;
  padding: 42px 38px;
  color: var(--bg);
  background: var(--ink);
}

.seo-page .cta h2 {
  margin: 0 0 12px;
  color: var(--bg);
}

.seo-page .cta p {
  color: rgb(245 245 242 / 72%);
}

.seo-page .btn,
.seo-page .cta a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 8px 0 0;
  padding: 14px 22px;
  color: var(--paper);
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.seo-page .faq,
.seo-page .faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.seo-page .faq h3,
.seo-page .faq-q {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.seo-page .faq p,
.seo-page .faq-a {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.seo-page .links,
.seo-page .links-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.seo-page .links-block b {
  width: 100%;
}

.seo-page .links a,
.seo-page .links-block a {
  display: inline-flex;
  margin: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 56px 48px 28px;
  color: var(--bg);
  background: var(--ink);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2722;
}

.site-footer__logo {
  color: var(--bg);
}

.site-footer__logo .site-logo__name {
  color: var(--bg);
}

.site-footer__tagline {
  max-width: 320px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 65%);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer__stamp,
.site-footer__title,
.site-footer__bottom {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.site-footer__stamp {
  margin-top: 22px;
  color: rgb(255 255 255 / 50%);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.site-footer__title {
  margin-bottom: 18px;
  color: rgb(255 255 255 / 50%);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  display: inline;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / 85%);
  background: transparent;
  border: 0;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--signal);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
  color: rgb(255 255 255 / 45%);
  font-size: 11px;
  letter-spacing: 0.06em;
}

@media (max-width: 1280px) {
  .site-top-tape {
    padding: 8px 24px;
    font-size: 10px;
  }

  .site-top-tape__location {
    display: none;
  }

  .site-nav-row {
    padding: 18px 24px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-top-tape {
    padding: 6px 16px;
    font-size: 9px;
  }

  .site-top-tape__messengers {
    display: none;
  }

  .site-nav-row {
    padding: 14px 16px;
  }

  .site-nav {
    position: absolute;
    z-index: 60;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 72px);
    padding: 16px 24px 24px;
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgb(14 15 17 / 8%);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav__link {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav__phone {
    display: block;
    margin-top: 16px;
    padding: 14px 4px 4px;
    color: var(--signal);
    border-top: 1px solid var(--line);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
  }

  .site-nav__action {
    display: none;
  }

  .site-burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .seo-page main {
    padding: 42px 20px 64px;
  }

  .seo-page h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .seo-page h2 {
    margin-top: 44px;
  }

  .seo-page .steps,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .seo-page .step {
    min-height: auto;
  }

  .seo-page .cta {
    padding: 32px 22px;
  }

  .site-footer {
    padding: 40px 20px 24px;
  }

  .site-footer__top {
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-top-tape {
    justify-content: center;
    text-align: center;
  }

  .site-top-tape__right {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-top-tape__signal {
    display: none;
  }

  .site-nav-row {
    padding: 12px 14px;
  }

  .site-logo {
    max-width: 210px;
  }

  .site-nav {
    padding: 10px 16px 20px;
  }
}
