:root {
  --ink: #1d2329;
  --muted: #5b6670;
  --olive: #4b5d3a;
  --olive-d: #36442a;
  --olive-deep: #2a351f;
  --sand: #f4f1ea;
  --sand-d: #e8e2d6;
  --line: #ddd8cc;
  --accent: #b5892e;
  --accent-d: #8e6b1f;
  --paper: #fbfaf6;
  --white: #ffffff;
  --danger: #8a2f1f;
  --todo: #7a3d00;
  --todo-bg: #fff4d6;
  --focus: #2b5aaa;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(29, 35, 41, 0.06);
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--olive-d); }
a:hover { color: var(--olive); }
code, kbd {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--sand);
  padding: 1px 5px;
  border-radius: 4px;
}
pre {
  background: var(--olive-deep);
  color: #e8e2d6;
  padding: 16px 18px;
  border-radius: var(--radius);
  overflow-x: auto;
  line-height: 1.45;
}
pre code { background: none; color: inherit; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--olive-deep);
}
h1 { font-size: 2.5rem; margin: 0 0 0.6em; }
h2 { font-size: 1.75rem; margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 1.2em 0 0.4em; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--olive-d);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

.draft-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 8px 16px;
}
.draft-banner strong { font-weight: 700; }

.todo-callout {
  background: var(--todo-bg);
  border: 1px solid #e6c56a;
  color: var(--todo);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 0 24px;
  font-size: 15px;
}
.todo-callout strong { display: inline; }

