:root {
  color-scheme: light;
  --parchment: #F4ECD8;
  --ink: #33271B;
  --muted: #5E4D3A;
  --rust: #9A3B1B;
  --rust-deep: #7E2F13;
  --rule: rgba(51, 39, 27, 0.14);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--parchment);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.hero {
  max-width: 42rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 3.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
}

.lede {
  margin: 1.85rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  line-height: 1.62;
  color: var(--muted);
}

.lede em {
  font-style: italic;
  color: var(--ink);
}

.cta {
  margin: 2.4rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.62em 1.3em;
  background-color: var(--rust);
  color: var(--parchment);
  font-size: 1.18rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.button:hover { background-color: var(--rust-deep); }

.button svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

.site-footer {
  flex-shrink: 0;
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.98rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

.site-footer a:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

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