/* ── kit/css/tokens.css ── */
/* COPLAND 웹 키트 — 디자인 토큰 (★디자인 변경은 대부분 이 파일 하나로 끝난다)
   색·글꼴·간격·모서리·그림자를 모두 여기서 정한다. base.css·components.css 와 각 사이트 css 는
   값을 직접 쓰지 않고 이 변수만 쓴다 → 색 하나 바꾸면 회사 홈·TTS·문서가 같이 바뀐다.
   라이트 테마만 쓴다(사이트 방침). */
:root {
  /* 바탕·글자 */
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --ink: #0f172a;
  --ink-2: #475569;
  --muted: #64748b;
  --line: #e6eaf0;
  --line-strong: #d6dce6;
  --row-hover: #fafbfd;

  /* 강조 — 블루 하나 */
  --accent: #2f6bff;
  --accent-ink: #1f56e6;
  --accent-hover: #255ff0;
  --accent-soft: #eef3ff;
  --accent-line: rgba(47, 107, 255, 0.32);
  --accent-ring: rgba(47, 107, 255, 0.14);
  --accent-glow: rgba(47, 107, 255, 0.9);
  --on-accent: #ffffff;
  --warn: #b45309;
  --warn-soft: #fff7ed;
  --ok: #15803d;
  --ok-soft: #f0fdf4;

  /* 어두운 남색 면(첫 화면·바닥글·문의 패널) */
  --navy-950: #070d1a;
  --navy-900: #0a1428;
  --navy-800: #0c1a36;
  --on-dark: #ffffff;
  --on-dark-2: rgba(226, 234, 248, 0.74);
  --on-dark-3: rgba(226, 234, 248, 0.52);
  --on-dark-4: rgba(226, 234, 248, 0.45);
  --on-dark-accent: #a9c1ff;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.05);
  --dark-glow-1: rgba(47, 107, 255, 0.30);
  --dark-glow-2: rgba(56, 120, 255, 0.14);
  --dark-grid: rgba(255, 255, 255, 0.045);
  --dark-surface:
    radial-gradient(900px 520px at 78% -10%, var(--dark-glow-1), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, var(--dark-glow-2), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  --code-bg: #0b1324;
  --code-line: #1c2740;
  --code-ink: #e2e8f4;

  /* 로고 마크 그라데이션 */
  --mark-from: #4f86ff;
  --mark-to: #1f4fd6;

  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.04), 0 16px 36px -16px rgba(15, 23, 42, 0.18);

  /* 글꼴: 본문·제목 Pretendard(명조 금지), 숫자·코드 JetBrains Mono */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 배치 */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-pad: clamp(64px, 8vw, 112px);
  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 16px;
  --header-h: 68px;
  color-scheme: light;
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
}

/* ── 영역 톤(tone) — 같은 부품·글꼴·간격 위에서 «색과 질감»만 바꾼다 ────────────
   구역(section)에 class="tone-<이름>" 을 붙이면 그 안의 부품이 모두 그 톤을 따른다.
   메뉴 밑줄·지도 아이콘 같은 표시용 대표색은 --tone-<이름> (사이트 어디서나 쓸 수 있게 :root 에 둔다).
   새 톤 = 대표색 한 줄 + .tone-<이름> 블록 하나. */
:root {
  --tone-trust: #2f6bff;      /* 기업 솔루션 — 신뢰의 블루 */
  --tone-cinema: #d9a55a;     /* 콘텐츠 제작 — 극장 조명의 골드 */
  --tone-tech: #2fc4b2;       /* 통신 소프트웨어 — 신호의 청록 */
  --tone-vivid: #7357ff;      /* 온라인 서비스 — 산뜻한 바이올렛 */
  --tone-editorial: #a2733b;  /* 회사 소개 — 차분한 브론즈 */
}

.tone-trust { /* 기준 톤 = :root 값 그대로 + 은은한 블루 빛 */
  --tone-glow: rgba(47, 107, 255, 0.07);
}

