/* Static pages (the guide, prices, privacy, terms): no JavaScript, warm paper, readable first.
   The handwriting face comes from art.css's font file; the rest matches app.css. */
@font-face { font-family: "Instrument Serif"; src: url(/fonts/serif.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(/fonts/serif-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Inter; font-weight: 400 600; src: url(/fonts/inter.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Hand; src: url(/fonts/hand.woff2) format("woff2"); font-display: swap; }
:root {
  --paper: #f6efe2; --paper-2: #ece2cf; --ink: #2b211b; --muted: #6e5f52; --line: #dccdb4;
  --berry: #a8323e; --gold: #b8862f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Hand, "Instrument Serif", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
/* Paper grain, drawn once: faint fibres, no image request beyond this file. */
body { background-image: radial-gradient(rgba(120, 90, 60, .05) 1px, transparent 1.2px), radial-gradient(rgba(120, 90, 60, .04) 1px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; }
main { max-width: 680px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-left)) 56px; }
a { color: var(--berry); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }
p, ul, ol { margin: 0 0 16px; }
p, li { text-wrap: pretty; }
li + li { margin-top: 8px; }
b, strong { font-weight: 600; }

/* Header: brand, the three links on wide screens, the primary action. Same shape as the app's. */
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 400 26px/1 var(--hand); color: var(--ink); text-decoration: none; margin-right: auto; }
.topnav { display: none; gap: 4px; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 999px; }
.topnav a:hover { text-decoration: underline; }
@media (min-width: 720px) { .topnav { display: flex; } }
.cta.topcta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.brand i { width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(#f2d38a, #f2d38a) center / 3px 100% no-repeat, linear-gradient(#f2d38a, #f2d38a) center / 100% 3px no-repeat, var(--berry); }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; text-wrap: balance; line-height: 1.08; }
h1 { font-size: clamp(40px, 5vw + 22px, 64px); margin-bottom: 14px; }
h2 { font-size: clamp(28px, 2vw + 20px, 36px); margin: 40px 0 14px; }
main > h2:first-of-type { margin-top: 0; }
.lede { font-size: clamp(18px, .5vw + 16px, 21px); color: var(--muted); }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 999px; background: var(--berry); color: #fbf4e8;
  font-weight: 600; text-decoration: none; box-shadow: 0 8px 22px -12px rgba(120, 30, 40, .7); }
.cta:active { transform: scale(.98); }
ol.ideas { padding-left: 1.6em; }
ol.ideas li::marker { font: 400 1.25em var(--hand); color: var(--berry); }
/* Footer: the sister sites, then the small print. */
.foot { max-width: 680px; margin: 0 auto; padding: 8px max(20px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot h2 { font-size: 24px; margin: 22px 0 8px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 18px; }
.foot li + li { margin-top: 6px; }
.foot a { color: var(--ink); }
.foot .legal { margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* The search guides: sub-headings, comparison tables, the list of other guides.
   A table turns into one block per row on phones, so nothing scrolls sideways. */
h3 { font: 600 18px/1.3 var(--sans); margin: 26px 0 8px; text-wrap: balance; }
.compare { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15.5px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-top: 1px solid var(--line); overflow-wrap: break-word; }
.compare th:last-child, .compare td:last-child { padding-right: 0; }
.compare thead th { border-top: 0; font-weight: 600; }
.compare tbody th { font-weight: 600; }
@media (max-width: 640px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .compare th, .compare td { border: 0; padding: 2px 0; }
  .compare tbody th { font-size: 17px; padding-bottom: 4px; }
  .compare td::before { content: attr(data-label) ": "; font-weight: 600; }
}
.guides { list-style: none; padding: 0; }
.guides li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.guides li:last-child { border-bottom: 1px solid var(--line); }
.guides a { font-weight: 600; }
.small { font-size: 14.5px; color: var(--muted); }
main > h1 ~ h2:first-of-type { margin-top: 40px; }   /* a guide's first section sits below its button, not against it */
