/* ==========================================================================
   필드솔루션 공용 스타일 (site.css)
   방향: 밝은 유리온실 톤 기본 + 관제실 네이비 구간. 시그니처는 기류 유선(streamline).
   안내서: docs/PAGE_GUIDE.md
   목차: 1 토큰 · 2 기본 · 3 레이아웃 · 4 헤더/내비 · 5 버튼 · 6 유선 · 7 히어로
         8 답변 쪽(직답·표·도식·증거·FAQ·출처·메타) · 9 카드류 · 10 CTA/문의 폼
         11 본문 글(.prose)·임베드·요약 · 12 새 주소 안내 · 13 푸터 · 보조 클래스 · 14 동작 줄이기/인쇄
   ========================================================================== */

/* 1. 토큰 ---------------------------------------------------------------- */
:root {
  /* 원색 */
  --glass: #F5F8F7;      /* 유리 흰색: 기본 바탕 */
  --white: #FFFFFF;
  --navy: #0B1E2D;       /* 관제 네이비: 어두운 구간, 본문 글자 */
  --navy-2: #12293B;     /* 네이비 구간 안의 면 */
  --navy-3: #1B3A52;
  --blue: #009FE8;       /* 로고 블루: 선·강조 면(글자색으로 쓰지 않는다) */
  --blue-ink: #006FA8;   /* 밝은 바탕 위 링크·글자용 블루 */
  --blue-soft: #E3F3FB;
  --green: #1F8A4C;      /* 작물 초록: 상태 정상, 작물·현장 표시 */
  --green-soft: #E4F2EA;
  --green-ink: #14663A;   /* 밝은 바탕 위 초록 글자·작은 면(흰 글자와 7:1) */
  --amber: #F2A33A;      /* 호박색: 열·주의·핵심 한 곳 */
  --amber-ink: #8A5300;  /* 밝은 바탕 위 호박색 글자 */
  --amber-soft: #FDF1DE;
  --line: #D5DEDF;       /* 선 */

  /* 의미 토큰(구간 테마가 바꾼다) */
  --bg: var(--glass);
  --surface: var(--white);
  --fg: var(--navy);
  --fg-muted: #465A68;
  --rule: var(--line);
  --link: var(--blue-ink);
  --focus: var(--blue-ink);
  --accent: var(--blue-ink);

  /* 서체 */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    "D2Coding", monospace;

  /* 글자 크기 */
  --fs-body: 1.0625rem;                         /* 17px */
  --fs-small: 0.9375rem;                        /* 15px */
  --fs-label: 0.8125rem;                        /* 13px, 모노 라벨 */
  --fs-h1: clamp(1.875rem, 1.2rem + 3.2vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.6vw, 2.125rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);

  /* 간격·모양 */
  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1160px;
  --maxw-text: 44rem;
  --section-y: clamp(56px, 8vw, 104px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(11, 30, 45, .06), 0 8px 24px -12px rgba(11, 30, 45, .18);
  --header-h: 64px;
  --header-box: calc(var(--header-h) + 1px);   /* 헤더 전체 높이(아래 선 1px 포함). 홈에서 히어로를 이만큼 끌어올린다 */
  --mono-ws: -0.28em;    /* 모노 서체의 넓은 띄어쓰기 보정(한글 라벨용) */
}

/* 네이비 구간: 이 클래스 안에서는 의미 토큰이 어두운 값으로 바뀐다 */
.theme-navy {
  --bg: var(--navy);
  --surface: var(--navy-2);
  --fg: #EAF2F4;
  --fg-muted: #A3B8C2;
  --rule: #27425A;
  --link: #6CCBF7;
  --focus: var(--amber);
  --accent: var(--blue);
  background: var(--bg);
  color: var(--fg);
}

/* 2. 기본 ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { :root { --fs-body: 1.125rem; } } /* 18px */

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.22; letter-spacing: -0.03em; font-weight: 750; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--amber); }

/* 모노 라벨: 수치·표식·분류에만 쓴다 */
.label, .eyebrow {
  font-family: var(--font-mono); word-spacing: var(--mono-ws);
  font-size: var(--fs-label);
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--fg-muted);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--accent); font-weight: 600; }
.eyebrow::before { content: ""; width: 28px; height: 0; border-top: 2px solid currentColor; flex: none; }
.num { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--fg-muted); max-width: var(--maxw-text); }
.muted { color: var(--fg-muted); }
.nowrap { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }

