:root{--bg:#fdfbfa;--card:#ffffff;--ink:#2a1d1b;--soft:#6f625f;--edge:#e9e1dd;--accent:#8a3b2a;--accent-ink:#fff;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--bg:#150e0d;--card:#1f1716;--ink:#f3ebe8;--soft:#b3a5a1;--edge:#3a2d2a;--accent:#d98a73;--accent-ink:#150e0d}}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:17px/1.65 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;min-height:100dvh;display:flex;flex-direction:column}
main{width:100%;max-width:44rem;margin:0 auto;padding:2rem 16px;flex:1;display:flex;flex-direction:column}
.top{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--edge);padding-bottom:.5rem;font-size:.9rem;color:var(--soft)}
.top b{font-family:"Frank Ruhl Libre","David","Times New Roman",serif;font-size:1.1rem;color:var(--ink)}
.body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:3rem 0}
h1{font-family:"Frank Ruhl Libre","David","Times New Roman",serif;font-size:clamp(2rem,6vw,3rem);line-height:1.1;margin:0 0 1rem;text-wrap:balance}
h2{font-size:1.05rem;margin:2rem 0 .5rem}
p{margin:0 0 1rem;color:var(--soft);max-width:34rem}
.card{background:var(--card);border:1px solid var(--edge);border-radius:12px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.btn{display:inline-block;background:var(--accent);color:var(--accent-ink);text-decoration:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:600;border:0;font:inherit;cursor:pointer}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--edge)}
.row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}
dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;margin:0}
dt{color:var(--soft)}dd{margin:0}
ul.check{list-style:none;padding:0;margin:0}
ul.check li{border-bottom:1px solid var(--edge)}
ul.check li:last-child{border-bottom:0}
ul.check label{display:flex;gap:.75rem;align-items:center;padding:.65rem 0;cursor:pointer}
ul.check input{width:1.15rem;height:1.15rem;accent-color:var(--accent)}
ul.check input:checked+span{text-decoration:line-through;color:var(--soft)}
.bar{height:6px;background:var(--edge);border-radius:3px;overflow:hidden;margin-top:1rem}
.bar i{display:block;height:100%;background:var(--accent);width:0;transition:width .25s}
code{direction:ltr;unicode-bidi:isolate;background:var(--edge);padding:.05rem .4rem;border-radius:4px;font-size:.9em}
footer{border-top:1px solid var(--edge);padding-top:1rem;font-size:.85rem;color:var(--soft)}
a{color:var(--accent)}