.tone-cinema { /* 어두운 웜 차콜 + 골드 */
  --bg: #0e0c0a; --bg-alt: #15120e; --surface: rgba(255, 244, 228, 0.035); --surface-2: rgba(255, 244, 228, 0.06);
  --ink: #f6efe4; --ink-2: rgba(246, 239, 228, 0.72); --muted: rgba(246, 239, 228, 0.5);
  --line: rgba(255, 236, 210, 0.10); --line-strong: rgba(255, 236, 210, 0.18); --row-hover: rgba(255, 236, 210, 0.04);
  --accent: #d9a55a; --accent-ink: #e8bd78; --accent-hover: #e4b26a; --accent-soft: rgba(217, 165, 90, 0.12);
  --accent-line: rgba(217, 165, 90, 0.45); --accent-ring: rgba(217, 165, 90, 0.18); --accent-glow: rgba(217, 165, 90, 0.7); --on-accent: #1a1209;
  --shadow: 0 1px 0 rgba(255, 236, 210, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-lift: 0 1px 0 rgba(255, 236, 210, 0.06) inset, 0 28px 56px -26px rgba(0, 0, 0, 0.9);
  --tone-glow: rgba(217, 165, 90, 0.10);
  color-scheme: dark;
}

.tone-tech { /* 깊은 남청색 + 청록, 격자 */
  --bg: #061219; --bg-alt: #081821; --surface: rgba(120, 220, 230, 0.035); --surface-2: rgba(120, 220, 230, 0.06);
  --ink: #e4f1f4; --ink-2: rgba(228, 241, 244, 0.72); --muted: rgba(228, 241, 244, 0.5);
  --line: rgba(120, 220, 230, 0.12); --line-strong: rgba(120, 220, 230, 0.22); --row-hover: rgba(120, 220, 230, 0.04);
  --accent: #2fc4b2; --accent-ink: #5ee0cf; --accent-hover: #3dd3c1; --accent-soft: rgba(47, 196, 178, 0.12);
  --accent-line: rgba(47, 196, 178, 0.45); --accent-ring: rgba(47, 196, 178, 0.18); --accent-glow: rgba(47, 196, 178, 0.7); --on-accent: #04201c;
  --shadow: 0 1px 0 rgba(120, 220, 230, 0.05) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-lift: 0 1px 0 rgba(120, 220, 230, 0.07) inset, 0 28px 56px -26px rgba(0, 0, 0, 0.9);
  --tone-glow: rgba(47, 196, 178, 0.10);
  color-scheme: dark;
}

.tone-vivid { /* 밝은 라벤더 + 바이올렛 */
  --bg: #f8f6ff; --bg-alt: #f1edff; --surface: #ffffff; --surface-2: #f6f3ff;
  --ink: #17112e; --ink-2: #4c4668; --muted: #6f6990;
  --line: #e7e2f7; --line-strong: #d8d0f0; --row-hover: #faf8ff;
  --accent: #7357ff; --accent-ink: #5b3ff0; --accent-hover: #6648ff; --accent-soft: #f0ecff;
  --accent-line: rgba(115, 87, 255, 0.32); --accent-ring: rgba(115, 87, 255, 0.14); --accent-glow: rgba(115, 87, 255, 0.8);
  --shadow: 0 1px 2px rgba(40, 20, 90, 0.04), 0 6px 20px -10px rgba(40, 20, 90, 0.12);
  --shadow-lift: 0 2px 4px rgba(40, 20, 90, 0.05), 0 20px 40px -18px rgba(60, 30, 140, 0.25);
  --tone-glow: rgba(115, 87, 255, 0.10);
}

.tone-editorial { /* 아이보리 + 브론즈 */
  --bg: #f8f5ef; --bg-alt: #f2ede4; --surface: #fffdf9; --surface-2: #f6f1e8;
  --ink: #1d1914; --ink-2: #57504a; --muted: #857b70;
  --line: #e6dfd3; --line-strong: #d6ccbc; --row-hover: #faf7f1;
  --accent: #a2733b; --accent-ink: #8a5f2c; --accent-hover: #95683a; --accent-soft: #f4ebdd;
  --accent-line: rgba(162, 115, 59, 0.35); --accent-ring: rgba(162, 115, 59, 0.14); --accent-glow: rgba(162, 115, 59, 0.7);
  --shadow: 0 1px 2px rgba(60, 40, 15, 0.04), 0 6px 18px -10px rgba(60, 40, 15, 0.12);
  --shadow-lift: 0 2px 4px rgba(60, 40, 15, 0.05), 0 18px 36px -18px rgba(60, 40, 15, 0.2);
  --tone-glow: rgba(162, 115, 59, 0.08);
}

/* ── kit/css/base.css ── */
/* COPLAND 웹 키트 — 기본(초기화·글자·배치·어두운 면)
   배치: 전폭 구역(.band) + 최대 1200px 컨테이너(.wrap). 값은 tokens.css 변수만 쓴다. */

/* ── 기본 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: -0.003em;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(47, 107, 255, 0.18); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.22; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.3; letter-spacing: -0.025em; }
h3 { font-size: 1.06rem; line-height: 1.45; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
strong, b { font-weight: 650; }
code, kbd, pre, .mono { font-family: var(--mono); }
.nw { white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: var(--on-accent); }
.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; }

/* ── 배치 ─────────────────────────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band-pad); }
.band.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band.tight { padding-block: clamp(40px, 5vw, 64px); }
.band.flush-top { padding-top: 0; }

/* 영역 톤 구역 — tokens.css 의 .tone-* 가 바꾼 바탕·글자색을 실제로 칠한다(.band.alt 는 --bg-alt 로 덮음) */
[class*="tone-"] { background-color: var(--bg); color: var(--ink); }
.band.alt[class*="tone-"] { background-color: var(--bg-alt); }

/* 어두운 남색 면 — 첫 화면·페이지 제목 띠·문의 패널 공용 */
.dark {
  position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden;
  background: var(--dark-surface);
}
.dark::before { /* 은은한 격자 */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--dark-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 60% 30%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 75% at 60% 30%, #000 20%, transparent 78%);
}
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .lede { color: var(--on-dark-2); }
.dark .note { color: var(--on-dark-3); }
.dark a:not(.btn) { color: var(--on-dark-accent); }
.dark a:not(.btn):hover { color: var(--on-dark); }
.dark :not(pre) > code { background: rgba(255, 255, 255, 0.08); border-color: var(--dark-line-2); color: #dbe6ff; }

/* 첫 화면(홈) — 머리글 뒤로 깔린다 */
.hero { margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.2; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #7ea4ff 0%, #b8cbff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1rem, 1.5vw, 1.1rem); max-width: 56ch; }

/* 페이지 제목 띠(하위 페이지) — 머리글 뒤로 깔린다 */
.page-hero { margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 5.5vw, 64px); }
.page-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero .lede { max-width: 66ch; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--on-dark-3); }
.crumb a { color: var(--on-dark-2) !important; }
.crumb a:hover { color: var(--on-dark) !important; text-decoration: none; }
.crumb .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--on-dark-3); }

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

