:root {
  color-scheme: light;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 10px 24px -20px rgba(15, 23, 42, 0.35);
  --shadow-card: 0 16px 32px -24px rgba(15, 23, 42, 0.32);
  --accent: #0ea5e9;
  --accent-strong: #0284c7;
  --accent-soft: #e0f2fe;
  --border-soft: rgba(14, 165, 233, 0.12);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out both;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out both;
}

h1,
h2,
h3 {
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.nav-link {
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.nav-link:hover,
.nav-link:focus {
  color: #075985;
  background-color: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.25);
}

.nav-link.active {
  color: #0f172a;
  background-color: #eaf6ff;
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.18);
}

.ui-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  margin-bottom: 3rem;
}

.ui-card:last-child {
  margin-bottom: 0;
}

.ui-card--link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ui-card--link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(14, 165, 233, 0.25);
}

.ui-button {
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(0);
}

.ui-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -22px rgba(15, 23, 42, 0.35);
}

.ui-button-outline {
  background-color: #ffffff;
}

.ui-banner {
  background: linear-gradient(90deg, rgba(254, 240, 138, 0.55), rgba(253, 230, 138, 0.25));
  color: #1f2937;
  border-bottom: 1px solid rgba(250, 204, 21, 0.3);
}

.ui-banner__next {
  margin-top: 6px;
  font-weight: 600;
  color: #0c4a6e;
}

.ui-banner__updated {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #475569;
}
