/* =============================================================================
   CONDERI UI Renewal Layer v19 — Dismail (ConderiMail) (mail.conderi.com)
   기준: www.conderi.com v19 톤앤매너 (2026-11-21 대표 지시 #81616·#81679·#81694)
   · 순백·페이퍼 · 딥네이비 · 포인트 블루 · Paperlogy · 1px 헤어라인 · 넉넉한 여백
   · 구조·기능·문구는 그대로 두고 표면만 정돈한다(CSP style-src 'self' 준수, 인라인 스타일 없음)
   · 다른 서비스와 동일한 전사 표준 푸터(.v19f)를 함께 정의한다.
   ============================================================================= */
/* =============================================================================
   CONDERI v19 — 서비스 웹 통일 레이어 (2026-11-21)
   기준: www.conderi.com v19 (work/_v19_src/css/tokens.css · chrome.css · components.css)
   원칙
     · 표면만 정돈한다 — 화면 구조·기능·문구·CSP(style-src 'self')는 건드리지 않는다.
     · 순백(#ffffff) + 페이퍼(#f7f9fc) + 딥네이비(#0c1220 / #102a56) + 포인트 블루(#1d4ed8)
     · Paperlogy/콘데리 서체 · 넉넉한 여백 · 1px 헤어라인 · 모던 카드/버튼
     · AI티 금지: 대제목 위 작은 라벨(eyebrow), 장식 번호(01 —)는 보이지 않게 한다.
     · 모바일 390px 가로 넘침 0, 한글 word-break: keep-all
   ============================================================================= */

@font-face {
  font-family: "Paperlogy";
  src: url("/static/fonts/Paperlogy-4Regular.woff2?v=20261121b") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("/static/fonts/Paperlogy-6SemiBold.woff2?v=20261121b") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("/static/fonts/Paperlogy-7Bold.woff2?v=20261121b") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("/static/fonts/Paperlogy-8ExtraBold.woff2?v=20261121b") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  /* ---- v19 표면 토큰 ---- */
  --v19-white: #ffffff;
  --v19-paper: #f7f9fc;
  --v19-paper-2: #eef2f8;
  --v19-ink: #0c1220;
  --v19-ink-soft: #102a56;
  --v19-navy: #102a56;
  --v19-muted: #4d5b76;
  --v19-muted-2: #6c7a93;
  --v19-line: #e1e6ee;
  --v19-line-strong: #c8d1e0;
  --v19-accent: #1d4ed8;
  --v19-accent-soft: #ecf2fe;
  --v19-accent-deep: #0b3aa8;
  --v19-focus: #1d4ed8;
  --v19-font-sans: "Paperlogy", "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
    system-ui, sans-serif;
  --v19-radius-sm: 8px;
  --v19-radius: 12px;
  --v19-radius-lg: 18px;
  --v19-radius-xl: 24px;
  --v19-shadow-sm: 0 1px 2px rgba(12, 18, 32, 0.04), 0 10px 26px -20px rgba(12, 18, 32, 0.22);
  --v19-shadow: 0 24px 60px -34px rgba(12, 18, 32, 0.32);
  --v19-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --v19-section: clamp(56px, 6.4vw, 96px);
  --v19-gutter: clamp(20px, 4vw, 48px);
}

