/* bubblebrain.dev — 시스템 글꼴만 사용 (외부 폰트 라이선스·네트워크 요청 없음) */
:root {
  --bg: #ffffff; --surface: #f6f7fb; --text: #14171f; --muted: #5b6475; --line: #e3e6ee;
  --accent: #4f5bd5; --accent-soft: #eceefc; --warn-bg: #fff4d6; --warn-text: #7a5a00; --code-bg: #eef0f6;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e14; --surface: #161824; --text: #eceef6; --muted: #98a0b5; --line: #262a3b;
    --accent: #8b95ff; --accent-soft: #1f2340; --warn-bg: #3a2f10; --warn-text: #f1cf79; --code-bg: #1b1e2d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 980px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 18px; }
.brand img { border-radius: 7px; }
.bar nav { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--text); }
.bar nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

main { padding-top: 36px; padding-bottom: 64px; min-height: 60vh; }

/* 문서(약관·방침·지원) */
.doc h1 { font-size: 30px; line-height: 1.3; margin: 0 0 18px; letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; margin: 38px 0 10px; padding-top: 6px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 10px 0; }
.doc li { margin: 4px 0; }
.doc li > ul, .doc li > ol { margin: 4px 0; }
.doc blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.doc code { background: var(--code-bg); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
/* 아직 채우지 않은 자리: 눈에 띄게 */
.ph { background: var(--warn-bg); color: var(--warn-text); border-radius: 5px; padding: 0 4px; }

/* 소개 */
.hero { text-align: center; padding: 18px 0 8px; }
.hero .icon { border-radius: 22px; box-shadow: 0 8px 28px rgba(79, 91, 213, .25); }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.25; margin: 20px 0 12px; letter-spacing: -0.03em; }
.lead { font-size: clamp(16px, 2.6vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 20px; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.btn.disabled { background: var(--surface); color: var(--muted); border: 1px solid var(--line); cursor: default; }
.shots { display: flex; gap: 14px; justify-content: center; overflow-x: auto; padding: 28px 4px 8px; scroll-snap-type: x mandatory; }
.shots img { height: auto; width: min(240px, 62vw); flex: none; border-radius: 22px; border: 1px solid var(--line); scroll-snap-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 34px; }
.features.one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.card.app { display: flex; gap: 14px; align-items: center; text-align: left; text-decoration: none; color: var(--text); }
.card.app img { border-radius: 13px; }
.card.app:hover { border-color: var(--accent); }
.brandname { font-size: clamp(34px, 8vw, 56px); margin: 56px 0 8px; letter-spacing: -0.03em; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 36px; font-size: 14px; color: var(--muted); }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); }
@media (max-width: 480px) { .doc h1 { font-size: 26px; } .bar nav { gap: 10px; } }
