:root {
  --bg: #F6F4EF; --surface: #FFFFFF; --ink: #1B1B1F; --muted: #7C7C86; --line: #E7E3DA;
  --accent: #5B4FD6; --accent-soft: #ECEAFB;
  /* 제목·앱 이름·추천 아이템: 명조 / 버튼·안내·설명: 고딕 / 숫자: 고정폭 */
  --serif: "Gowun Batang", "Noto Serif KR", serif;
  --sans: "IBM Plex Sans KR", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111214; --surface: #1B1C20; --ink: #F3F2EE; --muted: #9A9AA5; --line: #2A2B31; --accent: #A79BFF; --accent-soft: #24223A; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .brand, .steps b, td:not(:first-child), .doc p, .doc li { font-family: var(--serif); }
td:first-child, .steps li::before { font-family: var(--mono); }
.doc td { font-family: var(--sans); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header.nav { display: flex; align-items: center; gap: 10px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav a.link { font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.nav a.link:hover { color: var(--ink); background: var(--line); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.15; letter-spacing: -0.02em; margin: 14px 0 18px; font-weight: 700; }
h1 span { display: block; font-weight: 400; color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hero-shot { justify-self: center; width: min(320px, 78vw); border-radius: 36px; box-shadow: 0 30px 70px rgba(0,0,0,.18); display: block; }

section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 36px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: currentColor; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14.5px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 24px 20px; margin: 0 -24px; scroll-snap-type: x mandatory; }
.shots img { width: 236px; flex: none; border-radius: 24px; border: 1px solid var(--line); scroll-snap-align: center; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; color: var(--muted); font-weight: 600; background: color-mix(in srgb, var(--line) 40%, transparent); }
.table-wrap { overflow-x: auto; border-radius: 18px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 2px; }

.final { text-align: center; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sp { margin-right: auto; }

/* 문서형 페이지(개인정보처리방침) */
.doc { max-width: 720px; padding: 32px 0 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); }
.doc h2 { font-size: 21px; margin-top: 40px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.doc .meta { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 28px 0 56px; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .nav a.link.hide-s { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
