/* =========================================================
   SeoErudit — AI-паспорт (страница /llm-info/)
   Файл: css/llm-info.css
   Все классы страницы начинаются с префикса .ai-,
   чтобы не конфликтовать со стилями темы seoerudit (style.css).
   Зависимости: css/fonts.css (Inter + Unbounded).
   ========================================================= */

:root {
  /* Фирменные цвета (взяты из style.css темы seoerudit) */
  --se-navy: #101972;
  --se-navy-deep: #020841;
  --se-red: #c81c38;
  --se-red-hover: #9b162b;
  --se-orange: #ff7400;
  --se-orange-hover: #cc5d00;
  --se-ink: #2c3137;
  --se-ink-2: #404b69;
  --se-muted: #646e86;
  --se-line: #e5e5e5;
  --se-bg: #fafafe;
  --se-lavender: #eaecfc;
  --se-lavender-2: #f4f5fe;
  --se-white: #fff;

  --se-font-head: "Unbounded", sans-serif;
  --se-font-body: "Inter", sans-serif;

  --se-radius: 8px;
  --se-radius-lg: 12px;
  --se-shadow: 0 8px 16px -8px rgba(15, 15, 15, .2);
  --se-shadow-card: 0 4px 24px rgba(16, 25, 114, .08);

  --ai-toc-w: 260px;
  --ai-gap: 56px;
}

/* ---------- Каркас ---------- */
.ai {
  color: var(--se-ink);
  font-family: var(--se-font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 96px;
}
.ai *,
.ai *::before,
.ai *::after { box-sizing: border-box; }

.ai a { color: var(--se-navy); text-decoration: underline; text-decoration-color: rgba(16, 25, 114, .3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ai a:hover { color: var(--se-red); text-decoration-color: currentColor; }
.ai a:focus-visible { outline: 2px solid var(--se-orange); outline-offset: 2px; border-radius: 2px; }

.ai p { margin: 0 0 14px; }
.ai p:last-child { margin-bottom: 0; }
.ai b, .ai strong { font-weight: 600; color: var(--se-ink); }

/* ---------- Хлебные крошки ---------- */
.ai-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  font-size: 14px;
  color: var(--se-muted);
}
.ai-breadcrumbs li { display: flex; align-items: center; }
.ai-breadcrumbs li + li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin: 0 8px;
  background: url("../img/arrow.svg") center / 10px no-repeat;
  opacity: .6;
}
.ai .ai-breadcrumbs a { color: var(--se-muted); text-decoration: none; }
.ai .ai-breadcrumbs a:hover { color: var(--se-red); }
.ai-breadcrumbs__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ai-breadcrumbs__home::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/home.svg") center / contain no-repeat;
}

/* ---------- Шапка паспорта ---------- */
.ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: start;
  padding: 40px 0 40px;
}

.ai-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px !important;
}
.ai-kicker__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--se-orange-hover);
}
.ai-kicker__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--se-lavender);
  color: var(--se-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.ai-title {
  margin: 0 0 20px;
  font-family: var(--se-font-head);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.18;
  color: var(--se-ink);
  text-wrap: balance;
}
.ai-title em { font-style: normal; color: var(--se-red); white-space: nowrap; }

.ai-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 20px !important;
  font-size: 14px;
  color: var(--se-muted);
}
.ai-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ai-meta span::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--se-orange);
}

.ai-lead {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--se-ink-2);
}

/* Карточка-«паспорт» */
.ai-id {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--se-radius-lg);
  background: var(--se-navy);
  color: #fff;
  box-shadow: 0 24px 48px -24px rgba(2, 8, 65, .55);
}
.ai-id::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, .05);
  pointer-events: none;
}
.ai-id__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.ai-id__top img { display: block; width: 160px; height: auto; }
.ai-id__badge {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  font-family: var(--se-font-head);
  font-size: 12px;
  letter-spacing: .12em;
}
.ai-id__list { margin: 0; position: relative; z-index: 1; }
.ai-id__list div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
  font-size: 14px;
  line-height: 1.45;
}
.ai-id__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.ai-id__list dt { color: rgba(255, 255, 255, .62); }
.ai-id__list dd { margin: 0; font-weight: 500; }

