/* Thesisaurus: Ink & Paper.
   Paper, ink, one green. Anton for display, IBM Plex Mono for everything else.
   No rounded corners, no gradients, no glows. Red is for danger only. */

:root {
  --paper: #F3F0E8;
  --ink: #111111;
  --green: #1E7A4F;
  --red: #C8323C;
  --muted: #5A564C;
  --hair: rgba(17, 17, 17, 0.2);
  --max: 1120px;
  --pad: 32px;
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 500;
  line-height: 1.7;
}

a { color: inherit; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.display {
  margin: 0;
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.heading-label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; margin: 0; }
.accent { color: var(--green); }
.muted { color: var(--muted); }
.rule { border-top: 1px solid var(--ink); padding-top: 24px; }

/* Header */
.site-header {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 14px; font-weight: 600; letter-spacing: 0.3em; text-decoration: none; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav a[aria-current="page"], .nav a.cta { text-decoration: underline; text-underline-offset: 5px; }

/* Home hero */
.hero {
  padding-top: 96px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { margin-top: 20px; font-size: clamp(56px, 7vw, 104px); line-height: 0.98; }
.lede { max-width: 520px; margin: 28px 0 0; font-size: 15px; }
.hero-art { flex: 0 1 220px; }
.hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
}

/* Signup form */
.signup { margin-top: 36px; max-width: 520px; }
.signup label { display: block; margin: 0 0 8px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.signup input::placeholder { color: var(--muted); }
.btn {
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.btn:hover { background: var(--green); border-color: var(--green); }
.signup .note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.signup .status { margin: 12px 0 0; font-size: 14px; font-weight: 600; }

/* Sections */
.section { padding-bottom: 96px; }
.section .rule { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.empty-note { margin: 20px 0 0; max-width: 560px; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 32px; }
.steps .n { font-size: 13px; font-weight: 600; color: var(--green); }
.steps .t { margin-top: 8px; font-size: 16px; font-weight: 600; }
.steps p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* Lists archive */
.page-head { padding-top: 72px; }
.page-head h1 { margin-top: 16px; font-size: clamp(48px, 6vw, 80px); line-height: 1; }
.archive { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.archive-main { flex: 1 1 560px; min-width: 0; border-top: 1px solid var(--ink); }
.empty { padding: 22px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}
.row .date { flex: 0 0 120px; font-size: 13px; color: var(--muted); }
.row .what { flex: 1 1 280px; }
.row .what b { display: block; font-size: 17px; font-weight: 600; }
.row .what span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.row .go { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; }
.aside { flex: 0 1 340px; min-width: 260px; border: 1px solid var(--ink); padding: 28px; }
.aside p { margin: 12px 0 20px; font-size: 15px; }
.aside .signup { margin-top: 0; max-width: none; }
.aside .signup-row { flex-direction: column; }
.aside .signup input[type="email"] { flex: none; width: 100%; }
.aside .btn { width: 100%; }

/* Issue and plain text pages */
.article { max-width: 760px; margin: 0 auto; padding: 64px var(--pad) 96px; }
.article h1 { margin-top: 16px; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; }
.article .intro { margin: 24px 0 0; font-size: 17px; }
.article h2 {
  margin: 56px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.article p { margin: 16px 0 0; font-size: 16px; }
.article ul { margin: 16px 0 0; padding-left: 20px; font-size: 16px; }
.article .small { font-size: 14px; color: var(--muted); }
.article .legal { margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--muted); }
.article .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-underline-offset: 5px;
}
.article .video {
  display: block;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--ink);
  text-decoration: none;
}
.article .video .t { margin-top: 6px; font-size: 18px; font-weight: 600; }
.article .video .go { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; }
.table-scroll { margin-top: 12px; overflow-x: auto; }
table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
th {
  padding: 10px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
td { padding: 12px 0; border-bottom: 1px solid var(--hair); }
td:first-child { font-weight: 600; }

/* Disclaimer */
.warn { color: var(--red); }

/* Footer */
.site-footer { padding-bottom: 40px; }
.site-footer .rule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.site-footer .mark { font-weight: 600; letter-spacing: 0.3em; color: var(--ink); }
.site-footer .right { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.site-footer .right a { min-height: 44px; display: inline-flex; align-items: center; }
