/* 공기코 홈페이지(소개·설명서·개인정보처리방침) — 앱과 같은 배색·글꼴 */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500 600; font-display: swap; src: url("/fonts/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700 900; font-display: swap; src: url("/fonts/Pretendard-ExtraBold.woff2") format("woff2"); }
:root {
  --bg: #F2F4EF; --surface: #FFFFFF; --ink: #1E2B23; --muted: #4F5C55; --line: #D6DCD2; --strong-line: #1E2B23;
  --green: #A8D08D; --yellow: #F2D96B; --red: #EE929B; --hatch: #DDE3D8; --on-zone: #1E2B23; --on-ink: #F2F4EF;
}
@media (prefers-color-scheme: dark) { :root { --bg: #12161D; --surface: #1C222C; --ink: #E6EAF0; --muted: #9AA4B2; --line: #2A3240; --strong-line: #5A6576;
  --green: #7FB069; --yellow: #D9BE4E; --red: #D9737E; --hatch: #2A3240; --on-zone: #10140F; --on-ink: #12161D; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
header.site { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .tagline { font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; margin-left: 2px; padding-top: 3px; }
.brand .wm { display: inline-block; height: 24px; aspect-ratio: 2720 / 1000; background: currentColor; -webkit-mask: url("/wordmark.svg") no-repeat center / contain; mask: url("/wordmark.svg") no-repeat center / contain; }
nav.site { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.site a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); }
nav.site a:hover, nav.site a.on { background: var(--surface); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 800; text-decoration: none; font-size: 1.02rem; border: 2px solid var(--ink); }
.btn.fill { background: var(--ink); color: var(--on-ink); }
.btn:focus-visible, nav.site a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: 1.6rem; margin: 0 0 12px; }
h3 { font-size: 1.12rem; margin: 0 0 6px; }
.muted { color: var(--muted); }
section { padding: 48px 0; border-top: 1px solid var(--line); }
footer.site { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
footer.site a { margin-right: 14px; }
/* 문서(설명서·방침) */
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 32px; }
.doc h1 { font-size: 2rem; margin: 8px 0 4px; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 10px; padding-top: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .95rem; background: var(--surface); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid var(--line); }
.doc th { font-weight: 700; background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.doc .tbl { overflow-x: auto; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 8px; }
.toc a { text-decoration: none; font-size: .88rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.note { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 640px) {
  header.site .wrap { height: auto; flex-wrap: wrap; gap: 6px; padding-top: 10px; padding-bottom: 6px; }
  nav.site { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  nav.site a { white-space: nowrap; padding: 6px 7px; font-size: .85rem; }
  nav.site { scrollbar-width: none; gap: 0; }
}
.small { font-size: .85rem; }
