:root {
  --hx-brand-50: #eef1fb;
  --hx-brand-100: #d9e0f7;
  --hx-brand-200: #b3c1ef;
  --hx-brand-500: #1f359b;
  --hx-brand-600: #1f359b;
  --hx-brand-700: #0f2489;
  --hx-brand-800: #001c9b;
  --hx-brand-900: #001670;
  --hx-slate-50: #f8fafc;
  --hx-slate-100: #f1f5f9;
  --hx-slate-200: #e2e8f0;
  --hx-slate-300: #cbd5e1;
  --hx-slate-400: #94a3b8;
  --hx-slate-500: #64748b;
  --hx-slate-600: #475569;
  --hx-slate-700: #334155;
  --hx-slate-800: #1e293b;
  --hx-slate-900: #0f172a;
  --hx-slate-950: #020617;
  --hx-radius-lg: 1rem;
  --hx-radius-xl: 1.5rem;
  --hx-radius-2xl: 2rem;
  --hx-radius-3xl: 2.5rem;
  --hx-card-bg: #ffffff;
  --hx-card-bg-soft: rgba(248, 250, 252, 0.7);
  --hx-card-border: #e2e8f0;
  --hx-card-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  --hx-card-shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --hx-focus-ring: 0 0 0 3px rgba(31, 53, 155, 0.22);
  --rs-growth-500: #10b981;
  --rs-cta-500: #f59e0b;
}

[data-theme="dark"] {
  --hx-card-bg: #0f172a;
  --hx-card-bg-soft: rgba(15, 23, 42, 0.7);
  --hx-card-border: #1e293b;
  --hx-card-shadow: 0 20px 50px rgba(2, 6, 23, 0.6);
  --hx-card-shadow-soft: 0 10px 15px -3px rgba(2, 6, 23, 0.5);
}

/* Sitewide layout container */
.ranksho-page-shell {
  width: 100%;
  overflow-x: clip;
}

.ranksho-container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.ranksho-container--narrow {
  max-width: 40rem;
}

.ranksho-container--breadcrumbs {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.rs-svc-container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.hx-card {
  background-color: var(--hx-card-bg);
  border: 1px solid var(--hx-card-border);
  border-radius: var(--hx-radius-xl);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hx-card--soft {
  background-color: var(--hx-card-bg-soft);
}

.hx-card--hover:hover {
  border-color: var(--hx-brand-100);
  box-shadow: var(--hx-card-shadow);
}

.hx-card--outline {
  background-color: var(--hx-card-bg);
  border-color: var(--hx-card-border);
}

.hx-card--featured {
  border-width: 2px;
  border-color: var(--hx-brand-500);
  box-shadow: var(--hx-card-shadow);
}

.hx-card--dark {
  background-color: var(--hx-slate-900);
  border-color: var(--hx-slate-700);
  color: #ffffff;
}

.hx-card--lg {
  border-radius: var(--hx-radius-lg);
}

.hx-card--xl {
  border-radius: var(--hx-radius-xl);
}

.hx-card--2xl {
  border-radius: var(--hx-radius-2xl);
}

.hx-card--3xl {
  border-radius: var(--hx-radius-3xl);
}

.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.hx-badge--xs {
  font-size: 9px;
  padding: 0.3rem 0.75rem;
}

.hx-badge--brand {
  background-color: var(--hx-brand-50);
  color: var(--hx-brand-600);
  border-color: var(--hx-brand-100);
}

.hx-badge--surface {
  background-color: #ffffff;
  color: var(--hx-brand-600);
  border-color: var(--hx-slate-50);
  box-shadow: var(--hx-card-shadow-soft);
}

.hx-badge--inverse {
  background-color: var(--hx-brand-600);
  color: #ffffff;
  border-color: var(--hx-brand-600);
}

.hx-badge--pill {
  border-radius: 999px;
  letter-spacing: 0.1em;
}

.hx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.5rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hx-button--block {
  width: 100%;
}

.hx-button--primary {
  background-color: var(--hx-brand-600);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.hx-button--primary:hover {
  background-color: var(--hx-brand-700);
}

.hx-button--outline {
  background-color: transparent;
  border: 1px solid var(--hx-slate-300);
  color: var(--hx-slate-600);
}

.hx-button--outline:hover {
  background-color: var(--hx-slate-50);
}

.hx-button--ghost {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hx-button--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hx-button--dark {
  background-color: transparent;
  border: 1px solid var(--hx-slate-600);
  color: #ffffff;
}

.hx-button--dark:hover {
  background-color: var(--hx-slate-800);
}

.hx-control {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--hx-slate-200);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--hx-slate-700);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hx-control:focus {
  outline: none;
  border-color: var(--hx-brand-500);
  box-shadow: var(--hx-focus-ring);
}

.hx-widget-blog .hx-blog-header {
  align-items: flex-start;
}

.hx-widget-blog .hx-blog-header a {
  align-self: flex-start;
}

.hx-highlights-grid {
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hx-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hx-testimonials-card {
    padding: 1.75rem;
  }

  .hx-blog-grid {
    gap: 2rem;
  }

  .hx-widget-blog .hx-blog-title {
    font-size: 2.1rem;
  }

  .hx-widget-cta .hx-cta-box {
    padding: 2.5rem 2rem;
  }

  .hx-faq-question {
    font-size: 1rem;
  }
}

/* FAQ accordion (Elementor widget) */
.hx-faq-item.is-open {
  border-color: rgba(59, 130, 246, 0.45);
}

.hx-faq-item.is-open .arrow-icon {
  transform: rotate(180deg);
}

.hx-faq-trigger {
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
}

.hx-faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

@media (max-width: 640px) {
  .hx-features-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hx-pricing-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hx-highlights-grid > div {
    min-width: calc(50% - 1rem);
  }

  .hx-testimonials-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hx-process-step {
    min-width: 100%;
  }

  .hx-highlights-grid > div {
    min-width: 100%;
  }

  .hx-testimonials-card {
    padding: 1.25rem;
  }
}

.hx-menu-item {
  position: relative;
}

.hx-menu-item .hx-submenu {
  position: absolute;
  right: 0;
  top: 100%;
  width: 16rem;
  padding-top: 0.5rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hx-menu-item .hx-submenu__panel {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  padding: 0.75rem;
}

.hx-menu-item:hover .hx-submenu,
.hx-menu-item:focus-within .hx-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hx-category-scroll {
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hx-category-scroll::-webkit-scrollbar {
  height: 6px;
}

.hx-category-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.hx-category-scroll::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 999px;
}

.hx-category-scroll::before,
.hx-category-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 1;
}

.hx-category-scroll::before {
  right: 0;
  background: linear-gradient(to left, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0));
}

.hx-category-scroll::after {
  left: 0;
  background: linear-gradient(to right, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0));
}

.hx-scroll-hint {
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  --hx-scroll-bg: rgba(248, 250, 252, 0.95);
}

.hx-scroll-hint::-webkit-scrollbar {
  height: 6px;
}

.hx-scroll-hint::-webkit-scrollbar-track {
  background: transparent;
}

.hx-scroll-hint::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 999px;
}

.hx-scroll-hint::before,
.hx-scroll-hint::after {
  content: '';
  position: sticky;
  top: 0;
  width: 28px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hx-scroll-hint::before {
  right: 0;
  margin-right: -8px;
  background: linear-gradient(to left, var(--hx-scroll-bg), rgba(248, 250, 252, 0));
}

.hx-scroll-hint::after {
  left: 0;
  margin-left: -8px;
  background: linear-gradient(to right, var(--hx-scroll-bg), rgba(248, 250, 252, 0));
}

.hx-scroll-hint-dark {
  --hx-scroll-bg: rgba(2, 6, 23, 0.95);
}

.hx-scroll-items {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
}

.hx-scroll-items > * {
  flex: 0 0 auto;
  min-width: 80%;
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .hx-scroll-items {
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .hx-scroll-items > * {
    min-width: auto;
  }
}

.hx-logos-scroll {
  overflow-x: auto;
}

/* Customer logos (Elementor widget) */
.hx-widget-logos {
  position: relative;
  padding: 2rem 0 2.5rem;
  background: transparent;
  overflow: hidden;
}

.hx-logos__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hx-logos__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 40rem;
  width: 100%;
}

.hx-logos__subtitle {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--hx-brand-600);
}

.hx-logos__title {
  margin: 0 auto;
  width: 100%;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.55;
  text-align: center;
}

.hx-logos__slider {
  position: relative;
}

.hx-logos__viewport {
  overflow: visible;
}

.hx-logos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hx-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(31, 53, 155, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hx-logos__item:hover {
  border-color: var(--hx-brand-200);
  box-shadow: 0 8px 24px rgba(31, 53, 155, 0.08);
  transform: translateY(-2px);
}

.hx-logos__item img {
  display: block;
  max-width: 100%;
  max-height: 2rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s, opacity 0.25s;
}

.hx-logos__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.hx-logos__dots {
  display: none;
}

@media (min-width: 640px) {
  .hx-logos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .hx-logos__item {
    min-height: 5rem;
  }

  .hx-logos__item img {
    max-height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hx-logos__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.125rem;
  }
}

@media (max-width: 639px) {
  .hx-logos__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.15rem 0.35rem;
  }

  .hx-logos__viewport::-webkit-scrollbar {
    display: none;
  }

  .hx-logos__grid {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    max-width: none;
    margin: 0;
  }

  .hx-logos__item {
    flex: 0 0 calc(50vw - 1.05rem);
    min-width: 9.5rem;
    min-height: 5.15rem;
    scroll-snap-align: center;
    border-radius: 1.1rem;
    box-shadow: 0 10px 28px rgba(31, 53, 155, 0.08);
    transform: scale(0.96);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .hx-logos__item.is-active {
    transform: scale(1);
    border-color: rgba(31, 53, 155, 0.16);
    box-shadow: 0 16px 36px rgba(31, 53, 155, 0.12);
  }

  .hx-logos__item img {
    max-height: 2.15rem;
    transition: transform 0.35s ease, filter 0.25s, opacity 0.25s;
  }

  .hx-logos__item.is-active img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
  }

  .hx-logos__dots {
    display: flex;
    justify-content: center;
    gap: 0.38rem;
    margin-top: 0.95rem;
  }

  .hx-logos__dot {
    width: 0.42rem;
    height: 0.42rem;
    border: none;
    border-radius: 999px;
    background: var(--hx-slate-200);
    transition: width 0.25s ease, background-color 0.25s ease;
    cursor: pointer;
  }

  .hx-logos__dot.is-active {
    width: 1.2rem;
    background: var(--hx-brand-600);
  }
}

