:root {
  --brand-50: #f0f9ff;
  --brand-200: #bae6fd;
  --brand-300: #7dd3fc;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-900: #0f172a;
}

.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-500 { background-color: var(--brand-500); }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-900 { background-color: var(--brand-900); }

.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.hover\:bg-brand-600:hover { background-color: var(--brand-600); }

.text-brand-300 { color: var(--brand-300) !important; }
.text-brand-500 { color: var(--brand-500) !important; }
.text-brand-600 { color: var(--brand-600) !important; }

.hover\:text-brand-600:hover { color: var(--brand-600) !important; }

.border-brand-500 { border-color: var(--brand-500); }
.focus\:border-brand-500:focus { border-color: var(--brand-500); }

.focus\:ring-brand-200:focus { --tw-ring-color: var(--brand-200); }
.focus\:ring-brand-500:focus { --tw-ring-color: var(--brand-500); }

.file\:bg-brand-500::file-selector-button { background-color: var(--brand-500); color: #fff; }
.hover\:file\:bg-brand-600:hover::file-selector-button { background-color: var(--brand-600); }

.link-brand {
  color: var(--brand-500) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.link-brand:hover {
  color: var(--brand-600) !important;
}

.btn-brand {
  background-color: var(--brand-500) !important;
  color: #fff !important;
  border: 1px solid var(--brand-500) !important;
  font-size: 0.875rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.25);
}

.btn-brand:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.6);
  outline-offset: 2px;
}

.summary-stack:not(.hidden) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge--brand {
  background-color: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.badge--hero {
  background-color: rgba(14, 165, 233, 0.22);
  color: #f0f9ff;
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.2);
}

.badge--compact {
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  gap: 0.25rem;
}

#interesting-facts-cards a.link {
  display: inline-block;
  transition: transform 0.15s ease;
}

#interesting-facts-cards a.link:hover,
#interesting-facts-cards a.link:focus-visible {
  transform: scale(1.03);
}
