@charset "utf-8";
/* ==========================================================================
   스마트파트너스 허브 — style.css (디자인 기준 v1)
   - 색·글꼴·크기·여백·모서리·그림자는 tokens.css(--sp-*)에서 가져옵니다.
     tokens.css에 없는 값은 아래 "0. 허브 전용 값"에만 둡니다.
   - 글자 내용과 줄 구조(display)는 원본과 같게 둡니다. 보이는 글자를 CSS로 만들지 않습니다.
   - 순서: 0 값 → 1 기초 → 2 글 묶음·버튼 → 3 알림 띠 → 4 머리 → 5 바로 문의 → 6 사진
           → 7 첫 화면 → 8 목차 → 9 카드 → 10 단계 → 11 표 → 12 질문 → 13 회사·방침
           → 14 문의·폼 → 15 영상 → 16 띠 → 17 바닥 → 18 하단바 → 19 화면 폭 → 20 밤 화면
   ========================================================================== */

/* ── 0. 허브 전용 값 ─────────────────────────────────────────────────────── */
:root {
  /* 주황 면: ?accent= 미리보기(main.js가 <html>에 --accent · --on-accent를 넣음)가 있으면 그것, 없으면 기준 값 */
  --c-accent: var(--accent, var(--sp-accent));
  --c-on-accent: var(--on-accent, var(--sp-on-accent));
  --c-focus: var(--sp-orange-600);          /* 흰 바탕 위 초점 테두리(3.8:1) */
  --c-arrow: var(--sp-accent-text);         /* 화살표 글자(흰 바탕 5.0:1) */
  --c-tag-bg: var(--sp-navy-50);
  --c-tag-line: var(--sp-navy-100);
  --c-tag-text: var(--sp-navy-800);
  --c-btn-line: var(--sp-navy-800);
  --c-btn-line-hover: var(--sp-navy-50);
  --c-card-hover-line: var(--sp-navy-200);
  --c-thead-bg: var(--sp-navy-50);
  --c-thead-text: var(--sp-navy-800);
  --c-thead-rule: var(--sp-navy-800);
  --c-ph-bg: var(--sp-gray-100);
  --c-ph-line: var(--sp-gray-300);
  --c-hero-top: var(--sp-navy-50);
  --c-hero-bottom: var(--sp-white);
  --c-step-line: var(--sp-navy-200);
  --hub-footer-bg: var(--sp-navy-900);
  --hub-footer-text: #cfd8ea;               /* 바닥 글자(네이비 900 위 10.7:1) — tokens.css에 없음 */
  --hub-footer-line: rgba(255, 255, 255, 0.14);  /* 바닥 구분선 */
  --hub-footer-ctl-line: rgba(255, 255, 255, 0.45); /* 바닥 버튼 테두리 · 링크 밑줄 */
  --hub-accent-glow: 0 1px 2px rgba(20, 35, 74, 0.10), 0 6px 16px -8px rgba(232, 116, 42, 0.55);       /* 주황 버튼 그림자 */
  --hub-accent-glow-hover: 0 2px 4px rgba(20, 35, 74, 0.10), 0 10px 22px -10px rgba(232, 116, 42, 0.65);
  --hub-header-shadow: 0 1px 0 rgba(20, 35, 74, 0.02), 0 6px 18px -14px rgba(20, 35, 74, 0.25);       /* 머리 아래 옅은 그림자 */
  --hub-dot-halo: rgba(232, 116, 42, 0.18);       /* 표지 앞 주황 점 둘레 */
  --header-h: var(--sp-header-h);

  /* 예전 이름(다른 곳에서 읽어도 같은 값이 나오도록 기준 값에 연결) */
  --ink: var(--sp-dk-bg);
  --ink-deep: var(--sp-navy-900);
  --ink-card: var(--sp-dk-surface);
  --ink-line: var(--sp-dk-line);
  --on-ink: var(--sp-dk-text);
  --on-ink-muted: var(--sp-dk-text-muted);
  --paper: var(--sp-bg);
  --mist: var(--sp-bg-soft);
  --line: var(--sp-line);
  --text: var(--sp-text);
  --text-muted: var(--sp-text-muted);
  --focus: var(--c-focus);
  --radius: var(--sp-radius-lg);
  --container: var(--sp-container);
  --gutter: var(--sp-gutter);
  --section-y: var(--sp-section-y);
  --font-sans: var(--sp-font);
}

/* ── 1. 기초 ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sp-font);
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-text);
  background: var(--sp-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sp-font);
  font-weight: var(--sp-weight-bold);
  line-height: var(--sp-lh-heading);
  letter-spacing: var(--sp-ls-heading);
  color: var(--sp-heading);
  text-wrap: balance;
}
p, figure, dl, dd { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
}

.sr-only {
  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 {
  position: absolute;
  left: 12px; top: -120px;
  z-index: 100;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 16px;
  background: var(--sp-bg); color: var(--sp-heading);
  font-weight: 700; text-decoration: none;
  border-radius: var(--sp-radius-sm);
  box-shadow: var(--sp-shadow-md);
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--sp-container) + var(--sp-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

.section { padding: var(--sp-section-y) 0; }
.paper { background: var(--sp-bg); }
.mist { background: var(--sp-bg-soft); }
.dark { background: var(--sp-bg); color: var(--sp-text); }
.section--tight-top { padding-top: 0; }
.nowrap { white-space: nowrap; }

/* ── 2. 글 묶음 · 버튼 ──────────────────────────────────────────────────── */
/* 눈썹 글: 주황 막대 + 네이비 굵은 글자 */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: var(--sp-fs-caption); font-weight: 700; line-height: 1.4;
  letter-spacing: var(--sp-ls-label);
  color: var(--sp-heading);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px; height: 4px;
  border-radius: 2px;
  background: var(--c-accent);
}

.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: var(--sp-fs-h2); }
.section-head__aside {
  margin-top: 16px;
  max-width: 36em;
  font-size: var(--sp-fs-body-lg);
  line-height: 1.7;
  color: var(--sp-text-muted);
}
@media (min-width: 961px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
    align-items: end;
  }
  .section-head--split .section-head__aside { margin-top: 0; padding-bottom: 6px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--sp-btn-h);
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--sp-radius-md);
  font-size: var(--sp-fs-body); font-weight: 700; line-height: 1.35;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--sp-dur) var(--sp-ease), border-color var(--sp-dur) var(--sp-ease),
    color var(--sp-dur) var(--sp-ease), box-shadow var(--sp-dur) var(--sp-ease), transform var(--sp-dur) var(--sp-ease);
}
.btn--accent {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-color: var(--c-accent);
  box-shadow: var(--hub-accent-glow);
}
.btn--accent:hover {
  background: color-mix(in srgb, var(--c-accent) 86%, var(--sp-white));
  border-color: color-mix(in srgb, var(--c-accent) 86%, var(--sp-white));
  box-shadow: var(--hub-accent-glow-hover);
}
.btn--accent:active { transform: translateY(1px); box-shadow: var(--sp-shadow-xs); }
.btn--line {
  background: var(--sp-surface);
  color: var(--sp-heading);
  border-color: var(--c-btn-line);
}
.btn--line:hover { background: var(--c-btn-line-hover); }
.btn--sm { min-height: var(--sp-btn-h-sm); padding: 8px 18px; font-size: var(--sp-fs-small); border-radius: var(--sp-radius-sm); }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .75; }
.btn .arw { color: var(--c-arrow); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 700;
  color: var(--sp-heading);
  text-decoration: none;
  border-bottom: 2px solid var(--c-tag-line);
  transition: border-color var(--sp-dur) var(--sp-ease);
}
.link-arrow:hover { border-bottom-color: var(--c-accent); }
.link-arrow .arw { color: var(--c-arrow); transition: transform var(--sp-dur) var(--sp-ease); }
.link-arrow:hover .arw { transform: translateX(3px); }

