/* Shared storefront style. Readers are 60+: 21 px body, nothing under 20 px, contrast well above WCAG AA, big tap targets. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/AtkinsonHyperlegibleNext-400.woff2") format("woff2"); }
/* Plain digits (10/18/2026, reader panel): Atkinson Hyperlegible Next draws only a slashed zero ("60" read as "6Ø", a
   typo to older readers) and has no feature to switch it off. The ten digits come from Instrument Sans instead (OFL,
   fonts/InstrumentSans-OFL.txt, the file the video engine uses for the same fix), scaled to Atkinson's figure height
   (668 / 720 units). The family goes first in every stack that names Atkinson; its unicode range is the digits only. */
@font-face { font-family: "Plain Digits"; font-weight: 400 700; font-display: swap; unicode-range: U+0030-0039; size-adjust: 92.8%; src: url("/assets/fonts/InstrumentSans-wght-latin.woff2") format("woff2"); }

:root { --ink: #1E2A32; --muted: #46505A; --paper: #FBF8F1; --rule: #D9CFBC; --accent: #1F4E79; --focus: #B5532E; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Plain Digits", "Atkinson Hyperlegible Next", Verdana, sans-serif; font-size: 21px; line-height: 1.55; }

.site-header, main, .site-footer { max-width: 820px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.site-header { padding-top: 22px; }
.brand { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 26px; color: var(--ink); text-decoration: none; }
main { padding-top: 8px; padding-bottom: 56px; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: 42px; margin: 18px 0 16px; }
h2 { font-size: 30px; margin: 44px 0 12px; border-top: 3px solid var(--ink); padding-top: 18px; }
h3 { font-size: 24px; margin: 28px 0 8px; }
.card h2 { border: 0; padding: 0; margin-top: 4px; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
li { margin-bottom: 10px; }

.kicker { margin: 24px 0 0; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: 20px; color: var(--accent); }
.lead { font-size: 24px; }
.meta, .hint { color: var(--muted); font-size: 20px; }
.card { background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 22px 24px; margin: 32px 0; }

.button { display: inline-block; min-height: 64px; padding: 16px 30px; border: 0; border-radius: 10px; background: var(--accent); color: #fff;
  font: 700 24px/1.3 "Plain Digits", "Atkinson Hyperlegible Next", Verdana, sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.button.wide { display: block; width: 100%; text-align: center; margin-top: 26px; }
/* The first-screen call to action under a page's lead: the button, then one short hint line right under it. */
.cta { margin: 26px 0 8px; }
.cta + .hint { margin-top: 0; }
[id] { scroll-margin-top: 16px; }

.preview { display: block; width: 100%; max-width: 440px; height: auto; margin: 24px 0 8px; background: #fff; border: 2px solid var(--rule); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }

form label { display: block; font-weight: 700; margin: 22px 0 8px; }
input[type=email], select { width: 100%; min-height: 60px; padding: 10px 14px; font: inherit; font-size: 22px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 8px; }
.check { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; }
.check input { flex: none; width: 32px; height: 32px; margin: 4px 0 0; accent-color: var(--accent); }
.check label { margin: 0; font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { border-top: 2px solid var(--rule); padding-top: 18px; padding-bottom: 48px; color: var(--muted); font-size: 20px; }
.site-footer nav a { font-weight: 700; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 12px; top: 12px; padding: 8px 12px; background: #fff; }
mark.todo { background: #FFF4D6; outline: 2px dashed #B08A1E; padding: 0 4px; }

@media (max-width: 560px) {
  body { font-size: 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .lead { font-size: 22px; }
  .card { padding: 18px 16px; }
  .cta .button { display: block; text-align: center; text-wrap: balance; }
}

/* Sales page and orders: purchase cards, prices, the optional add-on box, product images. */
.offers { display: grid; gap: 28px; margin: 32px 0; }
.offer h3 { margin-top: 4px; }
.price { font: 600 40px/1.1 "Fraunces", Georgia, serif; margin: 6px 0 14px; }
.bump { background: #FFF8E6; border: 2px dashed var(--ink); border-radius: 10px; padding: 16px; }
.button.secondary { background: #fff; color: var(--accent); border: 3px solid var(--accent); }
figure { margin: 28px 0; }
figure img { display: block; max-width: 100%; height: auto; background: #fff; }
figcaption { color: var(--muted); font-size: 20px; margin-top: 8px; }
.samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.samples figure { margin: 0; }
.samples img { border: 2px solid var(--rule); }
.contents li { margin-bottom: 8px; }
