/* Apex Servers — premium hosting theme (strict palette) */

:root {
  --apex-primary: #ff1648;
  --apex-primary-hover: #e0143f;
  --apex-primary-soft: rgba(255, 22, 72, 0.1);
  --apex-black: #000000;
  --apex-bg-dark: #0b0b0b;
  --apex-card: #111111;
  --apex-white: #ffffff;
  --apex-text-muted: #5e5f63;
  --apex-light-gray: #bfbfbf;
  --apex-border: #222222;
  --apex-page-bg: #f9fafb;
  --apex-surface: #ffffff;
  --apex-border-light: #e0e2ea;
  --apex-body-text: #3d3e47;
  --apex-heading: #0a0a0d;
  --apex-ease: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --apex-ease-snappy: 0.2s ease-out;
  --apex-radius: 12px;
  --apex-glow: 0 0 40px rgba(255, 22, 72, 0.22);
  --apex-shadow-sm: 0 1px 2px rgba(15, 15, 22, 0.04);
  --apex-shadow-md: 0 8px 30px rgba(15, 15, 22, 0.07);
  --apex-shadow-lg: 0 20px 50px rgba(15, 15, 22, 0.1);
  --apex-shadow-card: 0 4px 24px rgba(15, 15, 22, 0.06);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.apex-site {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--apex-page-bg);
  color: var(--apex-body-text);
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "ss01";
  -webkit-font-smoothing: antialiased;
}

.apex-site ::selection {
  background: rgba(255, 22, 72, 0.18);
  color: var(--apex-heading);
}

.apex-site h1,
.apex-site h2,
.apex-site h3,
.apex-site h4,
.apex-site h5,
.apex-site h6 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  color: var(--apex-heading);
  letter-spacing: -0.02em;
}

.apex-site .apex-hero h1,
.apex-site .apex-hero .apex-hero__title,
.apex-site .apex-page-hero h1,
.apex-site .apex-footer h1,
.apex-site .apex-footer h2,
.apex-site .apex-footer h3,
.apex-site .apex-footer h4,
.apex-site .apex-footer h5,
.apex-site .apex-footer h6,
.apex-site .apex-security h2,
.apex-site .apex-network--dark h2 {
  color: var(--apex-white);
}

.apex-main [id] {
  scroll-margin-top: 5.5rem;
}

.apex-main {
  min-height: 50vh;
}

/* ——— Header ——— */
.apex-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--apex-ease), box-shadow var(--apex-ease), border-color var(--apex-ease), backdrop-filter var(--apex-ease);
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
}

.apex-header--solid {
  background: var(--apex-black);
  border-bottom-color: var(--apex-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.apex-header__bar {
  padding: 1.05rem 0;
}

.apex-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.apex-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity var(--apex-ease), transform var(--apex-ease-snappy);
}

.apex-logo__icon {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 20px rgba(0, 0, 0, 0.22);
}

.apex-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.apex-brand-wordmark__strong {
  font-weight: 800;
  color: var(--apex-white);
}

.apex-brand-wordmark__soft {
  margin-left: 0.22em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
}

.apex-logo:hover {
  opacity: 0.95;
}

.apex-logo:hover .apex-brand-wordmark__soft {
  color: rgba(255, 255, 255, 0.68);
}

.apex-logo:hover .apex-logo__icon {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 8px 28px rgba(255, 22, 72, 0.35);
}

.apex-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.35rem;
}

.apex-nav__list > li > a:not(.apex-nav__cta-btn) {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  transition: color var(--apex-ease-snappy);
}

.apex-nav__list > li > a:not(.apex-nav__cta-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--apex-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--apex-ease);
  opacity: 0.95;
}

.apex-nav__list > li > a:not(.apex-nav__cta-btn):hover {
  color: var(--apex-white);
}

.apex-nav__list > li > a:not(.apex-nav__cta-btn):hover::after {
  transform: scaleX(1);
}

.apex-nav__item--cta {
  margin-left: 0.35rem;
}

.apex-nav__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--apex-white) !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--apex-ease), border-color var(--apex-ease), color var(--apex-ease), box-shadow var(--apex-ease), transform var(--apex-ease-snappy);
}

.apex-nav__cta-btn:hover {
  background: var(--apex-primary);
  border-color: var(--apex-primary);
  color: var(--apex-white) !important;
  box-shadow: 0 8px 24px rgba(255, 22, 72, 0.35);
  transform: translateY(-1px);
}

.apex-nav__cta-btn:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 3px;
}

.apex-nav__item--dropdown {
  position: relative;
}

.apex-nav__parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.apex-nav__caret {
  font-size: 0.65rem;
  opacity: 0.75;
}

.apex-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: linear-gradient(165deg, #121216 0%, #0a0a0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--apex-ease), transform var(--apex-ease), visibility var(--apex-ease);
  z-index: 1001;
}

.apex-nav__dropdown--rich {
  min-width: 288px;
  padding: 0.55rem 0;
}

.apex-nav__item--dropdown:hover .apex-nav__dropdown,
.apex-nav__item--dropdown:focus-within .apex-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
}

.apex-nav__dropdown li {
  margin: 0;
}

.apex-nav__dropdown a {
  display: block;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  transition: background var(--apex-ease-snappy);
}

.apex-nav__dropdown a:hover {
  color: var(--apex-primary);
  background: rgba(255, 22, 72, 0.08);
}

.apex-nav__dropdown--rich a {
  padding: 0.65rem 1.2rem;
}

.apex-nav__dropdown--rich a:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
}

.apex-nav__drop-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  transition: color var(--apex-ease-snappy);
}

.apex-nav__drop-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--apex-ease-snappy);
}

.apex-nav__dropdown--rich a:hover .apex-nav__drop-title {
  color: var(--apex-primary);
}

.apex-nav__dropdown--rich a:hover .apex-nav__drop-desc {
  color: rgba(255, 255, 255, 0.48);
}

.apex-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.apex-icon-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--apex-white);
  border-radius: var(--apex-radius);
  border: 1px solid transparent;
  transition: color var(--apex-ease), border-color var(--apex-ease), background var(--apex-ease), box-shadow var(--apex-ease);
}

.apex-icon-link:hover {
  color: var(--apex-primary);
  border-color: var(--apex-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--apex-glow);
}

.apex-icon-link:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 2px;
}

.apex-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  margin-left: 0.25rem;
}

.apex-burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--apex-white);
  border-radius: 2px;
  transition: transform var(--apex-ease), opacity var(--apex-ease);
}

.apex-burger:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 2px;
}

.apex-header--open .apex-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.apex-header--open .apex-burger span:nth-child(2) {
  opacity: 0;
}

.apex-header--open .apex-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.apex-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.apex-header--open .apex-drawer {
  display: block;
}

