/* Shared style for the static SEO landing pages (scripts/build-landing-pages.mjs).
   Same palette and type as the app (public/index.html). */
:root {
  --bg: #0f0f1a;
  --card: #1a1a2e;
  --card-2: #14142a;
  --border: #2a2a3e;
  --text: #e0e0e0;
  --muted: #9a9ab0;
  --faint: #666;
  --accent: #facc15;
  --green: #4ade80;
  --link: #8888cc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--link); }
.top {
  max-width: 820px; margin: 0 auto; padding: 1rem 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: 0.05em; }
.brand span { color: var(--muted); font-weight: 400; margin-left: 0.3rem; }
.top-cta {
  font-size: 0.85rem; text-decoration: none; color: var(--accent);
  border: 1px solid rgba(250, 204, 21, 0.4); border-radius: 6px; padding: 0.35rem 0.8rem;
  white-space: nowrap;
}
main { max-width: 820px; margin: 0 auto; padding: 0 16px 2rem; }
section { margin-top: 2.5rem; }
.hero { margin-top: 2rem; text-align: center; }
h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 600; line-height: 1.25; }
h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.9rem; color: #fff; }
.lead { color: var(--muted); max-width: 36rem; margin: 1rem auto 1.6rem; font-size: 1.05rem; }
.cta {
  display: inline-block; background: var(--accent); color: #1a1400; font-weight: 600;
  text-decoration: none; border-radius: 8px; padding: 0.8rem 1.5rem; font-size: 1rem;
}
.cta:hover { background: #fde047; }
.fine { color: var(--faint); font-size: 0.82rem; margin-top: 0.7rem; }
.steps { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.steps strong { color: var(--green); font-weight: 600; }
.examples { list-style: none; display: grid; gap: 0.8rem; }
.examples li {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem 1.1rem;
}
.jp { font-size: 1.35rem; color: #fff; }
.kana { color: var(--muted); font-size: 0.95rem; }
.romaji { color: var(--green); font-family: ui-monospace, Consolas, monospace; font-size: 0.88rem; overflow-wrap: anywhere; }
.en { margin-top: 0.3rem; }
.src { color: var(--faint); font-size: 0.8rem; }
.covers { padding-left: 1.3rem; display: grid; gap: 0.35rem; }
details {
  background: var(--card-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.75rem 1rem; margin-bottom: 0.6rem;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 0.5rem; color: var(--muted); }
.bottom-cta { text-align: center; }
footer {
  max-width: 820px; margin: 0 auto; padding: 1.5rem 16px 2.5rem;
  border-top: 1px solid var(--border); color: var(--faint); font-size: 0.82rem; text-align: center;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1rem; margin-bottom: 0.8rem; }
footer a { text-decoration: none; }