.hx-mobile-submenu {
  display: none;
}

.hx-mobile-item.is-open > .hx-mobile-submenu {
  display: block;
}

.hx-mobile-item.is-open .hx-mobile-icon {
  transform: rotate(180deg);
}

/* Mobile drawer navigation */
.hx-mobile-drawer {
  padding: 1.15rem 1rem 1rem;
  background:
    radial-gradient(circle at top right, rgba(31, 53, 155, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hx-mobile-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hx-slate-100);
}

.hx-mobile-drawer__brand {
  min-width: 0;
}

.hx-mobile-drawer__caption {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--hx-slate-500);
}

.hx-mobile-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--hx-slate-100);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hx-slate-400);
  transition: 0.2s ease;
}

.hx-mobile-drawer__close:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff;
}

.hx-mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  overflow-y: auto;
  padding-inline-end: 0.15rem;
}

.hx-mobile-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hx-mobile-toggle,
.hx-mobile-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hx-slate-100);
  background: rgba(255, 255, 255, 0.92);
  color: var(--hx-slate-700);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.hx-mobile-toggle:hover,
.hx-mobile-link:hover,
.hx-mobile-item.is-open > .hx-mobile-toggle {
  color: var(--hx-brand-600);
  border-color: rgba(31, 53, 155, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 12px 28px rgba(31, 53, 155, 0.08);
  transform: translateY(-1px);
}

.hx-mobile-toggle__label,
.hx-mobile-link__label {
  font-size: 0.92rem;
  line-height: 1.45;
}

.hx-mobile-toggle__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.hx-mobile-toggle__hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--hx-slate-400);
}

.hx-mobile-icon,
.hx-mobile-link__icon svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--hx-slate-400);
  transition: transform 0.22s ease, color 0.22s ease;
}

.hx-mobile-item.is-open > .hx-mobile-toggle .hx-mobile-toggle__hint,
.hx-mobile-item.is-open > .hx-mobile-toggle .hx-mobile-icon,
.hx-mobile-link:hover .hx-mobile-link__icon svg {
  color: var(--hx-brand-600);
}

.hx-mobile-submenu {
  margin-right: 0.45rem;
  padding-right: 0.7rem;
  border-right: 1px dashed rgba(31, 53, 155, 0.14);
}

.hx-mobile-submenu .hx-mobile-item,
.hx-mobile-submenu .hx-mobile-link {
  margin-top: 0.4rem;
}

.hx-mobile-item.is-nested > .hx-mobile-toggle,
.hx-mobile-link.is-nested {
  padding: 0.8rem 0.9rem;
  background: rgba(248, 250, 252, 0.92);
  border-radius: 0.9rem;
  box-shadow: none;
}

.hx-mobile-item.is-nested > .hx-mobile-toggle:hover,
.hx-mobile-link.is-nested:hover,
.hx-mobile-item.is-nested.is-open > .hx-mobile-toggle {
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 53, 155, 0.06);
}

.hx-mobile-drawer__footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--hx-slate-100);
}

.bg-brand-50 {
  background-color: var(--hx-brand-50);
}

.bg-brand-200 {
  background-color: var(--hx-brand-200);
}

.bg-brand-100 {
  background-color: var(--hx-brand-100);
}

.bg-brand-500 {
  background-color: var(--hx-brand-500);
}

.bg-brand-600 {
  background-color: var(--hx-brand-600);
}

.bg-brand-900 {
  background-color: var(--hx-brand-900);
}

.text-brand-500 {
  color: var(--hx-brand-500);
}

.text-brand-600 {
  color: var(--hx-brand-600);
}

.text-brand-700 {
  color: var(--hx-brand-700);
}

.text-brand-900 {
  color: var(--hx-brand-900);
}

.border-brand-500 {
  border-color: var(--hx-brand-500);
}

.border-brand-700 {
  border-color: var(--hx-brand-700);
}

.hover\:bg-brand-700:hover {
  background-color: var(--hx-brand-700);
}

.hover\:text-brand-600:hover {
  color: var(--hx-brand-600);
}

.hover\:border-brand-500:hover {
  border-color: var(--hx-brand-500);
}

.hover\:border-brand-500\/50:hover {
  border-color: color-mix(in srgb, var(--hx-brand-500) 50%, transparent);
}

.group:hover .group-hover\:bg-brand-600 {
  background-color: var(--hx-brand-600);
}

.group:hover .group-hover\:border-brand-500 {
  border-color: var(--hx-brand-500);
}