.apex-drawer__panel {
  background: var(--apex-black);
  border-bottom: 1px solid var(--apex-border);
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.apex-drawer__label {
  margin: 0 0 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.apex-drawer__section {
  margin: 1.25rem 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.apex-drawer__section:first-of-type {
  margin-top: 0;
}

.apex-drawer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apex-drawer__nav li {
  border-bottom: 1px solid var(--apex-border);
}

.apex-drawer__nav a {
  display: block;
  padding: 0.9rem 0;
  color: var(--apex-white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--apex-ease);
}

.apex-drawer__nav a:hover {
  color: var(--apex-primary);
}

.apex-drawer__nav--tight a {
  padding: 0.72rem 0;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.apex-drawer__nav--tight li:last-child {
  border-bottom: none;
}

@media (max-width: 991px) {
  .apex-nav {
    display: none;
  }

  .apex-burger {
    display: inline-flex;
  }
}

/* ——— Hero ——— */
.apex-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 6rem;
  background-color: #050505;
  background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=2560&q=88");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.apex-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.66);
}

.apex-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.apex-hero__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.apex-hero__title {
  font-size: clamp(2.65rem, 6.5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.038em;
  max-width: 20ch;
  margin-bottom: 1.35rem;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.apex-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 38ch;
  margin-bottom: 2rem;
  font-weight: 400;
}

.apex-site .apex-hero__lead a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 0.2em;
  transition: color var(--apex-ease-snappy), text-decoration-color var(--apex-ease-snappy), opacity var(--apex-ease-snappy);
}

.apex-site .apex-hero__lead a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

.apex-site .apex-hero__lead a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}

.apex-hero__checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.apex-hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.95rem;
}

.apex-hero__checks i {
  color: var(--apex-primary);
  font-size: 0.88rem;
  width: 1.25rem;
  text-align: center;
}

.apex-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.apex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.015em;
  border-radius: var(--apex-radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--apex-ease), color var(--apex-ease), border-color var(--apex-ease), transform var(--apex-ease), box-shadow var(--apex-ease);
}

.apex-btn:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 3px;
}

.apex-btn--primary {
  background: var(--apex-primary);
  color: var(--apex-white);
  box-shadow: 0 10px 32px rgba(255, 22, 72, 0.28);
}

.apex-btn--primary:hover {
  background: var(--apex-primary-hover);
  color: var(--apex-white);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 22, 72, 0.38);
}

.apex-btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--apex-white);
  background: rgba(255, 255, 255, 0.04);
}

.apex-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--apex-white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.apex-btn--hero-primary {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 40px rgba(255, 22, 72, 0.42), 0 0 60px rgba(255, 22, 72, 0.18);
}

.apex-btn--hero-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 48px rgba(255, 22, 72, 0.5), 0 0 72px rgba(255, 22, 72, 0.25);
}

.apex-btn--hero-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.apex-btn--hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 32px rgba(255, 22, 72, 0.15);
}

/* ——— Section shells ——— */
.apex-section {
  padding: 6rem 0;
}

.apex-section--tight {
  padding: 4.75rem 0;
}

.apex-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.apex-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.25rem;
}

.apex-section__kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--apex-primary);
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--apex-primary-soft);
  border: 1px solid rgba(255, 22, 72, 0.12);
}

.apex-section__title {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.apex-section__sub {
  color: var(--apex-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Services grid ——— */
.apex-services {
  background: var(--apex-surface);
  border-top: 1px solid var(--apex-border-light);
}

.apex-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1199px) {
  .apex-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .apex-service-grid {
    grid-template-columns: 1fr;
  }
}

.apex-service-card {
  position: relative;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 4px);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--apex-shadow-card);
  transition: transform var(--apex-ease), border-color var(--apex-ease), box-shadow var(--apex-ease);
}

.apex-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--apex-primary), rgba(255, 22, 72, 0.35));
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity var(--apex-ease), transform var(--apex-ease);
}

.apex-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 22, 72, 0.22);
  box-shadow: var(--apex-shadow-lg), 0 0 0 1px rgba(255, 22, 72, 0.06);
}

.apex-service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.apex-service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: calc(var(--apex-radius) - 2px);
  border: 1px solid var(--apex-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apex-primary);
  font-size: 1.3rem;
  margin-bottom: 1.35rem;
  background: linear-gradient(145deg, rgba(255, 22, 72, 0.09), rgba(255, 22, 72, 0.03));
}

.apex-service-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.apex-service-card__text {
  flex: 1;
  color: var(--apex-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.apex-service-card .apex-btn--primary {
  align-self: flex-start;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

.apex-services--primary .apex-section__head {
  margin-bottom: 3.5rem;
}

.apex-services--primary .apex-service-grid {
  align-items: stretch;
  gap: 1.75rem;
}

.apex-services--primary .apex-service-card {
  min-height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.apex-services--primary .apex-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--apex-shadow-lg), 0 0 48px rgba(255, 22, 72, 0.12), 0 0 0 1px rgba(255, 22, 72, 0.1);
}

/* ——— Trust bar (under hero) ——— */
.apex-trust-bar {
  background: linear-gradient(180deg, #080808 0%, #0c0c0c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.35rem 0;
}

.apex-trust-bar__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.apex-trust-bar__label {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.apex-trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.5rem;
}

.apex-trust-bar__logo {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.apex-trust-bar__logo:hover {
  color: #ffffff;
}

/* ——— Why choose (merged features) ——— */
.apex-why {
  background: #fafbfc;
  border-top: 1px solid var(--apex-border-light);
}

.apex-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .apex-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .apex-why-grid {
    grid-template-columns: 1fr;
  }
}

.apex-why-card {
  padding: 1.85rem 1.5rem;
  border-radius: calc(var(--apex-radius) + 4px);
  border: 1px solid var(--apex-border-light);
  background: var(--apex-surface);
  box-shadow: var(--apex-shadow-card);
  min-height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.apex-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 22, 72, 0.2);
  box-shadow: var(--apex-shadow-md), 0 0 36px rgba(255, 22, 72, 0.08);
}

.apex-why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--apex-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ff1749;
  background: rgba(255, 23, 73, 0.08);
  border: 1px solid rgba(255, 23, 73, 0.2);
  margin-bottom: 1.15rem;
  transition: box-shadow 0.3s ease;
}

.apex-why-card:hover .apex-why-card__icon {
  box-shadow: 0 0 24px rgba(255, 22, 72, 0.35);
}

.apex-why-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--apex-heading);
}

.apex-why-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--apex-text-muted);
}

