/* Shared look for the plain pages (privacy, terms, support): the landing page's tokens, header and footer, plus a reading column. Keep the tokens in step with index.html. */
:root {
  --paper: #f2f3ee; --card: #fbfbf8; --sunk: #e7e9e2; --ink: #161a16; --on-ink: #f2f3ee;
  --muted: #565c54; --rule: #dfe1d9; --border: #c9ccc1;
  --marker: #ffdc3d; --marker-ink: #161a16; --highlight: #fff0a8;
  --deck: #161a16; --deck-sunk: #2a2f29; --on-deck: #ecede6; --on-deck-muted: #a6ab9f;
  --serif: ui-serif, "New York", "Newsreader", "Iowan Old Style", Georgia, serif;
  --ui: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #121411; --card: #1a1d19; --sunk: #262a24; --ink: #ecede6; --on-ink: #121411;
  --muted: #a6ab9f; --rule: #2a2e28; --border: #4a5046; --highlight: #3d3714;
  --deck: #22261f; --deck-sunk: #30352d;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #121411; --card: #1a1d19; --sunk: #262a24; --ink: #ecede6; --on-ink: #121411;
  --muted: #a6ab9f; --rule: #2a2e28; --border: #4a5046; --highlight: #3d3714;
  --deck: #22261f; --deck-sunk: #30352d;
  color-scheme: dark }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 32em; }
.mk { background: var(--marker); color: var(--marker-ink); border-radius: 4px; padding: 0 .12em; }

/* nav */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.glyph { width: 34px; height: 34px; border-radius: 10px; background: var(--marker); color: var(--marker-ink); display: grid; place-items: center; flex: none; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 15px; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) { .top nav .hide-s { display: none; } }
.store { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a.store:hover { background: var(--marker); color: var(--marker-ink); text-decoration: none; }

/* reading column */
main { flex: 1; }
.doc { max-width: 44em; padding-block: 48px 96px; display: grid; gap: 20px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
.doc .meta { font-size: 15px; color: var(--muted); }
.doc h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.15; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 20px; line-height: 1.25; margin-top: 8px; }
.doc ul, .doc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.doc li::marker { color: var(--muted); }
.doc a { text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc a:hover { background: var(--highlight); }
.summary { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 20px 22px; display: grid; gap: 10px; }
.summary ul { gap: 6px; }
.contact { background: var(--deck); color: var(--on-deck); border-radius: 24px; padding: 24px; display: grid; gap: 8px; }
.contact .eyebrow { color: var(--on-deck-muted); }
.contact a { font-family: var(--serif); font-size: clamp(22px, 5vw, 28px); font-weight: 700; color: var(--on-deck); }
.contact a:hover { background: none; color: var(--marker); }
.contact p { color: var(--on-deck-muted); font-size: 15px; }
.faq { display: grid; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); font-weight: 700; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-top: 10px; }

/* footer */
footer { background: var(--deck); color: var(--on-deck-muted); }
footer .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--on-deck); text-decoration: none; font-weight: 700; }
footer a:hover { text-decoration: underline; }
footer a[aria-current="page"] { color: var(--marker); }
