/* =========================================================
   fwc.megabondworld.com — 탄성방수제
   모티프 M1 도면풍 / 그래파이트 + 오커 / 헤어라인 · radius 0 · 그림자 없음
   ========================================================= */
:root {
  color-scheme: only light;
  --primary: #1E2226;
  --primary-2: #2A2F35;
  --accent: #B98A2E;
  --accent-ink: #7A5A1C;
  --surface: #F2F4F5;
  --paper: #FFFFFF;
  --ink: #14171A;
  --muted: #545B63;
  --line: #D6DADD;
  --border: #C3C9CE;
  --text-on-light: #14171A;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B9C0C7;
  --line-on-dark: rgba(255, 255, 255, .18);
  --dp-radius: 0;
  --f-body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --f-head: var(--f-body);
  --f-label: var(--f-body);
  --f-mono: 'IBM Plex Mono', 'IBM Plex Sans KR', monospace;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --w: 1200px; --w-narrow: 760px; --gutter: clamp(20px, 4.6vw, 64px);
  --masthead-h: 72px; --sticky-h: 60px;
  --proc-badge: 48px; --proc-badge-radius: var(--dp-radius); --proc-line: 1px;
  --grid-bp: linear-gradient(rgba(30, 34, 38, .06) 1px, transparent 1px) 0 0 / 48px 48px,
             linear-gradient(90deg, rgba(30, 34, 38, .06) 1px, transparent 1px) 0 0 / 48px 48px;
}

*, *::before, *::after { box-sizing: border-box }
* { -webkit-tap-highlight-color: transparent }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-h) + 12px) }
html, body { overflow-x: hidden }
@supports (overflow: clip) { html, body { overflow-x: clip } }
body {
  margin: 0; background: var(--paper); color: var(--text-on-light);
  font-family: var(--f-body); font-size: 18px; line-height: 1.75; font-weight: 400;
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd, small, strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
:where(a, button, [role="button"], summary) { touch-action: manipulation }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -.02em }
p { margin: 0 0 var(--sp-4) }
ul, ol { margin: 0; padding: 0 }

main :is(h1, h2) { margin-bottom: clamp(20px, 2.4vw, 32px) }
main :is(h3, h4) { margin-bottom: var(--sp-3) }
main :is(p, ul, ol, table, figure) + :is(h2) { margin-top: var(--sp-8) }
main :is(p, ul, ol, table, figure) + :is(h3, h4) { margin-top: var(--sp-6) }
main h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700 }
main h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600 }

.skip { position: fixed; left: 12px; top: 0; z-index: 200; background: var(--primary); color: var(--text-on-dark); padding: 8px 14px; transform: translateY(-160%); transition: transform .2s ease }
.skip:focus { transform: none }

.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--gutter) }
.wrap--narrow { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--w)) / 2)); margin-right: auto }
.section { padding-block: var(--sp-9) }
.section--tight { padding-block: var(--sp-8) }

.eyebrow {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--f-label); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); margin: 0 0 var(--sp-4);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex: none }
.is-dark .eyebrow { color: var(--text-on-dark-muted) }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 44em }
.is-dark .lede { color: var(--text-on-dark-muted) }

/* 눈금자 구분선 — M1 */
.dotrule {
  height: 12px; border: 0; margin: 0; border-top: 1px solid var(--border);
  background: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 12px) top left / 100% 6px no-repeat;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; min-width: 44px; padding: 12px 24px;
  border-radius: var(--dp-radius); border: 1px solid var(--primary);
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; letter-spacing: -.01em;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn::after { content: '\2192'; font-family: var(--f-mono); font-weight: 400; transition: transform .2s ease }
.btn--key, .btn--ink { background: var(--primary); color: var(--text-on-dark); border-color: var(--primary) }
.btn--line { background: transparent; color: var(--ink); border-color: var(--border) }
.is-dark .btn--key, .closer .btn--key, .callcard .btn--key { background: var(--paper); color: var(--ink); border-color: var(--paper) }
.is-dark .btn--line, .btn--line.on-dark { color: var(--text-on-dark); border-color: rgba(255, 255, 255, .45) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }

:where(a, button, [role="button"], summary, .dp-cta) { min-height: 44px; min-width: 44px }

/* ---------- 헤더 ---------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--masthead-h);
  color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.masthead.is-stuck { border-bottom-color: var(--border); box-shadow: 0 1px 0 var(--border) }
.masthead__in { max-width: var(--w); height: 100%; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4) }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0 }
.brand__mark { flex: none; color: var(--primary) }
.brand__coat { fill: var(--accent) }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line) }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.02em }
.brand__tag { font-variant: small-caps; font-size: 13px; letter-spacing: .02em; color: var(--muted) }
.masthead__cta { min-height: 44px; padding: 8px 18px; font-size: 15px }

/* ---------- HERO — H4 띠 스택 ---------- */
.hero { position: relative; padding-inline: 0; background: var(--paper) }
.hero__band { position: relative; overflow: hidden; height: clamp(320px, 50vh, 560px); height: clamp(320px, 50dvh, 560px); background: var(--primary);
  animation: band-wipe 1s cubic-bezier(.7, 0, .2, 1) both }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease }
.hero__slide.is-on { opacity: 1 }
.hero__slide img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 35% center }
.hero__chip {
  position: absolute; left: var(--gutter); bottom: 20px; z-index: 2; margin: 0;
  background: var(--paper); color: var(--ink); padding: 6px 12px; font-size: 13px; font-weight: 500;
  border-left: 3px solid var(--accent);
}
.hero__content { position: relative; max-width: var(--w); margin-inline: auto; padding: var(--sp-7) var(--gutter) var(--sp-8);
  display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-7); align-items: end; border-bottom: 1px solid var(--line) }
.hero__title { font-size: clamp(3rem, 8.4vw, 6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.045em;
  animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both }
.hero__kicker { font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--sp-4) }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.75; margin-bottom: var(--sp-5); color: var(--ink) }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0 0 var(--sp-5) }
.hero__facts li { font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 14px; border-left: 1px solid var(--border); line-height: 1.4 }
.hero__facts li:first-child { padding-left: 0; border-left: 0 }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px }

/* ---------- 전후 비교 (L2) ---------- */
.proof { background: var(--paper) }
.ba-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 }
.ba-split figure { position: relative; margin: 0 }
.ba-split figure + figure { border-left: 1px solid var(--paper) }
.ba-split img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover }
.ba-chip {
  position: absolute; top: 16px; left: 16px; padding: 3px 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em;
  background: var(--paper); color: var(--ink);
}
.ba-chip--after { background: var(--primary); color: var(--text-on-dark) }
.ba-split figcaption { padding: var(--sp-3) var(--gutter); font-size: 15px; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line) }
.proof__body { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-7); align-items: start; padding-top: var(--sp-8) }
.proof__notes { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--primary) }
.proof__notes li { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; gap: var(--sp-4) }
.proof__notes b { font-weight: 600; font-size: 14px; color: var(--muted) }

/* 발행 세부페이지 링크 카드 */
.pagecard {
  display: flex; flex-direction: column; height: 100%; min-width: 0; text-decoration: none; position: relative;
  background: var(--paper); border: 1px solid var(--line); transition: border-color .25s ease;
}
.pagecard::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; z-index: 2 }
.pagecard__media { position: relative; overflow: hidden }
.pagecard__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; transition: transform .6s ease }
.pagecard__body { flex: 1; display: flex; flex-direction: column; padding: var(--sp-5) }
.pagecard__label { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: var(--sp-2) }
.pagecard__title { font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin-bottom: var(--sp-3); letter-spacing: -.02em }
.pagecard__desc { font-size: 15px; color: var(--muted); margin-bottom: var(--sp-4);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.pagecard__go { margin-top: auto; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--ink); align-self: flex-start; min-height: 32px }