/* ——— Security / badges ——— */
.apex-security {
  background: #000000;
  color: rgba(255, 255, 255, 0.78);
  padding: 5.25rem 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.apex-security__head {
  margin-bottom: 3rem;
}

.apex-site .apex-security .apex-section__kicker.apex-security__kicker {
  background: rgba(255, 23, 73, 0.16);
  border: 1px solid rgba(255, 23, 73, 0.45);
  color: #ff6b86;
}

.apex-site .apex-security h2.apex-section__title.apex-security__title {
  color: #f5f5f7;
}

.apex-site .apex-security .apex-section__sub.apex-security__sub {
  color: rgba(255, 255, 255, 0.76);
}

.apex-security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  text-align: center;
}

@media (max-width: 991px) {
  .apex-security__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .apex-security__grid {
    grid-template-columns: 1fr;
  }
}

.apex-badge {
  padding: 1.5rem 1rem;
}

.apex-security__card {
  padding: 1.85rem 1.35rem;
  margin: 0;
  border-radius: calc(var(--apex-radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 12px 32px rgba(0, 0, 0, 0.75),
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px -12px rgba(255, 255, 255, 0.05);
  filter: drop-shadow(0 16px 32px rgba(255, 255, 255, 0.055));
  transition: border-color var(--apex-ease), box-shadow var(--apex-ease), transform var(--apex-ease), filter var(--apex-ease);
}

.apex-security__card:hover {
  border-color: rgba(255, 23, 73, 0.42);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.95),
    0 16px 40px rgba(0, 0, 0, 0.8),
    0 36px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 23, 73, 0.18),
    0 0 56px -8px rgba(255, 22, 72, 0.14);
  filter: drop-shadow(0 20px 40px rgba(255, 255, 255, 0.07)) drop-shadow(0 0 28px rgba(255, 22, 72, 0.12));
  transform: translateY(-3px);
}

.apex-badge__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.05rem;
  border-radius: 50%;
  border: 1px solid var(--apex-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--apex-primary);
  background: linear-gradient(145deg, var(--apex-surface), #f6f7fa);
  box-shadow: var(--apex-shadow-sm);
}

.apex-security__card-icon.apex-badge__icon {
  margin-bottom: 1.2rem;
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.55);
  background: rgba(255, 23, 73, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 23, 73, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.apex-security__card:hover .apex-security__card-icon {
  box-shadow: 0 0 0 1px rgba(255, 23, 73, 0.35), 0 0 32px rgba(255, 22, 72, 0.55), 0 0 56px rgba(255, 22, 72, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 22, 72, 0.6));
}

.apex-site .apex-security .apex-badge.apex-security__card h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.apex-site .apex-security .apex-badge.apex-security__card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.apex-badge h4 {
  color: var(--apex-black);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.apex-badge p {
  margin: 0;
  font-size: 0.9rem;
  color: #5e5f63;
}

/* ——— Network map ——— */
.apex-network {
  background: var(--apex-surface);
  border-top: 1px solid var(--apex-border-light);
  position: relative;
  overflow: hidden;
}

.apex-network__map {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.apex-network__map .apex-network-svg {
  width: 100%;
  height: auto;
  display: block;
  color: #9a9dad;
  overflow: visible;
}

.apex-network-land {
  opacity: 0.55;
}

.apex-network-links path {
  stroke: rgba(255, 22, 72, 0.38);
  stroke-width: 1.35;
  stroke-dasharray: 5 14;
  stroke-dashoffset: 0;
  animation: apex-net-link-flow 14s linear infinite;
}

.apex-net-link--2 {
  animation-duration: 19s;
  animation-direction: reverse;
  stroke-dasharray: 4 18;
}

.apex-net-link--3 {
  animation-duration: 16s;
  stroke-dasharray: 6 12;
}

.apex-net-link--4 {
  animation-duration: 22s;
  animation-direction: reverse;
  stroke-dasharray: 3 16;
}

.apex-net-link--5 {
  animation-duration: 18s;
  stroke-dasharray: 5 15;
}

@keyframes apex-net-link-flow {
  to {
    stroke-dashoffset: -190;
  }
}

.apex-net-node__ping-wrap {
  transform-origin: 0 0;
  animation: apex-net-node-ping 2.85s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.apex-net-node__core {
  fill: #ff1648;
  filter: url(#apex-net-node-glow);
  animation: apex-net-node-core 2.85s ease-in-out infinite;
}

.apex-network-nodes .apex-net-node:nth-child(1) .apex-net-node__ping-wrap,
.apex-network-nodes .apex-net-node:nth-child(1) .apex-net-node__core {
  animation-delay: 0s;
}

.apex-network-nodes .apex-net-node:nth-child(2) .apex-net-node__ping-wrap,
.apex-network-nodes .apex-net-node:nth-child(2) .apex-net-node__core {
  animation-delay: 0.5s;
}

.apex-network-nodes .apex-net-node:nth-child(3) .apex-net-node__ping-wrap,
.apex-network-nodes .apex-net-node:nth-child(3) .apex-net-node__core {
  animation-delay: 1s;
}

.apex-network-nodes .apex-net-node:nth-child(4) .apex-net-node__ping-wrap,
.apex-network-nodes .apex-net-node:nth-child(4) .apex-net-node__core {
  animation-delay: 1.45s;
}

@keyframes apex-net-node-ping {
  0% {
    transform: scale(0.2);
    opacity: 0.95;
  }

  70% {
    opacity: 0.25;
  }

  100% {
    transform: scale(2.35);
    opacity: 0;
  }
}

@keyframes apex-net-node-core {
  0%,
  100% {
    opacity: 1;
  }

  48% {
    opacity: 0.38;
  }
}

.apex-network--dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #0a0a0a 100%);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0;
}

.apex-site .apex-network--dark .apex-section__kicker {
  background: rgba(255, 23, 73, 0.12);
  border-color: rgba(255, 23, 73, 0.3);
  color: #ff6b86;
}

.apex-site .apex-network--dark .apex-section__title.apex-network__title {
  color: #f5f5f7;
}

.apex-site .apex-network--dark .apex-section__sub.apex-network__sub {
  color: rgba(255, 255, 255, 0.62);
}

.apex-network--dark .apex-network-land {
  color: #6a6d7e;
  opacity: 0.42;
}

.apex-network--dark .apex-network-links path {
  stroke: rgba(255, 90, 118, 0.48);
}

.apex-network--dark .apex-net-node__core {
  fill: #ff2d55;
}

@media (prefers-reduced-motion: reduce) {
  .apex-network-links path,
  .apex-net-node__ping-wrap,
  .apex-net-node__core {
    animation: none !important;
  }

  .apex-net-node__ping-wrap {
    opacity: 0;
  }

  .apex-net-node__core {
    opacity: 1 !important;
  }

  .apex-network-links path {
    stroke-dasharray: 10000;
    stroke-dashoffset: 0;
    stroke-opacity: 0.35;
  }
}

/* ——— Testimonials ——— */
.apex-testimonials {
  background: #fafbfc;
  border-top: 1px solid var(--apex-border-light);
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.apex-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  text-align: center;
  align-items: stretch;
}

@media (max-width: 991px) {
  .apex-quote-grid {
    grid-template-columns: 1fr;
  }
}

.apex-quote {
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 4px);
  background: var(--apex-surface);
  box-shadow: var(--apex-shadow-card);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.apex-quote:hover {
  border-color: rgba(255, 22, 72, 0.15);
  box-shadow: var(--apex-shadow-md);
  transform: translateY(-3px);
}

.apex-quote__stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: var(--apex-primary);
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
}

.apex-quote__stars i {
  filter: drop-shadow(0 0 6px rgba(255, 22, 72, 0.35));
}

.apex-quote__text {
  color: var(--apex-heading);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex: 1;
}

.apex-quote__who {
  color: var(--apex-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.apex-quote__who strong {
  color: var(--apex-heading);
  font-size: 0.95rem;
}

.apex-quote__company {
  display: block;
  font-size: 0.8rem;
  color: var(--apex-text-muted);
  font-weight: 500;
}

/* ——— Page hero (breadcrumb) ——— */
.apex-page-hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  background: linear-gradient(165deg, #000000 0%, #0d0d10 55%, #14141a 100%);
  border-bottom: 1px solid var(--apex-border);
  overflow: hidden;
}

.apex-page-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -30%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 22, 72, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.apex-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--apex-page-bg));
  pointer-events: none;
}

.apex-page-hero .container,
.apex-page-hero .page-heading {
  position: relative;
  z-index: 1;
}

.apex-page-hero h1 {
  font-size: clamp(2.05rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.apex-page-hero .breadcrumb-items,
.apex-page-hero .apex-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--apex-text-muted);
  font-size: 0.9rem;
}

.apex-page-hero .breadcrumb-items a,
.apex-page-hero .apex-breadcrumb a {
  color: var(--apex-light-gray);
  text-decoration: none;
  transition: color var(--apex-ease);
}

.apex-page-hero .breadcrumb-items a:hover,
.apex-page-hero .apex-breadcrumb a:hover {
  color: var(--apex-primary);
}

/* ——— Footer ——— */
.apex-footer {
  background: var(--apex-black);
  color: var(--apex-light-gray);
  border-top: 1px solid var(--apex-border);
  padding-top: 5.75rem;
}

.apex-footer a {
  color: var(--apex-white);
  text-decoration: none;
  transition: color var(--apex-ease);
}

.apex-footer a:hover {
  color: var(--apex-primary);
}

.apex-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.35rem 1.75rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 1199px) {
  .apex-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .apex-footer__grid {
    grid-template-columns: 1fr;
  }
}

