:root {
  color-scheme: dark;
  --background: #100e0c;
  --foreground: #eee8e0;
  --muted: #9c9287;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: min(820px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0 72px;
  text-align: center;
}

.mark {
  width: clamp(84px, 9vw, 112px);
  height: auto;
  margin-bottom: clamp(38px, 6vh, 58px);
}

h1 {
  max-width: 790px;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: clamp(30px, 4.5vh, 46px) 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 820px);
    padding-block: 48px 56px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.11;
  }
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