/* ---------- 문제 공감 L3 (도면 그리드 + 단면도) ---------- */
.ask { position: relative; background-color: var(--surface); overflow: hidden }
.ask__texture { position: absolute; inset: 0; z-index: 0; background: var(--grid-bp);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 70%); mask-image: linear-gradient(to left, #000 0%, transparent 70%) }
.ask .wrap { position: relative; z-index: 1 }
.ask__head { display: grid; grid-template-columns: 6fr 6fr; gap: var(--sp-7); align-items: center; margin-bottom: var(--sp-8) }
.section-dwg { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: var(--sp-5) }
@media (max-width:480px) { .section-dwg { padding: var(--sp-3) } }
.section-dwg svg { display: block; width: 100%; height: auto; color: var(--primary) }
.section-dwg figcaption { font-size: 13px; color: var(--muted); padding-top: var(--sp-3); border-top: 1px solid var(--line); margin-top: var(--sp-3) }
.ask__rows { list-style: none; border-top: 1px solid var(--primary) }
.ask__row { position: relative; display: grid; grid-template-columns: 90px 1fr 1fr; gap: var(--sp-5); align-items: baseline;
  padding: var(--sp-6) 0; border-bottom: 1px solid var(--border) }
.ask__no { font-family: var(--f-mono); font-size: 14px; color: var(--accent-ink); font-weight: 500 }
.ask__q { font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.35; letter-spacing: -.02em }
.ask__a { margin: 0; font-size: 17px; color: var(--ink) }

/* ---------- 공정 L8 (다크 풀블리드) ---------- */
.is-dark { background: var(--primary); color: var(--text-on-dark) }
.method { position: relative; overflow: hidden; --border: var(--line-on-dark) }
.method__figure { margin: 0 0 var(--sp-7); position: relative }
.method__figure img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; height: auto }
.method__figure figcaption { position: absolute; left: 0; bottom: 0; background: var(--primary); color: var(--text-on-dark-muted);
  font-size: 13px; padding: 6px 14px 0 0 }
.method__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: end; margin-bottom: var(--sp-7) }
.method__head h2 { margin-bottom: 0 }
.method__head p { margin: 0; color: var(--text-on-dark-muted) }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: var(--sp-8); border-top: 1px solid var(--line-on-dark) }
.stat { padding: var(--sp-5) var(--sp-5) 0 0; margin: 0; position: relative }
.stat::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent) }
.stat__num { font-family: var(--f-mono); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; color: var(--text-on-dark); display: block; letter-spacing: -.03em }
.stat__label { display: block; margin-top: var(--sp-2); font-size: 15px; color: var(--text-on-dark-muted) }

/* 타임라인 — 변형 금지 구역 (색·배지 크기만 토큰으로) */
.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0 }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 0;
  top: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
  left: 50%; width: 100%; height: var(--proc-line); background: var(--border) }
.proc-num { position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge);
  margin: 0 auto 12px; border-radius: var(--proc-badge-radius);
  background: var(--paper); color: var(--ink); font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 15px }
.proc-step h3 { font-size: 1.15rem; margin-bottom: var(--sp-3) }
.proc-step p { font-size: 15px; line-height: 1.65; margin-bottom: var(--sp-3) }
.is-dark .proc-step p { color: var(--text-on-dark-muted) }
.proc-step__meta { display: inline-block; font-size: 13px; padding-top: 6px; border-top: 1px solid var(--accent); line-height: 1.5; color: inherit }
.is-light-proc { --border: #C3C9CE }
.is-light-proc .proc-num { background: var(--primary); color: var(--text-on-dark) }
.is-light-proc .proc-step p { color: var(--muted) }
@media (max-width:1024px) {
  .proc-list { flex-direction: column; gap: 32px }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0 }
  .proc-step:not(:last-child)::after {
    top: var(--proc-badge); left: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
    width: var(--proc-line); height: calc(100% + 32px) }
}

