:root {
  --color-primary: #2D3B36;
  --color-secondary: #6B8076;
  --color-accent: #4A9B7F;
  --color-bg-light: #F5FAF8;
  --color-bg-alt: #EBF5F1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

::selection {
  background-color: #4A9B7F;
  color: white;
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

*:focus-visible {
  outline: 2px solid #4A9B7F;
  outline-offset: 2px;
}

.btn-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.text-gradient {
  background: linear-gradient(135deg, #2D3B36, #4A9B7F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blob-gradient {
  background: radial-gradient(circle, #4A9B7F20 0%, transparent 70%);
  filter: blur(60px);
}

input:focus, textarea:focus, select:focus {
  border-color: #4A9B7F;
  box-shadow: 0 0 0 3px #4A9B7F20;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.prose-magazine p {
  line-height: 1.8;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}