header.site {
  background: var(--olive-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: #fff; }
.brand img, .brand svg { width: 32px; height: 32px; display: block; }
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 8px 10px;
  font: 14px/1 var(--font);
  font-weight: 600;
  cursor: pointer;
}
nav.primary { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.primary a {
  color: #e8e2d6;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
nav.primary a:hover, nav.primary a[aria-current="page"] {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
nav.primary a.cta {
  background: #fff;
  color: var(--olive-deep);
  margin-left: 6px;
}
nav.primary a.cta:hover { background: var(--sand); color: var(--olive-deep); }

.hero {
  background: var(--olive-d);
  color: #fff;
  padding: 64px 0 72px;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 42em;
  opacity: 0.95;
  margin: 0 0 1.1em;
}
.hero .byline { opacity: 0.85; margin: 0 0 1.4em; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--olive-deep);
  padding: 11px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #fff;
  cursor: pointer;
}
.btn:hover { background: var(--sand); color: var(--olive-deep); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.btn.alt {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn.alt:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn.primary {
  background: var(--olive-d);
  color: #fff;
  border-color: var(--olive-d);
}
.btn.primary:hover { background: var(--olive-deep); color: #fff; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -36px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.stats div, .card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats div { padding: 16px 18px; }
.stats b { display: block; font-size: 1.55rem; color: var(--olive-d); font-family: var(--serif); }
.stats span { color: var(--muted); font-size: 14px; }

main { padding: 40px 0 64px; }
main.tight { padding-top: 24px; }
section { margin: 48px 0; }
section > h2 { padding-bottom: 8px; border-bottom: 3px solid var(--sand); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 20px 22px 22px; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p { flex: 1; }
.card .meta { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.card .price {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--olive-d);
  margin: 0 0 12px;
}
.audience { list-style: none; padding: 0; margin: 0; }
.audience li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.audience li:last-child { border-bottom: 0; }
.audience strong { color: var(--olive-d); }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  background: #fff;
}
table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
table.data th {
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--sand);
}
table.data td:first-child { font-weight: 600; color: var(--olive-d); white-space: nowrap; }
.hash { font-family: var(--mono); font-size: 12px; word-break: break-all; font-weight: 400; color: var(--ink); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px 4px;
  margin: 0 0 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
}
.notice, .disclaimer-box {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
}
.legal-draft {
  background: var(--todo-bg);
  border: 1px solid #e6c56a;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin: 0 0 24px;
}

footer.site {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  padding: 36px 0 48px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}
footer.site a { color: var(--olive-d); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site h2 { font-size: 0.95rem; color: var(--ink); margin: 0 0 8px; border: 0; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0 0 6px; }
.fine { margin-top: 28px; font-size: 13px; max-width: 70em; }

.prose { max-width: 46em; }
.prose.wide { max-width: 52em; }
.prose h1 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.breadcrumbs a { color: var(--muted); }

form.checkout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 36em;
  box-shadow: var(--shadow);
}
form.checkout label { display: block; font-weight: 600; margin: 14px 0 6px; }
form.checkout input[type="email"],
form.checkout input[type="text"],
form.checkout input[type="number"],
form.checkout select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 16px/1.4 var(--font);
  background: #fff;
}
form.checkout .optin { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-weight: 400; }
form.checkout .optin input { margin-top: 4px; }
.price-box {
  background: var(--sand);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 18px;
}
.price-box .amount { font-family: var(--serif); font-size: 1.8rem; color: var(--olive-d); }

.page-hero {
  background: var(--sand);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lede { margin: 0; max-width: 42em; font-size: 1.1rem; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--olive);
  border-radius: 3px;
  position: absolute;
  left: 0;
  top: 14px;
}

@media (max-width: 860px) {
  .stats, .cards, .cards.three, footer.site .grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .nav-toggle { display: inline-block; }
  nav.primary {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--olive-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  header.site.is-open nav.primary { display: flex; }
  nav.primary a.cta { margin-left: 0; text-align: center; }
}
@media (max-width: 560px) {
  .stats, .cards, .cards.three, footer.site .grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  table.data td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}

/* price options: free or optional thank-you (2026-11-25) */
.support-line { color: var(--olive-d); font-style: italic; margin: 0.4em 0 1em; }
fieldset.pwyc { border: 1px solid var(--line, #ccc); border-radius: 8px; padding: 10px 14px; margin: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
fieldset.pwyc legend { font-weight: 600; padding: 0 6px; }
fieldset.pwyc label { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }

/* Go-live pass, 25 November 2026: hero photo, checkout helpers */
.hero {
  background:
    linear-gradient(90deg, rgba(42, 53, 31, 0.96) 0%, rgba(42, 53, 31, 0.88) 45%, rgba(42, 53, 31, 0.45) 100%),
    url("../img/hero-1600x900.jpg") center right / cover no-repeat,
    var(--olive-d);
  background:
    linear-gradient(90deg, rgba(42, 53, 31, 0.96) 0%, rgba(42, 53, 31, 0.88) 45%, rgba(42, 53, 31, 0.45) 100%),
    image-set(url("../img/hero-1600x900.webp") type("image/webp"), url("../img/hero-1600x900.jpg") type("image/jpeg")) center right / cover no-repeat,
    var(--olive-d);
}
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(42, 53, 31, 0.9) 0%, rgba(42, 53, 31, 0.94) 100%),
      url("../img/hero-960x540.webp") center / cover no-repeat,
      var(--olive-d);
  }
}
.form-help { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.turnstile-placeholder { border: 1px dashed var(--muted); padding: 10px; margin: 12px 0; font-size: 14px; color: var(--muted); }
.cf-turnstile { margin: 12px 0; min-height: 65px; }
form.checkout button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.legal-meta { background: var(--sand); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; margin: 0 0 1.4em; font-size: 14px; color: var(--ink); }
/* Tagline (25 November 2026) */
.hero .tagline { font-family: var(--serif); font-style: italic; color: #e2c27a; font-size: 1.15rem; margin: 0 0 0.6em; letter-spacing: 0.01em; }
.brand-tagline { color: rgba(244, 241, 234, 0.8); font-family: var(--serif); font-style: italic; font-size: 14px; margin-left: 14px; margin-right: auto; white-space: nowrap; }
@media (max-width: 1000px) { .brand-tagline { display: none; } }
.footer-tagline { font-family: var(--serif); font-style: italic; margin-top: -0.3em; }
section.hero { margin: 0; }
section.hero + main { padding-top: 0; }