/* 3. 레이아웃 ------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.section { padding-block: var(--section-y); background: var(--bg); color: var(--fg); position: relative; }
.section--white { --bg: var(--white); --surface: var(--glass); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section + .section:not(.theme-navy):not(.section--white) { padding-top: 0; }
.section--white + .section:not(.theme-navy):not(.section--white),
.theme-navy + .section:not(.theme-navy):not(.section--white) { padding-top: var(--section-y); }
.section__head { max-width: var(--maxw-text); margin-bottom: clamp(24px, 4vw, 44px); }
.section__head > :last-child { margin-bottom: 0; }
.section__foot { margin-top: clamp(24px, 3vw, 36px); margin-bottom: 0; }

.grid { display: grid; gap: clamp(24px, 4vw, 28px) clamp(16px, 2.4vw, 28px); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stack { display: flex; flex-direction: column; gap: 1.1em; }
.stack > * { margin-block: 0; }

/* 4. 헤더·내비 ----------------------------------------------------------- */
.site-header {
  position: relative; top: 0; z-index: 100;
  background: rgba(245, 248, 247, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 0 16px; min-height: var(--header-h); flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; flex: none; padding: 6px 0; min-height: var(--header-h); }
.site-logo img { height: 30px; width: auto; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-small); font-weight: 600;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle__bars::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

.site-nav { flex: 1 1 100%; padding-bottom: 12px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 4px;
  color: var(--navy); text-decoration: none; font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.site-nav__list a:hover { color: var(--blue-ink); }
.site-nav__list a[aria-current="page"], .site-nav__list a.is-active { color: var(--blue-ink); }
.site-nav__sub { list-style: none; margin: 0; padding: 0 0 0 16px; }
.site-nav__sub a { font-weight: 500; color: var(--fg-muted); }
.site-nav__cta { margin-top: 12px; }
.site-nav__cta .btn { width: 100%; }

/* JS가 켜진 좁은 화면: 접어 두고 버튼으로 연다 (JS가 꺼지면 메뉴가 펼쳐진 채 보인다) */
.js .site-header { position: sticky; }
@media (max-width: 1079px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (min-width: 1080px) {
  .site-header { position: sticky; }
  .site-header__inner { flex-wrap: nowrap; gap: 28px; }
  .site-nav { flex: 1 1 auto; padding: 0; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
  .site-nav__list { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav__list > li { position: relative; }
  .site-nav__list a { border: 0; padding: 6px 10px; font-size: .9375rem; white-space: nowrap; border-radius: var(--radius); }
  .site-nav__list > li > a[aria-current="page"], .site-nav__list > li > a.is-active { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
  .site-nav__sub {
    position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .site-nav__list > li:hover > .site-nav__sub,
  .site-nav__list > li:focus-within > .site-nav__sub { visibility: visible; opacity: 1; transform: none; }
  .site-nav__sub a { padding: 6px 10px; color: var(--navy); }
  .site-nav__sub a:hover { background: var(--glass); }
  .site-nav__cta { margin: 0; flex: none; }
  .site-nav__cta .btn { width: auto; min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
}

/* 4-1. 홈: 헤더를 히어로 영상 위에 겹친다 --------------------------------------
   맨 위에서는 바탕 없이 흰 로고·흰 글자로 영상 위에 얹는다. 히어로 안에서 내리면 어두운 유리(.is-scrolled),
   히어로를 지나거나 좁은 화면에서 메뉴를 열면 원래 밝은 헤더(.is-solid)로 돌아간다. 상태는 site.js 6번이 바꾼다.
   넓은 화면은 스크립트가 켜져 있으면 첫 화면부터 겹치고, 좁은 화면은 메뉴가 접힌 뒤(.js)에만 겹친다.
   스크립트가 꺼져 있으면 원래 헤더 그대로다. 헤더 높이는 어느 상태에서나 같다(선은 지우지 않고 투명하게) */
@media (scripting: enabled) and (min-width: 1080px) {
  [data-page-type="home"] .site-header { margin-bottom: calc(-1 * var(--header-box)); }
  [data-page-type="home"] .hero { --hero-top: var(--header-box); }
  [data-page-type="home"] .site-header:not(.is-solid) {
    --focus: var(--amber);
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  [data-page-type="home"] .site-header.is-scrolled:not(.is-solid) {
    background: rgba(11, 30, 45, .9); border-bottom-color: rgba(234, 242, 244, .1);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  }
  [data-page-type="home"] .site-header:not(.is-solid) .site-logo { background: url("/assets/logo-white.svg") no-repeat left center / auto 30px; }
  [data-page-type="home"] .site-header:not(.is-solid) .site-logo img { opacity: 0; }
  [data-page-type="home"] .site-header:not(.is-solid) .site-nav__list > li > a { color: #EAF2F4; }
  [data-page-type="home"] .site-header:not(.is-solid) .site-nav__list > li > a:hover { color: #6CCBF7; }
  [data-page-type="home"] .site-header:not(.is-solid) .site-nav__sub { --focus: var(--blue-ink); } /* 흰 펼침 상자 안은 밝은 바탕 그대로 */
}
@media (max-width: 1079px) {
  .js [data-page-type="home"] .site-header { margin-bottom: calc(-1 * var(--header-box)); }
  .js [data-page-type="home"] .hero { --hero-top: var(--header-box); }
  .js [data-page-type="home"] .site-header:not(.is-solid) {
    --focus: var(--amber);
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .js [data-page-type="home"] .site-header.is-scrolled:not(.is-solid) {
    background: rgba(11, 30, 45, .9); border-bottom-color: rgba(234, 242, 244, .1);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  }
  .js [data-page-type="home"] .site-header:not(.is-solid) .site-logo { background: url("/assets/logo-white.svg") no-repeat left center / auto 30px; }
  .js [data-page-type="home"] .site-header:not(.is-solid) .site-logo img { opacity: 0; }
  .js [data-page-type="home"] .site-header:not(.is-solid) .nav-toggle { color: #EAF2F4; border-color: rgba(234, 242, 244, .45); }
}
/* 스크립트가 늦거나 실패하면 붙어 따라오지 않고 히어로와 함께 올라간다(밝은 구간 위에 흰 글자가 남지 않게) */
html:not(.js) [data-page-type="home"] .site-header { position: relative; }
/* 고대비 모드는 배경 그림을 지우므로 원래 로고를 보인다 */
@media (forced-colors: active) {
  [data-page-type="home"] .site-header .site-logo { background: none !important; }
  [data-page-type="home"] .site-header .site-logo img { opacity: 1 !important; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-page-type="home"] .site-header { transition: background-color .25s, border-color .25s; }
  [data-page-type="home"] .site-nav__list > li > a { transition: color .25s; }
}

/* 브레드크럼 */
.breadcrumb { font-size: var(--fs-small); color: var(--fg-muted); padding-block: 16px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: inherit; display: inline-block; padding: 10px 6px; margin: -10px -6px; }
.breadcrumb [aria-current] { color: var(--fg); font-weight: 600; }

/* 5. 버튼 ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 22px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-3); }
.btn--accent, .theme-navy .btn--primary { background: var(--blue); color: var(--navy); }
.btn--accent:hover, .theme-navy .btn--primary:hover { background: #33B5F0; }
.btn--ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn--ghost:hover { background: rgba(0, 159, 232, .12); }
.btn--small { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* 글이 두 줄이 돼도 화살표는 마지막 낱말 뒤에 붙는다(\2060 단어 결합자). 누르는 자리 높이 44px 유지 */
.arrow-link { font-weight: 700; text-decoration: none; display: inline-block; min-height: 44px; padding-block: 10px; line-height: 1.5; }
.arrow-link::after { content: "\2060→"; position: relative; left: 0; margin-left: 6px; font-family: var(--font-mono); transition: left .15s; }
.arrow-link:hover::after { left: 3px; }
.arrow-link:has(+ .arrow-link) { margin-right: 1.25em; }   /* 나란히 놓인 화살표 링크가 한 문장처럼 붙어 보이지 않게 */

/* 6. 기류 유선(시그니처) -------------------------------------------------- */
/* 구간 사이 띠: <div class="flow" aria-hidden="true"></div>
   밝은 구간 사이는 .flow, 네이비 구간 안/경계는 .flow.flow--navy */
.flow {
  height: 72px; background-color: var(--glass);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' fill='none' stroke-linecap='round'%3E%3Cpath d='M0 20C150 20 150 8 300 8S450 20 600 20 750 32 900 32 1050 20 1200 20' stroke='%23009FE8' stroke-opacity='.55' stroke-width='1.2'/%3E%3Cpath d='M0 34C150 34 150 18 300 18S450 34 600 34 750 48 900 48 1050 34 1200 34' stroke='%23009FE8' stroke-opacity='.8' stroke-width='1.4'/%3E%3Cpath d='M0 46C150 46 150 34 300 34S450 46 600 46 750 60 900 60 1050 46 1200 46' stroke='%231F8A4C' stroke-opacity='.5' stroke-width='1.2'/%3E%3Cpath d='M0 56C150 56 150 50 300 50S450 56 600 56 750 66 900 66 1050 56 1200 56' stroke='%239FB4BD' stroke-opacity='.7' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 1200px 72px; background-position: 0 50%;
  animation: flow-drift 48s linear infinite;
}
.flow--white { background-color: var(--white); }
.flow--navy {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' fill='none' stroke-linecap='round'%3E%3Cpath d='M0 20C150 20 150 8 300 8S450 20 600 20 750 32 900 32 1050 20 1200 20' stroke='%23009FE8' stroke-opacity='.6' stroke-width='1.2'/%3E%3Cpath d='M0 34C150 34 150 18 300 18S450 34 600 34 750 48 900 48 1050 34 1200 34' stroke='%236CCBF7' stroke-opacity='.9' stroke-width='1.4'/%3E%3Cpath d='M0 46C150 46 150 34 300 34S450 46 600 46 750 60 900 60 1050 46 1200 46' stroke='%23F2A33A' stroke-opacity='.6' stroke-width='1.2'/%3E%3Cpath d='M0 56C150 56 150 50 300 50S450 56 600 56 750 66 900 66 1050 56 1200 56' stroke='%2327425A' stroke-width='1'/%3E%3C/svg%3E");
}
@keyframes flow-drift { to { background-position: -1200px 50%; } }

/* 인라인 SVG 유선: <path class="sl"> 기본, sl--hi 강조, sl--warm 열, sl--crop 작물, sl--move 흐르는 점선 */
.sl { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .7; vector-effect: non-scaling-stroke; }
.sl--hi { opacity: 1; stroke-width: 2; }
.sl--dim { opacity: .35; }
.sl--warm { stroke: var(--amber); }
.sl--crop { stroke: var(--green); }
.sl--move { stroke-dasharray: 4 14; opacity: 1; stroke-width: 2.4; animation: sl-move 2.8s linear infinite; }
@keyframes sl-move { to { stroke-dashoffset: -36; } }

/* 7. 히어로 -------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero::before { /* 영상·포스터가 없어도 보이는 기본 바탕 */
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(90% 70% at 85% 30%, rgba(0, 159, 232, .22), transparent 60%),
    radial-gradient(60% 60% at 10% 100%, rgba(31, 138, 76, .16), transparent 60%),
    linear-gradient(180deg, #0B1E2D 0%, #0E2638 100%);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; }
.hero__media.has-poster, .hero__media.has-video { opacity: 1; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.hero__media.has-video video { opacity: 1; }
.hero__media::after { /* 글자 대비 확보용 덮개 */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 30, 45, .92) 0%, rgba(11, 30, 45, .72) 45%, rgba(11, 30, 45, .35) 100%),
              linear-gradient(0deg, rgba(11, 30, 45, .7), transparent 40%);
}
.hero__art { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; max-height: 300px; margin-top: 8px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%); mask-image: linear-gradient(180deg, transparent 0, #000 26%); }
.hero--has-media .hero__art { visibility: hidden; aspect-ratio: auto; height: clamp(56px, 16vw, 132px); } /* 영상·포스터가 붙으면 도식은 감추고 자리만 조금 남긴다 */
.hero__inner { position: relative; padding-block: calc(var(--hero-top, 0px) + clamp(48px, 9vw, 96px)) 0; } /* --hero-top: 헤더가 겹치는 높이(4-1) */
.hero__copy { max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .hero__kicker { /* H1 안의 작은 머리글: 검색·AI가 읽는 핵심 키워드. 보기는 기존 머리글과 같게 */
  font-size: var(--fs-body); line-height: 1.4; letter-spacing: 0; font-weight: 600; margin: 0 0 14px;
}
.hero .lead { color: #C5D5DC; margin-bottom: 1.6em; }
.hero__path { /* 하단 흐름 줄: 실제 순서를 그대로 적는다 */
  list-style: none; margin: 0; padding: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 6px 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); letter-spacing: .02em;
}
.hero__path li + li::before { content: "→"; margin-right: 10px; color: var(--blue); }
.hero .art-legend { display: none; }
.hero .art-label { font-family: var(--font-sans); font-size: 15px; font-weight: 500; fill: #A3B8C2; }
.hero .art-glass { fill: rgba(108, 203, 247, .06); stroke: #5C7C90; stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero .art-frame { fill: none; stroke: #3A5A70; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero .art-ground { stroke: #3A5A70; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero .art-crop { stroke: var(--green); stroke-width: 5; stroke-linecap: round; opacity: .9; }
.hero .art-dot { fill: var(--amber); }
@media (max-width: 899px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(11, 30, 45, .84) 0%, rgba(11, 30, 45, .66) 62%, rgba(11, 30, 45, .86) 100%); }
}
@media (min-width: 900px) { /* 홈 헤더가 겹치는 위쪽 띠를 어둡게: 넓은 화면은 오른쪽 덮개가 옅어 메뉴 글자 밑을 받쳐 준다 */
  [data-page-type="home"] .hero__media::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 168px; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 30, 45, .72), rgba(11, 30, 45, 0));
  }
}
@media (min-width: 720px) { .hero .art-legend { display: block; } }
@media (min-width: 720px) and (max-width: 1079px) { .hero__art { max-height: min(46vw, 440px); } }
@media (min-width: 1080px) {
  .hero__inner { padding-block: calc(var(--hero-top, 0px) + clamp(72px, 9vw, 120px)) 0; min-height: calc(min(78vh, 720px) + var(--hero-top, 0px)); display: flex; flex-direction: column; }
  .hero__copy { max-width: 36rem; padding-bottom: clamp(48px, 7vw, 96px); flex: 1; }
  .hero__art, .hero--has-media .hero__art { /* 오른쪽 화면 끝까지 닿게 놓는다 */
    position: absolute; z-index: -1; margin: 0;
    right: calc((100% - 100vw) / 2); bottom: 52px;
    width: calc(60% + (100vw - 100%) / 2); height: auto; aspect-ratio: 8 / 5; max-height: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 34%); mask-image: linear-gradient(90deg, transparent 8%, #000 34%);
  }
}

/* 일반 쪽 머리(히어로가 아닌 쪽의 H1 구간) */
.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 20em; }
.page-head .lead { margin-bottom: 0; }
.page-head .lead + .meta-line { margin-top: 24px; }

/* 8. 답변 쪽 구성요소 ---------------------------------------------------- */
/* 8-1 직답 블록: 관제 화면 판독값 */
[data-geo="direct-answer"], .readout {
  --bg: var(--navy); --fg: #EAF2F4; --fg-muted: #A3B8C2; --rule: #27425A; --link: #6CCBF7; --focus: var(--amber);
  position: relative; margin: 0; padding: 44px clamp(20px, 4vw, 36px) clamp(22px, 3vw, 30px);
  background: var(--navy); color: var(--fg);
  border-radius: var(--radius-lg); border-left: 4px solid var(--blue);
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem); line-height: 1.75; font-weight: 500;
  box-shadow: var(--shadow);
  background-image: linear-gradient(rgba(108, 203, 247, .05) 1px, transparent 1px);
  background-size: 100% 32px;
}
[data-geo="direct-answer"]::before, .readout::before { /* 판독값 머리줄 */
  content: "직답"; position: absolute; left: clamp(20px, 4vw, 36px); top: 14px;
  padding-left: 16px;
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; color: #6CCBF7;
  background: radial-gradient(circle at 4px 50%, #3DDC84 0 4px, transparent 4.5px);
}
[data-geo="direct-answer"][data-label]::before, .readout[data-label]::before { content: attr(data-label); }
[data-geo="direct-answer"] > :last-child, .readout > :last-child { margin-bottom: 0; }
.theme-navy [data-geo="direct-answer"], .theme-navy .readout { background-color: var(--navy-2); }
[data-geo="direct-answer"] strong, .readout strong { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--amber); }

/* 8-2 비교표: 가로 스크롤은 래퍼 안에서만 */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
}
.table-wrap table { min-width: 640px; font-size: var(--fs-small); line-height: 1.65; }
.table-wrap caption { caption-side: top; text-align: left; padding: 14px 18px 0; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table-wrap thead th { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 600; letter-spacing: .04em; color: var(--fg-muted); background: var(--bg); white-space: nowrap; }
.table-wrap tbody th { font-weight: 700; color: var(--fg); min-width: 9em; text-wrap: balance; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap .is-ours { background: rgba(0, 159, 232, .07); box-shadow: inset 3px 0 0 var(--blue); }
.table-wrap--facts table { min-width: 0; } /* 2열 사실 표: 좁은 화면에서도 가로 스크롤 없이 */
.table-wrap--facts tbody th { min-width: 0; width: 9em; }
@media (max-width: 600px) {
  .table-wrap--facts th, .table-wrap--facts td { padding: 12px 14px; }
  .table-wrap--facts tbody th { width: 5.6em; }
}
.table-wrap .is-key { background: rgba(11, 30, 45, .035); box-shadow: inset 3px 0 0 var(--fg-muted); } /* 필드솔루션 칸이 아닌 주제 열 강조 */
.table-hint { display: none; margin: 8px 0 0; font-size: var(--fs-label); color: var(--fg-muted); font-family: var(--font-mono); word-spacing: var(--mono-ws); }
@media (max-width: 719px) {
  .table-hint { display: block; }
  /* 옆으로 밀 수 있다는 표시: 가장자리 그림자(끝까지 밀면 사라진다) */
  .table-wrap:not(.table-wrap--stack) {
    background:
      linear-gradient(90deg, var(--surface) 30%, rgba(255, 255, 255, 0)) left center / 32px 100% no-repeat local,
      linear-gradient(270deg, var(--surface) 30%, rgba(255, 255, 255, 0)) right center / 32px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(11, 30, 45, .2), rgba(11, 30, 45, 0)) left center / 12px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(11, 30, 45, .2), rgba(11, 30, 45, 0)) right center / 12px 100% no-repeat scroll,
      var(--surface);
  }
  /* 좁은 화면에서 행을 카드처럼 쌓는 표: <div class="table-wrap table-wrap--stack"> + 각 <td data-label="열 이름"> */
  .table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr { display: block; min-width: 0; }
  .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap--stack tr { padding: 14px 18px; border-bottom: 1px solid var(--rule); }
  .table-wrap--stack tbody tr:last-child { border-bottom: 0; }
  .table-wrap--stack th, .table-wrap--stack td { display: block; padding: 4px 0; border: 0; min-width: 0; }
  .table-wrap--stack tbody th { padding-bottom: 6px; font-size: 1rem; }
  .table-wrap--stack td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 600; color: var(--fg-muted); letter-spacing: .03em; }
  .table-wrap--stack .is-ours, .table-wrap--stack .is-key { padding: 8px 0 8px 12px; margin: 4px 0; }
  .table-wrap--stack + .table-hint { display: none; }
}
/* 표·도식 아래 한 줄 주석(출처·범례 설명) */
.table-note { margin: 8px 0 0; font-size: var(--fs-label); line-height: 1.6; color: var(--fg-muted); max-width: var(--maxw-text); }
/* 목록형 판단 기준 */
.criteria-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.criteria-list > li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.criteria-list > li::before { content: ""; position: absolute; left: 4px; top: 1.55em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
/* 시간표처럼 쓸 때(영상 순서): <li><span class="label">00:35</span> 설명</li> — 체크 표시 대신 시간 라벨
   첫 칸은 최소 3.75rem, 날짜(2026-07-07)처럼 긴 표식이면 그 너비만큼 늘어난다. 표식 안에서는 줄을 바꾸지 않는다 */
.criteria-list > li:has(> .label:first-child) { padding-left: 0; display: grid; grid-template-columns: minmax(3.75rem, max-content) minmax(0, 1fr); column-gap: .35rem; align-items: baseline; }
.criteria-list > li:has(> .label:first-child)::before { content: none; }
.criteria-list > li > .label:first-child { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* 8-3 도식 figure */
.figure { margin: 0; }
.figure__canvas { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(12px, 2.5vw, 28px); overflow: hidden; }
.figure__canvas > svg { display: block; width: 100%; max-width: 880px; height: auto; margin-inline: auto; }
.figure figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--fg-muted); max-width: var(--maxw-text); }
.figure__legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px 28px; counter-reset: lg; }
.figure__legend > li { counter-increment: lg; padding-left: 40px; position: relative; font-size: var(--fs-small); line-height: 1.65; }
.figure__legend > li::before {
  content: counter(lg, decimal-leading-zero); position: absolute; left: 0; top: .15em;
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 700; color: var(--accent);
}
.figure__legend strong { display: block; font-size: 1rem; }
@media (min-width: 720px) { .figure__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 도식 SVG 안에서 쓰는 클래스(색은 토큰만) */
.dg-text { font-family: var(--font-sans); font-size: 22px; font-weight: 700; fill: var(--fg); }
.dg-mono { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: 18px; font-weight: 600; fill: var(--fg-muted); letter-spacing: .03em; }
.dg-num { font-family: var(--font-mono); font-size: 21px; font-weight: 700; fill: var(--navy); text-anchor: middle; dominant-baseline: central; }
.dg-node { fill: var(--surface); stroke: var(--fg); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.dg-glass { fill: rgba(0, 159, 232, .07); stroke: var(--fg); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dg-wire { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 5 5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dg-line { fill: none; stroke: var(--fg-muted); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dg-badge { fill: var(--amber); r: 17px; }
.dg-crop { stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.dg-sensor { fill: var(--amber); stroke: var(--surface); stroke-width: 2; }
.dg-dot { fill: var(--blue); stroke: var(--surface); stroke-width: 2; }          /* 데이터 점(파랑) */
.dg-zone { fill: rgba(242, 163, 58, .16); stroke: none; }                         /* 열·편차가 생기는 구역 */
.dg-zone--cool { fill: rgba(0, 159, 232, .1); }
.dg-line--dash { stroke-dasharray: 6 6; }                                         /* 구형 설비·예정 흐름 */
.dg-arrow { fill: var(--blue); }                                                  /* 화살촉 polygon: 인라인 fill 대신 */
.dg-arrow--crop { fill: var(--green); }
.dg-arrow--warm { fill: var(--amber); }
.dg-arrow--muted { fill: var(--fg-muted); }
@media (max-width: 719px) { /* 좁은 화면: SVG가 줄어드는 만큼 글자와 번호 표식을 키운다(viewBox 너비 720 안팎 기준) */
  .dg-text { font-size: 31px; }
  .dg-mono { font-size: 26px; }
  .dg-num { font-size: 30px; }
  .dg-badge { r: 24px; }
  .dg-arrow { transform-box: fill-box; transform-origin: center; transform: scale(1.6); } /* 글자처럼 화살촉도 키운다 */
}
@media (min-width: 560px) and (max-width: 719px) { /* 중간 폭: 키운 글자가 지나치게 크지 않게 */
  .dg-text { font-size: 26px; }
  .dg-mono { font-size: 22px; }
  .dg-num { font-size: 25px; }
  .dg-badge { r: 20px; }
}

/* 엔진 4단계(홈·엔진 쪽). 번호는 실제 순서라서 쓴다 */
.engine { margin: 0; position: relative; }
.engine__flow { display: none; }
.engine__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.engine__step { position: relative; padding: 0 0 28px 56px; }
.engine__step::before { /* 모바일: 왼쪽 세로 유선 */
  content: ""; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 0; border-left: 2px dashed var(--blue); opacity: .7;
}
.engine__step:last-child { padding-bottom: 0; }
.engine__step:last-child::before { display: none; }
.engine__num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--blue); border-radius: 50%; background: var(--bg);
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 700; color: var(--link);
}
.engine__icon { display: block; width: 96px; height: 64px; margin-bottom: 8px; color: var(--fg); }
.engine__icon .ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.engine__icon .ic--blue { stroke: var(--blue); }
.engine__icon .ic--amber { stroke: var(--amber); }
.engine__icon .ic--green { stroke: var(--green); }
.engine__icon .ic-dot { fill: var(--amber); }
.engine__step h3 { margin-bottom: .3em; }
.engine__step p { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.7; }
.engine__loop { margin: 28px 0 0; padding: 14px 18px; border: 1px dashed var(--rule); border-radius: var(--radius); font-size: var(--fs-small); color: var(--fg-muted); }
.engine__loop b { color: var(--fg); }
@media (min-width: 900px) {
  .engine__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 64px; }
  .engine__step { padding: 0; }
  .engine__step::before { display: none; }
  .engine__num { top: -64px; }
  .engine__flow { display: block; position: absolute; left: 20px; top: 0; width: calc(100% - 20px); height: 40px; overflow: visible; }
}

/* 8-4 증거: 장부처럼 한 줄씩 */
.evidence-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.evidence-row { display: grid; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.evidence-row__tag { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); letter-spacing: .04em; color: var(--accent); font-weight: 600; padding-top: .35em; }
.evidence-row__fact { margin: 0; font-size: clamp(1.125rem, 1rem + .7vw, 1.4375rem); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; text-wrap: balance; }
.evidence-row__fact .num { color: var(--amber-ink); font-weight: 700; }
.theme-navy .evidence-row__fact .num { color: var(--amber); }
.evidence-row__note { margin: 4px 0 0; font-size: var(--fs-small); font-weight: 400; color: var(--fg-muted); letter-spacing: 0; line-height: 1.65; }
.evidence-row__src { font-size: var(--fs-small); align-self: start; padding-top: .3em; }
@media (min-width: 820px) { .evidence-row { grid-template-columns: 10.5rem minmax(0, 1fr) auto; align-items: start; } }
@media (max-width: 819px) { .evidence-row__src { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; } }

/* 증거 사다리(순서가 있는 5단) */
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: rung; position: relative; }
.ladder::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; border-left: 2px solid var(--rule); }
.ladder__rung { counter-increment: rung; position: relative; padding: 0 0 26px 60px; }
.ladder__rung:last-child { padding-bottom: 0; }
.ladder__rung::before {
  content: counter(rung, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--fg); border-radius: 50%;
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 700;
}
.ladder__rung--key::before { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }
.ladder__step { display: block; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); letter-spacing: .04em; padding-top: 2px; }
.ladder__rung h3 { margin: 2px 0 .25em; }
.ladder__rung p { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.7; max-width: var(--maxw-text); }
.ladder__rung p a { white-space: nowrap; }

/* 범위 서술 블록: 수치가 없어도 자연스럽게 읽히는 "구축 범위" */
.scope { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); container-type: inline-size; }
.scope__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; }
.scope__title h3 { margin: 0; }
.scope dl { margin: 0; display: grid; }
.scope dt { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); letter-spacing: .04em; color: var(--fg-muted); padding-top: 12px; }
.scope dd { margin: 0; padding: 2px 0 12px; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); line-height: 1.7; text-wrap: pretty; }
.scope dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
@container (min-width: 22rem) {
  .scope dl { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .scope dt { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .scope dd { padding: 10px 0; }
  .scope dt:last-of-type { border-bottom: 0; }
}
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px;
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 600; letter-spacing: .02em; line-height: 1.7;
  background: var(--blue-soft); color: #00547F; white-space: nowrap;
}
.tag--green { background: var(--green-soft); color: var(--green-ink); }
.tag--amber { background: var(--amber-soft); color: var(--amber-ink); }
.tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg-muted); }
.theme-navy .tag { background: rgba(0, 159, 232, .16); color: #9EDCFA; }
/* 네이비 구간에서도 표식 색은 주장의 상태를 지킨다(초록 실제로 한 일 · 주황 지원 범위 · 테두리 엔진 구성요소). 네이비 위 대비 7:1 이상 */
.theme-navy .tag--green { background: rgba(31, 138, 76, .22); color: #8FE0AE; }
.theme-navy .tag--amber { background: rgba(242, 163, 58, .18); color: #F7C77F; }
.theme-navy .tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg-muted); }

/* 순서가 있는 절차(도입 단계·보정 단계 등). 번호는 실제 순서일 때만 쓴다
   <ol class="steps"><li><b class="steps__name">이름</b> <span class="steps__desc">설명</span></li></ol> (b 와 span 사이에 빈칸 하나) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps > li { counter-increment: step; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px solid var(--rule); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 13px; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1.5px solid var(--fg); border-radius: 50%; background: var(--bg);
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 700;
}
.steps__name { display: block; font-weight: 700; }
.steps__desc { display: block; margin-top: 2px; color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.7; }
.steps__desc a { white-space: nowrap; }
/* 용어 풀이: <dl class="term-list"><div><dt>대안모델(surrogate model)</dt> <dd>뜻</dd></div></dl> */
.term-list { margin: 0; border-top: 1px solid var(--rule); }
.term-list > div { display: grid; gap: 2px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.term-list dt { font-weight: 700; }
.term-list dd { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.7; }
@media (min-width: 720px) { .term-list > div { grid-template-columns: 13rem minmax(0, 1fr); align-items: baseline; } }

/* 8-5 FAQ */
[data-geo="faq"] { border-top: 2px solid var(--fg); }
[data-geo="faq-item"], .faq-item { border-bottom: 1px solid var(--rule); }
[data-geo="faq-item"] > summary, .faq-item > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 44px 18px 0; font-weight: 700; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.5;
}
[data-geo="faq-item"] > summary::-webkit-details-marker, .faq-item > summary::-webkit-details-marker { display: none; }
[data-geo="faq-item"] > summary::after, .faq-item > summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: 1.375rem; font-weight: 400; color: var(--accent); line-height: 1;
}
[data-geo="faq-item"][open] > summary::after, .faq-item[open] > summary::after { content: "−"; }
[data-geo="faq-item"] > summary:hover, .faq-item > summary:hover { color: var(--link); }
[data-geo="faq-item"] > :not(summary), .faq-item > :not(summary) { margin: 0 0 1em; max-width: var(--maxw-text); color: var(--fg-muted); }
[data-geo="faq-item"] > :last-child:not(summary), .faq-item > :last-child:not(summary) { margin-bottom: 22px; }

/* 8-6 출처 목록 */
[data-geo="sources"] { font-size: var(--fs-small); }
.sources__list, [data-geo="sources"] ol, [data-geo="sources"] ul { list-style: none; margin: 0; padding: 0; counter-reset: src; border-top: 1px solid var(--rule); }
.sources__list > li, [data-geo="sources"] li { counter-increment: src; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--rule); line-height: 1.6; overflow-wrap: anywhere; }
.sources__list > li::before, [data-geo="sources"] li::before { content: "[" counter(src) "]"; position: absolute; left: 0; top: 11px; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); }
.sources__kind { display: block; margin-top: 2px; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); }

