/*
 * Shared theme styles apply overflow-x:hidden to body. In Chromium that makes
 * body a scrolling ancestor and prevents the workflow's sticky child from
 * pinning. `clip` hides horizontal artwork without creating a scroll container.
 */

/* Section Badges */
.section-badge {
  border-radius: 100px;
  border: 1px solid var(--Border, #e7e7e7);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  display: inline-block;
  margin-bottom: 1rem;

  background:
    url("../img/badge-bg.svg") center top / 100% auto no-repeat,
    linear-gradient(0deg, #1a181b 0%, #6c6c6c 100%);
}

/* Hero Section */
.hero-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-title {
  color: var(--foreground-black);
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
}
.hero-subtitle {
  color: var(--Foreground-Secondary, #505050);
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  max-width: 850px;
  margin: 0 auto 2.5rem;
}
.hero-image-container {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 4.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.hero-image-container img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

/* Open Positions */
.open-roles-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
/* Category container */
.category-group {
  border: 1px solid var(--mareana-border);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: #fbfbfb;
}
.category-title-col {
  padding: 2.5rem;
  background: #fbfbfb;
}
.category-title {
  color: var(--foreground-primary);
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0;
}
.role-list-col {
  background: #ffffff;
  padding: 0;
}
.role-list {
  display: flex;
  flex-direction: column;
}
.role-card {
  padding: 1.375rem 2rem;
  background: transparent;
  transition: background 0.18s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--mareana-border);
}
.role-card:last-child {
  border-bottom: none;
}
.role-card:hover {
  background: #f5f6ff;
  color: inherit;
}
.role-text {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.role-card:hover .role-text {
  transform: translateX(6px);
}
.role-title {
  color: var(--foreground-primary);
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.role-location {
  font-size: 16px;
  color: var(--foreground-secondary);
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}
.role-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.experience-badge {
  border: 1px solid var(--mareana-border);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  color: var(--foreground-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-white);
  font-weight: 400;
  white-space: nowrap;
}
.experience-badge i {
  font-size: 1rem;
  color: var(--foreground-primary);
}
.role-arrow {
  color: var(--foreground-secondary);
  font-size: 1.25rem;
  font-weight: 900;
  -webkit-text-stroke: 0.5px currentColor;
  transition:
    color 0.18s,
    transform 0.18s;
}
.role-card:hover .role-arrow {
  color: #4361ee;
  transform: translateX(3px);
}

/* Benefits Section */
.benefits-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
}
.benefits-grid {
  background: #f1f3f7;
  border-radius: 24px;
  padding: 8px;
}
.benefit-card {
  padding: 2rem;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.benefit-icon {
  color: var(--mareana-primary);
  font-size: 2rem;
  margin-bottom: auto;
  padding-bottom: 2.5rem;
}
.benefit-title {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 0.625rem;
  color: var(--foreground-primary);
}
.benefit-desc {
  font-size: 16px;
  color: var(--foreground-secondary);
  line-height: 200%;
  margin: 0;
  font-weight: 400;
}

.career-sections-title {
  color: var(--foreground-primary);
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.8px;
}

/* Roles Search */
.roles-search-container {
  display: none;
  margin-bottom: 2rem;
}
.search-input-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--foreground-secondary);
  font-size: 1rem;
  pointer-events: none;
}
.roles-search-input {
  width: 100%;
  padding: 0.8rem 1.25rem 0.8rem 2.85rem;
  border: 1px solid var(--mareana-border);
  border-radius: 100px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--foreground-primary);
  background: #ffffff;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.roles-search-input::placeholder {
  color: var(--foreground-secondary);
}
.roles-search-input:focus {
  border-color: var(--mareana-primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
}
/* ─── No Roles: Interest Card ─── */
.roles-interest-card {
  border: 1px solid var(--mareana-border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.roles-interest-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  padding: 48px 48px 40px;
  background: #fbfbfb;
  border-bottom: 1px solid var(--mareana-border);
}
.roles-interest-left {
  width: 100%;
  max-width: 560px;
}
.roles-interest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--mareana-border);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 20px;
  background: #fff;
}
.roles-interest-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4361ee;
  animation: ri-pulse 2s infinite;
  margin-left: 4px;
}
@keyframes ri-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}
.roles-interest-badge span {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--foreground-secondary);
}
.roles-interest-title {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--foreground-primary);
  letter-spacing: -0.04em;
  line-height: 1.35;
  white-space: nowrap;
  margin: 0 0 12px;
}
.roles-interest-body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--foreground-secondary);
  line-height: 1.9;
  margin: 0;
}

/* Form */
.roles-interest-form {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.roles-interest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.roles-interest-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.roles-interest-label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--foreground-secondary);
}
.roles-interest-input,
.roles-interest-textarea {
  background: #fbfbfb;
  border: 1px solid var(--mareana-border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--foreground-primary);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.roles-interest-input:focus,
.roles-interest-textarea:focus {
  border-color: var(--mareana-primary);
}
.roles-interest-input::placeholder,
.roles-interest-textarea::placeholder {
  color: rgba(80, 80, 80, 0.45);
}
.roles-interest-textarea {
  height: 96px;
  resize: none;
}
.roles-interest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.roles-interest-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--mareana-border);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--foreground-secondary);
  background: #fbfbfb;
  cursor: pointer;
  transition: border-color 0.2s;
}
.roles-interest-file-label:hover {
  border-color: var(--mareana-primary);
  color: var(--foreground-primary);
}
.roles-interest-file-label i {
  font-size: 15px;
}
.roles-interest-file-name {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: var(--foreground-secondary);
  font-style: italic;
}
.roles-interest-submit {
  /* inherits btn-pill btn-primary via class — no extra styles needed */
}
.roles-interest-sent {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}
.roles-interest-sent-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(193deg, #4361ee 0%, #8ea0f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.roles-interest-sent h4 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--foreground-primary);
  margin: 0;
}
.roles-interest-sent p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--foreground-secondary);
  line-height: 1.8;
  margin: 0;
  max-width: 360px;
}

/* Search empty state */
.roles-search-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 56px;
  gap: 0;
}
.roles-search-empty-illustration {
  width: 220px;
  height: auto;
  margin-bottom: 28px;
}
.roles-search-empty-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--foreground-primary);
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.roles-search-empty-body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--foreground-secondary);
  line-height: 1.8;
  margin: 0 0 24px;
}
.roles-search-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--mareana-border);
  color: var(--foreground-primary);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.roles-search-clear-btn:hover {
  border-color: var(--mareana-primary);
  color: var(--mareana-primary);
}

.no-roles-message {
  display: none;
}

@media (max-width: 768px) {
  .roles-interest-top {
    padding: 28px 20px;
  }
  .roles-interest-title {
    font-size: 18px;
    white-space: normal;
  }
  .roles-interest-body {
    font-size: 14px;
  }
  .roles-interest-form {
    padding: 28px 24px;
    gap: 20px;
  }
  .roles-interest-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .roles-interest-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .roles-interest-footer .btn-pill {
    width: 100%;
    justify-content: space-between;
  }
  .roles-interest-footer .btn-pill .btn-text-inner {
    flex: 1;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero-title {
    font-size: 2rem;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 180%;
  }

  /* Section titles */
  .career-sections-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  /* Open Roles — stacked layout on mobile */
  .category-title-col {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--mareana-border);
  }
  .category-title {
    font-size: 20px;
  }
  .role-card {
    padding: 1rem 1.25rem;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .role-text {
    flex: 1;
    min-width: 0;
  }
  .role-title {
    font-size: 15px;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .role-location {
    font-size: 13px;
  }
  .role-meta {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .experience-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  /* Benefits */
  .benefits-section h2,
  .benefits-section .career-sections-title {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .benefit-icon {
    padding-bottom: 1.25rem;
    font-size: 1.625rem;
  }
  .benefit-card {
    padding: 1.5rem;
  }
  .benefit-title {
    font-size: 18px;
  }
  .benefit-desc {
    font-size: 14px;
    line-height: 170%;
  }
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────── */

/* ─── Section 1: Dark Hero ─── */
.about-hero-dark {
  position: relative;
  background: black;
  color: var(--foreground-white);
  padding: 180px 0 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.about-hero-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}
.about-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(67, 97, 238, 0.35) 0%,
    rgba(67, 97, 238, 0) 65%
  );
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.about-hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -1.92px;
  color: var(--foreground-white);
  margin: 0 0 20px;
}
.about-hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 190%;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 36px;
}
.about-hero-dark .btn-pill.btn-primary {
  margin-bottom: 80px;
}

/* Collage strip */
.about-hero-collage {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 80px;
  overflow: hidden;
}
/* Gradient fade overlays — sit above the track and topo */
.about-hero-collage::before,
.about-hero-collage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}
.about-hero-collage::before {
  left: 0;
  background: linear-gradient(90deg, #000 0%, transparent 100%);
}
.about-hero-collage::after {
  right: 0;
  background: linear-gradient(270deg, #000 0%, transparent 100%);
}
.about-hero-collage-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: about-hero-scroll 22s linear infinite;
}
.about-hero-collage:hover .about-hero-collage-track {
  animation-play-state: paused;
}
@keyframes about-hero-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.about-hero-photo {
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.about-hero-photo:hover img {
  filter: grayscale(0%);
}
.about-hero-photo--main {
  width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* ─── Section 2: Client Marquee ─── */
.about-clients {
  padding: 100px 0 100px;
  background: var(--surface-white);
}
.about-clients-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--foreground-primary);
  margin: 0 0 56px;
}
.about-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.about-marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: about-marquee-scroll 32s linear infinite;
}
.about-marquee:hover .about-marquee-track {
  animation-play-state: paused;
}
.about-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 12px;
}
.about-marquee-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s ease;
}
.about-marquee-item:hover .about-marquee-logo {
  filter: grayscale(0%) opacity(1);
}
@keyframes about-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── Section 3: Mission & Vision ─── */
.about-mv {
  padding: 80px 0 120px;
  background: var(--surface-white);
}
.about-mv-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 190%;
  color: var(--foreground-secondary);
  max-width: 560px;
  margin: 1rem auto 0;
}
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
}
.about-mv-card {
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}
.about-mv-card--image {
  background: rgb(246 246 246);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.about-mv-card--image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.about-mv-card--text {
  border: 1px solid var(--foreground-primary);
  background: #fff;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.about-mv-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--foreground-primary);
  margin: 0 0 8px;
}
.about-mv-card-body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 190%;
  color: var(--foreground-secondary);
  margin: 0;
}

