/* 점핑소프트 공식 홈페이지 — 시스템 폰트, 외부 호출 없음 */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d4ed8;
  --blue-d: #1e40af;
  --cyan: #0e7490;
  --cyan-soft: #e0f4f8;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6b80;
  --line: #dbe3ee;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --focus: #f59e0b;
  --radius: 12px;
  --wrap: 1120px;
  --narrow: 760px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; word-break: break-all; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: var(--narrow); }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.dev-bar { background: #fef3c7; color: #78350f; font-size: .85rem; text-align: center; padding: 6px 12px; }
.draft-note { margin: 16px 0 0; background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }

/* ── 머리글 */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 32px; height: 32px; flex: none; border-radius: 8px;
  background: var(--navy) url("../img/logo-mark.svg") center / 100% 100% no-repeat;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ko { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.logo-en { font-size: .68rem; font-weight: 700; letter-spacing: .16em; color: var(--cyan); }
.logo-img { height: 36px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--cyan-soft); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.lang-switch { font-size: .85rem !important; font-weight: 600; border: 1px solid var(--line); padding: 5px 10px !important; }

.nav-toggle { display: none; }

@media (max-width: 767px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; transition: transform .2s;
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .head-row { flex-wrap: wrap; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; padding: 0 0 12px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; }
  .lang-switch { align-self: flex-start; margin-top: 4px; }
}

/* ── 공통 구획 */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #164e63 100%); color: #fff; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.2; margin: 4px 0 12px; letter-spacing: -.02em; }
.hero .lead { color: #dbeafe; font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 40em; }
.hero .eyebrow { color: #67e8f9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 1.1rem; color: var(--ink-2); margin: 0; }

.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.page-head h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.3; margin: 6px 0 8px; color: var(--navy); letter-spacing: -.01em; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #94a3b8; }
.crumbs a { color: var(--muted); }

.section { padding: 44px 0; }
.section--alt { background: var(--bg-alt); }
.section h2, .doc h2 { color: var(--navy); font-size: 1.3rem; line-height: 1.4; margin: 36px 0 12px; }
.section h2:first-child, .section .container > h2:first-child { margin-top: 0; }
.section h3 { color: var(--navy); font-size: 1.08rem; margin: 20px 0 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ── 카드 */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy); }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.cards--links .card { padding: 0; }
.cards--links a { display: block; padding: 20px; height: 100%; text-decoration: none; border-radius: var(--radius); }
.cards--links a:hover { background: var(--cyan-soft); }
.cards--links a h3::after { content: " →"; color: var(--cyan); }
.app-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.app-type { font-size: .8rem; color: var(--muted); }
.app-card h3 a { color: var(--navy); text-decoration: none; }
.app-card h3 a:hover { text-decoration: underline; }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid; }
.badge--preparing { color: #475569; border-color: #cbd5e1; background: #f8fafc; }
.badge--testing { color: #92400e; border-color: #fcd34d; background: #fffbeb; }
.badge--published { color: #065f46; border-color: #6ee7b7; background: #ecfdf5; }
.badge--ended { color: #6b7280; border-color: #d1d5db; background: #f3f4f6; }

.empty { background: #fff; border: 1px dashed #b6c3d4; border-radius: var(--radius); padding: 24px; color: var(--ink-2); margin: 0; }
.more { font-weight: 700; }
.note { color: var(--muted); font-size: .92rem; }
.notice { background: #f3f4f6; border-left: 4px solid #9ca3af; padding: 12px 16px; border-radius: 6px; }
.see-also { margin-top: 32px; }
.contact-big { font-size: 1.2rem; font-weight: 700; }
.ticks { padding-left: 1.2em; }
.ticks li { margin: 6px 0; }
.link-list { padding-left: 1.2em; }
.link-list li { margin: 6px 0; }

/* ── 정의 목록(사업자 정보 등) */
.kv { margin: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 1fr; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .kv > div { grid-template-columns: 11em 1fr; } }
.kv dt { font-weight: 700; color: var(--ink-2); }
.kv dd { margin: 0; }
.kv--compact > div { padding: 6px 0; }

/* ── 법률 문서 */
.doc { padding: 32px 0 56px; }
.doc p, .doc li { color: var(--ink); }
.doc-date { color: var(--muted); font-size: .95rem; }
.doc-note { margin-top: 40px; color: var(--muted); font-size: .9rem; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 20px 0 8px; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 1; }
@media (min-width: 768px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin: 3px 0; break-inside: avoid; }
.doc section { scroll-margin-top: 80px; }
.callout { background: var(--cyan-soft); border: 1px solid #a5dbe6; border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; }
.callout-h { font-size: 1.05rem !important; margin: 0 0 6px !important; color: var(--navy); }
.callout ul { margin: 0; padding-left: 1.2em; }

.table-wrap { position: relative; overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 7em; }
th { background: var(--bg-alt); color: var(--ink-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

.nf { padding: 64px 0; }
.nf h1 { color: var(--navy); }

/* ── 바닥글 */
.site-foot { background: var(--navy); color: #cbd5e1; padding: 32px 0 40px; font-size: .88rem; margin-top: 24px; }
.site-foot a { color: #e2e8f0; }
.site-foot a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.foot-biz { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; }
.f-k { color: #94a3b8; }
.f-verify { font-size: .8rem; }
.foot-copy { margin: 0; color: #94a3b8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head, .site-foot, .skip-link, .toc, .dev-bar { display: none; }
  .page-head { background: none; border: 0; }
  a { color: inherit; }
}
