/* =========================================================
   엘리베이터광고 가이드 — 디자인 시스템 v3
   콘셉트: 미니멀 프로덕트 페이지 (넓은 여백, 큰 중앙 헤드라인,
           흰색·라이트그레이 교차 섹션, 둥근 대형 타일, 텍스트 링크 CTA)
   수정은 :root 변수부터.
   ========================================================= */

:root {
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --surface: #FFFFFF;
  --blue: #0071E3;        /* 버튼 */
  --link: #0066CC;        /* 텍스트 링크 */
  --brand: #0B1F3A;       /* 로고 마크 */
  --tile-dark: #000000;
  --accent-bg: #F5F5F7;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --fs-base: 17px;
  --lh: 1.6;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1024px;
  --wide: 1240px;
  --narrow: 720px;
  --gap: 20px;
  --section: clamp(72px, 10vw, 140px);
}
:root[data-theme="dark"] {
  --ink: #F5F5F7; --ink-2: #D2D2D7; --muted: #A1A1A6; --line: #424245; --line-soft: #2C2C2E;
  --bg: #000000; --bg-alt: #161617; --surface: #1D1D1F; --link: #2997FF; --accent-bg: #1D1D1F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F5F5F7; --ink-2: #D2D2D7; --muted: #A1A1A6; --line: #424245; --line-soft: #2C2C2E;
    --bg: #000000; --bg-alt: #161617; --surface: #1D1D1F; --link: #2997FF; --accent-bg: #1D1D1F;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh); color: var(--ink); background: var(--bg);
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 1.4em; }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0 0 1em; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.wide { width: min(100% - 32px, var(--wide)); margin-inline: auto; }
.narrow { width: min(100% - 44px, var(--narrow)); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: var(--muted); font-weight: 500; letter-spacing: -0.015em; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 .6em; letter-spacing: -0.01em; }
.eyebrow a { color: inherit; }
.meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.center { text-align: center; }