.apex-footer__brand {
  padding-right: 1rem;
}

.apex-footer__tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  max-width: 28rem;
}

.apex-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: opacity var(--apex-ease);
}

.apex-footer__logo:hover {
  opacity: 0.92;
}

.apex-footer__logo:hover .apex-brand-wordmark__soft {
  color: rgba(255, 255, 255, 0.72);
}

.apex-footer__logo-icon {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.apex-brand-wordmark--footer {
  font-size: 1.125rem;
  letter-spacing: -0.032em;
}

.apex-footer__col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 12rem;
}

.apex-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apex-footer__col li {
  margin-bottom: 0.65rem;
}

.apex-footer__col li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  padding: 0.15rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.apex-footer__col li a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.apex-footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.apex-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  color: var(--apex-white);
}

.apex-footer__social a:hover {
  color: var(--apex-primary);
  border-color: rgba(255, 22, 72, 0.45);
  box-shadow: var(--apex-glow);
}

.apex-footer__bottom {
  border-top: 1px solid var(--apex-border);
  padding: 1.65rem 0 1.85rem;
  font-size: 0.875rem;
  color: var(--apex-text-muted);
}

.apex-footer__bottom a {
  color: var(--apex-light-gray);
}

/* ——— Content pages ——— */
.apex-site .blog-wrapper,
.apex-site .news-wrapper {
  background: var(--apex-page-bg);
}

/* ——— FAQ page ——— */
.apex-site .apex-faq-block {
  background: var(--apex-page-bg);
}

.apex-site .apex-faq-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .apex-site .apex-faq-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 3.25rem;
  }
}

.apex-site .apex-faq-aside .apex-btn {
  margin-top: 1.35rem;
}

.apex-site .apex-faq-aside__hint {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--apex-text-muted);
  line-height: 1.6;
}

.apex-site .apex-faq-aside__hint a {
  color: var(--apex-primary);
  font-weight: 600;
  text-decoration: none;
}

.apex-site .apex-faq-aside__hint a:hover {
  text-decoration: underline;
}

.apex-site .apex-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.apex-site .apex-faq-tabs .nav-item {
  margin: 0;
}

.apex-site .apex-faq-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid var(--apex-border-light);
  background: var(--apex-surface);
  color: var(--apex-text-muted);
  cursor: pointer;
  transition:
    border-color var(--apex-ease-snappy),
    color var(--apex-ease-snappy),
    background var(--apex-ease-snappy),
    box-shadow var(--apex-ease-snappy);
}

.apex-site .apex-faq-tabs .nav-link:hover {
  border-color: #c8cad4;
  color: var(--apex-heading);
}

.apex-site .apex-faq-tabs .nav-link.active {
  background: var(--apex-heading);
  border-color: var(--apex-heading);
  color: var(--apex-white);
  box-shadow: 0 4px 14px rgba(15, 15, 20, 0.12);
}

.apex-site .apex-faq-tabs .nav-link:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 2px;
}

.apex-site .apex-faq-panels {
  min-height: 12rem;
}

.apex-site .apex-faq-accordion .accordion-item {
  margin-bottom: 0.7rem;
  border: 1px solid var(--apex-border-light) !important;
  border-radius: 14px !important;
  background: var(--apex-surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 15, 20, 0.04);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.apex-site .apex-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(255, 22, 72, 0.2) !important;
  box-shadow:
    0 0 0 1px rgba(255, 22, 72, 0.06),
    0 10px 28px rgba(15, 15, 20, 0.06);
}

.apex-site .apex-faq-accordion .accordion-header {
  margin: 0;
}

.apex-site .apex-faq-accordion .accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--apex-heading);
  background: var(--apex-surface) !important;
  border: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.apex-site .apex-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--apex-heading);
  background: linear-gradient(180deg, rgba(255, 22, 72, 0.08) 0%, rgba(255, 22, 72, 0.02) 100%) !important;
}