/* ---------- Коротко ---------- */
.ai-summary {
  position: relative;
  margin: 0 0 56px;
  padding: 28px 32px 28px 36px;
  border-radius: var(--se-radius-lg);
  background: var(--se-lavender-2);
  border: 1px solid var(--se-lavender);
}
.ai-summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--se-red);
}
.ai-summary__title {
  margin: 0 0 10px;
  font-family: var(--se-font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--se-navy);
}
.ai-summary p { font-size: 17px; line-height: 1.65; color: var(--se-ink); }

/* ---------- Сетка: оглавление + контент ---------- */
.ai-layout {
  display: grid;
  grid-template-columns: var(--ai-toc-w) minmax(0, 1fr);
  gap: var(--ai-gap);
  align-items: start;
}

.ai-toc {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  padding: 20px 0 20px 0;
  border-top: 2px solid var(--se-navy);
}
.ai-toc__title {
  margin: 0 0 12px !important;
  font-family: var(--se-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--se-navy);
}
.ai-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.ai-toc li { counter-increment: toc; }
.ai .ai-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--se-line);
  font-size: 14px;
  line-height: 1.4;
  color: var(--se-ink-2);
  text-decoration: none;
}
.ai .ai-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--se-font-head);
  font-size: 11px;
  line-height: 1.8;
  color: var(--se-muted);
}
.ai .ai-toc a:hover { color: var(--se-red); }
.ai .ai-toc a.is-active {
  border-left-color: var(--se-red);
  color: var(--se-navy);
  font-weight: 600;
}
.ai .ai-toc a.is-active::before { color: var(--se-orange-hover); }

.ai-content { min-width: 0; }

/* ---------- Разделы ---------- */
.ai-section {
  padding: 0 0 56px;
  margin: 0 0 56px;
  border-bottom: 1px solid var(--se-line);
  scroll-margin-top: 112px;
}
.ai-section:last-of-type { border-bottom: 0; margin-bottom: 0; }

.ai-h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
  font-family: var(--se-font-head);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--se-ink);
}
.ai-h2__num {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 500;
  color: var(--se-orange);
}

.ai-h3 {
  margin: 32px 0 14px;
  font-family: var(--se-font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--se-navy);
}
.ai-h3--sub { font-size: 17px; }

.ai-prose { max-width: 820px; margin-bottom: 28px; color: var(--se-ink-2); }
.ai-prose:last-child { margin-bottom: 0; }

/* ---------- Таблицы ---------- */
.ai-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 8px;
  border: 1px solid var(--se-line);
  border-radius: var(--se-radius-lg);
}
.ai-table-wrap .ai-table { border: 0; border-radius: 0; min-width: 680px; }

.ai-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--se-line);
  border-radius: var(--se-radius-lg);
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}
.ai-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 12px;
  font-family: var(--se-font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--se-navy);
}
.ai-table th,
.ai-table td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--se-line);
}
.ai-table tbody tr:last-child > * { border-bottom: 0; }
.ai-table th[rowspan] { border-bottom: 1px solid var(--se-line); }
.ai-table thead th {
  background: var(--se-navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 0;
}
.ai-table tbody th {
  font-weight: 600;
  color: var(--se-navy);
  background: var(--se-bg);
}
.ai-table td + td,
.ai-table th + td { border-left: 1px solid var(--se-line); }
.ai-table td { color: var(--se-ink-2); }

.ai-table--facts th { width: 34%; }

.ai-nowrap { white-space: nowrap; font-weight: 600; color: var(--se-ink) !important; }

/* ---------- Цифры ---------- */
.ai-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.ai-stats li {
  padding: 22px 22px 20px;
  border-radius: var(--se-radius-lg);
  background: var(--se-white);
  border: 1px solid var(--se-lavender);
  box-shadow: var(--se-shadow-card);
}
.ai-stats b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--se-font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--se-navy);
}
.ai-stats span { display: block; font-size: 14px; line-height: 1.45; color: var(--se-muted); }

/* ---------- Списки ---------- */
.ai-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.ai-list li {
  position: relative;
  padding: 0 0 0 26px;
  margin: 0 0 12px;
  color: var(--se-ink-2);
}
.ai-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--se-orange);
  transform: rotate(45deg);
}
.ai-list--cross li::before {
  content: "×";
  left: 2px;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--se-red);
}

