/* HelloAgain — shared site styles.
   Warm editorial: paper background, deep ink, one clay accent.
   Serif for headlines and long copy; sans for UI, tables, buttons.
   System font stacks only — no external dependencies. */

:root {
  --paper: #FFFBF4;
  --surface: #FFFFFF;
  --surface-warm: #FFF4E8;
  --surface-locked: #F3EDE4;
  --ink: #2C2118;
  --ink-soft: #5C4D3D;
  --muted: #6E5B49;
  --line: #E7DACA;
  --accent: #A84E24;
  --accent-strong: #8F3E1A;
  --accent-soft: #FDEBD9;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 72px; }
.wrap-wide { max-width: 880px; }

/* ---------- Header / nav ---------- */
.site-header { padding: 22px 0 0; }
.site-header-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-size: 26px; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--accent); }
.site-nav { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
}
.site-nav a { color: var(--ink-soft); text-decoration: none; padding: 6px 2px; display: inline-block; min-height: 36px; }
.site-nav a:hover { color: var(--accent-strong); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--accent-strong); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Type ---------- */
h1 {
  font-weight: 400; font-size: clamp(36px, 7.5vw, 54px);
  line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em;
}
h1 em { font-style: italic; color: var(--accent); }
h2 {
  font-weight: 400; font-size: clamp(26px, 5.5vw, 34px);
  line-height: 1.2; margin: 0 0 10px;
}
h3 { font-weight: 400; font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; }
.descriptor { font-size: clamp(21px, 4.5vw, 26px); margin: 0 0 14px; }
.fineprint { font-size: 14px; color: var(--muted); font-family: var(--sans); }
a { color: var(--accent-strong); }
a:hover { color: var(--accent); }

main { padding-top: 36px; }
section { margin: 0 0 54px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 54px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; min-height: 52px; padding: 13px 26px;
  background: var(--accent); color: #FFF8EF;
  border: 0; border-radius: 12px;
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--accent-strong); color: #FFF8EF; }
.btn-secondary {
  display: inline-block; min-height: 44px; padding: 10px 6px;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  color: var(--accent-strong); text-decoration: underline;
}
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--surface-warm); color: var(--ink); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 20px; }

/* ---------- Components ---------- */
.hero { padding: 24px 0 8px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: #7A3512;
  border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; min-height: 36px;
}
.module { border-top: 1px solid var(--line); padding: 18px 0 4px; }
.module h3 { color: var(--ink); }
.module p { color: var(--ink-soft); margin-bottom: 10px; }
.module .prevents { font-style: italic; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 8px 40px; }
@media (min-width: 680px) { .two-col { grid-template-columns: 1fr 1fr; } }

ul.plain, ol.plain { margin: 0 0 16px; padding-left: 22px; }
ul.plain li, ol.plain li { margin-bottom: 8px; }
.contents-list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.contents-list li {
  border-top: 1px solid var(--line); padding: 12px 0;
  color: var(--ink-soft);
}
.contents-list li strong { color: var(--ink); }

img.cover {
  max-width: 100%; height: auto; border: 1px solid var(--line);
  border-radius: 14px; display: block; margin: 0 0 20px;
}

/* Pricing table */
table.pricing {
  width: 100%; border-collapse: collapse;
  font-family: var(--sans); font-size: 15.5px; line-height: 1.5;
}
table.pricing caption { text-align: left; font-family: var(--serif); font-size: 18px; padding-bottom: 10px; }
table.pricing th, table.pricing td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top;
}
table.pricing thead th { background: var(--surface-warm); font-size: 16px; }
table.pricing th[scope="row"] { font-weight: 600; color: var(--ink-soft); width: 18%; }
table.pricing td.highlight { background: var(--surface-warm); }
.price { font-family: var(--serif); font-size: 24px; display: block; }
@media (max-width: 640px) {
  table.pricing, table.pricing thead, table.pricing tbody, table.pricing tr,
  table.pricing th, table.pricing td { display: block; width: 100%; }
  table.pricing thead { position: absolute; left: -9999px; }
  table.pricing tr { border: 1px solid var(--line); margin-bottom: 16px; }
  table.pricing th, table.pricing td { border: 0; border-top: 1px solid var(--line); }
  table.pricing th[scope="row"] { width: 100%; background: var(--surface-warm); }
  table.pricing td::before {
    content: attr(data-tier); display: block; font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted); margin-bottom: 4px;
  }
}

/* FAQ */
dl.faq dt { font-size: 20px; margin: 26px 0 6px; }
dl.faq dd { margin: 0 0 8px; color: var(--ink-soft); }
dl.defs dt { font-size: 20px; margin: 26px 0 6px; }
dl.defs dd { margin: 0; color: var(--ink-soft); }

/* ---------- Footer facts block ---------- */
.site-footer {
  margin-top: 64px; border-top: 1px solid var(--line); padding-top: 24px;
  font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.6;
}
.site-footer p { margin: 0 0 8px; }
.site-footer .footer-brand { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.site-footer nav ul {
  display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none;
  margin: 10px 0; padding: 0; font-weight: 600;
}
.site-footer nav a { color: var(--ink-soft); text-decoration: none; padding: 4px 2px; display: inline-block; }
.site-footer nav a:hover { text-decoration: underline; }

.breadcrumb {
  font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.breadcrumb a { color: var(--ink-soft); }
