.xy-ai-statement-page {
  margin: 0;
  background: #f4f7fb;
  color: #243b5a;
}

.xy-ai-statement-page *,
.xy-ai-statement-page *::before,
.xy-ai-statement-page *::after {
  box-sizing: border-box;
}

.xy-ais-main {
  min-height: 68vh;
  padding: 34px 0 76px;
  background:
    radial-gradient(circle at 85% 4%, rgba(51, 126, 255, .1), transparent 26%),
    linear-gradient(180deg, #f8fbff 0, #f4f7fb 280px);
}

.xy-ais-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.xy-ais-breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #8191a7;
  font-size: 13px;
  line-height: 1.5;
}

.xy-ais-breadcrumb a {
  color: #56789f;
  text-decoration: none;
}

.xy-ais-breadcrumb a:hover,
.xy-ais-breadcrumb a:focus-visible {
  color: #086ff5;
}

.xy-ais-breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-ais-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 24px;
}

.xy-ais-article,
.xy-ais-toc {
  border: 1px solid #dce7f4;
  background: #fff;
  box-shadow: 0 16px 42px rgba(30, 68, 112, .07);
}

.xy-ais-article {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.xy-ais-article-head {
  position: relative;
  padding: 50px 54px 38px;
  overflow: hidden;
  border-bottom: 1px solid #e3ebf6;
  background:
    radial-gradient(circle at 88% 15%, rgba(72, 128, 255, .2), transparent 31%),
    linear-gradient(135deg, #f9fcff, #edf4ff);
}

.xy-ais-article-head::after {
  position: absolute;
  top: -82px;
  right: -52px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.xy-ais-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #116cf1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.xy-ais-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #337dff;
  box-shadow: 0 0 0 6px rgba(51, 125, 255, .11);
  content: '';
}

.xy-ais-article-head h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 17px 0 13px;
  color: #10223d;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.xy-ais-lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #526a88;
  font-size: 16px;
  line-height: 1.85;
}

.xy-ais-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 25px 0 0;
}

.xy-ais-meta div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.xy-ais-meta dt,
.xy-ais-meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.xy-ais-meta dt {
  color: #8493a7;
}

.xy-ais-meta dd {
  color: #334c6b;
  font-weight: 650;
}

.xy-ais-content {
  padding: 40px 54px 46px;
}

.xy-ais-important,
.xy-ais-warning {
  border: 1px solid #cfe0f8;
  border-radius: 12px;
  background: #f3f8ff;
}

.xy-ais-important {
  margin-bottom: 36px;
  padding: 18px 20px;
  border-color: #f2c889;
  border-left: 4px solid #e68b19;
  background: #fff8ea;
}

.xy-ais-important strong,
.xy-ais-warning strong {
  color: #9b560a;
}

.xy-ais-important p {
  margin: 6px 0 0;
  color: #674b25;
  font-size: 15px;
  line-height: 1.85;
}

.xy-ais-risk-section {
  padding: 24px;
  border: 1px solid #f0d3a8;
  border-radius: 13px;
  background: linear-gradient(180deg, #fffdfa, #fff9ef);
}

.xy-ais-content > .xy-ais-risk-section + section {
  margin-top: 38px;
}

.xy-ais-action-checklist {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #d9e5f4;
  border-radius: 11px;
  background: #fff;
}

.xy-ais-action-checklist h3 {
  margin-bottom: 13px;
}

.xy-ais-action-checklist ol {
  margin-bottom: 0;
}

.xy-ais-action-checklist li {
  font-size: 15px;
  line-height: 1.8;
}

.xy-ais-content > section {
  scroll-margin-top: 92px;
}

.xy-ais-content > section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid #e7edf6;
}

.xy-ais-content h2 {
  margin: 0 0 17px;
  padding-left: 14px;
  color: #122743;
  border-left: 4px solid #2575ed;
  font-size: 23px;
  line-height: 1.45;
}

.xy-ais-content h3 {
  margin: 0 0 12px;
  color: #1a3658;
  font-size: 17px;
  line-height: 1.5;
}