/* ---------- 자재 스펙 L4 (오프셋 겹침) ---------- */
.spec { position: relative; padding-top: 0 }
.spec__backdrop { margin: 0 }
.spec__backdrop img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; height: auto }
.spec__card { position: relative; z-index: 2; max-width: var(--w); margin: -140px auto 0; padding-inline: var(--gutter) }
.spec__sheet { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--primary);
  display: grid; grid-template-columns: 5fr 7fr; gap: 0 }
.spec__product { background: var(--surface); border-right: 1px solid var(--line); padding: var(--sp-5);
  display: grid; grid-template-columns: 1fr; gap: var(--sp-3); align-content: space-evenly }
.spec__product figure { margin: 0 }
.spec__product img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain }
.spec__product figcaption { font-family: var(--f-mono); font-size: 13px; text-align: left; color: var(--muted) }
.spec__text { padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-7) }
.spec__list { display: grid; grid-template-columns: 140px 1fr; margin: 0 0 var(--sp-5); border-top: 1px solid var(--primary) }
.spec__list dt, .spec__list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px }
.spec__list dt { font-size: 14px; font-weight: 600; color: var(--muted) }
.spec__icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); list-style: none; margin-bottom: var(--sp-5) }
.spec__icons li { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted) }
.spec__icons svg { width: 36px; height: 36px; color: var(--primary) }
.textlink { font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease, border-color .2s ease }

/* ---------- 비용 조건 — 견적서 형식 표 (L5) ---------- */
.quote { background: var(--paper) }
.quote__paper { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--primary); padding: var(--sp-6); position: relative }
.quote__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: 13px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: var(--sp-3); margin-bottom: var(--sp-4) }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch }
.qtable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px }
.qtable caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: var(--sp-3) }
.qtable th, .qtable td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line) }
.qtable thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--primary); background: var(--surface) }
.qtable tbody th { font-weight: 600; width: 26% }
.qtable tfoot td, .qtable tfoot th { border-top: 1px solid var(--primary); border-bottom: 0; font-weight: 600; padding-top: 16px }
.qtable .num { font-family: var(--f-body); font-variant-numeric: tabular-nums }

/* ---------- FAQ L6 (좌 스티키 + 우 전부 펼친 Q&A) ---------- */
.qa { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sp-8); align-items: start }
.qa__side { position: sticky; top: calc(var(--masthead-h) + 24px) }
.qa__list { border-top: 1px solid var(--primary); counter-reset: qa; list-style: none; margin: 0; padding: 0 }
.qa__item { padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-3) }
.qa__item::before { counter-increment: qa; content: 'Q' counter(qa, decimal-leading-zero); font-family: var(--f-mono); font-size: 14px; color: var(--accent-ink); padding-top: 4px }
.qa__item h3 { font-size: clamp(1.1rem, 1.6vw, 1.25rem) }
.qa__item p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.8 }

/* ---------- 하단 CTA (좌우 분할, 5레이어) ---------- */
.closer { display: grid; grid-template-columns: 5fr 7fr; background: var(--primary); color: var(--text-on-dark); position: relative; overflow: hidden }
.closer__media { margin: 0; position: relative; min-height: 100% }
.closer__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover }
.closer__body { padding: var(--sp-8) var(--gutter); max-width: 760px; position: relative; z-index: 1 }
.closer::after { content: ''; position: absolute; inset: 0 0 0 41.6%; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px }
.closer h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem) }
.closer p { color: var(--text-on-dark-muted); max-width: 34em }
.closer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--sp-5) 0 var(--sp-4) }
.closer small { display: block; font-size: 14px; color: var(--text-on-dark-muted) }

