:root {
  --bg: #ffffff;
  --soft: #f4f6f9;
  --ink: #16191f;
  --muted: #5f6673;
  --line: #e4e7ec;
  --blue: #1f6fe5;
  --blue-soft: #e8f0fd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --soft: #1a1d23;
    --ink: #f2f4f7;
    --muted: #a3aab6;
    --line: #2b2f37;
    --blue: #5b9bf5;
    --blue-soft: #1c2a40;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
}
a { color: var(--blue); }

.bar {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.bar-link { color: var(--muted); text-decoration: none; font-size: 15px; }

.hero { max-width: 960px; margin: 0 auto; padding: 56px 20px 64px; text-align: center; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.cta {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

h2 { font-size: 24px; line-height: 1.35; margin: 0 0 20px; letter-spacing: -0.01em; }

.band { background: var(--soft); padding: 48px 20px; }
.band > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.features li { background: var(--bg); border-radius: 14px; padding: 18px; }
.features b { display: block; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }

.next { max-width: 960px; margin: 0 auto; padding: 56px 20px; }
.tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.next-list { padding-left: 20px; margin: 0 0 32px; color: var(--muted); }
.next-list li { margin: 6px 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots figure { margin: 0; text-align: center; }
/* 캡처 이미지에 흰 여백이 있어 폰 테두리 모양대로 잘라낸다 (어두운 화면에서 흰 판이 보이지 않게) */
.shots img { width: 100%; height: auto; display: block; clip-path: inset(1.35% 2.9% round 13.6% / 6.6%); }
.shots figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.note { margin: 20px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.doc { max-width: 680px; margin: 0 auto; padding: 32px 20px 56px; }
.doc h1 { font-size: 32px; margin: 0 0 28px; }
.doc section { padding: 24px 0; border-top: 1px solid var(--line); }
.doc h2 { font-size: 20px; margin-bottom: 12px; }
.doc h3 { font-size: 16px; margin: 20px 0 4px; }
.doc p { margin: 0 0 8px; color: var(--muted); }
.doc p b { color: var(--ink); }
.mail { font-size: 18px; font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 14px;
}
footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 640px) {
  .hero { padding: 32px 20px 44px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}

/* 약관·방침 페이지: 목록, 표, 한국어/영어 이동 */
.doc ul, .doc ol { margin: 0 0 8px; padding-left: 22px; color: var(--muted); }
.doc li { margin: 4px 0; }
.doc li b, .doc td b { color: var(--ink); }
.doc li ul { margin: 4px 0 0; }
.lang-nav { margin: 0 0 20px; font-size: 15px; }
.doc article + article { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--line); }
.doc section.first { border-top: 0; padding-top: 0; }
.doc article { scroll-margin-top: 16px; }
.table-wrap { margin: 8px 0 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.doc th { background: var(--soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.doc td { color: var(--muted); }
.doc td:first-child { color: var(--ink); }
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; margin-bottom: 10px; background: var(--soft); }
  .doc td { border: 0; padding: 6px 0; }
  .doc td + td { border-top: 1px dashed var(--line); }
  .doc td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 600; opacity: 0.85; }
  .doc td:first-child::before, .doc td:not([data-label])::before { display: none; }
  .doc td:first-child { font-weight: 600; }
}