/* 8-7 작성자·날짜 메타 줄 */
.meta-line { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 12px 0; border-block: 1px solid var(--rule); font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); letter-spacing: .02em; }
.meta-line > span { white-space: nowrap; }
.meta-line b, .meta-line [data-geo="author"], .meta-line time { color: var(--fg); font-weight: 600; }

/* 회사 정의 문장을 본문에 다시 보일 때 */
.company-def { margin: 0; padding: 0 0 0 20px; border-left: 3px solid var(--green); font-size: clamp(1.1875rem, 1rem + 1vw, 1.625rem); font-weight: 700; line-height: 1.55; letter-spacing: -0.02em; max-width: 34em; text-wrap: pretty; }

/* 9. 카드류 -------------------------------------------------------------- */
/* 질문 카드: 질문 문장이 그대로 링크 */
.q-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--fg); }
.q-card { border-bottom: 1px solid var(--rule); }
.q-card a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 4px; text-decoration: none; color: var(--fg); min-height: 44px; }
.q-card__axis { grid-column: 1 / -1; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); letter-spacing: .04em; }
.q-card__q { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; text-wrap: balance; }
.q-card__q::before { content: "“"; color: var(--accent); }
.q-card__q::after { content: "”"; color: var(--accent); }
.q-card__go { font-family: var(--font-mono); word-spacing: var(--mono-ws); color: var(--accent); transition: transform .15s; }
.q-card a:hover { background: rgba(0, 159, 232, .06); }
.q-card a:hover .q-card__q { color: var(--link); }
.q-card a:hover .q-card__go { transform: translateX(4px); }
.q-card--core .q-card__axis { color: var(--green-ink); font-weight: 700; }
.q-card[aria-current="true"] a, .q-card a[aria-current="page"] { background: var(--blue-soft); }
@media (min-width: 820px) {
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .q-card--core { grid-column: 1 / -1; }
  .q-card--core .q-card__q { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); }
  /* 홀수로 끝나 마지막 줄에 카드 하나만 남으면 한 줄 전체로 편다 */
  .q-grid:not(:has(> .q-card--core)) > .q-card:last-child:nth-child(odd),
  .q-grid:has(> .q-card--core) > .q-card:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* 사례 카드 */