/* ── Dismail 레거시 토큰 → v19 매핑 ────────────────────────────────────── */
:root {
  --navy: #0c1220;
  --navy-2: #102a56;
  --ivory: #ffffff;
  --paper: #ffffff;
  --ink: #0c1220;
  --ink-2: #4d5b76;
  --ink-3: #6c7a93;
  --line: #e1e6ee;
  --line-2: #c8d1e0;
  --accent: #1d4ed8;
  --accent-soft: #ecf2fe;
  --ok: #267337;
  --ok-soft: #e8f3ea;
  --warn: #9a6413;
  --warn-soft: #fdf3e2;
  --danger: #a3242b;
  --danger-soft: #fbeceb;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 18, 32, 0.04), 0 10px 26px -20px rgba(12, 18, 32, 0.22);
  --f: "Paperlogy", "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

/* ── Dismail 표면 보정 ─────────────────────────────────────────────────── */
.top { border-bottom: 1px solid var(--v19-line); background: rgba(255, 255, 255, 0.92); }
.top-in { height: 72px; }
.menu a { color: var(--v19-muted); }
.menu a:hover { color: var(--v19-ink); }
.menu a.cta { background: var(--v19-ink); color: #fff; border-radius: 999px; min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; }
.menu a.cta:hover { background: var(--v19-navy); color: #fff; }
.hero { padding: clamp(44px, 6vw, 80px) 20px 24px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.14; letter-spacing: -0.034em; }
.btn { min-height: 48px; padding: 0 24px; border-radius: 999px; }
.btn.ghost { border-color: var(--v19-line-strong); color: var(--v19-ink); }
.card, .card.tone { background: var(--v19-white); border: 1px solid var(--v19-line); border-radius: var(--v19-radius-lg); box-shadow: none; }
.card.tone { background: var(--v19-paper); border-color: var(--v19-line); }
.steps li { background: var(--v19-white); border: 1px solid var(--v19-line); border-radius: var(--v19-radius); }
.steps li:before { background: var(--v19-ink); }
.sec { margin: clamp(32px, 4vw, 56px) 0 16px; padding: 0; border: 0; }
.foot { background: transparent; }

@media (max-width: 900px) {
  .top-in { height: 64px; }
  .hero { padding: 36px 20px 20px; }
}

/* ── 기본 표면 ─────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--v19-white);
  color: var(--v19-ink);
  font-family: var(--v19-font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body :where(p, li, dt, dd, blockquote, figcaption, td, th, label, h1, h2, h3, h4, h5, h6) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

::selection { background: rgba(29, 78, 216, 0.14); color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Paperlogy", var(--v19-font-sans);
  color: var(--v19-ink);
  letter-spacing: -0.028em;
  line-height: 1.24;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.032em; }
h2 { font-size: clamp(22px, 2.3vw, 30px); }
h3 { font-size: clamp(17px, 1.4vw, 20px); }
h4 { font-size: 16px; }

p, li { line-height: 1.72; }

a { transition: color 0.18s var(--v19-ease), border-color 0.18s var(--v19-ease); }

img, svg, canvas { max-width: 100%; }

hr { border: 0; border-top: 1px solid var(--v19-line); }

:focus-visible {
  outline: 2px solid var(--v19-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* AI티 제거 — 대제목 위 작은 라벨·장식 번호는 화면에서 걷어낸다 */
:where(.eyebrow, .kicker, .page-kicker, .section-num, .label-num, .toc-kicker,
  .overline, .pre-title, .label-eng),
[class*="eyebrow"], [class*="kicker"], [class*="-label-num"], [class*="section-num"] {
  display: none !important;
}
/* 언론·정보 화면의 섹션 라벨은 장식이 아니라 정보라 살린다 */
.art-kicker { display: flex !important; }
.mega-kicker { display: inline-block !important; }

/* ── 헤더 ───────────────────────────────────────────────────────────────── */
:where(.site-header, .site-head, .masthead, header.top, .top) {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--v19-line);
}
:where(.site-header, .site-head, header.top, .top) {
  position: sticky;
  top: 0;
  z-index: 60;
}
:where(.site-header, .site-head, .masthead, header.top, .top) :where(a, button) {
  color: inherit;
}
.util-bar {
  background: var(--v19-white);
  border-bottom: 1px solid var(--v19-line);
  color: var(--v19-muted);
}
.util-link, .util-date { color: var(--v19-muted-2); }
.util-link:hover { color: var(--v19-ink); }
.nav-bar {
  background: var(--v19-white);
  border-bottom: 1px solid var(--v19-line);
}
.nav-list a, .nav-list button, .nav-link {
  color: var(--v19-ink);
  font-weight: 600;
  letter-spacing: -0.012em;
}
.nav-list a:hover, .nav-link:hover { color: var(--v19-accent); }
.nav-list a[aria-current], .nav-list .is-active { color: var(--v19-ink); }
.search-input, .search {
  border: 1px solid var(--v19-line-strong);
  border-radius: 999px;
  background: var(--v19-white);
}
.search-input { min-height: 42px; padding: 0 16px; color: var(--v19-ink); }
.search-input::placeholder { color: var(--v19-muted-2); opacity: 1; }

/* ── 버튼 ───────────────────────────────────────────────────────────────── */
:where(.button, .btn, .btn-primary, .btn-ghost, .cta, button.btn, a.button, a.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--v19-line-strong);
  border-radius: 999px;
  background: var(--v19-white);
  color: var(--v19-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.2s var(--v19-ease), color 0.2s var(--v19-ease),
    border-color 0.2s var(--v19-ease), transform 0.25s var(--v19-ease);
}
:where(.button, .btn, .btn-primary, .cta, a.button, a.btn):hover {
  border-color: var(--v19-ink);
  color: var(--v19-ink);
  background: var(--v19-white);
  transform: translateY(-1px);
}
:where(.button.primary, .btn.primary, .btn-primary, .button-primary, .cta, a.cta) {
  background: var(--v19-ink);
  border-color: var(--v19-ink);
  color: #fff;
}
:where(.button.primary, .btn.primary, .btn-primary, .button-primary, .cta, a.cta):hover {
  background: var(--v19-navy);
  border-color: var(--v19-navy);
  color: #fff;
}
/* 유틸바·메뉴 안의 CTA 는 배경 위에서도 흰 글씨를 유지한다 */
.util-bar .cta, .util-bar a.cta, .menu .cta, .menu a.cta,
.nav-bar .cta, .masthead .cta {
  background: var(--v19-ink);
  border-color: var(--v19-ink);
  color: #fff;
}
:where(.button.ghost, .btn.ghost, .btn-outline, .btn.secondary, .button.ghost) {
  background: transparent;
  border-color: var(--v19-line-strong);
  color: var(--v19-ink);
}
:where(.button.ghost, .btn.ghost, .btn-outline, .btn.secondary, .button.ghost):hover {
  background: var(--v19-paper);
  border-color: var(--v19-ink);
}
:where(.button.small, .btn.sm, .btn.small) { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
button[disabled], .button[disabled], .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── 카드 · 표면 ─────────────────────────────────────────────────────────── */
/* 표면은 '카드를 감싸는 컨테이너'에만 입힌다.
   이전 판은 [class*="card-"] 로 카드 내부 요소(.card-body·.card-title·.card-meta·.card-time·
   .card-section 등)까지 전부 잡아 하나하나에 1px 테두리와 18px 라운드를 둘렀다
   (2026-11-21 대표 제보 — 카드 안 메타·제목·요약이 각각 회색 둥근 상자로 보임). */
:where(.card, .kpi, .tile, .panel, .info-card, .auth-card, .thread-card, .login-card,
  .list-card, .st-card, .story-card, .hero-card) {
  background: var(--v19-white);
  border: 1px solid var(--v19-line);
  border-radius: var(--v19-radius-lg);
  box-shadow: none;
  transition: border-color 0.25s var(--v19-ease), box-shadow 0.35s var(--v19-ease),
    transform 0.35s var(--v19-ease);
}
:where(.card, .kpi, .tile, .panel, .info-card, .auth-card, .thread-card, .login-card,
  .list-card, .st-card, .story-card, .hero-card):hover {
  border-color: var(--v19-line-strong);
  box-shadow: var(--v19-shadow-sm);
}
.card { padding: clamp(22px, 2.2vw, 32px); }
:where(.card, .kpi, .tile, .panel) :where(h2, h3, h4) { letter-spacing: -0.024em; }

/* 카드 내부 요소 — 테두리·그림자·배경 없음(테두리는 카드 한 겹뿐) */
:where(.card-body, .card-title, .card-lead, .card-meta, .card-byline, .card-section,
  .card-time, .card-views, .card-read, .card-src, .card-h, .card-head, .card-foot,
  .card-link, .card-date, .card-tag, .card-tags, .card-excerpt, .card-text, .card-sub,
  .card-desc, .card-copy, .card-info) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
:where(.card, .kpi, .tile, .panel) p { color: var(--v19-muted); }

/* 지표 · 배지 */
.kpi strong, .stat strong { font-variant-numeric: tabular-nums; color: var(--v19-ink); }
.kpi span, .stat span { color: var(--v19-muted-2); }
:where(.badge, .pill, .tag, .chip) {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.004em;
}
.pill { background: var(--v19-accent-soft); color: var(--v19-accent-deep); }

/* ── 폼 ─────────────────────────────────────────────────────────────────── */
:where(input[type="text"], input[type="email"], input[type="password"], input[type="search"],
  input[type="tel"], input[type="url"], input[type="number"], input[type="date"],
  input[type="datetime-local"], input[type="time"], input[type="file"], textarea, select) {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--v19-line-strong);
  border-radius: 10px;
  background: var(--v19-white);
  color: var(--v19-ink);
  font: inherit;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 0.16s var(--v19-ease), box-shadow 0.2s var(--v19-ease);
}
:where(input, textarea, select):focus {
  outline: none;
  border-color: var(--v19-accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.16);
}
:where(input, textarea)::placeholder { color: var(--v19-muted-2); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--v19-accent); }
label { color: var(--v19-ink); }

/* ── 표 ─────────────────────────────────────────────────────────────────── */
table { border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--v19-line); }
th {
  color: var(--v19-muted);
  font-weight: 700;
  background: var(--v19-paper);
}
tbody tr { transition: background-color 0.16s var(--v19-ease); }
tbody tr:hover { background: var(--v19-paper); }