/* Mission/Vision CTA button — accent green like reference, on white */
.btn-mv-cta {
  align-self: flex-start;
  background: var(--bg-gradient);
  color: var(--foreground-white);
  margin-top: 8px;
}
.btn-mv-cta .arrow-circle {
  background: var(--surface-white);
}
.btn-mv-cta .arrow-circle svg path {
  stroke: var(--foreground-primary);
}

/* Flip vision row: text on left, image on right */
.about-mv-grid .about-mv-card--text + .about-mv-card--image {
  /* already in correct order via DOM */
}

/* ─── Section 4: Core Values ─── */
.about-values {
  padding: 100px 0 120px;
  background: #f1f3f7;
}
.about-values-badge {
  color: var(--foreground-white) !important;
}
.about-values-heading {
  color: var(--foreground-primary);
  margin-top: 16px;
  margin-bottom: 16px;
}
.about-values-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 180%;
  color: var(--foreground-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* Bento grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 64px;
}

/* Value cards */
.about-values-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Icon */
.about-values-icon-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.about-values-icon-wrap i {
  font-size: 36px;
  color: var(--mareana-primary);
}
.about-values-icon-wrap svg {
  width: 36px;
  height: 36px;
  stroke: var(--mareana-primary);
  flex-shrink: 0;
}

.about-values-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--foreground-primary);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.about-values-card-body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 200%;
  color: var(--foreground-secondary);
  margin: 0;
}

/* Image tile — spans 2 columns, row 2 right side */
.about-values-image {
  grid-column: span 2;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}
.about-values-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .about-hero-title {
    font-size: 56px;
    letter-spacing: -2px;
  }
  .about-hero-photo--main {
    width: 340px;
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .about-mv-grid {
    grid-template-columns: 1fr;
  }
  .about-mv-card {
    min-height: 0;
  }
  .about-mv-card--image {
    min-height: 280px;
  }

  /* On mobile, place vision image above vision text for natural reading flow */
  .about-mv-grid > .about-mv-card:nth-child(3) {
    order: 2;
  }
  .about-mv-grid > .about-mv-card:nth-child(4) {
    order: 1;
  }

  /* Values: 2-col tablet */
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values-image {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .about-hero-dark {
    padding: 140px 0 0;
  }
  .about-hero-title {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .about-hero-subtitle {
    font-size: 15px;
    padding: 0 16px;
  }
  .about-hero-dark .btn-pill.btn-primary {
    margin-bottom: 56px;
  }
  .about-hero-collage {
    padding-bottom: 56px;
  }
  .about-hero-collage-track {
    gap: 10px;
  }
  .about-hero-photo--main {
    width: 260px;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .about-clients {
    padding: 64px 0;
  }
  .about-clients-title {
    font-size: 18px;
    margin-bottom: 36px;
    padding: 0 16px;
  }
  .about-marquee-track {
    gap: 48px;
  }
  .about-marquee-logo {
    font-size: 18px;
    letter-spacing: 1.5px;
  }

  .about-mv {
    padding: 48px 0 72px;
  }
  .about-mv-card--text {
    padding: 28px 24px;
  }
  .about-mv-card-title {
    font-size: 26px;
  }
  .about-mv-card-body {
    font-size: 14px;
  }

  /* Values: reduce padding on mobile */
  .about-values {
    padding: 64px 0 80px;
  }
  .about-values-card {
    padding: 28px 24px 32px;
  }

  /* Blogs mobile */
  .blogs-hero {
    padding: 110px 16px 40px;
  }
  .blogs-hero-title {
    font-size: 28px;
    letter-spacing: -1px;
    max-width: 100%;
  }
  .blogs-hero-subtitle {
    font-size: 14px;
    max-width: 100%;
  }
  .blogs-main {
    padding: 0 16px 64px;
  }
  .blogs-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .blogs-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    flex-wrap: nowrap;
    gap: 2px;
  }
  .blogs-tab {
    font-size: 13px;
    padding: 9px 14px;
    flex-shrink: 0;
  }
  .blogs-search {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .blogs-search-input {
    font-size: 14px;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-card-title {
    font-size: 16px;
  }
  .blog-card-desc {
    font-size: 13px;
  }
  .blog-card-posted {
    font-size: 13px;
  }
  .blog-card-readtime {
    font-size: 13px;
    padding: 3px 10px;
  }
  .blog-card-body {
    padding: 14px 14px 12px;
    gap: 12px;
  }
}

/* ─── Section 5: Leadership Team ─── */
.about-leadership {
  padding: 100px 0 120px;
  background: #000;
}
.about-leadership-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75) !important;
}
.about-leadership-heading {
  color: var(--foreground-white);
  margin-top: 16px;
  margin-bottom: 16px;
}
.about-leadership-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 180%;
  color: rgba(255, 255, 255, 0.55);
  max-width: 580px;
  margin: 0 auto;
}

/* Grid: 3-col desktop */
.about-ldr-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
}

/* Card shell — two-box layout, no hover animation */
.about-ldr-card {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #141217;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  aspect-ratio: 4 / 5;
}

/* Top box — fills all remaining space above the content panel */
.about-ldr-top {
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  position: relative;
}
.about-ldr-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Bottom box — content-driven height, no excess */
.about-ldr-bottom {
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  position: relative;
}

/* Blurred image layer — heavy blur so only color bleeds through, no face */
.about-ldr-blur-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center bottom;
  filter: blur(55px) brightness(0.5) saturate(1.4);
  transform: scale(1.1);
  pointer-events: none;
}

/* Frosted glass overlay on top of blurred bg */
.about-ldr-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 12, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Info content sits above both layers */
.about-ldr-info {
  position: relative;
  z-index: 2;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.about-ldr-name {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground-white);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.about-ldr-role-text {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
}

.about-ldr-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-self: stretch;
}
.about-ldr-social:hover {
  color: var(--foreground-white);
}
.about-ldr-social svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.about-ldr-social:hover svg {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .about-ldr-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 576px) {
  /* Buttons: full-width with text centered and circle at right end */
  .btn-pill {
    width: 100%;
    justify-content: space-between;
  }
  .btn-pill .btn-text-inner {
    flex: 1;
    align-items: center;
  }
  /* Exception: hero CTA stays inline but a bit wider */
  .about-hero-inner .btn-pill {
    width: auto;
    min-width: 260px;
    justify-content: space-between;
  }
  .about-hero-inner .btn-pill .btn-text-inner {
    flex: 1;
    align-items: center;
  }

  /* Values: 1-col on phones */
  .about-values-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .about-values-image {
    grid-column: span 1;
    min-height: 220px;
  }

  /* Leadership */
  .about-leadership {
    padding: 64px 0 80px;
  }
  .about-ldr-grid {
    gap: 16px;
    margin-top: 40px;
  }
  .about-ldr-card {
    flex: 0 0 100%;
    max-width: 100%;
    aspect-ratio: unset;
    min-height: 340px;
  }
  .about-ldr-name {
    font-size: 20px;
  }
  .about-leadership-subtitle {
    font-size: 14px;
  }

  /* Mission cards — remove forced min-height on very small screens */
  .about-mv-card {
    min-height: 0;
  }
  .about-mv-card--image {
    min-height: 220px;
  }
}
/* Contact Page Styles */
.contact-dot-bg {
  background-color: #ffffff;
  background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1px);
  background-size: 10px 10px;
}

/* CTA Section Styles */
.contact-cta-section {
  background: transparent;
}

.cta-card {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(67, 97, 238, 0.35) 100%
  );
  border: 1px solid rgba(67, 97, 238, 0.15);
  border-top: none;
  box-shadow: 0 4px 32px rgba(67, 97, 238, 0.08);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px !important;
}

.cta-card .cta-dot-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.55) 1px,
    transparent 1px
  );
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════
   BLOGS PAGE
   ═══════════════════════════════════════════════════ */

/* ─── Hero ─── */
.blogs-hero {
  background: #f1f3f7;
  padding: 160px 80px 64px;
  text-align: center;
}
.blogs-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.blogs-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.blogs-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -2.4px;
  color: var(--foreground-primary);
  max-width: 700px;
  margin: 0;
}
.blogs-hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: var(--foreground-secondary);
  max-width: 560px;
  margin: 0;
}

/* ─── Main content area ─── */
.blogs-main {
  background: #f1f3f7;
  padding: 0 80px 100px;
}
.blogs-main-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ─── Toolbar (tabs + search) ─── */
.blogs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Tabs pill */
.blogs-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 100px;
  padding: 6px;
  box-shadow:
    20px 227px 64px 0 rgba(0, 0, 0, 0),
    13px 145px 58px 0 rgba(0, 0, 0, 0),
    7px 82px 49px 0 rgba(0, 0, 0, 0.01),
    3px 36px 36px 0 rgba(0, 0, 0, 0.02),
    1px 9px 20px 0 rgba(0, 0, 0, 0.02);
}
.blogs-tab {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--foreground-primary);
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 11px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1.3;
}
.blogs-tab:hover {
  background: #f1f3f7;
}
.blogs-tab.active {
  background: #f1f3f7;
  font-weight: 500;
}