/* ── kit/css/components.css ── */
/* COPLAND 웹 키트 — 공통 부품
   머리글·바닥글(마크업은 sitekit.py 가 만든다) + 버튼·카드·배지·표·코드·수치·기능 카드·단계·문의 패널.
   사이트 고유 부품(TTS 음성 재생기 등)은 각 사이트 css 에 둔다. */

/* ── 머리글 ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.site-header .site-bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.brand-mark svg { width: 30px; height: 30px; display: block; }
.brand-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.04rem; letter-spacing: 0.08em; line-height: 1; }
.brand-name span, .brand-sub { font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em; line-height: 1; color: var(--accent-ink); padding-left: 10px; border-left: 1px solid var(--line-strong); }
/* 제품 사이트 로고: 마크·COPLAND(회사 홈) | 제품명(사이트 홈) 두 링크 */
.brand.split { gap: 10px; }
.brand-co { display: inline-flex; align-items: center; gap: 11px; color: inherit; }
.brand-co:hover { color: inherit; text-decoration: none; }
.brand-sub:hover { color: var(--accent); text-decoration: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: var(--ink-2); font-size: 0.93rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; position: relative; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; background: var(--nav-tone, var(--accent)); border-radius: 2px; }
/* 메뉴별 대표색(data-tone) — 지금 보고 있는 영역의 밑줄이 그 영역 색이 된다 */
.site-nav a[data-tone="trust"] { --nav-tone: var(--tone-trust); }
.site-nav a[data-tone="cinema"] { --nav-tone: var(--tone-cinema); }
.site-nav a[data-tone="tech"] { --nav-tone: var(--tone-tech); }
.site-nav a[data-tone="vivid"] { --nav-tone: var(--tone-vivid); }
.site-nav a[data-tone="editorial"] { --nav-tone: var(--tone-editorial); }
.site-nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; font-weight: 600; padding: 8px 16px; }
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }
.site-nav .ext::after { content: "↗"; margin-left: 5px; font-size: 0.85em; opacity: 0.7; }