.shadow-brand-500\/30 {
  --tw-shadow: 0 10px 15px -3px color-mix(in srgb, var(--hx-brand-500) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--hx-brand-500) 30%, transparent);
  --tw-shadow-colored: 0 10px 15px -3px color-mix(in srgb, var(--hx-brand-500) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--hx-brand-500) 30%, transparent);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-brand-500\/20 {
  --tw-shadow: 0 10px 15px -3px color-mix(in srgb, var(--hx-brand-500) 20%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--hx-brand-500) 20%, transparent);
  --tw-shadow-colored: 0 10px 15px -3px color-mix(in srgb, var(--hx-brand-500) 20%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--hx-brand-500) 20%, transparent);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.from-brand-500 {
  --tw-gradient-from: var(--hx-brand-500) var(--tw-gradient-from-position);
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-brand-900 {
  --tw-gradient-from: var(--hx-brand-900) var(--tw-gradient-from-position);
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-brand-500 {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--hx-brand-500) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-brand-700 {
  --tw-gradient-to: var(--hx-brand-700) var(--tw-gradient-to-position);
}

/* Breadcrumbs (schema-based, CLS-safe) */
.hx-breadcrumbs {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  margin-bottom: 0.75rem;
  max-width: 100%;
  overflow: hidden;
}

.hx-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: 100%;
}

.hx-breadcrumbs__item {
  color: #94a3b8;
  max-width: 100%;
}

.hx-breadcrumbs__item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.hx-breadcrumbs__item a:hover {
  color: var(--hx-brand-600, #1f359b);
}

.hx-breadcrumbs__item--current {
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100%, 18rem);
}

.hx-breadcrumbs__sep {
  color: #cbd5e1;
  user-select: none;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ranksho-container--breadcrumbs {
    overflow: hidden;
  }

  .hx-breadcrumbs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hx-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .hx-breadcrumbs__list {
    font-size: 0.75rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
    padding-bottom: 0.15rem;
  }

  .hx-breadcrumbs__item,
  .hx-breadcrumbs__item a,
  .hx-breadcrumbs__item--current {
    white-space: nowrap;
    word-break: normal;
  }

  .hx-breadcrumbs__item--current {
    max-width: none;
  }
}

/* Site header & top announcement bar */
.hami-top-bar {
  background-color: var(--hx-topbar-bg, #0f172a);
  border-bottom: 2px solid var(--hx-topbar-accent, #10b981);
  padding: 10px 0;
  width: 100%;
  direction: rtl;
  position: relative;
  z-index: 60;
}

.hami-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1rem;
}

.hami-message {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.hami-icon {
  color: #fbbf24;
  display: flex;
  align-items: center;
  animation: hami-topbar-pulse 2s infinite;
}

.hami-text {
  color: var(--hx-topbar-text, #f1f5f9);
  font-size: 0.8125rem;
  margin: 0;
  line-height: 1.6;
}

.hami-text strong {
  color: var(--hx-topbar-accent, #10b981);
  font-weight: 900;
}

.hami-btn {
  background-color: var(--hx-topbar-button-bg, #10b981);
  color: var(--hx-topbar-button-text, #ffffff);
  padding: 0.35rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hami-btn:hover {
  background-color: var(--hx-topbar-button-hover, #059669);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

@keyframes hami-topbar-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.ranksho-site-header {
  width: 100%;
}

.ranksho-site-nav {
  width: 100%;
}

.ranksho-site-nav > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ranksho-site-nav__brand {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.ranksho-site-nav__menu {
  display: none;
  align-items: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .ranksho-site-nav__menu {
    display: flex;
  }
}

.ranksho-site-nav__menu-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.ranksho-site-nav__menu-list .hx-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: nowrap;
}

.ranksho-site-nav__menu-list .hx-menu-item {
  flex-shrink: 0;
}

.ranksho-site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-inline-start: 1rem;
}

.ranksho-site-nav__actions .hx-header-auth {
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hami-container {
    flex-direction: column;
    text-align: center;
    gap: 0.625rem;
  }

  .hami-text {
    font-size: 0.6875rem;
  }

  .hami-btn {
    width: 100%;
    text-align: center;
  }
}

/* Header auth CTA (dynamic login / panel) */
.hx-header-auth__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.65rem;
  background: var(--hx-brand-50, #eff6ff);
  color: var(--hx-brand-600, #1f359b);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hx-header-auth--mobile {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hx-header-auth__btn:hover .hx-header-auth__avatar {
  background: var(--hx-brand-600, #1f359b);
  color: #fff;
}

/* Mobile navigation drawer (RTL-safe) */
.haminext-mobile-overlay {
  z-index: 99980;
}

.haminext-mobile-nav {
  z-index: 99990;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
}

.haminext-mobile-nav.is-open,
.haminext-mobile-nav:not(.translate-x-full) {
  transform: translate3d(0, 0, 0);
}

.haminext-mobile-nav.translate-x-full:not(.is-open) {
  transform: translate3d(100%, 0, 0);
}

.haminext-mobile-fab {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 99970;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

body.haminext-menu-open {
  overflow: hidden;
}

.haminext-site-footer {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── Theme Footer (hx-footer) ── */
body:not(.hx-panel-body):not(.hx-panel-auth) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hx-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  background: linear-gradient(175deg, #ffffff 0%, #f5f9ff 30%, #eef6ff 65%, #e8f2ff 100%);
  border-top: 1px solid rgba(219, 234, 254, 0.95);
  font-family: 'IRANYekanXVF', sans-serif;
}

.hx-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hx-footer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.hx-footer__orb--1 {
  width: 320px;
  height: 320px;
  background: #93c5fd;
  top: -120px;
  right: -80px;
}

.hx-footer__orb--2 {
  width: 260px;
  height: 260px;
  background: #6ee7b7;
  bottom: -60px;
  left: -70px;
}

.hx-footer__orb--3 {
  width: 200px;
  height: 200px;
  background: #c4b5fd;
  top: 45%;
  left: 42%;
}

.hx-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 48px 24px 28px;
}

.hx-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.hx-footer__cta-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
  color: #1d4ed8;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.hx-footer__cta-title {
  margin: 0 0 8px;
  font-size: 1.375rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
}

.hx-footer__cta-text {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 36rem;
}

.hx-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.32);
  transition: transform 0.15s, box-shadow 0.2s;
}

.hx-footer__cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hx-footer__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38);
  color: #fff;
}

.hx-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(219, 234, 254, 0.85);
}

.hx-footer__logo {
  display: block;
  margin-bottom: 12px;
}

.hx-footer__tagline {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 18rem;
}

.hx-footer__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hx-footer__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #475569;
}

.hx-footer__features svg {
  width: 16px;
  height: 16px;
  color: #2563eb;
  flex-shrink: 0;
}

.hx-footer__heading {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.hx-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hx-footer__links a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.hx-footer__links a:hover {
  color: #2563eb;
}

.hx-footer__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.hx-footer__trust svg {
  width: 18px;
  height: 18px;
  color: #2563eb;
  flex-shrink: 0;
}

.hx-footer__widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(219, 234, 254, 0.85);
}

.hx-footer__widget-col h5 {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 12px;
}

.hx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.hx-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.6;
}

.hx-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hx-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(219, 234, 254, 0.95);
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}

.hx-footer__social svg {
  width: 18px;
  height: 18px;
}

.hx-footer__social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hx-footer__social:hover {
  color: #2563eb;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

@media (max-width: 1024px) {
  .hx-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hx-footer__brand {
    grid-column: 1 / -1;
  }

  .hx-footer__widgets {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hx-footer__inner {
    padding: 36px 16px 24px;
  }

  .hx-footer__cta {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    text-align: center;
  }

  .hx-footer__cta-btn {
    justify-content: center;
  }

  .hx-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hx-footer__widgets {
    grid-template-columns: 1fr;
  }

  .hx-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Terms page ── */
.hx-terms {
  position: relative;
  padding: 3rem 0 4rem;
  background: linear-gradient(175deg, #ffffff 0%, #f5f9ff 45%, #eef6ff 100%);
  overflow: hidden;
}

.hx-terms__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hx-terms__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.hx-terms__orb--1 {
  width: 280px;
  height: 280px;
  background: #93c5fd;
  top: -80px;
  right: -60px;
}

.hx-terms__orb--2 {
  width: 200px;
  height: 200px;
  background: #6ee7b7;
  bottom: 40px;
  left: -40px;
}

.hx-terms__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hx-terms__hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hx-terms__logo {
  margin-bottom: 1rem;
}

.hx-terms__hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #0f172a;
}

.hx-terms__lead {
  margin: 0 auto 0.5rem;
  max-width: 36rem;
  color: #64748b;
  line-height: 1.8;
  font-size: 0.9375rem;
}

.hx-terms__updated {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.hx-terms__content {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.hx-terms__content section {
  margin-bottom: 1.75rem;
}

.hx-terms__content section:last-child {
  margin-bottom: 0;
}

.hx-terms__content h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #1e293b;
}

.hx-terms__content p,
.hx-terms__content li {
  margin: 0 0 0.65rem;
  color: #475569;
  line-height: 1.85;
  font-size: 0.9rem;
}

.hx-terms__content ul {
  margin: 0.5rem 0 0;
  padding-right: 1.25rem;
}

.hx-terms__content a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.hx-terms__content a:hover {
  text-decoration: underline;
}

.hx-terms__back {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #94a3b8;
}

.hx-terms__back a {
  color: #2563eb;
  text-decoration: none;
}

.hx-terms__back a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hx-terms__content {
    padding: 1.25rem 1rem;
  }
}

/* Hero v2 — seamless, creative, brand-aligned */
.hx-hero-v2 {
  position: relative;
  padding: 1.75rem 0 2.5rem;
  overflow: hidden;
  background: transparent;
}

.hx-hero-v2__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
}

.hx-hero-v2__glow--a {
  top: -6rem;
  right: -4rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(31, 53, 155, 0.14) 0%, transparent 70%);
}

.hx-hero-v2__glow--b {
  bottom: -8rem;
  left: -6rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.hx-hero-v2__grid {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hx-hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-600);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--hx-brand-100);
}

.hx-hero-v2__title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.35;
  font-weight: 900;
  color: var(--hx-slate-900);
  letter-spacing: -0.02em;
}

.hx-hero-v2__highlight {
  color: var(--hx-brand-600);
  position: relative;
}

.hx-hero-v2__highlight::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.1em;
  left: 0;
  height: 0.35em;
  background: linear-gradient(90deg, rgba(31, 53, 155, 0.18), rgba(16, 185, 129, 0.12));
  border-radius: 2px;
  z-index: -1;
}

.hx-hero-v2__desc {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--hx-slate-600);
}

.hx-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hx-hero-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hx-hero-v2__btn--primary {
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 53, 155, 0.28);
}

.hx-hero-v2__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 53, 155, 0.34);
}

.hx-hero-v2__btn--ghost {
  background: #fff;
  color: var(--hx-slate-700);
  border: 1px solid var(--hx-slate-200);
}

.hx-hero-v2__btn--ghost:hover {
  border-color: var(--hx-brand-200);
  color: var(--hx-brand-600);
}

.hx-hero-v2__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.hx-hero-v2__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hx-hero-v2__stats strong {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.hx-hero-v2__stats span {
  font-size: 0.78rem;
  color: var(--hx-slate-500);
}

.hx-hero-v2__visual {
  position: relative;
  min-height: 22rem;
}

.hx-hero-v2__serp {
  position: relative;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 24px 60px rgba(31, 53, 155, 0.1);
}

.hx-hero-v2__serp-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.hx-hero-v2__serp-bar > span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hx-slate-200);
}

.hx-hero-v2__serp-bar > span:nth-child(1) { background: #fb7185; }
.hx-hero-v2__serp-bar > span:nth-child(2) { background: #fbbf24; }
.hx-hero-v2__serp-bar > span:nth-child(3) { background: #34d399; }

.hx-hero-v2__serp-search {
  flex: 1;
  margin-right: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--hx-slate-50);
  color: var(--hx-slate-500);
  font-size: 0.72rem;
}

.hx-hero-v2__serp-body {
  display: grid;
  gap: 0.55rem;
}

.hx-hero-v2__serp-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}

.hx-hero-v2__serp-row.is-active {
  background: var(--hx-brand-50);
  border: 1px solid var(--hx-brand-100);
}

.hx-hero-v2__serp-rank {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--hx-brand-600);
}

.hx-hero-v2__serp-row strong {
  display: block;
  font-size: 0.82rem;
  color: var(--hx-slate-900);
}

.hx-hero-v2__serp-row small {
  display: block;
  font-size: 0.68rem;
  color: var(--hx-slate-400);
  direction: ltr;
  text-align: right;
}

.hx-hero-v2__serp-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--rs-growth-500);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.hx-hero-v2__serp-float {
  position: absolute;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  animation: hx-hero-float 4s ease-in-out infinite;
}

.hx-hero-v2__serp-float span {
  display: block;
  font-size: 0.62rem;
  color: var(--hx-slate-500);
}

.hx-hero-v2__serp-float strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--hx-brand-600);
}

.hx-hero-v2__serp-float--traffic {
  top: -0.5rem;
  left: -1rem;
}

.hx-hero-v2__serp-float--leads {
  bottom: 2rem;
  right: -1.25rem;
  animation-delay: 1.5s;
}

@keyframes hx-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hx-hero-v2__feed {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  width: min(16rem, 70%);
  display: grid;
  gap: 0.45rem;
}

.hx-hero-v2__feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.hx-hero-v2__feed-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.hx-hero-v2__feed-item--green .hx-hero-v2__feed-dot { background: var(--rs-growth-500); }
.hx-hero-v2__feed-item--blue .hx-hero-v2__feed-dot { background: var(--hx-brand-500); }

.hx-hero-v2__feed-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--hx-slate-900);
}

