@import "tailwindcss";

@theme {
  --color-navy: #13294b;
  --color-navy-soft: #1a3459;
  --color-orange: #d46a18;
  --color-orange-bright: #f47a20;
  --color-orange-ink: #a85210;
  --color-red: #c42018;
  --color-green: #1a8a48;
  --color-text: #3d4d63;
  --color-text-muted: #5a6a80;
  --color-paper: #ffffff;
  --color-mist: #f7f9fc;
  --color-line: rgba(19, 41, 75, 0.10);

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animate-floaty,
  .animate-twinkle,
  .animate-twinkle-delay,
  .animate-rise-in {
    animation: none !important;
  }
}

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.animate-floaty {
  animation: floaty 6s ease-in-out infinite;
}

.animate-twinkle {
  animation: twinkle 3s ease-in-out infinite;
}

.animate-twinkle-delay {
  animation: twinkle 2.4s ease-in-out 0.6s infinite;
}

.animate-rise-in {
  animation: rise-in 0.6s ease-out both;
}