/* 어두운 띠 위에 있을 때(맨 위) 투명 머리글 — kit.js 가 .is-top 을 붙인다 */
.site-header.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-top .brand, .site-header.is-top .brand:hover { color: #fff; }
.site-header.is-top .brand-name span, .site-header.is-top .brand-sub { color: var(--on-dark-accent); border-left-color: rgba(255, 255, 255, 0.22); }
.site-header.is-top .brand-sub:hover { color: #fff; }
.site-header.is-top .site-nav a { color: rgba(226, 234, 248, 0.78); }
.site-header.is-top .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.site-header.is-top .site-nav a[aria-current="page"] { color: #fff; }
.site-header.is-top .site-nav .nav-cta { background: #fff; color: var(--ink); }
.site-header.is-top .site-nav .nav-cta:hover { background: var(--accent); color: #fff; }
.site-header.is-top .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 0.9rem; font-weight: 500; padding: 7px 12px; border-radius: 9px; cursor: pointer;
}
.nav-toggle .ic { width: 16px; height: 12px; position: relative; display: inline-block; }
.nav-toggle .ic::before, .nav-toggle .ic::after, .nav-toggle .ic i { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
.nav-toggle .ic::before { top: 0; } .nav-toggle .ic i { top: 5px; } .nav-toggle .ic::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .ic::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .ic::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .ic i { opacity: 0; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.25);
    padding: 10px var(--gutter) 18px; display: none;
  }
  .js .site-nav.open { display: flex; }
  .site-header:has(.site-nav.open) { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav a { padding: 12px 12px; font-size: 1rem; }
  .site-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .site-header .site-bar { flex-wrap: wrap; height: auto; padding-block: 10px; }
  html:not(.js) .site-nav { flex-wrap: wrap; margin-left: 0; }
}

/* ── 바닥글 — 열 수는 sitekit 이 --cols 로 준다 ─────────── */
.site-footer { background: var(--navy-950); color: var(--on-dark-3); font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.site-footer .inner { padding-block: clamp(48px, 6vw, 72px) 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--cols, 3), minmax(0, 0.8fr)); gap: 32px 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: var(--on-dark-accent); border-left-color: rgba(255, 255, 255, 0.2); }
.site-footer .about p { margin-top: 18px; max-width: 40ch; line-height: 1.75; color: var(--on-dark-2); }
.site-footer .col h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; color: var(--on-dark-4); margin-bottom: 14px; }
.site-footer .col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .col a { color: var(--on-dark-2); }
.site-footer .col a:hover { color: #fff; text-decoration: none; }
.site-footer .copy { grid-column: 1 / -1; margin-top: 16px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 0.84rem; color: var(--on-dark-4); }
.site-footer .family { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer .family a { color: var(--on-dark-3); }
.site-footer .family a:hover { color: #fff; text-decoration: none; }
@media (max-width: 860px) {
  .site-footer .inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 글머리·제목 묶음 ─────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
/* 번호 달린 글머리: <span class="eyebrow"><b class="idx">01</b>기업 솔루션</span> */
.eyebrow .idx { font-family: var(--mono); font-weight: 600; font-size: 0.92em; letter-spacing: 0.08em; color: var(--accent-ink); padding-right: 10px; border-right: 1px solid var(--line-strong); }
.eyebrow:has(.idx)::before { display: none; }
.dark .eyebrow { color: var(--on-dark-accent); }
.dark .eyebrow::before { background: #5b8cff; box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.18); }
.lede { color: var(--ink-2); font-size: 1.06rem; line-height: 1.8; max-width: 62ch; }
.note { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ── 버튼 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-size: 0.96rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -10px var(--accent-glow); }
.btn-primary:hover { color: var(--on-accent); background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.btn-secondary:hover { color: var(--ink); border-color: var(--accent-line); background: var(--bg-alt); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.36); }
.btn-quiet { background: transparent; color: var(--accent-ink); padding-inline: 6px; min-height: 0; }
.btn-quiet:hover { color: var(--accent); }
.btn[disabled], .btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
@media (max-width: 600px) { .hero .actions .btn { flex: 1 1 auto; } }

/* ── 카드·배지·화살표 링크 ────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow); min-width: 0; }
a.card { display: block; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card.dark { background: var(--dark-surface); border-color: var(--code-line); } /* 남색 카드 — .card 흰 바탕보다 우선 */
a.card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-lift); transform: translateY(-2px); color: inherit; text-decoration: none; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; letter-spacing: 0.01em; }
.badge.plain { background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--accent-ink); }
.link-arrow:hover { text-decoration: none; color: var(--accent); }
.link-arrow .arr { transition: transform .15s; }
.link-arrow:hover .arr, a.card:hover .link-arrow .arr { transform: translateX(3px); }

/* ── 기능 카드 묶음(.features > .card.feature) ───────── */
.features { display: grid; grid-template-columns: repeat(var(--feat-cols, 3), minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; gap: 12px; align-content: start; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.feature .ic { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; border: 1px solid var(--accent-ring); }
.feature .ic svg { width: 21px; height: 21px; }
.feature p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.75; }
@media (max-width: 1020px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* 확인 표시 목록(.checks) — 이름이 .facts 이던 사이트 고유 부품과 겹치지 않게 */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 0.94rem; }
.checks li { padding-left: 28px; position: relative; line-height: 1.65; }
.checks li::before, .checks li::after { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; }
.checks li::before { background: var(--accent-soft); }
.checks li::after { background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; } /* 체크 색 = 톤의 --accent */

/* 단계(.steps > .card.step) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--step-cols, 4), minmax(0, 1fr)); gap: 20px; }
.step { display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.step .n { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.06em; }
.step .n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.75; }
.step .links { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.step .links a { font-weight: 600; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* 마무리 문의 패널(.closing-band > .wrap > .dark.closing) */
.closing-band { padding-block: 0 var(--band-pad); }
.closing { border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.closing h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 14px; }
.closing .lede { margin-top: 12px; }
.closing .actions { justify-content: flex-end; }
@media (max-width: 1020px) {
  .closing { grid-template-columns: 1fr; }
  .closing .actions { justify-content: flex-start; }
}

/* ── 코드 — 창 모양 머리 + 남색 본문 ───────────────────── */
.codebox { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--code-line); background: var(--code-bg); box-shadow: var(--shadow); min-width: 0; }
.codebox .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--mono); font-size: 0.74rem; color: rgba(226, 234, 248, 0.55); letter-spacing: 0.02em; }
.codebox .bar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); box-shadow: 14px 0 0 rgba(255, 255, 255, 0.12), 28px 0 0 rgba(255, 255, 255, 0.08); margin-right: 30px; }
.codebox pre.code { border: 0; border-radius: 0; }
pre.code, .code {
  margin: 0; background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 0.82rem; line-height: 1.7; overflow-x: auto; white-space: pre; word-break: normal; overflow-wrap: normal;
  border: 1px solid var(--code-line);
}
.code .c { color: #7d8aa3; } .code .s { color: #8fd6b4; } .code .k { color: #8fb0ff; }
:not(pre) > code { font-size: 0.86em; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--ink); word-break: normal; overflow-wrap: anywhere; }

