:root {
  --white: #ffffff;
  --bg: #f3f4f6;
  --card: rgba(255, 255, 255, 0.92);
  --rose: #374151;
  --rose-light: #eef2f7;
  --rose-mid: #d5dbe5;
  --text: #111827;
  --muted: #6b7280;
  --border: #d7dde6;
  --green: #4b5563;
  --danger: #b04336;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.05);
  --surface: rgba(255, 255, 255, 0.74);
  --accent-dark: #1f2937;
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(71, 85, 105, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.hidden {
  display: none !important;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: 'Lora', serif;
}

.rose {
  color: var(--rose);
}

::selection {
  background: rgba(55, 65, 81, 0.14);
}

.fade-up {
  animation: fade-up 0.4s ease both;
}

.section-slide {
  animation: section-slide 0.4s ease both;
}

.stagger > * {
  animation: fade-up 0.4s ease both;
}

.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 50ms; }
.stagger > *:nth-child(3) { animation-delay: 100ms; }
.stagger > *:nth-child(4) { animation-delay: 150ms; }
.stagger > *:nth-child(5) { animation-delay: 200ms; }
.stagger > *:nth-child(6) { animation-delay: 250ms; }
.stagger > *:nth-child(7) { animation-delay: 300ms; }
.stagger > *:nth-child(8) { animation-delay: 350ms; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes section-slide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 600px) {
  .container {
    max-width: 1100px;
    padding: 0 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