.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.section-foot .note { margin-top: 0; max-width: 46em; }
.section-foot .btn { flex: none; }

/* 표지(태그) */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  background: var(--c-tag-bg);
  border: 1px solid var(--c-tag-line);
  border-radius: var(--sp-radius-xs);
  font-size: var(--sp-fs-caption); font-weight: 700; line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-tag-text);
}
.tag--fill { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }

.note {
  margin-top: 24px;
  font-size: var(--sp-fs-small);
  line-height: 1.7;
  color: var(--sp-text-muted);
}
.note a, .case-aside a, .faq__a a { text-decoration: underline; text-underline-offset: 3px; }

/* ── 3. 맨 위 알림 띠 ───────────────────────────────────────────────────── */
.topbar {
  display: block;
  background: var(--sp-accent);
  color: var(--sp-on-accent);
  text-decoration: none;
  font-size: var(--sp-fs-caption); line-height: 1.5;
  --c-focus: var(--sp-on-accent);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2px 16px;
  min-height: 44px;
  padding-top: 9px; padding-bottom: 9px;
  text-align: center;
}
.topbar__text { color: var(--sp-on-accent); }
.topbar__text strong { font-weight: 700; }
.topbar__cta {
  font-weight: 700;
  color: var(--sp-on-accent);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  white-space: nowrap;
}
.topbar:hover .topbar__cta { text-decoration-thickness: 2px; }
.topbar:focus-visible { outline-offset: -4px; }
body[data-topbar="off"] .topbar { display: none; }

/* ── 4. 머리 ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--sp-bg);
  color: var(--sp-text);
  border-bottom: 1px solid var(--sp-line);
  box-shadow: var(--hub-header-shadow);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: none;
}
.brand__mark {
  display: block;
  font-family: var(--sp-font);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: var(--sp-heading);
  white-space: nowrap;
}
.brand__sub {
  display: block;
  margin-top: 4px;
  font-size: var(--sp-fs-caption); letter-spacing: -0.01em; line-height: 1.4;
  color: var(--sp-text-muted);
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: var(--sp-fs-small); font-weight: 500;
  color: var(--sp-text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--sp-radius-sm);
  transition: color var(--sp-dur) var(--sp-ease), background-color var(--sp-dur) var(--sp-ease);
}
.nav-link:hover { color: var(--sp-heading); background: var(--sp-bg-tint); }
.nav-link[aria-current="page"] { color: var(--sp-heading); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-accent);
}
.site-nav__cta { margin-left: 14px; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px;
  padding: 0 14px;
  background: var(--sp-surface);
  color: var(--sp-heading);
  border: 1.5px solid var(--sp-line-strong);
  border-radius: var(--sp-radius-md);
  font-size: var(--sp-fs-small); font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 16px; height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--sp-dur) var(--sp-ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ── 5. 바로 문의(머리 아래 전화 · 카톡) ───────────────────────────────── */
.first-contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 16px;
  background: var(--sp-bg);
  border-bottom: 1px solid var(--sp-line);
}
.first-contact a {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--c-btn-line);
  border-radius: var(--sp-radius-md);
  font-size: var(--sp-fs-body); font-weight: 700;
  color: var(--sp-heading);
  background: var(--sp-surface);
  text-decoration: none;
  transition: background-color var(--sp-dur) var(--sp-ease);
}
.first-contact__phone:hover { background: var(--c-btn-line-hover); }
.first-contact__kakao, .first-contact a.first-contact__kakao { background: var(--sp-kakao); border-color: var(--sp-kakao); color: var(--sp-kakao-ink); }
.first-contact a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* ── 6. 사진 자리 ───────────────────────────────────────────────────────── */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  overflow: hidden;
  background: var(--c-ph-bg);
  border: 1.5px dashed var(--c-ph-line);
  border-radius: var(--sp-radius-lg);
  color: var(--sp-text-muted);
  text-align: center;
}
.ph__label { font-size: var(--sp-fs-caption); font-weight: 500; line-height: 1.6; }
.ph__label b { display: block; font-weight: 700; color: var(--sp-text); }
.ph picture { position: absolute; inset: 0; }
.ph img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}
.ph.has-img { border-style: solid; border-color: transparent; background: var(--sp-surface-2); }
.ph.has-img img { opacity: 1; }
.ph.has-img .ph__label { visibility: hidden; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--band { aspect-ratio: 16 / 7; margin-top: clamp(40px, 5vw, 64px); border-radius: var(--sp-radius-xl); box-shadow: var(--sp-shadow-md); }
.ph--wide { aspect-ratio: 16 / 10; }
.ph__cap { margin-top: 12px; font-size: var(--sp-fs-caption); line-height: 1.5; color: var(--sp-text-muted); }

/* ── 7. 첫 화면 ─────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
  background: linear-gradient(180deg, var(--c-hero-top), var(--c-hero-bottom));
}
.hero:has(+ .toc) { padding-bottom: clamp(36px, 4.5vw, 60px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__media { min-width: 0; }
.hero .ph.has-img, .hero__grid > .ph {
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow-lg);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  padding: 7px 16px 7px 12px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow-xs);
  font-size: var(--sp-fs-caption); font-weight: 500; line-height: 1.5;
  color: var(--sp-heading);
}
.badge::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--hub-dot-halo);
}
.hero__title {
  font-size: var(--sp-fs-h1);
  line-height: 1.24;
  letter-spacing: -0.03em;
}
.hero__title-sub {
  display: block;
  margin-top: 12px;
  font-size: .6em; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--sp-text-muted);
}
.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: var(--sp-fs-lead);
  line-height: 1.75;
  color: var(--sp-text-muted);
}
.hero__facts {
  display: flex; flex-wrap: wrap;
  margin-top: 32px;
  border-top: 1px solid var(--sp-line);
}
.hero__facts li {
  position: relative;
  padding: 14px 20px 0 26px;
  margin-right: 20px;
  font-size: var(--sp-fs-small);
  font-weight: 500;
  color: var(--sp-heading);
}
.hero__facts li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%2314213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.8 7.2l2.1 2.1 4.3-4.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero__facts li + li { padding-left: 46px; border-left: 1px solid var(--sp-line); }
.hero__facts li + li::before { left: 20px; }
.hero--text { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--text .hero__title { max-width: 22em; }

/* 출처 목록 */
.sources { margin-top: 24px; border-top: 1px solid var(--sp-line); }
.sources li { border-bottom: 1px solid var(--sp-line); }
.sources a {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 44px;
  padding: 12px 0;
  text-decoration: none;
  font-size: var(--sp-fs-caption); font-weight: 500; line-height: 1.5;
  color: var(--sp-heading);
}
.sources a:hover .sources__t { text-decoration: underline; text-underline-offset: 3px; }
.sources__d { margin-top: 2px; font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); }
.source-line { margin-top: 18px; font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }

/* 숫자 판 */
.stat-panel {
  padding: clamp(24px, 3vw, 36px);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow-lg);
}
.stat-panel__head { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--sp-bg-tint);
  border-radius: var(--sp-radius-lg);
}
.stat { padding: 20px 22px 22px; }
.stat + .stat { border-left: 1px solid var(--sp-line); }
.stat__label { font-size: var(--sp-fs-caption); font-weight: 500; color: var(--sp-text-muted); }
.stat__value {
  margin-top: 6px;
  font-family: var(--sp-font-num);
  font-size: var(--sp-fs-stat);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--sp-heading);
  font-variant-numeric: tabular-nums;
}
.stat__value small { margin-left: 3px; font-size: max(15px, .4em); font-weight: 700; letter-spacing: 0; color: var(--sp-text-muted); }
.stat-panel__status { margin-top: 18px; font-size: var(--sp-fs-caption); line-height: 1.65; font-weight: 500; color: var(--sp-heading); }
.stat-panel__status span { font-weight: 400; color: var(--sp-text-muted); }