/* Search */
.blogs-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 100px;
  padding: 13px 22px;
  box-shadow:
    20px 227px 64px 0 rgba(0, 0, 0, 0),
    13px 145px 58px 0 rgba(0, 0, 0, 0),
    7px 82px 49px 0 rgba(0, 0, 0, 0.01),
    3px 36px 36px 0 rgba(0, 0, 0, 0.02),
    1px 9px 20px 0 rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
  min-width: 260px;
}
.blogs-search-icon {
  flex-shrink: 0;
  opacity: 0.5;
}
.blogs-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--foreground-secondary);
  opacity: 0.7;
  width: 100%;
}
.blogs-search-input::placeholder {
  color: var(--foreground-secondary);
}

/* ─── Blog grid ─── */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Blog card ─── */
.blog-card {
  background: #fff;
  border: 1px solid var(--mareana-border);
  border-radius: 16px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Image container */
.blog-card-img-wrap {
  border-radius: 12px;
  border: 1px solid var(--mareana-border);
  overflow: hidden;
  background: linear-gradient(180deg, #e1e5ff 0%, #ffffff 67%);
  aspect-ratio: 16 / 9;
  width: 100%;
  flex-shrink: 0;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card body */
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 18px 14px;
  flex: 1;
}
.blog-card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--foreground-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-desc {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--foreground-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-divider {
  border: none;
  border-top: 1px solid var(--mareana-border);
  margin: 0;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card-posted {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--foreground-secondary);
}
.blog-card-posted .meta-value {
  color: var(--foreground-primary);
  font-weight: 500;
}
.blog-card-readtime {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--foreground-primary);
  background: #f1f3f7;
  border: 1px solid var(--mareana-border);
  border-radius: 8px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ─── Blogs Responsive: Tablet (≤1024px) ─── */
@media (max-width: 1024px) {
  .blogs-hero {
    padding: 140px 40px 56px;
  }
  .blogs-hero-title {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .blogs-main {
    padding: 0 40px 80px;
  }
  .blogs-toolbar {
    gap: 12px;
  }
  .blogs-search {
    min-width: 200px;
  }
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ─── Blog filter select (mobile only) ─── */
.blogs-filter-select-wrap {
  display: none; /* hidden on desktop */
}
.blogs-filter-select-wrap {
  position: relative;
  width: 100%;
}
.blogs-filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid var(--mareana-border);
  border-radius: 100px;
  padding: 13px 44px 13px 22px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--foreground-primary);
  cursor: pointer;
  outline: none;
  box-shadow:
    20px 227px 64px 0 rgba(0, 0, 0, 0),
    13px 145px 58px 0 rgba(0, 0, 0, 0),
    7px 82px 49px 0 rgba(0, 0, 0, 0.01),
    3px 36px 36px 0 rgba(0, 0, 0, 0.02),
    1px 9px 20px 0 rgba(0, 0, 0, 0.02);
}
.blogs-filter-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.5;
}

/* ─── Blogs Responsive: Mobile (≤768px) — after base CSS so rules win ─── */
@media (max-width: 768px) {
  .blogs-hero {
    padding: 110px 16px 40px;
  }
  .blogs-hero-title {
    font-size: 28px;
    letter-spacing: -1px;
    max-width: 100%;
  }
  .blogs-hero-subtitle {
    font-size: 14px;
    max-width: 100%;
  }
  .blogs-main {
    padding: 0 16px 64px;
  }
  .blogs-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  /* swap tabs → select on mobile */
  .blogs-tabs {
    display: none;
  }
  .blogs-filter-select-wrap {
    display: block;
  }
  .blogs-search {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .blogs-search-input {
    font-size: 14px;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-card-title {
    font-size: 16px;
  }
  .blog-card-desc {
    font-size: 13px;
  }
  .blog-card-posted {
    font-size: 13px;
  }
  .blog-card-readtime {
    font-size: 13px;
    padding: 3px 10px;
  }
  .blog-card-body {
    padding: 14px 14px 12px;
    gap: 12px;
  }
  #blogsEmpty {
    grid-column: 1 / -1;
  }
}

/* ─── Blogs Responsive: Small mobile (≤480px) ─── */
@media (max-width: 480px) {
  .blogs-hero {
    padding: 100px 16px 36px;
  }
  .blogs-hero-title {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .blogs-hero-subtitle {
    font-size: 13px;
    line-height: 1.8;
  }
  .section-badge {
    font-size: 14px;
    padding: 10px 18px;
  }
  .blogs-main {
    padding: 0 12px 48px;
  }
  .blogs-main-inner {
    gap: 20px;
  }
  .blogs-tabs {
    padding: 4px;
  }
  .blogs-tab {
    font-size: 13px;
    padding: 8px 12px;
  }
  .blogs-search {
    padding: 11px 16px;
  }
  .blog-card {
    padding: 4px;
  }
  .blog-card-body {
    padding: 12px 12px 10px;
  }
  .blog-card-title {
    font-size: 15px;
  }
}

/* ─── Blogs Subscribe Section ─── */
.blogs-subscribe {
  background: #f1f3f7;
  padding: 0 80px 40px;
}
.blogs-subscribe-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blogs-subscribe-card {
  background: #000000;
  border-radius: 14px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.blogs-subscribe-light-ray {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  opacity: 0.55;
}
.blogs-subscribe-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.blogs-subscribe-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -1.28px;
  margin: 0;
  line-height: 1.3;
}
.blogs-subscribe-desc {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2;
  margin: 0;
}
.blogs-subscribe-right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.blogs-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.blogs-subscribe-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(224, 224, 224, 0.14);
  border-radius: 100px;
  padding: 6px 6px 6px 26px;
  backdrop-filter: blur(12px);
}
.blogs-subscribe-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #fff;
  min-width: 200px;
}
.blogs-subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.blogs-subscribe-btn {
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 28px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a181b;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.blogs-subscribe-btn:hover {
  opacity: 0.88;
}
.blogs-subscribe-disclaimer {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
}
.blogs-subscribe-disclaimer span {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #fff;
}
@media (max-width: 768px) {
  .blogs-subscribe {
    padding: 0 16px 32px;
  }
  .blogs-subscribe-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 36px;
    gap: 28px;
    border-radius: 16px;
  }
  .blogs-subscribe-light-ray {
    height: 60%;
    opacity: 0.35;
  }
  .blogs-subscribe-left {
    max-width: 100%;
  }
  .blogs-subscribe-title {
    font-size: 24px;
    letter-spacing: -0.72px;
  }
  .blogs-subscribe-desc {
    font-size: 14px;
    line-height: 1.8;
  }
  .blogs-subscribe-right {
    width: 100%;
  }
  .blogs-subscribe-form {
    gap: 14px;
  }
  .blogs-subscribe-input-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
  }
  .blogs-subscribe-input {
    min-width: 0;
    width: 100%;
    padding: 4px 0;
    font-size: 14px;
  }
  .blogs-subscribe-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
  }
  .blogs-subscribe-disclaimer {
    gap: 8px;
  }
  .blogs-subscribe-disclaimer span {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════
   BLOG DETAIL PAGE
   ═══════════════════════════════════════════════════ */

.bd-main {
  background: #fff;
  padding: 160px 0 80px;
}
.bd-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ─── Header ─── */
.bd-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bd-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--foreground-secondary);
  opacity: 0.8;
}
.bd-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--foreground-secondary);
  opacity: 0.4;
}
.bd-title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1.8px;
  color: var(--foreground-primary);
  margin: 0;
}

/* ─── Hero image ─── */
.bd-hero-img-wrap {
  background: #fff;
  border: 1px solid var(--mareana-border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.bd-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ─── Summary ─── */
.bd-summary {
  background: #f6f6f6;
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bd-summary-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1.3px;
  color: var(--foreground-primary);
  margin: 0;
}
.bd-summary-text {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--foreground-primary);
  margin: 0;
}

/* ─── Audio player ─── */
.bd-audio {
  background: var(--mareana-primary);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.bd-audio::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.bd-audio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bd-audio-label {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.88px;
}
.bd-audio-duration {
  font-weight: 400;
  opacity: 0.8;
}
.bd-audio-play-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.bd-audio-play-btn:hover {
  transform: scale(1.08);
}
.bd-audio-seekbar-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bd-audio-track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  cursor: pointer;
}
.bd-audio-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  border-radius: 100px;
  transition: width 0.5s linear;
}
.bd-audio-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  transition: left 0.5s linear;
}
.bd-audio-times {
  display: flex;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* ─── Table of contents ─── */
.bd-toc {
  border: 1px solid rgba(80, 80, 80, 0.2);
  border-radius: 16px;
  overflow: hidden;
}
.bd-toc-header {
  background: #fafafa;
  padding: 16px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.9px;
  color: var(--foreground-primary);
  border-bottom: 1px solid rgba(80, 80, 80, 0.2);
}
.bd-toc-item {
  display: block;
  padding: 14px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(80, 80, 80, 0.12);
  line-height: 1.9;
  transition:
    background 0.15s,
    color 0.15s;
}
.bd-toc-item:last-child {
  border-bottom: none;
}
.bd-toc-item:hover {
  background: #f6f6f6;
  color: var(--mareana-primary);
}

/* ─── Article body ─── */
.bd-article {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.bd-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bd-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1.3px;
  color: var(--foreground-primary);
  margin: 0 0 6px;
}
.bd-section p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--foreground-primary);
  margin: 0 0 24px;
}
.bd-section p:last-child {
  margin-bottom: 0;
}