.hx-hero-v2__feed-item small {
  display: block;
  font-size: 0.62rem;
  color: var(--hx-slate-500);
  line-height: 1.6;
}

/* Service pages */
.rs-svc {
  background: var(--hx-slate-50);
}

.rs-svc-hero {
  padding: 1.25rem 0 2rem;
}

.rs-svc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.rs-svc-hero__badge {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-600);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--hx-brand-100);
}

.rs-svc-hero__title {
  margin: 0.85rem 0;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.3;
  font-weight: 900;
  color: var(--hx-slate-900);
  letter-spacing: -0.02em;
}

.rs-svc-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--hx-slate-600);
  max-width: 36rem;
}

.rs-svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.rs-svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.rs-svc-btn--primary {
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 53, 155, 0.25);
}

.rs-svc-cta-desktop {
  display: inline-flex;
}

.rs-svc-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(31, 53, 155, 0.32);
}

.rs-svc-btn--ghost {
  background: #fff;
  color: var(--hx-slate-700);
  border: 1px solid var(--hx-slate-200);
}

.rs-svc-btn--block {
  width: 100%;
}

.rs-svc-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-svc-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hx-slate-600);
}

.rs-svc-hero__trust-icon {
  font-size: 1rem;
}

.rs-svc-hero__panel {
  position: relative;
}

.rs-svc-panel {
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 20px 50px rgba(31, 53, 155, 0.08);
}

.rs-svc-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hx-slate-100);
}

.rs-svc-panel__status {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hx-slate-300);
}

.rs-svc-panel__status.is-live {
  background: var(--rs-growth-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: hx-hero-float 2s ease-in-out infinite;
}

.rs-svc-panel__head strong {
  flex: 1;
  font-size: 0.9rem;
  color: var(--hx-slate-900);
}

.rs-svc-panel__head small {
  width: 100%;
  font-size: 0.72rem;
  color: var(--hx-slate-500);
}

.rs-svc-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.rs-svc-panel__metric {
  padding: 0.65rem;
  border-radius: 0.75rem;
  background: var(--hx-slate-50);
  text-align: center;
}

.rs-svc-panel__metric span {
  display: block;
  font-size: 0.68rem;
  color: var(--hx-slate-500);
}

.rs-svc-panel__metric strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--hx-brand-600);
}

.rs-svc-panel__checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-svc-panel__checks li {
  position: relative;
  padding: 0.4rem 1rem 0.4rem 0;
  font-size: 0.78rem;
  color: var(--hx-slate-600);
}

.rs-svc-panel__checks li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--rs-growth-500);
  font-weight: 900;
}

.rs-svc-panel__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  height: 9rem;
  padding: 0.5rem 0;
}

.rs-svc-panel__chart-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--hx-brand-100);
  position: relative;
  transition: height 0.6s ease;
}

.rs-svc-panel__chart-bar.is-highlight {
  background: linear-gradient(180deg, var(--hx-brand-500), var(--hx-brand-800));
}

.rs-svc-panel__chart-bar span {
  position: absolute;
  bottom: -1.35rem;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 0.62rem;
  color: var(--hx-slate-500);
}

.rs-svc-panel__browser-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.rs-svc-panel__browser-bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hx-slate-200);
}

.rs-svc-panel__browser-body {
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--hx-slate-50);
  min-height: 8rem;
}

.rs-svc-panel__wire {
  height: 0.65rem;
  border-radius: 0.35rem;
  background: var(--hx-slate-200);
  margin-bottom: 0.55rem;
}

.rs-svc-panel__wire--short { width: 60%; }
.rs-svc-panel__wire--cta {
  width: 40%;
  height: 1.75rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--hx-brand-500), var(--hx-brand-800));
}

.rs-svc-panel__caption {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--hx-slate-500);
  text-align: center;
}

.rs-svc-features {
  padding: 1.75rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
  border-bottom: 1px solid var(--hx-slate-100);
}

.rs-svc-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rs-svc-feature-card {
  padding: 1.15rem;
  border-radius: 1rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
}

.rs-svc-feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-svc-feature-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

.rs-svc-content {
  padding: 1.75rem 0;
}

.rs-svc-content__body {
  max-width: 44rem;
  margin: 0 auto;
}

.rs-svc-process,
.rs-svc-results {
  padding: 1.75rem 0;
}

.rs-svc-process {
  background: #fff;
}

.rs-svc-section-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-svc-process__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.rs-svc-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
}

.rs-svc-process__no {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.rs-svc-process__body h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--hx-slate-800);
  line-height: 1.6;
}

.rs-svc-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 48rem;
  margin-inline: auto;
}

.rs-svc-results__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hx-slate-700);
  line-height: 1.6;
}

.rs-svc-results__list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--rs-growth-500);
}

.rs-svc-contact {
  padding: 2rem 0 3.5rem;
  background: linear-gradient(160deg, var(--hx-brand-800), var(--hx-brand-900));
}

.rs-svc-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.rs-svc-contact__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: #fff;
}

.rs-svc-contact__copy p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-size: 0.95rem;
}

.rs-svc-contact__perks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-svc-contact__perks li {
  position: relative;
  padding: 0.35rem 1.25rem 0.35rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
}

.rs-svc-contact__perks li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--rs-growth-500);
}

.rs-svc-contact__form {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.rs-lead-form--service .rs-lead-form__title {
  font-size: 1.15rem;
}

.rs-svc-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--hx-slate-100);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

/* Blog v2 cards — image-agnostic */
.hx-blog-v2 {
  padding: 2.5rem 0;
  background: #fff;
}

.hx-blog-v2__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hx-slate-100);
}

.hx-blog-v2__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.hx-blog-v2__badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--hx-brand-50);
  color: var(--hx-brand-600);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hx-blog-v2__subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hx-slate-400);
}

.hx-blog-v2__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.35;
}

.hx-blog-v2__desc {
  margin: 0;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hx-slate-500);
}

.hx-blog-v2__archive {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--hx-slate-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hx-blog-v2__archive:hover {
  color: var(--hx-brand-600);
}

.hx-blog-v2__archive-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--hx-slate-200);
  transition: 0.2s ease;
}

.hx-blog-v2__archive:hover .hx-blog-v2__archive-icon {
  background: var(--hx-brand-600);
  border-color: var(--hx-brand-600);
  color: #fff;
}

@media (max-width: 767px) {
  .hx-blog-v2__header {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hx-blog-v2__intro {
    text-align: center;
  }

  .hx-blog-v2__labels {
    justify-content: center;
  }

  .hx-blog-v2__desc {
    margin-inline: auto;
  }

  .hx-blog-v2__archive {
    justify-content: center;
    margin-inline: auto;
  }
}

.hx-blog-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hx-blog-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hx-blog-v2__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.hx-blog-v2__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid var(--hx-slate-100);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(31, 53, 155, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hx-blog-v2__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 53, 155, 0.1);
}

.hx-blog-v2__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hx-slate-100);
  text-decoration: none;
}

.hx-blog-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.hx-blog-v2__card:hover .hx-blog-v2__img {
  transform: scale(1.04);
}

.hx-blog-v2__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--hx-brand-300);
  background: linear-gradient(145deg, var(--hx-brand-50), var(--hx-slate-100));
}

.hx-blog-v2__cat {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--hx-brand-600);
  font-size: 0.65rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hx-blog-v2__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
}

.hx-blog-v2__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hx-slate-400);
}

.hx-blog-v2__meta-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--hx-brand-400, var(--hx-brand-500));
}

.hx-blog-v2__card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.55;
}

.hx-blog-v2__card-title a {
  color: var(--hx-slate-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hx-blog-v2__card:hover .hx-blog-v2__card-title a,
.hx-blog-v2__card-title a:hover {
  color: var(--hx-brand-600);
}

.hx-blog-v2__card-excerpt {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--hx-slate-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-blog-v2__read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--hx-brand-600);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.hx-blog-v2__read:hover {
  gap: 0.55rem;
}

/* Pricing v2 */
.hx-pricing-v2 {
  padding: 2.5rem 0;
  background: var(--hx-slate-50);
}

.hx-pricing-v2__header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-inline: auto;
}

.hx-pricing-v2__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.35;
}

.hx-pricing-v2__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--hx-slate-500);
}

.hx-pricing-v2__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--hx-brand-700);
  background: rgba(31, 53, 155, 0.08);
  border: 1px solid rgba(31, 53, 155, 0.14);
}

.hx-pricing-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .hx-pricing-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hx-pricing-v2__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
  }
}

.hx-pricing-v2__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--hx-slate-200);
  box-shadow: 0 8px 24px rgba(31, 53, 155, 0.06);
}

.hx-pricing-v2__card.is-featured {
  border: 2px solid var(--hx-brand-500);
  box-shadow: 0 16px 40px rgba(31, 53, 155, 0.14);
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .hx-pricing-v2__card.is-featured {
    transform: scale(1.03);
    z-index: 1;
  }

  .hx-pricing-v2__card.is-featured:hover {
    transform: scale(1.03) translateY(-6px);
  }
}

.hx-pricing-v2__card.is-dark {
  background: linear-gradient(160deg, var(--hx-slate-900), var(--hx-brand-900));
  border-color: var(--hx-brand-800);
  color: #fff;
}

.hx-pricing-v2__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hx-brand-500), var(--hx-brand-800));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(31, 53, 155, 0.25);
}

.hx-pricing-v2__head {
  margin-bottom: 1rem;
}

.hx-pricing-v2__plan-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.4;
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__plan-title {
  color: #fff;
}

.hx-pricing-v2__card.is-featured .hx-pricing-v2__plan-title {
  color: var(--hx-brand-800);
}

