:root {
  --hm-bg: #F5F6F8;
  --hm-paper: #fff;
  --hm-ink: #12151C;
  --hm-navy: #0E1330;
  --hm-muted: #5A6170;
  --hm-line: #DCE0E6;
  --hm-accent: oklch(58% 0.16 266);
  --hm-accent-soft: #57A0FF;
  --hm-ok: #126B3A;
  --hm-tg: #229ED9;
  --hm-shadow: 0 18px 48px rgba(14, 19, 48, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.hm-body {
  margin: 0;
  background: var(--hm-bg);
  color: var(--hm-ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
.hm-body h1, .hm-body h2, .hm-body h3, .hm-display {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.hm-skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--hm-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
}
.hm-skip:focus { transform: none; }
:focus-visible {
  outline: 2px solid oklch(58% 0.16 266);
  outline-offset: 3px;
}
::selection { background: oklch(90% 0.05 266); }

.hm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--hm-bg) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hm-line);
}
.hm-header-inner, .hm-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hm-header-inner {
  width: min(1240px, calc(100% - 40px));
}
.hm-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.hm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  min-width: 0;
}
.hm-logo img {
  display: block;
  height: 34px;
  width: auto;
}
.hm-logo-product {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  padding-left: 12px;
  border-left: 1px solid var(--hm-line);
  line-height: 1.15;
}
.hm-logo-product small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  color: var(--hm-muted);
  letter-spacing: 0;
}
.hm-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}
.hm-nav a {
  color: var(--hm-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.hm-nav a:hover { color: var(--hm-ink); }
.hm-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hm-lang {
  text-decoration: none;
  border: 1px solid var(--hm-line);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-ink);
}
.hm-account-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1.5px solid oklch(58% 0.16 266 / 55%);
  background: oklch(58% 0.16 266 / 8%);
  color: var(--hm-accent);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hm-account-btn:hover {
  background: oklch(58% 0.16 266 / 16%);
  border-color: var(--hm-accent);
}
.hm-menu {
  display: none;
  border: 1px solid var(--hm-line);
  background: var(--hm-paper);
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 700;
}
.hm-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--hm-line);
}
@media (max-width: 900px) {
  .hm-mobile:not([hidden]) { display: flex; }
}
.hm-mobile a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--hm-ink);
  border-bottom: 1px solid var(--hm-line);
}
.hm-mobile a.hm-account-btn {
  border: 1.5px solid oklch(58% 0.16 266 / 55%);
  border-radius: 8px;
  padding: 11px 14px;
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

.hm-breadcrumbs {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 0;
}
.hm-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--hm-muted);
}
.hm-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hm-breadcrumbs__item:not(:last-child)::after {
  content: '/';
  color: var(--hm-line);
}
.hm-breadcrumbs__link {
  color: var(--hm-muted);
  text-decoration: none;
}
.hm-breadcrumbs__link:hover { color: var(--hm-ink); }
.hm-breadcrumbs__item--current { color: var(--hm-ink); font-weight: 600; }

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.hm-header .hm-btn { flex-shrink: 0; }
.hm-btn--primary { background: var(--hm-ink); color: #fff; }
.hm-btn--primary:hover { background: var(--hm-accent); }
.hm-btn--ghost { background: transparent; border-color: var(--hm-line); color: var(--hm-ink); }
.hm-btn--ghost:hover { border-color: var(--hm-ink); }

.hm-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 48px 0 24px;
  align-items: center;
}
.hm-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(45% 0.14 266);
  background: oklch(95% 0.02 266);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hm-hero h1 {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hm-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #363C46;
  max-width: 40rem;
  margin: 0 0 22px;
}
.hm-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hm-micro { margin: 0; color: var(--hm-muted); font-size: 14px; }
.hm-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  color: var(--hm-muted);
}
.hm-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-proof li:last-child {
  flex-basis: 100%;
}
.hm-proof li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-accent);
  flex-shrink: 0;
}