/* ─── Email CTA box ─── */
.bd-cta-box {
  background: black;
  border-radius: 14px;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bd-cta-light-ray {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  opacity: 0.45;
  pointer-events: none;
}
.bd-cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1px;
  color: #fff;
  max-width: 520px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.bd-cta-form {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.bd-cta-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(224, 224, 224, 0.14);
  border-radius: 100px;
  padding: 6px 6px 6px 26px;
  backdrop-filter: blur(12px);
}
.bd-cta-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #fff;
  min-width: 0;
}
.bd-cta-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.bd-cta-btn {
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.bd-cta-btn:hover {
  opacity: 0.88;
}

/* ─── Read Next / All Blogs ─── */
.bd-read-next-wrap {
  display: flex;
  justify-content: flex-end;
}
.bd-read-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f7;
  border: 1px solid var(--mareana-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--foreground-primary);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.bd-read-next-btn:hover {
  background: var(--mareana-primary);
  color: #fff;
}

/* ─── Related Blogs ─── */
.bd-related {
  background: #f1f3f7;
  padding: 60px 80px 80px;
}
.bd-related-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.bd-related-eyebrow {
  text-align: center;
}
.bd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

/* ─── Blog detail responsive ─── */
@media (max-width: 1024px) {
  .bd-related {
    padding: 48px 40px 60px;
  }
}
@media (max-width: 768px) {
  .bd-main {
    padding: 110px 0 60px;
  }
  .bd-container {
    gap: 32px;
    padding: 0 16px;
  }
  .bd-title {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .bd-audio {
    padding: 24px 20px;
  }
  .bd-audio-label {
    font-size: 17px;
  }
  .bd-summary {
    padding: 20px 20px 24px;
  }
  .bd-summary-title {
    font-size: 22px;
  }
  .bd-section-title {
    font-size: 22px;
  }
  .bd-cta-box {
    padding: 32px 24px;
  }
  .bd-cta-title {
    font-size: 22px;
  }
  .bd-cta-input-wrap {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px 16px;
    gap: 10px;
  }
  .bd-cta-btn {
    border-radius: 12px;
    width: 100%;
    text-align: center;
  }
  .bd-related {
    padding: 40px 16px 56px;
  }
  .bd-related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .bd-title {
    font-size: 22px;
  }
  .bd-audio-label {
    font-size: 15px;
  }
  .bd-section-title {
    font-size: 19px;
  }
}

/* ─── Contact page icon fix ─── */
.contact-info-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* ─── Blogs hero mobile badge spacing ─── */
@media (max-width: 768px) {
  .blogs-hero-inner {
    padding-top: 16px;
  }
  .section-badge {
    margin-bottom: 8px;
  }
}

/* ─── Blog detail: audio + TOC side by side ─── */
.bd-audio-toc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .bd-audio-toc-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Blog detail: scrolling audio transcript ─── */
.bd-transcript {
  height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 15%,
    black 35%,
    black 65%,
    rgba(0, 0, 0, 0.8) 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 15%,
    black 35%,
    black 65%,
    rgba(0, 0, 0, 0.8) 85%,
    transparent 100%
  );
}
.bd-transcript::-webkit-scrollbar {
  display: none;
}

.bd-transcript-inner {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 2px 0;
  padding: 80px 4px;
  line-height: 2;
}

.bd-word {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.25);
  transition:
    color 0.15s ease,
    font-weight 0.15s ease;
  white-space: pre;
}
.bd-word-past {
  color: rgba(255, 255, 255, 0.5);
}
.bd-word-active {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* ─── Blog detail hero image — left-to-right reveal ─── */
@keyframes bd-hero-reveal {
  from {
    clip-path: inset(0 100% 0 0 round 12px);
  }
  to {
    clip-path: inset(0 0% 0 0 round 12px);
  }
}
.bd-hero-img-wrap {
  overflow: hidden;
}
.bd-hero-img {
  animation: bd-hero-reveal 1.1s cubic-bezier(0.77, 0, 0.175, 1) both;
}

/* ─── Audio card: flex column so transcript fills remaining space ─── */
@media (min-width: 769px) {
  .bd-audio-toc-row {
    align-items: start;
  }
  .bd-audio {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 420px;
  }
  .bd-transcript {
    flex: 1;
    min-height: 0;
    height: auto;
  }
}

/* Shared section container */
.charts-container {
  max-width: clamp(
    1400px,
    max(1400px, calc(1120px + (100vw - 768px) * 0.2152777778)),
    1368px
  );
  margin: 0 auto;
  padding-left: clamp(
    25px,
    max(25px, calc(20px + (100vw - 768px) * 0.0520833333)),
    80px
  );
  padding-right: clamp(
    25px,
    max(25px, calc(20px + (100vw - 768px) * 0.0520833333)),
    80px
  );
}
@media (max-width: 767px) {
  .charts-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Gradient accent text */
.text-gradient {
  background: linear-gradient(
    90deg,
    var(--mareana-secondary) 0%,
    var(--mareana-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Hero ─── */
.charts-hero {
  position: relative;
  background: #000000;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  padding: 150px 0 0 !important;
  text-align: center;
}
/* Stacked glow shapes — pushed up, only bottom half visible */
.charts-hero-glow {
  position: absolute;
  top: -600px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 900px;
  border-radius: 900px;
  background: #4361ee;
  background-blend-mode: multiply;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}
.charts-hero-glow-secondary {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 400px;
  border-radius: 500px;
  background: linear-gradient(270deg, #4361ee 0%, #4cc9f0 100%);
  background-blend-mode: multiply;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}
/* Vertical rectangle bars */
.charts-hero-bars {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  pointer-events: none;
  z-index: 2;
}
.charts-hero-bar {
  flex: 1 0 0;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}
.charts-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}
.charts-hero .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  border: none;
  border-top: 1.5px solid #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}
.charts-hero .section-badge i {
  color: var(--mareana-secondary);
}
.charts-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 134%;
  letter-spacing: -2.4px;
  color: var(--foreground-white);
  margin: 12px 0 20px;
}
.charts-hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 200%;
  color: rgba(255, 255, 255, 0.6);
  max-width: 920px;
  margin: 0 auto 36px;
}
/* Chart frame */
.charts-hero-chart {
  max-width: 1260px;
  margin: 100px auto 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: none;
  background: transparent;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
@media (min-width: 1400px) {
  .charts-hero-chart {
    padding: 0;
  }
}
.charts-hero-chart .charts-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 14px 14px 0 0;
}
.charts-hero-blur-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(0deg, #0c0c14 0%, rgba(12, 12, 20, 0) 100%);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* ─── Hero Floating Icons ─── */
.charts-hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.charts-hero-float {
  position: absolute;
  filter: drop-shadow(0 0 18px rgba(67, 97, 238, 0.45));
}
.charts-hero-float--bar-left {
  left: calc(50% - 300px);
  top: 490px;
}
.charts-hero-float--pie-right {
  right: calc(50% - 300px);
  top: 490px;
}
.charts-hero-float--blur-left {
  left: calc(50% - 470px);
  top: 530px;
}
.charts-hero-float--blur-right {
  right: calc(50% - 470px);
  top: 530px;
}
@media (max-width: 992px) {
  .charts-hero-floats {
    display: none;
  }
}

/* ─── Client Marquee ─── */
.charts-clients {
  background: var(--surface-white);
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 64px 0;
}
.charts-clients .outer {
  display: flex;
  align-items: center;
}
.charts-clients .marquee-label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--foreground-secondary);
  line-height: 1.8;
  flex-shrink: 0;
  max-width: 148px;
  padding-right: 24px;
  border-right: 1.5px solid var(--mareana-border);
  margin-right: 32px;
}
.charts-clients .marquee-fade-wrapper {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.charts-clients .marquee-track {
  display: flex;
  align-items: center;
  animation: charts-scroll-left 28s linear infinite;
  width: max-content;
}
.charts-clients .marquee-track:hover {
  animation-play-state: paused;
}
.charts-clients .logo-block {
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-right: 1.5px solid var(--mareana-border);
}
.charts-clients .logo-block img {
  width: auto;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.charts-clients .logo-block img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes charts-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Chat Use Case client marquee: page-specific classes to avoid legacy marquee conflicts */
.chatusecase-clients {
  background: var(--surface-white, #ffffff);
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.chatusecase-clients__container {
  max-width: 1240px;
  width: calc(100% - 48px);
  margin: 0 auto;
}

.chatusecase-clients__outer {
  display: flex;
  align-items: center;
}

.chatusecase-clients__label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--foreground-secondary, #5f6773);
  line-height: 1.8;
  flex-shrink: 0;
  max-width: 148px;
  padding-right: 24px;
  border-right: 1.5px solid var(--mareana-border, #e3e7ee);
  margin-right: 32px;
}

.chatusecase-clients__fade {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.chatusecase-clients__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: chatusecase-clients-scroll-left 28s linear infinite;
}

.chatusecase-clients__track:hover {
  animation-play-state: paused;
}

.chatusecase-clients__logo {
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-right: 1.5px solid var(--mareana-border, #e3e7ee);
}

.chatusecase-clients__logo img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 24px;
  margin: 0;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.chatusecase-clients__logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes chatusecase-clients-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── Quote ─── */
.charts-quote {
  background: var(--surface-white);
  padding-top: 80px;
  padding-bottom: 80px;
}
.charts-quote-inner {
  margin: 0 auto;
  position: relative;
}
.charts-quote-text {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: -1px;
  color: var(--foreground-primary);
  text-align: center;
}
.charts-quote-text .highlight-pink {
  color: #f94e9b;
}
.charts-quote-mark-svg {
  display: inline-block;
  height: 18px;
  width: auto;
  vertical-align: 0.3em;
  margin: 0 6px;
}
.charts-quote-mark-svg--open {
  transform: scaleX(-1);
}
.charts-quote-mark {
  display: none;
}
.charts-quote-brand {
  background: linear-gradient(90deg, #6b85ff 0%, #4361ee 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--Mareana-Primary, Poppins);
  font-size: 36px;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: -1.44px;
}
.charts-quote-logo {
  display: inline-block;
  width: auto;
  height: 2.4em;
  vertical-align: middle;
  margin: 0 10px;
}

/* ─── Dark Feature Section (How it works) ─── */
.charts-workflow {
  background: #000000;
  padding: 0;
  position: relative;
  overflow: clip;
}
/* Big blue glow oval at bottom */
.charts-workflow::before {
  content: "";
  position: absolute;
  bottom: -800px;
  left: 50%;
  transform: translateX(-50%);
  width: 1178px;
  height: 1178px;
  border-radius: 1178px;
  background: linear-gradient(0deg, #4361ee 0%, #4361ee 100%);
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.55;
}
/* Small white glow oval on top of blue */
.charts-workflow::after {
  content: "";
  position: absolute;
  bottom: -450px;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  height: 540px;
  border-radius: 540px;
  background: #fff;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}
.charts-workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
}
.charts-workflow-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-white);
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.charts-workflow-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 230%;
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
  padding-top: 12px;
}
/* Workflow pinning states are controlled by chatusecase.js. */
.charts-workflow-inner {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}
@media (min-width: 993px) {
  .charts-workflow-inner.is-pinned,
  .charts-workflow-inner.is-released {
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
  }
  .charts-workflow-inner.is-pinned {
    position: fixed;
    top: 0;
  }
  .charts-workflow-inner.is-released {
    position: absolute;
    top: auto;
    bottom: 0;
  }
}
.charts-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.charts-steps-wrap {
  position: relative;
}
.charts-step {
  padding: 28px 32px;
  padding-bottom: 40px;
  position: relative;
  opacity: 0.25;
  transition: opacity 0.5s ease;
}
.charts-step.is-active {
  opacity: 1;
}
/* Vertical border — connects to horizontal progress bar */
.charts-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.15) 100%
  );
}
.charts-step:first-child::before {
  display: none;
}
/* Dot at intersection of vertical line and horizontal progress bar */
.charts-step::after {
  content: "";
  position: absolute;
  left: -9px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  aspect-ratio: 1/1;
  border-radius: 18px;
  border: 2px solid #fff;
  background: linear-gradient(180deg, #4361ee 0%, #7d93ff 100%);
  z-index: 2;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    box-shadow 0.5s ease;
}
.charts-step:first-child::after {
  display: none;
}
.charts-step.is-active::after {
  opacity: 1;
  box-shadow:
    0 0 10px rgba(67, 97, 238, 0.6),
    0 0 20px rgba(67, 97, 238, 0.3);
}
.charts-step-num {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
  transition: color 0.5s ease;
}
.charts-step.is-active .charts-step-num {
  color: #fff;
}
.charts-step-title {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--foreground-white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 160%;
}
.charts-step-body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 200%;
  color: #d5d5d5;
}
/* Progress bar — sits directly below steps, no gap */
.charts-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  margin: 0 0 40px;
}
.charts-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--mareana-primary),
    var(--mareana-secondary)
  );
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow:
    0 0 8px rgba(67, 97, 238, 0.6),
    0 0 20px rgba(67, 97, 238, 0.3),
    0 0 40px rgba(67, 97, 238, 0.15);
}
.charts-progress-dot {
  display: none;
}

