:root {
  --bg: #fbfaf8;
  --text: #1c1b19;
  --muted: #6b6862;
  --line: #e4e1dc;
  --accent: #3d5ce0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --text: #ecebe8;
    --muted: #9c9993;
    --line: #2e2d2b;
    --accent: #8fb6dc;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
header { margin-bottom: 40px; }
.brand { font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
h1 { font-size: 30px; line-height: 1.3; margin: 12px 0 8px; }
h2 { font-size: 20px; margin: 40px 0 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); font-size: 14px; }
a { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 64px; color: var(--muted); font-size: 14px; }

/* 첫 페이지 */
:root { --brand1: #3d63f5; --brand2: #6b3ff0; --card: #ffffff; }
@media (prefers-color-scheme: dark) { :root { --card: #1f1f1d; } }
.top { display: flex; justify-content: space-between; align-items: center; }
.lang { font-size: 14px; color: var(--muted); }
.hero { text-align: center; padding: 16px 0 8px; }
.hero h1 { font-size: 34px; margin: 0 0 12px; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 0 auto; max-width: 30em; }
.badge { display: inline-block; margin-top: 20px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2)); color: #fff; font-size: 14px; font-weight: 600; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 36px -16px 0; padding: 4px 16px 16px; }
.shots img { flex: 0 0 auto; width: 220px; height: auto; border-radius: 18px; scroll-snap-align: center;
  box-shadow: 0 6px 20px rgba(40, 40, 90, .18); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px; }
.feature h3 { margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
ul.needs { padding-left: 20px; color: var(--muted); }

/* 지원 */
.contact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 4px; }
details p, details ul { margin: 6px 0 4px; color: var(--muted); }
details li { color: var(--muted); }
code { font-size: 14px; }

/* 넓은 화면 - 휴대폰은 위의 한 줄 배치 그대로.
   720: 작은 노트북(1280x720 을 150% 배율로 쓰면 CSS 폭 ~850), 태블릿 가로
   1024: 스크린샷 여섯 장을 한 줄에 - 이보다 좁으면 장당 120px 아래로 작아져 옆으로 넘기는 게 낫다 */
@media (min-width: 720px) {
  main.wide { max-width: 1080px; }
  main.wide > p, main.wide > ul, main.wide > h2, main.wide > header, main.wide > .contact,
  #en > h1, #en > .contact { max-width: 760px; margin-left: auto; margin-right: auto; }
  .faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .faq-group h2 { margin-top: 32px; }
}
@media (min-width: 1024px) {
  .shots { overflow: visible; margin: 40px 0 8px; padding: 0; gap: 16px; }
  .shots img { width: calc((100% - 5 * 16px) / 6); }
  .features { grid-template-columns: repeat(3, 1fr); }
}