/* ── 8. 이 쪽 목차 ──────────────────────────────────────────────────────── */
.toc {
  background: color-mix(in srgb, var(--sp-bg) 94%, transparent);
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  backdrop-filter: saturate(1.4) blur(8px);
}
.toc__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; }
.toc__label { font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: var(--sp-ls-label); color: var(--sp-text-muted); }
.toc__list { display: flex; flex-wrap: wrap; gap: 8px; }
.toc__list a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-pill);
  background: var(--sp-surface);
  color: var(--sp-heading);
  font-size: var(--sp-fs-small); font-weight: 500; line-height: 1.3;
  text-decoration: none;
  transition: background-color var(--sp-dur) var(--sp-ease), border-color var(--sp-dur) var(--sp-ease), color var(--sp-dur) var(--sp-ease);
}
.toc__list a:hover { border-color: var(--c-card-hover-line); background: var(--sp-bg-tint); }
.toc__list a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ── 9. 카드 ────────────────────────────────────────────────────────────── */
/* 9-1. 사업 분야 카드 */
.lines { padding-top: 0; }
.lines__wrap { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--sp-line); }
.line-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.line-card {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 28px 26px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
  transition: border-color var(--sp-dur) var(--sp-ease), box-shadow var(--sp-dur) var(--sp-ease), transform var(--sp-dur) var(--sp-ease);
}
.line-card:hover { border-color: var(--c-card-hover-line); box-shadow: var(--sp-shadow-md); transform: translateY(-2px); }
.line-card__num {
  font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.08em; line-height: 1.4;
  color: var(--sp-accent-text);
  font-variant-numeric: tabular-nums;
}
.line-card__num::after { content: ""; display: inline-block; width: 20px; height: 3px; margin-left: 10px; vertical-align: middle; border-radius: 2px; background: var(--c-accent); }
.line-card h3 { font-size: var(--sp-fs-h3); }
.line-card h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--sp-radius-lg); }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.line-card__fit { margin: 0; font-size: var(--sp-fs-small); line-height: 1.65; color: var(--sp-text); }
.line-card__fit b { display: block; margin-bottom: 4px; font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: var(--sp-ls-label); color: var(--sp-accent-text); }
.line-card__closed {
  display: inline-block;
  margin-left: 4px; padding: 0 8px;
  background: var(--sp-surface-2);
  border: 1px solid var(--sp-line-strong);
  border-radius: var(--sp-radius-xs);
  font-size: var(--sp-fs-caption); font-weight: 700; line-height: 1.6;
  color: var(--sp-text-muted);
  white-space: nowrap;
}
.line-card__items { border-top: 1px solid var(--sp-line); }
.line-card__items li {
  position: relative;
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid var(--sp-line);
  font-size: var(--sp-fs-small); line-height: 1.6;
}
.line-card__items li::before { content: ""; position: absolute; left: 0; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--sp-navy-300); }
.line-card__prog { margin-top: auto; font-size: var(--sp-fs-caption); line-height: 1.6; color: var(--sp-text-muted); }
.line-card__prog strong { display: block; font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.line-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.line-card__more .arw { color: var(--c-arrow); transition: transform var(--sp-dur) var(--sp-ease); }
.line-card:hover .line-card__more .arw { transform: translateX(3px); }
.line-card--ended { border-style: dashed; border-color: var(--sp-line-strong); background: var(--sp-surface-2); box-shadow: none; }
.line-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.line-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.line-grid--5 > .line-card { grid-column: span 2; }
.line-grid--5 > .line-card:nth-child(n+4) { grid-column: span 3; }

/* 9-2. 업종별 SET 카드 */
.set-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.set-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.set-card {
  display: flex; flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.set-card__code { align-self: flex-start; letter-spacing: 0.04em; }
.set-card h3 { margin: 16px 0 10px; font-size: 21px; }
.set-card__fit { margin-bottom: 14px; font-size: var(--sp-fs-small); line-height: 1.65; color: var(--sp-text-muted); }
.set-card__fit b { display: block; margin-bottom: 2px; font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: var(--sp-ls-label); color: var(--sp-heading); }
.set-card__items { border-top: 1px solid var(--sp-line); }
.set-card__items li { padding: 10px 0; border-bottom: 1px solid var(--sp-line); font-size: var(--sp-fs-small); line-height: 1.55; }
.set-card__pick { margin-top: auto; padding-top: 16px; font-size: var(--sp-fs-caption); }
.set-card__pick .link-arrow { min-height: 44px; }
.item-kind {
  display: inline-block;
  min-width: 1.9em;
  margin-left: 6px; padding: 0 6px;
  border-radius: var(--sp-radius-xs);
  background: var(--c-tag-bg);
  border: 1px solid var(--c-tag-line);
  font-size: var(--sp-fs-caption); font-weight: 700; line-height: 1.55;
  text-align: center;
  color: var(--c-tag-text);
}

/* 9-3. 제품 카드 */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
  overflow: hidden;
}
.product-card .ph { margin: 12px 12px 0; aspect-ratio: 1 / 1; border-radius: 10px; }
.product-card .ph img { object-fit: contain; background: var(--sp-white); }
.product-card .ph--cover img { object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 24px 24px; }
.product-card__maker { font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.02em; color: var(--sp-accent-text); }
.product-card__name { font-size: var(--sp-fs-h3); }
.spec {
  display: grid; grid-template-columns: repeat(3, auto);
  margin: 6px 0 4px;
  background: var(--sp-bg-tint);
  border-radius: 10px;
}
.spec > div { padding: 12px 12px 13px; }
.spec > div + div { border-left: 1px solid var(--sp-line); }
.spec dt { font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.spec dd { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--sp-heading); font-variant-numeric: tabular-nums; }
.spec--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec--2 dd { font-size: var(--sp-fs-caption); line-height: 1.5; }
.product-card__price { margin-top: auto; padding-top: 6px; font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.product-card--compact .product-card__body { padding: 16px 18px 18px; gap: 8px; }
.product-card--compact .product-card__name { font-size: 19px; }
.product-card--compact .product-card__maker { font-size: var(--sp-fs-caption); }
.product-card--compact .spec > div { padding: 10px; }
.product-card .case-note { margin-top: 2px; }
.bundle-head { margin-top: clamp(48px, 6vw, 72px); }
.bundle-title { font-size: var(--sp-fs-h3); }
.card-go { margin: 6px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-go__note { font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.card-go .arw { margin-left: 4px; }

/* 9-4. 품목 카드(사진 + 설명) */
.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.item-card {
  display: flex; flex-direction: column;
  padding: 12px 12px 22px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.item-card .ph { aspect-ratio: 4 / 3; border-radius: 10px; }
.item-card__no { margin: 18px 8px 0; font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.06em; color: var(--sp-accent-text); font-variant-numeric: tabular-nums; }
.item-card h3 { margin: 4px 8px 0; font-size: 20px; }
.item-card p:not(.item-card__no) { margin: 8px 8px 0; font-size: var(--sp-fs-small); line-height: 1.7; color: var(--sp-text-muted); }

/* 9-5. 사용 현장 · 공사 카드 */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.case-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.case-card {
  padding: 12px 12px 22px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.case-card .ph { border-radius: 10px; }
.case-card h3 { margin: 18px 8px 0; font-size: 19px; }
.case-note { margin: 6px 0 0; font-size: var(--sp-fs-small); line-height: 1.65; color: var(--sp-text-muted); }
.case-card .case-note, .case-card .work-with { margin-left: 8px; margin-right: 8px; }
.work-with { margin-top: 10px; font-size: var(--sp-fs-caption); line-height: 1.65; color: var(--sp-text-muted); }
.work-with b {
  display: inline-block;
  margin-right: 8px; padding: 0 8px;
  background: var(--c-tag-bg);
  border: 1px solid var(--c-tag-line);
  border-radius: var(--sp-radius-xs);
  font-size: var(--sp-fs-caption); font-weight: 700;
  color: var(--c-tag-text);
}
.case-aside {
  grid-column: span 3;
  align-self: start;
  padding: 24px 26px;
  background: var(--sp-bg-tint);
  border: 1px solid var(--c-tag-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--sp-radius-lg);
}
.case-aside h3 { font-size: 20px; }
.case-aside p { margin-top: 10px; font-size: var(--sp-fs-small); line-height: 1.7; color: var(--sp-text-muted); }

/* 9-6. 분야 지도(회사 소개) */
.map-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.map-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.map-tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 24px 20px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.map-tile .map-tile__ph { aspect-ratio: 1 / 1; width: 132px; max-width: 100%; margin-bottom: 8px; border-radius: 12px; }
.map-tile__ph img { object-fit: contain; background: var(--sp-white); }
.map-tile__risk { font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.06em; color: var(--sp-accent-text); font-variant-numeric: tabular-nums; }
.map-tile h3 { font-size: 22px; }
.map-tile__items { font-size: var(--sp-fs-small); line-height: 1.65; }
.map-tile__prog { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--sp-line); font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.map-tile .link-arrow { align-self: flex-start; font-size: var(--sp-fs-caption); }

/* 9-7. 서류 · 마감 · 안내 카드 */
.docs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.docs {
  padding: 28px 30px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.docs__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.docs__head h3 { font-size: 21px; }
.docs ol { counter-reset: doc; border-top: 1px solid var(--sp-line); }
.docs ol li { counter-increment: doc; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--sp-line); font-size: var(--sp-fs-body); line-height: 1.65; }
.docs ol li::before {
  content: counter(doc, decimal-leading-zero);
  flex: none;
  min-width: 1.6em;
  font-weight: 700;
  color: var(--sp-accent-text);
  font-variant-numeric: tabular-nums;
}
.docs .link-arrow { margin-top: 12px; }
.docs__deadline { display: flex; flex-direction: column; justify-content: center; background: var(--sp-bg-tint); border-color: var(--c-tag-line); box-shadow: none; }
.docs__deadline strong { font-size: 25px; font-weight: 700; line-height: 1.35; letter-spacing: var(--sp-ls-heading); color: var(--sp-heading); }
.docs__deadline p { margin-top: 8px; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.docs__deadline .eyebrow { margin-top: 0; margin-bottom: 10px; }
.small-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
.small-docs { display: grid; gap: 24px; }

/* 9-8. 협의 중 제조사 */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 128px;
  padding: 20px;
  background: var(--sp-surface);
  border: 1.5px dashed var(--sp-line-strong);
  border-radius: var(--sp-radius-lg);
  text-align: center;
}
.partner-card strong { font-size: 19px; font-weight: 700; color: var(--sp-heading); }
.partner-card span { font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }

/* 9-9. 역할 나눔(회사 소개) */
.roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}
.role-card {
  padding: 28px 28px 24px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow-md);
}
.role-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.role-card__name { font-size: 23px; }
.role-card__legal { margin-top: 4px; font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.role-card ul { margin-top: 18px; border-top: 1px solid var(--sp-line); }
.role-card li { position: relative; padding: 11px 0 11px 16px; border-bottom: 1px solid var(--sp-line); font-size: var(--sp-fs-small); }
.role-card li::before { content: ""; position: absolute; left: 0; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.roles__mid { position: relative; display: flex; align-items: center; justify-content: center; }
.roles__mid::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sp-navy-300) 0 6px, transparent 6px 11px);
}
.owner-node {
  position: relative;
  padding: 16px 18px;
  background: var(--sp-surface);
  border: 2px solid var(--sp-heading);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
  text-align: center;
  font-size: var(--sp-fs-caption); line-height: 1.5;
  color: var(--sp-text-muted);
}
.owner-node strong { display: block; margin-bottom: 2px; font-size: 19px; font-weight: 700; color: var(--sp-heading); }

.as-bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 20px; align-items: center;
  margin-top: 28px;
  padding: 20px 26px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.as-bar strong { font-size: 20px; font-weight: 700; color: var(--sp-heading); }
.as-bar p { font-size: var(--sp-fs-small); color: var(--sp-text-muted); }

/* ── 10. 단계 · 흐름 ────────────────────────────────────────────────────── */
/* 주황 번호 원을 가는 선으로 이음 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step {
  position: relative;
  padding: 26px 24px 26px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.paper .step { background: var(--sp-bg-soft); border-color: transparent; box-shadow: none; }
.step__num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--c-accent); color: var(--c-on-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--sp-surface);
  font-size: var(--sp-fs-small); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.paper .step__num { box-shadow: 0 0 0 6px var(--sp-bg-soft); }
.step h3 { margin: 18px 0 8px; font-size: 21px; }
.step p { font-size: var(--sp-fs-small); line-height: 1.7; color: var(--sp-text-muted); }
.step__who { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sp-line); font-size: var(--sp-fs-caption); font-weight: 700; color: var(--sp-heading); }
.step__who-k { margin-right: 4px; font-weight: 400; color: var(--sp-text-muted); }
.step:not(:last-child)::after {
  content: "";
  position: absolute; top: 49px; right: -26px;
  width: 28px; height: 2px;
  background: var(--c-step-line);
}

.flow-title { margin-top: clamp(40px, 5vw, 56px); font-size: 21px; }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 20px; counter-reset: none; }
.flow li {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px 20px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute; top: 35px; right: -16px;
  width: 18px; height: 2px;
  background: var(--c-step-line);
}
.flow li.flow__long { background: var(--sp-accent-soft); border-color: var(--sp-orange-100); }
.flow b { font-size: var(--sp-fs-body); line-height: 1.4; color: var(--sp-heading); }
.flow span:not(.flow__no) { font-size: var(--sp-fs-caption); line-height: 1.6; color: var(--sp-text-muted); }
.flow__no {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  width: 34px; height: 34px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
  font-size: var(--sp-fs-caption); font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── 11. 표 ─────────────────────────────────────────────────────────────── */
.table-scroll { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 2px; }
.spec-table, .compare {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.spec-table { min-width: 620px; }
.spec-table caption {
  padding-bottom: 14px;
  text-align: left;
  font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: var(--sp-ls-heading);
  color: var(--sp-heading);
}
.spec-table th, .spec-table td,
.compare th, .compare td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--sp-line);
  font-size: var(--sp-fs-small);
  line-height: 1.6;
}
.spec-table thead th, .compare thead th {
  padding-top: 13px; padding-bottom: 13px;
  font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.02em;
  color: var(--c-thead-text);
  background: var(--c-thead-bg);
  border-bottom: 2px solid var(--c-thead-rule);
}
.spec-table thead th:first-child, .compare thead th:first-child { border-top-left-radius: 10px; }
.spec-table thead th:last-child, .compare thead th:last-child { border-top-right-radius: 10px; }
.spec-table tbody tr:nth-child(even) > *, .compare tbody tr:nth-child(even) > * { background: var(--sp-bg-soft); }
.mist .spec-table tbody tr:nth-child(even) > *, .mist .compare tbody tr:nth-child(even) > * { background: var(--sp-bg); }
.spec-table tbody th { font-size: var(--sp-fs-body); font-weight: 700; color: var(--sp-heading); }
.spec-table tbody th small { display: block; font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); }
.spec-table td { color: var(--sp-text); }

.compare-wrap { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-title { margin: 0 0 14px; font-size: 20px; }
.compare { min-width: 560px; font-size: var(--sp-fs-body); }
.compare caption { text-align: left; }
.compare thead th:first-child { width: 26%; }
.compare tbody th { font-weight: 500; color: var(--sp-text-muted); }
.compare td { color: var(--sp-text); font-weight: 500; }

/* 대상 확인표 */
.check-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.check-title { font-size: var(--sp-fs-h2); }
.check-tag { margin-top: 20px; }
.check-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.check-table th, .check-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--sp-line); font-size: var(--sp-fs-small); vertical-align: middle; }
.check-table tbody tr:last-child > * { border-bottom: 0; }
.check-table thead th {
  padding-top: 13px; padding-bottom: 13px;
  font-size: var(--sp-fs-caption); font-weight: 700; letter-spacing: 0.02em;
  color: var(--c-thead-text);
  background: var(--c-thead-bg);
  border-bottom: 2px solid var(--c-thead-rule);
}
.check-table thead th:first-child { border-top-left-radius: 13px; }
.check-table thead th:last-child { border-top-right-radius: 13px; }
.check-table tbody th { font-weight: 500; color: var(--sp-text); }
.check-table tbody th::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: 12px;
  vertical-align: -3px;
  border: 2px solid var(--sp-navy-300);
  border-radius: 5px;
}
.check-table td { color: var(--sp-text-muted); white-space: nowrap; }