.case-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.case-card__media { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__media--4x3 { aspect-ratio: 4 / 3; }                    /* 4:3 사진(보도자료 사진 등)을 자르지 않을 때 */
.case-card__media--contain img { object-fit: contain; }           /* 화면 캡처처럼 잘리면 안 되는 그림 */
.case-card__body { padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-card__body h3 { margin: 4px 0 0; }
.case-card__body p { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.7; }
.case-card__body .arrow-link { margin-top: auto; padding-top: 6px; font-size: var(--fs-small); }
.case-card__facts { list-style: none; margin: 4px 0 0; padding: 0; font-size: var(--fs-small); border-top: 1px solid var(--rule); }
.case-card__facts li { padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.case-card__facts span:first-child { color: var(--fg-muted); }
.case-card__facts span:last-child { font-weight: 700; text-align: right; }
/* 대표 사례: 사진을 크게 */
.case-feature { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
.case-feature__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.case-feature__photos .photo:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .case-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--navy); }
.photo--wide img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; } /* 보조 사진을 16:9로 잘라 작게 */
.photo figcaption { margin-top: 6px; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); line-height: 1.5; }

/* 글 목록 카드(블로그·유튜브). 마크업은 tools/sync_common.py가 만든다:
   <ul class="post-list [post-list--3]"><li class="post-card" data-kind="blog|video"><a href><img?><div class="post-card__body"><time><h3><p></div></a></li></ul> */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 640px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .post-list, .post-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 959px) {
  .post-list--3 > .post-card:nth-child(3):last-child { grid-column: 1 / -1; }
  .post-list--3 > .post-card:nth-child(3):last-child > a { flex-direction: row; }
  .post-list--3 > .post-card:nth-child(3):last-child img { width: calc(50% - .5 * clamp(16px, 2.4vw, 28px)); flex: none; align-self: stretch; height: auto; border-bottom: 0; border-right: 1px solid var(--rule); }
}
.post-card { min-width: 0; }
.post-card > a {
  display: flex; flex-direction: column; height: 100%; color: var(--fg); text-decoration: none;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.post-card > a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.post-card > a:focus-visible { outline-offset: 2px; }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-2); border-bottom: 1px solid var(--rule); }
