/* 디자인 v2 · 공개 페이지 층 (2026-11-29)
   공개 페이지 <head> 맨 끝에 건다. 값은 design/tactile/tokens.css 의 토큰만 쓴다.
   원칙: 일은 밝은 실내에서, 우주는 창으로만 본다. 면은 불투명한 흰 면과 1px 선(--ring), 뜬 것만 사방 그림자(--float-*).
   유리·흐림·아래로 떨어지는 그림자·장식 그라데이션은 쓰지 않는다. 큰 글자는 가볍게, 머리글은 계기 글꼴.
   포인트 색(코발트)은 지금 있는 자리와 확인할 곳에만. 버튼은 캡슐, 주 버튼은 잉크.
   페이지마다 묶음 CSS 가 먼저 오고 그 선택자가 길다. 여기 선택자는 :not(#v2)(없는 id)로 한 단계 높여 앞선 규칙을 이긴다. */

/* ── 1. 실내: 바닥은 --canvas 한 장. 장식 조명·굴절 빛은 깔지 않는다 ── */
html body:is(.public-site, .x-site, .company-site, .tactile-detail, .frame-site) { background: var(--canvas); color: var(--ink); font-family: var(--font); }
html body :is(.x-ground, .page-light, .band-canvas > .x-ground) { display: none; }
html body :is(.mk-band--paper, .band-paper, .band-canvas, .hero.mk-band--paper) { background: transparent; }
html body .mk-gradient-word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; -webkit-text-fill-color: currentColor; }
html body main:not(#v2) :where(*) { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ── 2. 글자: 큰 글자는 가볍게(h1 300, h2·h3 400). 머리글(eyebrow)은 Geist Mono ── */
html body main:not(#v2) :is(h1) { font-weight: var(--fw-light); letter-spacing: var(--ls-display); }
html body main:not(#v2) :is(h2) { font-weight: var(--fw-regular); letter-spacing: var(--ls-heading); }
html body main:not(#v2) :is(h3) { font-weight: var(--fw-regular); }
html body main:not(#v2) :is(h1, h2, h3) :is(b, strong) { font-weight: var(--fw-medium); }
html body main:not(#v2) :is(.eyebrow, .card-eyebrow, .hero-english, .mk-eyebrow, .kicker, .intro-kicker, .job-eyebrow, .x-eyebrow,
  .ax-eyebrow, .ax-kicker, .curr-kicker, .feat-who, .cred-header-text, .bn-ey, .eyebrow-text, .job-meta-item .k, .job-hero-eyebrow, .job-hero-eyebrow .t, .closed-banner .tag,
  .sec-num, .page-eyebrow, .page-eyebrow .txt, .line-kicker, .week .hd, .service-kind, .guide-kind, .guide-kicker, .lg-eyebrow, .n-group, .hero-kicker, .hero-eyebrow,
  .section-label, .nlb, .team-eyebrow, .team-lane, .ax-member-role, .level .lname, .docs-v6-eyebrow, .output-top, .source-caption, .value-label) {
  font-family: var(--mono); font-size: var(--fs-caption); font-weight: var(--fw-regular); letter-spacing: 0; text-transform: none; color: var(--muted);
}
html body main:not(#v2) :is(.mono, code, kbd, time) { font-family: var(--mono); }

/* ── 3. 버튼: 캡슐. 주 버튼은 잉크 면, 보조는 22% 선. 높이 32·40·48 ── */
html body :is(main, footer, dialog):not(#v2) :is(.btn, .intro-btn, .co-btn, .cta-btn) {
  border-radius: var(--radius-pill); box-shadow: none; background-image: none; font-weight: var(--fw-medium); letter-spacing: 0;
  transition: background-color var(--t-2) var(--ease-drift), box-shadow var(--t-2) var(--ease-drift), color var(--t-2) var(--ease-drift), scale var(--t-1) var(--ease-drift);
}
html body :is(main, dialog):not(#v2) :is(.btn-primary, .intro-btn-primary, .btn.primary) { background: var(--ink); color: var(--on-ink); border-color: transparent; box-shadow: none; }
html body :is(main, dialog):not(#v2) :is(.btn-primary, .intro-btn-primary, .btn.primary):hover { background: var(--ink); color: var(--on-ink); box-shadow: 0 0 0 1px var(--ink); }
html body :is(main, dialog):not(#v2) :is(.btn-secondary, .intro-btn-secondary, .btn-ghost, .btn.secondary) { background: transparent; color: var(--ink); border-color: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
html body :is(main, dialog):not(#v2) :is(.btn-secondary, .intro-btn-secondary, .btn-ghost, .btn.secondary):hover { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-control); }
html body :is(main, dialog):not(#v2) :is(.btn, .intro-btn):active { scale: .97; }
html body :is(main, dialog, footer):not(#v2) :is(.btn, .intro-btn, a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── 4. 면: 흰 면에 선 하나(--ring). 그림자는 떠 있는 것(메뉴·대화상자)만 ── */
html body main:not(#v2) :is(.panel, .card, .feat-card, .feature-card, .glass, .ax-hg-card, .req-block, .job-meta-item,
  .intro-glass, .co-card, .news-card, .doc-card, .guide-card, .manual-card, .cond-table, .lg-doc-card, .still-plate, .voice, .product-profile, .cta-section, .closed-banner) {
  background: var(--surface); border-color: transparent; box-shadow: var(--ring); background-image: none;
}
html body main:not(#v2) :is(.panel, .card, .feat-card, .feature-card, .ax-hg-card, .req-block, .job-meta-item, .co-card, .news-card, .doc-card, .guide-card, .manual-card, .cta-section, .closed-banner) { border-radius: var(--radius-lg); }
html body main:not(#v2) :is(.card, .feat-card, .feature-card, .ax-hg-card, .news-card, .doc-card, .guide-card).hoverable:hover,
html body main:not(#v2) a:is(.card, .feat-card, .feature-card, .ax-hg-card, .news-card, .doc-card, .guide-card):hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: none; }

/* ── 5. 배지·칩: 캡슐, 선 하나. 색은 상태 점으로만 ── */
html body main:not(#v2) :is(.badge, .chip, .tag, .pill) { display: inline-flex; align-items: center; width: fit-content; padding: 2px 10px; letter-spacing: 0; text-transform: none; border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); border-color: transparent; font-weight: var(--fw-medium); }

/* ── 6. 입력칸: 흰 면 + 48% 선(3:1), 초점은 3px 떨어진 코발트 고리 ── */
html body main:not(#v2) :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="range"]), select, textarea, .input) {
  background: var(--surface); color: var(--ink); border: 0; border-radius: var(--radius-input); box-shadow: inset 0 0 0 1px var(--line-control);
}
html body main:not(#v2) :is(input, select, textarea, .input):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: inset 0 0 0 1px var(--line-control); }
html body main:not(#v2) :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }

/* ── 7. 표: 머리글은 12px 도움말 색, 줄은 옅은 선 ── */
html body main:not(#v2) table:not(.lg-table) { border-collapse: collapse; }
html body main:not(#v2) table :is(th) { color: var(--muted); font-weight: var(--fw-regular); }
html body main:not(#v2) table :is(td, th) { border-color: var(--line-soft); }

/* ── 8. 값 강조: 가격·큰 숫자는 잉크. 코발트는 화면에 한두 점만 ── */
html body main:not(#v2) :is(.intro-price, .price, .amt, .ax-count, .intro-num) { color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }

/* ── 9. DS v2 부품 이름과 겹치는 기존 마크업: DS 의 .steps(가로 단계 표시)가 매뉴얼 번호 목록·채용 전형 카드에 붙지 않게 한다 ── */
html body main:not(#v2) .manual-doc ol.steps { display: block; gap: 0; }
html body main:not(#v2) .manual-doc ol.steps > li { display: block; flex: none; gap: 0; padding-top: 0; box-shadow: none; font-weight: inherit; }
html body main:not(#v2) div.steps > .step { display: block; flex: 1 1 0; padding: var(--space-4) var(--space-3); background: var(--surface); box-shadow: var(--ring); border-radius: var(--radius-lg); }

/* ── 10. 장식 밑줄: 코발트는 지금 있는 자리와 확인할 곳에만. 홈 AX 구간 제목의 밑줄은 다른 구간 제목과 같게 뺀다 ── */
html body main:not(#v2) .v3-consult-title { text-decoration: none; }

/* ── 11. 문의 종류 고르기: DS v2 의 .choice-group(세로 격자) 대신 세그먼트 모양. 우물 바탕 위에서 고른 칸만 흰 면 ── */
html body main:not(#v2) .choice-group:has(> .choice input[type="radio"]) { display: inline-flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--radius-pill); background: var(--well); }
html body main:not(#v2) .choice-group > .choice > span { min-height: 34px; padding: 0 16px; border-radius: var(--radius-pill); background: none; color: var(--muted); font-size: var(--fs-ui); font-weight: var(--fw-medium); white-space: nowrap; box-shadow: none; transition: color var(--t-2) var(--ease-drift), background-color var(--t-2) var(--ease-drift); }
html body main:not(#v2) .choice-group > .choice:hover > span { color: var(--ink); }
html body main:not(#v2) .choice-group > .choice > input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--ring); }
html body main:not(#v2) .choice-group > .choice > input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── 12. 푸터 바로 앞 구간: v2 의 --space-9(168px)를 그대로 두면 마지막 줄 선과 푸터 선 사이가 빈 띠가 된다. 푸터 앞은 --space-7 ── */
html body main:not(#v2) > section.ax-faq:last-of-type { padding-bottom: var(--space-7); }
html body main:not(#v2) > section.ax-faq:last-of-type .ax-faq-item:last-child { border-bottom-color: transparent; box-shadow: none; }

/* ── 13. 표 줄 선: DS v2 .table 은 줄 선을 칸 안쪽 그림자로 긋는다. 공개 페이지 표는 같은 선을 테두리로 그어 칸이 틀로 읽히지 않게 한다 ── */
html body main:not(#v2) table.table thead th { box-shadow: none; border-bottom: 1px solid var(--line); }
html body main:not(#v2) table.table tbody tr + tr > * { box-shadow: none; border-top: 1px solid var(--line-soft); }

/* ── 14. 기존 부품 안의 배지·카드: v2 배지 모양을 로드맵 노드 안 작은 표지에는 걸지 않는다. SUIT 가 넓어 홈 AI 카드 글자가 카드 끝에 붙지 않게 카드 사이를 2px 줄인다 ── */
html body main:not(#v2) .rm-node .badge { padding: 1px 6px; box-shadow: none; min-height: 0; }
html body main:not(#v2) .rm-node:not(.legend .rm-node) { min-height: 44px; }
@media (max-width: 768px) { html body main:not(#v2) .rm-node:not(.legend .rm-node, .level .rm-node) { min-height: 48px; } }
@media (max-width: 767px) { html body[data-page-group="home"] :is(main.home-v2, main .home-v2):not(#v2) .hs-ai { padding-inline: 2px; } }

/* ── 15. 줄바꿈: SUIT 는 글자 폭이 넓어 「·」로 줄이 시작하거나 마지막 줄이 한 글자로 남는 곳이 생긴다. 본문 글은 줄 끝을 고르게(pretty) ── */
html body main:not(#v2) :is(p, li, td, h3, .card-desc) { text-wrap: pretty; }
@supports (word-break: auto-phrase) { html body main:not(#v2) :is(p, li, td, h3, .card-desc, .n-s) { word-break: auto-phrase; } }

/* ── 16. DS v2 .page-head(제목·동작 가로 줄)와 이름이 겹치는 소식·블로그·채용 목록 머리: 머리글 아래 제목으로 세로 배치 ── */
html body main:not(#v2) .page-head { display: block; min-height: 0; }
