:root { --accent: #2563eb; --accent-ink: #ffffff; --bg: #ffffff; --card: #ffffff; --text: #111827; --muted: #4b5563; --line: #e5e7eb; --max: 42rem; --radius: 12px; }
.theme-quest { --accent: #b9861f; --bg: #fbf7ef; --card: #fffdf8; --text: #1f1a12; --muted: #5c5242; --line: #e9dfc9; }
.theme-care  { --accent: #1f6f5f; --bg: #ffffff; --card: #f7faf9; --text: #17201f; --muted: #4f5d5a; --line: #dfe7e4; font-size: 19px; }
.theme-helm  { --accent: #1d4ed8; --bg: #f4f6fb; --card: #ffffff; --text: #0b1220; --muted: #465066; --line: #d9deea; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
section, footer { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
p { margin: 0 0 1rem; }
.subhead { font-size: 1.15rem; color: var(--muted); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); margin-top: 1.5rem; border: 1px solid var(--line); }
.cta { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: .9rem 1.4rem; border-radius: 10px; font-size: 1.05rem; }
.cta:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.refund { margin: .5rem 0 0; font-size: .95rem; color: var(--muted); }
.problem { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-line { font-size: 1.25rem; margin: 0 0 .5rem; }
.feature { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.plans { display: grid; gap: 1rem; }
.plans-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans-2 { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: relative; }
.plan.popular { border-color: var(--accent); }
.badge { position: absolute; top: -.7rem; right: 1rem; background: var(--accent); color: var(--accent-ink); font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }
.price s { color: var(--muted); }
.price strong { display: block; font-size: 1.3rem; }
.total { font-weight: 700; margin: 0; }
.renews, .offer-end, .access { color: var(--muted); font-size: .95rem; }
.plan ul { padding-left: 1.2rem; margin: .75rem 0; }
.plan-link { display: inline-block; margin-top: .5rem; color: var(--accent); font-weight: 600; }
details { border-bottom: 1px solid var(--line); padding: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }
.founder p { max-width: 36rem; }
.sig { font-weight: 700; }
.final { text-align: center; padding-bottom: 4rem; }
.site-footer { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

/* printable handoff sheet */
.template-intro { padding-bottom: 1rem; }
.print-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.cta-print { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 10px; font: inherit; font-weight: 700; padding: .8rem 1.3rem; cursor: pointer; }
.cta-print:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.print-hint { color: var(--muted); font-size: .95rem; }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; border-bottom: 2px solid var(--text); padding-bottom: .5rem; margin-bottom: 1rem; }
.sheet-title { font-size: 1.25rem; margin: 0; }
.sheet-for { color: var(--muted); font-size: .9rem; flex: 1 1 12rem; display: flex; align-items: baseline; gap: .4rem; }
.field { margin-bottom: 1rem; }
.field-label { font-weight: 700; font-size: 1rem; }
.field-hint { color: var(--muted); font-size: .85rem; margin-bottom: .35rem; }
.rule { border-bottom: 1px solid var(--line); height: 1.5rem; }
.rule.short { flex: 1 1 auto; height: 1.1rem; }
.sheet-note { color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.sheet-source { color: var(--muted); font-size: .75rem; margin-top: .25rem; }
.template-back { padding-top: 1rem; }

@media print {
  html, body { background: #fff; color: #000; font-size: 10.5pt; }
  #template-intro, #template-back, .site-footer { display: none; }
  section.sheet { max-width: none; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; page-break-inside: avoid; break-inside: avoid; }
  .sheet-title { font-size: 13pt; }
  .sheet-head { border-bottom: 2px solid #000; }
  .field { margin-bottom: 8pt; }
  .field-label { font-size: 10.5pt; }
  .field-hint { font-size: 8pt; color: #444; }
  .rule { height: 17pt; border-bottom: 1px solid #999; }
  .sheet-note, .sheet-source { color: #444; }
}
@page { size: auto; margin: 12mm; }

/* articles */
.article { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem; }
.article h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: .5rem; }
.byline { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.template-cta { background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.75rem 0; }
.template-cta-line { margin: 0; font-weight: 700; }
.template-cta-line a { color: var(--accent); }
.template-cta-note { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.article-back { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.articles ul { padding-left: 1.2rem; }
.articles li { margin-bottom: .5rem; }

/* waitlist mode: the email form that stands in for the checkout CTA */
.cta-form { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.cta-form input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: .9rem 1rem; border: 2px solid var(--muted); border-radius: 10px; background: var(--bg); color: var(--text); }
.cta-form input:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.cta-form button.cta { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.cta-form button.cta[disabled] { opacity: .6; cursor: default; }
.form-message { margin: .6rem 0 0; font-weight: 700; }
.form-message.bad { color: var(--muted); font-weight: 400; }
.privacy { margin: .5rem 0 0; font-size: .95rem; color: var(--muted); }