.post-card img[src*="logo"] { object-fit: contain; padding: 9% 14%; }
.post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 3px solid transparent; }
.post-card > a > .post-card__body:first-child { border-top-color: var(--blue); } /* 그림이 없을 때 윗선으로 자리를 잡는다 */
.post-card time { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); color: var(--fg-muted); letter-spacing: .02em; }
.post-card time::before { content: "블로그 · "; color: var(--accent); font-weight: 600; }
.post-card[data-kind="video"] time::before { content: "유튜브 · "; color: var(--amber-ink); }
.theme-navy .post-card[data-kind="video"] time::before { color: var(--amber); }
.post-card h3 { margin: 0; font-size: 1.0625rem; line-height: 1.5; font-weight: 700; letter-spacing: -0.01em; }
.post-card > a:hover h3 { color: var(--link); }
.post-card p { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 축 링크 칩(관련 축, 엔진 구성요소 등) */
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 99px; background: var(--surface); color: var(--fg); text-decoration: none; font-size: var(--fs-small); font-weight: 600; }
.chip-list a:hover { border-color: var(--blue); color: var(--link); }

/* 구성요소 목록(엔진 구성요소 소개) */
.part-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.part-list > li { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.part-list__name { font-weight: 700; }
.part-list__role { color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.7; }
@media (min-width: 720px) { .part-list > li { grid-template-columns: 15rem minmax(0, 1fr); align-items: baseline; } }

/* 제안 블록(컨소시엄 파트너 제안 등) */
.offer { display: grid; gap: clamp(20px, 3vw, 44px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--surface); }
.offer h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); }
.offer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.offer__list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--rule); position: relative; font-size: var(--fs-small); line-height: 1.7; }
.offer__list li::before { content: ""; position: absolute; left: 4px; top: 1.3em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.offer__list b { display: block; font-size: 1rem; color: var(--fg); }
.offer__note { font-size: var(--fs-small); color: var(--fg-muted); }
@media (min-width: 900px) { .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* 10. CTA 띠·문의 폼 ------------------------------------------------------ */
.cta-band { padding-block: clamp(40px, 6vw, 72px); }
.cta-band__inner { display: grid; gap: 20px; align-items: center; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band__inner p { margin: 0; color: var(--fg-muted); max-width: 38em; }
.cta-band__inner p.cta-band__def { margin-top: 10px; color: var(--fg); font-weight: 500; }
.cta-band__contact { margin-top: 10px !important; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-small); }
/* <p class="cta-band__contact"><span>전화 <a href="tel:…">…</a></span> <span>이메일 <a href="mailto:…">…</a></span></p> — 이름표와 값이 갈리지 않게 */
.cta-band__contact:has(> span) { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.cta-band__contact > span { white-space: nowrap; }
.cta-band__contact a { color: var(--fg); }
@media (min-width: 560px) { .cta-band__inner > .btn { justify-self: start; } }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

.inquiry { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .inquiry { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-direct { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-direct li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.contact-direct a { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 700; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.contact-direct a:hover { color: var(--link); text-decoration: underline; }

.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .field__label { font-size: var(--fs-small); font-weight: 700; }
.field__req { color: #B3261E; font-weight: 700; margin-left: 2px; }
.theme-navy .field__req { color: var(--amber); }
.field__hint { font-size: var(--fs-label); color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font-size: 1rem; /* 16px 미만이면 iOS가 확대한다 */
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--rule); border-radius: var(--radius);
  transition: border-color .15s;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--focus); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: #62737E; }
.theme-navy .field input::placeholder, .theme-navy .field textarea::placeholder { color: #8FA5B1; }
.field--trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* 허니팟 */
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__consent { margin: 0; font-size: var(--fs-label); color: var(--fg-muted); flex: 1 1 14em; line-height: 1.6; text-wrap: pretty; }
.form__status { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); }
.form__status:empty { position: absolute; } /* 비어 있을 때 자리를 차지하지 않게(aria-live 는 그대로) */
.notice { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--surface); font-size: var(--fs-small); line-height: 1.7; }
.notice > :last-child { margin-bottom: 0; }
.notice strong { display: block; font-size: 1rem; }
.notice--ok { border-color: var(--green); background: var(--green-soft); color: #0F3D23; }
.notice--warn { border-color: var(--amber); background: var(--amber-soft); color: #4A2E00; }
.notice--warn a, .notice--ok a { color: inherit; font-weight: 700; }

/* 11. 본문 글 ------------------------------------------------------------ */
/* .prose 와 기존 블로그 본문([data-geo="legacy-body"])에 같이 적용된다 */
.prose, [data-geo="legacy-body"] { max-width: var(--maxw-text); overflow-wrap: break-word; }
.prose > :first-child, [data-geo="legacy-body"] > :first-child { margin-top: 0; }
.prose :where(h2), [data-geo="legacy-body"] :where(h2) { margin: 2em 0 .6em; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.prose :where(h3), [data-geo="legacy-body"] :where(h3) { margin: 1.8em 0 .5em; font-size: var(--fs-h3); }
.prose :where(h4), [data-geo="legacy-body"] :where(h4) { margin: 1.5em 0 .4em; font-size: 1.0625rem; }
.prose :where(p, ul, ol), [data-geo="legacy-body"] :where(p, ul, ol) { margin: 0 0 1.15em; }
.prose :where(li), [data-geo="legacy-body"] :where(li) { margin-bottom: .35em; }
.prose :where(a), [data-geo="legacy-body"] :where(a) { overflow-wrap: anywhere; }
.prose :where(img), [data-geo="legacy-body"] :where(img) { max-width: 100%; height: auto; margin: 1.5em 0; border-radius: var(--radius); border: 1px solid var(--rule); }
.prose :where(figure), [data-geo="legacy-body"] :where(figure) { margin: 1.5em 0; }
.prose :where(figure img), [data-geo="legacy-body"] :where(figure img) { margin: 0; }
.prose :where(figcaption), [data-geo="legacy-body"] :where(figcaption) { margin-top: 6px; font-size: var(--fs-small); color: var(--fg-muted); }
.prose :where(blockquote), [data-geo="legacy-body"] :where(blockquote) { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--fg); font-weight: 500; }
.prose :where(blockquote) > :last-child, [data-geo="legacy-body"] :where(blockquote) > :last-child { margin-bottom: 0; }
.prose :where(table), [data-geo="legacy-body"] :where(table) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; font-size: var(--fs-small); border: 1px solid var(--rule); border-radius: var(--radius); }
.prose :where(th, td), [data-geo="legacy-body"] :where(th, td) { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); min-width: 7em; }
.prose :where(th), [data-geo="legacy-body"] :where(th) { background: var(--bg); font-weight: 700; }
.prose :where(iframe, video, embed, object), [data-geo="legacy-body"] :where(iframe, video, embed, object) { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 1.5em 0; border: 0; border-radius: var(--radius); background: var(--navy); }
.prose :where(pre), [data-geo="legacy-body"] :where(pre) { max-width: 100%; overflow-x: auto; padding: 14px 16px; background: var(--navy); color: #EAF2F4; border-radius: var(--radius); font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-small); line-height: 1.6; word-break: normal; }
.prose :where(code), [data-geo="legacy-body"] :where(code) { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: .92em; }
.prose :where(hr), [data-geo="legacy-body"] :where(hr) { margin: 2em 0; }

/* 유튜브 16:9 임베드 래퍼 */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }
.embed > iframe, .embed > video, .embed > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; object-fit: cover; }
@supports not (aspect-ratio: 16 / 9) { .embed { height: 0; padding-bottom: 56.25%; } }
/* 누르면 재생되는 영상: 재생 전에는 사이트에 저장한 썸네일만 보인다(누르기 전에는 유튜브에 아무것도 요청하지 않는다).
   <div class="embed" data-fs-yt="영상ID"><a class="embed__link" href="https://www.youtube.com/watch?v=영상ID"><img …><span class="embed__play" aria-hidden="true"></span></a></div> */
.embed__link { position: absolute; inset: 0; display: block; }
.embed__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; }
.embed__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(11, 30, 45, .84); border: 2px solid rgba(255, 255, 255, .92); transition: background-color .15s, transform .15s; }
.embed__play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.embed__link:hover .embed__play, .embed__link:focus-visible .embed__play { background: var(--blue); transform: scale(1.06); }
.embed__link:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .embed__play { transition: none; } .embed__link:hover .embed__play, .embed__link:focus-visible .embed__play { transform: none; } }

/* 3줄 요약 박스 */
[data-geo="summary"], .summary { position: relative; margin: 0 0 1.5em; padding: 40px clamp(18px, 3vw, 26px) 18px; max-width: var(--maxw-text); background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--green); border-radius: var(--radius); }
[data-geo="summary"]::before, .summary::before { content: "3줄 요약"; position: absolute; left: clamp(18px, 3vw, 26px); top: 12px; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 700; letter-spacing: .06em; color: var(--green-ink); }
[data-geo="summary"][data-label]::before, .summary[data-label]::before { content: attr(data-label); }
[data-geo="summary"] :where(ul, ol), .summary :where(ul, ol) { margin: 0; padding-left: 1.2em; }
[data-geo="summary"] :where(li), .summary :where(li) { margin: 0 0 .4em; line-height: 1.65; }
[data-geo="summary"] > :last-child, .summary > :last-child { margin-bottom: 0; }

/* 관련 축 링크 */
/* 글·영상·시연 쪽의 좁은 단: 안내 상자·출처·목록을 본문(.prose)·요약과 같은 폭으로 맞춘다 */
:is([data-page-type="article"], [data-page-type="video"]) :is(.notice, [data-geo="sources"], .criteria-list),
.page-head + .notice { max-width: var(--maxw-text); }
[data-geo="related-axes"] { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--rule); max-width: var(--maxw-text); }

