:root {
  --paper: #f6f1e7;
  --ink: #231e19;
  --muted: #6f655b;
  --line: #ddd3c4;
  --link: #8d3b2e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.75rem 5rem;
}

.copy {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  text-align: left;
}

h1 {
  max-width: 52rem;
  margin: 12vh auto 0;
  padding: 0 1.5rem;
  font-size: clamp(4.5rem, 8vw, 8.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.sub {
  margin: 0.85rem auto 0;
  max-width: 52rem;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h2 {
  margin: 2.75rem 0 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2:first-child {
  margin-top: 0;
}

p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  /* Long words that hit the end of a line break with a hyphen. Needs lang="en" on the page; Safari still wants the prefix. */
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* The links sit below the ruled block, indented to line up with the text inside it (its padding plus the 1px rule). */
.links {
  margin-top: 3rem;
  padding-left: calc(1.25rem + 1px);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: left;
}

.links a {
  margin-right: 1.15rem;
}

a {
  color: var(--link);
}
