@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f1eb;
  --paper-deep: #e6e1d6;
  --ink: #161616;
  --muted: #3e3e38;
  --line: #d5d0c4;
  --red: #9d2c2c;
  --red-dark: #7c2222;
  --cover: #121212;
  --cream: #f3f1eb;
  --cream-dim: #cfcabe;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--red);
}

:focus {
  outline: none;
}

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

::selection {
  background: var(--red);
  color: #fff;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.cover {
  background: var(--cover);
  color: var(--cream);
  padding: 1.25rem 0 2.75rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-bottom: 2.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand span {
  font-size: 0.98rem;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
  flex: none;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream-dim);
}

.nav-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.cover-grid {
  display: grid;
  gap: 2rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--cream-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker-mark {
  width: 1.6rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

h1 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.15rem, 12vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: italic;
  font-weight: 600;
  padding-right: 0.08em;
}

.subtitle {
  margin: 0;
  max-width: 28rem;
  color: var(--cream-dim);
  font-size: 1.2rem;
  line-height: 1.45;
}

.signup {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 2px;
}

.card-title,
.closing h2 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}

.card-title::before,
.closing h2::before {
  content: none;
}

.closing h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  max-width: 11em;
}

.card-lede,
.closing-copy p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.field {
  margin-bottom: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opt {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

input[type="email"],
input[type="text"] {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  padding: 0.82rem 0.85rem;
}

input::placeholder {
  color: #8a867c;
}

button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--red-dark);
}

button[type="submit"]:disabled {
  cursor: progress;
  opacity: 0.72;
}

.privacy,
.noscript {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.status {
  margin: 0;
}

.status:not(:empty) {
  margin-top: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.status.ok {
  color: #1d4a32;
  font-weight: 600;
}

.status.err {
  color: var(--red-dark);
  font-weight: 600;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.turnstile-slot:empty {
  display: none;
}

.turnstile-slot:not(:empty) {
  margin: 0.2rem 0 0.9rem;
}

.sheet {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.sheet + .sheet {
  padding-top: 0;
}

.narrow {
  width: min(42rem, calc(100% - 2.5rem));
}

h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

.statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pull {
  padding-top: 0.5rem;
}

blockquote {
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--red);
}

blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.cite {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prose {
  margin: 0;
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}

.parts,
.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
}

.parts li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.parts li:last-child {
  border-bottom: 1px solid var(--line);
}

.parts li span:first-child {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.chapters {
  display: grid;
  gap: 0;
}

.chapters li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.chapters li:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .chapters li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

.author {
  display: grid;
  gap: 1.25rem;
}

.author-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.author-link {
  margin: 0.7rem 0 0;
  font-weight: 600;
}

.author-link a,
.bio a,
.colophon a,
.result-card a {
  font-weight: 600;
}

.bio p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.6;
}

.bio p:last-child {
  margin-bottom: 0;
}

cite {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.closing {
  background: var(--cover);
  color: var(--cream);
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 0;
}

.closing-copy p {
  color: var(--cream-dim);
  font-size: 1.15rem;
  max-width: 28rem;
}

.closing-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
}

.colophon {
  border-top: 1px solid rgba(243, 241, 235, 0.16);
  padding: 1rem 0 calc(1.1rem + env(safe-area-inset-bottom));
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.colophon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}

.colophon p {
  margin: 0;
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.result-card {
  width: min(36rem, calc(100% - 2.5rem));
}

.result-card h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--ink);
}

.result-card .kicker,
.missing .kicker {
  color: var(--red);
}

.missing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.missing h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
}

.missing p {
  font-size: 1.15rem;
}

@media (min-width: 800px) {
  .cover {
    padding: 1.5rem 0 4rem;
  }

  .nav {
    padding-bottom: 4.5rem;
  }

  h1 {
    font-size: clamp(4.4rem, 7vw, 6.5rem);
  }

  .cover-grid,
  .closing-grid,
  .author {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 22.5rem);
    gap: 3.5rem;
    align-items: start;
  }

  .signup {
    padding: 1.6rem 1.4rem 1.3rem;
  }

  .chapters {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .chapters li:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 800px) {
  .chapters li:nth-child(-n + 2) {
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body::before,
  .nav-links,
  .signup,
  .closing,
  .skip {
    display: none;
  }

  .cover,
  .closing {
    background: #fff;
    color: #000;
  }

  .subtitle,
  .kicker {
    color: #222;
  }
}
