.cds-page {
  --cds-ink: #10213f;
  --cds-muted: #5b6b84;
  --cds-line: #dfe7f2;
  --cds-soft: #f5f8fc;
  --cds-blue: #2867e8;
  --cds-blue-dark: #1748aa;
  --cds-green: #0a8f5b;
  --cds-green-bg: #edf9f4;
  --cds-amber: #a65a00;
  --cds-amber-bg: #fff7e7;
  --cds-red: #bd2c35;
  --cds-red-bg: #fff0f1;
  --cds-gray: #637089;
  --cds-gray-bg: #f1f4f8;
  color: var(--cds-ink);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 1180px;
}

.cds-page *,
.cds-page *::before,
.cds-page *::after {
  box-sizing: border-box;
}

.cds-page h1,
.cds-page h2,
.cds-page h3,
.cds-page p,
.cds-page ul,
.cds-page dl {
  margin-top: 0;
}

.cds-page h1,
.cds-page h2,
.cds-page h3 {
  color: var(--cds-ink);
  line-height: 1.2;
  text-wrap: balance;
}

.cds-page h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.cds-page h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cds-page h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.cds-page a {
  color: var(--cds-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cds-page a:hover {
  color: var(--cds-blue);
}

.cds-hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(72, 130, 255, .18), transparent 29%),
    linear-gradient(145deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #dbe7fb;
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(31, 68, 130, .09);
  margin: 0 0 28px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  position: relative;
}

.cds-eyebrow,
.cds-kicker {
  color: var(--cds-blue-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .105em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cds-lead {
  color: #43536e;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 850px;
}

.cds-verdict {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--cds-line);
  border-left: 7px solid var(--cds-gray);
  border-radius: 19px;
  box-shadow: 0 16px 40px rgba(24, 54, 102, .1);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 30px 0 18px;
  min-height: 190px;
  padding: clamp(22px, 3.5vw, 34px);
}

.cds-verdict.cds-state-ok { border-left-color: var(--cds-green); }
.cds-verdict.cds-state-warn { border-left-color: var(--cds-amber); }
.cds-verdict.cds-state-bad { border-left-color: var(--cds-red); }

.cds-verdict__icon,
.cds-state-icon {
  align-items: center;
  background: var(--cds-gray-bg);
  border-radius: 50%;
  color: var(--cds-gray);
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.cds-verdict__icon svg,
.cds-state-icon svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 24px;
}

.cds-state-ok .cds-verdict__icon,
.cds-state-ok .cds-state-icon {
  background: var(--cds-green-bg);
  color: var(--cds-green);
}

.cds-state-warn .cds-verdict__icon,
.cds-state-warn .cds-state-icon {
  background: var(--cds-amber-bg);
  color: var(--cds-amber);
}

.cds-state-bad .cds-verdict__icon,
.cds-state-bad .cds-state-icon {
  background: var(--cds-red-bg);
  color: var(--cds-red);
}

.cds-verdict__label {
  color: var(--cds-ink);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 7px;
}

.cds-verdict__answer {
  font-size: 1.03rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.cds-verdict__detail {
  color: var(--cds-muted);
  margin-bottom: 15px;
}

.cds-verdict__meta {
  color: var(--cds-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .8rem;
  gap: 8px 18px;
}

.cds-verdict__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.cds-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 750;
  gap: 8px;
  justify-content: center;
  line-height: 1.25;
  min-height: 46px;
  padding: 11px 17px;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cds-button svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.cds-button:hover {
  transform: translateY(-1px);
}

.cds-button:focus-visible,
.cds-jump a:focus-visible,
.cds-faq summary:focus-visible {
  outline: 3px solid rgba(40, 103, 232, .33);
  outline-offset: 3px;
}

.cds-button--primary {
  background: var(--cds-blue);
  box-shadow: 0 7px 20px rgba(40, 103, 232, .23);
  color: #fff !important;
}

.cds-button--primary:hover { background: var(--cds-blue-dark); }

.cds-button--secondary {
  background: #fff;
  border-color: #cbd8eb;
  color: var(--cds-ink) !important;
}

.cds-button--secondary:hover { background: #f5f8fd; }

.cds-button[disabled] {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.cds-button.is-loading svg {
  animation: cds-spin .85s linear infinite;
}

@keyframes cds-spin { to { transform: rotate(360deg); } }

.cds-disclosure {
  color: var(--cds-muted);
  font-size: .82rem;
  margin: 0;
}

.cds-jump {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cds-line);
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  padding: 10px;
}

.cds-jump a {
  border-radius: 9px;
  color: #33445f;
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 13px;
  text-decoration: none;
}

.cds-jump a:hover { background: var(--cds-soft); }

.cds-section {
  border-bottom: 1px solid var(--cds-line);
  padding: clamp(42px, 7vw, 78px) clamp(4px, 2vw, 20px);
  scroll-margin-top: 90px;
}

.cds-section--soft {
  background: var(--cds-soft);
  border: 1px solid var(--cds-line);
  border-radius: 24px;
  margin: 22px 0;
  padding-left: clamp(22px, 4vw, 48px);
  padding-right: clamp(22px, 4vw, 48px);
}

.cds-section__head {
  align-items: flex-end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  margin-bottom: 26px;
}

.cds-section__head > p {
  color: var(--cds-muted);
  margin-bottom: 4px;
}

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

.cds-service-card {
  background: #fff;
  border: 1px solid var(--cds-line);
  border-top: 4px solid var(--cds-gray);
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(31, 63, 110, .06);
  padding: 22px;
}

.cds-service-card.cds-state-ok { border-top-color: var(--cds-green); }
.cds-service-card.cds-state-warn { border-top-color: var(--cds-amber); }
.cds-service-card.cds-state-bad { border-top-color: var(--cds-red); }

.cds-service-card__head {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-bottom: 18px;
}

.cds-service-card .cds-state-icon {
  height: 40px;
  width: 40px;
}

.cds-service-card .cds-state-icon svg {
  height: 20px;
  width: 20px;
}

.cds-service-card h3 { margin: 0; }

.cds-source-label {
  color: var(--cds-muted);
  display: block;
  font-size: .72rem;
  line-height: 1.35;
}

.cds-service-card__status {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 17px;
}

.cds-state-ok .cds-service-card__status { color: var(--cds-green); }
.cds-state-warn .cds-service-card__status { color: var(--cds-amber); }
.cds-state-bad .cds-service-card__status { color: var(--cds-red); }

.cds-service-card dl { margin-bottom: 14px; }

.cds-service-card dl div {
  border-top: 1px solid #edf1f6;
  display: flex;
  font-size: .83rem;
  gap: 15px;
  justify-content: space-between;
  padding: 9px 0;
}

.cds-service-card dt { color: var(--cds-muted); }
.cds-service-card dd { font-weight: 750; margin: 0; text-align: right; }

.cds-service-card__note {
  color: var(--cds-muted);
  font-size: .78rem;
  margin: 0;
}

.cds-component-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cds-component {
  background: #fff;
  border: 1px solid var(--cds-line);
  border-radius: 14px;
  min-height: 158px;
  padding: 18px;
}

.cds-component__top {
  align-items: flex-start;
  display: flex;
  gap: 9px;
  line-height: 1.35;
  min-height: 48px;
}

.cds-component__dot {
  background: var(--cds-gray);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cds-gray-bg);
  flex: 0 0 9px;
  height: 9px;
  margin-top: 6px;
  width: 9px;
}

.cds-state-ok .cds-component__dot { background: var(--cds-green); box-shadow: 0 0 0 4px var(--cds-green-bg); }
.cds-state-warn .cds-component__dot { background: var(--cds-amber); box-shadow: 0 0 0 4px var(--cds-amber-bg); }
.cds-state-bad .cds-component__dot { background: var(--cds-red); box-shadow: 0 0 0 4px var(--cds-red-bg); }

.cds-component__status {
  color: var(--cds-muted);
  font-size: .82rem;
  font-weight: 700;
  margin: 5px 0 15px;
}

.cds-component__uptime {
  font-size: .78rem;
  margin: 0;
}

.cds-component__uptime span {
  color: var(--cds-ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.cds-component__coverage {
  color: var(--cds-muted);
  font-size: .68rem;
  margin: 2px 0 0;
}

.cds-source-line,
.cds-method-note {
  color: var(--cds-muted);
  font-size: .79rem;
  margin: 18px 0 0;
}

.cds-no-incident,
.cds-active-incident {
  align-items: flex-start;
  background: var(--cds-green-bg);
  border: 1px solid #bee8d5;
  border-radius: 15px;
  display: flex;
  gap: 14px;
  margin-bottom: 25px;
  padding: 20px;
}

.cds-no-incident .cds-state-icon { background: #fff; }
.cds-no-incident p { color: var(--cds-muted); margin: 3px 0 0; }

.cds-active-incident {
  background: var(--cds-amber-bg);
  border-color: #f0d59e;
  display: block;
}

.cds-active-incident h3 { font-size: 1.22rem; }
.cds-active-incident p:last-child { margin-bottom: 0; }

.cds-subheading {
  font-size: 1.35rem !important;
  margin: 34px 0 15px !important;
}

.cds-table-wrap {
  border: 1px solid var(--cds-line);
  border-radius: 15px;
  overflow-x: auto;
}

.cds-table {
  border: 0;
  border-collapse: collapse;
  font-size: .82rem;
  margin: 0;
  min-width: 750px;
  width: 100%;
}

.cds-table th,
.cds-table td {
  border: 0;
  border-bottom: 1px solid var(--cds-line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.cds-table thead th {
  background: #f5f8fc;
  color: #42516a;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cds-table tbody tr:last-child th,
.cds-table tbody tr:last-child td { border-bottom: 0; }

.cds-table tbody th { max-width: 360px; }

.cds-table-status {
  color: var(--cds-muted);
  display: block;
  font-size: .7rem;
  margin-top: 3px;
}

.cds-table--diagnostic tbody th { width: 27%; }

.cds-history-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cds-history-card {
  background: #fff;
  border: 1px solid var(--cds-line);
  border-radius: 16px;
  padding: 22px;
}

.cds-history-card ul { list-style: none; margin: 0; padding: 0; }

.cds-history-card li {
  align-items: center;
  border-top: 1px solid #e9eef5;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto auto;
  padding: 11px 0;
}

.cds-history-card li span { color: var(--cds-muted); }
.cds-history-card li strong { color: var(--cds-green); }
.cds-history-card li small { color: var(--cds-muted); min-width: 65px; text-align: right; }

.cds-answer-section {
  background: linear-gradient(135deg, #173d87, #2568df);
  border: 0;
  border-radius: 23px;
  color: #f5f8ff;
  margin: 30px 0;
  padding: clamp(30px, 6vw, 55px);
}

.cds-answer-section h2,
.cds-answer-section a { color: #fff; }
.cds-answer-section p { max-width: 900px; }
.cds-answer-section .cds-button--secondary { color: var(--cds-ink) !important; }

.cds-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cds-section--method {
  background: #101f3b;
  border: 0;
  border-radius: 24px;
  color: #dfe8f8;
  margin: 28px 0;
  padding: clamp(30px, 5vw, 52px);
}

.cds-section--method h2,
.cds-section--method h3 { color: #fff; }
.cds-section--method .cds-section__head > p,
.cds-section--method .cds-source-line { color: #b8c7df; }
.cds-section--method a { color: #bcd4ff; }

.cds-method-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cds-method-grid article {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  padding: 20px;
}

.cds-method-grid article > span {
  align-items: center;
  background: #2d6de9;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: .77rem;
  font-weight: 850;
  height: 28px;
  justify-content: center;
  margin-bottom: 13px;
  width: 28px;
}

.cds-method-grid p { color: #c8d5e9; font-size: .88rem; margin: 0; }

.cds-limitations {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 28px;
  padding-top: 25px;
}

.cds-limitations li { margin-bottom: 7px; }

.cds-related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cds-related-grid a {
  background: #fff;
  border: 1px solid var(--cds-line);
  border-radius: 14px;
  display: block;
  padding: 19px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.cds-related-grid a:hover { border-color: #9cb9f1; transform: translateY(-2px); }
.cds-related-grid strong { color: var(--cds-ink); display: block; }
.cds-related-grid span { color: var(--cds-muted); display: block; font-size: .82rem; }

.cds-faq-list {
  border-top: 1px solid var(--cds-line);
}

.cds-faq details {
  border-bottom: 1px solid var(--cds-line);
  padding: 0;
}

.cds-faq summary {
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 780;
  list-style: none;
  padding: 20px 45px 20px 0;
  position: relative;
}

.cds-faq summary::-webkit-details-marker { display: none; }

.cds-faq summary::after {
  align-items: center;
  border: 1px solid #ccd8e9;
  border-radius: 50%;
  content: "+";
  display: flex;
  font-size: 1.25rem;
  font-weight: 400;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 17px;
  width: 30px;
}

.cds-faq details[open] summary::after { content: "−"; }
.cds-faq details p { color: var(--cds-muted); margin: -4px 0 20px; max-width: 920px; }

@media (max-width: 980px) {
  .cds-verdict { grid-template-columns: auto minmax(0, 1fr); }
  .cds-verdict__actions { flex-direction: row; grid-column: 1 / -1; }
  .cds-service-grid { grid-template-columns: 1fr; }
  .cds-component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .cds-page { font-size: 16px; }
  .cds-hero { border-radius: 19px; padding: 25px 19px; }
  .cds-verdict { grid-template-columns: 1fr; min-height: 0; padding: 21px; }
  .cds-verdict__actions { flex-direction: column; grid-column: auto; }
  .cds-section__head { align-items: start; gap: 8px; grid-template-columns: 1fr; }
  .cds-component-grid,
  .cds-history-grid,
  .cds-method-grid,
  .cds-related-grid { grid-template-columns: 1fr; }
  .cds-section--soft,
  .cds-section--method,
  .cds-answer-section { border-radius: 18px; }
  .cds-jump { flex-wrap: nowrap; overflow-x: auto; }
  .cds-jump a { flex: 0 0 auto; }
  .cds-history-card li { grid-template-columns: 1fr auto; }
  .cds-history-card li small { grid-column: 1 / -1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .cds-page *,
  .cds-page *::before,
  .cds-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

