:root {
  --ink: #1a2421;
  --paper: #f3efe6;
  --moss: #2f5d50;
  --moss-deep: #1e3d35;
  --clay: #c47a4a;
  --mist: rgba(255, 255, 255, 0.55);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 93, 80, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(196, 122, 74, 0.22), transparent 50%),
    linear-gradient(165deg, #e8e2d4 0%, #f3efe6 45%, #dfe8e3 100%);
}

.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 7rem) 1.5rem 2rem;
  animation: rise 0.8s ease-out both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--moss-deep);
  margin: 0 0 1rem;
  line-height: 1.05;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 28rem;
  color: #3d4a45;
  font-size: 1.05rem;
}

.links {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  gap: 0.75rem;
}

.link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--mist);
  border-left: 3px solid var(--moss);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  animation: rise 0.7s ease-out both;
}

.link:nth-child(1) { animation-delay: 0.1s; }
.link:nth-child(2) { animation-delay: 0.18s; }
.link:nth-child(3) { animation-delay: 0.26s; }
.link:nth-child(4) { animation-delay: 0.34s; }

.link:hover,
.link:focus-visible {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--clay);
  outline: none;
}

.label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--moss-deep);
}

.hint {
  font-size: 0.95rem;
  color: #51605a;
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  font-size: 0.85rem;
  color: #6a7872;
  animation: rise 0.9s ease-out 0.4s both;
}

@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;
  }
}
