:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --paper-light: #fffdf8;
  --ink: #2b211a;
  --muted: #7c7161;
  --line: rgba(43, 33, 26, 0.12);
  --accent: #c3552f;
  --accent-soft: rgba(195, 85, 47, 0.1);
  --gold: #e0965a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(220, 232, 236, 0.82), transparent 32rem),
    linear-gradient(180deg, #f2e9ce 0, var(--paper) 19rem);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: min(100% - 2rem, 42rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 4.5rem) 0 2rem;
  display: flex;
  flex-direction: column;
}

.mark {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  margin-bottom: clamp(4rem, 13vh, 8rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 11vw, 4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.035em;
  color: #3c2d1f;
  text-shadow: 0 1px 0 #fff, 0 -1px 1px rgba(43, 33, 26, 0.38);
}

.mark::after {
  content: "";
  width: 4rem;
  height: 2px;
  margin-top: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

main {
  max-width: 35rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.12rem);
  line-height: 1.62;
}

.note {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--paper-light) 84%, transparent);
  box-shadow: 0 0.5rem 2rem rgba(43, 33, 26, 0.045);
  color: var(--muted);
  line-height: 1.55;
}

.note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

a {
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

footer {
  margin-top: auto;
  padding-top: 4rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: reveal 420ms ease-out both;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(0.5rem);
    }
  }
}
