:root {
  --ink: #24304f;
  --berry: #9d3159;
  --marigold: #f2b84b;
  --paper: #fff8ee;
  --sky: #8ecae6;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--ink);
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.photo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(36, 48, 79, 0.96) 0%, rgba(36, 48, 79, 0.82) 42%, rgba(36, 48, 79, 0.16) 100%), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=85');
  background-position: center;
  background-size: cover;
}

.welcome {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  min-height: 100svh;
  padding: clamp(28px, 5vw, 72px);
}

.wordmark {
  width: fit-content;
  color: var(--paper);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
  text-decoration: none;
}

.wordmark::after {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0 0.08rem 0.4rem;
  border-radius: 50%;
  background: var(--marigold);
  content: '';
}

.copy {
  max-width: 610px;
  margin: auto 0;
  padding-block: 48px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--marigold);
  font-size: 0.94rem;
  font-weight: 700;
}

h1 {
  max-width: 570px;
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3.35rem, 8vw, 6.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.intro {
  max-width: 38rem;
  margin: 26px 0 32px;
  color: rgb(255 248 238 / 88%);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.55;
}

.sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--marigold);
  box-shadow: 0 10px 24px rgb(0 0 0 / 20%);
  font-weight: 700;
  text-decoration: none;
}

.sign-in:hover { background: #ffd270; }

.sign-in:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.help {
  max-width: 30rem;
  margin: 0;
  color: rgb(255 248 238 / 78%);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .photo {
    background-image: linear-gradient(180deg, rgba(36, 48, 79, 0.96) 0%, rgba(36, 48, 79, 0.8) 50%, rgba(36, 48, 79, 0.3) 100%), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=85');
    background-position: 58% center;
  }

  .welcome { min-height: 100svh; }
  .copy { padding-block: 32px; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.6rem); }
  .sign-in { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
