/* LyricsFlow MVMaker - static content pages (guide / FAQ / blog / legal) */
:root {
  --bg-main: #0a0c10;
  --bg-panel: #12151d;
  --bg-card: #181d28;
  --border-subtle: #232938;
  --accent-cyan: #00f0ff;
  --accent-pink: #ff007f;
  --accent-purple: #9d4edd;
  --text-main: #f0f4f8;
  --text-body: #c9d1e3;
  --text-muted: #8892b0;
  --radius: 10px;
  --font-sans: 'Inter', 'Noto Sans JP', 'Noto Sans TC', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
}

a { color: var(--accent-cyan); text-underline-offset: 3px; }
a:hover { color: #7ff8ff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 21, 29, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 800;
  text-decoration: none;
  font-size: 17px;
  white-space: nowrap;
}
.site-brand .logo {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  font-size: 16px;
}
.site-brand span.mv { color: var(--accent-cyan); }
.site-nav {
  display: flex;
  gap: 4px 14px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-left: auto;
  align-items: center;
}
.site-nav a { color: var(--text-muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text-main); }
.site-nav a.cta {
  color: #0a0c10;
  background: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.site-nav a.cta:hover { background: #7ff8ff; }

/* Main */
main.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }

main.page h1 {
  color: var(--text-main);
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.3;
  margin: 0 0 8px;
}
.page-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }
.lead { font-size: 17px; color: var(--text-main); }
main.page h2 {
  color: var(--text-main);
  font-size: 22px;
  margin: 44px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}
main.page h3 { color: var(--text-main); font-size: 18px; margin: 28px 0 8px; }
main.page p, main.page li { overflow-wrap: anywhere; }
main.page ul, main.page ol { padding-left: 1.4em; }
main.page li + li { margin-top: 4px; }
main.page code, main.page pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
}
main.page code {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}
main.page pre {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow-x: auto;
  line-height: 1.6;
}
main.page pre code { background: none; border: 0; padding: 0; }

.note {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  margin: 20px 0;
}
.note.warn { border-left-color: var(--accent-pink); }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
th { color: var(--text-main); background: var(--bg-panel); white-space: nowrap; }
td.icon { width: 2em; text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--text-body);
}
a.card:hover { border-color: var(--accent-cyan); color: var(--text-body); }
.card .card-title { color: var(--text-main); font-weight: 700; display: block; margin-bottom: 6px; line-height: 1.5; }
.card .card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 0;
}
.faq-item p:first-of-type { margin-top: 0; }

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-cyan), #0070f3);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  margin: 8px 0;
}
.btn-cta:hover { filter: brightness(1.1); }

.cta-box {
  margin-top: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.cta-box p { margin: 0 0 8px; color: var(--text-main); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  font-size: 14px;
}
.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
}
.footer-links, .footer-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text-main); }
.footer-copy { width: 100%; color: var(--text-muted); font-size: 12px; }

@media (max-width: 640px) {
  .site-nav { margin-left: 0; width: 100%; }
  main.page { padding-top: 20px; }
  body { font-size: 15px; }
}