.ai-steps {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  counter-reset: step;
}
.ai-steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 18px 56px;
  color: var(--se-ink-2);
}
.ai-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--se-lavender);
  color: var(--se-navy);
  font-family: var(--se-font-head);
  font-size: 14px;
  font-weight: 600;
}
.ai-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: var(--se-lavender);
}

.ai-note {
  margin: 0 0 28px !important;
  padding: 16px 20px;
  border-radius: var(--se-radius);
  background: #fff6ee;
  border: 1px solid #ffd9b8;
  font-size: 15px;
  color: var(--se-ink-2);
}
.ai-note b { color: var(--se-orange-hover); }

/* ---------- Услуги ---------- */
.ai-service {
  padding: 24px 28px;
  margin: 0 0 16px;
  border-radius: var(--se-radius-lg);
  border: 1px solid var(--se-line);
  background: var(--se-white);
  scroll-margin-top: 112px;
  transition: border-color .2s, box-shadow .2s;
}
.ai-service:hover { border-color: var(--se-lavender); box-shadow: var(--se-shadow-card); }
.ai-service__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 12px;
}
.ai-service__head .ai-h3 { margin: 0; }
.ai-service > p { color: var(--se-ink-2); }
.ai-price {
  margin: 0 !important;
  font-family: var(--se-font-head);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--se-red);
}
.ai-price small {
  margin-left: 4px;
  font-family: var(--se-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--se-muted);
}

.ai-links {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--se-line);
  font-size: 15px;
}
.ai-links li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--se-muted);
}
.ai-links li:last-child { margin-bottom: 0; }
.ai-links li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--se-orange);
}
.ai-section > .ai-links { border-top: 0; padding-top: 0; margin-top: 0; }
.ai-links--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
}
.ai-links--cols li { margin: 0; }

.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--se-lavender-2);
  border: 1px solid var(--se-lavender);
  font-size: 14px;
  color: var(--se-navy);
}

/* ---------- Карточки ---------- */
.ai-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.ai-card {
  padding: 24px;
  border-radius: var(--se-radius-lg);
  background: var(--se-bg);
  border: 1px solid var(--se-lavender);
  color: var(--se-ink-2);
  font-size: 15px;
}
.ai-card__title {
  margin: 0 0 10px;
  font-family: var(--se-font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--se-navy);
}

.ai-stop {
  padding: 22px 24px;
  border-radius: var(--se-radius-lg);
  background: #fdf0f2;
  border: 1px solid #f5c8d0;
  color: var(--se-ink-2);
  font-size: 15px;
}
.ai-stop__title {
  margin: 0 0 8px;
  font-family: var(--se-font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--se-red);
}

/* ---------- Кейсы ---------- */
.ai-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ai-case {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--se-radius-lg);
  border: 1px solid var(--se-line);
  background: var(--se-white);
  font-size: 15px;
  color: var(--se-ink-2);
  transition: box-shadow .2s, border-color .2s;
}
.ai-case:hover { border-color: var(--se-lavender); box-shadow: var(--se-shadow-card); }
.ai-case__meta {
  margin: 0 0 10px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--se-muted);
}
.ai-case__title {
  margin: 0 0 12px;
  font-family: var(--se-font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.ai .ai-case__title a { color: var(--se-ink); text-decoration: none; }
.ai .ai-case__title a:hover { color: var(--se-red); }
.ai-case__result {
  margin: 0 0 12px !important;
  padding: 10px 14px;
  border-radius: var(--se-radius);
  background: var(--se-lavender-2);
  font-weight: 600;
  color: var(--se-navy);
}
.ai-more { margin: 24px 0 0 !important; }
.ai .ai-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--se-orange-hover);
  text-decoration: none;
}
.ai .ai-more a::after { content: "→"; transition: transform .2s; }
.ai .ai-more a:hover { color: var(--se-orange); }
.ai .ai-more a:hover::after { transform: translateX(4px); }

/* ---------- Персона ---------- */
.ai-person {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  margin: 0 0 28px;
  border-radius: var(--se-radius-lg);
  background: var(--se-lavender-2);
  color: var(--se-ink-2);
}
.ai-person__photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--se-shadow);
}
.ai-person__name {
  margin: 0 0 2px;
  font-family: var(--se-font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--se-ink);
}
.ai-person__role { margin: 0 0 10px !important; font-size: 14px; color: var(--se-muted); }