.apex-site .apex-faq-accordion .accordion-button::after {
  display: none !important;
}

.apex-site .apex-faq-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.apex-site .apex-faq-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

.apex-site .apex-faq-item__text {
  flex: 1;
  min-width: 0;
  padding-right: 0.25rem;
}

.apex-site .apex-faq-item__chev {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 15, 20, 0.05);
  color: var(--apex-primary);
  font-size: 0.62rem;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease;
}

.apex-site .apex-faq-accordion .accordion-button:not(.collapsed) .apex-faq-item__chev {
  transform: rotate(-180deg);
  background: rgba(255, 22, 72, 0.12);
  color: var(--apex-primary);
}

.apex-site .apex-faq-accordion .accordion-collapse {
  border-top: 1px solid var(--apex-border-light);
}

.apex-site .apex-faq-accordion .accordion-body {
  padding: 1.15rem 1.3rem 1.4rem 1.3rem;
  background: var(--apex-page-bg);
  color: var(--apex-body-text);
  font-size: 0.9375rem;
  line-height: 1.72;
}

@media (prefers-reduced-motion: reduce) {
  .apex-site .apex-faq-accordion .accordion-item,
  .apex-site .apex-faq-accordion .accordion-button,
  .apex-site .apex-faq-item__chev {
    transition: none;
  }

  .apex-site .apex-faq-item__chev {
    transform: none !important;
  }
}

.apex-site .post-content,
.apex-site .post-content p,
.apex-site .post-content li {
  color: var(--apex-body-text);
}

.apex-site .post-content h2,
.apex-site .post-content h4 {
  color: var(--apex-heading);
}

.apex-site .blog-wrapper .single-blog-post {
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 6px);
  box-shadow: var(--apex-shadow-md);
  overflow: hidden;
}

.apex-site .blog-wrapper .post-content {
  padding: 2.5rem clamp(1.35rem, 4vw, 2.85rem);
}

/* Legal / long-form posts: lists use check icons, no disc ::marker */
.apex-site .post-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0.65rem 0 1.15rem;
}

.apex-site .post-content ul > li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
  list-style: none;
}

.apex-site .post-content ul > li::marker {
  content: none;
}

.apex-site .post-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 5px;
  background-color: rgba(255, 22, 72, 0.1);
  border: 1px solid rgba(255, 22, 72, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ff1648' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.52rem auto;
}

.apex-site .post-content ul ul {
  margin-top: 0.45rem;
  margin-bottom: 0.35rem;
}

/* ——— Pricing (uniform cards, service tabs) ——— */
.apex-site .pricing-section-3 {
  background: #fafbfc;
  padding-top: 5.5rem !important;
  padding-bottom: 5.75rem !important;
}

.apex-site .pricing-section-3 .section-title {
  margin-bottom: 1.25rem !important;
}

.apex-site .pricing-section-3 .section-title span {
  color: var(--apex-primary);
}

.apex-site .pricing-section-3 .section-title h2 {
  color: var(--apex-heading);
}

.apex-site .apex-pricing-intro {
  max-width: 44rem;
  margin: 0 auto 2rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--apex-text-muted);
}

/* Tab panels: cards are not WOW-animated; keep them visible when a pane is shown */
.apex-site .pricing-section-3 .apex-pricing-tab-panels .tab-pane .apex-pricing-col,
.apex-site .pricing-section-3 .apex-pricing-tab-panels .tab-pane .pricing-card-items-2 {
  visibility: visible !important;
  opacity: 1 !important;
}

.apex-site .apex-pricing-tabs--services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  list-style: none;
}

.apex-site .apex-pricing-tabs--services .nav-item {
  margin: 0;
}

.apex-site .apex-pricing-tabs--services .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  color: var(--apex-heading) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  transition: border-color var(--apex-ease), color var(--apex-ease), box-shadow var(--apex-ease), transform var(--apex-ease-snappy);
  white-space: nowrap;
}

@media (max-width: 575px) {
  .apex-site .apex-pricing-tabs--services .nav-link {
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    max-width: 11rem;
  }
}

.apex-site .apex-pricing-tabs--services .nav-link:hover {
  border-color: #c8cad4;
  color: var(--apex-heading) !important;
  transform: translateY(-1px);
}

.apex-site .pricing-card-items-2 {
  position: relative;
  overflow: hidden !important;
  background: var(--apex-surface) !important;
  border: 1px solid var(--apex-border-light) !important;
  border-radius: calc(var(--apex-radius) + 4px) !important;
  box-shadow: var(--apex-shadow-card) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  min-height: 100%;
  display: flex !important;
  flex-direction: column !important;
}

.apex-site .pricing-card-items-2 .theme-btn-2 {
  margin-top: auto;
}

.apex-site .pricing-card-items-2:hover {
  transform: translateY(-4px);
  border-color: var(--apex-border-light) !important;
  box-shadow: var(--apex-shadow-md) !important;
}

.apex-site .pricing-section-3 .row > [class*="col-"] {
  display: flex;
  margin-bottom: 1.5rem;
}

.apex-site .pricing-section-3 .row > [class*="col-"] > .pricing-card-items-2 {
  width: 100%;
}

.apex-site .pricing-section-3 .apex-pricing-card.pricing-card-items-2 {
  padding-top: 1.85rem !important;
  padding-bottom: 1.85rem !important;
  padding-left: 1.35rem !important;
  padding-right: 1.35rem !important;
}

.apex-site .pricing-section-3 .pricing-card-items-2 .pricing-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  padding: 0 !important;
  margin: 0 0 0.65rem !important;
  list-style: none !important;
  width: 100%;
}

.apex-site .pricing-section-3 .pricing-card-items-2 .pricing-icon .icon {
  margin: 0 auto;
}

.apex-site .pricing-header h5,
.apex-site .pricing-header h2 {
  color: var(--apex-heading) !important;
}

/* Pricing: plan name + price row (currency, amount, period) — centered, brand accent */
.apex-site .pricing-section-3 .pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.15rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--apex-border-light);
}

.apex-site .pricing-section-3 .pricing-header h5 {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apex-heading) !important;
  margin: 0 0 0.4rem !important;
  line-height: 1.3;
  width: 100%;
}

.apex-site .pricing-section-3 .apex-pricing-tagline {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--apex-text-muted);
  max-width: 15rem;
}

.apex-site .pricing-section-3 .apex-pricing-billing {
  margin: 0.65rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--apex-text-muted);
  opacity: 0.92;
  max-width: 16rem;
}