/* ── 12. 자주 묻는 질문 ─────────────────────────────────────────────────── */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details {
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-xs);
  transition: border-color var(--sp-dur) var(--sp-ease), box-shadow var(--sp-dur) var(--sp-ease);
}
.faq details[open] { border-color: var(--c-card-hover-line); box-shadow: var(--sp-shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px;
  padding: 16px 22px;
  font-size: 19px; font-weight: 700; line-height: 1.5;
  color: var(--sp-heading);
  list-style: none;
  cursor: pointer;
  border-radius: var(--sp-radius-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid var(--sp-line-strong);
  border-radius: 50%;
  font-size: 22px; font-weight: 400; line-height: 1;
  color: var(--sp-heading);
}
.faq details[open] summary::after { content: "\2212"; background: var(--sp-heading); border-color: var(--sp-heading); color: var(--sp-surface); }
.faq summary:hover::after { border-color: var(--sp-heading); }
.faq__q { display: flex; gap: 14px; align-items: baseline; }
.faq__q::before {
  content: "Q";
  flex: none;
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--sp-accent-soft);
  font-size: 16px; font-weight: 700; line-height: 1;
  color: var(--sp-accent-text);
  transform: translateY(1px);
}
.faq__a { padding: 0 64px 22px 66px; font-size: var(--sp-fs-body); line-height: 1.8; color: var(--sp-text-muted); }
.faq__a p + p { margin-top: 10px; }
.faq__more {
  max-width: 880px;
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--sp-bg-tint);
  border: 1px solid var(--c-tag-line);
  border-radius: var(--sp-radius-lg);
  font-size: var(--sp-fs-body); line-height: 1.7;
  color: var(--sp-text);
}
.faq__more b { font-weight: 700; color: var(--sp-heading); }
.faq__more .phone-link { margin: 0 4px; font-size: 20px; font-weight: 700; color: var(--sp-heading); }

