:root {
  color-scheme: light;
  --brand-primary: #142A70;
  --brand-secondary: #2F80B7;
  --brand-accent: #A9D8F0;
  --page-background: #F4F8FC;
  --text-main: #172554;
  --text-muted: #64748B;
}

body {
  background: var(--page-background);
  color: var(--text-main);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-navbar {
  background: #fff;
  box-shadow: 0 1px 8px rgba(20, 42, 112, .08);
}

.site-navbar .navbar-brand {
  color: var(--brand-primary);
}

.site-navbar .navbar-text {
  color: #64748B;
}

.hero-section {
  background:
    radial-gradient(circle at 84% 10%, rgba(169, 216, 240, .34), transparent 34%),
    linear-gradient(120deg, #2F80B7 0%, #315C94 55%, #1B2F70 100%);
  color: #fff;
}

.hero-content {
  max-width: 780px;
}

.hero-section .lead {
  color: rgba(255, 255, 255, .82);
}

.eyebrow {
  color: var(--brand-primary);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .12em;
}

.hero-section .eyebrow,
.it-message .eyebrow {
  color: #C6E9FA;
}

.content-container {
  max-width: 1120px;
}

.intro-card,
.info-card,
.metric-card,
.content-container > .card {
  border-radius: 1rem;
}

.intro-card {
  background: #fff;
}

.simulation-form-card {
  max-width: 680px;
}

.section-mark {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-accent);
}

.info-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.info-card:hover {
  transform: translateY(-2px);
}

.card-icon,
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #E3F2FA;
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.status-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.it-message {
  background: linear-gradient(120deg, #1D4F88, var(--brand-primary));
  color: #fff;
}

.it-message p:last-child {
  color: rgba(255, 255, 255, .82);
}

.site-footer {
  color: var(--text-muted);
}

.btn-primary-brand {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus {
  border-color: #0D1D50;
  background: #0D1D50;
  color: #fff;
}

.metric-label {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
}

.metric-value {
  color: var(--brand-primary);
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.2;
}

.metric-browser {
  font-size: 1.2rem;
}

.table thead th {
  background: #EAF1F8;
  color: #475569;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.table td,
.table th {
  padding: .9rem 1rem;
}

.error-card {
  max-width: 620px;
  border-radius: 1rem;
}

@media (max-width: 575.98px) {
  .hero-section .display-5 {
    font-size: 2.15rem;
  }
}

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