/* 법적 문서 페이지(privacy·terms·refund·delete-account) 공용 스타일.
   index.html의 토큰(night/moon/mist/line, Fraunces)을 그대로 쓴다. */
:root {
  --night: #131c2e;
  --moon: #ede6d6;
  --mist: #97a3bc;
  --line: #2a3852;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--night);
  color: var(--moon);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.7;
  padding: 0 1.5rem;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--mist);
}
.top .brand {
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--moon);
  text-decoration: none;
}
h1 {
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.meta {
  color: var(--mist);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.lang-switch {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.notice {
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  color: var(--mist);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
}
p, li { font-size: 1rem; }
p { margin-bottom: 0.9rem; }
ul, ol { padding-left: 1.4rem; margin-bottom: 0.9rem; }
li { margin-bottom: 0.35rem; }
li > ul { margin: 0.35rem 0 0.2rem; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 1.2rem;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.6rem 0.6rem 0;
  border-top: 1px solid var(--line);
}
th { color: var(--mist); font-weight: 400; }
tr:first-child th, tr:first-child td { border-top: none; }
.ko { word-break: keep-all; }
section[lang="ko"] h2:first-of-type { margin-top: 0; }
.divider {
  margin: 4rem 0 3rem;
  border: 0;
  border-top: 2px solid var(--line);
}
a {
  color: var(--moon);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: var(--moon); }
a:focus-visible {
  outline: 2px solid var(--moon);
  outline-offset: 4px;
  border-radius: 2px;
}
footer {
  max-width: 40rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--mist);
  font-size: 0.85rem;
  text-align: center;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
@media (max-width: 34rem) {
  table, thead, tbody, tr, th, td { display: block; }
  tr { border-top: 1px solid var(--line); padding: 0.6rem 0; }
  tr:first-child { border-top: none; }
  th, td { border-top: none; padding: 0.15rem 0; }
}
