/* Shared styles for the info pages: support, my story, terms, privacy. */
:root{
  --bg:#f4f3ef; --paper:#ffffff; --ink:#1d1c19; --muted:#6c6a62; --line:#dcd9cf; --accent:#3d5cb8;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){ --bg:#1c1b18; --paper:#25241f; --ink:#ece9de; --muted:#a29f94; --line:#3a3832; --accent:#7f9cf0; }
}
:root[data-theme="dark"]{ --bg:#1c1b18; --paper:#25241f; --ink:#ece9de; --muted:#a29f94; --line:#3a3832; --accent:#7f9cf0; }
*,*::before,*::after{box-sizing:border-box}
body{margin:0; background:var(--bg); color:var(--ink); font:16px/1.65 "Jost","Inter",system-ui,sans-serif}
a{color:var(--accent)}
.site-head{display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:14px 16px; background:var(--paper); border-bottom:1px solid var(--line)}
.site-head .theme-btn{justify-self:end}
.site-head .brand{display:flex; align-items:center; gap:10px; color:inherit; text-decoration:none; font-weight:600; font-size:24px}
.site-head nav{display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap; font-size:16px}
.site-head nav a[aria-current="page"]{text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px}
@media (max-width:640px){
  .site-head{grid-template-columns:1fr auto; row-gap:6px}
  .site-head nav{grid-column:1 / -1; grid-row:2; gap:6px 14px; font-size:15px}
}
.site-head nav a{text-decoration:none; font-weight:500}
.site-head nav a:hover{text-decoration:underline}
main{max-width:760px; margin:0 auto; padding:32px 16px 56px}
h1{font-size:2rem; line-height:1.2; margin:0 0 6px}
h2{font-size:1.25rem; margin:32px 0 8px}
.updated{color:var(--muted); margin:0 0 24px}
.card{background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:16px 18px; margin:16px 0}
.card dl{display:grid; grid-template-columns:max-content 1fr; gap:6px 16px; margin:0}
.card dt{color:var(--muted)}
.card dd{margin:0}
mark.todo{background:#f2c94c; color:#1d1c19; padding:0 4px; border-radius:3px; font-weight:600}
.site-foot{border-top:1px solid var(--line); padding:20px 16px; text-align:center; font-size:14px; color:var(--muted)}
.site-foot a{margin:0 8px}
@media (max-width:560px){ .card dl{grid-template-columns:1fr} .card dt{margin-top:6px} }
.kofi{display:inline-block; padding:10px 18px; border-radius:8px; background:#29abe0; color:#fff; font-weight:600; text-decoration:none}
.kofi:hover{background:#1f93c2}
.theme-btn{font:inherit; font-size:17px; line-height:1; padding:6px 10px; border:1px solid var(--line); border-radius:6px; background:var(--bg); color:var(--ink); cursor:pointer}
/* name + tagline next to the logo */
.site-head .brand-text{display:flex; flex-direction:column; line-height:1.1}
.site-head .tagline{font-size:13px; font-weight:400; font-style:italic; color:var(--muted, #777); margin-top:3px}

/* beating red heart next to Support */
.support-link{display:inline-flex; align-items:center; gap:6px}
.beat{display:inline-block; color:#e0245e; font-size:1.05em; line-height:1; animation:beat 1.2s ease-in-out infinite}
@keyframes beat{0%,40%,100%{transform:scale(1)} 10%{transform:scale(1.28)} 20%{transform:scale(1.05)} 30%{transform:scale(1.22)}}
@media (prefers-reduced-motion:reduce){.beat{animation:none}}
.cost-total{font-size:1.1rem; padding:12px 16px; background:var(--paper); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:8px}

/* ============================================================================
   Calm look (approved 2026-10-07): the same quiet header as the app, plain words, and a
   ☰ menu on tablets and phones (theme.js opens it). TV: a little bigger.
   ============================================================================ */
:root{--hover:#efede7; --faint:#a19e94}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){--hover:#2d2c27; --faint:#7b786f} }
:root[data-theme="dark"]{--hover:#2d2c27; --faint:#7b786f}
.site-head{position:sticky; top:0; z-index:50; display:flex; grid-template-columns:none; align-items:center; gap:16px; height:56px; padding:0 14px}
.site-head .brand{font-size:18px; gap:10px}
.site-head .brand img{width:30px; height:30px}
.site-head .brand-text{flex-direction:row; align-items:baseline; gap:10px; line-height:1}
.site-head .tagline{font-size:12px; margin:0}
.site-head nav{margin:0 auto; gap:2px; font-size:15px; flex-wrap:nowrap}
.site-head nav a{display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:8px; color:var(--muted); font-weight:500; text-decoration:none}
.site-head nav a:hover{background:var(--hover); color:var(--ink); text-decoration:none}
.site-head nav a[aria-current="page"]{background:var(--hover); color:var(--ink); text-decoration:none}
.site-head nav .beat{display:inline-flex; color:#d6336c}
.site-head .theme-btn{border-color:transparent; background:transparent; color:var(--muted); width:36px; height:36px; padding:0; border-radius:9px; font-size:16px}
.site-head .theme-btn:hover{background:var(--hover); color:var(--ink)}
.head-menu{display:none; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:9px; background:transparent; color:var(--muted); cursor:pointer}
.head-menu:hover{background:var(--hover); color:var(--ink)}
.head-menu:focus-visible,.site-head a:focus-visible,.site-head .theme-btn:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
@media (min-width:1700px){
  body{font-size:18px}
  .site-head{height:64px; padding:0 24px}
  .site-head nav{font-size:17px}
}
@media (max-width:1100px){
  .head-menu{display:inline-grid}
  .site-head{gap:8px}
  .site-head .tagline{display:none}
  .site-head nav{display:none}
  .site-head .theme-btn{margin-left:auto}
  body.nav-open .site-head nav{display:flex; flex-direction:column; align-items:stretch; position:absolute; top:52px; left:8px; width:min(280px,calc(100vw - 16px));
    padding:6px; background:var(--paper); border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,.2)}
  body.nav-open .site-head nav a{padding:10px 12px}
}
@media (max-width:640px){
  .site-head{grid-template-columns:none; height:52px; padding:0 8px}
  .site-head .brand{font-size:17px}
}
main{padding-block:40px 64px}
h1{font-weight:600; letter-spacing:.005em; text-wrap:balance}
.card{border-radius:12px}
.site-foot a{color:var(--muted)}
