:root {
  --paper: #f3eee4;
  --ink: #1c1914;
  --muted: #6b6458;
  --rule: #9a7044;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem 3rem;
}

.monogram {
  width: 3rem;
  height: 3rem;
  margin: 0 0 2.25rem;
  border: 1px solid var(--ink);
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 6.25rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.rule {
  width: 3.25rem;
  height: 1px;
  margin: 1.6rem 0 1.35rem;
  background: var(--rule);
  border: 0;
}

.lede {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

footer {
  padding: 0 1.5rem 1.75rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  main {
    padding-top: 3.5rem;
  }

  .monogram {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
  }
}

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