:root {
  --bg: #0a0e0d;
  --panel: #111715;
  --panel2: #161e1b;
  --line: #1f2925;
  --text: #e8efec;
  --dim: #9ab0a8;
  --faint: #5b6f67;
  --accent: #18d99a;
  --accent-dim: #0e7a58;
  --warn: #e8c258;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: baseline; gap: 12px; }
.logo { font-size: 18px; font-weight: 800; letter-spacing: 2px; }
.logo .accent { color: var(--accent); }
.tagline { font-size: 11px; color: var(--faint); letter-spacing: 1px; }

.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 {
  font-size: 34px; font-weight: 800; letter-spacing: 1px; line-height: 1.45;
}
.hero h1 .accent { color: var(--accent); text-shadow: 0 0 28px rgba(24, 217, 154, .25); }
.hero p.lead { margin-top: 18px; color: var(--dim); font-size: 15px; }
.store-badge {
  display: inline-block; margin-top: 32px; padding: 13px 28px;
  border-radius: var(--radius); background: var(--accent); color: #06281c;
  font-weight: 800; font-size: 14px; letter-spacing: 1px; text-decoration: none;
  box-shadow: 0 4px 22px rgba(24, 217, 154, .35);
}
.store-badge.disabled { background: var(--panel2); color: var(--faint); box-shadow: none; border: 1px solid var(--line); }

section { padding: 44px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--accent);
  margin-bottom: 26px;
}

.screens {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}
.screen { margin: 0; text-align: center; }
.screen img {
  width: 100%; max-width: 280px; height: auto;
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 60px rgba(24, 217, 154, .06);
  display: block; margin: 0 auto;
}
.screen figcaption {
  margin-top: 12px; font-size: 12px; color: var(--dim); letter-spacing: .5px;
}

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px;
}
.feature h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.feature h3 .icon { color: var(--accent); margin-right: 6px; }
.feature p { font-size: 12.5px; color: var(--dim); }

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel2); border: 1px solid var(--accent-dim); color: var(--accent);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.step h3 { font-size: 14px; font-weight: 700; }
.step p { font-size: 12.5px; color: var(--dim); }
.step .kbd {
  font-size: 11px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--dim); background: var(--panel); white-space: nowrap;
}

.faq dt { font-size: 14px; font-weight: 700; margin-top: 22px; }
.faq dt::before { content: "Q. "; color: var(--accent); }
.faq dd { font-size: 12.5px; color: var(--dim); margin-top: 6px; }

.support-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; font-size: 13px; color: var(--dim);
}
.support-box a { color: var(--accent); }

footer.site {
  border-top: 1px solid var(--line); padding: 30px 0 50px;
  font-size: 11px; color: var(--faint);
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer.site a { color: var(--dim); text-decoration: none; }
footer.site a:hover { color: var(--accent); }

/* Language toggle */
.lang-ja { display: none; }
body.ja-mode .lang-en { display: none; }
body.ja-mode .lang-ja { display: inline; }

.lang-toggle {
  margin-left: auto;
  display: flex;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel2);
  overflow: hidden;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn.active { color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--dim); }

/* privacy.html */
.doc h1 { font-size: 22px; font-weight: 800; padding: 48px 0 8px; }
.doc .updated { font-size: 11px; color: var(--faint); margin-bottom: 24px; }
.doc h2 { margin-top: 36px; margin-bottom: 12px; }
.doc p, .doc li { font-size: 13px; color: var(--dim); }
.doc ul { padding-left: 20px; margin-top: 8px; }
.doc strong { color: var(--text); }
