@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/CrimsonText-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/CrimsonText-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/CrimsonText-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/CrimsonText-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1710;
  --muted: #5a5146;
  --paper: #f6f0e4;
  --card: #fffaf1;
  --rule: #d8cebc;
  --accent: #7a2e1f;
  --accent-dark: #5c1f15;
  --ok: #2c5a3c;
  --warn: #8a5a12;
  --max: 44rem;
  --wide: 68rem;
}

* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Crimson Text", Georgia, serif;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { width: min(var(--wide), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
nav a[aria-current="page"], nav a:hover { color: var(--ink); }
.hero { padding: 2.6rem 0 1.5rem; }
.hero h1 {
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.2rem; max-width: 38rem; }
.us-only {
  display: inline-block;
  border: 1px solid var(--rule);
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.disclosure {
  border-left: 3px solid var(--accent);
  padding: 0.7rem 1rem;
  background: #f1e6d4;
  margin: 1rem 0 1.4rem;
  hyphens: none;
  -webkit-hyphens: none;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}
.plan {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.plan .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.plan .price { font-family: "PT Serif", Georgia, serif; font-size: 1.85rem; font-weight: 700; }
.plan .price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan p { margin: 0.2rem 0 0.7rem; color: var(--muted); flex: 1; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--accent-dark); }
.btn.secondary { background: transparent; color: var(--accent) !important; border: 1px solid var(--accent); }
.btn.secondary:hover { background: #f1e6d4; }
section { padding: 1.6rem 0; }
section h2 {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.15rem 1.2rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form label, .field { display: block; margin: 0.6rem 0 0.25rem; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
input[type="email"], input[type="text"], select, textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--rule);
  background: #fff;
}
.note { color: var(--muted); font-size: 0.95rem; }
.story-body { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.story-body h1 { font-family: "PT Serif", Georgia, serif; font-size: 2.1rem; margin-bottom: 0.3rem; }
.story-body .subtitle { font-style: italic; color: var(--muted); margin-bottom: 1rem; }
.story-body p { margin: 0 0 1rem; }
.story-body h2 { margin-top: 1.8rem; }
footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2rem;
}
footer.site nav { margin-bottom: 0.8rem; }
.placeholder-banner {
  background: #efe4c8;
  border-bottom: 1px solid var(--rule);
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--warn);
  text-align: center;
}
#kit-signup, #cadence-preference { margin-top: 0.6rem; }
.toast { margin-top: 0.6rem; color: var(--ok); }
ul.plain { padding-left: 1.2rem; }
.check { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1rem 0; }
.check input { margin-top: 0.35rem; }
@media (max-width: 800px) {
  .plans, .grid-2 { grid-template-columns: 1fr; }
  html { font-size: 17px; }
}
button.plan {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
button.plan.is-selected,
.plan.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.can-spam-address {
  border: 1px dashed var(--warn);
  padding: 0.6rem 0.75rem;
  background: #f8efd4;
  color: var(--ink);
}
#cadence-c-vote[hidden], #checkout-c-block[hidden] { display: none; }
a.btn.is-disabled,
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: auto;
  cursor: not-allowed;
}
#kindle-confirm-wrap[hidden],
#checkout-gift-terms[hidden] { display: none; }