/* ─── Detection Section ─── */
.charts-detection {
  background: var(--surface-white);
  padding: 100px 0;
}
.charts-detection-inner {
  /* container styles via .charts-container */
}
.charts-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-primary);
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.charts-section-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 230%;
  color: var(--foreground-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}
.charts-detection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px;
  gap: 12px;
  border-radius: 20px;
  background: var(--Mareana-Neutral, #f1f3f7);
}
.charts-detection-card {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--Surface-White, #fff);
  overflow: hidden;
}
/* Card stack — two overlapping mini-cards */
.charts-detection-card-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2.6;
}
.charts-detection-card-stack .stack-card {
  display: inline-flex;
  padding: 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  background: #f1f3f7;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.12),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  overflow: hidden;
  position: absolute;
}
.charts-detection-card-stack .stack-card img,
.charts-detection-card-stack .stack-card svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Left / bottom card */
.charts-detection-card-stack .stack-card--back {
  left: 5%;
  bottom: 5%;
  width: 55%;
  z-index: 1;
}
/* Right / top card */
.charts-detection-card-stack .stack-card--front {
  right: 5%;
  top: 5%;
  width: 55%;
  z-index: 2;
}
/* Shine animation on hover (back card) — blurred, from top-right */
@keyframes shine-in {
  0% {
    transform: translateX(100%) translateY(-30%) rotate(25deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100%) translateY(30%) rotate(25deg);
    opacity: 0;
  }
}
@keyframes shine-out {
  0% {
    transform: translateX(-100%) translateY(30%) rotate(25deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(-30%) rotate(25deg);
    opacity: 0;
  }
}
.charts-detection-card-stack .stack-card--back::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.45) 55%,
    transparent 65%,
    transparent 100%
  );
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%) translateY(-30%) rotate(25deg);
}
.charts-detection-card:hover .stack-card--back::after {
  animation: shine-in 0.8s ease forwards;
}
.charts-detection-card.has-hovered:not(:hover) .stack-card--back::after {
  animation: shine-out 0.8s ease forwards;
}
.charts-detection-card-body {
  padding: 0;
}
.charts-detection-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--foreground-primary);
  margin-bottom: 12px;
}
.charts-detection-card-desc {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 190%;
  color: var(--foreground-secondary);
  margin: 0;
}

/* ─── Rule Engine Section ─── */
.charts-rules {
  background: #f5f5f7;
  padding: 100px 0;
}
.charts-rules-inner {
  /* container styles via .charts-container */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.charts-rules-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.charts-rules-img-card {
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.1),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  display: flex;
  padding: 6px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: 1 0 0;
}
.charts-rules-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}
.charts-rules-img-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(0deg, #0c0c14 0%, rgba(12, 12, 20, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.charts-rules-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.charts-rules-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-primary);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.charts-rules-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 165%;
  color: var(--foreground-secondary);
  margin-bottom: 28px;
}
.charts-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.charts-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.charts-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(67, 97, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mareana-primary);
  font-size: 18px;
}
.charts-feature-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground-primary);
}
.batch-feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-bottom: 0;
  background: linear-gradient(180deg, #4361ee, #8ea0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 22px;
}

.batch-feature-icon p,
.batch-feature-icon a {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.batch-feature-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.charts-feature-divider {
  border: none;
  height: 1px;
  margin: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(9, 9, 9, 0.85) 49.04%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ─── SPC Charts ─── */
.charts-spc {
  background: #000000;
  padding: 100px 0;
  overflow: hidden;
}
.charts-spc-inner {
  /* container styles via .charts-container */
}
.charts-spc-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-white);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.charts-spc-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 230%;
  color: rgba(255, 255, 255, 0.5);
  max-width: 720px;
  margin-bottom: 48px;
}
.charts-spc-marquee-wrap {
  position: relative;
  overflow: hidden;
}
.charts-spc-marquee-wrap::before,
.charts-spc-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.charts-spc-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #000000 0%, transparent 100%);
}
.charts-spc-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #000000 0%, transparent 100%);
}
.charts-spc-box {
  border-radius: 20px;
  border: 1px solid #232323;
  background: rgba(23, 23, 23, 0.7);
  padding: 12px;
  overflow: hidden;
}
.charts-spc-outer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: max-content;
  animation: spcMarquee 30s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.charts-spc-box:hover .charts-spc-outer-box {
  animation-play-state: paused;
}
@keyframes spcMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.charts-spc-card {
  flex: 0 0 400px;
  height: 480px;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  background: #000;
  overflow: hidden;
  position: relative;
}
.charts-spc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 49.04%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
}
.charts-spc-card::after {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 160px;
  height: 160px;
  border-radius: 322px;
  background: #969696;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.charts-spc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.charts-spc-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  padding-top: 140px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.15) 80%,
    transparent 100%
  );
  z-index: 1;
}
.charts-spc-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  font-kerning: normal;
}
.charts-spc-card-desc {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 200%;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  font-kerning: normal;
}

.charts-spc-card-desc p {
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin: 0;
}