/* ── 13. 회사 정보 · 개인정보처리방침 ──────────────────────────────────── */
.company-dl {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
  padding: 8px 32px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
}
.company-dl > div {
  display: grid; grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px; align-items: center;
  min-height: 60px;
  padding: 8px 0;
  border-top: 1px solid var(--sp-line);
}
.company-dl > div:nth-child(-n+2) { border-top: 0; }
.company-dl dt { font-size: var(--sp-fs-caption); font-weight: 500; color: var(--sp-text-muted); word-break: keep-all; }
.company-dl dd { font-size: var(--sp-fs-body); font-weight: 500; color: var(--sp-text); font-variant-numeric: tabular-nums; }
.company-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; }
.company-photos .ph { border-radius: var(--sp-radius-xl); }

.policy { max-width: 860px; }
.policy h2 { font-size: var(--sp-fs-h2); margin-bottom: 16px; }
.policy__intro { font-size: var(--sp-fs-body-lg); color: var(--sp-text-muted); }
.policy dl { margin-top: 28px; border-top: 2px solid var(--sp-heading); }
.policy dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--sp-line); }
.policy dt { font-weight: 700; color: var(--sp-heading); }
.policy dd { color: var(--sp-text-muted); }

/* ── 14. 문의 · 폼 ──────────────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact__copy h2 { font-size: var(--sp-fs-h2); }
.contact__text { margin-top: 18px; max-width: 30em; font-size: var(--sp-fs-body-lg); line-height: 1.75; color: var(--sp-text-muted); }
.contact__text--phone { display: none; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.contact-actions .btn { min-height: 48px; }
.contact-actions a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.contact-info { margin-top: 28px; border-top: 1px solid var(--sp-line); }
.contact-info > div {
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px; align-items: center;
  min-height: 56px;
  padding: 6px 0;
  border-bottom: 1px solid var(--sp-line);
}
.contact-info dt { font-size: var(--sp-fs-caption); font-weight: 500; color: var(--sp-text-muted); }
.contact-info dd { font-size: var(--sp-fs-body-lg); font-weight: 500; color: var(--sp-heading); }
.contact-info .is-phone dd { font-size: 25px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.phone-link, .mail-link {
  display: inline-flex; align-items: center;
  min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--sp-line-strong);
}
.phone-link:hover, .mail-link:hover { text-decoration-color: currentColor; }
.phone-link { font-variant-numeric: tabular-nums; }
.contact-kakao { display: none; margin-top: 24px; }
.btn--placeholder { border: 1.5px dashed var(--sp-line-strong); color: var(--sp-heading); cursor: default; }
.btn--placeholder .js-kakao-note { font-weight: 400; color: var(--sp-text-muted); }
.contact-phone-only { display: none; }

/* 전화 전 준비 · 공급사 안내 */
.prep { margin-top: 24px; padding: 20px 22px; background: var(--sp-bg-soft); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); }
.prep--supply { margin-top: 16px; }
.prep__title { font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.prep__list { margin-top: 10px; counter-reset: prep; }
.prep__list li { position: relative; margin-top: 10px; padding-left: 36px; font-size: var(--sp-fs-small); line-height: 1.6; color: var(--sp-text); }
.prep__list li::before {
  counter-increment: prep;
  content: counter(prep);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
  font-size: var(--sp-fs-caption); font-weight: 700;
}
.prep__text { margin-top: 8px; font-size: var(--sp-fs-small); line-height: 1.65; color: var(--sp-text); }
.prep__mail { margin-top: 12px; font-size: var(--sp-fs-small); line-height: 1.6; color: var(--sp-text); }
.prep--supply .prep__mail { margin-top: 8px; }
.prep__mail .mail-link { font-weight: 700; color: var(--sp-heading); word-break: break-all; }

/* 신청서 */
.form-card {
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--sp-radius-xl);
  box-shadow: var(--sp-shadow-lg);
}
.form-card__title { margin-bottom: 24px; font-size: 23px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.field .req { margin-left: 6px; font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: var(--sp-field-h);
  padding: 12px 14px;
  font-size: var(--sp-fs-body);
  color: var(--sp-text);
  background-color: var(--sp-field-bg);
  border: 1.5px solid var(--sp-field-line);
  border-radius: var(--sp-radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--sp-dur) var(--sp-ease), box-shadow var(--sp-dur) var(--sp-ease);
}
.field textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sp-heading); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: var(--sp-ring);
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b2f5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field input[aria-invalid="true"] { border-color: var(--sp-danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp-danger) 22%, transparent); }
.field__hint { margin-top: 6px; font-size: var(--sp-fs-caption); color: var(--sp-text-muted); }
.field__error { margin-top: 6px; font-size: var(--sp-fs-caption); font-weight: 500; color: var(--sp-danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
input, select, textarea { scroll-margin-bottom: 140px; }

/* 관심 제품(복수 선택) */
fieldset.field--prods { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.field--prods legend { padding: 0; margin-bottom: 8px; font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.field--prods legend .req { margin-left: 6px; font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); }
.prod-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.field--prods .prod-check {
  display: flex; align-items: center; gap: 10px;
  min-height: var(--sp-field-h);
  margin: 0;
  padding: 10px 14px;
  font-size: var(--sp-fs-small); font-weight: 500;
  color: var(--sp-text);
  background: var(--sp-field-bg);
  border: 1.5px solid var(--sp-field-line);
  border-radius: var(--sp-radius-sm);
  cursor: pointer;
  transition: border-color var(--sp-dur) var(--sp-ease), background-color var(--sp-dur) var(--sp-ease);
}
.field--prods .prod-check input[type="checkbox"] {
  display: inline-block; flex: none;
  width: 24px; min-width: 24px; height: 24px; min-height: 0;
  margin: 0; padding: 0;
  -webkit-appearance: checkbox; appearance: auto;
  accent-color: var(--c-accent);
}
.field--prods .prod-check:hover { border-color: var(--sp-heading); }
.field--prods .prod-check:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.field--prods .prod-check:has(input:checked) { border-color: var(--c-accent); background: var(--sp-accent-soft); box-shadow: 0 0 0 1px var(--c-accent); font-weight: 700; }

/* 더 남기기(접기) */
.form-card details.more { margin: 0 0 20px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-md); background: var(--sp-surface-2); }
.form-card details.more > summary {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 8px 16px;
  font-size: var(--sp-fs-small); font-weight: 700;
  color: var(--sp-heading);
  cursor: pointer;
}
.form-card details.more > summary .req { margin-left: 6px; font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); }
.form-card details.more[open] > summary { border-bottom: 1px solid var(--sp-line); }
.form-card details.more > .field { margin: 16px 16px 0; }
.form-card details.more > .field:last-child { margin-bottom: 16px; }

/* 개인정보 동의 */
.consent { margin-top: 16px; padding: 18px 18px 14px; background: var(--sp-bg-soft); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); }
.consent__title { margin: 0 0 10px; font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-heading); }
.consent__dl { margin: 0; display: grid; gap: 6px; }
.consent__dl div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; }
.consent__dl dt { font-size: var(--sp-fs-caption); font-weight: 700; color: var(--sp-heading); }
.consent__dl dd { margin: 0; font-size: var(--sp-fs-caption); line-height: 1.6; color: var(--sp-text-muted); }
.consent__note { margin: 12px 0 0; font-size: var(--sp-fs-caption); line-height: 1.6; color: var(--sp-text-muted); }
.consent__note a { color: var(--sp-heading); font-weight: 500; text-underline-offset: 3px; }
.consent__check {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--sp-line);
  font-size: var(--sp-fs-small);
  color: var(--sp-text);
  cursor: pointer;
}
.consent__check b { color: var(--sp-heading); }
.consent__check input { width: 24px; height: 24px; margin: 0; accent-color: var(--c-accent); flex: none; }
.consent__check input[aria-invalid="true"] { outline: 3px solid var(--sp-danger); outline-offset: 2px; }
.consent .field__error { margin-top: 2px; }
.consent + .btn { margin-top: 18px; min-height: var(--sp-btn-h-lg); font-size: var(--sp-fs-body-lg); }

