:root{--fg:#111;--muted:#555;--line:#ddd;--bg:#fff;--link:#111}
@media (prefers-color-scheme:dark){:root{--fg:#eee;--muted:#aaa;--line:#333;--bg:#141414;--link:#eee}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.wrap{max-width:760px;margin:0 auto;padding:0 16px}
header{border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;gap:14px;padding-top:18px;padding-bottom:18px}
header img{width:44px;height:auto;border-radius:4px;background:#fff}
header a{color:inherit;text-decoration:none}
header .name{font-weight:700;font-size:1.15rem;line-height:1.2}
header .sub{color:var(--muted);font-size:.9rem}
main{padding:32px 0 48px}
h1{font-size:1.7rem;line-height:1.25;margin:0 0 20px}
h2{font-size:1.15rem;margin:32px 0 8px}
h3{font-size:1rem;margin:20px 0 4px}
p,ul{margin:0 0 12px}
a{color:var(--link)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-top:24px}
.card{border:1px solid var(--line);border-radius:6px;padding:16px 18px}
.card h2{margin-top:0}
.hero{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.hero img{width:120px;height:auto;background:#fff;border-radius:6px}
.lead{color:var(--muted);font-size:1.05rem}
footer{border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}
footer .wrap{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;padding-top:18px;padding-bottom:24px}
footer a{color:inherit}
.appbtn{margin-left:auto;border:1px solid var(--line);border-radius:6px;padding:5px 12px;font-size:.85rem;font-weight:600;white-space:nowrap}
.appbtn:hover,.appbtn:focus-visible{border-color:var(--fg)}
.stand{margin-top:32px;color:var(--muted)}