.hx-pricing-v2__plan-sub {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--hx-slate-500);
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__plan-sub {
  color: rgba(255, 255, 255, 0.7);
}

.hx-pricing-v2__price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hx-slate-100);
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__price-wrap {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hx-pricing-v2__price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1;
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__price {
  color: #fff;
}

.hx-pricing-v2__card.is-featured .hx-pricing-v2__price {
  color: var(--hx-brand-700);
}

.hx-pricing-v2__period {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hx-slate-500);
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__period {
  color: rgba(255, 255, 255, 0.65);
}

.hx-pricing-v2__features {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.hx-pricing-v2__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--hx-slate-600);
}

.hx-pricing-v2__feature:last-child {
  margin-bottom: 0;
}

.hx-pricing-v2__feature svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--rs-growth-500);
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__feature {
  color: rgba(255, 255, 255, 0.88);
}

.hx-pricing-v2__card.is-featured .hx-pricing-v2__feature {
  color: var(--hx-slate-700);
  font-weight: 600;
}

.hx-pricing-v2__btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1px solid var(--hx-slate-300);
  color: var(--hx-slate-700);
  background: #fff;
}

.hx-pricing-v2__btn:hover {
  border-color: var(--hx-brand-300);
  color: var(--hx-brand-600);
  background: var(--hx-brand-50);
}

.hx-pricing-v2__card.is-featured .hx-pricing-v2__btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  box-shadow: 0 10px 24px rgba(31, 53, 155, 0.25);
}

.hx-pricing-v2__card.is-featured .hx-pricing-v2__btn:hover {
  opacity: 0.92;
  color: #fff;
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__btn {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

.hx-pricing-v2__card.is-dark .hx-pricing-v2__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hx-widget-highlights .group,
.hx-widget-logos .hx-logos__item,
.hx-widget-features .bg-white,
.hx-widget-blog .hx-blog-v2__card,
.hx-widget-pricing .hx-pricing-v2__card,
.hx-widget-team .group > div,
.hx-widget-testimonials .hx-testimonials-v2__card,
.hx-widget-comparison .grid > div {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hx-widget-highlights .group:hover,
.hx-widget-logos .hx-logos__item:hover,
.hx-widget-features .bg-white:hover,
.hx-widget-pricing .hx-pricing-v2__card:hover,
.hx-widget-team .group > div:hover,
.hx-widget-blog .hx-blog-v2__card:hover,
.hx-widget-testimonials .hx-testimonials-v2__card:hover,
.hx-widget-comparison .grid > div:hover {
  transform: translateY(-6px);
}

.hx-widget-cta > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 53, 155, 0.08), transparent 35%, rgba(16, 185, 129, 0.08));
  pointer-events: none;
}

.hx-widget-cta > div {
  border: 1px solid rgba(31, 53, 155, 0.15);
}

.hx-widget-faq {
  box-shadow: 0 35px 80px rgba(2, 6, 23, 0.18);
}

@media (max-width: 1024px) {
  .hx-hero-v2__grid,
  .rs-svc-hero__grid,
  .rs-svc-contact__grid {
    grid-template-columns: 1fr;
  }

  .hx-hero-v2__visual {
    min-height: 18rem;
    margin-top: 1rem;
  }

  .rs-svc-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-svc-process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hx-hero-v2 {
    padding: 1.5rem 0 2.5rem;
  }

  .hx-hero-v2__actions {
    flex-direction: column;
  }

  .hx-hero-v2__btn {
    width: 100%;
  }

  .hx-hero-v2__stats {
    gap: 0.85rem;
  }

  .hx-hero-v2__feed {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 1rem;
  }

  .hx-hero-v2__serp-float--traffic {
    left: 0;
    top: -0.75rem;
  }

  .hx-hero-v2__serp-float--leads {
    right: 0;
    bottom: -0.75rem;
  }

  .rs-svc-hero__actions {
    flex-direction: column;
  }

  .rs-svc-btn {
    width: 100%;
  }

  .rs-svc-features__grid,
  .rs-svc-process__timeline,
  .rs-svc-results__list {
    grid-template-columns: 1fr;
  }

  .rs-svc-panel__metrics {
    grid-template-columns: 1fr;
  }

  .rs-svc-sticky-cta {
    display: block;
  }

  .rs-svc-cta-desktop {
    display: none !important;
  }

  .rs-svc-contact {
    padding-bottom: 5rem;
  }
}

.rs-portfolio-single {
  padding: 1rem 0 2.5rem;
}

@media (max-width: 767px) {
  .rs-portfolio-single {
    padding: 1rem 1rem 2.5rem;
  }

  .rs-portfolio-page .ranksho-container,
  .rs-portfolio-single .ranksho-container--narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.rs-case-slider {
  position: relative;
  padding: 2rem 0 2.25rem;
  overflow: hidden;
}

.rs-case-slider .ranksho-container {
  position: relative;
}

.rs-case-slider__head {
  text-align: center;
  margin-bottom: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
}

.rs-case-slider__subtitle {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--hx-brand-600);
}

.rs-case-slider__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.rs-case-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rs-case-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hx-slate-200);
  background: #fff;
  color: var(--hx-slate-700);
  cursor: pointer;
  transition: 0.2s ease;
}

.rs-case-slider__btn:hover {
  border-color: var(--hx-brand-200);
  color: var(--hx-brand-600);
  box-shadow: 0 6px 16px rgba(31, 53, 155, 0.1);
}

.rs-case-slider__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -0.25rem;
  padding: 0.25rem;
}

.rs-case-slider__viewport::-webkit-scrollbar {
  display: none;
}

.rs-case-slider__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
}

.rs-case-slider__slide {
  flex: 0 0 17.5rem;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .rs-case-slider__slide {
    flex-basis: 19rem;
  }
}

@media (min-width: 1024px) {
  .rs-case-slider__slide {
    flex-basis: 21.5rem;
  }
}

.rs-case-slider__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 10px 30px rgba(31, 53, 155, 0.07);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-case-slider__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 53, 155, 0.12);
}

.rs-case-slider__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f6fc 0%, #eef2ff 100%);
}

.rs-case-slider__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  transition: transform 0.4s ease;
}

.rs-case-slider__card:hover .rs-case-slider__media img {
  transform: scale(1.03);
}

.rs-case-slider__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
}

.rs-case-slider__type {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.rs-case-slider__type--seo { background: var(--rs-growth-500); }
.rs-case-slider__type--design { background: var(--hx-brand-600); }

.rs-case-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(31, 53, 155, 0.08) 0%,
    rgba(0, 28, 155, 0.82) 55%,
    rgba(0, 28, 155, 0.94) 100%
  );
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rs-case-slider__card:hover .rs-case-slider__overlay,
.rs-case-slider__card:focus-visible .rs-case-slider__overlay {
  opacity: 1;
}

.rs-case-slider__overlay-inner {
  width: 100%;
}

.rs-case-slider__overlay-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
}

.rs-case-slider__overlay-client {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  opacity: 0.88;
}

.rs-case-slider__overlay-meta {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-case-slider__overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.rs-case-slider__body {
  padding: 0.85rem 1rem 1rem;
}

.rs-case-slider__body h2,
.rs-case-slider__body h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.5;
}

.rs-case-slider__client {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--hx-slate-500);
}

.rs-case-slider__meta,
.rs-case-slider__result {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--hx-slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .rs-case-slider__details {
    display: none;
  }
}

.rs-case-slider__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rs-case-slider__dots {
  display: flex;
  gap: 0.4rem;
}

.rs-case-slider__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--hx-slate-300);
  cursor: pointer;
  transition: 0.2s ease;
}

.rs-case-slider__dot.is-active {
  width: 1.25rem;
  border-radius: 999px;
  background: var(--hx-brand-600);
}

.rs-case-slider__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--hx-brand-600);
  text-decoration: none;
}

.rs-case-slider__more:hover {
  color: var(--hx-brand-800);
}

/* Portfolio archive page */
.rs-portfolio-page {
  background: var(--hx-slate-50);
}

.rs-portfolio-hero {
  padding: 1rem 0 1.25rem;
}

.rs-portfolio-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-portfolio-hero__lead {
  margin: 0 0 1rem;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--hx-slate-600);
}

.rs-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rs-portfolio-filters__btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  color: var(--hx-slate-700);
  border: 1px solid var(--hx-slate-200);
  transition: 0.2s ease;
}

.rs-portfolio-filters__btn.is-active,
.rs-portfolio-filters__btn:hover {
  background: var(--hx-brand-600);
  border-color: var(--hx-brand-600);
  color: #fff;
}

.rs-portfolio-grid-section {
  padding: 0 0 2rem;
}

.rs-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rs-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rs-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rs-portfolio-card {
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 10px 28px rgba(31, 53, 155, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 53, 155, 0.12);
}

.rs-portfolio-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rs-portfolio-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f6fc 0%, #eef2ff 100%);
}

.rs-portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.85rem;
  transition: transform 0.35s ease;
}

.rs-portfolio-card:hover .rs-portfolio-card__media img {
  transform: scale(1.03);
}

.rs-portfolio-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
}

.rs-portfolio-card__type {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.rs-portfolio-card__type--seo { background: var(--rs-growth-500); }
.rs-portfolio-card__type--design { background: var(--hx-brand-600); }

.rs-portfolio-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(31, 53, 155, 0.08) 0%,
    rgba(0, 28, 155, 0.82) 55%,
    rgba(0, 28, 155, 0.94) 100%
  );
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rs-portfolio-card:hover .rs-portfolio-card__overlay,
.rs-portfolio-card:focus-within .rs-portfolio-card__overlay {
  opacity: 1;
}

.rs-portfolio-card__overlay-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.rs-portfolio-card__overlay-client {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  opacity: 0.9;
}

