/* =============================================================================
 * SCALE BUILD — 디자인 시스템
 * 순흑백 모노톤 · Spoqa Han Sans Neo · 삼선표 · 8pt 그리드 · Swiss 에디토리얼
 * ========================================================================== */

/* ----- 토큰 ----- */
:root {
  --ink: #000000;
  --ink-2: #444444;
  --ink-3: #6f6f6f;            /* 캡션/주석 — AA 대비(>4.5:1) 충족 */
  --rule: #e5e5e5;
  --rule-strong: #000000;
  --surface-alt: #f6f6f6;
  --bg: #ffffff;

  /* 차트 톤 — 순흑 불투명도 틴트만 사용(컬러 없음) */
  --tint-0: #000000;
  --tint-1: rgba(0, 0, 0, 0.72);
  --tint-2: rgba(0, 0, 0, 0.52);
  --tint-3: rgba(0, 0, 0, 0.32);
  --tint-4: rgba(0, 0, 0, 0.16);
  /* 매스 면 — 흑 불투명도 틴트 */
  --mass-top: #ffffff;
  --mass-right: rgba(0, 0, 0, 0.10);
  --mass-left: rgba(0, 0, 0, 0.26);

  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-7: 64px; --s-8: 80px; --s-9: 96px; --s-10: 112px; --s-11: 128px;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Spoqa Han Sans Neo", -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ----- 리셋 ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "tnum" 1;        /* 전역 tabular-nums */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

/* ----- 타이포 유틸 ----- */
.display {
  font-weight: 300; font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05; letter-spacing: -0.02em;
}
h1, .h1 { font-weight: 700; font-size: clamp(1.875rem, 4vw + 0.5rem, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
h2, .h2 { font-weight: 700; font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
h3, .h3 { font-weight: 700; font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
.body-lg { font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem); }
.caption { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
}
.muted { color: var(--ink-2); }
.muted-3 { color: var(--ink-3); }
.tnum { font-feature-settings: "tnum" 1; }

/* ----- 레이아웃 ----- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(24px, 5vw, 64px); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--alt { background: var(--surface-alt); }
.rule { height: 1px; background: var(--rule); border: 0; }
.section-head { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section-no {
  font-weight: 300; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1;
  color: var(--ink-3); letter-spacing: -0.02em;
}

/* ----- 개발 진행 바 ----- */
.wip-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 8px 24px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-align: center;
}
.wip-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; animation: wip-pulse 1.6s ease-in-out infinite; }
.wip-bar .sep { color: rgba(255, 255, 255, 0.4); }
.wip-bar .muted { color: rgba(255, 255, 255, 0.6); font-weight: 400; letter-spacing: 0.04em; }
@keyframes wip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (max-width: 560px) { .wip-bar .sep, .wip-bar .muted { display: none; } }

/* ----- 로그인 게이트 ----- */
.gate {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
html.sb-authed .gate { display: none; }
.gate__card { width: 100%; max-width: 380px; }
.gate__tri { margin: 20px 0 18px; }
.gate__tri span { display: block; background: var(--ink); }
.gate__tri span:nth-child(1) { height: 3px; }
.gate__tri span:nth-child(2) { height: 1.5px; margin: 7px 0; width: 55%; }
.gate__tri span:nth-child(3) { height: 3px; }
.gate__title { font-weight: 700; font-size: 28px; letter-spacing: -0.015em; margin-bottom: 10px; }
.gate__sub { color: var(--ink-2); font-size: 15px; margin-bottom: 32px; }
.gate__form .field { margin-bottom: 20px; }
.gate__err { color: var(--ink); font-weight: 700; font-size: 13px; margin-bottom: 16px; min-height: 0; }
.gate__err:empty { display: none; }

/* ----- 내비게이션 ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 700; letter-spacing: 0.02em; font-size: 18px; }
.wordmark span { color: var(--ink-3); font-weight: 400; }
.nav__links { display: flex; gap: var(--s-4); align-items: center; }
.nav__link { position: relative; font-size: 15px; color: var(--ink-2); padding-block: 4px; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s var(--ease);
}
@media (hover: hover) { .nav__link:hover { color: var(--ink); } .nav__link:hover::after { transform: scaleX(1); } }
.nav__cta { font-size: 15px; font-weight: 700; color: var(--ink); }
@media (max-width: 720px) {
  .nav__links .nav__link:not(.nav__cta) { display: none; }
  .nav__cta { font-size: 14px; }
}

/* ----- 버튼 ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding-inline: var(--s-4);
  font-weight: 700; font-size: 16px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; border-radius: 2px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.1s var(--ease);
}
.btn:active { transform: scale(0.98); }
@media (hover: hover) { .btn:hover { background: #fff; color: var(--ink); } }
.btn--ghost { background: #fff; color: var(--ink); }
@media (hover: hover) { .btn--ghost:hover { background: var(--ink); color: #fff; } }
.btn--sm { height: 44px; font-size: 15px; padding-inline: var(--s-3); }
.btn--block { width: 100%; }

/* ----- 폼 컨트롤 ----- */
.field { margin-bottom: var(--s-4); }
.field__label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.field__hint { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.input {
  width: 100%; height: 56px; padding: 0 16px;
  border: 0; border-bottom: 1px solid var(--ink-2); background: transparent;
  font-size: 17px; border-radius: 0;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-bottom: 2px solid var(--ink); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 28px; }

/* 슬라이더 + 숫자 결합 */
.numrow { display: flex; align-items: center; gap: var(--s-3); }
.numrow .input { width: 130px; flex: none; text-align: right; }
.range { flex: 1; -webkit-appearance: none; appearance: none; height: 1px; background: var(--ink-2); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: var(--ink); border-radius: 50%; }
.range::-moz-range-thumb { width: 18px; height: 18px; background: var(--ink); border: 0; border-radius: 50%; }
.unit-toggle { display: inline-flex; border: 1px solid var(--ink-2); border-radius: 2px; overflow: hidden; }
.unit-toggle button { padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.unit-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* 칩 (용도지역) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; font-size: 14px; font-weight: 400;
  border: 1px solid var(--rule); border-radius: 2px; color: var(--ink-2);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 700; }
@media (hover: hover) { .chip:hover { border-color: var(--ink-2); } }

/* 툴팁 (i) */
.tip { position: relative; display: inline-flex; }
.tip__btn { width: 16px; height: 16px; border: 1px solid var(--ink-3); border-radius: 50%; font-size: 11px; line-height: 14px; color: var(--ink-3); text-align: center; }
.tip__pop {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  width: 240px; padding: 12px 14px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 400; line-height: 1.5; border-radius: 2px;
  opacity: 0; visibility: hidden; transition: opacity 0.15s var(--ease); z-index: 20;
}
.tip:hover .tip__pop, .tip:focus-within .tip__pop, .tip.is-open .tip__pop { opacity: 1; visibility: visible; }

/* ----- 삼선표 (시그니처) ----- */
.tritable { font-size: 15px; }
.tritable thead th {
  font-weight: 700; text-align: left; padding: 12px 16px;
  border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--ink-2);
  letter-spacing: 0.02em; white-space: nowrap;
}
.tritable tbody td { padding: 12px 16px; border: 0; }
.tritable tbody tr:last-child td { border-bottom: 2px solid var(--rule-strong); }
.tritable .num { text-align: right; font-feature-settings: "tnum" 1; }
.tritable thead th.num { text-align: right; }
@media (hover: hover) { .tritable tbody tr:hover td { background: var(--surface-alt); } }
.tri-ok { font-weight: 700; }
.tri-warn { color: var(--ink-2); }
.tritable tr.row-warn td { color: var(--ink-2); font-size: 13px; }

/* =============================================================================
 * HERO
 * ========================================================================== */
.hero { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__title { margin-top: 20px; margin-bottom: 24px; font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.hero__title .ko { display: block; white-space: nowrap; }
.hero__sub { max-width: 32ch; color: var(--ink-2); margin-bottom: 28px; }
.hero__metric { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); text-transform: none; }
.hero__metric .big { font-weight: 700; color: var(--ink); }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

/* 분석기 패널 */
.analyzer { border-top: 2px solid var(--rule-strong); padding-top: var(--s-3); }
.analyzer__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s-3); }
.steps { display: flex; gap: 6px; margin-bottom: var(--s-4); }
.steps__bar { flex: 1; height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.steps__bar.is-done, .steps__bar.is-active { background: var(--ink); }
.step-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-bottom: var(--s-3); }

.step-pane { display: none; }
.step-pane.is-active { display: block; animation: fadeUp 0.32s var(--ease); }
.step-context { margin-top: 12px; padding: 12px 16px; background: var(--surface-alt); font-size: 13px; color: var(--ink-2); }
.step-context b { color: var(--ink); }

.analyzer__nav { display: flex; gap: 12px; margin-top: var(--s-4); }

/* ----- 로딩 시퀀스 ----- */
.loading { padding-block: var(--s-5); }
.loading__steps { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.loading__step { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-3); transition: color 0.3s var(--ease); }
.loading__step .mark { width: 22px; height: 22px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.loading__step.is-active { color: var(--ink); }
.loading__step.is-done { color: var(--ink); }
.loading__step.is-done .mark { background: var(--ink); border-color: var(--ink); color: #fff; }
.skeleton { margin-top: var(--s-5); display: grid; gap: 12px; }
.skeleton i { display: block; height: 14px; background: linear-gradient(90deg, #efefef 25%, #f7f7f7 37%, #efefef 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 2px; }
.skeleton i:nth-child(1) { width: 40%; height: 28px; }
.skeleton i:nth-child(2) { width: 100%; }
.skeleton i:nth-child(3) { width: 80%; }
.skeleton i:nth-child(4) { width: 90%; }

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =============================================================================
 * REPORT
 * ========================================================================== */
.report { display: none; }
.report.is-on { display: block; }
.report__block { margin-bottom: var(--s-8); }
.report__block.reveal { opacity: 0; transform: translateY(12px); }
.report__block.reveal.in { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: var(--s-3); }
.block-no { font-weight: 300; font-size: 28px; color: var(--ink-3); line-height: 1; }

/* 입력 요약 (sticky edit) */
.input-summary { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 16px; border: 1px solid var(--rule); margin-bottom: var(--s-6); font-size: 14px; }
.input-summary .si { display: inline-flex; gap: 6px; align-items: baseline; }
.input-summary .si b { font-weight: 700; }
.input-summary .si span { color: var(--ink-3); }
.input-summary__edit { margin-left: auto; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.input-summary__edit::after { content: "✎"; }

/* 예산 배지 */
.verdict { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--ink); font-weight: 700; font-size: 14px; margin-bottom: var(--s-4); border-radius: 2px; }
.verdict--no { border-color: var(--rule); color: var(--ink-2); font-weight: 400; }

/* KPI 밴드 (순흑 모먼트) */
.kpi-band { background: var(--ink); color: #fff; padding: clamp(32px, 5vw, 56px); border-radius: 2px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.kpi { }
.kpi__value { font-weight: 300; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }
.kpi__value .u { font-size: 0.45em; font-weight: 400; margin-left: 4px; color: rgba(255,255,255,0.7); letter-spacing: 0; }
.kpi__label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 10px; }
.kpi__sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; }
@media (max-width: 760px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }

/* 스택바 (사업비) */
.stackbar { display: flex; height: 56px; width: 100%; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; margin-bottom: var(--s-3); }
.stackbar__seg { position: relative; transition: flex-grow 0.6s var(--ease); min-width: 2px; border-right: 1px solid #fff; }
.stackbar__seg:last-child { border-right: 0; }
.stackbar__seg[data-tone="0"] { background: var(--tint-0); }
.stackbar__seg[data-tone="1"] { background: var(--tint-1); }
.stackbar__seg[data-tone="2"] { background: var(--tint-2); }
.stackbar__seg[data-tone="3"] { background: var(--tint-3); }
.stackbar__seg[data-tone="4"] { background: var(--tint-4); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .sw { width: 12px; height: 12px; border: 1px solid #0002; }
.legend .sw[data-tone="0"] { background: var(--tint-0); }
.legend .sw[data-tone="1"] { background: var(--tint-1); }
.legend .sw[data-tone="2"] { background: var(--tint-2); }
.legend .sw[data-tone="3"] { background: var(--tint-3); }
.legend .sw[data-tone="4"] { background: var(--tint-4); }

/* 수익성 비교 막대 */
.compare { display: grid; gap: 18px; max-width: 560px; }
.compare__row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; font-size: 14px; }
.compare__track { height: 28px; background: var(--surface-alt); position: relative; }
.compare__fill { height: 100%; background: var(--ink); width: 0; transition: width 0.7s var(--ease); }
.compare__fill--ghost { background: repeating-linear-gradient(45deg, #d8d8d8, #d8d8d8 4px, #eee 4px, #eee 8px); }
.compare__val { font-weight: 700; font-feature-settings: "tnum" 1; }
.verdict-line { margin-top: var(--s-3); font-size: 15px; }
.verdict-line b { font-weight: 700; }

/* 매스 */
.massing { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--s-5); align-items: center; }
.massing__svg-wrap { background: var(--surface-alt); border: 1px solid var(--rule); padding: var(--s-3); display: grid; place-items: center; min-height: 320px; }
.massing-svg { width: 100%; height: auto; max-height: 380px; }
.massing-svg .ground { fill: var(--surface-alt); stroke: var(--ink-3); stroke-width: 1; }
.massing-svg .face-top { fill: var(--mass-top); stroke: var(--ink); stroke-width: 1; }
.massing-svg .face-right { fill: var(--mass-right); stroke: var(--ink); stroke-width: 1; }
.massing-svg .face-left { fill: var(--mass-left); stroke: var(--ink); stroke-width: 1; }
.massing-svg .mass-more { fill: var(--ink-2); font-size: 28px; font-weight: 700; }
.massing-svg .floor { opacity: 0; transform: translateY(-10px); }
.massing-svg .floor.in { opacity: 1; transform: none; transition: opacity 0.34s var(--ease), transform 0.34s var(--ease); }
.massing__facts dt { font-size: 13px; color: var(--ink-3); }
.massing__facts dd { font-weight: 300; font-size: 28px; letter-spacing: -0.01em; margin: 2px 0 18px; font-feature-settings: "tnum" 1; }
@media (max-width: 760px) { .massing { grid-template-columns: 1fr; } }

/* 가정 토글 */
.assump { margin-top: var(--s-4); }
.assump__toggle { font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.assump__toggle::before { content: "+"; display: inline-block; width: 16px; }
.assump[open] .assump__toggle::before { content: "−"; }
.assump__body { margin-top: var(--s-3); }

/* 고급조건 */
.advanced { border-top: 1px solid var(--rule); margin-top: var(--s-5); padding-top: var(--s-4); }
.advanced summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary::before { content: "+"; width: 16px; display: inline-block; }
.advanced[open] summary::before { content: "−"; }
.advanced__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); margin-top: var(--s-4); }
@media (max-width: 640px) { .advanced__grid { grid-template-columns: 1fr; } }

/* 모드 토글 */
.modeswitch { display: inline-flex; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; margin-bottom: var(--s-4); }
.modeswitch button { padding: 10px 20px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.modeswitch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* =============================================================================
 * 콘텐츠 섹션 (작동방식 / 전주기 / 차별화 / 신뢰)
 * ========================================================================== */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps3__item { padding: var(--s-5) var(--s-4) var(--s-4) 0; border-top: 1px solid var(--ink); }
.steps3__no { font-weight: 300; font-size: 44px; color: var(--ink-3); line-height: 1; }
.steps3__title { font-weight: 700; font-size: 20px; margin: 16px 0 10px; }
.steps3__desc { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }

.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.lc { padding: var(--s-5) var(--s-4) var(--s-4) 0; border-top: 1px solid var(--ink); }
.lc--muted { opacity: 1; }
.lc--muted .lc__title, .lc--muted .lc__desc, .lc--muted .lc__code { color: var(--ink-3); }
.lc--muted { border-top-color: var(--rule); }
.lc__code { font-weight: 700; letter-spacing: 0.08em; font-size: 13px; }
.lc__title { font-weight: 700; font-size: 20px; margin: 14px 0 8px; }
.lc__desc { font-size: 14px; color: var(--ink-2); }
.lc__tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); border: 1px solid var(--ink); padding: 3px 10px; border-radius: 2px; }
.lc--muted .lc__tag { color: var(--ink-3); border-color: var(--rule); }
@media (max-width: 880px) { .lifecycle { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lifecycle { grid-template-columns: 1fr; } }

.diff { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-7); }
.diff__item { }
.diff__no { font-weight: 300; font-size: 32px; color: var(--ink-3); }
.diff__title { font-weight: 700; font-size: 20px; margin: 10px 0 10px; }
.diff__desc { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .diff { grid-template-columns: 1fr; } }

.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.trust-list .ti h4 { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.trust-list .ti p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .trust-list { grid-template-columns: 1fr; } }

/* CTA 밴드 (순흑) */
.cta { background: var(--ink); color: #fff; }
.cta .wrap { padding-block: clamp(64px, 9vw, 120px); }
.cta__title { color: #fff; max-width: 22ch; margin-bottom: var(--s-3); }
.cta__sub { color: rgba(255,255,255,0.7); max-width: 44ch; margin-bottom: var(--s-5); }
.cta__form { display: flex; gap: 12px; max-width: 520px; }
.cta__form .input { color: #fff; border-bottom-color: rgba(255,255,255,0.4); flex: 1; }
.cta__form .input::placeholder { color: rgba(255,255,255,0.4); }
.cta__form .input:focus { border-bottom-color: #fff; }
.cta__form .btn { background: #fff; color: var(--ink); border-color: #fff; flex: none; }
@media (hover: hover) { .cta__form .btn:hover { background: transparent; color: #fff; } }
.cta__trust { margin-top: var(--s-3); font-size: 13px; color: rgba(255,255,255,0.5); }
.cta__ok { margin-top: var(--s-3); font-size: 15px; color: #fff; display: none; }
.cta__ok.is-on { display: block; }
@media (max-width: 560px) { .cta__form { flex-direction: column; } .cta__form .btn { width: 100%; } }

/* 푸터 */
.footer { border-top: 1px solid var(--rule); }
.footer .wrap { padding-block: var(--s-7); }
.footer__top { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-5); }
.footer__tag { max-width: 30ch; color: var(--ink-2); font-size: 15px; }
.footer__links { display: flex; gap: var(--s-4); flex-wrap: wrap; font-size: 14px; }
.footer__links a { color: var(--ink-2); }
@media (hover: hover) { .footer__links a:hover { color: var(--ink); } }
.footer__legal { font-size: 12px; color: var(--ink-3); line-height: 1.6; border-top: 1px solid var(--rule); padding-top: var(--s-4); }

/* 진입 리빌 (콘텐츠 섹션) */
.reveal-up { opacity: 0; transform: translateY(16px); }
.reveal-up.in { opacity: 1; transform: none; transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

/* 접근성 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 2px 2px; font-weight: 700; font-size: 14px; transition: top 0.15s var(--ease); }
.skip-link:focus { top: 0; }
.noscript-banner { background: var(--ink); color: #fff; padding: 14px 24px; text-align: center; font-size: 14px; }
.noscript-banner a { color: #fff; text-decoration: underline; }
.cta__err { margin-top: 12px; font-size: 13px; color: #fff; font-weight: 700; min-height: 0; }
.cta__err:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-up, .report__block.reveal, .massing-svg .floor { opacity: 1 !important; transform: none !important; }
}