/* 보낸 뒤 알림 */
.form-status { margin-top: 12px; font-size: var(--sp-fs-small); line-height: 1.6; border-radius: var(--sp-radius-md); }
.form-status.is-info, .form-status.is-ok, .form-status.is-error { padding: 14px 16px; border: 1px solid var(--sp-line); }
.form-status.is-info { background: var(--sp-bg-tint); color: var(--sp-heading); }
.form-status.is-ok {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: var(--sp-fs-body); font-weight: 700; line-height: 1.6;
  background: var(--sp-ok-soft); border-color: var(--sp-ok); color: var(--sp-ok);
}
.form-status.is-ok::before {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sp-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.form-status.is-error { background: var(--sp-danger-soft); border-color: var(--sp-danger); color: var(--sp-danger); font-weight: 500; }

/* 연락 방법 바꾸기(body[data-contact]) */
body[data-contact="form_phone_kakao"] .contact-kakao { display: block; }
body[data-contact="phone_only"] .contact-form-wrap { display: none; }
body[data-contact="phone_only"] .contact__text--form { display: none; }
body[data-contact="phone_only"] .contact__text--phone { display: block; }
body[data-contact="phone_only"] .contact__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
body[data-contact="phone_only"] .contact-info .is-phone dd { font-size: clamp(26px, 1.2rem + 1.6vw, 34px); }

/* ── 15. 소개 영상 ──────────────────────────────────────────────────────── */
.video-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: clamp(32px, 6vw, 88px); align-items: center; }
.video-sec__lead { margin-top: 14px; font-size: var(--sp-fs-body-lg); line-height: 1.7; color: var(--sp-text-muted); max-width: 34em; }
.video-chapters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.video-chapters .btn { gap: 8px; }
.video-chapters__t { font-size: var(--sp-fs-caption); font-weight: 400; color: var(--sp-text-muted); font-variant-numeric: tabular-nums; }
.video-chapters .btn[aria-current="true"] { background: var(--sp-accent-soft); border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); }
.video-sec__note { margin-top: 18px; max-width: 40em; }
.video-sec__cta { margin: 28px 0 0; }
.video-phone { width: min(100%, 340px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.video-phone__frame { width: 100%; padding: 8px; background: var(--sp-navy-950); border-radius: 28px; box-shadow: var(--sp-shadow-lg); }
.video-phone__video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 21px; background: var(--sp-navy-950); object-fit: contain; }
.video-disc { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; min-height: 44px; padding: 8px 16px; font-size: var(--sp-fs-caption); line-height: 1.4; text-align: center; color: var(--sp-text); background: var(--sp-bg-soft); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-pill); }
.video-disc span { color: var(--sp-text-muted); }
.video-err { margin: 0; padding: 10px 14px; font-size: var(--sp-fs-caption); line-height: 1.6; text-align: center; color: var(--sp-text); background: var(--sp-accent-soft); border: 1px solid var(--c-accent); border-radius: var(--sp-radius-md); }

/* ── 16. 상담 띠 ────────────────────────────────────────────────────────── */
.cta-band { padding: clamp(48px, 6vw, 72px) 0; background: var(--sp-bg-tint); border-top: 1px solid var(--sp-line); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 1rem + 1.3vw, 34px); }
.cta-band p { margin-top: 8px; font-size: var(--sp-fs-body-lg); color: var(--sp-text-muted); }
.cta-band .btn { min-height: var(--sp-btn-h-lg); padding-inline: 34px; font-size: var(--sp-fs-body-lg); }

