:root {
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --color-primary: #1E40AF;
  --color-primary-dark: #1E3A8A;
  --color-primary-soft: #DBEAFE;
  --color-accent: #38BDF8;
  --color-accent-dark: #0284C7;
  --color-accent-soft: #E0F2FE;
  --color-bg: #F0F9FF;
  --color-surface: #FFFFFF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: #BAE6FD;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.125rem;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(30, 64, 175, 0.08);
  --shadow-lift: 0 8px 28px rgba(30, 64, 175, 0.14);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.28);
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes frost-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 18px 3px rgba(56, 189, 248, 0.15); }
}

.animate-fade-in-up { animation: fade-in-up 0.65s ease-out both; }
.animate-slide-in-right { animation: slide-in-right 0.65s ease-out both; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-frost-pulse { animation: frost-pulse 3.2s ease-in-out infinite; }

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  background: linear-gradient(
    118deg,
    rgba(240, 249, 255, 0.96) 0%,
    rgba(240, 249, 255, 0.88) 48%,
    rgba(219, 234, 254, 0.82) 100%
  );
}

.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.winter-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.winter-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

.winter-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  border-radius: 1px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 0 rgba(30, 58, 138, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
}

.btn-accent-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-accent-outline:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-accent-dark);
  color: var(--color-primary-dark);
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a { color: var(--color-primary); text-decoration: underline; }

article .space-y-10 h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

article .space-y-10 h2:first-child { margin-top: 0; }

article .space-y-10 h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

article .space-y-10 p { margin-bottom: 1rem; }
article .space-y-10 ul { margin-bottom: 1.25rem; padding-left: 1.5rem; list-style: disc; }
article .space-y-10 li { margin-bottom: 0.4rem; }

.faq-answer[hidden] { display: none; }
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.2s ease; }

.form-error-msg {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #DC2626;
}

.form-error-msg[hidden] { display: none; }

[data-field].has-error input,
[data-field].has-error textarea,
[data-field].has-error select {
  border-color: #DC2626;
}

#mobile-nav.is-open { transform: translateX(0); }
#mobile-nav-overlay.is-visible { display: block; }

.burger-line { transition: transform 0.25s ease, opacity 0.25s ease; }
.burger-open .burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-open .burger-line:nth-child(2) { opacity: 0; }
.burger-open .burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-slide-in-right,
  .animate-frost-pulse,
  .card-lift,
  .faq-chevron,
  .burger-line {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1023px) {
  .hero-bg { min-height: 500px; }
}