/* 12. 새 주소 안내 쪽 (data-page-type="moved") ----------------------------- */
.moved { min-height: 56vh; display: grid; place-items: center; padding-block: var(--section-y); }
.moved__card { max-width: 36rem; width: 100%; padding: clamp(24px, 5vw, 44px); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.moved__card h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.moved__url { display: block; margin: 16px 0 20px; padding: 12px 14px; background: var(--glass); border: 1px dashed var(--line); border-radius: var(--radius); font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-small); overflow-wrap: anywhere; }

/* 13. 푸터 --------------------------------------------------------------- */
.site-footer { padding-block: clamp(40px, 6vw, 72px) 28px; font-size: var(--fs-small); line-height: 1.7; }
.site-footer__top { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.site-footer__logo img { height: 30px; width: auto; }
.site-footer [data-geo="company-def"] { margin: 16px 0 0; max-width: 34em; font-size: 1.0625rem; font-weight: 600; line-height: 1.65; color: var(--fg); text-wrap: pretty; }
.site-footer__org { margin: 0; display: grid; gap: 6px; color: var(--fg-muted); }
.site-footer__org dt { font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); letter-spacing: .04em; }
.site-footer__org dd { margin: 0 0 8px; color: var(--fg); overflow-wrap: anywhere; text-wrap: balance; }
.site-footer__org a { color: var(--fg); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 32px; border-bottom: 1px solid var(--rule); }
.site-footer__nav h2 { margin: 0 0 8px; font-family: var(--font-mono); word-spacing: var(--mono-ws); font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; color: var(--fg-muted); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 7px; line-height: 1.4; color: var(--fg); text-decoration: none; }
.site-footer__nav a:hover { color: var(--link); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; justify-content: space-between; padding-top: 20px; color: var(--fg-muted); font-size: var(--fs-label); }
.site-footer__bottom a { color: inherit; }
@media (max-width: 819px) { .site-footer__bottom a { display: inline-block; padding-block: 12px; } }
@media (min-width: 820px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .site-footer__org { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 6px 12px; }
  .site-footer__org dt { padding-top: .25em; }
  .site-footer__org dd { margin: 0; }
  .site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 간격·정렬 보조(쪽 안에서 style 속성 대신 쓴다) */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: clamp(20px, 3vw, 32px); }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.grid--top { align-items: start; }