/* ── 17. 바닥 ───────────────────────────────────────────────────────────── */
.site-footer {
  padding: 64px 0 calc(var(--sp-bar-h) + 64px + env(safe-area-inset-bottom, 0px));
  background: var(--hub-footer-bg);
  color: var(--hub-footer-text);
  font-size: var(--sp-fs-caption);
  border-top: 4px solid var(--c-accent);
  --c-focus: var(--sp-orange-200);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hub-footer-line);
}
.site-footer .brand__mark { color: var(--sp-white); }
.site-footer .brand__sub { margin-top: 6px; color: var(--hub-footer-text); }
.footer__desc { margin-top: 18px; max-width: 26em; line-height: 1.7; }
.footer__nav a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  color: var(--sp-white);
  font-size: var(--sp-fs-small);
  text-decoration: none;
}
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sp-orange-200); }
.footer__contact > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px; }
.footer__contact dd { color: var(--sp-white); font-size: var(--sp-fs-small); }
.site-footer .phone-link, .site-footer .mail-link { text-decoration-color: var(--hub-footer-ctl-line); }
.site-footer .phone-link:hover, .site-footer .mail-link:hover { text-decoration-color: var(--sp-white); }
.footer__legal { display: grid; gap: 4px; padding-top: 26px; line-height: 1.7; }
.footer__copy { margin-top: 10px; }
.footer__tone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.footer__tone .btn { min-height: 44px; padding: 6px 16px; font-size: var(--sp-fs-caption); color: var(--sp-white); background: transparent; border-color: var(--hub-footer-ctl-line); }
.footer__tone .btn:hover { background: var(--sp-navy-800); border-color: var(--sp-white); }
.footer__tone-note { font-size: var(--sp-fs-caption); color: var(--hub-footer-text); }
.footer-kakao { color: var(--sp-white); font-weight: 700; text-underline-offset: 4px; }

/* ── 18. 하단 고정바(모든 화면 폭) ─────────────────────────────────────── */
.action-bar, body.is-typing .action-bar {
  display: grid;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--sp-bg);
  border-top: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow-bar);
}
.action-bar--n1 { grid-template-columns: minmax(0, 1fr); }
.action-bar--n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.action-bar .action-bar__btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 52px;
  padding: 8px 4px;
  font-size: var(--sp-fs-small); font-weight: 700; line-height: 1.4;
  text-align: center; text-decoration: none;
  border-radius: var(--sp-radius-md);
  border: 1.5px solid var(--c-btn-line);
  color: var(--sp-heading);
  background: var(--sp-surface);
  white-space: normal; overflow-wrap: anywhere;
}
.action-bar .js-bar-kakao { background: var(--sp-kakao); color: var(--sp-kakao-ink); border-color: var(--sp-kakao); }
.action-bar .action-bar__btn--main { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }
.action-bar a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ── 19. 화면 폭에 따라 ─────────────────────────────────────────────────── */
@media (min-width: 821px) {
  /* 넓은 화면: 바로 문의 · 하단바 버튼을 가운데 묶음으로 */
  .first-contact {
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: end;
    padding: 8px max(var(--sp-gutter), calc(50% - var(--sp-container) / 2));
  }
  .first-contact a { min-height: 44px; font-size: var(--sp-fs-small); }
  .action-bar, body.is-typing .action-bar {
    gap: 10px;
    padding-left: max(12px, calc(50% - 380px));
    padding-right: max(12px, calc(50% - 380px));
  }
}
@media (min-width: 861px) {
  .toc { position: sticky; top: var(--header-h); z-index: 40; }
  .toc__list a[aria-current="true"] { background: var(--sp-heading); border-color: var(--sp-heading); color: var(--sp-bg); }
  .has-toc [id] { scroll-margin-top: calc(var(--header-h) + 92px); }
}
@media (min-width: 1041px) and (max-width: 1100px) {
  .nav-link { padding: 0 6px; }
  .nav-link[aria-current="page"]::after { left: 6px; right: 6px; }
  .site-nav__cta { margin-left: 4px; }
}
@media (min-width: 1101px) and (max-width: 1160px) {
  .nav-link { padding: 0 9px; }
  .nav-link[aria-current="page"]::after { left: 9px; right: 9px; }
  .site-nav__cta { margin-left: 8px; }
}
@media (min-width: 1041px) and (max-width: 1200px) {
  .brand__sub { font-size: var(--sp-fs-caption); letter-spacing: -0.03em; }
}

@media (max-width: 1100px) {
  .set-grid, .map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .item-grid, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .roles { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); }
  .product-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-grid--5 > .line-card,
  .line-grid--5 > .line-card:nth-child(n+4) { grid-column: auto; }
  .line-grid--5 > .line-card:last-child { grid-column: 1 / -1; }
  .case-grid--4, .case-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-aside { grid-column: span 1; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow li:nth-child(3n)::after { display: none; }
}

@media (max-width: 1040px) {
  :root { --header-h: 68px; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .brand__mark { font-size: 18px; letter-spacing: 0.16em; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column; align-items: stretch;
    padding-bottom: 20px;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .nav-link {
    display: flex;
    width: 100%;
    min-height: 54px;
    padding: 0 4px;
    font-size: var(--sp-fs-body);
    border-bottom: 1px solid var(--sp-line);
    border-radius: 0;
  }
  .nav-link:hover { background: transparent; }
  .nav-link[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 18px; margin-top: -1.5px; }
  .site-nav__cta { margin: 20px 0 0; min-height: 52px; font-size: var(--sp-fs-body); }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 4px var(--sp-gutter) 24px;
    background: var(--sp-bg);
    border-bottom: 1px solid var(--sp-line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    box-shadow: var(--sp-shadow-md);
  }
  .js .site-nav.is-open { display: flex; }
}

@media (max-width: 960px) {
  .hero__grid, .contact__grid, .check-wrap, .company { grid-template-columns: minmax(0, 1fr); }
  .line-grid, .product-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .company-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .roles__mid { padding: 28px 0; }
  .roles__mid::before {
    left: 50%; right: auto; top: 0; bottom: 0;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--sp-navy-300) 0 6px, transparent 6px 11px);
  }
}

@media (max-width: 860px) {
  .video-sec__grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .video-sec__copy { display: contents; }
  .video-sec__head { order: 1; }
  .video-phone { order: 2; }
  .video-sec__body { order: 3; }
  .video-chapters { margin-top: 0; }
  .video-sec__lead { font-size: var(--sp-fs-body); }
}

