:root {
  --primary: #0f172a;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.heading-font {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
}

.section-header {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.resource-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

.video-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #1e40af;
}

.modal {
  animation: modalPop 0.2s ease-out forwards;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.prose-custom p {
  color: #475569;
  line-height: 1.75;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.canada-red { color: #C8102E; }
.navy { color: #0f172a; }

.resource-pill {
  font-size: 0.75rem;
  padding: 1px 10px;
  border-radius: 9999px;
  font-weight: 600;
}

.guide-step {
  counter-increment: step-counter;
}

.guide-step:before {
  content: counter(step-counter);
  background: linear-gradient(to bottom right, #1e40af, #3b82f6);
  color: white;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.disclaimer-box {
  background: linear-gradient(to right, #fef2f2, #fff7ed);
  border-left: 5px solid #c2410c;
}

.modern-shadow {
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.08);
}

.accent-gradient {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yt-play-btn {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
}

.tab-button {
  position: relative;
  transition: all 0.2s ease;
}

.tab-button.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #1e40af, #3b82f6);
  border-radius: 3px;
}

.content-section {
  scroll-margin-top: 80px;
}