@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    -system-ui, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #111827;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #ecfdf3 0, #f8f5ef 30%, #f3f4f6 70%);
  color: #111827;
}

#root {
  width: 100%;
  height: 100%;
}

@layer base {
  html {
    scroll-behavior: smooth;
  }

  h1,
  h2,
  h3,
  h4 {
    @apply tracking-tight text-deep-forest;
  }

  button {
    @apply transition-all duration-200;
  }
}

@layer components {
  .glass-card {
    @apply bg-white/80 backdrop-blur border border-white/60 shadow-soft rounded-2xl;
  }

  .primary-cta {
    @apply bg-btn-primary text-white rounded-xl shadow-card px-4 py-2 hover:bg-btn-primary-hover active:bg-btn-primary-active;
  }
}
