.int-hero {
  min-height: 620px;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 22%, rgba(124, 58, 237, 0.24), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(14, 11, 24, 0.94), rgba(5, 14, 25, 0.94));
}

.int-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.int-hero h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.int-hero .lede {
  max-width: 760px;
  color: var(--muted);
}

.int-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.int-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(9, 12, 22, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.int-panel__eyebrow,
.int-card__top,
.int-status,
.int-category__head p,
.int-setup span {
  color: var(--muted);
}

.int-panel__eyebrow,
.int-section-head .eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.int-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.int-steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.int-steps li::before {
  content: counter(steps);
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08111f;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
}

.int-steps strong,
.int-steps span {
  grid-column: 2;
  display: block;
}

.int-steps strong {
  color: var(--text);
  margin-bottom: 4px;
}

.int-steps span {
  color: var(--muted);
  line-height: 1.55;
}

.int-band {
  padding: 78px 0 96px;
}

.int-section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.int-section-head h2,
.int-setup h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.int-section-head p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.int-category {
  margin-top: 42px;
}

.int-category__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.int-category__head h3 {
  margin: 0 0 4px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.int-category__head p {
  margin: 0;
  line-height: 1.55;
}

.int-dot {
  width: 13px;
  height: 13px;
  margin-top: 8px;
  border-radius: 999px;
  box-shadow: 0 0 28px currentColor;
}

.int-dot.cyan { color: #22d3ee; background: #22d3ee; }
.int-dot.violet { color: #a78bfa; background: #a78bfa; }
.int-dot.pink { color: #f472b6; background: #f472b6; }

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

.int-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.int-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 18, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.int-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.44);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.09), rgba(167, 139, 250, 0.07)),
    rgba(7, 10, 18, 0.82);
}

.int-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.int-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #08111f;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
}

.int-status {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
}

.int-status.ready { color: #9bef5c; background: rgba(85, 255, 102, 0.12); }
.int-status.enterprise { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.int-status.image { color: #f472b6; background: rgba(244, 114, 182, 0.12); }
.int-status.next { color: #67e8f9; background: rgba(103, 232, 249, 0.12); }

.int-card h4 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.int-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.58;
}

.int-card a {
  margin-top: auto;
  color: #67e8f9;
  text-decoration: none;
  font-weight: 800;
}

.int-card a:hover {
  color: #fff;
}

.int-setup {
  margin-top: 64px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 8px;
  padding: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.14), transparent 36%),
    rgba(9, 12, 22, 0.76);
}

.int-setup__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.int-setup__grid div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.int-setup strong,
.int-setup span {
  display: block;
}

.int-setup strong {
  margin-bottom: 8px;
}

.int-setup span {
  line-height: 1.55;
}

@media (max-width: 980px) {
  .int-hero__grid,
  .int-grid,
  .int-grid--wide,
  .int-setup__grid {
    grid-template-columns: 1fr;
  }

  .int-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) 0 54px;
  }
}

@media (max-width: 640px) {
  .int-actions {
    flex-direction: column;
  }

  .int-actions .cta,
  .int-actions .ghost-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .int-panel,
  .int-card,
  .int-setup {
    padding: 18px;
  }
}

/* Light theme — keep integrations as polished as the main site. */
html[data-theme="light"] .int-hero {
  border-bottom-color: rgba(30, 41, 59, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(124, 58, 237, 0.16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(8, 145, 178, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 252, 0.94));
}

html[data-theme="light"] .int-panel,
html[data-theme="light"] .int-card,
html[data-theme="light"] .int-setup {
  color: #16161d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82)),
    radial-gradient(420px 180px at 12% -12%, rgba(124, 58, 237, 0.08), transparent 72%),
    #ffffff;
  border-color: rgba(30, 41, 59, 0.10);
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.035),
    0 24px 66px -34px rgba(30, 41, 59, 0.30);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

html[data-theme="light"] .int-card:hover {
  border-color: rgba(8, 145, 178, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.88)),
    radial-gradient(420px 180px at 14% -10%, rgba(8, 145, 178, 0.09), transparent 72%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05),
    0 32px 74px -34px rgba(79, 70, 229, 0.30);
}

html[data-theme="light"] .int-hero .lede,
html[data-theme="light"] .int-section-head p,
html[data-theme="light"] .int-card p,
html[data-theme="light"] .int-steps span,
html[data-theme="light"] .int-setup span,
html[data-theme="light"] .int-category__head p,
html[data-theme="light"] .int-panel__eyebrow,
html[data-theme="light"] .int-card__top,
html[data-theme="light"] .int-status {
  color: #64748b;
}

html[data-theme="light"] .int-steps strong,
html[data-theme="light"] .int-card h4,
html[data-theme="light"] .int-section-head h2,
html[data-theme="light"] .int-setup h2,
html[data-theme="light"] .int-category__head h3 {
  color: #16161d;
}

html[data-theme="light"] .int-setup__grid div {
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(30, 41, 59, 0.08);
}

html[data-theme="light"] .int-status {
  background: rgba(15, 23, 42, 0.045);
}

html[data-theme="light"] .int-status.ready {
  color: #15803d;
  background: rgba(22, 163, 74, 0.11);
}

html[data-theme="light"] .int-status.enterprise {
  color: #b45309;
  background: rgba(217, 119, 6, 0.11);
}

html[data-theme="light"] .int-status.image {
  color: #be185d;
  background: rgba(219, 39, 119, 0.10);
}

html[data-theme="light"] .int-status.next {
  color: #0e7490;
  background: rgba(8, 145, 178, 0.10);
}

html[data-theme="light"] .int-card a {
  color: #0891b2;
}

html[data-theme="light"] .int-card a:hover {
  color: #6d28d9;
}
