*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette */
  --primary: #1B4332;
  --primary-dark: #143528;
  --primary-light: #2D6A4F;
  --primary-lighter: #40916C;
  --primary-pale: #D8F3DC;
  --primary-ghost: #EDF7F0;

  /* Warm accents */
  --accent: #E8833A;
  --accent-light: #F4A261;
  --accent-pale: #FFF3E8;

  /* Adventure palette */
  --adventure-blue: #3B82F6;
  --adventure-teal: #14B8A6;
  --adventure-purple: #8B5CF6;
  --adventure-rose: #F43F5E;
  --adventure-amber: #F59E0B;
  --adventure-sky: #0EA5E9;

  /* Neutrals */
  --bg: #FAFAF7;
  --bg-warm: #F7F5F0;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #4B5563;
  --text-muted: #8B95A5;
  --border: #E8ECF0;
  --border-light: #F0F2F4;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12), 0 6px 12px rgba(0,0,0,0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes progressFill {
  from { width: 0; }
}

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

.anim-in { animation: fadeInUp 0.5s var(--ease) both; }
.anim-in-1 { animation-delay: 0.05s; }
.anim-in-2 { animation-delay: 0.1s; }
.anim-in-3 { animation-delay: 0.15s; }
.anim-in-4 { animation-delay: 0.2s; }
.anim-in-5 { animation-delay: 0.25s; }
.anim-in-6 { animation-delay: 0.3s; }
