:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --text: #13203a;
  --muted: #5a6680;
  --line: #e2e8f2;
  --brand: #0f3d91;
  --brand-2: #1f6fe5;
  --on-brand: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(16, 32, 64, .06), 0 8px 24px rgba(16, 32, 64, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-soft: #111a2c;
    --text: #e7ecf5;
    --muted: #9aa6bd;
    --line: #22304a;
    --brand: #5b9bff;
    --brand-2: #8ab8ff;
    --on-brand: #0b1220;
    --card: #131d31;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); }
a:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }

/* hero */
.hero { padding: 104px 0 96px; background: radial-gradient(1000px 420px at 85% -10%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%), var(--bg); }
.eyebrow { margin: 0 0 16px; color: var(--brand); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.22; letter-spacing: -.03em; }
.lead { margin: 24px 0 0; max-width: 640px; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* services */
.services { padding: 88px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 32px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card-link { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--brand); transform: translateY(-2px); }
.card-link p { flex: 1; }
.more { margin-top: 18px; color: var(--brand); font-weight: 600; font-size: .95rem; }

/* nav */
.nav { display: flex; align-items: center; gap: 18px; }
.nav-link { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.btn-sm { min-height: 38px; padding: 0 16px; }

/* contact (CTA 카드) */
.contact { padding: 88px 0; }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #0f3d91 0%, #1f6fe5 100%);
}
.cta h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.8vw, 1.75rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-light { background: #fff; color: #0f3d91; }
.btn-light:hover { background: #eaf1ff; }
.copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; background: transparent;
  color: #fff; font: inherit; font-size: .95rem; cursor: pointer; transition: background .15s;
}
.copy:hover { background: rgba(255, 255, 255, .12); }
.copy.done { background: rgba(255, 255, 255, .2); }
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* services page */
.page-hero { padding: 80px 0 56px; background: radial-gradient(900px 360px at 85% -10%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%), var(--bg); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; font-size: .92rem; font-weight: 600; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.detail { padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.detail.alt { background: var(--bg-soft); }
.detail-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.detail-head { position: relative; }
.detail-head .num { position: absolute; top: -6px; right: 0; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--line); }
.detail-head h2 { margin: 18px 0 12px; }
.detail-head p { margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.features strong { font-size: 1.02rem; }
.features span { color: var(--muted); font-size: .94rem; }
.process { padding: 80px 0; border-top: 1px solid var(--line); background: var(--bg-soft); scroll-margin-top: 64px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; }
.steps h3 { margin: 16px 0 6px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
#contact { scroll-margin-top: 64px; }

/* footer */
.foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot p { margin: 0; }
.foot .biz { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; font-size: .85rem; }
.foot .biz a { text-decoration: none; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .br-wide { display: none; }
  .detail-inner { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 72px 0 64px; }
  .page-hero { padding: 56px 0 40px; }
  .services, .contact, .detail, .process { padding: 64px 0; }
  .top .btn { min-height: 38px; padding: 0 14px; }
  .nav { gap: 12px; }
  .actions .btn { flex: 1 1 100%; }
  .cta { padding: 32px 24px; }
  .cta-actions, .cta-actions > * { width: 100%; }
  .copy { justify-content: center; }
  .features, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
