/* Intelligence — AI-native platform */
body.page-intelligence {
  font-family: Calibri, "Carlito", "Segoe UI", Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  padding-bottom: 3rem;
}

.int-section {
  padding: 1.75rem 0;
}

.int-section-alt {
  background: var(--pbs-bg, #f4f8fc);
}

.int-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pbs-accent, #1a8fd4);
  margin: 0 0 0.5rem;
}

.int-section-title {
  color: var(--pbs-primary, #0d4d8c);
  margin: 0 0 0.5rem;
}

.int-section-lead {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3d4f5f;
  max-width: 52rem;
  margin: 0 0 1.25rem;
}

/* Philosophy */
.int-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .int-philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.int-philosophy-copy p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #3d4f5f;
  margin: 0 0 0.85rem;
}

.int-philosophy-copy p:last-child {
  margin-bottom: 0;
}

.int-principle-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.int-principle-card {
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-radius: var(--pbs-radius, 10px);
  background: #fff;
  padding: 0.85rem 1rem 0.9rem 1.05rem;
  border-left-width: 4px;
  border-left-style: solid;
}

.int-principle-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pbs-primary, #0d4d8c);
  margin: 0 0 0.35rem;
}

.int-principle-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #3d4f5f;
  margin: 0;
}

.int-principle-card--teal { border-left-color: #0d9488; }
.int-principle-card--purple { border-left-color: #7c3aed; }
.int-principle-card--amber { border-left-color: #d97706; }

/* Module grid */
.int-module-row + .int-module-row {
  margin-top: 0.65rem;
}

.int-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

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

@media (min-width: 992px) {
  .int-modules-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.int-module-card {
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-radius: var(--pbs-radius, 10px);
  background: #fff;
  padding: 0.9rem 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
  font: inherit;
  color: inherit;
}

.int-module-card:hover {
  border-color: var(--pbs-accent, #1a8fd4);
  box-shadow: 0 4px 14px rgba(13, 77, 140, 0.08);
}

.int-module-card.is-open {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
}

.int-module-card:focus-visible {
  outline: 2px solid var(--pbs-accent, #1a8fd4);
  outline-offset: 2px;
}

.int-module-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.int-module-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pbs-primary, #0d4d8c);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.int-module-card p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #3d4f5f;
  margin: 0;
}

.int-accent--blue .int-module-icon { background: #e6f4fc; color: #0d4d8c; }
.int-accent--teal .int-module-icon { background: #ccfbf1; color: #0f766e; }
.int-accent--purple .int-module-icon { background: #ede9fe; color: #6d28d9; }
.int-accent--amber .int-module-icon { background: #fef3c7; color: #b45309; }
.int-accent--coral .int-module-icon { background: #ffe4e6; color: #e11d48; }
.int-accent--red .int-module-icon { background: #fee2e2; color: #b91c1c; }

.int-module-detail {
  margin-top: 0.65rem;
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-top: 3px solid #0d9488;
  border-radius: var(--pbs-radius, 10px);
  background: #f8fcfb;
  padding: 1rem 1.15rem;
  animation: int-detail-in 0.2s ease;
}

.int-module-detail[hidden] {
  display: none !important;
}

@keyframes int-detail-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.int-module-detail h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pbs-accent, #1a8fd4);
  margin: 0.85rem 0 0.35rem;
}

.int-module-detail h4:first-child {
  margin-top: 0;
}

.int-module-detail p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #3d4f5f;
  margin: 0 0 0.65rem;
}

.int-module-detail p:last-child {
  margin-bottom: 0;
}

.int-module-detail .int-tech-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pbs-primary, #0d4d8c);
  margin: 0;
  line-height: 1.5;
}

.int-module-templates {
  display: none;
}

/* AI infrastructure flow */
.int-infra-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 992px) {
  .int-infra-flow {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}

.int-infra-flow-step {
  flex: 1;
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-radius: var(--pbs-radius, 10px);
  background: #fff;
  padding: 1.1rem 1.15rem;
  position: relative;
}

@media (min-width: 992px) {
  .int-infra-flow-step {
    border-radius: 0;
  }

  .int-infra-flow-step:first-child {
    border-radius: var(--pbs-radius, 10px) 0 0 var(--pbs-radius, 10px);
  }

  .int-infra-flow-step:last-child {
    border-radius: 0 var(--pbs-radius, 10px) var(--pbs-radius, 10px) 0;
  }

  .int-infra-flow-step + .int-infra-flow-step {
    border-left: none;
  }
}

.int-infra-flow-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--pbs-primary, #0d4d8c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.int-infra-flow-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pbs-primary, #0d4d8c);
  margin: 0 0 0.45rem;
}

.int-infra-flow-step p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #3d4f5f;
  margin: 0;
}

.int-infra-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0;
  color: var(--pbs-accent, #1a8fd4);
  font-size: 1.35rem;
}

@media (min-width: 992px) {
  .int-infra-flow-arrow {
    padding: 0 0.25rem;
    flex-shrink: 0;
    align-self: center;
  }

  .int-infra-flow-arrow .ti {
    transform: rotate(-90deg);
  }
}

/* Boundaries */
.int-boundary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .int-boundary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.int-boundary-card {
  background: #f6f7f8;
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-left: 4px solid #d97706;
  border-radius: var(--pbs-radius, 10px);
  padding: 1rem 1.1rem;
}

.int-boundary-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pbs-primary, #0d4d8c);
  margin: 0 0 0.45rem;
}

.int-boundary-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #3d4f5f;
  margin: 0;
}

.int-cta-section {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, var(--pbs-bg, #f4f8fc) 0%, #fff 100%);
}

.int-cta-box {
  border: 1px solid var(--pbs-border, #e2e8f0);
  border-radius: var(--pbs-radius, 10px);
  background: #fff;
  padding: 1.5rem 1.35rem;
  max-width: 52rem;
}

.int-cta-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #3d4f5f;
  margin: 0 0 1.15rem;
}

.int-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
