:root {
  --bg: #f6efe5;
  --bg-deep: #ead7c2;
  --ink: #18120d;
  --accent: #c96f44;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 111, 68, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.65), transparent 22%),
    radial-gradient(circle at 72% 80%, rgba(201, 111, 68, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.26;
}

.page {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(24, 18, 13, 0.08);
}

h1::after {
  content: "";
  display: block;
  width: min(24vw, 180px);
  height: 4px;
  margin: 1.1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

@media (max-width: 640px) {
  .page {
    padding: 1.5rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }
}