.apex-site .pricing-section-3 .pricing-header h2 {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.18em;
  margin: 0.15rem 0 0 !important;
  padding: 0.65rem 1.35rem 0.7rem !important;
  font-size: clamp(2rem, 4.5vw, 2.65rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
  color: var(--apex-primary) !important;
  background: linear-gradient(165deg, rgba(255, 22, 72, 0.1) 0%, rgba(255, 22, 72, 0.04) 55%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid rgba(255, 22, 72, 0.18);
  border-radius: calc(var(--apex-radius) + 6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 10px 28px rgba(255, 22, 72, 0.07);
}

.apex-site .pricing-section-3 .pricing-header h2 sub {
  position: static !important;
  display: inline;
  font-size: 0.52em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  vertical-align: baseline !important;
  bottom: auto !important;
  color: rgba(255, 22, 72, 0.72) !important;
  margin: 0 0.02em 0 0 !important;
}

.apex-site .pricing-section-3 .pricing-header h2 > span {
  font-size: 0.38em !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--apex-text-muted) !important;
  margin-left: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.88;
}

.apex-site .pricing-card-items-2 .pricing-list {
  flex: 1 1 auto !important;
}

.apex-site .pricing-section-3 .pricing-card-items-2 .pricing-list {
  margin-top: 0 !important;
  margin-bottom: 1.35rem !important;
  padding: 0 !important;
}

.apex-site .pricing-section-3 .pricing-list li {
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  padding: 0.38rem 0 !important;
  color: var(--apex-body-text) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.apex-site .pricing-section-3 .pricing-list li:last-child {
  border-bottom: none;
  padding-bottom: 0 !important;
}

.apex-site .pricing-section-3 .pricing-list li:first-child {
  padding-top: 0 !important;
}

.apex-site .pricing-section-3 .pricing-list li i {
  font-size: 0.72em;
  margin-right: 0.55rem !important;
  opacity: 0.88;
  vertical-align: 0.05em;
}

.apex-site .pricing-list li {
  color: var(--apex-body-text) !important;
}

.apex-site .theme-btn,
.apex-site .theme-btn-2 {
  border-radius: var(--apex-radius) !important;
  transition: all var(--apex-ease) !important;
}

.apex-site .theme-btn.theme-btn-2,
.apex-site a.theme-btn-2 {
  background: var(--apex-primary) !important;
  color: var(--apex-white) !important;
  border: 1px solid transparent !important;
}

.apex-site .theme-btn.theme-btn-2:hover,
.apex-site a.theme-btn-2:hover {
  background: var(--apex-primary-hover) !important;
  color: var(--apex-white) !important;
  box-shadow: var(--apex-glow);
}

.apex-site .apex-pricing-tabs .nav-link.active {
  background: var(--apex-primary) !important;
  color: var(--apex-white) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 28px rgba(255, 22, 72, 0.22) !important;
}

.apex-site .apex-pricing-tabs:not(.apex-pricing-tabs--services) .nav-link {
  color: var(--apex-text-muted) !important;
}

.apex-site .apex-pricing-tabs:not(.apex-pricing-tabs--services) .nav-link:hover {
  color: var(--apex-heading) !important;
}

.apex-site .apex-pricing-row {
  justify-content: center;
}

/* ——— Product / resources strip ——— */
.apex-site .product-section {
  background: var(--apex-surface) !important;
  border-top: 1px solid var(--apex-border-light);
}

.apex-site .apex-docs-section {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}

/* Resources / docs header */
.apex-site .apex-docs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2.75rem;
}

.apex-site .apex-docs-header__text {
  flex: 1 1 18rem;
  max-width: 40rem;
}

.apex-site .apex-docs-header__kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apex-primary);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--apex-primary-soft);
  border: 1px solid rgba(255, 22, 72, 0.12);
}

.apex-site .apex-docs-header__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--apex-heading);
}

.apex-site .apex-docs-header__sub {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--apex-text-muted);
}

.apex-site .apex-docs-header__cta {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  padding-left: 1.35rem !important;
  padding-right: 1.35rem !important;
}

.apex-site .apex-docs-header__cta i {
  font-size: 0.78em;
  opacity: 0.9;
}

@media (max-width: 575px) {
  .apex-site .apex-docs-header {
    align-items: stretch;
  }

  .apex-site .apex-docs-header__cta {
    justify-content: center;
    width: 100%;
  }
}

/* Doc cards (hosting-focused; full-card link) */
.apex-site .apex-docs-grid {
  --apex-docs-radius: calc(var(--apex-radius) + 4px);
}

.apex-site .apex-docs-card {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: var(--apex-docs-radius);
  box-shadow: var(--apex-shadow-card);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.apex-site .apex-docs-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 22, 72, 0.2);
  box-shadow: var(--apex-shadow-md), 0 12px 40px rgba(255, 22, 72, 0.07);
}

.apex-site .apex-docs-card__hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.apex-site .apex-docs-card__hit:focus-visible {
  outline: 2px solid var(--apex-primary);
  outline-offset: 3px;
}

.apex-site .apex-docs-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #eceef3 0%, #dfe3eb 100%);
}

.apex-site .apex-docs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.apex-site .apex-docs-card:hover .apex-docs-card__media img {
  transform: scale(1.05);
}

.apex-site .apex-docs-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem 1.3rem 1.4rem;
}

.apex-site .apex-docs-card__eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apex-primary);
}

.apex-site .apex-docs-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--apex-heading) !important;
  transition: color 0.2s ease;
}

.apex-site .apex-docs-card__excerpt {
  margin: 0 0 1.15rem;
  flex: 1 1 auto;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--apex-text-muted);
}

.apex-site .apex-docs-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.52rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--apex-heading);
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: var(--apex-radius);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.apex-site .apex-docs-card__hit:hover .apex-docs-card__btn,
.apex-site .apex-docs-card__hit:focus-visible .apex-docs-card__btn {
  color: var(--apex-primary);
  border-color: rgba(255, 22, 72, 0.35);
  background: var(--apex-primary-soft);
}

.apex-site .apex-docs-card__hit:hover .apex-docs-card__title,
.apex-site .apex-docs-card__hit:focus-visible .apex-docs-card__title {
  color: var(--apex-primary) !important;
}

/* ——— Swiper brand (hosting stack logos) ——— */
.apex-site .brand-section-5,
.apex-site .apex-brand-strip {
  --apex-brand-logo-h: clamp(2.95rem, 5vw, 3.85rem);
  --apex-brand-logo-max-w: 10.25rem;
  --apex-brand-wordmark-max-w: 13.5rem;
  background: #f9fafb;
  border-top: 1px solid var(--apex-border-light);
}

.apex-site .apex-brand-strip.section-padding {
  padding-top: 4rem !important;
  padding-bottom: 4.15rem !important;
}

@media (max-width: 575px) {
  .apex-site .apex-brand-strip.section-padding {
    padding-top: 3.15rem !important;
    padding-bottom: 3.35rem !important;
  }
}

