/* Legal pages (privacy.html, terms.html, consumer-health-data.html) and billing-return.html: the website's rollout-18
   look (www.css / src/styles.css tokens: warm sand / ivory, warm charcoal in dark, gold, Inter self-hosted, the one
   radius scale, pill buttons) for long reading — a calm column, ink headings, quiet links. Only the look lives here:
   never the legal text. No inline styles (CSP). Bump ?v= in those pages when this file changes. */
@import url('/fonts/fonts.css?v=1');
:root{color-scheme:light dark;--bg:#f4eee6;--fg:#2a241f;--ink:#2a241f;--muted:#675d54;--faint:#6c6157;--card:#fffcf8;--card2:#f4ede4;--line:#ece3d8;--line-2:#ddd1c3;--hairline:rgba(80,55,30,.06);--fill:rgba(90,62,30,.075);--fill-2:rgba(90,62,30,.13);--accent:#eaa50c;--on-accent:#2b1c04;--focus:color-mix(in srgb,#eaa50c 70%,#2a241f);--top:rgba(244,238,230,.84);--shadow-1:0 1px 2px rgba(80,55,30,.06),0 8px 24px rgba(80,55,30,.06)}
@media (prefers-color-scheme:dark){:root{--bg:#151311;--fg:#f4eee6;--ink:#f4eee6;--muted:#bcb1a5;--faint:#a69b8f;--card:#211e1b;--card2:#2b2723;--line:#34302b;--line-2:#46403a;--hairline:rgba(255,240,220,.05);--fill:rgba(255,240,220,.07);--fill-2:rgba(255,240,220,.12);--accent:#f7b928;--focus:#f7b928;--top:rgba(21,19,17,.82);--shadow-1:inset 0 1px 0 rgba(255,255,255,.03)}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--fg);font:400 16px/1.65 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-wrap:break-word}
.legal-top{position:sticky;top:0;z-index:5;background:var(--top);-webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid var(--hairline)}
.legal-brand{display:flex;align-items:center;gap:10px;max-width:760px;margin:0 auto;min-height:64px;padding:0 20px;color:var(--ink);font-weight:700;font-size:18px;letter-spacing:-.03em;text-decoration:none}
.legal-brand img{width:30px;height:30px;border-radius:8px}
main{max-width:760px;margin:0 auto;padding:56px 20px 48px}
h1{font-size:clamp(34px,7vw,48px);font-weight:700;line-height:1.05;letter-spacing:-.045em;margin:0 0 16px;text-wrap:balance}
h2{font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.025em;margin:48px 0 12px;padding-top:28px;border-top:1px solid var(--line)}
h3{font-size:17px;font-weight:650;letter-spacing:-.01em;margin:28px 0 6px}
p,li{color:var(--fg)}
p{margin:0 0 12px}
strong{font-weight:600}
.muted{color:var(--muted);font-size:14px;line-height:1.55}
ul,ol{padding-left:22px;margin:8px 0 16px}
li{margin:6px 0}
li::marker{color:var(--faint)}
a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--line-2);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-color:currentColor}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:8px}
.card{background:var(--card);border-radius:26px;padding:22px 24px 10px;margin-top:28px;box-shadow:0 0 0 1px var(--hairline),var(--shadow-1)}
.card p:first-child{margin-top:0}
/* The way out at the end of a legal page (Jacob, Oct 11: nothing closed the page), then the socials and the owner. */
.legal-end{max-width:760px;margin:0 auto;padding:0 20px max(48px,env(safe-area-inset-bottom))}
.legal-continue{display:flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:17px;text-decoration:none}
.legal-continue:hover{filter:brightness(1.05)}
.legal-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:32px;padding-top:20px;border-top:1px solid var(--line);color:var(--faint);font-size:13px}
.legal-foot p{margin:0;color:var(--faint)}
.legal-social{display:flex;gap:8px}
.legal-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:var(--fill);color:var(--ink);text-decoration:none}
.legal-social a:hover{background:var(--fill-2)}
.legal-social svg{width:20px;height:20px;fill:currentColor}
/* billing-return.html: hands Stripe's return back to the iPhone app. */
.br{max-width:440px;text-align:center;padding-top:96px}
.br-mark{display:block;width:64px;height:64px;margin:0 auto 24px;border-radius:16px}
.br h1{margin-bottom:12px}
.br-open{display:flex;align-items:center;justify-content:center;margin-top:28px;min-height:54px;padding:0 24px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:17px;text-decoration:none}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
