@charset "UTF-8";
/* ============================================================================
   PC튜너 판매 홈페이지 — 공용 스타일
   외부 CSS/폰트를 하나도 불러오지 않는다(오프라인·CSP·개인정보 모두 안전).
   모바일 우선. 한국어 사용자를 기준으로 줄바꿈은 어절 단위(word-break: keep-all).
   ========================================================================== */

:root {
  --ink: #16181d;
  --ink-soft: #4a4f5a;
  /*  ⚠️ 2026-10-07 — #6b7280 → #5b6472 로 **한 단계 진하게** 했다.
   *  왜: 이 색을 쓰는 자리 60여 곳 중 상당수가 `--bg-soft`(#f5f6f9) 카드·노트·표 안인데,
   *     거기서 대비가 4.47:1 로 WCAG AA(4.5:1)에 **0.03 모자랐다**(모바일·접근성 검토 실측).
   *     흰 배경에서도 4.83:1 → 5.98:1 로 올라가 작은 글씨(0.75~0.9rem)가 읽힌다.
   *  ⚠️ 토스 grey-500(#8b95a1)처럼 **옅어지는 방향으로는 절대 내리지 않는다**(2.9:1 로 미달). */
  --ink-faint: #5b6472;
  --line: #d8dbe2;
  --line-soft: #eceef2;
  --bg: #ffffff;
  --bg-soft: #f5f6f9;
  --bg-deep: #14161b;

  --brand: #1a56db;
  --brand-deep: #123a99;
  --brand-soft: #e8effd;

  /* ⚠️ 2026-10-05: 강조색을 주황(#c2410c)에서 토스 계열 파랑으로 바꿨다.
     강조색은 **하나만** 쓴다 — 주황은 경고·주의(--warn-*)에만 남기고 버튼에는 쓰지 않는다. */
  /*  ★ 2026-10-07 — #3182f6 → #1f6feb (토스 계열 파랑은 유지, 한 단계만 진하게).
   *  왜: #3182f6 위의 **흰 글자가 3.71:1** 이라 WCAG AA(4.5:1) 미달이었다.
   *     특히 버튼 안 작은 안내문(`.btn small`, 13.6px)이 가장 안 읽혔다.
   *     #1f6feb 는 흰 글자 4.63:1 로 통과하고, 눈으로는 같은 파랑으로 보인다.
   *  ⚠️ 이 색 하나로 결제 버튼·구매바·요금제 꼬리표·벤치 칩 4곳이 함께 해결된다. */
  --cta: #1f6feb;
  --cta-strong: #1b64da;
  --cta-ink: #ffffff;

  --warn-bg: #fff6e8;
  --warn-line: #b45309;
  --warn-ink: #6b3300;

  --danger-bg: #fdecec;
  --danger-line: #b91c1c;
  --danger-ink: #7a1414;

  --ok-bg: #eaf7ee;
  --ok-line: #15803d;
  --ok-ink: #14532d;

  --radius: 12px;
  --wrap: 720px;
  --wrap-wide: 1080px;

  /*  ★ 2026-10-07 — 토스식 2단 파랑(보조 액션용 틴트)과 4px 간격 스케일.
   *  왜: 보조 버튼이 회색 채움(--bg-soft)이라 "비활성"처럼 읽혔고, 간격이 26/38/46/28px 로
   *      제각각이라 리듬이 없었다(토스 벤치마크 검토 지적).
   *  ⚠️ 텍스트 회색(--ink-faint)은 **낮추지 않았다** — 토스 grey-500(#8b95a1)은 흰 배경에서
   *     대비 2.9:1 로 WCAG AA(4.5:1) 미달이다. 접근성을 팔 이유가 없다. */
  --tint-bg: #e8f3ff;
  --tint-ink: #1b64da;
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  --shadow-sm: 0 1px 2px rgba(16, 18, 29, 0.06), 0 1px 3px rgba(16, 18, 29, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 18, 29, 0.09);
  --ring: 0 0 0 4px rgba(26, 86, 219, 0.2);
  /* 구매바 실제 높이(360px 실측 91.6px + 여유). 본문 아래 여백이 이 값을 따라간다. */
  --buybar-h: 96px;
}

* { box-sizing: border-box; }

/*  ⚠️ 2026-10-06 실측 결함: 우리 CSS 가 `[hidden]` 요소에 `display:flex/inline-block` 을 주면
 *     **author 스타일이 UA 의 `[hidden]{display:none}` 을 이긴다** → 감춰야 할 구역이 화면에 나온다.
 *     실제로 백신 검사 배지가 "현재 배포본"과 "이전 빌드" **둘 다** 표시됐다(스크린샷으로 적발).
 *     build.py 의 데이터 게이트(data-hide-empty / data-show-empty)는 전부 `hidden` 을 쓰므로
 *     이 한 줄이 그 장치 전체의 안전망이다. 지우지 말 것. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* 시스템 한글 폰트만 쓴다 — 웹폰트를 받지 않으므로 첫 화면이 즉시 뜬다. */
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR",
               system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--brand); }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4 {
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.32rem; font-weight: 800; }
h3 { font-size: 1.06rem; font-weight: 700; }
/*  ★ 2026-10-07 — 넓은 화면에서 제목을 키운다. 예전에는 모바일 크기 그대로라
 *  1080px 화면에서 제목이 본문처럼 보여 페이지 위계가 사라졌다(UI 검토 지적). */
@media (min-width: 760px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.55rem; }
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: 0.35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
/* 넓은 화면용 변형 — 히어로·카드 그리드처럼 시야가 넓어야 하는 곳에만 쓴다.
   약관·정책 같은 본문은 읽기 폭을 지키려고 --wrap(720px) 그대로 둔다. */
.wrap-wide { max-width: var(--wrap-wide); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 건너뛰기 링크 (키보드 접근성) ─────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ── 상단 헤더 ─────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 20;
  box-shadow: var(--shadow-sm);
}
.site-header .bar {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px;
}
.brand {
  font-weight: 800; font-size: 1.15rem; color: var(--ink);
  text-decoration: none; white-space: nowrap;
  /* 로고 마크 + 워드마크를 한 줄로 나란히 (2026-10-06 로고 적용) */
  display: inline-flex; align-items: center; gap: 9px;
  /*  ⚠️ 2026-10-07 — 좌우가 아니라 **위아래 패딩**으로 누를 수 있는 높이를 만든다.
   *     마크(32px)만 있으면 탭 영역이 32px 였다(모바일 실측). 헤더 정렬은 그대로다. */
  padding: 7px 0;
}
.brand .dot { color: var(--brand); }
/* 마크 자체가 둥근 모서리와 투명 배경을 갖고 있다(assets/logo-mark-96.png) */
.brand-mark { display: block; width: 30px; height: 30px; flex: none; }
/*  워드마크는 한 덩어리로 둔다 — flex 안에서 "PC튜너" 와 "." 이 갈라지지 않게. */
.brand-word { display: inline; }
@media (max-width: 420px) {
  .brand-mark { width: 26px; height: 26px; }
}
.site-header .spacer { flex: 1; }
.header-cta {
  display: inline-block; background: var(--cta); color: var(--cta-ink);
  font-weight: 800; font-size: 0.95rem; text-decoration: none;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}
.header-cta:hover { color: var(--cta-ink); filter: brightness(1.08); }
.nav-toggle {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  /*  ⚠️ 2026-10-07 — 40px → 44px. 헤더에서 가장 자주 누르는 버튼인데
   *     터치 최소 크기(44px)에 4px 모자랐다(모바일 실측). */
  min-height: 44px; padding: 7px 14px; cursor: pointer; color: var(--ink);
}
.site-nav {
  border-top: 1px solid var(--line-soft);
  display: none;
}
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 6px 0; columns: 2; column-gap: 8px;
}
.site-nav li { margin: 0; break-inside: avoid; }
.site-nav a {
  display: block; padding: 10px 4px; text-decoration: none;
  color: var(--ink-soft); font-weight: 700; font-size: 0.97rem;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--brand); }
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; border-top: 1px solid var(--line-soft); }
  .site-nav ul { columns: auto; display: flex; flex-wrap: wrap; gap: 2px; padding: 2px 0; }
  .site-nav a { padding: 8px 10px; }
  /* 큰 화면에서 제목이 작아 보이던 문제 — 화면 폭에 따라 함께 커진다 */
  h1 { font-size: clamp(1.9rem, 1.15rem + 2.1vw, 2.6rem); }
  h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.7rem); }
  body { font-size: 18px; }
}

/* ── 히어로 ────────────────────────────────────────────────────────────── */
/*  ⚠️ 2026-10-07: 히어로 배경의 2겹 그라디언트(브랜드 광원 + 아래로 밝아지는 면)를 **한 겹**으로 줄였다.
 *     겹친 그라디언트는 스크린샷에서 "색 번짐"으로 보였고, 그 위 작은 안내 문구의 대비를 깎았다.
 *     값이 보여야 하는 자리라 배경은 조용해야 한다. */
