:root{--bg:#faf5ec;--card:#fff;--text:#3a2c22;--muted:#5e4f42;--rust:#b5502f;--on-rust:#fff;--line:#eadfce;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--bg:#1e1713;--card:#2a211b;--text:#f1e6d6;--muted:#cdbdaa;--rust:#e0805c;--on-rust:#1e1713;--line:#3b2f26}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:1.0625rem/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.top{max-width:46rem;margin:0 auto;padding:1rem 1.25rem}
.brand{display:inline-flex;align-items:center;gap:.6rem;font:700 1.3rem Georgia,serif;color:var(--text);text-decoration:none}
.brand img{border-radius:8px}
main{max-width:46rem;margin:0 auto;padding:0 1.25rem 3rem}
h1{font:700 2.1rem/1.2 Georgia,serif;margin:.5rem 0}
h2{font:700 1.4rem/1.3 Georgia,serif;margin:2.2rem 0 .8rem}
h3{font-size:1.1rem;margin:0 0 .4rem}
.lead{color:var(--text);font-size:1.1rem}
.toc{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:1.2rem 0}
.toc a{display:block;padding:.45rem .8rem;border:1px solid var(--line);border-radius:999px;color:var(--rust);text-decoration:underline;text-underline-offset:.18em;font-size:1rem}
.qa{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1rem 1.2rem;margin:.8rem 0}
.qa p{margin:0}
a{color:var(--rust)}
.cta{background:var(--card);border:2px solid var(--rust);border-radius:16px;padding:1.2rem 1.4rem;margin:2.5rem 0}
.cta h2{margin-top:0}
.btn{display:inline-block;background:var(--rust);color:var(--on-rust);padding:.7rem 1.4rem;border-radius:12px;font-weight:700;text-decoration:none}
.small{color:var(--muted);font-size:1rem}
footer{max-width:46rem;margin:0 auto;padding:1rem 1.25rem 2rem;color:var(--muted);font-size:1rem}
main ul:not(.toc){padding-left:1.3rem}
main ul:not(.toc) li{margin:.45rem 0}
section>p{margin:.7rem 0}
main .more ul{list-style:none;padding:0}
main .more li{margin:.5rem 0}
.more a{font-weight:600}
main ol{padding-left:1.5rem}
main ol li{margin:.45rem 0}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1rem 0;background:var(--card);border:1px solid var(--line);border-radius:14px}
.table-wrap:focus-visible{outline:2px solid var(--rust);outline-offset:2px}
table{border-collapse:collapse;width:100%;font-size:.95rem;line-height:1.45}
caption{caption-side:top;text-align:left;padding:.8rem 1rem .4rem;font-weight:700}
th,td{min-width:7.5rem;padding:.6rem .8rem;text-align:left;vertical-align:top;border-top:1px solid var(--line)}
thead td{background:var(--bg)}
thead th{background:var(--bg);font-size:.9rem}
tbody th{font-weight:600}
.byline{margin-bottom:0}
/* On a phone each table row becomes its own block, every cell under its column's name, so nothing scrolls sideways. */
@media (max-width:640px){
  table,thead,tbody,tr,th,td,caption{display:block}
  th,td{min-width:0}
  thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  tbody tr{border-top:1px solid var(--line);padding:.4rem 0}
  tbody th,tbody td{border-top:0;padding:.3rem 1rem}
  tbody th{font-size:1.05rem}
  td[data-label]::before{content:attr(data-label) ": ";font-weight:700}
}
/* iPhone and iPad: follow the Larger Text setting. Only on touch screens, since a Mac's system body size is about 13px. */
@supports (font:-apple-system-body){@media (hover:none) and (pointer:coarse){html{font:-apple-system-body}}}