/* ---------- 세부페이지 ---------- */
.page-main main, .page-detail main, .page-plain main { padding-top: var(--masthead-h) }
.crumb { font-size: 14px; color: var(--muted); padding-top: var(--sp-5) }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px }
.crumb li + li::before { content: '/'; margin-right: 6px; color: var(--border) }
.crumb a { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-start }
.dhero { display: grid; grid-template-columns: 6fr 6fr; gap: 0; border-bottom: 1px solid var(--line) }
.dhero__media { margin: 0; position: relative; order: 0 }
.dhero__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; min-height: 420px }
.dhero__copy { padding: var(--sp-7) var(--gutter) var(--sp-7) var(--sp-7); background: var(--surface); display: flex; flex-direction: column; justify-content: center }
.dhero__title { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em;
  animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both }
.answer { border-left: 2px solid var(--accent); padding-left: var(--sp-4); font-size: 17px; margin-bottom: var(--sp-5) }
.answer strong { font-weight: 600 }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--primary) }
.checks li { position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) 40px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted) }
.checks li:nth-child(odd) { border-right: 1px solid var(--line) }
.checks li::before { content: ''; position: absolute; left: 10px; top: 25px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) }
.checks b { display: block; font-size: 17px; color: var(--ink); font-weight: 600 }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin: 0 0 var(--sp-6) }
.ba figure { position: relative; margin: 0; border: 1px solid var(--line); background: var(--paper) }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto }
.ba figcaption { padding: 10px 14px; font-size: 15px; color: var(--muted) }
.observe { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); list-style: none }
.observe li { background: var(--paper); padding: var(--sp-5); border-top: 2px solid var(--primary); display: flex; flex-direction: column; height: 100%; font-size: 16px }
.observe b { font-weight: 600; font-size: 14px; color: var(--muted); display: block; margin-bottom: 6px }
.halfpanel { position: relative; background: var(--surface) }
.halfpanel__art { margin: 0 0 var(--sp-6) }
.halfpanel__art img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; height: auto }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; background: var(--paper) }
.compare caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: var(--sp-3); caption-side: top }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.compare thead th { background: var(--primary); color: var(--text-on-dark); font-weight: 600; border-bottom: 0 }
.compare tbody th { font-size: 14px; font-weight: 600; color: var(--muted); width: 22% }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--paper); padding: var(--sp-6) }
.callout__title { font-size: 1.3rem; font-weight: 700; margin-bottom: var(--sp-4); letter-spacing: -.02em }
.callout ol { list-style: none; counter-reset: m; display: grid; gap: 0 }
.callout li { counter-increment: m; display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-3); padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px }
.callout li::before { content: counter(m, decimal-leading-zero); font-family: var(--f-mono); color: var(--accent-ink); font-size: 14px; padding-top: 2px }
.related { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: var(--sp-5) }
.ticket { display: flex; flex-direction: column; height: 100%; min-width: 0; text-decoration: none; background: var(--primary); color: var(--text-on-dark);
  padding: var(--sp-6); position: relative; transition: background-color .25s ease }
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease }
.ticket__label { font-size: 13px; font-weight: 500; color: var(--text-on-dark-muted); margin-bottom: var(--sp-2) }
.ticket__title { font-size: 1.45rem; font-weight: 700; line-height: 1.3; margin-bottom: var(--sp-3); letter-spacing: -.02em }
.ticket__desc { color: var(--text-on-dark-muted); font-size: 15px; margin-bottom: var(--sp-5) }
.ticket__go { margin-top: auto; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .5); align-self: flex-start; min-height: 32px }

.split2 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: start }
.split2 > div:first-child h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem) }

/* ---------- 상담 페이지 ---------- */
.call { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-7); align-items: start }
.callcard { background: var(--primary); color: var(--text-on-dark); padding: var(--sp-7) var(--sp-6); position: relative }
.callcard::before { content: ''; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: var(--accent) }
.callcard__label { font-size: 14px; font-weight: 500; color: var(--text-on-dark-muted) }
.callcard__num { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; color: var(--text-on-dark);
  text-decoration: none; margin: var(--sp-3) 0 var(--sp-5); letter-spacing: -.02em }