/* ── 섹션 리듬 ──────────────────────────────────────────────────────────── */
:where(.section, .sec) {
  padding-top: var(--v19-section);
  padding-bottom: var(--v19-section);
  border-top: 1px solid var(--v19-line);
}
:where(.section, .sec):first-child { border-top: 0; }
.lead { color: var(--v19-muted); }
.muted { color: var(--v19-muted-2); }
.small { color: var(--v19-muted-2); }

/* ── 푸터 없음 표시(레거시 푸터 잔여물 방지) ─────────────────────────────── */
.site-footer, .site-foot, .foot, .doc__foot { background: transparent; color: inherit; }

/* =============================================================================
   v19 전사 표준 푸터 (모든 서비스 공통 — work/_v19_src/partials/footer.html 기준)
   ============================================================================= */
.v19f {
  background: var(--v19-white);
  border-top: 1px solid var(--v19-line);
  padding: clamp(56px, 7vw, 96px) 0 34px;
  color: var(--v19-ink);
  font-family: var(--v19-font-sans);
  text-align: left;
}
.v19f-shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--v19-gutter); }
.v19f-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 88px);
  padding-bottom: clamp(36px, 4.4vw, 64px);
  border-bottom: 1px solid var(--v19-line);
}
.v19f-brand img { display: block; width: 132px; height: auto; }
.v19f-brand p {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--v19-muted);
}
.v19f-svc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--v19-muted-2);
}
.v19f-svc a { color: var(--v19-muted); text-decoration: none; }
.v19f-svc a:hover { color: var(--v19-ink); text-decoration: underline; text-underline-offset: 3px; }
.v19f-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.v19f-col h2 {
  margin: 0 0 14px;
  font-family: var(--v19-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--v19-muted-2);
  text-transform: uppercase;
}
.v19f-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.v19f-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--v19-ink);
  opacity: 0.82;
  text-decoration: none;
  transition: opacity 0.2s linear, transform 0.3s var(--v19-ease);
}
.v19f-col a:hover, .v19f-col a:focus-visible { opacity: 1; transform: translateX(3px); }
.v19f a, .v19f a:visited { color: inherit; }
.v19f-svc a, .v19f-svc a:visited { color: var(--v19-muted); }
.v19f-legal a, .v19f-legal a:visited { color: var(--v19-muted); }
.v19f-info {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--v19-line);
}
.v19f-info dl { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; font-size: 12.5px; color: var(--v19-muted); }
.v19f-info dl > div { display: flex; gap: 8px; }
.v19f-info dt { margin: 0; color: var(--v19-muted-2); font-size: 12px; padding-top: 2px; }
.v19f-info dd { margin: 0; }
.v19f-info dd a { color: inherit; text-decoration: none; border: 0; }
.v19f-info dd a:hover { color: var(--v19-ink); text-decoration: underline; text-underline-offset: 3px; }
.v19f-notice { margin: 0; max-width: 52ch; font-size: 11.5px; line-height: 1.7; color: var(--v19-muted-2); }
.v19f-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--v19-muted-2);
}
.v19f-bottom p { margin: 0; }
.v19f-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.v19f-legal a { color: var(--v19-muted); text-decoration: none; border: 0; }
.v19f-legal a:hover { color: var(--v19-ink); }

@media (max-width: 980px) {
  .v19f-top { grid-template-columns: 1fr; }
  .v19f-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .v19f-info { grid-template-columns: 1fr; }
}

/* ── 모션 최소화 ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 좁은 화면 ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --v19-section: clamp(44px, 9vw, 64px); --v19-gutter: 20px; }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(26px, 7vw, 34px); }
  h2 { font-size: clamp(20px, 5.6vw, 26px); }
  :where(.card, .kpi, .tile, .panel) { padding: 20px; }
  .v19f { padding-top: 48px; }
  .v19f-bottom { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .v19f-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v19f-brand img { width: 118px; }
}
