/* One stylesheet for every page on the brand site. Large, high-contrast text:
   most readers are older and many read on a phone. */
:root {
  --paper: #f7f3ea;
  --card: #fffdf8;
  --ink: #1f2a26;
  --muted: #55605b;
  --line: #e2dccf;
  --accent: #2f5245;
  --accent-ink: #f7f3ea;
  --accent-soft: #e6ede8;
  --brass: #9a6b2f;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151a18;
    --card: #1c2320;
    --ink: #ece7dc;
    --muted: #a8b0aa;
    --line: #2d3632;
    --accent: #8fbfa9;
    --accent-ink: #151a18;
    --accent-soft: #22302a;
    --brass: #d4a666;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 19px/1.65 "Iowan Old Style", "Charter", "Palatino Linotype", Palatino, Georgia, serif;
}
a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
header.site { padding: 28px 0 0; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink);
  font: 600 20px/1 var(--sans); text-decoration: none;
}
.brand svg { width: 36px; height: 36px; flex: none; }
.eyebrow {
  font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 6.4vw, 54px); line-height: 1.08; font-weight: 600; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.2; font-weight: 600; margin: 0 0 18px; }
h3 { font: 600 18px/1.35 var(--sans); margin: 0 0 6px; }
.lede { font-size: 21px; color: var(--muted); margin: 0 0 26px; }
section { padding: 0 0 64px; }

/* Buttons */
.button {
  display: inline-block; font: 600 19px/1 var(--sans); color: var(--accent-ink);
  background: var(--accent); text-decoration: none; padding: 18px 34px; border-radius: 10px;
}
.button:hover, .button:focus-visible { filter: brightness(1.08); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.reassure { font: 15px/1.5 var(--sans); color: var(--muted); margin: 14px 0 0; }
.price { font: 700 32px/1 var(--sans); margin: 0 0 18px; }

/* Product hero */
.hero { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 64px 0 72px; }
.hero.no-cover { grid-template-columns: 1fr; max-width: 760px; }
.cover { width: 100%; border-radius: 6px; box-shadow: 0 14px 36px rgba(0,0,0,.18); display: block; }

/* Lists and cards */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232f5245' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.ticks.plain li::before { background: var(--line); }
.chapters { list-style: none; padding: 0; margin: 0; counter-reset: ch; display: grid; gap: 12px; }
.chapters li {
  counter-increment: ch; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px 18px 70px; position: relative;
}
.chapters li::before {
  content: counter(ch); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font: 700 16px/34px var(--sans); text-align: center;
}
.chapters p { margin: 0; color: var(--muted); font-size: 17px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 28px; }
.panel.soft { background: var(--accent-soft); border-color: transparent; }
.cta { text-align: center; }
.cta .lede { margin-left: auto; margin-right: auto; max-width: 30em; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font: 600 18px/1.4 var(--sans); padding: 14px 0; list-style-position: outside; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Home page product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none;
}
.product-card img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; display: block; background: var(--line); }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.product-card .more { margin-top: auto; padding-top: 10px; font: 600 16px/1 var(--sans); color: var(--accent); }

/* Legal pages */
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: var(--ink); }
.muted { color: var(--muted); }

footer.site {
  border-top: 1px solid var(--line); padding: 26px 0 44px; margin-top: 8px;
  font: 14px/1.7 var(--sans); color: var(--muted);
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
footer.site a { color: inherit; }
footer.site p { margin: 0; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 52px; }
  .hero .cover { max-width: 240px; margin: 0 auto; }
  .lede { font-size: 19px; }
  .two { grid-template-columns: 1fr; }
  .chapters li { padding-left: 62px; }
  .button { display: block; text-align: center; }
  section { padding-bottom: 48px; }
}