/* ---------- FAQ ---------- */
.ai-faq { border-top: 1px solid var(--se-line); }
.ai-faq__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--se-line);
  color: var(--se-ink-2);
}
.ai-faq__q {
  position: relative;
  margin: 0 0 8px;
  padding-left: 32px;
  font-family: var(--se-font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--se-ink);
}
.ai-faq__q::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--se-red);
  color: #fff;
  font-size: 12px;
}
.ai-faq__item p { padding-left: 32px; }

/* ---------- Списки определений (контакты, реквизиты) ---------- */
.ai-dl { margin: 0; }
.ai-dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--se-line);
}
.ai-dl div:last-child { border-bottom: 0; }
.ai-dl dt { color: var(--se-muted); font-size: 14px; }
.ai-dl dd { margin: 0; color: var(--se-ink); overflow-wrap: anywhere; }

/* ---------- Дисклеймер ---------- */
.ai-disclaimer {
  margin-top: 8px;
  padding: 20px 24px;
  border-radius: var(--se-radius-lg);
  background: var(--se-bg);
  border: 1px dashed var(--se-lavender);
  font-size: 14px;
  color: var(--se-muted);
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1199px) {
  .ai-hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .ai-title { font-size: 38px; }
  .ai-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}

/* Оглавление уходит наверх в виде «чипсов» */
@media (max-width: 992px) {
  .ai-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .ai-id { max-width: 520px; }
  .ai-layout { grid-template-columns: 1fr; gap: 0; }
  .ai-toc {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 48px;
    padding: 20px 0 0;
  }
  .ai-toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .ai .ai-toc a {
    padding: 6px 14px;
    border: 1px solid var(--se-lavender);
    border-radius: 999px;
    background: var(--se-lavender-2);
    font-size: 13px;
  }
  .ai .ai-toc a::before { display: none; }
  .ai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ai { font-size: 15px; padding-bottom: 64px; }
  .ai-title { font-size: 30px; }
  .ai-lead { font-size: 16px; }
  .ai-summary { padding: 22px 20px 22px 24px; margin-bottom: 40px; }
  .ai-summary p { font-size: 15px; }
  .ai-section { padding-bottom: 40px; margin-bottom: 40px; }
  .ai-h2 { font-size: 21px; gap: 12px; margin-bottom: 22px; }
  .ai-h2__num { font-size: 13px; }
  .ai-h3 { font-size: 17px; margin-top: 28px; }
  .ai-grid-2,
  .ai-cases,
  .ai-links--cols { grid-template-columns: 1fr; }
  .ai-service { padding: 20px; }
  .ai-table--facts th { width: 40%; }
  .ai-table th, .ai-table td { padding: 11px 14px; }
}

@media (max-width: 576px) {
  .ai-breadcrumbs { padding-top: 20px; }
  .ai-title { font-size: 26px; }
  .ai-id { padding: 22px 20px; }
  .ai-id__list div { grid-template-columns: 104px minmax(0, 1fr); }
  .ai-stats { gap: 10px; }
  .ai-stats li { padding: 16px 14px; }
  .ai-stats b { font-size: 22px; }
  .ai-stats span { font-size: 13px; }
  .ai-table--facts, .ai-table--facts tbody, .ai-table--facts tr,
  .ai-table--facts th, .ai-table--facts td { display: block; width: 100%; }
  .ai-table--facts caption { display: block; padding: 14px 14px 10px; border-bottom: 1px solid var(--se-line); background: var(--se-lavender-2); }
  .ai-table--facts tbody th { border-bottom: 0; padding-bottom: 2px; background: none; font-size: 13px; color: var(--se-muted); font-weight: 500; }
  .ai-table--facts tbody td { border-left: 0 !important; padding-top: 0; }
  .ai-table--facts tr { border-bottom: 1px solid var(--se-line); }
  .ai-table--facts tbody tr:last-child { border-bottom: 0; }
  .ai-person { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .ai-person__photo { width: 80px; height: 80px; }
  .ai-dl div { grid-template-columns: 1fr; gap: 2px; }
  .ai-faq__q { font-size: 15px; }
  .ai-faq__item p { padding-left: 0; }
  .ai-steps li { padding-left: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ai * { transition: none !important; }
}

@media print {
  .ai-toc { display: none; }
  .ai-layout { display: block; }
  .ai-id { box-shadow: none; }
}
