:root {
  --paper: #f7f6f2;
  --ink: #141414;
  --muted: #5c5a55;
  --rule: #d9d6cf;
  --red: #b3141f;
  --field: #ffffff;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--ink); text-underline-offset: 3px; }

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 44px;
}

.mark {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.top .ig {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.lede {
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 32px;
}

.inside {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--rule);
}

.inside li {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.inside .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
}

form { margin: 0; }

.field { margin-bottom: 16px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

label .opt { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 20px;
}

.check input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--ink); }

.check label { font-weight: 400; font-size: 13px; margin: 0; color: var(--muted); }

button {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

button[disabled] { opacity: 0.6; cursor: wait; }

.fine {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.error {
  font-size: 14px;
  color: var(--red);
  margin: 10px 0 0;
  min-height: 1em;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.about {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}

.foot {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.foot a { color: var(--muted); }

/* Playbook / long text */
.doc h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.2;
  margin: 40px 0 12px;
}

.doc h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

.doc p, .doc li { font-size: 17px; }

.doc ul, .doc ol { padding-left: 22px; }

.doc li { margin-bottom: 6px; }

.doc hr { border: 0; border-top: 1px solid var(--rule); margin: 36px 0; }

.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }

.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }

.doc th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 400; }

.callout {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 16px;
  margin: 0 0 32px;
}

.btn-line {
  display: inline-block;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 10px;
}

@media print {
  body { background: #fff; font-size: 12pt; }
  .top .ig, .noprint, .foot { display: none; }
  .wrap { max-width: none; padding: 0; }
  .doc h2 { break-after: avoid; }
}

h2.sub {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 52px 0 10px;
}

.inside + .about { margin-top: 12px; border-top: 0; }

.playbook p.meta { margin-top: -10px; font-size: 15px; color: var(--muted); }
.playbook p.meta em { font-style: normal; font-weight: 500; color: var(--ink); }
.playbook h2 + p { margin-top: 0; }

@media print {
  @page { size: letter; margin: 0.55in 0.6in; }
  body { font-size: 9.6pt; line-height: 1.38; }
  .top { margin-bottom: 14px; }
  .kicker { margin-bottom: 4px; font-size: 8pt; }
  h1 { font-size: 24pt; margin-bottom: 6px; }
  .doc p, .doc li { font-size: 9.6pt; margin: 0 0 5px; }
  .doc h2 { font-size: 14pt; margin: 14px 0 6px; }
  .doc hr { margin: 12px 0; }
  .playbook p.meta { font-size: 8.8pt; margin-top: -3px; margin-bottom: 7px; }
  .doc ol { margin: 0 0 6px; }
  .doc li { margin-bottom: 3px; }
}
