.ai-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(237, 139, 250, 0.22), transparent 22%),
    radial-gradient(circle at 14% 88%, rgba(255, 237, 2, 0.26), transparent 28%),
    linear-gradient(115deg, #fff 0%, #fff7e5 52%, #EBEAE8 100%);
}

.ai-hero::after {
  width: 780px;
  height: 180px;
  background: linear-gradient(95deg, #FFED02, #FE8301 44%, #ED8BFA 100%);
  opacity: 0.84;
}

.ai-visual {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1.5px solid #000;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--bno-shadow-panel);
}

.ai-core {
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: #000;
}

.ai-core span {
  display: inline-flex;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.ai-core strong {
  display: block;
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 460;
  line-height: 0.95;
}

.ai-core p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.ai-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 8px;
  align-items: center;
}

.ai-flow article {
  min-height: 122px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bno-cool-gray);
}

.ai-flow article:nth-of-type(2) {
  background: var(--bno-soft-orange);
}

.ai-flow article:nth-of-type(3) {
  background: var(--bno-soft-yellow);
}

.ai-flow b,
.ai-flow small {
  display: block;
  color: #000;
}

.ai-flow b {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: var(--tracking-caps);
}

.ai-flow small {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.ai-flow i {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFED02, #FE8301, #ED8BFA);
}

.ai-reality {
  color: #fff;
  background: #000;
}

.ai-reality .section-head h2 {
  color: #fff;
}

.ai-reality .eyebrow,
.ai-reality .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

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

.ai-reality-grid article {
  min-height: 315px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #171717;
}

.ai-reality-grid article:nth-child(2) {
  color: #000;
  background: var(--bno-soft-pink);
}

.ai-reality-grid article:nth-child(3) {
  color: #000;
  background: var(--bno-soft-yellow);
}

.ai-reality-grid span {
  display: inline-flex;
  margin-bottom: 46px;
  color: inherit;
  font-weight: 950;
  letter-spacing: var(--tracking-caps);
}

.ai-reality-grid h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  color: inherit;
  font-size: clamp(29px, 3.4vw, 43px);
  font-weight: 460;
  line-height: 0.98;
}

.ai-reality-grid p {
  margin: 0;
  color: inherit;
  line-height: 1.5;
}

.ai-system {
  background: #fff;
}

.ai-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ai-system-grid article {
  min-height: 350px;
  padding: 24px;
  border-radius: var(--radius);
  border-top: 8px solid var(--bno-fiery-orange);
  background: var(--bno-cool-gray);
}

.ai-system-grid article:nth-child(2) {
  border-top-color: var(--bno-mellow-yellow);
}

.ai-system-grid article:nth-child(3) {
  border-top-color: #000;
  color: #000;
  background: var(--bno-cool-gray);
}

.ai-system-grid article:nth-child(4) {
  border-top-color: var(--bno-lively-pink);
}

.ai-system-grid b {
  display: inline-flex;
  margin-bottom: 46px;
  color: inherit;
  font-size: 13px;
  letter-spacing: var(--tracking-caps);
}

.ai-system-grid h3 {
  margin: 0 0 16px;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.45vw, 34px);
  font-weight: 460;
  line-height: 1;
}

.ai-system-grid p {
  margin: 0;
  color: inherit;
  line-height: 1.5;
}

.ai-method article {
  min-height: auto;
  padding: 0 14px;
  border: 0;
  background: #fff;
}

.ai-method article:nth-child(even) {
  background: #fff;
}

.ai-method h3,
.ai-method p {
  color: #000;
}

.ai-method h3 {
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.ai-method p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 15px;
  line-height: 1.42;
}

.ai-offer {
  background: #fff;
}

.ai-services {
  background: var(--bno-cool-gray);
}

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

.ai-service-grid article {
  min-height: 235px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
}

.ai-service-grid article:nth-child(2),
.ai-service-grid article:nth-child(5) {
  background: var(--bno-soft-yellow);
}

.ai-service-grid article:nth-child(3) {
  background: var(--bno-soft-orange);
}

.ai-service-grid article:nth-child(4) {
  color: #fff;
  background: #000;
}

.ai-service-grid h3 {
  margin: 0 0 18px;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 460;
  line-height: 0.98;
}

.ai-service-grid p {
  margin: 0;
  color: inherit;
  line-height: 1.5;
}

.ai-team {
  background: #fff;
}

.ai-team .team-photos {
  grid-template-columns: 1.08fr 0.7fr;
  grid-template-rows: repeat(2, minmax(170px, 255px));
}

.ai-team .team-photos .tall {
  grid-row: span 2;
}

@media (max-width: 1040px) {
  .ai-system-grid,
  .ai-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-flow {
    grid-template-columns: 1fr;
  }

  .ai-flow i {
    width: 4px;
    height: 20px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .ai-reality-grid,
  .ai-system-grid,
  .ai-service-grid {
    grid-template-columns: 1fr;
  }

  .ai-reality-grid article,
  .ai-system-grid article,
  .ai-service-grid article {
    min-height: auto;
  }

  .ai-team .team-photos {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .ai-team .team-photos .tall {
    grid-row: auto;
  }
}