.callcard p { color: var(--text-on-dark-muted) }
.guide { list-style: none; border-top: 1px solid var(--primary) }
.guide li { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); font-size: 16px }
.guide b { display: block; font-size: 17px }
.guide-table { min-width: 0 }
.why { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: var(--sp-5); list-style: none }
.why li { display: flex; flex-direction: column; height: 100%; min-width: 0; border-top: 2px solid var(--primary); padding: var(--sp-5); background: var(--paper) }
.why svg { width: 40px; height: 40px; margin-bottom: var(--sp-3); color: var(--primary) }
.why h3 { font-size: 1.2rem }
.why p { margin: 0; font-size: 15px; color: var(--muted) }

/* ---------- 404 ---------- */
.lost { padding: calc(var(--masthead-h) + var(--sp-8)) 0 var(--sp-9) }
.lost__title { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.04em }
.lost__links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-5) }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: var(--sp-8) var(--gutter) calc(var(--sp-9) + var(--sp-5)); font-size: 15px }
.site-footer .ft-inner { max-width: calc(var(--w) - 2 * var(--gutter)); margin-inline: auto; display: grid;
  grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left }
.ft-cluster__title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--text-on-dark) }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.ft-cluster li { line-height: 1.6 }
.ft-cluster--biz li { color: var(--text-on-dark-muted) }
.ft-cluster a { min-height: 44px; min-width: 44px; margin-block: -6px; padding-block: 4px; line-height: 1.5; display: inline-flex; align-items: center; text-decoration: none; color: var(--text-on-dark); border-bottom: 1px solid transparent; transition: border-color .2s ease }
.ft-bottom { max-width: calc(var(--w) - 2 * var(--gutter)); margin-inline: auto; display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 40px; padding-top: 16px; font-size: 14px }

/* ---------- 하단 고정 CTA ---------- */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  min-height: var(--sticky-h); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--primary); color: var(--text-on-dark); font-weight: 600; font-size: 17px; text-decoration: none;
  align-items: center; justify-content: center; border-top: 2px solid var(--accent) }

