:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --band: #eef0f7;
  --text: #1d2030;
  --muted: #5b6078;
  --accent: #5a4fcf;
  --accent-ink: #ffffff;
  --line: #dcdfeb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151c;
    --surface: #1d1f29;
    --band: #191b24;
    --text: #e8e9f1;
    --muted: #a3a7bd;
    --accent: #9d94ff;
    --accent-ink: #14151c;
    --line: #2d3040;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Noto Sans KR", sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--accent); }
.hero { padding: 56px 0 40px; }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 8px; font-size: 14px; letter-spacing: .04em; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.35; margin: 0 0 16px; }
.lead { font-size: 17px; color: var(--muted); max-width: 720px; }
.cta { margin: 24px 0 8px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.note { font-size: 13px; color: var(--muted); }
.section { padding: 40px 16px; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 26px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.sub { margin-top: 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.card h3 { color: var(--accent); }
.list { padding-left: 1.2em; color: var(--muted); }
.list li { margin: 6px 0; }
.list strong { color: var(--text); }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--muted); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 4px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; margin-bottom: 14px; }
.small { font-size: 12px; color: var(--muted); margin: 6px 0; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 8px; }
.tool { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--accent); transform: translateY(-2px); }
.tool strong { font-size: 20px; }
.tool span { color: var(--muted); font-size: 15px; flex: 1; }
.tool em { font-style: normal; font-weight: 700; color: var(--accent); }
.links .label { color: var(--muted); font-weight: 700; }
.cards4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.shot { margin: 20px 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #14151c; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.shots { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.shot.narrow img { max-width: 820px; }