.hm-phone {
  color: var(--hm-ink);
  padding: 8px 0;
  max-width: 390px;
  margin-left: auto;
}
.hm-phone-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hm-muted);
  margin-bottom: 12px;
}
.hm-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.4;
}
.hm-bubble--you { background: #2F6FED; color: #fff; margin-left: auto; }
.hm-bubble--bot { background: #fff; color: var(--hm-ink); border: 1px solid var(--hm-line); }
.hm-status {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 2px;
}
.hm-think {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--hm-muted);
}
.hm-think-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-accent-soft);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes hm-rise {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .hm-phone > :nth-child(2),
  .hm-phone > :nth-child(3),
  .hm-phone > :nth-child(4),
  .hm-phone > :nth-child(5) {
    opacity: 0;
    animation: hm-rise 0.5s ease forwards;
  }
  .hm-phone > :nth-child(2) { animation-delay: 0.2s; }
  .hm-phone > :nth-child(3) { animation-delay: 0.8s; }
  .hm-phone > :nth-child(4) { animation-delay: 1.3s; }
  .hm-phone > :nth-child(5) { animation-delay: 2.3s; }
  .hm-status .hm-think {
    opacity: 0;
    animation: hm-rise 0.4s ease forwards;
  }
  .hm-status .hm-think:nth-child(1) { animation-delay: 1.3s; }
  .hm-status .hm-think:nth-child(2) { animation-delay: 1.55s; }
  .hm-status .hm-think:nth-child(3) { animation-delay: 1.8s; }
  .hm-think-dot {
    animation: hm-pulse 1s ease-in-out infinite;
  }
  @keyframes hm-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
  }
}
.hm-time { display: block; font-size: 11px; opacity: 0.7; margin-bottom: 4px; }

.hm-band { padding: 64px 0; }
.hm-band--paper { background: var(--hm-paper); }
.hm-band--ink { background: var(--hm-navy); color: #F5F6F8; }
.hm-band h2 { font-size: clamp(24px, 2.8vw, 28px); margin-bottom: 12px; }
.hm-sub { font-size: 17px; line-height: 1.6; color: #363C46; max-width: 60rem; margin: 0 0 28px; }
.hm-band--ink .hm-sub { color: #C9C2B6; }

.hm-grid-3, .hm-grid-2, .hm-tasks {
  display: grid;
  gap: 16px;
}
.hm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hm-grid-2 { grid-template-columns: 1fr 1fr; }
.hm-tasks { grid-template-columns: repeat(2, 1fr); }
.hm-card, .hm-task {
  background: var(--hm-paper);
  border: 1px solid #E3E6EB;
  border-radius: 16px;
  padding: 24px;
}
.hm-band--paper .hm-card { background: #fff; }
.hm-card h3, .hm-task h3 { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.hm-card p, .hm-task p { color: var(--hm-muted); }
.hm-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hm-accent);
  margin-bottom: 8px;
}

.hm-learn {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hm-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hm-steps li {
  padding: 14px 0;
  border-top: 1px solid var(--hm-line);
}
.hm-steps strong { display: block; margin-bottom: 4px; }

.hm-quote {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  margin: 24px 0 0;
}

.hm-price {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hm-price article {
  position: relative;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-price article.featured {
  border-color: var(--hm-accent);
  box-shadow: var(--hm-shadow);
}
.hm-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--hm-accent);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--hm-accent) 45%, transparent);
  white-space: nowrap;
}
.hm-price-value { font-size: 22px; font-weight: 800; color: var(--hm-ink); margin: 4px 0 0; }
.hm-specs { color: var(--hm-muted); font-size: 13px; margin: 6px 0 0; }
.hm-price ul { margin: 0; padding-left: 18px; }
.hm-price-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hm-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hm-specs-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-muted);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hm-specs-details summary::-webkit-details-marker { display: none; }
.hm-specs-details summary::before {
  content: '';
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent var(--hm-muted);
  transition: transform 0.15s ease;
}
.hm-specs-details[open] summary::before { transform: rotate(90deg); }
.hm-specs-details summary:hover { color: var(--hm-ink); }

.hm-compare-scroll { overflow-x: auto; }
.hm-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  overflow: hidden;
}
.hm-compare-table th, .hm-compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hm-line);
  font-size: 14.5px;
  vertical-align: middle;
}
.hm-compare-table thead th {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hm-muted);
  padding-top: 18px;
  padding-bottom: 14px;
}
.hm-compare-table thead th:nth-child(3) { color: var(--hm-accent); }
.hm-compare-table tbody th {
  font-weight: 700;
  color: var(--hm-ink);
}
.hm-compare-table tbody td:nth-child(2) { color: var(--hm-muted); }
.hm-compare-table tbody td:nth-child(3) {
  color: var(--hm-ink);
  font-weight: 700;
  position: relative;
  padding-left: 34px;
}
.hm-compare-table tbody td:nth-child(3)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-accent);
}
.hm-compare-table td:nth-child(3), .hm-compare-table th:nth-child(3) {
  box-shadow: inset 2px 0 0 var(--hm-line);
}
.hm-compare-table tr:last-child td, .hm-compare-table tr:last-child th { border-bottom: 0; }

.hm-faq details {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 10px;
}
.hm-faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.hm-faq p { color: var(--hm-muted); }

.hm-contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}
.b2b-contact-form, .hm-form { display: grid; gap: 14px; }
.b2b-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b2b-field { display: grid; gap: 6px; }
.b2b-field span, .b2b-consent span { font-size: 14px; font-weight: 600; }
.b2b-field input, .b2b-field textarea, .b2b-field select {
  width: 100%;
  border: 1px solid var(--hm-line);
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
  background: #fff;
}
.b2b-field textarea { min-height: 110px; resize: vertical; }
.b2b-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.b2b-consent a { color: var(--hm-accent); }
.b2b-submit-btn {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--hm-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}
.b2b-submit-btn:hover { background: var(--hm-accent); }
.b2b-submit-btn:disabled { opacity: 0.6; }
.b2b-form-status { min-height: 1.2em; font-size: 14px; }
.b2b-form-status--success { color: var(--hm-ok); }
.b2b-form-status--error { color: #B3261E; }
.lp-req { color: #B3261E; }

.b2b-footer-grid { display: grid; }
.b2b-footer-link { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.65); }
.b2b-footer-link--muted { color: rgba(255,255,255,0.45); }
.b2b-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.b2b-footer-copyright { min-width: 0; }
.b2b-footer-bottom__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}
.b2b-footer-legal { display: flex; align-items: center; gap: 18px; min-width: 0; }
.b2b-footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; white-space: nowrap; }
.b2b-footer-legal a:hover { color: rgba(255,255,255,0.72); }
.b2b-made-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(87,160,255,0.18), rgba(255,255,255,0.035)),
    rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  white-space: nowrap;
}
.b2b-made-badge__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #57A0FF, #086DF0);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hm-sticky {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
}

@media (max-width: 1220px) {
  .hm-nav, .hm-header .hm-btn, .hm-header-actions > .hm-account-btn { display: none; }
  .hm-menu { display: inline-flex; }
}

@media (max-width: 900px) {
  .hm-body { padding-bottom: 76px; }
  .hm-hero, .hm-learn, .hm-contact, .hm-grid-3, .hm-price {
    grid-template-columns: 1fr;
  }
  .hm-tasks, .hm-grid-2, .b2b-form-grid, .b2b-footer-grid {
    grid-template-columns: 1fr;
  }
  .hm-phone { margin: 0 auto; }
  .hm-compare-table { min-width: 560px; }
  .hm-sticky { display: block; }
  .hm-sticky .hm-btn { width: 100%; box-shadow: var(--hm-shadow); }
  .b2b-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .b2b-footer-bottom__right {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .b2b-footer-legal {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .b2b-made-badge { max-width: 100%; }
}