/* ---------- 리빌 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1) }
.js [data-reveal].is-in { opacity: 1; transform: none }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1) }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0) }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease }
.js [data-stagger].is-in > * { opacity: 1; transform: none }
.js .proc-step .proc-num { transform: scale(.8); opacity: 0 }
.js [data-stagger].is-in .proc-num { animation: tick-in .5s ease-out both; animation-delay: inherit }

@keyframes band-wipe { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }
@keyframes rise { from { opacity: 0; transform: translateY(28px) } to { opacity: 1; transform: none } }
@keyframes tick-in { from { transform: scale(.8); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* ---------- 호버 — 정밀 포인터에서만 ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { transform: translateX(4px) }
  .btn--key:hover, .btn--ink:hover { background: var(--primary-2) }
  .btn--line:hover { border-color: var(--ink) }
  .is-dark .btn--key:hover, .closer .btn--key:hover, .callcard .btn--key:hover { background: var(--surface) }
  .is-dark .btn--line:hover, .btn--line.on-dark:hover { border-color: var(--paper) }
  .pagecard:hover { border-color: var(--border) }
  .pagecard:hover::before { transform: scaleX(1) }
  .pagecard:hover .pagecard__media img { transform: scale(1.03) }
  .ticket:hover { background: var(--primary-2) }
  .ticket:hover::before { transform: scaleX(1) }
  .textlink:hover { color: var(--muted) }
  .ft-cluster a:hover { border-bottom-color: var(--accent) }
  .crumb a:hover { color: var(--ink) }
}

/* ---------- 반응형 ---------- */
@media (max-width:1151px) {
    .hero__content { grid-template-columns: 1fr 1fr; gap: var(--sp-6) }
  .spec__icons { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width:1024px) {
  .proof__body, .method__head, .qa, .call, .ask__head, .split2 { grid-template-columns: 1fr; gap: var(--sp-6) }
  .qa__side { position: static }
  .ask__row { grid-template-columns: 60px 1fr }
  .ask__a { grid-column: 2 }
  .spec__sheet { grid-template-columns: 1fr }
  .spec__product { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr }
  .spec__text { padding: var(--sp-6) }
  .closer { grid-template-columns: 1fr 1fr }
  .closer::after { inset: 0 0 0 50% }
  .dhero { grid-template-columns: 1fr 1fr }
  .dhero__copy { padding: var(--sp-6) var(--gutter) }
  .observe { grid-template-columns: repeat(3, 1fr) }
  .why { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width:768px) {
  body { font-size: 17px; padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)) }
  .section { padding-block: var(--sp-8) }
  .section--tight { padding-block: var(--sp-7) }
  .sticky-bar { display: flex }
  .masthead__cta { min-height: 44px; padding: 6px 14px; font-size: 14px }
  .masthead__cta::after { display: none }
  .hero__band { height: clamp(240px, 44vh, 420px); height: clamp(240px, 44dvh, 420px) }
  .hero__content { grid-template-columns: 1fr; gap: var(--sp-3); padding-top: var(--sp-6); padding-bottom: var(--sp-7) }
  .ba-split { grid-template-columns: 1fr }
  .ba-split figure + figure { border-left: 0 }
  .ask__row { grid-template-columns: 1fr; gap: 0; padding: var(--sp-5) 0 }
  .ask__a { grid-column: auto }
  .method__figure img { aspect-ratio: 16 / 9 }
  .stats { grid-template-columns: 1fr }
  .stat { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-on-dark) }
  .spec__backdrop img { aspect-ratio: 16 / 9 }
  .spec__card { margin-top: -48px }
  .spec__list { grid-template-columns: 1fr }
  .spec__list dt { padding-bottom: 0; border-bottom: 0 }
  .quote__paper { padding: var(--sp-5) var(--sp-4) }
  .closer { grid-template-columns: 1fr }
  .closer::after { display: none }
  .closer__media img { aspect-ratio: 16 / 9; height: auto }
  .closer__body { padding: var(--sp-7) var(--gutter) }
  .dhero { grid-template-columns: 1fr }
  .dhero__media img { min-height: 0; aspect-ratio: auto; height: clamp(220px, 40vh, 380px); height: clamp(220px, 40dvh, 380px); object-position: 30% center }
  .checks { grid-template-columns: 1fr }
  .checks li:nth-child(odd) { border-right: 0 }
  .qtable, .compare { min-width: 0 }
  .site-footer { padding-bottom: var(--sp-7) }
  .ba { grid-template-columns: 1fr }
  .observe, .why, .related { grid-template-columns: 1fr; grid-auto-rows: auto }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left }
  .ft-bottom { flex-direction: column; align-items: flex-start }
  .br-desktop { display: none }
}
@media (max-width:480px) {
  :root { --masthead-h: 64px }
  .brand__tag { display: none }
  .brand__name { font-size: 17px }
  .brand__text { padding-left: 10px }
  .hero__title { font-size: clamp(2.8rem, 15vw, 4rem) }
  .spec__product { grid-template-columns: 1fr 1fr }
  .spec__icons { grid-template-columns: 1fr 1fr }
  .callcard { padding: var(--sp-6) var(--sp-5) }
}
.br-mobile { display: none }
@media (max-width:768px) { .br-mobile { display: inline } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
  .js [data-reveal], .js [data-stagger] > *, .js .proc-step .proc-num { opacity: 1 !important; transform: none !important; clip-path: none !important }
}
.page-404 main { padding-top: 0 }