.xy-ais-content p,
.xy-ais-content li {
  color: #344e6d;
  font-size: 16px;
  line-height: 1.95;
}

.xy-ais-content p {
  margin: 0 0 17px;
}

.xy-ais-content strong {
  color: #173b68;
}

.xy-ais-content a {
  color: #0872ee;
  text-underline-offset: 3px;
}

.xy-ais-content ol,
.xy-ais-content ul {
  margin: 0 0 18px;
  padding-left: 23px;
}

.xy-ais-content li + li {
  margin-top: 6px;
}

.xy-ais-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.xy-ais-scope-grid > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dce8f6;
  border-radius: 12px;
  background: #f8fbff;
}

.xy-ais-scope-grid .is-supported {
  border-color: #caeadf;
  background: #f3fbf8;
}

.xy-ais-scope-grid .is-supported h3 {
  color: #107257;
}

.xy-ais-scope-grid .is-limited {
  border-color: #f0dfcf;
  background: #fff9f4;
}

.xy-ais-scope-grid .is-limited h3 {
  color: #a85b1f;
}

.xy-ais-scope-grid ul {
  margin-bottom: 0;
}

.xy-ais-scope-grid li {
  font-size: 14px;
  line-height: 1.75;
}

.xy-ais-warning {
  margin: 20px 0;
  padding: 15px 17px;
  color: #4d5f76;
  font-size: 15px;
  line-height: 1.8;
}

.xy-ais-toc {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 14px;
}

.xy-ais-toc strong {
  margin-bottom: 9px;
  color: #152a45;
  font-size: 16px;
}

.xy-ais-toc a {
  padding: 8px 10px;
  color: #5d718a;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.xy-ais-toc a:hover,
.xy-ais-toc a:focus-visible {
  color: #1269e5;
  background: #eef5ff;
  outline: none;
}

.xy-ais-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid #e5edf7;
}

.xy-ais-article-footer p {
  margin: 0;
  color: #7a8ca3;
  font-size: 13px;
}

.xy-ais-article-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.xy-ais-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid #bfd3ec;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.xy-ais-btn.is-secondary {
  color: #2763a9;
  background: #fff;
}

.xy-ais-btn.is-primary {
  color: #fff;
  border-color: #176ce7;
  background: #176ce7;
}

.xy-ais-btn:hover,
.xy-ais-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 92, 177, .14);
  outline: none;
}

@media (max-width: 900px) {
  .xy-ais-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .xy-ais-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  .xy-ais-main {
    padding: 20px 0 48px;
  }

  .xy-ais-container {
    width: min(100% - 24px, 1180px);
  }

  .xy-ais-breadcrumb {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .xy-ais-article {
    border-radius: 12px;
  }

  .xy-ais-article-head {
    padding: 32px 20px 27px;
  }

  .xy-ais-article-head h1 {
    margin-top: 14px;
    font-size: 27px;
    line-height: 1.35;
  }

  .xy-ais-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .xy-ais-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 16px;
    margin-top: 20px;
  }

  .xy-ais-meta dt,
  .xy-ais-meta dd {
    white-space: nowrap;
  }

  .xy-ais-content {
    padding: 24px 20px 30px;
  }

  .xy-ais-important {
    margin-bottom: 29px;
    padding: 15px 16px;
  }

  .xy-ais-risk-section {
    padding: 18px 16px;
  }

  .xy-ais-action-checklist {
    padding: 16px;
  }

  .xy-ais-important p,
  .xy-ais-content p,
  .xy-ais-content li {
    font-size: 15px;
    line-height: 1.85;
  }

  .xy-ais-content h2 {
    padding-left: 11px;
    font-size: 20px;
  }

  .xy-ais-content > section + section {
    margin-top: 30px;
    padding-top: 28px;
  }

  .xy-ais-scope-grid,
  .xy-ais-toc {
    grid-template-columns: minmax(0, 1fr);
  }

  .xy-ais-scope-grid > div {
    padding: 17px;
  }

  .xy-ais-article-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .xy-ais-article-footer > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .xy-ais-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xy-ais-btn {
    transition: none;
  }
}