/* ── 화면 틀(.frame) — UI 캡처를 창 모양으로 감싼다. .bar 에 주소·제목 ─ */
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-lift); min-width: 0; }
.frame .bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame .bar::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d6dce6; box-shadow: 14px 0 0 #e1e6ee, 28px 0 0 #eaeef4; margin-right: 30px; }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption { padding: 12px 16px; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.dark .frame { border-color: var(--dark-line-2); background: var(--code-bg); }
.dark .frame .bar { background: rgba(255, 255, 255, 0.04); border-bottom-color: var(--dark-line); color: var(--on-dark-3); }
.dark .frame .bar::before { background: rgba(255, 255, 255, 0.22); box-shadow: 14px 0 0 rgba(255, 255, 255, 0.14), 28px 0 0 rgba(255, 255, 255, 0.08); }

/* 이미지 카드(.media) — 작품 장면 등. 비율은 --ratio(기본 16/9) */
.media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); min-width: 0; }
.media img { display: block; width: 100%; aspect-ratio: var(--ratio, 16 / 9); object-fit: cover; }
.media .cap { position: absolute; inset: auto 0 0 0; padding: 28px 16px 12px; font-size: 0.82rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 20, 0.78)); }

/* ── 표 ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.data { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
table.data th, table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data thead th { font-size: 0.78rem; font-weight: 600; color: var(--muted); background: var(--bg-alt); letter-spacing: 0.02em; }
table.data tbody tr:hover td { background: var(--row-hover); }
table.data .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── 수치 ─────────────────────────────────────────────── */
.stat b { display: flex; align-items: baseline; gap: 4px; font-weight: 700; color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.42em; font-weight: 600; letter-spacing: -0.01em; color: var(--accent-ink); }
.stat .k { display: block; margin-top: 14px; color: var(--ink); font-weight: 600; font-size: 0.95rem; line-height: 1.45; }
.stat span:not(.k) { display: block; margin-top: 4px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.dark .stat b { color: #fff; }
.dark .stat b small { color: var(--on-dark-accent); }
.dark .stat .k { color: #fff; }
.dark .stat span:not(.k) { color: var(--on-dark-3); }
