:root {
  --ink: #1a1f1c;
  --paper: #f3efe6;
  --wash: #dfe8e1;
  --accent: #0f6b5c;
  --muted: #5c675f;
}

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

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

body {
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, var(--wash), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, #e8ddd0, transparent 50%),
    var(--paper);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 42rem;
  animation: rise 0.9s ease-out both;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  animation: rise 0.9s ease-out 0.08s both;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  animation: rise 0.9s ease-out 0.16s both;
}

.lede {
  margin: 0 0 2rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  animation: rise 0.9s ease-out 0.24s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  animation: rise 0.9s ease-out 0.32s both;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.25rem;
  border-radius: 0.35rem;
  background: var(--accent);
  color: #f7faf8;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: #0c574b;
  transform: translateY(-1px);
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: var(--ink);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
