/* gomchi.kr 공용 스타일. 외부 글꼴을 불러오지 않고 기기 글꼴을 쓴다. */
:root {
  --bg: #ffffff;
  --surface: #f6f5fa;
  --text: #1c1a24;
  --muted: #5d5a6b;
  --line: #e4e2ec;
  --accent: #5b4bb7;
  --accent-text: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131f;
    --surface: #1f1c2d;
    --text: #f1eff8;
    --muted: #b4b0c6;
    --line: #2f2b42;
    --accent: #b9adf5;
    --accent-text: #15131f;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

main {
  padding-top: 36px;
  padding-bottom: 56px;
}

h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
}

.muted {
  color: var(--muted);
}

/* 앱 목록 */
.apps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.app-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.app-card:hover {
  border-color: var(--accent);
}

.app-card img,
.app-head img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.app-card strong {
  display: block;
  font-size: 18px;
}

.app-card span {
  color: var(--muted);
  font-size: 15px;
}

.app-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.app-head img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
}

.app-head h1 {
  margin: 0;
}

.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* 처리방침의 표: 좁은 화면에서는 가로로 밀어 본다. */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

th,
td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

thead th {
  background: var(--surface);
  white-space: nowrap;
}

tbody th {
  width: 30%;
  min-width: 96px;
  background: var(--surface);
  font-weight: 600;
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 4px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  main {
    padding-top: 28px;
  }
}