.apex-site .brand-section-5 h5,
.apex-site .apex-brand-strip__title {
  color: var(--apex-text-muted) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  margin: 0 auto 2rem;
  max-width: 36rem;
  line-height: 1.5;
}

.apex-site .apex-brand-strip .swiper {
  padding: 0.35rem 0 0.45rem;
}

.apex-site .apex-brand-strip .swiper-slide {
  width: auto !important;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-site .apex-brand-strip .brand-img {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-site .apex-brand-strip__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--apex-brand-logo-h) + 1.35rem);
  min-width: clamp(6.75rem, 15vw, 9.75rem);
  padding: 0.65rem 1.25rem;
  border-radius: calc(var(--apex-radius) + 2px);
  transition: background 0.25s ease;
}

.apex-site .apex-brand-strip__cell:hover {
  background: rgba(0, 0, 0, 0.02);
}

.apex-site .apex-brand-strip__logo {
  display: block;
  height: var(--apex-brand-logo-h);
  width: auto;
  max-width: var(--apex-brand-logo-max-w);
  min-width: 2.65rem;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  transition: opacity var(--apex-ease), transform var(--apex-ease-snappy);
}

.apex-site .apex-brand-strip__logo--wordmark {
  max-width: var(--apex-brand-wordmark-max-w);
  height: calc(var(--apex-brand-logo-h) * 0.94);
}

.apex-site .apex-brand-strip__cell:has(.apex-brand-strip__logo--wordmark) {
  min-width: clamp(8rem, 18vw, 11.5rem);
}

.apex-site .apex-brand-strip__cell:hover .apex-brand-strip__logo,
.apex-site .apex-brand-strip__cell:focus-within .apex-brand-strip__logo {
  opacity: 1;
  transform: translateY(-2px);
}

.apex-site .brand-img img:not(.apex-brand-strip__logo) {
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--apex-ease), filter var(--apex-ease);
}

.apex-site .brand-img img:not(.apex-brand-strip__logo):hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ——— Inner pages (compact hero, no full-width image) ——— */
.apex-inner-hero {
  padding: 7.25rem 0 3.5rem;
  border-bottom: 1px solid var(--apex-border-light);
}

.apex-inner-hero--dark {
  background: linear-gradient(180deg, #0b0b0b 0%, #111116 100%);
  border-bottom-color: var(--apex-border);
  color: var(--apex-white);
}

.apex-inner-hero--dark .apex-inner-hero__kicker,
.apex-inner-hero--dark .apex-inner-hero__lead,
.apex-inner-hero--dark .apex-inner-hero__crumb {
  color: rgba(255, 255, 255, 0.55);
}

.apex-inner-hero--dark .apex-inner-hero__title {
  color: var(--apex-white);
}

.apex-inner-hero--dark .apex-inner-hero__crumb a {
  color: rgba(255, 255, 255, 0.65);
}

.apex-inner-hero--dark .apex-inner-hero__crumb a:hover {
  color: var(--apex-primary);
}

.apex-inner-hero--dark .apex-inner-hero__lead a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--apex-ease-snappy);
}

.apex-inner-hero--dark .apex-inner-hero__lead a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.88);
}

.apex-inner-hero--dark .apex-inner-hero__lead a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}

.apex-inner-hero__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--apex-primary);
}

.apex-inner-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--apex-heading);
}

.apex-inner-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40rem;
  color: var(--apex-text-muted);
}

.apex-inner-hero__crumb {
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  color: var(--apex-text-muted);
}

.apex-inner-hero__crumb span[aria-hidden="true"] {
  opacity: 0.45;
}

.apex-page-block {
  padding: 4rem 0;
}

.apex-page-block--tight {
  padding: 3rem 0;
}

.apex-page-block--surface {
  background: var(--apex-surface);
  border-top: 1px solid var(--apex-border-light);
  border-bottom: 1px solid var(--apex-border-light);
}

.apex-page-block__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.apex-page-block__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.apex-page-block__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-primary);
  margin: 0 0 0.65rem;
}

.apex-page-block__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apex-heading);
}

.apex-page-block__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--apex-text-muted);
}

.apex-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 1.25rem;
}

.apex-feature-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--apex-primary-soft);
  border: 1px solid rgba(255, 22, 72, 0.15);
  color: var(--apex-heading);
}

.apex-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apex-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1199px) {
  .apex-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .apex-grid-3 {
    grid-template-columns: 1fr;
  }

  .apex-grid-4 {
    grid-template-columns: 1fr;
  }
}

.apex-card-lite {
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 4px);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--apex-shadow-card);
  height: 100%;
  transition: transform var(--apex-ease), box-shadow var(--apex-ease), border-color var(--apex-ease);
}

.apex-card-lite:hover {
  transform: translateY(-4px);
  box-shadow: var(--apex-shadow-md);
  border-color: rgba(255, 22, 72, 0.18);
}

.apex-card-lite__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--apex-radius);
  background: var(--apex-primary-soft);
  color: var(--apex-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.apex-card-lite h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.apex-card-lite p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--apex-text-muted);
}

.apex-table-wrap {
  overflow-x: auto;
  border-radius: calc(var(--apex-radius) + 4px);
  border: 1px solid var(--apex-border-light);
  background: var(--apex-surface);
  box-shadow: var(--apex-shadow-card);
}

.apex-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.apex-table-wrap th,
.apex-table-wrap td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--apex-border-light);
}

.apex-table-wrap th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apex-text-muted);
  font-weight: 700;
  background: #fafbfc;
}

.apex-table-wrap tr:last-child td {
  border-bottom: none;
}

.apex-table-wrap td strong {
  color: var(--apex-heading);
}

.apex-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.apex-stat {
  text-align: center;
  padding: 1.25rem 1.5rem;
  min-width: 8rem;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: var(--apex-radius);
}

.apex-stat__value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--apex-primary);
  letter-spacing: -0.02em;
}

.apex-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apex-text-muted);
}

/* ——— About page ——— */
.apex-about-split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 992px) {
  .apex-about-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.25rem;
  }

  .apex-about-split--reverse .apex-about-split__visual {
    order: 2;
  }

  .apex-about-split--reverse .apex-about-split__copy {
    order: 1;
  }
}

.apex-about-visual {
  position: relative;
  margin: 0;
  border-radius: calc(var(--apex-radius) + 10px);
  overflow: hidden;
  box-shadow: var(--apex-shadow-md);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8eaef 0%, #d5d9e3 100%);
}

.apex-about-visual--tall {
  aspect-ratio: 5 / 6;
  max-height: 520px;
}

.apex-about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.apex-about-split__visual:hover .apex-about-visual img {
  transform: scale(1.03);
}

.apex-about-prose {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--apex-body-text);
}

.apex-about-prose:last-child {
  margin-bottom: 0;
}

