/* 제로클릭 오토 사이트 공통 디자인
   레이아웃: 위 고정 메뉴 → 쪽마다 큰 제목 영역 → 내용 블록을 세로로 쌓음. 프로그램 화면과 같은 남색 + 보라 포인트의 단일 다크 디자인. */
:root {
  color-scheme: dark;
  --ink: #0b0e1c;
  --panel: #141a2f;
  --panel2: #1a2140;
  --line: #252c4b;
  --text: #e8eaf6;
  --dim: #9097b5;
  --violet: #8b7cff;
  --mint: #3ddc97;
  --amber: #f5b544;
  --red: #f87171;
  --display: "Black Han Sans", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  --body: "IBM Plex Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Malgun Gothic", monospace;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--ink); color: var(--text); }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.25; }
h3 { font-size: 1.05rem; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.dim { color: var(--dim); }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--violet); text-transform: uppercase; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
section { padding-block: 56px 0; }

/* 메뉴 */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.logo b { color: var(--violet); font-weight: 400; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a.m { color: var(--dim); text-decoration: none; font-size: 0.93rem; padding: 6px 10px; border-radius: 8px; }
.nav a.m:hover, .nav a.m[aria-current="page"] { color: var(--text); background: var(--panel); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: inherit; font-weight: 700;
  text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--panel); cursor: pointer; }
.btn:hover { border-color: var(--violet); }
.btn.primary { background: var(--violet); border-color: var(--violet); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 첫 영역 */
.hero { padding-block: 64px 8px; }
.hero .lead { margin-top: 18px; font-size: 1.12rem; color: var(--dim); max-width: 36em; }
.hero .lead strong { color: var(--text); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }

/* 카드 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card .price { font-family: var(--display); font-size: 1.8rem; }
.card .price small { font-family: var(--body); font-size: 0.95rem; color: var(--dim); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--dim); display: grid; gap: 4px; }
.card.feature { border-color: var(--violet); background: linear-gradient(160deg, color-mix(in srgb, var(--violet) 14%, var(--panel)), var(--panel) 60%); }

/* 격자 목록 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid3 > div { background: var(--ink); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.grid3 .tag { font-size: 0.8rem; font-weight: 700; color: var(--violet); }
.grid3 p { color: var(--dim); font-size: 0.93rem; }

/* 순서 */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--violet); padding-top: 14px; display: grid; gap: 6px; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.8rem; color: var(--violet); line-height: 1; }
.steps p { color: var(--dim); font-size: 0.92rem; }

/* 표 */
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; font-size: 0.88rem; background: var(--panel); }
tr:last-child td { border-bottom: none; }
td .num { font-size: 1.05rem; }
td:first-child, th:first-child { white-space: nowrap; color: var(--dim); }
td.num { white-space: nowrap; }

/* 사진 */
.shot { margin-top: 28px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.caption { margin-top: 10px; font-size: 0.85rem; color: var(--dim); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.gallery figcaption { padding: 12px 14px; font-size: 0.9rem; color: var(--dim); }

/* 질문 */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--violet); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--dim); max-width: 62em; }

/* 문의 양식 */
.form { display: grid; gap: 16px; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .row > * { min-width: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.92rem; color: var(--dim); }
.field label b { color: var(--red); font-weight: 400; }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: none; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--dim); }
.agree input { margin-top: 5px; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; font-size: 0.95rem; }
.status.ok { color: var(--mint); }
.status.err { color: var(--red); }

/* 계좌 */
.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 1.1rem;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.acct span { user-select: all; overflow-wrap: anywhere; }
.acct .btn { margin-left: auto; padding: 7px 12px; font-size: 0.85rem; }

.notice { font-size: 0.85rem; color: var(--dim); margin-top: 14px; }
footer { margin-top: 72px; border-top: 1px solid var(--line); }
footer .wrap { padding-block: 24px 40px; font-size: 0.82rem; color: var(--dim); display: grid; gap: 6px; }
footer a { color: var(--dim); }

@media (max-width: 860px) {
  .split, .cards, .form .row { grid-template-columns: 1fr; }
  .grid3, .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .grid3, .gallery, .steps { grid-template-columns: 1fr; }
  .nav .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
