/* ============================
   SX Landing Page (Refined)
   ============================ */

.sx-landing-page {
  --neutral-100: #f8f9fa;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;

  --text-main: #212529;
  --text-muted: #666666;

  --brand-blue: #2d84cd;

  /* lighter / less boxy */
  --radius: 10px;              /* slightly friendlier than "box" */
  --radius-soft: 14px;
  --hairline: rgba(33, 37, 41, 0.10);

  --shadow-hover: 0 10px 26px rgba(0, 0, 0, 0.10);
  --shadow-whisper: 0 8px 20px rgba(0, 0, 0, 0.06);

  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 52px;

  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

/* Constrain without affecting menu blocks */
.sx-landing-page .sx-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Section rhythm (reduce vertical air vs your original) */
/* Reduced top padding to bring cells closer to hero */
.sx-landing-page.sx-section {
  padding: 28px 0 52px 0; /* less space above, keep below */
}

/* Core band: makes Cells dominant without “more boxes” */
.sx-landing-page.sx-section--core {
  background: linear-gradient(90deg, rgba(45, 132, 205, 0.06), rgba(45, 132, 205, 0.00) 70%);
}

.sx-landing-page.sx-hero + .sx-landing-page.sx-section--core {
  padding-top: 34px; /* reduce first section top padding */
}

/* Micro-labels */
.sx-landing-page .sx-micro-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

/* Centered headers (fix: lead block should be centered) */
.sx-landing-page .sx-section-header--center {
  text-align: center;
  margin-bottom: var(--space-4);
}

.sx-landing-page .sx-section-header--center .sx-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.sx-landing-page .sx-section-header h2 {
  font-size: 2.15rem;
  font-weight: 760;
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.02em;
}

.sx-landing-page.sx-section--core .sx-section-header h2 {
  font-size: 2.4rem;
}

.sx-landing-page .sx-lead {
  max-width: 62ch;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* Buttons */
.sx-landing-page .sx-btn-minimal {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  color: var(--brand-blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sx-landing-page .sx-btn-minimal:hover {
  border-bottom-color: var(--brand-blue);
  transform: translateY(-1px);
}

/* CTA alignment: match your reference (left under the items) */
.sx-landing-page .sx-section-cta {
  margin-top: var(--space-3);
}

.sx-landing-page .sx-section-cta--left {
  text-align: left;
}

/* =========================================
   CELLS: stacked modules (less boxy)
   ========================================= */

/* Add margin-top to cell stack for visual balance */
.sx-landing-page .sx-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.sx-landing-page .sx-module {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.86);

  /* less "card": hairline border + soft radius */
  border: 1px solid var(--hairline);
  border-radius: var(--radius-soft);
  overflow: hidden;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sx-landing-page .sx-module:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-whisper);
  border-color: rgba(45, 132, 205, 0.35);
  background: #fff;
}

.sx-landing-page .sx-module__media {
  flex: 0 0 300px; /* slightly larger for dominance */
  min-height: 190px;
  background: #fff;
  position: relative;
}

.sx-landing-page .sx-module__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sx-landing-page .sx-module__body {
  flex: 1 1 auto;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sx-landing-page .sx-module__body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 780;
}

.sx-landing-page .sx-module__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 72ch;
}

.sx-landing-page .sx-module__body .sx-btn-minimal {
  margin-top: 6px;
  align-self: flex-start;
}

/* =========================================
   SUPPORT ITEMS (Electrodes / Expansion)
   bigger media, less "tiny UI cards"
   ========================================= */

.sx-landing-page .sx-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.sx-landing-page .sx-support-item {
  display: flex;
  gap: 18px 20px;
  align-items: center;

  /* not fully boxed: soft panel */
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.08);
  border-radius: var(--radius);
  padding: 16px 18px;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sx-landing-page .sx-support-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-whisper);
  border-color: rgba(45, 132, 205, 0.30);
}

.sx-landing-page .sx-support-item__media {
  flex: 0 0 176px;   /* bigger than before */
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--neutral-100);
  border: 1px solid rgba(33, 37, 41, 0.08);
}

.sx-landing-page .sx-support-item__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sx-landing-page .sx-support-item__body h3 {
  margin: 0 0 4px 0;
  font-size: 1.06rem;
  font-weight: 820;
  letter-spacing: -0.01em;
}

.sx-landing-page .sx-support-item__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
  .sx-landing-page.sx-section {
    padding: var(--space-4) 0;
  }

  .sx-landing-page .sx-module {
    flex-direction: column;
  }

  .sx-landing-page .sx-module__media {
    flex: none;
    min-height: 170px;
  }

  .sx-landing-page .sx-support-grid {
    grid-template-columns: 1fr;
  }

  .sx-landing-page .sx-support-item__media {
    flex-basis: 150px;
    height: 102px;
  }
}


/* =========================================
   SDC landing (scoped adjustments)
   ========================================= */

.sx-landing-page.sx-sdc .sx-module__media {
  flex-basis: 280px; /* slightly less dominant than SECM cells if desired */
}

/* Bullet list inside the SDC tip system block */
.sx-landing-page .sx-bullets {
  margin: 8px 0 6px 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sx-landing-page .sx-bullets li {
  margin: 6px 0;
}

/* Small product cards inside the holders module */
.sx-landing-page .sx-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 6px 0;
}

.sx-landing-page .sx-subcard {
  background: rgba(248, 249, 250, 0.7);
  border: 1px solid rgba(33, 37, 41, 0.08);
  border-radius: 12px;
  padding: 12px 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sx-landing-page .sx-subcard:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 132, 205, 0.28);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.sx-landing-page .sx-subcard h4 {
  margin: 0 0 6px 0;
  font-size: 0.98rem;
  font-weight: 820;
}

.sx-landing-page .sx-subcard p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .sx-landing-page .sx-subgrid {
    grid-template-columns: 1fr;
  }
}