.apex-about-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--apex-body-text);
}

.apex-about-list > li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.6rem;
  list-style: none;
}

.apex-about-list > li::marker {
  content: none;
}

.apex-about-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 5px;
  background-color: rgba(255, 22, 72, 0.1);
  border: 1px solid rgba(255, 22, 72, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ff1648' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.52rem auto;
}

.apex-about-list > li:last-child {
  margin-bottom: 0;
}

.apex-about-quote {
  margin: 0 auto;
  max-width: 40rem;
  padding: 0 0 0 1.35rem;
  border-left: 4px solid var(--apex-primary);
}

.apex-about-quote p {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: var(--apex-heading);
}

.apex-about-quote footer {
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: normal;
  color: var(--apex-text-muted);
  letter-spacing: 0.02em;
}

.apex-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-top: 0.25rem;
}

@media (min-width: 576px) {
  .apex-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .apex-team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.apex-team-card {
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--apex-shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.apex-team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 22, 72, 0.18);
  box-shadow: var(--apex-shadow-md), 0 12px 36px rgba(255, 22, 72, 0.06);
}

.apex-team-card__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8eaef;
}

.apex-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.apex-team-card:hover .apex-team-card__photo img {
  transform: scale(1.04);
}

.apex-team-card__body {
  padding: 1.25rem 1.15rem 1.35rem;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.apex-team-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apex-heading);
}

.apex-team-card__role {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-primary);
}

.apex-team-card__bio {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--apex-text-muted);
  flex: 1 1 auto;
}

.apex-team-footnote {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--apex-text-muted);
}

.apex-about-banner {
  margin: 0;
  border-radius: calc(var(--apex-radius) + 10px);
  overflow: hidden;
  box-shadow: var(--apex-shadow-md);
  position: relative;
}

.apex-about-banner img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.apex-about-banner__cap {
  margin: 0;
  padding: 0.85rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--apex-text-muted);
  background: var(--apex-surface);
  border-top: 1px solid var(--apex-border-light);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .apex-about-visual img,
  .apex-team-card,
  .apex-team-card__photo img {
    transition: none;
  }

  .apex-about-split__visual:hover .apex-about-visual img,
  .apex-team-card:hover,
  .apex-team-card:hover .apex-team-card__photo img {
    transform: none;
  }
}

.apex-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .apex-contact-grid {
    grid-template-columns: 1fr;
  }
}

.apex-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--apex-heading);
}

.apex-form .form-control,
.apex-form textarea {
  border-radius: var(--apex-radius);
  border: 1px solid var(--apex-border-light);
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  width: 100%;
  margin-bottom: 1rem;
}

.apex-form textarea {
  min-height: 140px;
  resize: vertical;
}

.apex-map-placeholder {
  border-radius: calc(var(--apex-radius) + 4px);
  background: linear-gradient(145deg, #eceef3, #dfe3eb);
  border: 1px solid var(--apex-border-light);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apex-text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1.5rem;
}

.apex-login-wrap {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.apex-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 6px);
  padding: 2.25rem 2rem;
  box-shadow: var(--apex-shadow-lg);
}

.apex-login-card h1 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.apex-login-card__sub {
  font-size: 0.875rem;
  color: var(--apex-text-muted);
  margin: 0 0 1.5rem;
}

.apex-login-card .form-control {
  margin-bottom: 1rem;
}

.apex-login-card__links {
  font-size: 0.8125rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.apex-login-card__links a {
  color: var(--apex-primary);
  font-weight: 600;
}

.apex-kb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.apex-kb-filters a {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--apex-border-light);
  color: var(--apex-heading);
  text-decoration: none;
  transition: all var(--apex-ease-snappy);
}

.apex-kb-filters a:hover,
.apex-kb-filters a.is-active {
  background: var(--apex-primary);
  border-color: var(--apex-primary);
  color: var(--apex-white);
}

.apex-kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .apex-kb-grid {
    grid-template-columns: 1fr;
  }
}

.apex-kb-card {
  display: block;
  padding: 1.5rem 1.35rem;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border-light);
  border-radius: calc(var(--apex-radius) + 4px);
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: var(--apex-shadow-card);
  transition: transform var(--apex-ease), box-shadow var(--apex-ease), border-color var(--apex-ease);
}

.apex-kb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 22, 72, 0.2);
  box-shadow: var(--apex-shadow-md);
}

.apex-kb-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apex-primary);
  margin-bottom: 0.4rem;
}

.apex-kb-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--apex-heading) !important;
}

.apex-kb-card__excerpt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--apex-text-muted);
  margin: 0;
}

.apex-prose {
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--apex-body-text);
}

.apex-prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.apex-prose p {
  margin: 0 0 1rem;
}

.apex-prose ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}

/* Pricing page: toolbar + yearly toggle + popular */
body:not(.apex-page-pricing) .apex-pricing-page-toolbar {
  display: none !important;
}

/* Hide “Most popular” ribbon on home/embedded pricing only—not the whole tier card */
body:not(.apex-page-pricing) .apex-pricing-popular-badge.apex-pricing-popular-only {
  display: none !important;
}

body:not(.apex-page-pricing) .pricing-card-items-2.apex-pricing-card--popular {
  border-color: var(--apex-border-light) !important;
  box-shadow: var(--apex-shadow-card) !important;
  padding-top: 1.85rem !important;
}

.apex-pricing-page-toolbar__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-text-muted);
  margin-bottom: 0.65rem;
}

.apex-pricing-billing-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f0f1f5;
  border: 1px solid var(--apex-border-light);
  gap: 0.15rem;
}

.apex-pricing-billing-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--apex-text-muted);
  cursor: pointer;
  transition: background var(--apex-ease-snappy), color var(--apex-ease-snappy);
}

.apex-pricing-billing-toggle__btn.is-active {
  background: var(--apex-surface);
  color: var(--apex-heading);
  box-shadow: var(--apex-shadow-sm);
}

.apex-pricing-billing-toggle__save {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--apex-primary);
  margin-left: 0.25rem;
}

.apex-site .apex-pricing-popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;
  padding: 0.35rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--apex-primary), #ff4d73);
  color: var(--apex-white);
  border-radius: calc(var(--apex-radius) + 4px) calc(var(--apex-radius) + 4px) 0 0;
}

.apex-site .pricing-card-items-2.apex-pricing-card--popular {
  position: relative;
  padding-top: 2.35rem !important;
  border-color: rgba(255, 22, 72, 0.28) !important;
  box-shadow: 0 12px 40px rgba(255, 22, 72, 0.1) !important;
}

/* ——— Hide legacy header when not used ——— */
.apex-site .header-top-section-3,
.apex-site .header-section-3 {
  display: none !important;
}