/* ---------- Links & buttons ---------- */
.more { font-size: 17px; font-weight: 500; white-space: nowrap; }
.more::after { content: " ›"; font-size: 1.15em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 980px; font-size: 17px; font-weight: 500; border: 1px solid transparent; cursor: pointer; font-family: inherit; text-decoration: none !important; letter-spacing: -0.01em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0077ED; }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 5px 13px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 18px; }
.cta-row { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Header (얇은 반투명 바) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
:root[data-theme="dark"] .site-header { background: rgba(22,22,23,.8); border-color: rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 52px; width: min(100% - 32px, var(--wide)); }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; margin-right: auto; }
.logo-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 11px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.logo-text small { display: none; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 6px 10px; color: var(--ink); opacity: .82; font-size: 13px; font-weight: 400; text-decoration: none !important; letter-spacing: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.theme-toggle, .nav-toggle { background: none; border: 0; color: var(--ink); width: 34px; height: 34px; cursor: pointer; border-radius: 50%; display: grid; place-items: center; opacity: .8; }
.theme-toggle:hover, .nav-toggle:hover { opacity: 1; background: var(--bg-alt); }
.header-cta { padding: 5px 14px; font-size: 13px; background: var(--blue); color: #fff; border-radius: 980px; font-weight: 500; }
.nav-toggle { display: none; position: relative; }
.nav-toggle span[aria-hidden], .nav-toggle span[aria-hidden]::before { content: ""; position: absolute; left: 9px; width: 16px; height: 1.5px; background: currentColor; }
.nav-toggle span[aria-hidden] { top: 13px; }
.nav-toggle span[aria-hidden]::before { top: 7px; left: 0; }
.nav-toggle span[aria-hidden]::after { display: none; }
@media (max-width: 1000px) {
  .js .nav-toggle { display: grid; order: 3; }
  .js .site-nav { position: absolute; inset: 52px 0 auto 0; background: var(--bg); display: none; height: calc(100vh - 52px); overflow: auto; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 18px 40px; }
  .js .site-nav a { font-size: 26px; font-weight: 600; padding: 10px 0; opacity: 1; letter-spacing: -0.02em; }
  .header-cta { display: none; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding: 8px 0; }
  html:not(.js) .site-nav { width: 100%; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { width: min(100% - 44px, var(--container)); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; font-size: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.tight { padding-top: 0; }
.alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head.center h2 { margin-bottom: 14px; }
.section-head.center .lead { margin: 0; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-bottom: var(--section); }
.two-col > div > section:first-child h2 { margin-top: 0; }

/* ---------- Home: hero ---------- */
.hero-a { text-align: center; padding: clamp(56px, 8vw, 96px) 0 0; overflow: hidden; }
.hero-a .eyebrow { font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hero-a h1 { font-size: clamp(44px, 7.4vw, 92px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 18px; }
.hero-a .lead { max-width: 640px; margin: 0 auto; }
.hero-a .cta-row { margin-bottom: clamp(40px, 6vw, 72px); }
.hero-visual { margin: 0 auto; max-width: 980px; }
.hero-visual svg { width: 100%; height: auto; display: block; }
.hero-visual figcaption { font-size: 12px; color: var(--muted); padding: 14px 0 0; }
.grad-text { background: linear-gradient(90deg, #0090F7 0%, #BA62FC 55%, #F2416B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Home: tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tile { position: relative; border-radius: 0; background: var(--bg-alt); text-align: center; padding: 56px 32px 0; min-height: 580px; display: flex; flex-direction: column; align-items: center; overflow: hidden; color: var(--ink); }
.tile.dark { background: var(--tile-dark); color: #F5F5F7; }
.tile.dark h2, .tile.dark h3 { color: #F5F5F7; }
.tile.dark .tile-sub { color: #A1A1A6; }
.tile.dark .more, .tile.dark a { color: #2997FF; }
.tile.full { grid-column: 1 / -1; min-height: 620px; }
.tile .eyebrow { color: inherit; opacity: .7; font-size: 15px; }
.tile h2, .tile h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; }
.tile.full h2 { font-size: clamp(36px, 4.6vw, 56px); }
.tile-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 30em; margin: 0 auto 18px; }
.tile .cta-row { margin-top: 0; }
.tile-art { margin-top: auto; width: 100%; display: flex; justify-content: center; padding-top: 32px; }
.tile-art svg { width: min(100%, 520px); height: auto; display: block; }
.tile.full .tile-art svg { width: min(100%, 760px); }

/* ---------- Home: numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; max-width: 900px; margin: 0 auto; }
.num { text-align: center; }
.num-v { font-size: clamp(54px, 7vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.num-v small { font-size: .4em; letter-spacing: -0.02em; margin-left: 4px; }
.num-c { font-size: 19px; font-weight: 600; margin: 0 0 4px; }
.num-s { font-size: 13px; color: var(--muted); margin: 0; }
.fineprint { font-size: 12.5px; color: var(--muted); text-align: center; max-width: 720px; margin: 48px auto 0; line-height: 1.6; }

/* ---------- Home: bars ---------- */
.bars { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.bar-row { display: grid; gap: 8px; }
.bar-label { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; }
.bar-label b { font-size: 28px; letter-spacing: -0.03em; }
.bar { background: var(--line-soft); border-radius: 999px; height: 14px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 999px; background: #86868B; }
.bar-fill.accent { background: linear-gradient(90deg, #0090F7, #BA62FC); }
.src-line { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 24px; }

/* ---------- Home: steps ---------- */
.steps-h { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.steps-h li { text-align: left; }
.steps-h .ic { color: var(--ink); margin-bottom: 14px; display: block; }
.steps-h .n { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.steps-h h3 { font-size: 21px; margin-bottom: 8px; }
.steps-h p { color: var(--ink-2); font-size: 16px; margin-bottom: 10px; }

/* ---------- Home: quick form ---------- */
.ask { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); max-width: 860px; margin: 0 auto; }
.quick-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 28px; }
.qf-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 6px 4px; }
.qf-field input, .qf-field select { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.quick-form .btn { height: 54px; padding-inline: 26px; }

/* ---------- Cards ---------- */
.card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; border: 0; box-shadow: none; }
.alt .card { background: var(--surface); }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: var(--ink); }
.card p { color: var(--ink-2); font-size: 16px; }
.topic-card { text-decoration: none !important; color: inherit; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.topic-card:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.topic-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.topic-icon { color: var(--ink); display: inline-flex; }
.topic-num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic-card .eyebrow { margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.topic-card .meta { margin-top: auto; color: var(--link); font-size: 15px; }
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.post-card:hover { transform: scale(1.015); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.post-card > *:not(.post-thumb) { margin-left: 24px; margin-right: 24px; }
.post-card .eyebrow { margin-top: 22px; margin-bottom: 6px; font-size: 13px; }
.post-card h3 { font-size: 20px; }
.post-card .meta { margin-top: auto; margin-bottom: 24px; padding-top: 8px; }
.post-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #111; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; }

/* ---------- Inner page hero ---------- */
.page-hero { text-align: center; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); max-width: 860px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; }
.page-hero .lead { margin: 0 auto; max-width: 680px; }
.page-hero .eyebrow { font-size: 17px; color: var(--ink); font-weight: 600; }

/* ---------- Article ---------- */
.post { padding-top: clamp(40px, 6vw, 80px); }
.post-header { text-align: center; margin-bottom: 48px; }
.post-header h1 { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -0.035em; }
.post-header .lead { margin: 0 auto; }
.post-header .meta { justify-content: center; margin-top: 20px; }
.post-figure { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 2em 0; padding: 0; border: 0; font-size: 24px; line-height: 1.45; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.prose blockquote p { margin: 0; }
.prose code { background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.key-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 36px; }
.key-summary h2 { font-size: 15px; margin: 0 0 10px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.key-summary ul { margin: 0; padding-left: 1.2em; font-size: 17px; }
.key-summary li { margin-bottom: 6px; }
.toc { padding: 0 0 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.toc .eyebrow { font-size: 13px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: var(--ink-2); }
.sources { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.sources h2 { font-size: 17px; margin-top: 0; }
.sources li { margin-bottom: 6px; }
.author-box { margin-top: 40px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-alt); font-size: 15px; }
.author-box p { margin-bottom: .3em; }
.related { padding: var(--section) 0; }
.related h2 { margin-top: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 2em 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
caption { text-align: left; padding: 18px 20px 4px; font-weight: 600; color: var(--ink); font-size: 15px; }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
thead th { font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td small, .src { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.table-wrap.dark { background: #1D1D1F; border-color: #2C2C2E; }
.table-wrap.dark table { color: #F5F5F7; }
.table-wrap.dark thead th { color: #86868B; }
.table-wrap.dark tbody th { color: #F5F5F7; }
.table-wrap.dark th, .table-wrap.dark td { border-color: #2C2C2E; }
.table-wrap.dark small { color: #86868B; display: inline; margin-left: 6px; }

/* ---------- Notes ---------- */
.disclosure { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 24px; margin: 28px 0; font-size: 14px; color: var(--muted); }
.disclosure .eyebrow { margin-bottom: 4px; color: var(--ink); }
.disclosure p:last-child { margin: 0; }
.disclosure-small { font-size: 12px; color: var(--muted); }
.callout { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; font-size: 16px; }
.callout p:last-child { margin: 0; }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2em 0; }
.fit-grid .card { background: var(--bg-alt); }
.fit-grid .card h3 { font-size: 19px; }
.fit-grid ul { margin: 0; padding-left: 1.2em; font-size: 16px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line-soft); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 2px; top: 14px; color: var(--blue); font-weight: 700; }
.question-list { padding-left: 1.2em; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.link-list li:last-child { border: 0; }
.sidebar { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 76px; }
.sidebar .card { padding: 24px; }
.empty { color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; padding: 18px 0 18px 56px; position: relative; border-bottom: 1px solid var(--line-soft); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps strong { display: block; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 32px; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq summary h3 { margin: 0; font-size: 19px; font-weight: 600; }
.faq div { padding: 0 0 24px; color: var(--ink-2); font-size: 17px; }

/* ---------- Glossary ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.glossary > div { padding: 22px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 80px; }
.glossary > div:target { background: var(--bg-alt); padding-inline: 16px; border-radius: 12px; }
.glossary dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.glossary dt .muted { font-weight: 400; font-size: 13px; margin-left: 6px; }
.glossary dd { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 36px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 16px; border-radius: 980px; cursor: pointer; font: inherit; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.post-card[hidden] { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form.card { background: var(--bg-alt); padding: clamp(24px, 4vw, 40px); }
.form label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.hidden-field { display: none; }

/* ---------- Placeholder ---------- */
.ph { aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--bg-alt); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--muted); padding: 40px 0 24px; font-size: 12px; line-height: 1.5; }
.site-footer .container { width: min(100% - 44px, var(--wide)); }
.site-footer a { color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { color: var(--ink); font-weight: 600; font-size: 13px; }
.footer-title { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.footer-bottom { padding-top: 16px; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; padding: 0; gap: 12px; }
  .tile, .tile.full { min-height: 520px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-h { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .quick-form { grid-template-columns: 1fr 1fr; }
  .quick-form .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --fs-base: 16px; }
  .grid-2, .grid-3, .grid-4, .fit-grid, .glossary, .form .row, .quick-form, .steps-h { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; gap: 40px; }
  .toc ol { columns: 1; }
  .card { padding: 22px; }
  .prose { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .toc, .related, .theme-toggle { display: none; } body { background: #fff; color: #000; } }
.tile.full.short { min-height: 520px; } .tile.full.short .tile-art svg { width: min(100%, 520px); }
.post-figure { display: none; } .toc ol { list-style: none; padding-left: 0; } .toc li { margin-bottom: 4px; }

/* ---------- v3.1 실사 이미지 · 커버리지 · 패키지 ---------- */
.hero-photo { margin: 0 auto; max-width: 1240px; padding: 0 16px; }
.hero-photo img { width: 100%; border-radius: var(--radius-lg); }
.hero-photo figcaption, .photo-cap { font-size: 12px; color: var(--muted); padding-top: 12px; text-align: center; }
.tile.photo { padding-bottom: 0; }
.tile-photo { margin-top: auto; width: 100%; padding-top: 32px; }
.tile-photo img { width: 100%; border-radius: 14px 14px 0 0; object-fit: cover; }
.tile.full .tile-photo img { max-height: 520px; border-radius: 18px 18px 0 0; }
.tile .devices { display: flex; gap: 22px; justify-content: center; align-items: flex-end; margin-top: auto; padding-top: 36px; }
.tile .devices img { width: auto; height: clamp(220px, 28vw, 340px); filter: drop-shadow(0 24px 30px rgba(0,0,0,.18)); }
.tile .devices img + img { height: clamp(200px, 25vw, 300px); }
.cov { margin: 0; }
.cov-bars { display: grid; grid-template-columns: repeat(17, 1fr); gap: 8px; align-items: end; height: 340px; }
.cov-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.cov-b { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #BA62FC, #0090F7); min-height: 4px; }
.cov-col:nth-child(n+3) .cov-b { background: #86868B; opacity: .55; }
.cov-col:nth-child(3) .cov-b { background: linear-gradient(180deg, #BA62FC, #0090F7); opacity: .7; }
.cov-v { font-size: 11px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cov-r { font-size: 13px; color: var(--muted); margin-top: 8px; }
.cov figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.sr-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cov-sum { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); flex-wrap: wrap; margin: 0 0 48px; text-align: center; }
.cov-sum b { display: block; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; }
.cov-sum span { font-size: 14px; color: var(--muted); }
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pkg { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 22px; }
.alt .pkg { background: var(--surface); }
.pkg-g { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.pkg h3 { font-size: 22px; margin-bottom: 14px; }
.pkg-price { white-space: nowrap; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.pkg-price small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.pkg-list { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.pkg ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-2); }
.pkg li { margin-bottom: 8px; }
.pkg li b { color: var(--ink); }
.split-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-photo img { border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .pkgs { grid-template-columns: 1fr 1fr; }
  .split-photo { grid-template-columns: 1fr; }
  .cov-bars { gap: 4px; height: 260px; }
  .cov-v { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; }
}
@media (max-width: 640px) { .pkgs { grid-template-columns: 1fr; } .cov-r { font-size: 10px; } }
.apts { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(22px, calc((100vw - var(--container)) / 2)); padding: 4px max(22px, calc((100vw - var(--container)) / 2)) 20px; scrollbar-width: none; }
.apts::-webkit-scrollbar { display: none; }
.apt { flex: 0 0 clamp(240px, 26vw, 320px); margin: 0; scroll-snap-align: start; }
.apt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.apt figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; }
.apt b { font-size: 17px; font-weight: 600; }
.apt span { font-size: 13px; color: var(--muted); }
.tile .devices img:nth-child(2) { height: clamp(240px, 30vw, 360px); }

/* ---------- v4 본문 페이지 가독성: 짧은 블록 · 카드 · 여백 ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.jump a { padding: 7px 15px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); font-size: 14px; text-decoration: none !important; }
.jump a:hover { background: var(--line-soft); }
.narrow-center { max-width: 760px; text-align: center; }
.narrow-center .disclosure { text-align: left; margin-top: 0; }
.narrow-center h2 { margin-top: 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 28px; }
.note.center, .center .note { text-align: center; }
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; text-align: left; }
.icards.four { grid-template-columns: repeat(4, 1fr); }
.icard { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 24px; }
.alt .icard { background: var(--surface); }
.icard h3 { font-size: 19px; margin: 0 0 6px; }
.icard p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.icard .ic { display: inline-flex; color: var(--ink); margin-bottom: 16px; }
.icard .num { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.icard .big { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; background: linear-gradient(90deg, #0090F7, #BA62FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.duo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.duo-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.duo-img { margin: 0 auto 28px; border-radius: 14px; }
.duo-img.tall { height: 300px; width: auto; filter: drop-shadow(0 20px 26px rgba(0,0,0,.16)); border-radius: 0; }
.duo-img.wide { width: 100%; height: 300px; object-fit: cover; }
.duo-card h3 { font-size: 24px; margin-bottom: 4px; }
.duo-sub { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.duo-card p:last-child { margin: 0; color: var(--ink-2); }
.tags-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.tags-grid span { padding: 12px 20px; border-radius: 980px; background: var(--bg-alt); font-size: 16px; font-weight: 500; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 40px 36px; }
.vs-card:first-child { background: #000; color: #F5F5F7; }
.vs-card:first-child dt, .vs-card:first-child .vs-tag, .vs-card:first-child small { color: #A1A1A6; }
.vs-card:first-child dd { color: #F5F5F7; }
.vs-card:first-child dl > div { border-color: #2C2C2E; }
.vs-name { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 4px; }
.vs-tag { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.vs-card dl { margin: 0; }
.vs-card dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.vs-card dt { font-size: 14px; color: var(--muted); }
.vs-card dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.vs-card dd small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.fit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px; }
.fit-for { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.fit-card ul { list-style: none; padding: 0; margin: 0; }
.fit-card li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-soft); position: relative; font-size: 16.5px; }
.fit-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.table-wrap.clean { border: 0; background: transparent; border-radius: 0; margin: 0; }
.table-wrap.clean table { font-size: 16px; }
.table-wrap.clean th, .table-wrap.clean td { padding: 18px 16px; }
.table-wrap.clean thead th { font-size: 14px; border-bottom: 1px solid var(--line); }
.table-wrap.clean tbody th { color: var(--muted); font-weight: 500; width: 150px; }
.table-wrap.clean td small { display: inline; margin-left: 4px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 860px; margin: 0 auto; }
.checks p { margin: 0; background: var(--bg-alt); border-radius: 14px; padding: 18px 20px 18px 52px; position: relative; font-size: 16px; }
.checks p::before { content: "✓"; position: absolute; left: 20px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cov { margin-top: 0; }
/* 블로그·일반 글 가독성 */
.prose { max-width: 680px; margin-inline: auto; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { margin-top: 2.4em; padding-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.post .key-summary, .post .toc, .post .author-box, .post .disclosure { max-width: 680px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .icards, .icards.four { grid-template-columns: 1fr 1fr; }
  .duo, .vs, .fit-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .icards, .icards.four, .checks { grid-template-columns: 1fr; }
  .vs-card, .fit-card, .duo-card { padding: 28px 22px; }
  .table-wrap.clean tbody th { width: auto; }
}
.icard .num { text-align: left; }

/* ---------- 대표 단지 자동 롤링 ---------- */
.apts { display: block; overflow-x: auto; scroll-snap-type: none; padding: 4px 0 20px; }
.apts-track { display: flex; gap: 16px; width: max-content; padding: 0 max(22px, calc((100vw - var(--container)) / 2)); }
.apts.is-rolling { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.apts.is-rolling .apts-track { padding: 0; animation: apts-roll 60s linear infinite; }
.apts.is-rolling:hover .apts-track, .apts.is-rolling:focus-within .apts-track { animation-play-state: paused; }
@keyframes apts-roll { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .apts.is-rolling .apts-track { animation: none; } .apts.is-rolling { overflow-x: auto; } }
