:root {
  --bg: #ffffff;
  --bg-alt: #f3f5fa;
  --text: #141a2b;
  --muted: #5a6478;
  --line: #e1e5ee;
  --brand: #2b3fd1;
  --brand-ink: #ffffff;
  --brand-soft: #e8ebfc;
  --deep: #0f1533;
  --deep-text: #eef0fb;
  --deep-muted: #aab1d6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1220;
    --bg-alt: #151a2c;
    --text: #e9ecf5;
    --muted: #a2aac0;
    --line: #262d44;
    --brand: #7d8cff;
    --brand-ink: #0b0f1d;
    --brand-soft: #1f2645;
    --deep: #1a2045;
    --deep-text: #eef0fb;
    --deep-muted: #aab1d6;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.3; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--brand-ink); background: var(--brand); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { color: var(--brand-ink); }

/* 버튼 */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; border: 1px solid var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-block { display: block; text-align: center; }

/* 첫 화면 */
.hero { padding: 88px 0 80px; background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 15px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 20px; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.art-body { fill: var(--bg); stroke: var(--line); stroke-width: 3; }
.art-top { fill: var(--bg-alt); stroke: var(--line); stroke-width: 3; }
.art-paper { fill: var(--bg); stroke: var(--brand); stroke-width: 2; }
.art-tray { fill: var(--bg-alt); stroke: var(--line); stroke-width: 2; }
.art-panel { fill: var(--deep); }
.art-dot { fill: var(--brand); }
.art-line { fill: var(--deep-muted); }
.art-base { fill: var(--line); }

/* 공통 구역 */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-alt); }
.sec-eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .12em; margin: 0 0 8px; }
.sec h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 12px; letter-spacing: -.01em; }
.sec-lead { color: var(--muted); margin: 0 0 36px; }

/* 서비스 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; }
.feature svg { width: 36px; height: 36px; padding: 7px; color: var(--brand); background: var(--brand-soft); border-radius: 10px; }
.feature h3 { font-size: 18px; margin: 16px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* 요금 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; }
.plan-pick { border: 2px solid var(--brand); }
.badge { position: absolute; top: -13px; left: 26px; margin: 0; background: var(--brand); color: var(--brand-ink); font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin: 0 0 4px; }
.plan-for { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price strong { font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.price-label, .price-unit { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { position: relative; padding-left: 24px; margin: 8px 0; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* 이용 절차 */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.steps li { border-top: 3px solid var(--brand); padding-top: 18px; }
.step-no { color: var(--brand); font-weight: 800; font-size: 14px; }
.steps h3 { font-size: 18px; margin: 4px 0 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* 상담 */
.cta { background: var(--deep); color: var(--deep-text); padding: 72px 0; }
.cta-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 10px; }
.cta p { color: var(--deep-muted); margin: 0; }
.contact { margin: 0; display: grid; gap: 10px; }
.contact div { display: grid; grid-template-columns: 88px 1fr; padding: 14px 18px; background: rgba(255, 255, 255, .06); border-radius: 10px; }
.contact dt { color: var(--deep-muted); }
.contact dd { margin: 0; font-weight: 600; }
.contact a { color: inherit; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* 바닥 */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-in p { margin: 2px 0; }
.foot-name { color: var(--text); font-weight: 700; }
.foot a { color: inherit; text-decoration: none; }
.foot .sep { color: var(--line); margin: 0 6px; }
.foot-copy { margin-top: 12px !important; }

/* 좁은 화면 */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; }
  .sec { padding: 64px 0; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .cta-in { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features, .steps { grid-template-columns: 1fr; }
}