.hero {
  border-bottom: 1px solid var(--line);
  /*  ⚠️ 2026-10-07 — 좁은 화면에서는 위아래 여백을 **줄인다**.
   *  360px 실측: 히어로가 1,489px 로 한 화면(실사용 약 744px)의 두 배였고, 그래서
   *  주 버튼(구매)의 아래쪽이 화면 밖으로 잘렸다. 여백을 줄여 버튼을 접힘선 위로 올린다. */
  padding: 22px 0 24px;
  background: #f7f9fc;
}
.hero .kicker {
  display: inline-block; background: var(--tint-bg); color: var(--tint-ink);
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 12px; border-radius: 999px; margin: 0 0 var(--sp-3);
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { font-size: 1.06rem; color: var(--ink-soft); font-weight: 500; margin: 0; line-height: 1.65; }

main { display: block; }
section { padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
section:last-of-type { border-bottom: none; }
section > .wrap > h2:first-child { margin-top: 0; }
@media (min-width: 760px) {
  .hero { padding: var(--sp-12) 0 var(--sp-10); }
  section { padding: 56px 0; }
}
/*  ★ 2026-10-07 — 좁은 화면에서 히어로를 **한 화면 안에** 넣기 위한 압축(실측 근거).
 *  검토 실측 360px: kicker 31 + h1 69 + lead 168 + trust 151 + flow 79 + 버튼 188
 *  = 주 버튼 위쪽만 586px 였다. 여기서 줄인다(문구는 한 글자도 바꾸지 않는다). */
@media (max-width: 560px) {
  .hero .lead { line-height: 1.6; font-size: 1rem; }
  .hero .trust { margin: 12px 0 14px; }
  .hero .cta-note { line-height: 1.55; }
}

/* ── 카드 ──────────────────────────────────────────────────────────────── */
.cards { display: grid; gap: 12px; }
/* 기능 카드가 3장 이상일 때만 쓰는 변형(마크업: class="cards cards-3").
   ⚠️ 요금제 목록(#planList)에는 쓰지 않는다 — 1~2장일 때 한 장이 화면 끝까지 늘어난다. */
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  border: 1px solid var(--line-soft); border-radius: 16px;
  padding: var(--sp-5) var(--sp-5) var(--sp-2); background: #fff;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.3em; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.tag {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: 0.78rem; font-weight: 800; padding: 2px 8px;
  border-radius: 6px; vertical-align: 2px;
}
.tag-muted { background: var(--ink-faint); }
/*  광고 표시(쿠팡 파트너스) — 파랑 강조색은 제품 이야기에만 쓰고, 광고 라벨은 주황 계열로 구분한다.
    ⚠️ 라벨을 지우거나 숨기면 경제적 이해관계 공개 의무 위반이다(공정위 심사지침). */
.tag-ad { background: var(--warn-bg); color: var(--warn-ink); }

/*  쿠팡 파트너스 배너(고정 크기 iframe) — 가운데 정렬하고 좁은 화면에서 넘치지 않게 한다. */
.ad-banner { margin: 0 0 14px; text-align: center; }
.ad-banner iframe { border: 0; max-width: 100%; display: inline-block; vertical-align: top; }

/* ── 표 ────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
caption { text-align: left; font-size: 0.88rem; color: var(--ink-faint); padding: 0 0 6px; }
th, td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
/* 비교표의 항목 아래 보조 설명 — 긴 항목명을 한 줄에 밀어넣지 않는다 */
table th small, table td small {
  display: block; font-weight: 500; font-size: 0.84rem;
  color: var(--ink-faint); margin-top: 3px; line-height: 1.5;
}
thead th { background: var(--bg-soft); border-top: none; font-size: 0.9rem; white-space: nowrap; }
tbody tr:first-child th, tbody tr:first-child td { border-top: none; }
/*  ★ 2026-10-07 — 행 머리말(`th[scope=row]`)은 **접지 않는다**.
 *  왜: download.html 표에서 라벨 열이 47~57px 로 눌려 "파일 / 이름", "SHA- / 256" 처럼
 *     단어 중간이 잘렸다(모바일 실측). 행 머리말은 대부분 2~6자라 nowrap 이 안전하고,
 *     표 전체 폭을 늘리지도 않는다(그 열이 원래 가장 좁았다). */
table th[scope="row"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }

/*  ★ 2026-10-07 — 좁은 화면에서 표를 **카드 목록**으로 바꾸는 장치(`table.table-cards`).
 *  왜: 360px 실측에서 index.html 측정표가 세로 2,474px 였다. 4~12자짜리 열 7개가
 *     세로 기둥이 되어 '한계' 열은 한 줄에 1~2자씩 11~13줄로 쪼개졌다.
 *     가로 스크롤로 넘기는 방법도 있지만, 폰에서 표를 옆으로 밀어 읽는 사람은 거의 없다.
 *  ⚠️ 화면에 찍히는 라벨은 마크업의 `data-label` 에서 온다(CSS 에 열 제목을 박지 않는다).
 *  ⚠️ `thead` 는 **지우지 않고** 화면에서만 감춘다 — 스크린리더의 표 탐색은 그대로 살아 있다. */
@media (max-width: 560px) {
  .table-cards { font-size: 0.97rem; }
  /*  ⚠️ 2026-10-07 실측 결함: `position:absolute` + `clip` 만으로는 **감춰지지 않았다.**
   *     `thead` 는 `display: table-header-group` 이라 `overflow`/`clip` 이 무시되어
   *     왼쪽에 "측정 항목·출처·한계" 세로 기둥이 그대로 남았다(시험 페이지 스크린샷으로 적발).
   *     → `display: block` 으로 블록화해야 클리핑이 먹는다. */
  .table-cards thead {
    display: block;
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .table-cards thead tr, .table-cards thead th { display: block; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards th, .table-cards td { display: block; }
  .table-cards tr {
    border: 1px solid var(--line-soft); border-radius: 14px; background: #fff;
    padding: 14px 16px; margin: 0 0 10px;
  }
  .table-cards th[scope="row"] {
    border: none; padding: 0 0 10px; font-size: 1.06rem; font-weight: 800;
    color: var(--ink); white-space: normal;
  }
  .table-cards td {
    border: none; padding: 3px 0;
    display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px;
  }
  .table-cards td::before {
    content: attr(data-label); font-size: 0.84rem; font-weight: 700;
    color: var(--ink-faint); padding-top: 1px;
  }
  /* 표 머리말 캡션은 카드 위에 한 줄로 남긴다(이 표가 무엇인지 알려주는 문장이다).
   *  ⚠️ 2026-10-07 실측 결함: `caption` 은 `display: table-caption` 이라, 표를 `display:block`
   *     으로 바꾸면 **한 글자 폭으로 쪼그라들어** 세로 기둥("측/정/항/목…")으로 남았다.
   *     → 캡션도 블록으로 만들어야 한다. */
  .table-cards caption { display: block; padding: 0 0 10px; font-size: 0.9rem; }
}

/* ── 가격 ──────────────────────────────────────────────────────────────── */
.price { font-size: 1.5rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
/*  ★ 2026-10-06 — 요금제 카드의 가격은 **더 크게** (판매 페이지의 핵심 숫자다).
 *  왜: 실측해 보니 카드 안에서 가격이 혜택 목록과 비슷한 크기로 보여 "얼마인지"가
 *      한눈에 안 들어왔다. 숫자는 크게, 조건(1회 결제·구독 없음)은 작게가 기본형이다.
 *  ⚠️ 카드 밖(구매바·주문 표)의 `.price` 는 그대로 둔다 — 거기선 이미 크기가 맞다. */
.cards .card > p.price { font-size: 2rem; letter-spacing: -0.02em; line-height: 1.15; }
@media (max-width: 560px) { .cards .card > p.price { font-size: 1.75rem; } }
.price-regular { display: block; font-size: 0.9rem; color: var(--ink-faint); font-weight: 600; }
.price-regular s { text-decoration: line-through; }
/* ⚠️ `개업 기념 판매가` 표시 — **취소선 비교표시를 대신하는 문구**다(대표님 지시 D-5).
   실제 판매 이력이 없는 가격을 "정가"로 그어 보여주지 않기 위해 이 문구만 쓴다.
 *  ⚠️ 2026-10-07 실측 결함: `display: block` 이라 **카드 폭 전체를 채운 초록 막대**로
 *     렌더됐다(가격 아래 초록 바 — 스크린샷으로 적발). 가격 옆에 붙는 **작은 알약**이어야 한다. */
.price-opening {
  display: inline-block; vertical-align: 6px; margin-left: 8px;
  font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  color: var(--ok-ink); background: var(--ok-bg);
  border-radius: 999px; padding: 3px 10px;
}
@media (max-width: 560px) {
  /* 좁은 화면에서는 가격과 같은 줄에 두면 넘친다 → 아랫줄 알약으로 내린다. */
  .price-opening { display: table; vertical-align: 0; margin: 6px 0 0; }
}

/* ── CTA 아래 위험 제거 문구 (2026-10-05 영업 관점 개선) ─────────────────
   왜: 구매 직전에 남는 망설임(결제·등록·되돌리기)을 클릭 지점에서 없앤다.
   경쟁 페이지들이 CTA 밑에 같은 문장을 반복해 넣는 이유가 이것이다. */
.cta-note {
  margin: 10px 0 0; font-size: 0.88rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; gap: 4px 14px;
}
.cta-note::before { content: none; }

/* ── 증상 체크 (마크업: ul.symptoms) ────────────────────────────────────
   제품 설명보다 **증상**을 먼저 보여준다. 읽는 사람이 "나다" 라고 스스로
   분류하는 순간이 설득의 시작이다(경쟁 페이지도 같은 자리에 이 블록을 둔다). */
.symptoms { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.symptoms li {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand);
}
.symptoms strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.symptoms span { color: var(--ink-soft); font-size: 0.95rem; }
.symptoms-close {
  margin: 0; padding: 16px 18px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 1.02rem; font-weight: 700;
}
@media (min-width: 820px) { .symptoms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/*  ★ 2026-10-07 — "이런 분께"(.profiles/.profile) 규칙은 **지웠다**.
 *     홈에서 그 구역을 삭제했고(아래 '이런 증상'과 중복), 쓰이지 않는 CSS 는
 *     나중에 "이 클래스 어디 쓰지?" 를 만든다. 필요해지면 git 아닌 이 주석을 보고 되살린다. */

/* ── 반대 처리 카드 (걱정되는 것들) ───────────────────────────────────── */
.objections { display: grid; gap: 12px; }
.objection {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px;
}
.objection h3 { margin: 0 0 8px; font-size: 1.02rem; }
.objection h3::before { content: "Q. "; color: var(--brand); }
.objection p { margin: 0 0 8px; font-size: 0.96rem; color: var(--ink-soft); }
.objection p:last-child { margin-bottom: 0; }
.objection .limit {
  display: block; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line); font-size: 0.9rem; color: var(--ink-faint);
}
@media (min-width: 820px) { .objections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 가격 신뢰 칩 ─────────────────────────────────────────────────────── */
.price-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.price-chips li {
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 0.88rem; font-weight: 800; padding: 6px 13px; border-radius: 999px;
}

/* ── 하단 고정 구매 바 (site.js:initBuyBar) ──────────────────────────────
   ⚠️ 숨김 상태는 `visibility: hidden` 이다 — 화면 밖으로 밀기만 하면
      키보드 포커스가 보이지 않는 버튼으로 들어간다. */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(16, 18, 29, 0.09);
  /*  ⚠️ 높이는 `--buybar-h` 토큰과 **함께** 움직여야 한다.
   *  왜: 아래 `body.has-buybar` 는 상수(92px)를 쓰는데, 바는 안전영역(safe-area)이
   *     있으면 그만큼 더 커진다. 아이폰 홈 인디케이터(34px)에서 바가 125.6px 가 되어
   *     본문 여백 92px 를 넘겨 푸터의 **사업자 정보·환불정책을 33.6px 덮었다**(모바일 실측).
   *  ⚠️ 그래서 아래 여백 규칙도 같은 `env(safe-area-inset-bottom)` 을 더한다. */
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
}
.buybar.is-on {
  transform: none; visibility: visible;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.buybar-inner {
  max-width: var(--wrap-wide); margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.buybar-info { display: flex; flex-direction: column; min-width: 0; }
.buybar-info strong { font-size: 1.18rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.buybar-info span {
  font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
/*  ★ 2026-10-06 — 구매바 오른쪽 묶음(카카오톡 문의 + 구매하기).
 *  왜 묶었나: `margin-left:auto` 를 구매 버튼에 두면 카카오 버튼을 넣을 자리가 없다.
 *     오른쪽 정렬은 **묶음**이 맡고, 각 버튼은 자기 크기만 갖는다. */
.buybar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
/*  카카오톡 문의 — 구매 버튼과 **같은 무게로 보이지 않게** 크기는 낮추되,
 *  색은 카카오 노란색으로 두어 "카카오톡"이라는 것을 색만으로 알게 한다(대표님 지시).
 *  ⚠️ 구매 유도가 목적이 아니라 "물어볼 곳"을 주는 것이 목적이다. */
.buybar-kakao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid #fee500; background: #fee500; color: #191919;
  font-size: 0.92rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.buybar-kakao:hover { background: #f2d900; border-color: #f2d900; color: #191919; }
.buybar-kakao .kb-short { display: none; }
.buybar-cta {
  margin: 0; width: auto; min-height: 48px;
  padding: 11px 22px; font-size: 1rem; border-radius: 999px;
  display: flex; flex-direction: column; justify-content: center; line-height: 1.25;
}
/*  ⚠️ 2026-10-06 모바일 실측 결함: `.btn small { display:block }` 이 **뒤에** 정의돼 있어
 *     같은 특이도(0,1,1)에서 나중 규칙이 이겼다 → 좁은 화면에서도 버튼 안 `small` 이 보여
 *     버튼이 두 줄로 커지고, 그만큼 왼쪽 혜택 문구가 `…` 로 잘렸다(대표님 제보 사진).
 *     → 선택자를 `.buybar .buybar-cta small`(0,2,1)로 올려 **순서와 무관하게** 이기게 한다. */
.buybar .buybar-cta small { display: none; }
/*  ⚠️ 여백은 **실측 높이 + 안전영역**으로 준다(위 `.buybar` 주석 참조).
 *     상수 92px 만 쓰면 아이폰 홈 인디케이터에서 푸터가 33.6px 가려진다. */
body.has-buybar { padding-bottom: calc(var(--buybar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 620px) { .buybar .buybar-cta small { display: block; } }
/*  좁은 화면에서는 구매 이유가 두 줄로 늘어나 바가 높아진다 → 토큰도 같이 올린다. */
@media (max-width: 560px) { :root { --buybar-h: 104px; } }
/*  ⚠️ 2026-10-06 모바일 실측: 좁은 화면에서 구매 이유 한 줄이 `…` 로 잘려
 *     "개업 기념 할인가 · 원클릭…" 처럼 **무슨 혜택인지 알 수 없게** 됐다(대표님 제보 사진).
 *     → 좁은 화면에서는 두 줄까지 보여준다(가격은 그대로 크게). */
@media (max-width: 560px) {
  .buybar-info strong { font-size: 1.05rem; }
  .buybar-info span {
    white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; line-height: 1.35;
  }
  /*  좁은 화면: 카카오 버튼 라벨을 줄이고 여백을 좁힌다 —
   *  두 버튼이 가격·혜택을 밀어내면 잘림 결함이 돌아온다(위 주석 참조). */
  .buybar-kakao { padding: 9px 12px; }
  .buybar-kakao .kb-full { display: none; }
  .buybar-kakao .kb-short { display: inline; }
  .buybar-actions { gap: 6px; }
  .buybar-cta { padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* ── 스크린샷 틀 (자리표시 프레임) ────────────────────────────────────────
   실제 화면 캡처가 오기 전까지 **들어갈 자리와 비율**을 보여준다.
   ⚠️ 배포본에는 이 프레임을 쓰지 않는다(비어 보이면 신뢰가 깎인다) —
      캡처가 준비되면 index.html 의 주석 처리된 스크린샷 섹션을 켠다. */
.shot-frame {
  border: 2px dashed var(--line); border-radius: 14px;
  background: repeating-linear-gradient(45deg, #fafbfe, #fafbfe 12px, #f3f5fa 12px, #f3f5fa 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px 18px; color: var(--ink-soft);
}
.shot-frame strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.shot-frame span { font-size: 0.88rem; color: var(--ink-faint); }
.shot-frame .ratio { font-size: 0.78rem; font-weight: 800; color: var(--brand-deep); margin-bottom: 10px; }

/* ── 실측 벤치마크 (assets/bench.js 가 그림) ─────────────────────────────
   ⚠️ 경쟁 제품과 **같은 기능**(전/후 막대 + 상승률 + 조건 표)을 하되 시각 언어는 우리 것
      (밝은 배경 · 브랜드 파랑 · 둥근 카드). 어두운 배경 + 빨간 막대를 그대로 쓰지 않는다.
   ⚠️ 이 섹션은 측정값이 없으면 bench.js 가 통째로 숨긴다 — 빈 막대를 보여주지 않는다. */
.bench-rig { color: var(--ink-faint); font-size: 0.9rem; margin: 0 0 16px; }
.bench-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bench-chip {
  font: inherit; font-size: 0.9rem; font-weight: 800; cursor: pointer;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
}
.bench-chip[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: #fff; }
.bench-chip:hover { border-color: var(--cta); color: var(--cta-strong); }
.bench-chip[aria-pressed="true"]:hover { color: #fff; }

.bench-panel {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow-sm);
}
.bench-cond { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.93rem; }
.bench-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 8px; }
.bench-tag { font-size: 0.78rem; font-weight: 800; color: var(--ink-faint); letter-spacing: 0.04em; }
.bench-bar { display: block; height: 30px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.bench-bar > i { display: block; height: 100%; background: #c9d3e4; border-radius: 8px; }
.bench-row-after .bench-bar > i { background: linear-gradient(90deg, var(--cta), #5aa2ff); }
.bench-val { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bench-delta { display: flex; gap: 26px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.bench-delta > div { display: grid; gap: 2px; }
.bench-delta strong { font-size: 1.5rem; font-weight: 800; color: var(--cta-strong); font-variant-numeric: tabular-nums; }
.bench-delta span { font-size: 0.85rem; color: var(--ink-faint); font-weight: 700; }
.bench-table { margin-top: 20px; }
.bench-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--ink-faint); }
/*  ⚠️ 2026-10-06 모바일 실측 결함(대표님 제보):
 *     예전에는 좁은 화면에서 2열로 바꾸고 `.bench-val` 을 `margin-top:-26px` 로 **막대 위에 겹쳐**
 *     그렸다. 그 결과 ① AFTER 막대가 길면 숫자가 막대 끝과 겹치고
 *     ② BEFORE(71%)와 AFTER(100%) 막대 길이가 제대로 비교되지 않아 보였다(제보 사진).
 *     → 겹치는 방식을 버리고 **3열 그리드를 유지**한다(라벨·막대·숫자).
 *       대신 라벨 폭·글자 크기·막대 높이를 줄여 좁은 화면에 맞춘다.
 *       이렇게 하면 데스크톱과 **같은 비율**로 막대가 그려져 두 값이 눈으로 비교된다. */
@media (max-width: 560px) {
  .bench-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; }
  .bench-tag { font-size: 0.7rem; letter-spacing: 0.02em; }
  .bench-val { font-size: 0.86rem; }
  .bench-bar { height: 26px; }
  .bench-cond { font-size: 0.9rem; }
  .bench-panel { padding: 16px 14px; }
  .bench-delta { gap: 18px; }
  .bench-delta strong { font-size: 1.3rem; }
}

/* ── 스크린샷 투어 (index.html 의 주석 처리된 섹션에서 사용) ────────────
   캡처가 준비되면 주석을 풀기만 하면 되도록 미리 넣어 둔다. */
.tour { display: grid; gap: 28px; }
.tour-item { margin: 0; display: grid; gap: 14px; }
.tour-item img {
  display: block; width: 100%; height: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
}
.tour-item figcaption { display: grid; gap: 5px; }
.tour-item figcaption strong { font-size: 1.06rem; }
.tour-item figcaption span { color: var(--ink-soft); font-size: 0.96rem; }
@media (min-width: 900px) {
  .tour-item { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 32px; }
  .tour-item:nth-child(even) img { order: 2; }
}

/* ── 스크롤 등장 (site.js:initReveal 이 .reveal 을 붙인다) ────────────────
   ⚠️ 기본 상태를 CSS 로 숨기지 않는다 — JS 가 없으면 그냥 다 보인다. */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
.free { color: var(--ok-ink); font-weight: 800; }

/* ── 강조 상자 ─────────────────────────────────────────────────────────── */
.note {
  background: var(--bg-soft); border-radius: 12px; padding: 16px;
  margin: 0 0 var(--sp-4);
  font-size: 0.97rem;
}
.note strong { font-weight: 800; }
.note-warn { background: var(--warn-bg); color: var(--warn-ink); }
.note-warn a { color: var(--warn-ink); }
.note-danger { background: var(--danger-bg); color: var(--danger-ink); }
.note-danger a { color: var(--danger-ink); }
.note-ok { background: var(--ok-bg); color: var(--ok-ink); }
.note-ok a { color: var(--ok-ink); }
.note h2, .note h3 { color: inherit; }
.note ul { margin-bottom: 0.4em; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

/* 소유자 입력 대기 자리 — 눈에 띄게 표시한다(조용히 비워두지 않는다) */
.tbd {
  display: inline-block; background: #fff3cd; border: 1px dashed #b45309;
  color: #6b3300; border-radius: 6px; padding: 1px 7px;
  font-family: ui-monospace, Consolas, monospace; font-size: 0.86em; font-weight: 700;
}

/* ── 버튼 ──────────────────────────────────────────────────────────────── */
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  min-height: 56px; padding: 15px 16px; border-radius: var(--radius);
  font-size: 1.06rem; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em;
  margin: 0 0 var(--sp-3); border: 2px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn small { display: block; font-size: 0.85rem; font-weight: 500; opacity: 0.9; margin-top: 2px; }
/*  ⚠️ 2026-10-07: 보조 버튼에서 **회색 테두리를 뺐다**. 테두리+회색 채움 조합은 "비활성"으로 읽혔고,
 *     페이지에 보조 버튼이 20개 가까이 있어 파란 틴트를 주면 기본 CTA 가 묻힌다.
 *     토스 보조 버튼과 같이 **테두리 없는 연회색 채움 + 진한 글자**로 둔다([hover]에서만 한 단계 진해진다). */
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-strong); color: var(--cta-ink); }
.btn-secondary { background: #f2f4f6; color: var(--ink); }
.btn-secondary:hover { background: #e5e8eb; color: var(--ink); }
/*  ★ 2026-10-06 — 카카오톡 상담 버튼은 **카카오 노란색**으로 둔다(대표님 지시).
 *  왜: 초록·회색 버튼으로 두면 "또 하나의 우리 버튼"으로 읽혀 **어디로 가는지**가 안 보인다.
 *     카카오 채널 버튼은 노란색이 관례라, 색만 봐도 카카오톡인 것을 안다.
 *  ⚠️ 글자색은 카카오 규칙대로 어두운 색(#191919) — 노란 배경에 흰 글자는 읽히지 않는다.
 *  ⚠️ 이 규칙은 `.btn-secondary` **뒤**에 있어야 이긴다(특이도가 같다). */
.btn-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.btn-kakao:hover { background: #f2d900; border-color: #f2d900; color: #191919; }
.btn-kakao small { color: #4a3b00; }
.btn-quiet { background: #f2f4f6; color: var(--ink-soft); }
.btn-quiet:hover { background: #e5e8eb; color: var(--ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: grid; gap: 10px; }
@media (min-width: 620px) { .btn-row { grid-template-columns: 1fr 1fr; } .btn { width: auto; } }

/* ── 폼 ────────────────────────────────────────────────────────────────── */
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 5px; font-size: 0.97rem; }
.field label small { display: block; font-weight: 500; font-size: 0.85rem; color: var(--ink-faint); margin-top: 2px; }
.field .hint { display: block; font-size: 0.85rem; color: var(--ink-faint); font-weight: 500; margin-bottom: 6px; }
/* ⚠️ password 를 빠뜨리면 후기 게시판의 비밀번호 칸만 스타일 없이 브라우저 기본 모양으로 남는다
   (order.html·support.html 에는 password 칸이 없어서 여태 드러나지 않았다). */
/*  ⚠️ 2026-10-07: 입력칸을 **연회색 채움 + 테두리 없음**으로 바꿨다(토스 입력칸 방식).
 *     흰 배경 + 회색 테두리는 "칸"보다 "표"처럼 보였고, 1px 테두리는 클릭 영역도 좁아 보였다.
 *  ⚠️ font-size 는 **1rem(16px) 을 유지**한다 — 16px 미만이면 iOS 사파리가
 *     입력할 때 화면을 확대해 버려서, 주문서 작성 중에 화면이 튄다.
 *  ⚠️ 초점 표시는 outline 을 없애는 대신 **2px 진한 테두리 + 3px 옅은 고리**로 준다(키보드 사용자). */
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px; border: 1px solid transparent; border-radius: 12px; background: #f2f4f6;
  appearance: none; -webkit-appearance: none;
}
.field textarea { line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--cta-strong);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.18);
}
.field input[readonly] { background: #eceef2; color: var(--ink-soft); }
/*  ★ 2026-10-07 — 동의 체크박스 터치 영역.
 *  왜: 실측 19×19px 이고 `cursor: default` 였다 — WCAG 2.5.8(24×24) 미달이고,
 *     "눌러도 되는 것"이라는 신호도 없었다. 체크박스 하나라도 잘못 누르면
 *     **청약철회 제한 동의**가 어긋나므로, 주문서에서 가장 정확해야 하는 부품이다. */
.checkline {
  display: flex; gap: 10px; align-items: center; font-size: 0.95rem;
  margin: 0 0 12px; min-height: 44px; padding: 4px 0; cursor: pointer;
}
.checkline input { margin: 0; width: 22px; height: 22px; flex: none; accent-color: var(--cta); }

/* ── 상태/진행 ─────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps > li { position: relative; padding: 0 0 18px 46px; counter-increment: s; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps > li > h3 { margin-bottom: 3px; }
.steps > li > p:last-child { margin-bottom: 0; }

/*  상태 배지 — 색의 의미를 네 가지로 고정한다 (2026-10-06).
 *    노랑 = 고객이 할 일 / 파랑 = 저희가 처리 중 / 초록 = 완료 / 회색 = 정상 종료
 *  ⚠️ `white-space: nowrap` 이 없으면 좁은 표 칸에서 "입금 / 대기" 처럼 **두 줄로 쪼개진다**
 *     (2026-10-06 대표님 제보 사진). 배지는 한 줄로 고정한다. */
.status-badge {
  display: inline-block; font-weight: 800; font-size: 0.9rem;
  padding: 4px 11px; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--ink-soft);
  white-space: nowrap; line-height: 1.35;
}
.status-pending { background: #fff6e8; border-color: var(--warn-line); color: var(--warn-ink); }
.status-progress { background: #eef4ff; border-color: rgba(49, 130, 246, 0.55); color: var(--cta-strong); }
.status-paid { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.status-neutral { background: var(--bg-soft); border-color: var(--line); color: var(--ink-faint); }

/*  상태 범례 (lookup.html) — 표 대신 카드 목록.
 *   왜 바꿨나: 3열 표에서는 첫 칸이 좁아 배지가 두 줄로 깨지고, "뜻"과 "하실 일"이
 *   나란히 놓여 읽는 순서가 헷갈렸다(2026-10-06). 배지 + 설명 2줄로 세로로 읽는다. */
.status-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.status-legend > li {
  display: grid; grid-template-columns: 122px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px 16px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px;
}
.status-legend .st-meaning { margin: 0 0 2px; font-weight: 800; font-size: 0.97rem; }
.status-legend .st-action { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 560px) {
  .status-legend > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

.loading, .error-text { color: var(--ink-faint); font-size: 0.95rem; }
.error-text { color: var(--danger-ink); font-weight: 700; }
.kv { margin: 0 0 16px; }
.kv .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.97rem;
}
.kv .row:last-child { border-bottom: none; }
.kv .k { color: var(--ink-soft); font-weight: 700; flex: none; }
.kv .v { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 0.92em; }

/* ── 약관/정책 문서 ────────────────────────────────────────────────────── */
.doc { padding-bottom: 30px; }
.doc h2 { margin-top: 1.8em; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.doc h2:first-of-type { margin-top: 0; border-top: none; }
.doc h3 { margin-top: 1.4em; }
.doc .meta { color: var(--ink-faint); font-size: 0.9rem; }
.doc .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.doc .toc ol { margin: 0; padding-left: 1.3em; }

/* ── AI 상담 ───────────────────────────────────────────────────────────── */
.chat-log {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  min-height: 120px; max-height: 46vh; overflow-y: auto; padding: 12px; margin: 0 0 12px;
}
.msg { margin: 0 0 12px; display: flex; }
.msg .bubble {
  max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 0.97rem;
  white-space: pre-wrap; word-break: keep-all;
}
.msg.user { justify-content: flex-end; }
.msg.user .bubble { background: var(--brand); color: #fff; }
.msg.ai .bubble { background: var(--bg-soft); border: 1px solid var(--line); }
.msg.sys .bubble { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-weight: 700; }
.chat-form { display: flex; gap: 8px; }
.chat-form input {
  flex: 1; font-family: inherit; font-size: 1rem; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px;
}
.chat-form button {
  flex: none; font-family: inherit; font-weight: 800; font-size: 1rem;
  padding: 12px 18px; border-radius: 10px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; cursor: pointer;
}
.chat-form button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── 푸터 (법정 사업자 정보 고지 포함) ─────────────────────────────────── */
.site-footer {
  background: var(--bg-deep); color: #e6e8ee; padding: 26px 0 34px; font-size: 0.93rem;
  margin-top: 10px;
}
.site-footer a { color: #a8c6ff; }
.site-footer a:hover { color: #d6e4ff; }
.site-footer h2 { font-size: 1.02rem; color: #fff; margin: 0 0 10px; }
.site-footer .links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 18px; }
.site-footer .links a { font-weight: 700; }
.biz-info {
  border: 1px solid #4b505c; border-radius: 10px; padding: 13px 14px;
  background: #1b1e25; font-size: 0.9rem; line-height: 1.85;
}
.biz-info .blk { margin: 0 0 6px; }
.biz-info .blk:last-child { margin-bottom: 0; }
.biz-info .lbl { color: #9aa3b2; font-weight: 700; }
.biz-info .tbd { background: #4a3a12; border-color: #d9a53b; color: #ffe6a8; }
.footer-note { color: #9aa3b2; font-size: 0.87rem; margin: 16px 0 0; }

/* ── 꼬리말 격자·접이식 사업자정보 (2026-10-05 세련도 개선) ─────────────── */
.foot-grid { display: grid; gap: 22px; }
.foot-logo { font-size: 1.15rem; font-weight: 800; color: #fff; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.foot-logo .dot { color: #6f9bff; }
/* 꼬리말 로고 마크 — 어두운 배경 위라 크기를 조금 키운다 */
.foot-mark { display: block; width: 34px; height: 34px; flex: none; }
.foot-tag { color: #9aa3b2; font-size: 0.92rem; margin: 0; }
.foot-col h2 { font-size: 0.95rem; color: #fff; margin: 0 0 10px; letter-spacing: 0.02em; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot-col a { color: #b9c6da; font-size: 0.92rem; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
}

/* 접이식 사업자정보 — 경쟁 제품과 같은 관행. 내용은 DOM 안에 그대로 있다. */
.biz-fold {
  margin: 26px 0 0; border-top: 1px solid #343946; padding-top: 14px;
}
.biz-fold > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  color: #cfd6e4; font-weight: 700; font-size: 0.93rem; padding: 4px 0;
}
.biz-fold > summary::-webkit-details-marker { display: none; }
.biz-fold > summary::after {
  content: "\2304"; font-size: 0.9rem; color: #8b93a5; transition: transform .15s ease;
}
.biz-fold[open] > summary::after { transform: rotate(180deg); }
.biz-fold > summary:hover { color: #fff; }
.biz-fold[open] > summary { margin-bottom: 12px; }
.biz-fold .biz-info { margin-top: 0; }

/* ── 인쇄 ──────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .doc h2 { break-after: avoid; }
}

/* ============================================================================
   디자인 1차 개선 (2026-10-05)
   · 외부 이미지·폰트·스크립트는 여전히 0개다(개인정보처리방침의 "추적 없음" 유지).
   · 아래 규칙은 기존 규칙을 **덮어쓰기만** 한다 — 다른 페이지 마크업을 깨지 않는다.
   ========================================================================== */

/* ── 넓은 화면의 여백 리듬 ─────────────────────────────────────────────── */
@media (min-width: 760px) {
  section { padding: 38px 0; }
  .hero { padding: 46px 0 42px; }
  .hero .lead { font-size: 1.14rem; max-width: 46em; }
}

/* ── 히어로 신뢰 3줄 (마크업: ul.trust) ────────────────────────────────── */
.trust { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 7px; }
.trust li { position: relative; padding-left: 24px; font-weight: 700; }
.trust li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--ok-line); font-weight: 800;
}
@media (min-width: 760px) {
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }
}

/* ── 통계 띠 (마크업: section.stat-strip > ul.stats) ─────────────────────
   ⚠️ 여기 숫자는 **사실만** 쓴다. "최대 +20%" 같은 보장형 수치는 이 사이트에 넣지 않는다
      (측정 근거를 공개하지 못하는 수치는 표시하지 않는다는 규칙 — s-measure 섹션 참조). */
.stat-strip { background: var(--bg-deep); border-bottom: none; padding: 26px 0; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.stats li { display: grid; gap: 2px; }
.stats strong {
  display: block; color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em;
}
.stats span { color: #c8cede; font-size: 0.95rem; font-weight: 700; }
.stats small { display: block; color: #9aa3b2; font-weight: 500; font-size: 0.86rem; }
@media (min-width: 760px) {
  /*  ⚠️ 2026-10-06: 실측 예시(220→310 FPS) 항목이 늘어 4개가 됐다.
      좁은 화면은 2열(구분선 없음 — 2열에서는 선이 어긋난다), 넓은 화면은 4열 + 구분선. */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 34px; }
  .stats strong { font-size: 1.5rem; }
}
@media (min-width: 1080px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats li + li { border-left: 1px solid #3a3f4b; padding-left: 30px; }
}


/* ── 히어로 2단 (마크업: .hero-grid > .hero-copy + figure.hero-shot) ─────
   실제 앱 화면(src/assets/screenshot-main.png)을 오른쪽에 둔다.
   1000px 미만에서는 글 → 버튼 → 화면 순으로 세로로 쌓인다. */
.hero-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 44px; }
  /* 두 단으로 나뉘면 왼쪽 폭이 좁아져 3열 신뢰 문구가 어절마다 접힌다 → 한 줄씩 쌓는다 */
  .hero-grid .trust { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}
.hero-shot { margin: 0; }
.hero-shot img {
  display: block; width: 100%; height: auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.hero-shot figcaption { margin-top: 9px; font-size: 0.86rem; color: var(--ink-faint); }

/* ── 접이식 도움말 (마크업: details.fold-help) ───────────────────────────
 *  ★ 2026-10-07 — 왜 만들었나: 주문서 앞에 펼쳐진 '준비물 3단계'가 폼을 화면 밖으로
 *     밀어냈고, 정작 값(금액)은 더 아래에 있었다. 안내는 **접어서** 두고 필요할 때 펼친다.
 *  ⚠️ `<details>` 를 쓴다 — 버튼+JS 로 만들면 스크립트가 막힌 환경에서 내용이 아예 안 보인다.
 *  ⚠️ 누를 수 있는 영역은 44px 이상(모바일 터치 기준). */
.fold-help {
  background: var(--bg-soft); border-radius: 14px; margin: 0 0 var(--sp-5);
}
.fold-help > summary {
  list-style: none; cursor: pointer;
  min-height: 52px; padding: 14px 16px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--ink);
}
.fold-help > summary::-webkit-details-marker { display: none; }
.fold-help > summary::after {
  content: "＋"; margin-left: auto; color: var(--ink-faint); font-weight: 700;
}
.fold-help[open] > summary::after { content: "－"; }
.fold-help > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.fold-help > *:not(summary) { padding: 0 16px; }
.fold-help .steps > li:last-child { padding-bottom: 6px; }
.fold-help > *:last-child { padding-bottom: 16px; }

/*  ★ 2026-10-07 — 개인정보·보안 태도 블록(`.trust-sec`).
 *  왜: 서버·코드에만 반영한 보안 조치는 **고객이 알 수 없다.** 파는 자리에서 한 번은
 *     말해 줘야 신뢰가 된다. 새 구역을 만들지 않고 안전장치 구역 끝에 붙여 길이를 늘리지 않았다.
 *  ⚠️ 카드가 아니라 **구분선 + 작은 제목**으로 둔다 — 카드로 만들면 "또 하나의 기능"으로 읽히고,
 *     여기서 팔 것은 기능이 아니라 태도다. */
.trust-sec { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line-soft); }
.trust-sec h3 { font-size: 1rem; margin-bottom: var(--sp-3); }
.trust-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.trust-sec li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--ink-soft); }
.trust-sec li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ok-ink); font-weight: 800;
}
.trust-sec li strong { color: var(--ink); }

/* ── AI 차별점 구역 (마크업: section#s-ai) ──────────────────────────────
 *  ★ 2026-10-07 — 대표님이 "우리만의 차별점"이라고 하신 자리다. 그래서 **다른 구역과 다르게**
 *     보이게 둔다: 두 카드를 나란히 두고, 왼쪽(분석)을 브랜드 틴트로 올린다.
 *  ⚠️ 새 색을 만들지 않는다 — 이미 있는 `--tint-bg`/`--tint-ink`(토스식 보조 파랑)만 쓴다.
 *  ⚠️ 카드가 2장이라 좁은 화면에서는 세로로 쌓인다(1열). */
.ai-split { display: grid; gap: var(--sp-4); margin: var(--sp-4) 0 0; }
@media (min-width: 820px) { .ai-split { grid-template-columns: 1.06fr 1fr; align-items: start; } }
.ai-card {
  border: 1px solid var(--line-soft); border-radius: 16px; background: #fff;
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.ai-card-main { background: var(--tint-bg); border-color: #cfe4ff; }
.ai-card h3 { margin: 0 0 var(--sp-3); font-size: 1.08rem; }
.ai-card p { margin: 0 0 var(--sp-3); font-size: 0.96rem; color: var(--ink-soft); }
.ai-card p strong, .ai-card li strong { color: var(--ink); }
.ai-card ul { margin: 0 0 var(--sp-3); padding-left: 1.1em; font-size: 0.95rem; color: var(--ink-soft); }
.ai-card li { margin-bottom: 6px; }
.ai-card .ai-foot { margin: 0; font-size: 0.88rem; color: var(--ink-faint); }
.ai-card .ai-foot .btn { margin-top: var(--sp-3); }
.ai-cta { margin: var(--sp-5) 0 0; max-width: 420px; }

/* ── 카드 반응 (마우스가 있는 환경에서만) ──────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .card { transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease; }
  .card:hover { box-shadow: var(--shadow-md); border-color: #c7cdd9; transform: translateY(-1px); }
}

/* ── 마지막 행동 유도 띠 (마크업: section.cta-band) ────────────────────── */
.cta-band { background: var(--bg-deep); color: #eef1f7; border-bottom: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8cede; }
.cta-band .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ── 키보드 포커스 (접근성) ───────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: #a8c6ff; }

/* ── 표 가독성 ────────────────────────────────────────────────────────── */
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: #fafbfe; }

/* ── 고정 헤더에 제목이 가려지지 않게(앵커 이동) ──────────────────────── */
section > .wrap > h2[id], .doc h2[id] { scroll-margin-top: 84px; }

/*  ⚠️ 2026-10-07: 제목 아래에 짧은 파란 선(::after)을 그리던 장식을 **뺐다**.
 *     섹션마다 같은 선이 반복되면 "디자인된 문서"가 아니라 "템플릿"으로 읽히고,
 *     정작 읽어야 할 제목 글자보다 장식이 먼저 눈에 들어왔다(UI 검토 지적).
 *     위계는 글자 크기와 여백으로만 만든다. */

/* ── FAQ 아코디언 (2026-10-05 · 접이식으로 교체) ──────────────────────────
   ⚠️ 예전에는 질문/답을 2열로 펼쳐 뒀는데, ① 질문과 답이 다른 열로 갈라지고
      ② 페이지가 길어졌다. 이제 `<details>` 접이식이다.
   ⚠️ 마크업은 반드시 `<details><summary>` 를 쓴다 — 버튼+JS 로 만들면
      스크립트가 막힌 환경에서 답이 아예 안 보인다(그리고 검색엔진이 못 읽는다). */
.faq-head { text-align: center; margin: 0 0 26px; }
.faq-head .pill {
  display: inline-block; background: var(--brand-soft); color: var(--brand-deep);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 13px; border-radius: 999px; margin: 0 0 12px;
}
.faq-head h2 { margin: 0 0 10px; }
.faq-head > p:last-child { color: var(--ink-soft); margin: 0 auto; max-width: 36em; }
.faq-list { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
/* 그룹 라벨 — 문항이 20개를 넘어가면서 "제품·결제" 와 "앱 사용법" 을 나눈다 */
.faq-group {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin: 20px 0 2px; font-size: 0.86rem; font-weight: 800;
  letter-spacing: 0.04em; color: var(--brand-deep);
}
.faq-group small { font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.faq-item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; font-weight: 800; font-size: 1.02rem; color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: none; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-item[open] > summary::after { transform: rotate(225deg); }
.faq-item[open] { border-color: var(--line); }
.faq-item > .a { padding: 0 20px 20px; color: var(--ink-soft); font-size: 0.97rem; }
.faq-item > .a p:last-child, .faq-item > .a ul:last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .faq-item > summary:hover { background: #fafbfe; }
}

/* ── 모션 최소화 설정을 존중 ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ============================================================================
   세련도 2차 개선 (2026-10-05) — 경쟁 제품 대비 "초라하다" 는 지적에 대한 대응
   · 원칙은 그대로: 외부 이미지·폰트·스크립트 0개, 문구(주장) 변경 없음
   ========================================================================== */

/* ── 섹션 눈썹 라벨 (마크업: <h2 data-eyebrow="기능">) ───────────────────── */
section > .wrap > h2[data-eyebrow]::before {
  content: attr(data-eyebrow);
  display: block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.09em;
  color: var(--brand); margin-bottom: 7px;
}
.cta-band > .wrap > h2[data-eyebrow]::before { color: #9ec0ff; }

/*  ⚠️ 2026-10-07: 히어로 배경의 도트 그리드(::after)를 **뺐다**.
 *     텍스트 뒤에 점 무늬가 깔리면 작은 글씨(캡션·각주)의 대비가 눈에 띄게 떨어지고,
 *     "질감"보다 "노이즈"로 읽혔다. 배경은 흰색 한 겹으로 둔다. */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }

/* ── 카드 다듬기 ──────────────────────────────────────────────────────── */
/*  ⚠️ 2026-10-07: 카드 제목 앞의 작은 파란 사각형(::before)을 뺐다.
 *     카드마다 같은 점이 붙으면 시선만 끌고, 제목 글자와의 위계를 흐린다. */
.card p { font-size: 0.95rem; }

/* ── 가격·버튼 마감 ───────────────────────────────────────────────────── */
.price { font-size: 1.5rem; letter-spacing: -0.01em; }
/*  ⚠️ 그림자는 **결제 버튼 하나에만** 준다. 모든 버튼에 깔면 어느 것이 주 행동인지가 사라진다. */
.btn-primary { box-shadow: 0 4px 14px rgba(49, 130, 246, 0.25); }
.btn-secondary, .btn-quiet { box-shadow: none; }
.hero-shot img { border-radius: 14px; }

/* ── 구매 유도 장치 (2026-10-05) ──────────────────────────────────────────
   대표님 지시: "너무 노골적으로 결제 유도를 해서는 안 되며, 은은하게 유도."
   → 새 섹션을 만들지 않고, **이미 읽고 있는 자리**에 값을 한 줄씩 얹는 방식만 쓴다.
   → 강조색은 파랑 하나(--cta)만. 주황·빨강·형광은 쓰지 않는다.
   → 없는 혜택·없는 숫자를 쓰지 않는다(문구는 실제 기능에서만 나온다). */

/* '추천' 꼬리표 — 요금제로 가는 버튼에만 붙인다(모든 버튼에 남발하지 않는다). */
.btn-flag {
  display: inline-block; vertical-align: 2px; margin-right: 6px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.01em;
  color: var(--tint-ink); background: #fff;
}
/*  ★ 2026-10-07 — '추천' 버튼은 회색 테두리 대신 **파란 틴트 채움**으로 바꿨다.
 *  왜: 회색 채움 + 파란 테두리 조합이 "선택된 회색 버튼"으로 보였고, 페이지 곳곳의
 *     보조 버튼과 구분이 안 됐다. 색으로 "이건 우리가 권하는 길"임을 한눈에 알린다. */
.btn-recommend { background: var(--tint-bg); color: var(--tint-ink); }
.btn-recommend:hover { background: #d7e9ff; color: var(--tint-ink); }

/* 히어로: 무료 / 이용권이 각각 무엇을 주는지 한 줄로 나란히 */
.hero-value {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0 4px; font-size: 0.9rem; color: var(--ink-soft);
}
.hero-value span {
  padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--ink-soft);
}
.hero-value strong { color: var(--ink); }

/*  ★ 2026-10-07 — 첫 화면 가격 한 줄.
 *  왜: 판매 대문인데 금액이 네 섹션 뒤에 있었다(구매 결정의 첫 질문에 답이 없었다).
 *  ⚠️ 정가 취소선 없음 — 실제 판매 이력이 없는 가격을 기준가로 쓰지 않는다(pricing.html 규칙).
 *  ⚠️ 값이 없으면 이 요소는 hidden 이다(서버 요금제를 못 받으면 가격을 지어내지 않는다). */
.hero-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin: 18px 0 0;
}
.hero-price strong {
  font-size: 2rem; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.2;
}
/*  ⚠️ 안내 문구는 **아랫줄로 내린다**(flex-basis:100%). 금액 옆에 붙여 두면
 *     좁은 화면에서 "29,900원 1회 결제 · 평생..." 처럼 한 줄에 뭉쳐 읽힌다. */
.hero-price-meta { flex-basis: 100%; color: var(--ink-faint); font-size: 0.9rem; }
.hero-price-flag {
  align-self: center; padding: 3px 9px; border-radius: 999px;
  background: var(--tint-bg); color: var(--tint-ink);
  font-size: 0.78rem; font-weight: 700;
}

/* 앱 화면 캡션: 이용권을 등록하면 달라지는 것 (스크린샷을 보는 자리에서) */
.shot-hint {
  display: block; margin-top: 7px; padding: 7px 11px;
  background: var(--bg-soft); border-left: 3px solid var(--cta);
  border-radius: 6px; color: var(--ink); font-size: 0.86rem;
}

/* 가격 섹션: 누구에게 권하는지 / 누구에게는 불필요한지 솔직하게 나눠 적는다 */
.price-guide {
  margin: 14px 0 0; padding: 14px 16px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--ink-soft);
}
.price-guide strong { color: var(--ink); }

/* 요금제 카드 안의 한 줄 권유 (site.js renderPlans)
   ⚠️ `.card p`(0,1,1)가 색·크기를 덮으므로 선택자를 `.card .plan-pitch` 로 올린다. */
.card .plan-pitch {
  margin: 10px 0; padding: 10px 12px;
  background: #f6faff; border: 1px solid rgba(49, 130, 246, 0.28);
  border-radius: 10px; font-size: 0.92rem; color: var(--ink);
}
.tag-recommend { background: var(--cta); color: #fff; }

/* "무료로도 충분한데 사야 하나요" — 가장 센 반론을 먼저 꺼내 놓고 답한다 */
.objection-sell { background: #f6faff; border-color: rgba(49, 130, 246, 0.35); }

/* ── 보안 검사 결과 (download.html#security, 2026-10-06) ────────────────────
   값이 있으면 결과 요약, 없으면 "준비 중" 안내가 나온다(build.py 의 empty gate). */
.security-summary { font-size: 1.05rem; font-weight: 800; color: var(--ok-ink); margin: 0 0 6px; }
.security-meta { font-size: 0.9rem; color: var(--ink-faint); }

/* 미성년자 고지 — 결제 화면에서는 **한 줄·흐린 글씨**로만 (2026-10-06 대표님 지시).
   ⚠️ 숨기지는 않는다: 전자상거래법 제13조 제3항의 고지 의무가 걸려 있다.
      시각적 무게만 낮춘다(경고 상자 → 각주). */
.minor-note {
  margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-faint); line-height: 1.5;
}

/* ── 백신 검사 결과 (2026-10-06) ──────────────────────────────────────────
   대표님 지시: "대문짝만하게 홍보하되 기존 UI 를 해치지 않게."
   → 새 색을 만들지 않고 사이트 토큰(파랑·초록)만 쓴다. 숫자(0/52)를 크게, 나머지는 작게.
   → 값이 없으면 build.py 가 구역을 통째로 감춘다(빈 배지를 남기지 않는다). */
.scan-check {
  display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 50%; background: var(--ok-line); color: #fff;
  font-size: 0.75rem; font-weight: 800; vertical-align: 1px;
}
.hero-scan {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-soft);
}
.hero-scan strong { color: var(--ink); }
.hero-scan a { font-weight: 700; }

/* 다운로드 페이지 상단 한 줄 — 버튼 바로 아래에 둔다 */
.scan-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 14px 0 0; padding: 11px 14px;
  background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius);
  font-size: 0.95rem; color: var(--ok-ink);
}
.scan-top a { margin-left: auto; font-weight: 700; }
.scan-top-meta { font-size: 0.85rem; color: var(--ink-faint); }

/*  결제·요금제 화면의 안심 한 줄 — 여기서는 **초록 상자를 또 만들지 않는다**.
 *  상자를 여러 개 두면 배너처럼 읽혀 광고가 되고, 정작 다운로드 페이지의 배지가 묻힌다.
 *  담백한 한 줄(체크 + 사실 + 링크)로만 둔다 (2026-10-06). */
.scan-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-soft);
}
.scan-inline strong { color: var(--ink); }

/* 큰 배지 — 숫자는 크게, 설명은 오른쪽 */
.scan-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin: 12px 0 0; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.scan-box-wide { margin-top: 16px; }
.scan-gauge {
  flex: none; width: 132px; height: 132px; border-radius: 50%;
  border: 6px solid var(--ok-line); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.scan-num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--ok-ink); }
.scan-den { font-size: 0.85rem; font-weight: 700; color: var(--ink-faint); }
.scan-cap { margin-top: 3px; font-size: 0.75rem; color: var(--ink-faint); }
.scan-text { flex: 1 1 260px; min-width: 0; }
.scan-headline { margin: 0 0 8px; font-size: 1.06rem; }
.scan-meta { margin: 0 0 6px; font-size: 0.86rem; color: var(--ink-faint); word-break: break-all; }
.scan-flag {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; vertical-align: 2px;
}
.scan-flag.ok { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); }
.scan-flag.warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }

/* 실제 검사 화면 캡처 */
.scan-shot { margin: 18px 0 0; }
.scan-shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 12px; background: #0b1220;
}
.scan-shot figcaption { margin-top: 9px; font-size: 0.86rem; color: var(--ink-faint); }

/* 추가 해시(SHA-1·MD5) — 기본은 접어 두고 필요할 때만 펼친다 (2026-10-06) */
.hash-extra { margin: 14px 0 0; }
.hash-extra > summary {
  cursor: pointer; font-weight: 700; font-size: 0.92rem; color: var(--cta-strong);
}
.hash-extra > summary:hover { text-decoration: underline; }
.hash-extra table { margin-top: 10px; }
.hash-extra-note { margin: 8px 0 0; font-size: 0.86rem; color: var(--ink-faint); }

/*  ★ 2026-10-07 — "상태별 안내 3카드"(.status-cards/.status-card) 규칙은 **지웠다**.
 *     홈에서 그 구역을 삭제했다(첫 화면·헤더와 버튼이 중복). 쓰이지 않는 CSS 는
 *     "이 클래스 어디 쓰지?" 를 만들고, 실제로 지우다가 **규칙 몸통만 남겨 CSS 를 깨뜨렸다**
 *     (선택자 줄만 지워져 선언 블록이 떠 있었다). 그래서 주석으로 자리를 남긴다. */

/* 중간 CTA — 근거 섹션 다음에 오는 한 줄짜리 재진입점 */
.mid-cta { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.mid-cta p { margin: 0 0 14px; font-size: 1.02rem; color: var(--ink-soft); }
.mid-cta p strong { color: var(--ink); }

/* "입금했습니다" 신고 결과 안내 (order.html 결과 상자) */
.claim-note { margin: 8px 0 0; font-size: 0.9rem; color: var(--ink-soft); min-height: 1.2em; }

/* ── 사용자 후기 게시판 (2026-10-06, reviews.html) ──────────────────────────
   ⚠️ 이 게시판의 신뢰는 "예쁜 카드"가 아니라 **누가 썼는지 보이는 것**에서 온다.
      그래서 ① 별점과 ② 이용권 인증 딱지와 ③ 작성 시각을 카드 머리에 한 줄로 모은다. */
.review-summary {
  display: grid; gap: 18px; align-items: center;
  padding: 20px 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .review-summary { grid-template-columns: 190px minmax(0, 1fr); } }
.sum-score { margin: 0; text-align: center; }
.sum-score strong { display: block; font-size: 2.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.sum-score span { display: block; color: var(--ink-faint); font-size: 0.92rem; margin-top: 4px; }
.sum-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sum-bars li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 0.88rem; }
.sum-bars .s { color: var(--ink-soft); }
.sum-bars .bar { display: block; height: 8px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.sum-bars .bar span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .25s ease; }
.sum-bars .n { color: var(--ink-faint); text-align: right; }

.review-gate { display: grid; gap: 10px; align-items: end; }
@media (min-width: 620px) { .review-gate { grid-template-columns: minmax(0, 1fr) auto; } }
.review-gate label { display: block; font-weight: 800; font-size: 0.97rem; margin-bottom: 5px; }
/*  기기 확인 상태 — 입력칸 라벨 옆에 결과를 남긴다(2026-10-06).
 *  ⚠️ 예전에는 확인 후 입력칸을 감춰서 "무엇으로 확인했는지"가 사라졌다(대표님 지적). */
.review-gate label .gate-state { font-weight: 600; font-size: 0.85rem; color: var(--ink-faint); margin-left: 6px; }
.review-gate label .gate-state-ok { color: #067647; font-weight: 800; }
.review-gate label .gate-state-warn { color: #b42318; font-weight: 800; }
.review-gate input {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.review-gate input:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand); }
.review-gate .btn { width: 100%; }
@media (min-width: 620px) { .review-gate .btn { width: auto; } }

.review-mine {
  margin: 0 0 14px; padding: 11px 14px; background: var(--brand-soft);
  border-radius: 10px; font-weight: 700; font-size: 0.95rem;
}
.review-form {
  margin-top: 8px; padding: 20px 18px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.form-title { margin: 0 0 14px; font-weight: 800; font-size: 1.06rem; }
.form-hint { margin: 0 0 12px; font-size: 0.86rem; color: var(--ink-faint); }
.form-msg { margin: 10px 0 0; font-size: 0.92rem; font-weight: 700; }
.form-msg-warn { color: #b42318; }
.form-msg-ok { color: #067647; }

/* 별점 입력 — 라디오를 숨기고 라벨(★)만 보여준다.
   ⚠️ 마크업은 5→1 순서다. row-reverse 로 뒤집으면 (1) 화면에는 1→5 로 보이고
      (2) `input:checked ~ label` 이 **아래 점수**를 함께 칠할 수 있다. */
.rating-input { border: 0; padding: 0; margin: 0 0 16px; }
.rating-input legend { font-weight: 800; font-size: 0.97rem; margin-bottom: 6px; }
.rating-input legend small { font-weight: 500; font-size: 0.85rem; color: var(--ink-faint); margin-left: 6px; }
.rating-input .stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/*  ★ 2026-10-07 — 별점 탭 영역을 **44×44px** 로 키웠다.
 *  왜: 실측 34.4×30.4px 이었다(별 글자 크기 1.9rem 에 좌우 패딩 2px 뿐).
 *     별점은 후기에서 유일한 "점수" 입력이고, 폰에서 별을 잘못 누르면 점수가 달라진다.
 *  ⚠️ 별 아이콘 자체는 키우지 않는다 — 글자 크기는 그대로 두고 **누를 수 있는 상자만** 키운다. */
.rating-input label {
  font-size: 1.9rem; line-height: 1; color: var(--line); cursor: pointer;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .12s ease;
}
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #f5a623; }
/*  ⚠️ 초점 표시는 `--brand-soft`(연한 파랑)가 아니라 진한 `--brand` 로 — 연한 색은
 *     흰 배경에서 대비 1.08:1 이라 "초점이 어디 있는지"가 보이지 않았다(WCAG 2.4.11). */
.rating-input input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 1px; border-radius: 8px; }

.review-list { display: grid; gap: 12px; }
.review-empty { margin: 0; padding: 26px 18px; text-align: center; color: var(--ink-faint); background: var(--bg-soft); border-radius: 14px; }
/*  빈 게시판 초대장(2026-10-06) — 문단·버튼이 들어가므로 가운데 정렬만 유지하고 색을 올린다.
 *  ⚠️ 여기서 `display:inline-flex` 를 쓰면 **버튼 안 `<small>` 이 옆으로 붙는다**
 *     ("설치 파일 받기설치만 하면 확인됩니다" — 모바일 실측에서 실제로 이렇게 나왔다).
 *     기본 `.btn` 은 block + `small{display:block}` 이므로 display 는 건드리지 않고 폭만 줄인다. */
.review-empty p { margin: 0 0 10px; color: var(--ink-soft); }
.review-empty p strong { color: var(--ink); }
.review-empty .btn { width: auto; max-width: 320px; margin: 4px auto 0; }
.review-item {
  padding: 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 0.9rem; }
.review-nick { font-size: 0.98rem; }
/*  ★ 2026-10-06 — 디시식 익명 표기: 닉네임 옆에 **접속 IP 앞자리**를 붙인다.
 *  ⚠️ 괄호까지 그대로 보여준다(`ㅇㅇ (121.170)`) — 닉네임과 구분되어야 한다.
 *  ⚠️ 전체 IP 는 서버가 저장하지 않으므로 여기에도 나올 수 없다. */
.review-ip { color: var(--ink-faint); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
/*  설치 인증 — 기기 확인을 통과한 글(=실사용자)이라는 표시. 모든 글에 붙는다. */
.review-device {
  font-size: 0.78rem; font-weight: 800; color: #067647;
  background: #e7f6ee; border-radius: 99px; padding: 3px 9px;
}
.review-license {
  font-size: 0.78rem; font-weight: 800; color: var(--cta-strong);
  background: var(--brand-soft); border-radius: 99px; padding: 3px 9px;
}
.review-stars { color: #f5a623; letter-spacing: 1px; font-size: 1rem; }
.review-stars em { font-style: normal; color: var(--ink-faint); font-size: 0.82rem; margin-left: 5px; letter-spacing: 0; }
.review-when { margin-left: auto; color: var(--ink-faint); font-size: 0.85rem; }
.review-title { margin: 10px 0 6px; font-size: 1.06rem; }
.review-body { margin: 0 0 12px; color: var(--ink-soft); white-space: pre-wrap; word-break: break-word; }
.review-foot { display: flex; align-items: center; gap: 10px; }
.review-helpful {
  font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--bg); color: var(--ink-soft);
}
.review-helpful:hover { border-color: var(--brand); color: var(--cta-strong); }
.review-helpful[disabled] { opacity: 0.6; cursor: default; }
.review-helpful em { font-style: normal; color: var(--ink-faint); }
.review-edited { font-size: 0.82rem; color: var(--ink-faint); }

.review-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.review-pager .btn { width: auto; }
.review-pager .btn[disabled] { opacity: 0.45; cursor: default; }
.review-pagenow { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }
/*  ★ 2026-10-06 — 생성형 AI 사전 고지(AI 기본법 시행 2026-01-22 · 투명성 조항은 계도기간).
 *  왜 눈에 띄게 두나: 고지의 목적은 **읽히는 것**이다. 회색 작은 글씨로 숨기면 고지가 아니다. */
.ai-notice {
  margin: 14px 0 0; padding: 12px 14px; font-size: 0.94rem;
  background: var(--bg-soft); border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0; color: var(--ink-soft);
}
.ai-notice strong { color: var(--ink); }

.review-rules { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.review-rules li { margin-bottom: 8px; }
/*  후기 운영 정보(법정 공개 사항) — 전자상거래법 제21조의4 (2026-10-06).
 *  ⚠️ 다른 안내 상자와 섞이지 않게 목록 간격만 잡아 준다. 내용은 지우면 안 된다. */
.review-policy > ul { margin: 6px 0 0; padding-left: 20px; }
.review-policy > ul > li { margin-bottom: 9px; }
.review-policy > ul > li > ul { margin: 6px 0 0; padding-left: 18px; }
.review-policy > ul > li > ul > li { margin-bottom: 4px; font-size: 0.94rem; }
