:root {
  --bg: #090909;
  --paper: #f3efe6;
  --muted: #9c9488;
  --line: rgba(243, 239, 230, 0.16);
  --accent: #d6b48a;
}

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

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

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(214, 180, 138, 0.16), transparent 60%),
    var(--bg);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", "DejaVu Serif", Georgia, serif;
  line-height: 1.5;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: "Avenir Next", "Segoe UI", "DejaVu Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.top,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
  font-family: "Avenir Next", "Segoe UI", "DejaVu Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.top {
  padding-top: 1.4rem;
}

.mark {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 3rem 0 2.5rem;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "Avenir Next", "Segoe UI", "DejaVu Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.lede {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", "DejaVu Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

footer {
  padding-bottom: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 640px) {
  .top,
  footer,
  main {
    width: min(1080px, calc(100% - 1.5rem));
  }

  h1 {
    max-width: 12ch;
  }

  footer {
    gap: 1rem;
  }
}
