.ai-safety {
  position: relative;
  overflow: hidden;
  color: #f7f9fc;
  background:
    radial-gradient(circle at 88% 8%, rgba(55, 107, 255, .3), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(28, 210, 192, .16), transparent 30%),
    #111821;
}

.ai-safety::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.ai-safety .section__inner {
  position: relative;
  z-index: 1;
}

.ai-safety .section__eyebrow {
  color: #55ded1;
}

.ai-safety .section__title {
  max-width: 780px;
  color: #fff;
}

.ai-safety .section__lead {
  max-width: 830px;
  color: rgba(237, 243, 250, .76);
}

.ai-safety__intro-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(85, 222, 209, .38);
  border-radius: 999px;
  color: #dffdfa;
  background: rgba(10, 24, 33, .58);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.ai-safety__intro-note::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9ff39;
  box-shadow: 0 0 0 5px rgba(185, 255, 57, .12);
  content: "";
}

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

.ai-safety-card {
  overflow: hidden;
  color: #14202d;
  background: rgba(250, 252, 255, .97);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
}

.ai-safety-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #14233a;
}

.ai-safety-card__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  content: "";
  pointer-events: none;
}

.ai-safety-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.ai-safety-card:hover .ai-safety-card__image {
  transform: scale(1.025);
}

.ai-safety-card__body {
  padding: 25px 26px 27px;
}

.ai-safety-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ai-safety-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2864ff;
  font: 800 .74rem/1 Inter, sans-serif;
}

.ai-safety-card:nth-child(2) .ai-safety-card__number {
  color: #111821;
  background: #b9ff39;
}

.ai-safety-card:nth-child(3) .ai-safety-card__number {
  background: #ff6f58;
}

.ai-safety-card__label {
  margin: 0;
  color: #65768b;
  font: 800 .7rem/1.3 Inter, sans-serif;
  letter-spacing: .12em;
}

.ai-safety-card__title {
  margin: 0 0 13px;
  font-size: clamp(1.22rem, 1.7vw, 1.65rem);
  line-height: 1.38;
  letter-spacing: -.02em;
}

.ai-safety-card__summary {
  min-height: 4.6em;
  margin: 0 0 20px;
  color: #526478;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.72;
}

.ai-safety-card__points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-safety-card__points li {
  position: relative;
  padding: 11px 12px 11px 35px;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  color: #243548;
  background: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
}

.ai-safety-card__points li::before {
  position: absolute;
  top: 13px;
  left: 12px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2864ff;
  content: "!";
  font: 900 .63rem/1 Inter, sans-serif;
}

.ai-safety__injection {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(116, 155, 255, .42);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(35, 75, 171, .72), rgba(15, 29, 42, .9));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .17);
}

.ai-safety__injection-kicker {
  margin: 0 0 8px;
  color: #b9ff39;
  font: 800 .7rem/1.3 Inter, sans-serif;
  letter-spacing: .13em;
}

.ai-safety__injection-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.ai-safety__injection-copy {
  margin: 0;
  color: rgba(245, 248, 253, .84);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.86;
}

.ai-safety__injection-copy strong {
  color: #fff;
}

.ai-safety__check {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
  color: #14202d;
  background: #f6f8fb;
  border-radius: 22px;
}

.ai-safety__check-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ai-safety__check-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.35;
}

.ai-safety__check-note {
  max-width: 460px;
  margin: 0;
  color: #617286;
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.7;
}

.ai-safety__check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: safety-check;
}

.ai-safety__check-list li {
  position: relative;
  min-height: 88px;
  padding: 18px 16px 17px 52px;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: #fff;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.6;
  counter-increment: safety-check;
}

.ai-safety__check-list li::before {
  position: absolute;
  top: 18px;
  left: 15px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #2864ff;
  border-radius: 7px;
  color: #2864ff;
  content: counter(safety-check);
  font: 800 .68rem/1 Inter, sans-serif;
}

.ai-safety__sources {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.ai-safety__sources-title {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, .68);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.ai-safety__source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.ai-safety__source-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #eff5fb;
  background: rgba(255, 255, 255, .055);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ai-safety__source-links a::after {
  content: "↗";
}

.ai-safety__source-links a:hover,
.ai-safety__source-links a:focus-visible {
  border-color: rgba(85, 222, 209, .72);
  background: rgba(85, 222, 209, .1);
  transform: translateY(-1px);
}

.ai-safety__disclaimer {
  max-width: 980px;
  margin: 0;
  color: rgba(232, 239, 247, .58);
  font-size: .7rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .ai-safety__grid {
    grid-template-columns: 1fr;
  }

  .ai-safety-card {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  }

  .ai-safety-card__media {
    height: 100%;
    min-height: 340px;
    aspect-ratio: auto;
  }

  .ai-safety-card__summary {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .ai-safety::before {
    background-size: 44px 44px;
  }

  .ai-safety__intro-note {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.55;
  }

  .ai-safety__intro-note::before {
    flex: 0 0 auto;
    margin-top: 4px;
  }

  .ai-safety-card {
    display: block;
    border-radius: 18px;
  }

  .ai-safety-card__media {
    min-height: 0;
    aspect-ratio: 5 / 3;
  }

  .ai-safety-card__body {
    padding: 22px 20px 23px;
  }

  .ai-safety-card__title {
    font-size: 1.28rem;
  }

  .ai-safety-card__summary {
    font-size: .88rem;
  }

  .ai-safety__injection {
    grid-template-columns: 1fr;
    gap: 13px;
    border-radius: 18px;
  }

  .ai-safety__injection-copy {
    font-size: .87rem;
    line-height: 1.8;
  }

  .ai-safety__check {
    border-radius: 18px;
  }

  .ai-safety__check-head {
    display: block;
  }

  .ai-safety__check-note {
    margin-top: 9px;
  }

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

  .ai-safety__check-list li {
    min-height: 0;
  }

  .ai-safety__source-links {
    display: grid;
  }

  .ai-safety__source-links a {
    justify-content: space-between;
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-safety-card__image,
  .ai-safety__source-links a {
    transition: none;
  }
}
