/* 집냥 정적 사이트 — 값은 apps/mobile/src/design/tokens.ts 와 같다. 인주(--accent)는 로고에만 쓴다. */
:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1e1c1a;
  --text-secondary: #66615c;
  --line: #d9d5cf;
  --link: #2e3a40;
  --accent: #b4382a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151413;
    --surface: #201e1c;
    --text: #f2efeb;
    --text-secondary: #a39d96;
    --line: #3a3733;
    --link: #f2efeb;
    --accent: #f0725f;
  }
}
* {
  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', 'Noto Sans KR', 'Malgun Gothic',
    system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 20px;
}
header.site {
  border-bottom: 1px solid var(--line);
  padding: 16px 0 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 15px;
}
nav a[aria-current='page'] {
  font-weight: 700;
  text-decoration: none;
}
main {
  padding: 28px 0 40px;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 36px 0 8px;
}
h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}
.meta,
.lead-note {
  color: var(--text-secondary);
  font-size: 15px;
}
.lead {
  font-size: 19px;
  margin: 12px 0 20px;
}
ul.lines {
  margin: 0;
  padding-left: 1.2em;
}
ul.lines li {
  margin: 6px 0;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
}
.panel > :first-child {
  margin-top: 0;
}
.panel > :last-child {
  margin-bottom: 0;
}
ol.steps {
  padding-left: 1.4em;
}
ol.steps li {
  margin: 6px 0;
}
footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--text-secondary);
}
footer.site dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 14px;
}
footer.site dt {
  font-weight: 600;
}
footer.site dd {
  margin: 0;
}
footer.site a {
  color: var(--text-secondary);
}
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 24px;
  }
  footer.site dl {
    grid-template-columns: 1fr;
  }
  footer.site dd {
    margin-bottom: 6px;
  }
}
