:root {
  color-scheme: light;
  --background: hsl(36 40% 96%);
  --foreground: hsl(20 20% 16%);
  --muted-foreground: hsl(25 12% 38%);
  --walnut: hsl(25 35% 22%);
  --caramel: hsl(28 48% 42%);
  --sand: hsl(36 38% 72%);
  --gradient-brand: linear-gradient(
    135deg,
    hsl(28 48% 42%),
    hsl(25 35% 22%),
    hsl(36 38% 58%)
  );
  font-family: "Roboto", system-ui, sans-serif;
  line-height: 1.5;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 22%, hsl(28 48% 42% / 0.14), transparent 42%),
    radial-gradient(circle at 82% 78%, hsl(25 35% 22% / 0.1), transparent 38%),
    radial-gradient(circle at 50% 100%, hsl(36 38% 72% / 0.45), transparent 55%),
    var(--background);
  color: var(--foreground);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--walnut);
  color: hsl(36 40% 96%);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.landing {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.landing__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 42rem;
  text-align: center;
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: auto) {
  @media (prefers-reduced-motion: no-preference) {
    .landing__panel {
      animation: landing-enter 0.6s ease both;
    }
  }
}

@keyframes landing-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.landing__wordmark {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing__title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.875rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--foreground);
  text-wrap: balance;
}

.landing__subtitle {
  margin: -0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

@media (prefers-reduced-motion: reduce) {
  .landing__panel {
    animation: none;
    animation-timeline: auto;
    opacity: 1;
    transform: none;
  }
}
