@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("dm-sans-latin.woff2") format("woff2");
}

:root {
  --aivie-red: #e63312;
  --aivie-dark-blue: #283e4c;
  --aivie-green: #0a9d77;
  --aivie-mint: #cfe7e1;
  --aivie-gray: #6f7a82;
  --bs-body-font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.5;
  --bs-body-color: #17252e;
  --bs-success-rgb: 10, 157, 119;
  --bs-link-color-rgb: 40, 62, 76;
  --bs-link-hover-color-rgb: 10, 157, 119;
  color-scheme: light;
  font-synthesis: none;
}

html {
  min-width: 320px;
  background: #fff;
}

body {
  background:
    radial-gradient(circle at 88% 4%, rgba(207, 231, 225, 0.72), transparent 27rem),
    linear-gradient(180deg, #fff 0, #f8faf9 100%);
}

a {
  text-decoration-color: rgba(40, 62, 76, 0.35);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(10, 157, 119, 0.35);
  outline-offset: 4px;
  box-shadow: none;
}

.brand-link {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 104px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 32px;
  background: #d8dddd;
}

.text-brand-dark {
  color: var(--aivie-dark-blue);
}

.status-kicker {
  color: var(--aivie-red);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-title {
  max-width: 46rem;
  color: var(--aivie-dark-blue);
  font-size: clamp(3.25rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.status-lead {
  max-width: 39rem;
  color: var(--aivie-gray);
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
  line-height: 1.45;
}

.status-overview {
  border-bottom: 1px solid rgba(10, 157, 119, 0.18);
  background: rgba(207, 231, 225, 0.48);
}

.status-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--aivie-green);
  color: #fff;
}

.status-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.status-badge {
  background: rgba(10, 157, 119, 0.12);
  color: #087a5e;
  font-weight: 600;
}

.services-title {
  color: var(--aivie-gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.list-group-item {
  border-color: #eff0f1;
  background: transparent;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(10, 157, 119, 0.12);
}

.incident-panel {
  border-left: 4px solid #eb7585;
  background: #f5f7f9;
  color: var(--aivie-dark-blue);
}

.incident-badge {
  background: #eb7585;
  color: #fff;
  font-weight: 500;
}

.incident-meta {
  padding: 1rem 0;
  border-top: 1px solid #dfe3e7;
  border-bottom: 1px solid #dfe3e7;
}

.incident-meta dt {
  margin-bottom: 0.25rem;
  color: var(--aivie-gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.incident-meta dd {
  margin-bottom: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.incident-copy {
  font-size: 1rem;
  line-height: 1.65;
}

.incident-copy p {
  margin-bottom: 1rem;
}

.card-footer {
  background: #fafbfb;
}

.btn-success {
  --bs-btn-bg: var(--aivie-green);
  --bs-btn-border-color: var(--aivie-green);
  --bs-btn-hover-bg: #087d5f;
  --bs-btn-hover-border-color: #087d5f;
  --bs-btn-active-bg: #076c53;
  --bs-btn-active-border-color: #076c53;
}

@media (prefers-reduced-motion: no-preference) {
  .status-icon {
    animation: status-in 500ms ease-out both;
  }

  @keyframes status-in {
    from {
      opacity: 0;
      transform: scale(0.72);
    }
  }
}