@media (max-width: 820px) {
  /* 좁은 화면: 가로로 넘치지 않게 줄어들도록 */
  .container, .site-header__inner, .topbar__inner, .hero__grid, .contact__grid, .contact__copy, .form-card, .prep,
  .hero__copy, .hero__media, .site-footer__grid { min-width: 0; max-width: 100%; }
  .container :where(div, section, article, figure, dl, fieldset, form) { min-width: 0; }
  .site-header__inner { flex-wrap: wrap; gap: 10px; }
  .brand { min-width: 0; max-width: 100%; flex: 1 1 180px; }
  .brand__mark, .brand__sub { white-space: normal; overflow-wrap: anywhere; }
  .nav-toggle { flex: 0 0 auto; max-width: 100%; }
  .topbar__inner { flex-wrap: wrap; gap: 4px 12px; }
  .topbar__text { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .topbar__cta { white-space: normal; }
  .hero__grid, .contact__grid, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info, .company-dl { max-width: 100%; }
  .contact-info > div, .company-dl > div { min-width: 0; grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
  .contact-info dd, .company-dl dd, .prep__text, .contact__text, p, li, a { overflow-wrap: anywhere; }
  .ph, picture, img, video, iframe, input, select, textarea, fieldset { max-width: 100%; min-width: 0; }
  .form-card .field, .form-card details.more { min-width: 0; max-width: 100%; }
  .footer-kakao { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; color: var(--sp-white); font-weight: 700; }
}

@media (max-width: 768px) {
  .ph--band { aspect-ratio: 4 / 3; }
  .line-grid, .set-grid, .product-grid, .steps, .item-grid, .partner-grid,
  .case-grid, .map-grid, .docs-wrap, .footer__top, .company-photos, .company-dl { grid-template-columns: minmax(0, 1fr); }
  .product-grid--4, .product-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-grid--4, .map-grid--6, .case-grid--4, .case-grid--3, .set-grid--3, .small-grid { grid-template-columns: minmax(0, 1fr); }
  .line-grid--5 { grid-template-columns: minmax(0, 1fr); }
  .line-grid--5 > .line-card:last-child { grid-column: auto; }
  .case-aside { grid-column: auto; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flow li { padding-left: 66px; min-height: 64px; justify-content: center; }
  .flow__no { position: absolute; left: 16px; top: 16px; }
  .flow li:not(:last-child)::after { display: block; top: auto; right: auto; bottom: -14px; left: 32px; width: 2px; height: 16px; }

  /* 단계: 세로 흐름 */
  .steps { gap: 14px; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding: 20px 20px 22px; }
  .step__num { grid-row: 1 / span 3; align-self: start; }
  .step h3 { margin: 10px 0 4px; }
  .step:not(:last-child)::after { display: block; top: auto; right: auto; bottom: -15px; left: 43px; width: 2px; height: 16px; }
  .step:nth-child(2)::after { display: block; }

  .hero__facts li { width: 100%; margin-right: 0; padding-right: 0; }
  .hero__facts li + li { padding-left: 26px; border-left: 0; }
  .hero__facts li + li::before { left: 0; }
  .contact-info > div, .company-dl > div, .policy dl > div { grid-template-columns: 92px minmax(0, 1fr); }
  .company-dl { padding: 4px 20px; }
  .company-dl > div:nth-child(2) { border-top: 1px solid var(--sp-line); }
  .faq__a { padding: 0 20px 20px 66px; }
  .as-bar { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cta-band__inner .btn { width: 100%; }
  .docs { padding: 24px 22px; }

  .set-card__items { display: flex; flex-wrap: wrap; gap: 6px; border-top: 0; }
  .set-card__items li { padding: 5px 12px; background: var(--sp-surface-2); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-pill); font-size: var(--sp-fs-caption); line-height: 1.5; }
  .set-card h3 { margin: 12px 0 10px; }
  .set-card__pick { padding-top: 10px; }

  .item-grid { gap: 12px; }
  .item-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    align-content: start;
    padding: 12px 16px 16px 12px;
  }
  .item-card .ph { grid-row: 1 / span 3; align-self: start; aspect-ratio: 1 / 1; padding: 8px; }
  .item-card .ph__label { font-size: var(--sp-fs-caption); line-height: 1.45; }
  .item-card .ph img { object-fit: contain; background: var(--sp-white); }
  .item-card__no { margin: 4px 0 0; }
  .item-card h3 { margin: 2px 0 0; font-size: 19px; }
  .item-card p:not(.item-card__no) { margin: 4px 0 0; }

  .partner-card { min-height: 88px; }
  .table-scroll { display: none; }
  .product-card--compact .product-card__name { font-size: 17px; }
}

@media (max-width: 640px) {
  .compare-wrap { display: none; }
}

@media (max-width: 480px) {
  .product-grid--4, .product-grid--5 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* 작은 제품 카드: 휴대폰에서는 사진 왼쪽 · 설명 오른쪽 */
  .product-card--compact { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
  .product-card--compact .ph { margin: 12px 0 12px 12px; }
  .product-card--compact .product-card__body { padding: 12px 14px 14px; gap: 6px; }
  .product-card--compact .spec--2 { margin-top: 2px; }
  .product-card--compact .spec > div { padding: 8px 10px; }
  .company-dl > div { grid-template-columns: max-content minmax(0, 1fr); }
  .section-foot .btn { width: 100%; }
  .faq summary { padding: 14px 16px; font-size: 18px; gap: 14px; }
  .faq__a { padding: 0 16px 18px 16px; }
  .faq__q { gap: 12px; }
}

@media (max-width: 420px) {
  .btn-row .btn { width: 100%; }
  .stat { padding: 16px 14px 18px; }
  .check-table th, .check-table td { padding: 14px 12px; font-size: var(--sp-fs-caption); }
  .check-table tbody th::before { margin-right: 8px; }
  .spec > div { padding: 10px 8px 11px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .first-contact { padding: 8px 12px; }
  .action-bar--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .action-bar .action-bar__btn { font-size: var(--sp-fs-caption); min-height: 56px; }
  .brand__sub { letter-spacing: -0.02em; }
}
@media (max-width: 374px) {
  .brand__sub { font-size: 13px; }
}

/* ── 20. 밤 화면(body[data-tone="dark"]): 머리 · 주요 구획 · 하단바만 네이비 밤 ── */
/* 의미 토큰만 바꿉니다(tokens.css의 .sp-dark와 같은 값). 바닥(footer)은 낮 · 밤 모두 네이비입니다. */
body[data-tone="dark"] .site-header,
body[data-tone="dark"] .first-contact,
body[data-tone="dark"] .dark,
body[data-tone="dark"] .action-bar,
.site-footer {
  --sp-bg: var(--sp-dk-bg);
  --sp-bg-soft: var(--sp-dk-bg-soft);
  --sp-bg-tint: var(--sp-dk-bg-soft);
  --sp-surface: var(--sp-dk-surface);
  --sp-surface-2: var(--sp-dk-surface-2);
  --sp-text: var(--sp-dk-text);
  --sp-text-muted: var(--sp-dk-text-muted);
  --sp-heading: var(--sp-dk-heading);
  --sp-line: var(--sp-dk-line);
  --sp-line-strong: var(--sp-dk-line-strong);
  --sp-accent: var(--sp-dk-accent);
  --sp-on-accent: var(--sp-dk-on-accent);
  --sp-accent-text: var(--sp-dk-accent-text);
  /* 아래 값들은 tokens.css의 .sp-dark 와 같은 값 */
  --sp-accent-soft: #3a2a22;
  --sp-link: var(--sp-dk-link);
  --sp-field-bg: var(--sp-dk-surface);
  --sp-field-line: #7f93c0;
  --sp-danger: #ffb4a8;
  --sp-danger-soft: #3d1f1f;
  --sp-ok: #8fdcb2;
  --sp-ok-soft: #173a2c;
  --sp-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --sp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --sp-shadow-md: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
  --sp-shadow-lg: 0 28px 56px -18px rgba(0, 0, 0, 0.6);
  --sp-shadow-bar: 0 -6px 20px rgba(0, 0, 0, 0.35);
  --c-accent: var(--accent, var(--sp-dk-accent));
  --c-on-accent: var(--on-accent, var(--sp-dk-on-accent));
  --c-focus: var(--sp-orange-200);
  --c-arrow: var(--sp-orange-200);
  --c-tag-bg: var(--sp-dk-surface-2);
  --c-tag-line: var(--sp-dk-line-strong);
  --c-tag-text: var(--sp-dk-text);
  --c-btn-line: var(--sp-navy-300);
  --c-btn-line-hover: var(--sp-dk-surface-2);
  --c-card-hover-line: var(--sp-navy-300);
  --c-thead-bg: var(--sp-dk-surface-2);
  --c-thead-text: var(--sp-dk-heading);
  --c-thead-rule: var(--sp-navy-300);
  --c-ph-bg: var(--sp-dk-surface);
  --c-ph-line: var(--sp-dk-line-strong);
  --c-hero-top: var(--sp-dk-bg-soft);
  --c-hero-bottom: var(--sp-dk-bg);
  --c-step-line: var(--sp-dk-line-strong);
  color-scheme: dark;
}
.site-footer { --sp-bg: var(--hub-footer-bg); --sp-text: var(--hub-footer-text); --sp-text-muted: var(--hub-footer-text); }
body[data-tone="dark"] .site-header { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); }
body[data-tone="dark"] .badge { --hub-dot-halo: rgba(240, 137, 74, 0.25); }
body[data-tone="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23eef2f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-tone="dark"] .form-status.is-ok::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173a2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
body[data-tone="dark"] .hero__facts li::before { background-color: var(--c-accent); }

/* ── 움직임 줄이기 ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Previously verified contact placeholder fix, retained in local preview. */
#c-message::placeholder { color: var(--sp-text-muted); opacity: 1; }
