/* Livras — calm, large-type site for older readers and their families */
:root{
  --bg:#f3f6f8; --surface:#ffffff; --ink:#132430; --muted:#4a5d6a; --line:#d5dee4;
  --accent:#1f6f8b; --accent-ink:#ffffff; --warm:#c47a1c; --note:#fff4e0;
  --display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body:"Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root{
  --bg:#0f1a21; --surface:#16242d; --ink:#e6eef2; --muted:#a3b4be; --line:#2a3a44;
  --accent:#5fb3d1; --accent-ink:#06202b; --warm:#e9a64a; --note:#2a2214; color-scheme:dark}}
*{box-sizing:border-box}
html{font-size:112.5%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);line-height:1.6}
a{color:var(--accent)}
a:focus-visible{outline:3px solid var(--warm);outline-offset:2px}
.wrap{max-width:46rem;margin:0 auto;padding-left:max(18px, env(safe-area-inset-left, 0px));padding-right:max(18px, env(safe-area-inset-right, 0px))}
header{border-bottom:1px solid var(--line);background:var(--surface)}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:14px}
.logo{font-family:var(--display);font-weight:800;font-size:1.6rem;letter-spacing:-.02em;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:10px}
.logo i{width:14px;height:14px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent)}
nav{display:flex;gap:18px;flex-wrap:wrap;font-size:.95rem}
main .wrap{padding-block:40px 56px;display:flex;flex-direction:column;gap:40px}
h1,h2,h3{font-family:var(--display);line-height:1.15;text-wrap:balance;margin:0}
h1{font-size:clamp(2.2rem, 6vw, 3.2rem);letter-spacing:-.02em}
h2{font-size:1.5rem}
h3{font-size:1.15rem}
p{margin:0}
.lead{font-size:1.2rem;color:var(--muted);max-width:36rem}
.hero{display:flex;flex-direction:column;gap:18px}
.badge{align-self:flex-start;font-weight:700;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:var(--warm);border:2px solid var(--warm);border-radius:999px;padding:4px 14px}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.steps li{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px}
.steps b{font-family:var(--display);font-size:1.4rem;width:2.2rem;height:2.2rem;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink)}
.steps div{display:flex;flex-direction:column;gap:4px;min-width:0}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:24px}
.cols section{display:flex;flex-direction:column;gap:8px}
.note{background:var(--note);border-left:5px solid var(--warm);border-radius:6px;padding:16px 18px;font-weight:700}
.doc{display:flex;flex-direction:column;gap:14px}
.doc h2{margin-top:18px}
.doc ul{margin:0;padding-left:1.3rem;display:flex;flex-direction:column;gap:6px}
.meta{color:var(--muted);font-size:.95rem}
footer{border-top:1px solid var(--line);background:var(--surface)}
footer .wrap{padding-block:24px;font-size:.95rem;color:var(--muted);display:flex;flex-direction:column;gap:4px}
footer strong{color:var(--ink)}
