:root {
  --bg: #faf8ff;
  --surface: #ffffff;
  --ink: #241b38;
  --muted: #6b6285;
  --line: #e7e1f6;
  --lav-1: #efe9ff;
  --lav-2: #cdbdf3;
  --lav-3: #a58ce0;
  --plum: #6e55b8;
  --plum-deep: #4b3590;
  --pink: #ff8fb8;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120e1c;
    --surface: #1c1629;
    --ink: #f1ecff;
    --muted: #b3a9cf;
    --line: #2e2542;
    --lav-1: #241c38;
    --lav-2: #4a3a78;
    --plum: #b9a3f2;
    --plum-deep: #d6c8ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6; word-break: keep-all;
}
a { color: var(--plum); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 상단 */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { display: flex; gap: 18px; font-size: 14px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--ink); }

/* 히어로 */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 520px; z-index: -1;
  background: radial-gradient(closest-side at 30% 40%, var(--lav-2), transparent 70%), radial-gradient(closest-side at 75% 30%, #ffd3e6, transparent 70%);
  opacity: .7; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 30px rgba(110, 85, 184, .28); }
.eyebrow { display: inline-block; margin: 18px 0 10px; padding: 4px 12px; border-radius: 99px; background: var(--lav-1); color: var(--plum); font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.03em; }
h1 .grad { background: linear-gradient(90deg, var(--plum), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--plum), #9b7fe6); color: #fff; box-shadow: 0 10px 24px rgba(110, 85, 184, .3); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.disabled { opacity: .55; pointer-events: none; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.hero .phone { justify-self: center; width: min(320px, 80vw); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(36, 27, 56, .25); }

/* 섹션 */
section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; }
section .sub { color: var(--muted); margin: 0 0 32px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .em { font-size: 26px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.gallery img { flex: 0 0 auto; width: 240px; border-radius: 20px; scroll-snap-align: start; border: 1px solid var(--line); }

.download { background: linear-gradient(135deg, var(--lav-1), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; counter-reset: s; }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.steps { padding: 0; }

.privacy-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; }
.privacy-points li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }

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

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* 문서 페이지 */
.doc { max-width: 760px; padding: 40px 20px 60px; margin: 0 auto; }
.doc h1 { font-size: 32px; }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--lav-1); }

@media (max-width: 800px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .privacy-points { grid-template-columns: 1fr; }
  nav.links { gap: 12px; }
  nav.links a.hide-sm { display: none; }
}
