:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #11110f;
  --quiet: #77746e;
}

/* Self-hosted so the wordmark renders identically off-macOS (no Times fallback). */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-400.woff2") format("woff2");
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
}

.wordmark {
  text-align: center;
  transform: translateY(-2vh);
}

h1,
p {
  margin: 0;
}

h1 {
  font-family: "Libre Baskerville", "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-feature-settings: "liga" 0, "clig" 0;
  font-weight: 400;
  font-variant-ligatures: none;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

h1 span {
  display: inline-block;
  margin-left: 0.09em;
}

p {
  margin-top: 1.75rem;
  color: var(--quiet);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

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

  h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  p {
    margin-top: 1.4rem;
  }
}