.rs-portfolio-card__overlay-meta {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-portfolio-card__overlay-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.rs-portfolio-card__body {
  padding: 0.9rem 1rem 1.05rem;
}

.rs-portfolio-card__body h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-portfolio-card__client {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  color: var(--hx-slate-500);
}

.rs-portfolio-card__meta {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--hx-slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .rs-portfolio-card__details {
    display: none;
  }
}

@media (hover: none) {
  .rs-portfolio-card__overlay,
  .rs-case-slider__overlay {
    display: none;
  }
}

.rs-portfolio-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  border-radius: 1rem;
  background: #fff;
  color: var(--hx-slate-500);
  border: 1px solid var(--hx-slate-100);
}

.rs-portfolio-cta {
  padding: 1.75rem 0 2.5rem;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

/* Process widget v2 — seamless with landing */
.hx-process-v2 {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.hx-process-v2__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hx-process-v2__glow--a {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 53, 155, 0.08) 0%, transparent 70%);
}

.hx-process-v2__glow--b {
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.hx-process-v2__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.hx-process-v2__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.hx-process-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.hx-process-v2__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.35;
}

.hx-process-v2__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--hx-slate-500);
}

.hx-process-v2__slider {
  position: relative;
}

.hx-process-v2__dots {
  display: none;
}

.hx-process-v2__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.hx-process-v2__viewport {
  overflow: visible;
}

/* Desktop: horizontal timeline */
@media (min-width: 1024px) {
  .hx-process-v2__track {
    grid-template-columns: repeat(var(--hx-process-steps, 5), minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .hx-process-v2__track::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    right: calc(100% / var(--hx-process-steps) / 2);
    left: calc(100% / var(--hx-process-steps) / 2);
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--hx-brand-200) 0%,
      var(--hx-brand-500) 50%,
      var(--hx-brand-200) 100%
    );
    opacity: 0.55;
    z-index: 0;
  }

  .hx-process-v2__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .hx-process-v2__marker {
    margin-bottom: 1rem;
  }

  .hx-process-v2__card {
    width: 100%;
    min-height: 7.5rem;
  }
}

.hx-process-v2__marker {
  position: relative;
  z-index: 2;
}

.hx-process-v2__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #fff;
  border: 2px solid var(--hx-brand-100);
  color: var(--hx-brand-600);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(31, 53, 155, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hx-process-v2__step:hover .hx-process-v2__num {
  transform: translateY(-2px);
  border-color: var(--hx-brand-200);
}

.hx-process-v2__step.is-highlight .hx-process-v2__num {
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 32px rgba(31, 53, 155, 0.28);
}

.hx-process-v2__card {
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  border-radius: 1.15rem;
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hx-process-v2__step:hover .hx-process-v2__card {
  border-color: var(--hx-brand-100);
  box-shadow: 0 16px 40px rgba(31, 53, 155, 0.08);
  transform: translateY(-2px);
}

.hx-process-v2__step.is-highlight .hx-process-v2__card {
  border-color: var(--hx-brand-200);
  background: linear-gradient(180deg, #fff 0%, var(--hx-brand-50) 100%);
  box-shadow: 0 16px 40px rgba(31, 53, 155, 0.1);
}

.hx-process-v2__card-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.hx-process-v2__card-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--hx-slate-500);
}

/* Mobile: simple autoplay slider */
@media (max-width: 1023px) {
  .hx-process-v2 {
    padding: 2.25rem 0 2.5rem;
  }

  .hx-process-v2__header {
    margin-bottom: 1.35rem;
  }

  .hx-process-v2__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.2rem 0.15rem 0.35rem;
  }

  .hx-process-v2__viewport::-webkit-scrollbar {
    display: none;
  }

  .hx-process-v2__track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    padding-right: 0;
  }

  .hx-process-v2__step {
    display: flex;
    flex: 0 0 min(84vw, 21rem);
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    padding-bottom: 0;
    scroll-snap-align: center;
    opacity: 0.58;
    transform: scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .hx-process-v2__card {
    width: 100%;
    padding: 1.2rem 1rem 1.05rem;
    text-align: center;
    border-radius: 1.25rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  }

  .hx-process-v2__step.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .hx-process-v2__step.is-active .hx-process-v2__card {
    border-color: var(--hx-brand-100);
    box-shadow: 0 18px 40px rgba(31, 53, 155, 0.1);
  }

  .hx-process-v2__card-title {
    font-size: 1.02rem;
    margin-bottom: 0.45rem;
  }

  .hx-process-v2__card-desc {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .hx-process-v2__dots {
    display: flex;
    justify-content: center;
    gap: 0.42rem;
    margin-top: 0.95rem;
  }

  .hx-process-v2__dot {
    width: 0.42rem;
    height: 0.42rem;
    border: none;
    border-radius: 999px;
    background: var(--hx-slate-200);
    cursor: pointer;
    transition: width 0.22s ease, background-color 0.22s ease;
  }

  .hx-process-v2__dot.is-active {
    width: 1.2rem;
    background: var(--hx-brand-600);
  }
}

/* Author avatars */
.ranksho-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  object-fit: cover;
  flex-shrink: 0;
}

.ranksho-author-avatar--lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(31, 53, 155, 0.18);
}

.ranksho-author-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hx-brand-500), var(--hx-brand-800));
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}

.ranksho-author-avatar--lg.ranksho-author-avatar--fallback {
  font-size: 1.1rem;
}

/* Beauty salon service landing */
.rs-salon {
  background: var(--hx-slate-50);
}

.rs-salon-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.rs-salon-section-head__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.rs-salon-section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.4;
}

.rs-salon-section-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--hx-slate-500);
}

.rs-salon-section-head--light h2,
.rs-salon-section-head--light p {
  color: #fff;
}

.rs-salon-section-head--light .rs-salon-section-head__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.rs-salon-hero {
  position: relative;
  padding: 1.25rem 0 2.25rem;
  overflow: hidden;
}

.rs-salon-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(236, 72, 153, 0.07), transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(31, 53, 155, 0.08), transparent 55%);
}

.rs-salon-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.rs-salon-hero__badge {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fdf2f8, var(--hx-brand-50));
  color: var(--hx-brand-700);
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.rs-salon-hero__kicker {
  margin: 0.85rem 0 0.35rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 900;
  color: var(--hx-slate-800);
  line-height: 1.45;
}

.rs-salon-hero__kicker span {
  color: var(--hx-brand-600);
}

.rs-salon-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.3;
}

.rs-salon-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--hx-slate-600);
}

.rs-salon-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.rs-salon-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-salon-hero__trust li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hx-slate-600);
}

/* Booking mockup */
.rs-salon-mock {
  position: relative;
  min-height: 22rem;
}

.rs-salon-mock__phone {
  position: relative;
  z-index: 2;
  max-width: 17.5rem;
  margin-inline: auto;
  padding: 1rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 24px 60px rgba(31, 53, 155, 0.12);
}

.rs-salon-mock__statusbar {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.rs-salon-mock__statusbar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--hx-slate-200);
}

.rs-salon-mock__header strong {
  display: block;
  font-size: 0.88rem;
  color: var(--hx-slate-900);
}

.rs-salon-mock__header small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: var(--hx-slate-500);
}

.rs-salon-mock__prompt {
  margin: 0.85rem 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hx-slate-600);
}

.rs-salon-mock__services {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.rs-salon-mock__services li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
  font-size: 0.75rem;
}

.rs-salon-mock__services li.is-active {
  border-color: #f9a8d4;
  background: linear-gradient(135deg, #fdf2f8, #fff);
}

.rs-salon-mock__services li span {
  font-weight: 800;
  color: var(--hx-slate-800);
}

.rs-salon-mock__services li small {
  color: var(--hx-slate-500);
  font-size: 0.65rem;
}

.rs-salon-mock__services li em {
  font-style: normal;
  color: var(--rs-growth-500);
  font-weight: 900;
}

.rs-salon-mock__confirm {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #bbf7d0;
}

.rs-salon-mock__confirm-icon {
  font-size: 1.1rem;
}

.rs-salon-mock__confirm strong {
  display: block;
  font-size: 0.78rem;
  color: var(--hx-slate-900);
}

.rs-salon-mock__confirm small {
  display: block;
  font-size: 0.65rem;
  color: var(--hx-slate-500);
}

.rs-salon-mock__toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  font-size: 0.72rem;
  z-index: 3;
  animation: hx-hero-float 4s ease-in-out infinite;
}

.rs-salon-mock__toast strong {
  display: block;
  color: var(--hx-slate-900);
}

.rs-salon-mock__toast small {
  display: block;
  color: var(--hx-slate-500);
  margin-top: 0.1rem;
}

.rs-salon-mock__toast--tg {
  top: 12%;
  left: 0;
  animation-delay: 0.5s;
}

.rs-salon-mock__toast--slot {
  bottom: 8%;
  right: 0;
  animation-delay: 1s;
}

/* Pain points */
.rs-salon-pains {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-salon-pains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rs-salon-pain-card {
  padding: 1.25rem;
  border-radius: 1.15rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-salon-pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.rs-salon-pain-card__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.65rem;
}

.rs-salon-pain-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-salon-pain-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--hx-slate-600);
}

/* Features grid */
.rs-salon-features {
  padding: 2rem 0;
}

.rs-salon-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.rs-salon-feature-card {
  padding: 1.1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rs-salon-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--hx-brand-100);
}

.rs-salon-feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.rs-salon-feature-card__icon {
  font-size: 1.35rem;
}

.rs-salon-feature-card__tag {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  white-space: nowrap;
}

.rs-salon-feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.rs-salon-feature-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

