:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #f0eee9;
  --border: #e3e0d8;
  --text: #1c1b19;
  --muted: #6e6a61;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-soft: #fdebdf;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1d1c1a;
    --surface-2: #262522;
    --border: #34322e;
    --text: #edebe6;
    --muted: #a29e94;
    --accent: #ff7a33;
    --accent-ink: #1b0e06;
    --accent-soft: #3a2417;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
[hidden] { display: none !important; }
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.top { background: var(--surface); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
header.top img { width: 28px; height: 28px; }
header.top .name { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--text); }
header.top nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--text); }
main { padding: 40px 0 56px; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 { font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; max-width: 640px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { display: block; width: 100%; height: auto; margin: 36px 0 0; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgb(0 0 0 / 0.12); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); }
td.c, th.c { text-align: center; }
ol.steps { padding-left: 22px; }
ol.steps li { margin: 6px 0; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }
