:root {
  --bg: #f7f7fa; --surface: #fff; --text: #1b1b1f; --muted: #5d5d68; --border: #e2e2ea;
  --accent: #3f51b5; --accent-text: #fff; --link: #3346a8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121216; --surface: #1c1c22; --text: #e6e6ea; --muted: #a4a4b0; --border: #2e2e38;
    --accent: #8c9eff; --accent-text: #10122a; --link: #9ab8ff; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6;
  color: var(--text); background: var(--bg); }
a { color: var(--link); }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
header.top { border-bottom: 1px solid var(--border); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
header.top .brand { font-weight: 700; text-decoration: none; color: var(--text); }
header.top nav a { margin-left: 1rem; text-decoration: none; }
main { padding: 2.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .75rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }
.card { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem; text-decoration: none; color: var(--text); }
.card:hover { border-color: var(--accent); }
.card img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.card p { margin: .2rem 0 0; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1fr 15rem; gap: 2rem; align-items: center; }
.hero .icon { width: 72px; height: 72px; border-radius: 16px; }
.shot { width: 100%; border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.badge { display: inline-block; padding: .55rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-text);
  font-weight: 600; text-decoration: none; }
.note { color: var(--muted); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.grid > div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.grid h3 { margin: 0 0 .3rem; font-size: 1rem; }
.grid p { margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--border); padding: 1.5rem 0; color: var(--muted); font-size: .9rem; }
footer a { margin-right: 1rem; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero .shot { max-width: 15rem; margin: 0 auto; display: block; }
  h1 { font-size: 1.6rem; }
}
