:root {
  --bg: #ffffff;
  --fg: #111114;
  --muted: #6e6e76;
  --line: #e6e6ea;
  --card: #f6f6f8;
  --accent: #111114;
  --accent-fg: #ffffff;
  --maxw: 960px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e11;
    --fg: #f2f2f5;
    --muted: #9a9aa4;
    --line: #26262c;
    --card: #17171c;
    --accent: #f2f2f5;
    --accent-fg: #0e0e11;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; letter-spacing: 0.06em; text-decoration: none; font-size: 18px; }
nav.site a { text-decoration: none; color: var(--muted); margin-left: 20px; font-size: 14px; }
nav.site a:hover { color: var(--fg); }

.hero { padding: 88px 0 64px; }
.hero h1 { font-size: 40px; line-height: 1.3; letter-spacing: 0.01em; font-weight: 700; }
.hero p.lead { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 40em; }
.hero p.sub-en { margin-top: 8px; color: var(--muted); font-size: 14px; }

section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 24px; margin-bottom: 24px; }
section h3 { font-size: 18px; margin: 24px 0 8px; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; text-decoration: none; display: block;
}
.card .name { font-weight: 700; font-size: 18px; }
.card .plat { color: var(--muted); font-size: 13px; margin-top: 2px; }
.card p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.card .badge {
  display: inline-block; margin-top: 14px; font-size: 12px;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; color: var(--muted);
}
.card .badge.live { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-fg);
  text-decoration: none; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.shots { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; margin-top: 32px; }
.shots img { border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }

ul.plain { list-style: none; }
ul.plain li { padding-left: 1.4em; position: relative; margin-bottom: 8px; }
ul.plain li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }

ol.steps { padding-left: 1.4em; }
ol.steps li { margin-bottom: 10px; }

.note { color: var(--muted); font-size: 14px; }
.en { color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 48px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--fg); }