/* 14. 동작 줄이기·인쇄 ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .sl--move { stroke-dasharray: none; opacity: .7; stroke-width: 1.5; }
}
/* === FS-VISUAL:START 전용 픽토그램·움직이는 개념 그림(tools/apply_visuals.py 가 관리) === */
.pict { display: inline-block; width: 1.5em; height: 1.5em; flex: none; fill: currentColor; color: var(--fg); vertical-align: -0.35em; }
.page-pict { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-lg); background: var(--blue-soft); color: var(--navy); margin-bottom: 16px; }
.page-pict .pict { width: 42px; height: 42px; color: inherit; }
.q-card--pict a { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; }
.q-card--pict .q-card__pict { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 8px; box-sizing: border-box; border-radius: var(--radius); background: var(--blue-soft); color: var(--navy); }
.q-card--pict .q-card__axis { grid-column: 2 / -1; }
.q-card--core .q-card__pict { background: var(--green-soft); color: var(--green-ink); }
.theme-navy .q-card--pict .q-card__pict { background: var(--navy-2); color: var(--glass); }
.part-list__name:has(> .pict) { display: inline-flex; align-items: flex-start; gap: .5em; }
.part-list__name .pict { width: 1.7em; height: 1.7em; margin-top: -.1em; }
.engine__pict { display: block; width: 56px; height: 56px; margin-bottom: 10px; color: var(--blue); }
.evidence-row__tag .pict { width: 1.8em; height: 1.8em; margin-right: .4em; }
.motion { margin: 0; max-width: 880px; }
.motion picture, .motion img { display: block; width: 100%; height: auto; }
.motion img { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--navy); border: 1px solid var(--rule); }
.motion figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--fg-muted); max-width: var(--maxw-text); }
.motion-band { padding-block: clamp(4px, 1.5vw, 16px) clamp(32px, 5vw, 56px); }
.motion--inset { margin-bottom: clamp(24px, 4vw, 44px); }
.theme-navy .motion img { border-color: var(--navy-3); }
/* === FS-VISUAL:END === */

@media print {
  .site-header, .site-footer__nav, .flow, .nav-toggle, .cta-band, .hero__media { display: none !important; }
  body { background: #fff; }
  [data-geo="faq-item"] > :not(summary) { display: block; }
}
