/* Feature / Core ERP landing chapters — varied homepage-inspired treatments */

.feature-section {
  padding: 72px 0;
  color: #1d1d1f;
  background: #fff;
}

.feature-section + .feature-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-section--band {
  background: #fafaf8;
  border-top: 0 !important;
}

.feature-section--band + .feature-section--band {
  border-top: 1px solid rgba(15, 23, 42, 0.05) !important;
}

.feature-section--cards {
  padding: 88px 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(15, 118, 110, 0.06), transparent 55%),
    #fff;
}

.feature-section--index {
  padding: 28px 0;
  border-top: 0;
}

.feature-section--index + .feature-section--index {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: #898989;
  font: 600 11px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-section-copy h2,
.feature-section-header h2,
.feature-index-copy h2 {
  margin: 0 0 14px;
  color: #1d1d1f;
  font: 600 clamp(28px, 3.4vw, 40px)/1.12 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.feature-section-subtitle {
  margin: 0 0 18px;
  color: #334155;
  font: 600 18px/1.45 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-section-actions {
  margin: 28px 0 0;
}

/* Beat .feature-section-copy p { margin: 0 0 14px } so CTAs keep space after workflow. */
.feature-section-copy > .feature-section-actions,
.feature-index-copy > .feature-section-actions,
.feature-section-workflow + .feature-section-actions {
  margin: 28px 0 0;
}

.feature-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.feature-section-cta span {
  font-size: 1.05em;
  line-height: 1;
}

.feature-section-copy p,
.feature-index-copy p,
.feature-section-lead {
  margin: 0 0 14px;
  max-width: 62ch;
  color: #475569;
  font: 400 16px/1.65 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-section-header {
  max-width: 720px;
  margin: 0 0 36px;
}

.feature-section-list {
  margin: 10px 0 0;
  padding: 0 0 0 1.15em;
  color: #334155;
  font: 400 16px/1.6 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-section-list li + li {
  margin-top: 7px;
}

.feature-section-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.feature-section-list--inline li {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.feature-section-workflow {
  margin: 22px 0 0 !important;
  padding: 14px 18px;
  border-left: 3px solid var(--signal, #0f766e);
  background: #f0fdfa;
  color: #0f172a !important;
  font: 600 15px/1.5 var(--font-sans, "DM Sans", system-ui, sans-serif) !important;
  max-width: none;
}

.feature-section-copy > .feature-section-workflow,
.feature-index-copy > .feature-section-workflow {
  margin: 22px 0 0 !important;
}

/* Editorial / band */

.feature-editorial-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.feature-editorial-layout.has-media {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

/* Checklist split — mirrors homepage split energy */

.feature-checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
}

.feature-check-list {
  margin: 0;
  padding: 22px;
  list-style: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.feature-section--band .feature-check-list {
  background: #fff;
}

.feature-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #1d1d1f;
  font: 500 15px/1.45 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-check-list li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-check-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--signal, #0f766e);
}

/* Cards grid — reasons-preview energy */

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 140px;
  padding: 20px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s var(--easing, ease), border-color 0.2s var(--easing, ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
}

.feature-card-index {
  color: var(--signal, #0f766e);
  font: 600 12px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: 0.08em;
}

.feature-card p {
  margin: 0;
  color: #1d1d1f;
  font: 500 15px/1.4 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

/* Index / capability row */

.feature-index-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: start;
  padding: 28px 0;
}

.feature-index-num {
  color: var(--signal, #0f766e);
  font: 600 22px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.02em;
}

.feature-index-copy h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 8px;
}

.feature-index-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #1d1d1f;
}

.feature-section-media {
  margin: 0;
}

.feature-section-media img,
.feature-section-media--wide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.feature-section-media--wide {
  margin-top: 28px;
}

.page-faqs {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #fafaf8;
}

@media (max-width: 900px) {
  .feature-section,
  .feature-section--cards {
    padding: 48px 0;
  }

  .feature-editorial-layout.has-media,
  .feature-checklist-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-index-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .feature-index-mark {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Feature graphic diagrams —— */

.feature-graphic {
  padding: 56px 0 64px;
  color: #1d1d1f;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-graphic--hub_spoke,
.feature-graphic--product_stage {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(15, 118, 110, 0.07), transparent 60%),
    #fafaf8;
}

.feature-graphic--media_slot {
  background: #fafaf8;
}

.feature-graphic-inner {
  display: grid;
  gap: 28px;
}

.feature-graphic-header {
  max-width: 720px;
}

.feature-graphic-header h2 {
  margin: 0;
  color: #1d1d1f;
  font: 600 clamp(24px, 2.8vw, 34px)/1.15 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.028em;
}

.feature-graphic-caption {
  margin: 0;
  color: #64748b;
  font: 600 14px/1.45 var(--font-sans, "DM Sans", system-ui, sans-serif);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Process flow — horizontal numbered chips */

.feature-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.feature-flow > li {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
  min-width: min(140px, 100%);
}

.feature-flow > li:not(:last-child)::after {
  content: "";
  flex: 1 1 18px;
  min-width: 18px;
  height: 1px;
  margin: 0 6px;
  background: linear-gradient(90deg, rgba(255, 43, 28, 0.15), rgba(255, 43, 28, 0.7));
}

.feature-flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--signal, #e31b23);
  color: #fff;
  font: 600 12px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(255, 43, 28, 0.12);
}

.feature-flow-label {
  color: #1d1d1f;
  font: 600 14px/1.3 var(--font-sans, "DM Sans", system-ui, sans-serif);
  letter-spacing: -0.01em;
}

/* Drill-down — vertical InvoiceNow-style */

.feature-drill {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 520px;
}

.feature-drill > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.feature-drill-index {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  color: #111;
  font: 600 13px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
}

.feature-drill-index::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: -6px;
  left: 50%;
  width: 1px;
  background: #e4e4e1;
  transform: translateX(-50%);
}

.feature-drill > li:last-child .feature-drill-index::before {
  display: none;
}

.feature-drill-card {
  display: block;
  margin-bottom: 12px;
  padding: 18px 20px;
  background: #fafaf8;
  border: 1px solid #e4e4e1;
  color: #1d1d1f;
  font: 600 17px/1.25 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.02em;
}

.feature-drill > li:last-child .feature-drill-card {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* Hierarchy stack */

.feature-hierarchy {
  display: grid;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 560px;
}

.feature-hierarchy > li {
  margin-left: calc(var(--feature-depth, 0) * 18px);
  padding: 14px 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-left: 3px solid var(--signal, #0f766e);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.feature-hierarchy-label {
  color: #1d1d1f;
  font: 600 15px/1.35 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

/* Hub and spoke */

.feature-hub {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 12px 0 8px;
}

.feature-hub-center {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(280px, 100%);
  min-height: 88px;
  padding: 22px 28px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.feature-hub-center strong {
  font: 600 18px/1.25 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.02em;
}

.feature-hub-spokes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-hub-spoke {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.feature-hub-spoke-title {
  color: #1d1d1f;
  font: 600 14px/1.3 var(--font-display, "Space Grotesk", system-ui, sans-serif);
}

.feature-hub-spoke-lines {
  color: #64748b;
  font: 500 12px/1.4 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

/* Column / split panels */

.feature-panels {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-panels--1 {
  grid-template-columns: 1fr;
}

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

.feature-panels--4,
.feature-panels--5,
.feature-panels--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-panel {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.feature-panel h3 {
  margin: 0;
  color: #1d1d1f;
  font: 600 20px/1.2 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.025em;
}

.feature-panel-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-panel-flow li {
  position: relative;
  padding: 8px 0 8px 0;
  color: #334155;
  font: 500 14px/1.4 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-panel-flow li + li {
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.feature-panel-flow li + li::before {
  content: "↓";
  display: block;
  margin: 0 0 6px;
  color: var(--signal, #0f766e);
  font-size: 12px;
  font-weight: 700;
}

/* Media slot */

.feature-media-slot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.feature-media-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-media-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 280px;
  padding: 40px 28px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.05), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(15, 23, 42, 0.02) 10px,
      rgba(15, 23, 42, 0.02) 11px
    ),
    #f8faf9;
  color: #64748b;
  text-align: center;
  font: 500 15px/1.5 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-media-placeholder-mark {
  display: inline-flex;
  color: var(--signal, #0f766e);
}

/* Product stage embed */

.feature-product-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: #0b1220;
  min-height: 320px;
}

.feature-product-stage .fact-product-stage {
  transform: scale(0.92);
  transform-origin: center top;
}

/* Reveal defaults (pages.js adds is-waiting) */

.feature-graphic.fact-reveal.is-waiting {
  opacity: 0;
  transform: translateY(22px);
}

.feature-graphic.fact-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-flow.fact-stagger.is-waiting > li,
.feature-hub-spokes.fact-stagger.is-waiting > li,
.feature-panels.fact-stagger.is-waiting > .feature-panel,
.feature-drill.fact-stagger.is-waiting > li,
.feature-hierarchy.fact-stagger.is-waiting > li {
  opacity: 0;
  transform: translateY(16px);
}

.feature-flow.fact-stagger.is-visible > li,
.feature-hub-spokes.fact-stagger.is-visible > li,
.feature-panels.fact-stagger.is-visible > .feature-panel,
.feature-drill.fact-stagger.is-visible > li,
.feature-hierarchy.fact-stagger.is-visible > li {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-flow.fact-stagger.is-visible > li:nth-child(1),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(1),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(1),
.feature-drill.fact-stagger.is-visible > li:nth-child(1),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(1) { transition-delay: 0.04s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(2),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(2),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(2),
.feature-drill.fact-stagger.is-visible > li:nth-child(2),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(2) { transition-delay: 0.08s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(3),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(3),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(3),
.feature-drill.fact-stagger.is-visible > li:nth-child(3),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(3) { transition-delay: 0.12s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(4),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(4),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(4),
.feature-drill.fact-stagger.is-visible > li:nth-child(4),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(4) { transition-delay: 0.16s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(5),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(5),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(5),
.feature-drill.fact-stagger.is-visible > li:nth-child(5),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(5) { transition-delay: 0.2s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(6),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(6),
.feature-panels.fact-stagger.is-visible > .feature-panel:nth-child(6),
.feature-drill.fact-stagger.is-visible > li:nth-child(6),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(6) { transition-delay: 0.24s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(7),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(7),
.feature-drill.fact-stagger.is-visible > li:nth-child(7),
.feature-hierarchy.fact-stagger.is-visible > li:nth-child(7) { transition-delay: 0.28s; }
.feature-flow.fact-stagger.is-visible > li:nth-child(8),
.feature-hub-spokes.fact-stagger.is-visible > li:nth-child(8) { transition-delay: 0.32s; }

@media (max-width: 900px) {
  .feature-panels,
  .feature-panels--4,
  .feature-panels--5,
  .feature-panels--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-flow > li {
    flex: 1 1 calc(50% - 8px);
  }

  .feature-flow > li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-graphic {
    padding: 40px 0 48px;
  }

  .feature-panels,
  .feature-panels--2,
  .feature-panels--4,
  .feature-panels--5,
  .feature-panels--6 {
    grid-template-columns: 1fr;
  }

  .feature-hub-spokes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-hierarchy > li {
    margin-left: calc(var(--feature-depth, 0) * 10px);
  }

  .feature-product-stage .fact-product-stage {
    transform: scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-graphic.fact-reveal.is-waiting,
  .feature-flow.fact-stagger.is-waiting > li,
  .feature-hub-spokes.fact-stagger.is-waiting > li,
  .feature-panels.fact-stagger.is-waiting > .feature-panel,
  .feature-drill.fact-stagger.is-waiting > li,
  .feature-hierarchy.fact-stagger.is-waiting > li {
    opacity: 1;
    transform: none;
  }
}


/* —— Sales polish: spotlight, highlights, signal bands, decorative panels —— */

.feature-section--spotlight {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #f4f1ec;
  background:
    radial-gradient(ellipse 55% 60% at 85% 20%, rgba(255, 43, 28, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255, 43, 28, 0.12), transparent 50%),
    #111;
  border-top: 0 !important;
}

.feature-spotlight-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}

.feature-section--spotlight .feature-section-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.feature-section--spotlight h2,
.feature-section--spotlight .feature-section-subtitle,
.feature-section--spotlight .feature-section-copy p,
.feature-section--spotlight .feature-section-lead {
  color: #f7f7f5;
}

.feature-section--spotlight .feature-section-subtitle {
  color: rgba(247, 247, 245, 0.78);
}

.feature-section--spotlight .feature-section-copy p,
.feature-section--spotlight .feature-section-lead {
  color: rgba(247, 247, 245, 0.72);
  max-width: 62ch;
}

.feature-section--spotlight .feature-section-workflow {
  background: rgba(255, 43, 28, 0.12);
  border-left-color: var(--signal, #e31b23);
  color: #fff !important;
}

.feature-section--spotlight .feature-aside-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-section--spotlight .feature-aside-label {
  color: rgba(255, 255, 255, 0.7);
}

.feature-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-left: 1px solid rgba(15, 23, 42, 0.1);
}

.feature-highlight-card {
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 28px 22px 24px;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  transition: background 0.2s var(--easing, ease), transform 0.2s var(--easing, ease);
}

.feature-highlight-card:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
}

.feature-highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-highlight-index {
  color: var(--signal, #e31b23);
  font: 600 13px/1 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: 0.04em;
}

.feature-highlight-card h3 {
  margin: 0;
  color: #111;
  font: 600 22px/1.15 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.025em;
}

.feature-highlight-card p {
  margin: 0;
  color: #5c5c5c;
  font: 400 15px/1.55 var(--font-sans, "DM Sans", system-ui, sans-serif);
}

.feature-highlight-grid--compact {
  margin-top: 24px;
}

.feature-aside-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 43, 28, 0.1), transparent 42%),
    linear-gradient(160deg, #f5f5f3 0%, #ebebe8 100%);
}

.feature-aside-orb {
  position: absolute;
  top: 18%;
  right: 16%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 43, 28, 0.28), transparent 68%);
  filter: blur(2px);
  animation: feature-orb-pulse 4.8s ease-in-out infinite;
}

.feature-aside-rail {
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--signal, #e31b23), transparent);
}

.feature-aside-label {
  position: relative;
  z-index: 1;
  color: #5c5c5c;
  font: 600 13px/1.4 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes feature-orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.feature-graphic--process_flow {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  color: #1d1d1f;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255, 43, 28, 0.08), transparent 55%),
    #f3f3f1;
  border-top: 0;
}

.feature-graphic-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.feature-graphic--process_flow .feature-section-kicker {
  color: #898989;
}

.feature-graphic--process_flow .feature-graphic-header h2 {
  color: #1d1d1f;
  max-width: 28ch;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.feature-graphic--process_flow .feature-flow-label {
  color: #1d1d1f;
}

.feature-graphic--process_flow .feature-flow > li:not(:last-child)::after {
  background: linear-gradient(90deg, rgba(255, 43, 28, 0.2), rgba(255, 43, 28, 0.75));
}

.feature-graphic--signal_band {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  background: #f0efed;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-signal-band {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.feature-signal-band-copy {
  color: #1d1d1f;
  font: 600 clamp(16px, 2vw, 22px)/1.35 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: -0.02em;
}

.feature-signal-band-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal, #e31b23);
  box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.35);
  animation: feature-pulse 2.2s ease-out infinite;
}

@keyframes feature-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(227, 27, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0); }
}

.feature-section--band .feature-aside-panel,
.feature-section--editorial .feature-aside-panel {
  min-height: 260px;
}

.feature-card-index,
.feature-index-num {
  color: var(--signal, #e31b23);
}

.feature-check-icon {
  background: rgba(255, 43, 28, 0.1);
  color: var(--signal, #e31b23);
}

.feature-section-workflow {
  border-left-color: var(--signal, #e31b23);
  background: rgba(255, 43, 28, 0.06);
}

@media (max-width: 900px) {
  .feature-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-section--spotlight {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .feature-highlight-grid {
    grid-template-columns: 1fr;
  }

  .feature-signal-band {
    gap: 12px;
  }

  .feature-signal-band-pulse {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-aside-orb,
  .feature-signal-band-pulse {
    animation: none;
  }
}

/* —— Showcase hero: copy left, animation stage right —— */

.feature-section h2[id],
.feature-graphic h2[id] {
  scroll-margin-top: 132px;
}

.page-hero--showcase {
  position: relative;
  padding: 168px 0 96px;
  color: #1d1d1f;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.page-hero-showcase--solo {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero-showcase__copy {
  min-width: 0;
}

.page-hero-showcase__copy .page-hero-breadcrumb {
  margin-bottom: 18px;
}

.page-hero-showcase__eyebrow {
  margin: 0 0 18px;
  color: var(--signal, #e31b23);
  font: 700 13px/1.2 var(--font-display, system-ui, sans-serif);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-hero--showcase h1 {
  max-width: 14ch;
  margin: 0;
  color: #111214;
  font: 700 clamp(44px, 5.6vw, 80px)/1 var(--font-display, system-ui, sans-serif);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-hero--showcase h1 span {
  display: block;
  color: #5a5f66;
  font-weight: 560;
}

.page-hero-showcase__lead {
  max-width: 60ch;
  margin: 26px 0 0;
  color: #4f545b;
  font: 400 clamp(17px, 1.5vw, 20px)/1.58 var(--font-sans, system-ui, sans-serif);
}

.page-hero-showcase__lead + .page-hero-showcase__lead {
  margin-top: 14px;
  color: #666b72;
  font-size: clamp(16px, 1.3vw, 17px);
}

.page-hero-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-hero-showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--signal, #e31b23);
  border-radius: 999px;
  font: 600 15px/1 var(--font-display, system-ui, sans-serif);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-hero-showcase__btn:hover {
  transform: translateY(-1px);
}

.page-hero-showcase__btn--primary {
  color: #fff;
  background: var(--signal, #e31b23);
}

.page-hero-showcase__btn--primary:hover {
  box-shadow: 0 8px 20px rgba(227, 27, 35, 0.2);
}

.page-hero-showcase__btn--ghost {
  color: #1d1d1f;
  background: #fff;
  border-color: #d8dadd;
}

.page-hero-showcase__btn--ghost:hover {
  border-color: #1d1d1f;
}

.page-hero-showcase__stage {
  min-width: 0;
}

@media (max-width: 1100px) {
  .page-hero--showcase {
    padding: 152px 0 72px;
  }

  .page-hero-showcase {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .page-hero--showcase h1 {
    max-width: 18ch;
  }

  .page-hero-showcase__stage {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .page-hero--showcase {
    padding: 132px 0 56px;
  }

  .page-hero--showcase h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .page-hero-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* —— Chips: compact capability grid —— */

.feature-section--chips {
  background: #f5f5f7;
}

.feature-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-chip-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px 18px;
  border: 1px solid #e1e2e4;
  border-radius: 16px;
  background: #fff;
  color: #34383e;
  font: 600 14px/1.35 var(--font-sans, system-ui, sans-serif);
}

.feature-chip-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal, #e31b23);
}

@media (max-width: 1000px) {
  .feature-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-chip-grid {
    grid-template-columns: 1fr;
  }

  .feature-chip-grid li {
    min-height: 0;
  }
}

/* —— Workflow pills —— */

.feature-section-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-section-flow li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4b5057;
  font: 650 13px/1.2 var(--font-sans, system-ui, sans-serif);
}

.feature-section-flow li > span {
  padding: 9px 13px;
  border: 1px solid #dfe1e3;
  border-radius: 999px;
  background: #fff;
}

.feature-section-flow li + li::before {
  content: "→";
  color: var(--signal, #e31b23);
  font-weight: 800;
}

.feature-section-flow + .feature-section-actions {
  margin-top: 24px;
}

/* —— Animation slot: framed stage that stays visible without media —— */

.feature-graphic--animation_slot {
  background: #fafafb;
}

.feature-animation-slot {
  width: min(100%, 880px);
  margin-inline: auto;
}

.feature-graphic--animation_slot .feature-graphic-header {
  margin-inline: auto;
  text-align: center;
}

/* —— Centered closing CTA band —— */

.page-cta-centered {
  padding: clamp(72px, 9vw, 105px) 0;
  color: #1d1d1f;
  background: #f2f2f3;
  text-align: center;
}

.page-cta-centered__inner {
  display: grid;
  justify-items: center;
}

.page-cta-centered__kicker {
  margin-bottom: 14px;
  color: var(--signal, #e31b23);
  font: 700 13px/1.2 var(--font-display, system-ui, sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-cta-centered h2 {
  max-width: 22ch;
  margin: 0;
  color: #111214;
  font: 700 clamp(32px, 4.2vw, 56px)/1.05 var(--font-display, system-ui, sans-serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-cta-centered p {
  max-width: 60ch;
  margin: 18px 0 0;
  color: #60656c;
  font: 400 clamp(16px, 1.4vw, 18px)/1.55 var(--font-sans, system-ui, sans-serif);
}

.page-cta-centered p + p {
  margin-top: 8px;
  color: #26292d;
  font-weight: 600;
}

.page-cta-centered__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--signal, #e31b23);
  color: #fff;
  font: 600 15px/1 var(--font-display, system-ui, sans-serif);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-cta-centered__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(227, 27, 35, 0.2);
}

.page-cta-centered .fact-demo-pill {
  margin-top: 30px;
}
