:root {
  --ink: #0d0d0d;
  --pad: #17171a;
  --paper: #f5f2ec;
  --concrete: #97938c;
  --rule: rgba(245, 242, 236, 0.16);
  --rule-strong: rgba(245, 242, 236, 0.34);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label: "Space Mono", ui-monospace, Menlo, monospace;
  --measure: 34rem;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow { max-width: var(--measure); }

a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

a:hover,
a:focus-visible { border-bottom-color: var(--paper); }

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

.label {
  font-family: var(--label);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete);
  margin: 0 0 1.25rem;
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.35rem, 9vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
}

h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1.25rem; max-width: var(--measure); }

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

.lede {
  font-size: 1.1875rem;
  color: var(--concrete);
  line-height: 1.6;
}

.masthead {
  padding: 2rem 0 0;
}

.masthead .label { margin: 0; }

.masthead a { border: none; }

section { padding: 4.5rem 0; border-top: 1px solid var(--rule); }

section:first-of-type { border-top: none; }

.hero { padding: 3rem 0 4.5rem; }

.hero h1 { margin-bottom: 1.75rem; }

.card-figure {
  margin: 3rem 0 0;
  padding: 0;
}

.card-figure svg { display: block; width: 100%; height: auto; }

.offer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 0;
  margin: 0 0 2rem;
}

.offer:last-child { margin-bottom: 0; }

.offer .label { margin-bottom: 0.75rem; }

.offer p { margin-bottom: 0; color: var(--concrete); }

.offer h3 { color: var(--paper); }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.stat-row li { margin: 0; }

.stat-num {
  font-family: var(--display);
  font-size: 2.75rem;
  line-height: 1;
  display: block;
}

.stat-lab {
  font-family: var(--label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  display: block;
  margin-top: 0.5rem;
}

.reading-list { margin: 0; padding: 0; list-style: none; }

.reading-list li {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
}

.reading-list li:last-child { border-bottom: 1px solid var(--rule); }

.reading-list a { border: none; display: block; }

.reading-list a:hover h3,
.reading-list a:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }

.reading-list p { color: var(--concrete); margin: 0.25rem 0 0; }

form { margin: 0; max-width: var(--measure); }

.field { margin: 0 0 1.5rem; }

label {
  display: block;
  font-family: var(--label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  margin: 0 0 0.5rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--pad);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  padding: 0.75rem 0.875rem;
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--paper);
}

textarea { min-height: 9rem; resize: vertical; }

button {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: 0;
  font-family: var(--label);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

button:hover,
button:focus-visible { background: transparent; color: var(--paper); }

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

.hp { position: absolute; left: -9999px; }

article h2 { margin-top: 3.5rem; }

article h2:first-of-type { margin-top: 0; }

blockquote {
  margin: 2.5rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--rule-strong);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--paper);
}

blockquote p { margin: 0; max-width: none; }

strong { font-weight: 700; }

footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 0 4rem;
  color: var(--concrete);
}

footer p { font-size: 0.9375rem; }

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.foot-row .label { margin: 0; }

.backlink {
  font-family: var(--label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 10;
}

@media (max-width: 30rem) {
  .stat-row { gap: 1.75rem 2.25rem; }
  .stat-num { font-size: 2.25rem; }
  section { padding: 3.5rem 0; }
}

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