/* Video section */
.rs-salon-video {
  padding: 2.25rem 0;
  background: linear-gradient(160deg, var(--hx-brand-800), var(--hx-brand-900));
}

.rs-salon-video__player {
  max-width: 48rem;
  margin: 0 auto;
}

.rs-salon-video__placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 1.5rem;
}

.rs-salon-video__play {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.rs-salon-video__placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 0.95rem;
}

.rs-salon-video__placeholder small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.rs-salon-video__hint {
  margin: 1rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Booking steps */
.rs-salon-steps {
  padding: 2rem 0;
  background: #fff;
}

.rs-salon-steps__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.rs-salon-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.rs-salon-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
}

.rs-salon-steps__no {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
}

.rs-salon-steps__item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-salon-steps__item p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

.rs-salon-calendar {
  padding: 1.15rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #fdf2f8, #fff);
  border: 1px solid #fbcfe8;
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.08);
}

.rs-salon-calendar__head span {
  display: block;
  font-size: 0.68rem;
  color: var(--hx-slate-500);
  margin-bottom: 0.25rem;
}

.rs-salon-calendar__head strong {
  display: block;
  font-size: 0.95rem;
  color: var(--hx-slate-900);
}

.rs-salon-calendar__week,
.rs-salon-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-top: 0.85rem;
  text-align: center;
}

.rs-salon-calendar__week span {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--hx-slate-500);
}

.rs-salon-calendar__days span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hx-slate-700);
  background: #fff;
  border: 1px solid var(--hx-slate-100);
}

.rs-salon-calendar__days .is-selected {
  background: var(--hx-brand-600);
  color: #fff;
  border-color: transparent;
}

.rs-salon-calendar__days .is-blocked {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
  text-decoration: line-through;
}

.rs-salon-calendar__legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  color: var(--hx-slate-600);
}

.rs-salon-calendar__legend i {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.2rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.rs-salon-calendar__legend .is-free { background: var(--rs-growth-500); }
.rs-salon-calendar__legend .is-blocked { background: #f87171; }

/* Testimonials */
.rs-salon-testimonials {
  padding: 2rem 0;
  background: var(--hx-slate-50);
}

.rs-salon-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rs-salon-testimonial {
  margin: 0;
  padding: 1.25rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.rs-salon-testimonial__stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #f59e0b;
}

.rs-salon-testimonial__verified {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--hx-slate-500);
}

.rs-salon-testimonial p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--hx-slate-700);
}

.rs-salon-testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rs-salon-testimonial__avatar {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #fdf2f8, var(--hx-brand-50));
  color: var(--hx-brand-700);
  font-weight: 900;
  font-size: 0.85rem;
}

.rs-salon-testimonial footer strong {
  display: block;
  font-size: 0.82rem;
  color: var(--hx-slate-900);
}

.rs-salon-testimonial footer small {
  display: block;
  font-size: 0.68rem;
  color: var(--hx-slate-500);
  margin-top: 0.1rem;
}

/* FAQ */
.rs-salon-faq {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-salon-faq__inner {
  max-width: 40rem;
}

.rs-salon-faq__item {
  border: 1px solid var(--hx-slate-100);
  border-radius: 1rem;
  background: var(--hx-slate-50);
  overflow: hidden;
}

.rs-salon-faq__item summary {
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hx-slate-900);
  cursor: pointer;
  list-style: none;
}

.rs-salon-faq__item summary::-webkit-details-marker {
  display: none;
}

.rs-salon-faq__item summary::after {
  content: "+";
  float: left;
  font-size: 1.1rem;
  color: var(--hx-brand-600);
}

.rs-salon-faq__item[open] summary::after {
  content: "−";
}

.rs-salon-faq__item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--hx-slate-600);
}

@media (max-width: 1024px) {
  .rs-salon-hero__grid,
  .rs-salon-steps__layout {
    grid-template-columns: 1fr;
  }

  .rs-salon-mock {
    max-width: 20rem;
    margin: 0 auto;
  }

  .rs-salon-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-salon-pains__grid,
  .rs-salon-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rs-salon-features__grid {
    grid-template-columns: 1fr;
  }

  .rs-salon-mock__toast--tg {
    left: -0.5rem;
  }

  .rs-salon-mock__toast--slot {
    right: -0.5rem;
  }
}

/* Educational website service landing */
.rs-edu {
  background: var(--hx-slate-50);
}

.rs-edu-section__eyebrow,
.rs-about-section__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.rs-edu-section-head,
.rs-about-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.rs-edu-section-head h2,
.rs-about-section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.4;
}

.rs-edu-section-head p,
.rs-about-section-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--hx-slate-500);
}

.rs-edu-section-head--light h2,
.rs-edu-section-head--light p {
  color: #fff;
}

.rs-edu-section-head--light .rs-edu-section__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.rs-edu-hero {
  position: relative;
  padding: 1.25rem 0 2.25rem;
  overflow: hidden;
}

.rs-edu-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 80% 15%, rgba(99, 102, 241, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(31, 53, 155, 0.08), transparent 55%);
}

.rs-edu-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.rs-edu-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.rs-edu-hero__badges span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hx-slate-200);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--hx-slate-700);
}

.rs-edu-hero__badges span:first-child {
  background: linear-gradient(135deg, #fef2f2, #fff);
  border-color: #fecaca;
  color: #b91c1c;
}

.rs-edu-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.3;
}

.rs-edu-hero__lead {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--hx-slate-600);
}

.rs-edu-hero__price {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: var(--hx-slate-600);
}

.rs-edu-hero__price strong {
  color: var(--hx-brand-700);
}

.rs-edu-hero__actions {
  margin-bottom: 1rem;
}

.rs-edu-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-edu-hero__trust li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hx-slate-600);
}

.rs-edu-player__card {
  max-width: 18rem;
  margin-inline: auto;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 24px 60px rgba(31, 53, 155, 0.1);
}

.rs-edu-player__badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.65rem;
  border-radius: 0.4rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.65rem;
  font-weight: 800;
}

.rs-edu-player__screen {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--hx-slate-900), var(--hx-brand-900));
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.rs-edu-player__play {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}

.rs-edu-player__screen p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.rs-edu-player__lock,
.rs-edu-player__providers {
  margin-top: 0.65rem;
  font-size: 0.68rem;
  color: var(--hx-slate-500);
  text-align: center;
}

.rs-edu-hls {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-edu-hls__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.rs-edu-hls__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-edu-hls__copy > p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--hx-slate-600);
}

.rs-edu-hls__copy h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-800);
}

.rs-edu-hls__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.rs-edu-hls__benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.rs-edu-hls__check {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 900;
}

.rs-edu-hls__benefits strong {
  display: block;
  font-size: 0.85rem;
  color: var(--hx-slate-900);
  margin-bottom: 0.15rem;
}

.rs-edu-hls__benefits p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

.rs-edu-hls__providers h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-edu-provider-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
  border-radius: 0.85rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
}

.rs-edu-provider-card__icon {
  font-size: 1.25rem;
}

.rs-edu-provider-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--hx-slate-900);
}

.rs-edu-provider-card p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--hx-slate-600);
}

.rs-edu-hls__note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--hx-slate-500);
  line-height: 1.7;
}

.rs-edu-features {
  padding: 2rem 0;
}

.rs-edu-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.rs-edu-feature-card {
  padding: 1.1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rs-edu-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--hx-brand-100);
}

.rs-edu-feature-card__icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.55rem;
}

.rs-edu-feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-edu-feature-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

.rs-edu-process {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-edu-process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.rs-edu-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.1rem 0.85rem;
  border-radius: 1rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
}

.rs-edu-process__no {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.rs-edu-process__step h3 {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-edu-process__step p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--hx-slate-600);
}

.rs-edu-pricing {
  padding: 2.25rem 0;
  background: linear-gradient(160deg, var(--hx-brand-800), var(--hx-brand-900));
}

.rs-edu-pricing__hero {
  max-width: 28rem;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-edu-pricing__hero span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.rs-edu-pricing__hero strong {
  display: block;
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
}

.rs-edu-pricing__hero small {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.rs-edu-pricing__factors {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 1.15rem;
  background: #fff;
}

.rs-edu-pricing__factors h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-edu-pricing__factors ul {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.rs-edu-pricing__factors li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hx-slate-100);
  font-size: 0.82rem;
  color: var(--hx-slate-700);
}

.rs-edu-pricing__factors li em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  white-space: nowrap;
}

.rs-edu-pricing__factors > p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--hx-slate-500);
  line-height: 1.7;
}

.rs-edu-faq {
  padding: 2rem 0;
  background: var(--hx-slate-50);
}

.rs-edu-faq__inner {
  max-width: 40rem;
}

.rs-edu-faq__item {
  margin-bottom: 0.65rem;
  border: 1px solid var(--hx-slate-100);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.rs-edu-faq__item summary {
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--hx-slate-900);
  cursor: pointer;
  list-style: none;
}

.rs-edu-faq__item summary::-webkit-details-marker {
  display: none;
}

.rs-edu-faq__item summary::after {
  content: "+";
  float: left;
  color: var(--hx-brand-600);
}

.rs-edu-faq__item[open] summary::after {
  content: "−";
}

.rs-edu-faq__item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--hx-slate-600);
}

/* About page */
.rs-about {
  background: var(--hx-slate-50);
}

.rs-about-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
  text-align: center;
}

.rs-about-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31, 53, 155, 0.1), transparent 70%);
}

.rs-about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.rs-about-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.35;
}

.rs-about-hero p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--hx-slate-600);
}

.rs-about-story {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-about-story__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.rs-about-story__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

.rs-about-story__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--hx-slate-200);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--hx-slate-200);
}