/* ─── LUMIS ─── */
.charts-lumis {
  background: #000000;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#lumis-light-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.charts-lumis-glow-blue {
  position: absolute;
  bottom: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, #4361ee 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.charts-lumis-glow-white {
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
.charts-lumis-inner {
  /* container styles via .charts-container */
  position: relative;
  z-index: 1;
}
.charts-lumis-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.charts-lumis-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-white);
  position: relative;
  z-index: 2;
}
.charts-lumis-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 230%;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 8px;
}
.charts-lumis-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.charts-lumis-sources {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.charts-lumis-sources-label {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground-white);
  margin-bottom: 24px;
}
.charts-lumis-source {
  display: flex;
  padding: 6px 20px 6px 6px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 100px;
  border: 1px solid rgba(224, 224, 224, 0.14);
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.1) 0.24%,
    rgba(255, 255, 255, 0) 99.76%
  );
  backdrop-filter: blur(12px);
  margin-bottom: 10px;
}
.charts-lumis-source-icon {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: linear-gradient(225deg, #4361ee 0%, #8ea0f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 14px;
}
.charts-lumis-source-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.charts-lumis-source-text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}
.charts-lumis-cta {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: auto;
}
.charts-lumis-cta p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}
.charts-lumis-chat-wrap {
  border-radius: 22px;
  background: rgba(0, 0, 0, 0);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.charts-lumis-chat {
  width: 100%;
  border-radius: 12px;
  display: block;
  background: rgba(0, 0, 0, 0.6);
}

/* ─── Integrations ─── */
.charts-integrations {
  background: var(--surface-white);
  padding: 100px 0;
}
.charts-integrations-inner {
  /* container styles via .charts-container */
  text-align: center;
}
/* Integration Diagram */
.intg-diagram-wrap {
  max-width: 1064px;
  margin: 56px auto 0;
  overflow: hidden;
  padding: 32px;
}
.intg-diagram {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 72px 48px;
  min-height: 420px;
  position: relative;
  overflow: visible;
}
.intg-center {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.intg-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
/* Card cells */
.intg-cell-tl {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.intg-cell-tr {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.intg-cell-bl {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.intg-cell-br {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
/* Outer card shell */
.intg-card {
  border-radius: 10px;
  background: #f1f3f7;
  position: relative;
  z-index: 1;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.1),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  padding: 6px;
  width: 300px;
}
/* Inner white box */
.intg-card-inner {
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Header bar */
.intg-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: linear-gradient(225deg, #4361ee 0%, #8ea0f5 100%);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}
.intg-card-header.dark {
  background: #0a0a0a;
}
.intg-card-header i {
  font-size: 15px;
}
.intg-card-header svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* Chip marquee — two rows */
.intg-card-tags {
  overflow: hidden;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intg-tags-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.intg-tags-track.forward {
  animation: intgTagsFwd 12s linear infinite;
}
.intg-tags-track.reverse {
  animation: intgTagsRev 12s linear infinite;
}
.intg-card:hover .intg-tags-track {
  animation-play-state: paused;
}
@keyframes intgTagsFwd {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes intgTagsRev {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.intg-tag {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1a181b;
  background: #f4f4f6;
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Center rings wrapper */
.intg-center-rings {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 266px;
  height: 266px;
  z-index: 1;
}
.intg-ring {
  position: absolute;
  border-radius: 32px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #fff;
  pointer-events: none;
}
.intg-ring-1 {
  width: 170px;
  height: 170px;
  z-index: 3;
}
.intg-ring-2 {
  width: 218px;
  height: 218px;
  z-index: 2;
}
.intg-ring-3 {
  width: 266px;
  height: 266px;
  z-index: 1;
}
/* Center logo box */
.intg-center-outer {
  display: flex;
  padding: 6px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 22px;
  background: #f1f3f7;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.12),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 4;
}
.intg-center-logo {
  display: flex;
  width: 110px;
  height: 110px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #000;
  overflow: hidden;
  position: relative;
}
.intg-center-logo-blob-white {
  position: absolute;
  left: -140px;
  bottom: -70px;
  width: 28px;
  height: 31px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: blobSlide 9s linear infinite;
}
.intg-center-logo-blob-blue {
  position: absolute;
  left: -175px;
  bottom: -20px;
  width: 94px;
  height: 72px;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  animation: blobSlide 9s linear infinite;
}
@keyframes blobSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(420px);
  }
}
.intg-center-logo-arc {
  position: absolute;
  bottom: -12px;
  left: 20px;
  width: 70px;
  height: 40px;
  border-radius: 35px 35px 0 0;
  background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation: arcSwing 6s ease-in-out infinite;
}
.intg-center-logo-white-glow {
  display: none;
}
@keyframes arcSwing {
  0% {
    transform: translateX(-80px);
    opacity: 0;
  }
  18% {
    opacity: 0.95;
  }
  50% {
    transform: translateX(80px);
    opacity: 0;
  }
  82% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(-80px);
    opacity: 0;
  }
}
.intg-center-logo img {
  position: relative;
  z-index: 1;
}
.intg-center-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.charts-integrations-footer {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--foreground-secondary);
  margin-top: 40px;
}
.charts-integrations-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.charts-integrations-method {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground-primary);
}
.charts-integrations-sep {
  width: 1px;
  height: 20px;
  background: var(--mareana-border);
}

/* ─── Compliance ─── */
.charts-compliance {
  background: #f8f8f8;
  padding: 100px 0;
}
.charts-compliance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text  card"
    "pills card"
    "bottom card";
  column-gap: 64px;
  row-gap: 24px;
  align-items: start;
}
.charts-compliance-text {
  grid-area: text;
}
.charts-compliance-pills-wrap {
  grid-area: pills;
}
.charts-compliance-bottom {
  grid-area: bottom;
}
.charts-compliance-card {
  grid-area: card;
  align-self: center;
}
.charts-compliance-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-primary);
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
.charts-compliance-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 165%;
  color: var(--foreground-secondary);
  margin-bottom: 28px;
}
.charts-compliance-pills {
  display: flex;
  gap: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}
.charts-compliance-pill {
  flex: 1;
  padding: 20px 22px;
  position: relative;
}
.charts-compliance-pill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(67, 97, 238, 0) 0%,
    #4361ee 50%,
    rgba(67, 97, 238, 0) 100%
  );
}
.charts-compliance-pill:last-child::after {
  display: none;
}
.charts-compliance-pill-title {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--mareana-primary);
  margin-bottom: 6px;
}
.charts-compliance-pill-desc {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--foreground-secondary);
  line-height: 1.5;
  margin: 0;
}
.charts-compliance-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}
/* White card wrapper */
.charts-compliance-card {
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 32px 64px 0 rgba(0, 0, 0, 0.1),
    0 8px 24px 0 rgba(0, 0, 0, 0.07);
  padding: 6px;
}
/* Black inner box */
.charts-compliance-box {
  background: #0a0a0a;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 24px;
}
/* Top-center half-circle dark glow */
.charts-compliance-box::before {
  content: "";
  position: absolute;
  top: -161px;
  left: 50%;
  transform: translateX(-50%);
  width: 644px;
  height: 322px;
  border-radius: 322px;
  background: #383838;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.charts-compliance-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* ─── FAQ ─── */
.charts-faq {
  background: var(--surface-white);
  padding: 100px 0 60px;
}
.charts-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}
.charts-faq-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-primary);
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 56px;
}

