.ai-section {
  background: #191a1e;
  color: #f6f4f1;
}
.ai-intro {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(24px, 5vw, 65px);
  align-items: center;
}
.ai-intro h2 {
  margin: 0 0 14px;
  max-width: 15ch;
}
.ai-intro p {
  max-width: 42ch;
  color: #d6d4d5;
}
.ai-intro .button { margin-top: 16px; }
.ai-visual {
  display: grid;
  overflow: hidden;
  margin: 0;
  border: 1px solid #4c434a;
  border-radius: 18px;
  background: #25262c;
}
.ai-visual picture,
.ai-visual img { display: block; width: 100%; }
.ai-visual img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 47%;
}
.ai-visual figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #212227;
  text-align: center;
}
.ai-visual figcaption span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid #56515a;
  border-radius: 8px;
  padding: 6px;
  color: #e9e6e8;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
}
.ai-visual figcaption span:last-child {
  border-color: #ae6b77;
  background: #432932;
  color: #fbe7ed;
}
.ai-visual figcaption span + span::before {
  position: absolute;
  content: "";
  width: 10px;
  inset: 50% auto auto -11px;
  border-top: 1px solid #b77d88;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 4vw, 42px);
}
.ai-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #45434b;
  border-radius: 13px;
  background: #24252b;
}
.ai-card h3 {
  margin: 0 0 7px;
  line-height: 1.2;
  font-size: 1.12rem;
}
.ai-card p {
  margin: 0;
  color: #dedadd;
  font-size: .94rem;
}
.ai-card-output {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #ffb9c4;
  font-size: .8rem;
  font-weight: 700;
}
@media (prefers-reduced-motion: no-preference) {
  .ai-card { transition: border-color .2s ease, transform .2s ease; }
  .ai-card:hover {
    transform: translateY(-2px);
    border-color: #aa737f;
  }
}
@media (max-width: 820px) {
  .ai-intro { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card { padding: 15px 17px; }
  .ai-visual figcaption { gap: 6px; padding: 8px; }
  .ai-visual figcaption span { font-size: .74rem; }
  .ai-visual figcaption span + span::before { width: 6px; inset-inline-start: -7px; }
}

.ai-glyph {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 20px;
  height: 14px;
  flex: none;
}
.ai-glyph i {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
}
.ai-glyph-agent i:nth-child(2) { transform: translateY(-4px); }
.ai-glyph-finance { align-items: end; padding-bottom: 2px; }
.ai-glyph-finance i:nth-child(2) { height: 7px; }
.ai-glyph-finance i:nth-child(3) { height: 11px; }
.ai-glyph-risk i { border-radius: 50%; }
.ai-glyph-risk i:nth-child(2) { width: 6px; height: 6px; box-shadow: 0 0 0 1px #ae6b77; }
.ai-glyph-people i { border-radius: 50% 50% 1px 1px; height: 6px; }
.ai-glyph-people i:nth-child(2) { height: 9px; }
.ai-glyph-sales { flex-direction: column; justify-content: center; }
.ai-glyph-sales i { width: 15px; height: 2px; }
.ai-glyph-sales i:nth-child(2) { width: 11px; }
.ai-glyph-sales i:nth-child(3) { width: 7px; }
.ai-glyph-operations i { width: 5px; height: 5px; background: transparent; border: 1px solid currentColor; }
.ai-glyph-operations i:last-child { background: currentColor; }
.related-project {
  display: inline-block;
  margin-top: 9px;
  color: #8d2033;
  font-size: .84rem;
  font-weight: 700;
}
.ai-card .related-project { color: #ffb9c4; }
.practice-section { background: #f7f4f1; }
.practice-section h2 { margin: 0 0 24px; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.practice-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #d8cfd0;
  border-radius: 15px;
  background: #fffdfb;
}
.practice-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 23px 18px;
  background: radial-gradient(circle at 85% 0%, #673542, #28242b 64%);
}
.practice-flow-content { background: radial-gradient(circle at 85% 0%, #514057, #29252f 64%); }
.practice-flow-bot { background: radial-gradient(circle at 85% 0%, #3d5066, #242a37 64%); }
.practice-flow-api { background: radial-gradient(circle at 85% 0%, #37534d, #242e2c 64%); }
.practice-flow li {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 5px 3px;
  border: 1px solid #a4949d;
  border-radius: 6px;
  background: #fff1;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.practice-flow li + li::before {
  position: absolute;
  inset: 50% auto auto -11px;
  width: 10px;
  border-top: 1px solid #a4949d;
  content: "";
}
.practice-flow li:last-child { background: #fff2; border-color: #ddd2d8; }
.practice-copy { padding: 18px 20px 20px; }
.practice-copy h3 { margin: 0 0 7px; font-size: 1.23rem; }
.practice-copy p { margin: 0; }
.practice-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.practice-tools li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid #ded3d5;
  border-radius: 12px;
  background: #f6efef;
  color: #50383d;
  font-size: .76rem;
  font-weight: 700;
}
.practice-tools img {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  object-fit: contain;
}
@media (max-width: 650px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-flow { padding: 17px 12px; }
}