.rs-about-story__dot.is-active {
  background: var(--hx-brand-600);
  box-shadow: 0 0 0 2px var(--hx-brand-200);
}

.rs-about-story__line {
  width: 2px;
  height: 3rem;
  background: linear-gradient(180deg, var(--hx-brand-200), var(--hx-slate-200));
}

.rs-about-story__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-about-story__text p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--hx-slate-600);
}

.rs-about-story__text em {
  color: var(--hx-brand-700);
  font-style: normal;
  font-weight: 700;
}

.rs-about-mission {
  padding: 2rem 0;
}

.rs-about-mission__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.rs-about-mission-card {
  padding: 1.15rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.rs-about-mission-card__no {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 0.5rem;
  background: var(--hx-brand-50);
  color: var(--hx-brand-700);
  font-size: 0.8rem;
  font-weight: 900;
}

.rs-about-mission-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.rs-about-mission-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--hx-slate-600);
}

.rs-about-team {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-100);
}

.rs-about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.rs-about-team-card {
  padding: 1.5rem;
  border-radius: 1.15rem;
  background: var(--hx-slate-50);
  border: 1px solid var(--hx-slate-100);
  text-align: center;
}

.rs-about-team-card__avatar {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--hx-brand-600), var(--hx-brand-800));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.rs-about-team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.rs-about-team-card__role {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--hx-brand-600);
}

.rs-about-team-card > p:last-child {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--hx-slate-600);
}

.rs-about-why {
  padding: 2rem 0;
}

.rs-about-why__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.rs-about-why h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.rs-about-why > p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--hx-slate-600);
}

.rs-about-why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.rs-about-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hx-slate-100);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hx-slate-700);
  line-height: 1.7;
}

.rs-about-why__check {
  flex-shrink: 0;
  color: var(--rs-growth-500);
  font-weight: 900;
}

.rs-about-cta {
  padding: 2rem 0 3rem;
  background: linear-gradient(160deg, var(--hx-brand-800), var(--hx-brand-900));
}

.rs-about-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.rs-about-cta__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
}

.rs-about-cta__copy p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.rs-about-cta__link {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.rs-about-cta__form {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .rs-edu-hero__grid,
  .rs-edu-hls__grid,
  .rs-about-cta__grid {
    grid-template-columns: 1fr;
  }

  .rs-edu-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-edu-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-about-mission__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-about-story__grid {
    grid-template-columns: 1fr;
  }

  .rs-about-story__timeline {
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1rem;
  }

  .rs-about-story__line {
    width: 3rem;
    height: 2px;
  }
}

@media (max-width: 640px) {
  .rs-edu-features__grid,
  .rs-edu-process__steps,
  .rs-about-mission__grid,
  .rs-about-team__grid {
    grid-template-columns: 1fr;
  }
}

/* Landing density — less vertical scroll */
.hx-widget-blog,
.hx-widget-process,
.hx-widget-testimonials,
.hx-widget-team,
.hx-widget-faq,
.hx-widget-cta {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.hx-widget-features,
.hx-widget-comparison,
.hx-widget-pricing {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.hx-widget-process.rounded-\[2rem\],
.hx-widget-faq.rounded-\[2rem\] {
  border-radius: 0 !important;
}

.hx-process-v2.hx-widget-process {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Blog archive — prevent horizontal overflow on mobile */
.hx-blog-archive {
  overflow-x: clip;
  max-width: 100%;
}

.hx-blog-archive #posts-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hx-blog-archive .hx-card {
  width: 100%;
  max-width: 100%;
}

.hx-blog-archive .hx-blog-v2__img {
  width: 100%;
  max-width: 100%;
}

/* Testimonials v2 */
.hx-testimonials-v2 {
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid var(--hx-slate-50);
}

.hx-testimonials-v2__head {
  text-align: center;
  margin-bottom: 1.75rem;
  max-width: 36rem;
  margin-inline: auto;
}

.hx-testimonials-v2__badge {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hx-brand-600);
}

.hx-testimonials-v2__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: var(--hx-slate-900);
  line-height: 1.45;
}

.hx-testimonials-v2__accent {
  width: 3rem;
  height: 0.2rem;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: var(--hx-brand-600);
}

.hx-testimonials-v2__stage {
  position: relative;
  min-height: 14rem;
}

.hx-testimonials-v2__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hx-testimonials-v2__slide {
  min-width: 0;
}

.hx-testimonials-v2__card {
  position: relative;
  height: 100%;
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #f8faff 0%, #fff 55%);
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 12px 32px rgba(31, 53, 155, 0.06);
  transition: transform 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease;
}

.hx-testimonials-v2__mark {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  font-size: 4.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(31, 53, 155, 0.06);
  pointer-events: none;
}

.hx-testimonials-v2__quote {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.9;
  font-weight: 500;
  color: var(--hx-slate-600);
}

.hx-testimonials-v2__quote p {
  margin: 0;
}

.hx-testimonials-v2__footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hx-slate-100);
}

.hx-testimonials-v2__avatar {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--hx-brand-50);
  flex-shrink: 0;
}

.hx-testimonials-v2__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hx-testimonials-v2__avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
  color: var(--hx-brand-600);
}

.hx-testimonials-v2__verified {
  position: absolute;
  bottom: -0.15rem;
  left: -0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--hx-brand-600);
  color: #fff;
  border: 2px solid #fff;
}

.hx-testimonials-v2__name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--hx-slate-900);
}

.hx-testimonials-v2__role {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hx-slate-400);
}

.hx-testimonials-v2__dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hx-testimonials-v2__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: none;
  background: var(--hx-slate-200);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hx-testimonials-v2__dot.is-active {
  width: 1.35rem;
  background: var(--hx-brand-600);
}

.hx-testimonials-v2__empty {
  text-align: center;
  color: var(--hx-slate-400);
  font-style: italic;
}

@media (max-width: 767px) {
  .hx-testimonials-v2__track {
    display: block;
    position: relative;
    min-height: 16rem;
  }

  .hx-testimonials-v2__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .hx-testimonials-v2__slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hx-testimonials-v2__slide.is-active .hx-testimonials-v2__card {
    animation: hx-testimonial-float 4s ease-in-out infinite;
  }

  .hx-testimonials-v2__dots {
    display: flex;
  }
}

@keyframes hx-testimonial-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Article share popup */
.rs-share {
  position: relative;
}

.rs-share__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hx-slate-100);
  background: var(--hx-slate-50);
  color: var(--hx-slate-400);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rs-share__toggle:hover,
.rs-share__toggle[aria-expanded="true"] {
  color: var(--hx-brand-600);
  border-color: var(--hx-brand-200);
  background: #fff;
}

.rs-share__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 40;
  min-width: 11.5rem;
  padding: 0.65rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid var(--hx-slate-100);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.rs-share__panel-title {
  margin: 0 0 0.45rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--hx-slate-400);
}

.rs-share__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rs-share__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hx-slate-700);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: right;
  transition: background 0.2s ease, color 0.2s ease;
}

.rs-share__link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.rs-share__link:hover {
  background: var(--hx-slate-50);
  color: var(--hx-brand-600);
}

.rs-share__link--telegram:hover { color: #229ed9; }
.rs-share__link--whatsapp:hover { color: #25d366; }
.rs-share__link--linkedin:hover { color: #0a66c2; }
.rs-share__link--x:hover { color: #111827; }

/* Mobile bottom nav */
.rs-mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  body:not(.hx-panel-body):not(.hx-panel-auth) {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.rs-mobile-nav--sheet-open {
    overflow: hidden;
  }

  .rs-mobile-nav {
    display: block;
  }

  .rs-mobile-nav__bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9985;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--hx-slate-100);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
  }

  .rs-mobile-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.15rem;
    padding: 0.35rem 0.4rem 0.45rem;
  }

  .rs-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.35rem 0.15rem;
    text-decoration: none;
    color: var(--hx-slate-500);
    border-radius: 0.75rem;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .rs-mobile-nav__item--trigger {
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    width: 100%;
  }

  .rs-mobile-nav__item.is-active {
    color: var(--hx-brand-600);
    background: rgba(31, 53, 155, 0.06);
  }

  .rs-mobile-nav__icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .rs-mobile-nav__label {
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rs-mobile-nav__sheet {
    position: fixed;
    inset: 0;
    z-index: 9990;
  }

  .rs-mobile-nav__sheet-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
  }

  .rs-mobile-nav__sheet-panel {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    max-height: min(22rem, 55vh);
    overflow: auto;
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid var(--hx-slate-100);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    animation: rs-mobile-sheet-in 0.28s ease;
  }

  @keyframes rs-mobile-sheet-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .rs-mobile-nav__sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--hx-slate-100);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .rs-mobile-nav__sheet-head h2 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--hx-slate-900);
  }

  .rs-mobile-nav__sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.6rem;
    background: var(--hx-slate-50);
    color: var(--hx-slate-500);
    cursor: pointer;
  }

  .rs-mobile-nav__sheet-close svg {
    width: 1rem;
    height: 1rem;
  }

  .rs-mobile-nav__sheet-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
  }

  .rs-mobile-nav__sheet-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--hx-slate-700);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .rs-mobile-nav__sheet-link:hover,
  .rs-mobile-nav__sheet-link:focus-visible {
    background: rgba(31, 53, 155, 0.06);
    color: var(--hx-brand-600);
  }

  .rs-mobile-nav__sheet-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--hx-slate-400);
  }

  .rs-mobile-nav__sheet-empty {
    padding: 1rem;
    text-align: center;
    color: var(--hx-slate-400);
    font-size: 0.85rem;
  }

  .rs-svc-sticky-cta {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .rs-svc-contact {
    padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
  }
}