/* Custom FAQ Accordion — outer card */
.custom-faq-accordion .accordion-item {
  border: none !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.1),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  display: flex;
  padding: 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  overflow: visible;
}
/* Inner bordered card */
.faq-inner-card {
  display: flex;
  width: 100%;
  padding: 16px 16px 16px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 14px;
  border: 1px solid #e7e7e7;
  background: #fff;
  overflow: hidden;
}
.faq-inner-card .accordion-header {
  width: 100%;
}
.faq-inner-card .accordion-collapse {
  width: 100%;
}
.custom-faq-accordion .accordion-button {
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent !important;
  box-shadow: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-family: "Poppins", sans-serif;
  width: 100%;
}
.custom-faq-accordion .accordion-button::after {
  display: none;
}
.custom-faq-accordion .accordion-button::before {
  content: "";
  order: 2;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"),
    linear-gradient(180deg, #4361ee 0%, #8ea0f5 100%);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom-faq-accordion .accordion-button:not(.collapsed)::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"),
    linear-gradient(180deg, #1a181b 0%, #5f5f5f 100%);
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}
.charts-faq-inner .custom-faq-accordion .accordion-body {
  padding: 0 0 8px 0;
  color: #666;
  line-height: 1.7;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

/* Outer card wrapper shared by FAQ items and CTA banner */
.faq-outer-card {
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 21px 21px 0 rgba(0, 0, 0, 0.1),
    0 5px 12px 0 rgba(0, 0, 0, 0.14);
  padding: 6px;
}

/* ─── FAQ CTA Banner ─── */
.charts-info-bar {
  max-width: 900px;
  margin: 0 auto 0px;
}
.faq-cta-banner {
  background: #000000;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  padding: 20px 40px 20px 24px;
}
.faq-light-ray {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.faq-glow-circle {
  position: absolute;
  right: 162px;
  top: -254px;
  width: 255px;
  height: 255px;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.faq-cta-content {
  z-index: 2;
}
.faq-cta-banner h4 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.need-more-info-desc {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin: 0;
}

/* ─── Bottom CTA ─── */
.charts-cta {
  background: var(--surface-white);
  padding: 0 0 80px;
  overflow: hidden;
}
.charts-cta-card {
  max-width: 1260px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000;
  padding: 60px 48px 0;
  isolation: isolate;
  text-align: center;
  height: 700px;
}
/* ── CTA half-moon arcs (only bottom arc visible, clipped by card overflow:hidden) ── */
.charts-cta-moon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  z-index: 0;
}
.charts-cta-moon-1 {
  width: 860px;
  height: 620px;
  top: -560px;
  background: rgba(67, 97, 238, 0.55);
  filter: blur(80px);
}
.charts-cta-moon-2 {
  width: 580px;
  height: 420px;
  top: -370px;
  background: rgba(87, 117, 255, 0.65);
  filter: blur(50px);
}
.charts-cta-moon-3 {
  width: 340px;
  height: 240px;
  top: -200px;
  background: rgba(114, 138, 255, 0.75);
  filter: blur(28px);
}
/* ── CTA main centered bottom glow ── */
.charts-cta-center-glow {
  position: absolute;
  bottom: -380px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 860px;
  border-radius: 1376px;
  background: linear-gradient(180deg, #4361ee 0%, rgba(67, 97, 238, 0.8) 100%);
  mix-blend-mode: plus-lighter;
  filter: blur(195px);
  pointer-events: none;
  z-index: 0;
}
.charts-cta-bars {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
}
.charts-cta-arc {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
.charts-cta-bar {
  flex: 1 0 0;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  max-width: 120px;
}
.charts-cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1.92px;
  color: var(--foreground-white);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.charts-cta-desc {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 230%;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

/* CTA bottom chart cards */
.charts-cta-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  margin-left: -100px;
  margin-right: -100px;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.charts-cta-chart-card {
  flex: 0 0 400px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  background: #000;
  overflow: hidden;
  position: relative;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.charts-cta-chart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 49%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
}
.charts-cta-chart-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.charts-cta-chart-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  padding-top: 100px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 35%,
    transparent 100%
  );
  z-index: 1;
}
.charts-cta-chart-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.charts-cta-chart-card-desc {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 190%;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
/* Center card pushed down by default */
.charts-cta-chart-card--center {
  transform: translateY(56px);
}
/* Hover tilt animations triggered on the card wrapper hover */
.charts-cta-card:hover .charts-cta-chart-card--left {
  transform: translateY(-28px) rotate(-7deg);
}
.charts-cta-card:hover .charts-cta-chart-card--center {
  transform: translateY(8px);
}
.charts-cta-card:hover .charts-cta-chart-card--right {
  transform: translateY(-28px) rotate(7deg);
}

/* Button variant for dark sections */
.btn-pill.btn-white {
  background: var(--surface-white);
  color: var(--foreground-primary);
}
.btn-pill.btn-white .arrow-circle {
  background: var(
    --Mariana-Gradient,
    linear-gradient(225deg, #4361ee 0%, #8ea0f5 100%)
  );
}
.btn-pill.btn-white .arrow-circle svg path {
  stroke: #fff;
}

/* ─── Responsive ─── */
@media (min-width: 1200px) {
  .charts-rules-desc,
  .charts-compliance-desc {
    line-height: 230%;
  }
  .charts-hero-glow {
    width: 100%;
    height: 780px;
    top: -440px;
  }
  .charts-hero-glow-secondary {
    width: 55%;
    height: 360px;
    top: -80px;
  }
  .charts-hero-bar:nth-child(n + 20) {
    display: none;
  }
}
@media (max-width: 1200px) {
  /* ── Hero bars ── */
  .charts-hero-bar:nth-child(n + 19) {
    display: none;
  }
  /* ── Marquee label ── */
  .charts-clients .marquee-label {
    max-width: 190px;
  }
  /* ── Typography scale ── */
  .charts-hero-title {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .charts-section-title,
  .charts-workflow-title,
  .charts-rules-title,
  .charts-spc-title,
  .charts-lumis-title,
  .charts-compliance-title,
  .charts-faq-title {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .charts-testi-stat-num {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .charts-testi-stats {
    gap: 40px;
  }
  /* ── CTA spacing for 1024px–1200px ── */
  .charts-cta {
    padding: 0 24px 80px;
  }
  .charts-cta-card {
    height: 520px;
  }
  .charts-cta-cards {
    margin-left: -60px;
    margin-right: -60px;
    gap: 24px;
  }
  .charts-cta-chart-card {
    flex: 0 0 300px;
  }
  .charts-cta-title {
    font-size: 36px;
    letter-spacing: -1.4px;
  }
  /* ── Quote ── */
  .charts-quote {
    padding: 60px 0;
  }
  .charts-quote-text {
    font-size: 26px;
    letter-spacing: -0.6px;
    line-height: 165%;
  }
  .charts-quote-brand {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .charts-quote-logo {
    height: 1.8em;
    margin: 0 8px;
  }
  .charts-quote-mark-svg {
    height: 15px;
  }
}
@media (max-width: 992px) {
  .charts-hero {
    padding: 160px 0 0;
  }
  .charts-hero-inner {
    padding: 0 40px;
  }
  .charts-hero-chart {
    padding: 0 24px;
  }
  .charts-hero-title {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .charts-section-title,
  .charts-workflow-title,
  .charts-rules-title,
  .charts-spc-title,
  .charts-lumis-title,
  .charts-compliance-title,
  .charts-faq-title,
  .charts-cta-title {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .charts-quote-text {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .charts-quote-brand {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .charts-step-title,
  .charts-detection-card-title {
    font-size: 18px;
  }
  .charts-workflow-header {
    flex-direction: column;
    gap: 20px;
  }
  .charts-workflow-title {
    max-width: 100%;
  }
  .charts-workflow {
    padding: 80px 0;
  }
  .charts-workflow-inner {
    position: relative;
    top: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
  .charts-step {
    padding-left: 0;
    padding-right: 0;
  }
  .charts-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-step {
    opacity: 1;
    padding-bottom: 28px;
  }
  .charts-step::before {
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
  }
  .charts-step::after {
    display: none;
  }
  .charts-step:nth-child(odd)::before {
    display: none;
  }
  .charts-detection-grid {
    grid-template-columns: 1fr;
  }
  .charts-rules-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column;
  }
  .charts-rules-content {
    order: 1;
  }
  .charts-rules-inner > div:first-child {
    order: 2;
  }
  .charts-lumis-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  /* ── Typography ── */
  .charts-hero-title {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .charts-hero-subtitle,
  .charts-section-subtitle,
  .charts-workflow-desc,
  .charts-rules-desc,
  .charts-spc-desc,
  .charts-lumis-desc,
  .charts-compliance-desc,
  .charts-cta-desc {
    font-size: 15px;
    line-height: 1.9;
  }
  .charts-section-title,
  .charts-workflow-title,
  .charts-rules-title,
  .charts-spc-title,
  .charts-lumis-title,
  .charts-compliance-title,
  .charts-faq-title,
  .charts-cta-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .charts-quote {
    padding-top: 0px !important;
    padding-bottom: 48px !important;
  }
  .charts-quote-text {
    font-size: 22px;
    line-height: 175%;
    letter-spacing: -0.3px;
  }
  .charts-quote-brand {
    font-size: 22px;
    letter-spacing: -0.3px;
    line-height: 175%;
  }
  .charts-quote-logo {
    height: 1.5em;
    width: auto;
    margin: 0 5px;
  }
  .charts-quote-mark-svg {
    height: 13px;
    vertical-align: 0.2em;
    margin: 0 3px;
  }
  .charts-step-title,
  .charts-detection-card-title {
    font-size: 16px;
  }
  .charts-step-body,
  .charts-detection-card-desc,
  .charts-spc-card-desc {
    font-size: 13px;
  }
  .charts-spc-card-title {
    font-size: 16px;
  }

  /* ── Hero ── */
  .charts-hero {
    padding: 140px 0 0;
  }
  .charts-hero-inner {
    padding: 0 20px;
  }
  .charts-hero-blur-overlay {
    height: 18%;
  }
  /* Keep 10 bars on mobile so they're not awkwardly wide */
  .charts-hero-bar:nth-child(n + 11) {
    display: none;
  }
  /* Scale down badge */
  .charts-hero .section-badge {
    padding: 8px 12px;
    font-size: 12px;
    gap: 5px;
  }
  .charts-hero .section-badge svg {
    width: 16px;
    height: 16px;
  }
  /* Tighten title→desc gap */
  .charts-hero-title {
    margin-bottom: 12px;
    margin-top: 16px;
  }
  .charts-hero-subtitle {
    margin-top: 0;
  }

  /* ── Clients ── */
  .charts-clients .marquee-label {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 16px;
    text-align: center;
    max-width: 100%;
  }
  .charts-clients .outer {
    flex-direction: column;
  }
  .charts-clients .logo-block {
    padding: 0 20px;
  }
  .charts-clients .marquee-fade-wrapper {
    width: 100%;
    flex: none;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
  }

  /* ── Quote ── */
  .charts-quote-logo {
    width: 44px;
    height: 50px;
    margin: 0 6px;
    top: -3px;
  }

  /* ── Workflow steps ── */
  .charts-workflow {
    padding: 64px 0;
  }
  .charts-steps {
    grid-template-columns: 1fr;
  }
  .charts-step {
    opacity: 1;
    padding-bottom: 28px;
  }
  .charts-step::before {
    display: none !important;
  }
  .charts-step::after {
    display: none !important;
  }
  .charts-progress-bar {
    display: none;
  }
  .charts-step + .charts-step {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* ── Section spacing ── */
  .charts-detection,
  .charts-rules,
  .charts-spc,
  .charts-lumis,
  .charts-integrations,
  .charts-compliance,
  .charts-faq {
    padding: 56px 0;
  }
  /* Uniform heading→description gap across every section */
  .charts-section-title,
  .charts-workflow-title,
  .charts-rules-title,
  .charts-spc-title,
  .charts-lumis-title,
  .charts-compliance-title,
  .charts-faq-title,
  .charts-cta-title {
    margin-bottom: 12px;
  }
  /* Uniform desc→content gap across every section */
  .charts-section-subtitle,
  .charts-workflow-desc,
  .charts-rules-desc,
  .charts-spc-desc,
  .charts-lumis-desc,
  .charts-compliance-desc {
    margin-bottom: 24px;
  }
  /* FAQ needs more space between title and first accordion item */
  .charts-faq-title {
    margin-bottom: 32px;
  }

  /* ── SPC marquee — smaller cards so full card is visible ── */
  .charts-spc-card {
    flex: 0 0 280px;
    height: 360px;
  }
  .charts-spc-marquee-wrap::before,
  .charts-spc-marquee-wrap::after {
    width: 40px;
  }

  /* ── LUMIS — single column, chat image below sources ── */
  .charts-lumis-header {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 32px;
  }
  .charts-lumis-desc {
    padding-top: 0;
  }
  .charts-lumis-title {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .charts-lumis-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .charts-lumis-chat-wrap {
    order: 2;
  }
  .charts-lumis-cta {
    margin-top: 24px;
  }

  /* ── Compliance — flex column: title → desc → image → pills → button ── */
  .charts-compliance-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .charts-compliance-text {
    order: 1;
    grid-area: unset;
    width: 100%;
  }
  .charts-compliance-card {
    order: 2;
    grid-area: unset;
    width: 100%;
  }
  .charts-compliance-pills-wrap {
    order: 3;
    grid-area: unset;
    width: 100%;
  }
  .charts-compliance-bottom {
    order: 4;
    grid-area: unset;
    width: 100%;
  }
  .charts-compliance-title {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
  }
  .charts-compliance-pill::after {
    display: none;
  }
  .charts-compliance-pills {
    flex-direction: column;
    margin-bottom: 28px;
    width: 100%;
  }
  .charts-compliance-pill {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--mareana-border);
  }
  .charts-compliance-pill:last-child {
    border-bottom: none;
  }

  /* ── LUMIS — image below header desc, sources below image ── */
  .charts-lumis-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .charts-lumis-chat-wrap {
    order: 1;
  }
  .charts-lumis-content > div:first-child {
    order: 2;
  }

  /* ── Info bar ── */
  .charts-info-bar-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  /* ── CTA — clean mobile layout, no images or animation ── */
  .charts-cta {
    padding: 0 16px 60px;
  }
  .charts-cta-card {
    padding: 48px 24px 48px !important;
    height: auto !important;
  }
  .charts-cta-arc,
  .charts-cta-cards {
    display: none !important;
  }
  .charts-cta-title {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
  }
  .charts-cta-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
  }
}
@media (max-width: 576px) {
  .charts-quote-logo {
    width: 40px;
    height: 45px;
    margin: 0 4px;
    top: -2px;
  }
  .btn-pill {
    width: auto;
    justify-content: flex-start;
  }
  .btn-pill .btn-text-inner {
    text-align: left;
  }
}
/* ─── Integration Diagram Responsive ─── */

/* Tablet (≤ 992px): tighten card width and gap */
@media (max-width: 1100px) {
  .intg-diagram-wrap {
    padding: 24px 20px;
  }
  .intg-diagram {
    grid-template-columns: 1fr 220px 1fr;
    gap: 48px 32px;
    min-height: 320px;
  }
  .intg-card {
    width: 240px;
  }
  .intg-center-rings {
    width: 200px;
    height: 200px;
  }
  .intg-ring-1 {
    width: 128px;
    height: 128px;
  }
  .intg-ring-2 {
    width: 164px;
    height: 164px;
  }
  .intg-ring-3 {
    width: 200px;
    height: 200px;
  }
  .intg-center-outer {
    border-radius: 18px;
  }
  .intg-center-logo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }
  .intg-center-logo img {
    width: 44px;
    height: 44px;
  }
}

/* Large mobile (≤ 768px): switch to 2-column stacked layout */
/* Large mobile (≤ 768px): compact 4-corner layout with L-lines */
@media (max-width: 768px) {
  .intg-diagram-wrap {
    overflow: visible;
    padding: 20px 24px 48px;
    margin-top: 40px;
  }
  .charts-integrations-footer {
    font-size: 13px;
  }
  .charts-integrations-methods {
    gap: 12px;
    flex-wrap: nowrap;
  }
  .charts-integrations-method {
    font-size: 13px;
    white-space: nowrap;
  }
  .intg-diagram {
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 32px 10px;
    min-height: 260px;
  }
  /* Restore 4-corner positions */
  .intg-cell-tl {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }
  .intg-cell-tr {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
  }
  .intg-center {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-content: center;
    min-width: 0;
  }
  .intg-cell-bl {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }
  .intg-cell-br {
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
  }
  /* Keep SVG lines visible */
  .intg-svg-lines {
    display: block;
  }
  /* Cards fill their column fully */
  .intg-card {
    width: 100%;
    min-width: 0;
  }
  .intg-card-header {
    font-size: 12px;
    padding: 8px 12px;
    gap: 7px;
  }
  .intg-card-header i {
    font-size: 13px;
  }
  .intg-tag {
    font-size: 11px;
    padding: 3px 8px;
  }
  /* Hide ring squares, keep only center logo + L-lines */
  .intg-ring {
    display: none;
  }
  .intg-center-rings {
    width: auto;
    height: auto;
  }
  .intg-center-outer {
    border-radius: 13px;
  }
  .intg-center-logo {
    width: 58px;
    height: 58px;
    border-radius: 9px;
  }
  .intg-center-logo img {
    width: 28px;
    height: 28px;
  }
}

/* Small mobile (≤ 576px): compact 4-corner layout with L-lines */
@media (max-width: 576px) {
  .intg-diagram-wrap {
    overflow: visible;
    padding: 16px 20px 44px;
  }
  .charts-integrations-footer {
    font-size: 12px;
  }
  .charts-integrations-methods {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .charts-integrations-method {
    font-size: 11px;
    white-space: nowrap;
  }
  .charts-integrations-sep {
    height: 14px;
  }
  .intg-diagram {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
    gap: 28px 6px;
    min-height: 200px;
  }
  /* Restore 4-corner positions */
  .intg-cell-tl {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    min-width: 0;
  }
  .intg-cell-tr {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-start;
    min-width: 0;
  }
  .intg-center {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
  }
  .intg-cell-bl {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
    min-width: 0;
  }
  .intg-cell-br {
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-start;
    min-width: 0;
  }
  /* Cards fill their column fully */
  .intg-card {
    width: 100%;
    min-width: 0;
  }
  .intg-card-header {
    font-size: 10px;
    padding: 6px 8px;
    gap: 5px;
  }
  .intg-card-header i {
    font-size: 11px;
  }
  .intg-tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  /* Hide ring squares, keep only center logo + L-lines */
  .intg-ring {
    display: none;
  }
  .intg-center-rings {
    width: auto;
    height: auto;
  }
  .intg-center-outer {
    border-radius: 8px;
    padding: 3px;
  }
  .intg-center-logo {
    width: 44px;
    height: 44px;
    border-radius: 7px;
  }
  .intg-center-logo img {
    width: 22px;
    height: 22px;
  }
}

/* ── TESTIMONIALS ── */
.charts-testimonials {
  background: #f8f8f8;
  padding: 100px 0;
}
.charts-testimonials-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.charts-testimonials-inner > a.btn-pill {
  margin-top: 50px;
}
.charts-testimonials-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
/* .charts-testimonials-header .charts-section-title {
  max-width: 858px;
} */
.charts-testimonials-header .charts-section-subtitle {
  max-width: 818px;
}
.charts-testi-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.charts-testi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.charts-testi-card-wrap {
  flex: 1 1 calc((100% - 16px) / 2);
  max-width: calc((100% - 16px) / 2);
  min-width: 0;
  border: 4px solid #fff;
  border-radius: 8px;
  overflow: hidden;
}
.charts-testi-card {
  background: linear-gradient(to bottom, #fff, #f8f8f8);
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
  height: 100%;
}
.charts-testi-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.charts-testi-role {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.8px;
  color: #1a181b;
  line-height: 1;
}
.charts-testi-company {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1a181b;
  opacity: 0.5;
  line-height: 1;
}
.charts-testi-quote {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #1a181b;
  opacity: 0.9;
  margin: 0;
  flex: 1;
}
.charts-testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}
.charts-testi-tags {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.charts-testi-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to bottom, #fff, #f8f8f8);
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 12px 13px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1a181b;
  line-height: 1;
  white-space: nowrap;
}
.charts-testi-tag-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  object-fit: contain;
}
.charts-testi-stars {
  display: flex;
  gap: 6px;
  align-items: center;
  order: 2;
}
.charts-testi-tags {
  order: 1;
}
.charts-testi-star {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #4361ee;
}
/* Stats bar */
.charts-testi-stats {
  background: linear-gradient(to bottom, #fff, #f8f8f8);
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 92px;
  width: 100%;
}
.charts-testi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.charts-testi-stat-num {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -1.52px;
  line-height: 1.3;
  color: #1a181b;
}
.charts-testi-stat-label {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: #1a181b;
}
.charts-testi-divider {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #d5d5d5 50%,
    transparent 100%
  );
  align-self: stretch;
  flex-shrink: 0;
}
@media (max-width: 1200px) {
  .charts-testi-stats {
    gap: 40px;
  }
  .charts-testi-stat-num {
    font-size: 28px;
    letter-spacing: -1px;
  }
}
@media (max-width: 992px) {
  .charts-testi-stats {
    gap: 40px;
  }
  .charts-testi-stat-num {
    font-size: 28px;
  }
  .charts-testi-stat-label {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .charts-testimonials {
    padding: 60px 0;
  }
  .charts-testi-row {
    flex-direction: column;
  }
  .charts-testi-card-wrap {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .charts-testi-stats {
    flex-direction: column;
    gap: 24px;
    padding: 20px;
  }
  .charts-testi-divider {
    width: 40px;
    height: 1px;
    align-self: auto;
  }
  .charts-testi-stat-num {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .charts-testi-tag {
    padding: 8px 10px;
    font-size: 12px;
  }
  .charts-testi-role {
    font-size: 16px;
  }
  .charts-testi-quote {
    font-size: 14px;
  }
  .charts-testi-card {
    gap: 24px;
  }
}
