:root {
  --bg: #f5efe6;
  --bg-accent: #ece3d4;
  --ink: #2b2620;
  --ink-soft: #6f665a;
  --eyebrow: #a8875c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1712;
    --bg-accent: #241f18;
    --ink: #f2ece1;
    --ink-soft: #b0a693;
    --eyebrow: #c9a86f;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 50% -10%, var(--bg-accent), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero__inner {
  text-align: center;
  max-width: 40rem;
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--eyebrow);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__welcome {
  margin: 1.5rem auto 0;
  max-width: 30rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer {
  padding: 1.5rem;
  text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer p { margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  .hero__inner { animation: none; }
}
