/* Command B 커맨드비 사이트 스타일
   흑백 + 코발트(메뉴 배지, 첫 화면 가격, "하지 않는 일" 표시에만). 글자는 Pretendard 한 가지, Light와 Bold 두 굵기로 위계를 만든다. */
:root {
  --bg: #fff;
  --fg: #000;
  --tile: #EFF1F6;
  --muted: #6A6A6A;
  --hair: rgba(0, 0, 0, .16);
  --acc: #1F3FFF;      /* 강조색 코발트: 면으로 쓸 때 */
  --on-acc: #fff;      /* 강조색 면 위의 글자 */
  --acc-ink: #1F3FFF;  /* 강조색: 글자와 선으로 쓸 때 */
  --err: #C4321F;      /* 오류 표시 */
  --pill-shadow: none;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --gut: clamp(20px, 3.4vw, 48px);
  --sec: clamp(88px, 11vw, 168px);
}
html[data-theme="dark"] {
  --bg: #000;
  --fg: #fff;
  --tile: #12141C;
  --acc: #4A66FF;
  --acc-ink: #8FA0FF;
  --muted: #A3A3A3;
  --hair: rgba(255, 255, 255, .24);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; }
.wrap { padding: 0 max(var(--gut), 84px) 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* 모서리 고정 UI. 스크롤한 글자가 로고 밑으로 겹치지 않게 상단 바를 깐다 */
body::before { content: ""; position: fixed; z-index: 88; top: 0; left: 0; right: 0; height: 100px; background: var(--bg); }
[id], .form-done { scroll-margin-top: 120px; }
.f-logo { position: fixed; z-index: 115; top: 26px; left: var(--gut); width: 90px; height: 48px; color: #fff; mix-blend-mode: difference; display: block; }
.f-logo svg { width: 100%; height: 100%; }
.f-title { position: fixed; z-index: 90; top: 38px; left: 50%; transform: translateX(-50%); font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: #fff; mix-blend-mode: difference; white-space: nowrap; pointer-events: none; }
.menu-btn { position: fixed; z-index: 120; top: 22px; right: var(--gut); width: 56px; height: 56px; background: var(--bg); border: 2px solid var(--fg); cursor: pointer; padding: 0; display: grid; place-content: center; gap: 7px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--fg); transition: transform .25s; }
.menu-btn span:nth-of-type(2) { width: 12px; justify-self: start; }
.menu-btn[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-of-type(2) { width: 18px; transform: translateY(-4.5px) rotate(-45deg); }
.side-tab { position: fixed; z-index: 80; right: 0; top: 50%; transform: translateY(-50%); background: var(--fg); color: var(--bg); text-decoration: none; width: 54px; padding: 18px 0 22px; display: flex; flex-direction: column; align-items: center; gap: 22px; font-weight: 800; outline: 1px solid var(--bg); }
.side-tab b { font-size: 21px; font-weight: 300; }
.side-tab span { writing-mode: vertical-rl; font-size: 15px; letter-spacing: .02em; }
.side-tab:hover { background: var(--acc); color: var(--on-acc); }

/* 숫자 배지 */
.pill { display: inline-flex; align-items: center; justify-content: center; background: var(--acc); color: var(--on-acc); font-weight: 800; border-radius: 999px; line-height: 1; font-size: 15px; min-width: 2.2em; height: 1.9em; padding: 0 .7em; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }

/* 글자 링크: 올리면 굵어진다 */
.bk { display: inline-block; font-weight: 400; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; cursor: pointer; white-space: nowrap; transition: font-weight .2s; }
.bk:hover { font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; background: var(--fg); color: var(--bg); border: 2px solid var(--fg); font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--bg); color: var(--fg); }
.btn.line { background: transparent; color: var(--fg); }
.btn.line:hover { background: var(--fg); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 전체 화면 메뉴 */
.menu { position: fixed; inset: 0; z-index: 110; background-color: var(--tile); background-image: linear-gradient(var(--bg) 12px, transparent 12px), linear-gradient(90deg, var(--bg) 12px, transparent 12px); background-size: 13.7vw 13.7vw; background-position: -6px -6px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 5vw; padding: 120px 12vw 120px 18vw; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.menu.open { opacity: 1; visibility: visible; }
.menu-main a { display: block; width: fit-content; position: relative; font-weight: 300; transition: font-weight .25s; font-size: clamp(48px, min(9.4vw, 13.6vh), 148px); letter-spacing: -.045em; line-height: 1.04; text-decoration: none; }
.menu-main a small { font-size: clamp(14px, 1.2vw, 18px); letter-spacing: 0; font-weight: 600; margin-left: .9em; color: var(--muted); vertical-align: middle; }
.menu-main .w { position: relative; display: inline-block; }
.menu-main .w .pill { position: absolute; left: calc(100% - .5em); top: .04em; font-size: .27em; letter-spacing: 0; box-shadow: var(--pill-shadow); }
.menu-main a.has-pill small { margin-left: 4.2em; }
.menu-main a:hover, .menu-main a[aria-current="page"] { font-weight: 800; }
.menu-side li { border-bottom: 1.5px solid var(--fg); padding: 26px 0; }
.menu-side a { text-decoration: none; display: block; }
.menu-side b { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; display: block; }
.menu-side span { font-size: 15px; display: block; margin-top: 6px; max-width: 20em; }
.menu-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; font-weight: 700; font-size: 15px; }
.theme { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-size: 17px; padding: 0; }
.theme i { width: 30px; height: 30px; border: 2px solid var(--fg); border-radius: 50%; background: linear-gradient(90deg, transparent 50%, var(--fg) 50%); }

/* 히어로 */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-copy { position: absolute; z-index: 2; left: var(--gut); top: clamp(128px, 18vh, 170px); }
.hero-copy h1 { font-size: clamp(25px, 2.35vw, 34px); font-weight: 800; line-height: 1.24; letter-spacing: -.03em; }
.hero-copy .pill { margin-top: 14px; font-size: 16px; }
.hero-typed { position: fixed; z-index: 90; top: 36px; right: calc(var(--gut) + 56px + 34px); font-size: clamp(15px, 1.35vw, 19px); font-weight: 500; white-space: nowrap; }
.hero-typed::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--fg); margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-art { position: absolute; left: 21vw; right: calc(var(--gut) + 78px); top: 17vh; bottom: 17vh; display: grid; place-items: center; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .ln { fill: none; stroke: var(--fg); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1.08; stroke-dashoffset: 1.08; animation: line 1.1s cubic-bezier(.6, 0, .2, 1) .1s forwards; }
.hero-art .cmd { stroke-width: .275; }
.hero-art .b { stroke-linejoin: miter; animation: line 1.1s cubic-bezier(.6, 0, .2, 1) .3s forwards, bold 4.4s cubic-bezier(.3, 0, .2, 1) 1.5s infinite; }
@keyframes line { to { stroke-dashoffset: 0; } }
@keyframes bold { 0% { stroke-width: 1.1; } 5%, 58% { stroke-width: 10; } 63%, 100% { stroke-width: 1.1; } }
html.bold .hero-art .b { animation: none; stroke-dashoffset: 0; stroke-width: 10; }
.hero-hint { position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.hero-hint kbd { font: inherit; font-weight: 800; color: var(--fg); border: 1.5px solid var(--fg); padding: 2px 7px; margin: 0 2px; }
.giant b { font-weight: 800; }
.giant, .page-hero h1, .terms li, .facts dd, .row .price, .lines strong, .lines h3, .checklist b, .faq summary, .hero-copy h1 { transition: font-weight .3s; }
html.bold .giant, html.bold .page-hero h1, html.bold .terms li, html.bold .facts dd, html.bold .row .price, html.bold .lines strong, html.bold .lines h3, html.bold .checklist b, html.bold .faq summary { font-weight: 800; }
.hero-word { position: relative; font-weight: 300; font-size: clamp(56px, 11.5vw, 200px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; transition: opacity .35s, transform .35s; }
.hero-word.out { opacity: 0; transform: translateY(.12em); }
.hero-foot { position: absolute; z-index: 2; left: var(--gut); bottom: 34px; font-weight: 700; font-size: 15px; }
.hero-foot ul { display: flex; flex-wrap: wrap; gap: 6px 0; }
.hero-foot li + li::before { content: "|"; color: var(--hair); margin: 0 14px; font-weight: 300; }
.hero-foot a { text-decoration: none; }
.hero-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-foot p { margin-top: 10px; font-size: 13.5px; }
.hero-next { position: absolute; z-index: 2; right: var(--gut); bottom: 34px; display: flex; align-items: flex-end; gap: 12px; font-weight: 700; font-size: 13px; }
.hero-next a { width: 56px; height: 56px; border: 2px solid var(--fg); background: var(--bg); display: grid; place-items: center; }
.hero-next a::before { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: translateY(-3px) rotate(45deg); }
.hero-next a:hover { background: var(--fg); }
.hero-next a:hover::before { border-color: var(--bg); }

/* 섹션 */
.sec { padding: var(--sec) 0; border-top: 2px solid var(--fg); }
.sec.inv { background: var(--fg); color: var(--bg); border-top-color: var(--fg); }
.sec.inv { --hair: rgba(255, 255, 255, .28); --muted: #A8A8A8; }
html[data-theme="dark"] .sec.inv { --hair: rgba(0, 0, 0, .2); --muted: #5a5a5a; }
.sec.inv .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.sec.inv .btn:hover { background: var(--fg); color: var(--bg); }
.sec.inv .btn.line { background: transparent; color: var(--bg); }
.sec.inv .btn.line:hover { background: var(--bg); color: var(--fg); }
.grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px var(--gut); align-items: start; }
.label { position: sticky; top: 120px; }
.label h2 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.label p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 16em; }
.giant { font-weight: 300; font-size: clamp(38px, 6.6vw, 104px); letter-spacing: -.045em; line-height: 1.14; }
.lede { margin-top: clamp(28px, 3.4vw, 48px); font-size: clamp(17px, 1.5vw, 21px); max-width: 34em; }
.note { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* 숫자 3개 */
.facts { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--fg); }
.facts div { padding: 22px 20px 0 0; }
.facts dt { font-size: 15px; font-weight: 700; }
.facts dd { font-weight: 300; font-size: clamp(34px, 5vw, 76px); letter-spacing: -.045em; line-height: 1.15; margin-top: 4px; }
.facts dd small { font-size: .3em; font-weight: 700; letter-spacing: -.01em; margin-left: .3em; }

/* 수식 */
.terms li { font-weight: 300; font-size: clamp(44px, 8vw, 124px); letter-spacing: -.05em; line-height: 1.1; display: flex; align-items: center; gap: .22em; flex-wrap: wrap; }
.terms .cut { color: var(--muted); }
.terms .cut s { text-decoration-color: var(--acc-ink); text-decoration-thickness: .045em; }
.terms .cut em { font-style: normal; font-size: clamp(14px, 1.25vw, 18px); font-weight: 700; letter-spacing: -.01em; color: var(--acc-ink); line-height: 1.4; max-width: 13em; }
.formula { margin-top: clamp(48px, 6vw, 88px); border-top: 1.5px solid var(--fg); }
.formula > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.formula dt { font-weight: 700; font-size: 16px; }
.formula .eq { font-size: clamp(19px, 2.1vw, 30px); font-weight: 300; letter-spacing: -.02em; }
.formula .eq s { color: var(--muted); text-decoration-color: var(--acc-ink); }
.formula .eq b { font-weight: 800; }
.formula .sum { font-size: clamp(24px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.formula + .note { margin-top: 18px; max-width: 48em; }

/* 상품 행 */
.rows { border-top: 1.5px solid var(--fg); }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.9fr) auto; gap: 16px 32px; align-items: center; padding: 34px 20px; margin: 0 -20px; border-bottom: 1px solid var(--hair); transition: background .18s, color .18s; }
.row:hover { background: var(--fg); color: var(--bg); --muted: #999; }
.row h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row .price { font-weight: 300; font-size: clamp(64px, 8.6vw, 136px); letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .price small { font-size: .17em; font-weight: 800; letter-spacing: -.01em; margin-left: .5em; }
.row .scope { font-weight: 700; font-size: 17px; }
.row dl { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 15px; color: var(--muted); }
.row dl div { display: flex; gap: 6px; }
.row dd { font-weight: 700; color: inherit; }
.rows-foot { margin-top: 22px; display: flex; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; align-items: baseline; }

/* 문장 목록 */
.lines { border-top: 1.5px solid var(--fg); }
.lines > li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px 48px; padding: 30px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.lines strong, .lines h3 { font-weight: 300; font-size: clamp(24px, 2.9vw, 42px); letter-spacing: -.04em; line-height: 1.3; }
.lines p, .lines > li > span { color: var(--muted); font-size: 16.5px; }
.lines.steps > li { grid-template-columns: clamp(64px, 9vw, 150px) minmax(0, 1fr) minmax(0, 1.2fr); }
.lines > li > .n { color: var(--fg); }
.lines .n { font-weight: 300; font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.lines .tag { display: block; font-size: 14px; font-weight: 700; color: var(--acc-ink); margin-bottom: 4px; }
.lines ul { margin-top: 8px; }
.lines ul li { position: relative; padding-left: 16px; font-size: 16px; color: var(--fg); }
.lines ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 1.5px; background: var(--fg); }
.after { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }

/* 포트폴리오 자리 */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.work { background: var(--tile); aspect-ratio: 16 / 10; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.work b { font-size: clamp(30px, 3.6vw, 54px); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.work span { font-weight: 700; font-size: 15px; }
.works + p { margin-top: 22px; max-width: 40em; color: var(--muted); }

/* 체크리스트 */
.check-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px var(--gut); align-items: start; }
.checklist { border-top: 1.5px solid currentColor; }
.checklist label { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hair); cursor: pointer; align-items: center; }
.checklist input { appearance: none; width: 30px; height: 30px; margin: 0; border: 2px solid currentColor; background: transparent; cursor: pointer; display: grid; place-content: center; }
.checklist input:checked { background: var(--acc); border-color: var(--acc); }
.checklist input:checked::after { content: ""; width: 13px; height: 7px; border-left: 2.5px solid var(--on-acc); border-bottom: 2.5px solid var(--on-acc); transform: rotate(-45deg) translateY(-2px); }
.checklist b { display: block; font-weight: 300; font-size: clamp(24px, 2.9vw, 42px); letter-spacing: -.04em; line-height: 1.25; }
.checklist span span { color: var(--muted); font-size: 15px; }
.check-side { position: sticky; top: 120px; }
.check-count { font-weight: 700; font-size: 15px; }
.check-count b { display: block; font-weight: 300; font-size: clamp(64px, 8.6vw, 136px); letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.check-msg { margin: 18px 0 26px; min-height: 3.4em; max-width: 22em; }

/* 3단 */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gut); border-top: 1.5px solid var(--fg); }
.cols3 li { padding-top: 24px; }
.cols3 h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1.35; }
.cols3 p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { border-top: 1.5px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-weight: 300; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -.035em; line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 2px; background: var(--fg); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details[open] summary { font-weight: 800; }
.faq .answer { padding: 0 56px 30px 0; color: var(--muted); max-width: 44em; }
.faq .answer p + p { margin-top: 10px; }

/* 문의 폼 */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px var(--gut); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .legend { font-size: 14.5px; font-weight: 800; }
.field .opt { font-weight: 500; color: var(--muted); margin-left: 6px; }
.field .req { color: var(--err); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 0; background: transparent; border: 0; border-bottom: 2px solid var(--fg); border-radius: 0; font-size: 19px; font-weight: 300; letter-spacing: -.02em; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-size: 7px 7px; background-position: right 12px center, right 5px center; background-repeat: no-repeat; }
html[data-theme="dark"] .field select option { color: #000; }
html[data-theme="dark"] .field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--acc-ink); box-shadow: 0 2px 0 var(--acc-ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--fg); font-size: 15.5px; font-weight: 700; }
.choices input:checked + span { background: var(--fg); color: var(--bg); }
.choices input:focus-visible + span { outline: 2px solid var(--acc-ink); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; font-size: 14.5px; color: var(--muted); align-items: start; flex-direction: unset; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--fg); }
.consent b { color: var(--fg); }
.form-actions { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-error, .field .err, .consent .err { color: var(--err); font-size: 14.5px; font-weight: 700; }
.consent .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; }
.form-done { border-top: 1.5px solid var(--fg); padding-top: 28px; }
.form-done h3 { font-weight: 300; font-size: clamp(34px, 5vw, 76px); letter-spacing: -.045em; line-height: 1.15; }
.form-done p { margin-top: 16px; color: var(--muted); max-width: 34em; }
.form-done .btn-row { margin-top: 28px; }
.form-done .preview-flag { margin-top: 22px; font-size: 14px; border: 1.5px dashed var(--fg); padding: 12px 14px; color: var(--fg); }
.after-list { margin-top: 26px; border-top: 1.5px solid var(--fg); font-size: 15px; }
.after-list li { padding: 14px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 2px; }
.after-list b { font-weight: 800; }
.after-list span { color: var(--muted); }

/* 서브 페이지 머리 */
.page-hero { padding: clamp(150px, 22vh, 230px) 0 clamp(56px, 7vw, 100px); }
.page-hero h1 { font-weight: 300; font-size: clamp(54px, 11vw, 176px); letter-spacing: -.055em; line-height: 1.04; }
.page-hero p { margin-top: clamp(22px, 2.6vw, 36px); font-size: clamp(17px, 1.5vw, 21px); max-width: 32em; }

/* 표 */
.table-wrap { overflow-x: auto; border-top: 1.5px solid var(--fg); }
table { border-collapse: collapse; width: 100%; font-size: 16.5px; }
th, td { text-align: left; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
thead th { font-weight: 800; font-size: 15px; white-space: nowrap; border-bottom: 1.5px solid var(--fg); }
tbody th { font-weight: 800; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 800; padding-right: 0; }
.compare { table-layout: fixed; min-width: 640px; }
.compare th:first-child { width: 19%; }
.compare .big td { font-weight: 300; font-size: clamp(30px, 3.6vw, 54px); letter-spacing: -.05em; line-height: 1.1; }
.compare .big td small { font-size: .32em; font-weight: 800; letter-spacing: 0; margin-left: .3em; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); border-top: 1.5px solid var(--fg); }
.two-col > div { padding-top: 22px; }
.two-col h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.two-col li { font-weight: 300; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -.035em; line-height: 1.4; }
.two-col .no li { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--acc-ink); text-decoration-thickness: 2px; }

/* 빠른 견적 */
.calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--fg); }
.calc-form { padding: clamp(22px, 3vw, 40px); display: grid; gap: 28px; align-content: start; }
.calc-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-form legend { font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 6px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.opt-row:first-of-type { border-top: 1.5px solid var(--fg); }
.opt-row label { display: flex; align-items: center; gap: 14px; cursor: pointer; flex: 1; min-width: 0; font-weight: 700; }
.opt-row > span:first-child { font-weight: 700; }
.opt-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--fg); flex: none; }
.opt-row .p { font-size: 14.5px; color: var(--muted); white-space: nowrap; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--fg); flex: none; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 20px; cursor: pointer; line-height: 1; }
.stepper button:disabled { opacity: .25; cursor: default; }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-result { background: var(--fg); color: var(--bg); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; --hair: rgba(255, 255, 255, .28); --muted: #A8A8A8; }
html[data-theme="dark"] .calc-result { --hair: rgba(0, 0, 0, .2); --muted: #5a5a5a; }
.calc-result h3 { font-size: 15px; font-weight: 800; }
.calc-total { font-weight: 300; font-size: clamp(64px, 8vw, 124px); letter-spacing: -.06em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total small { font-size: .17em; font-weight: 800; letter-spacing: -.01em; margin-left: .5em; }
.calc-lines { margin: 22px 0 0; border-top: 1px solid var(--hair); font-size: 15px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.calc-lines dt { color: var(--muted); }
.calc-lines dd { font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-result .btn { margin-top: 28px; background: var(--bg); color: var(--fg); border-color: var(--bg); }
.calc-result .btn:hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.calc-result .note { margin-top: 14px; }
.block + .block { margin-top: clamp(64px, 8vw, 120px); }

/* 받기 줄 */
.download { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 2px solid var(--fg); padding: 26px 30px; }
.download b { font-size: 20px; font-weight: 800; display: block; letter-spacing: -.02em; }
.download span { color: var(--muted); font-size: 15.5px; }

/* 푸터 */
.site-footer { background: var(--fg); color: var(--bg); padding: clamp(64px, 8vw, 120px) 0 44px; --muted: #A8A8A8; }
html[data-theme="dark"] .site-footer { --muted: #5a5a5a; }
.foot-word b { font-weight: 800; }
.foot-word { display: block; font-weight: 200; font-size: clamp(48px, 14.6vw, 236px); letter-spacing: -.06em; line-height: .95; text-decoration: none; white-space: nowrap; }
.foot-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 28px var(--gut); font-size: 14.5px; border-top: 1px solid var(--muted); padding-top: 26px; }
.foot-grid ul a { text-decoration: none; font-weight: 700; line-height: 2; }
.foot-grid ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.biz { color: var(--muted); line-height: 1.8; }
.biz .tbd { border-bottom: 1px dashed var(--acc-ink); color: var(--bg); }
.copyright { color: var(--muted); }
.m-cta { display: none; }

/* 반응형 */
@media (max-width: 1000px) {
  .grid, .check-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .label, .check-side { position: static; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row h3 { grid-column: 1 / -1; }
  .row > div:nth-of-type(1) { grid-column: 1 / -1; order: 3; }
  .formula > div { grid-template-columns: minmax(0, 1fr) auto; }
  .formula dt { grid-column: 1 / -1; }
  .menu { grid-template-columns: minmax(0, 1fr); padding: 110px var(--gut) 110px; align-items: start; align-content: start; gap: 28px; }
  .lines.steps > li { grid-template-columns: clamp(52px, 9vw, 90px) minmax(0, 1fr); }
  .lines.steps > li > p, .lines.steps > li > div:last-child { grid-column: 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 56px; }
  .wrap { padding: 0 var(--gut); }
  body::before { height: 72px; border-bottom: 1px solid var(--hair); }
  .f-logo { top: 19px; width: 64px; height: 34px; }
  .f-title { top: 26px; font-size: 14.5px; }
  .menu-btn { top: 14px; width: 44px; height: 44px; }
  [id], .form-done { scroll-margin-top: 88px; }
  .side-tab { display: none; }
  .m-cta { display: flex; position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; height: 56px; background: var(--fg); color: var(--bg); align-items: center; justify-content: center; font-weight: 800; text-decoration: none; border-top: 1px solid var(--bg); }
  .no-cta .m-cta { display: none; }
  .no-cta { padding-bottom: 0; }
  .hero { min-height: calc(100svh - 56px); display: flex; flex-direction: column; padding: 88px var(--gut) 20px; }
  .hero-typed, .hero-hint { display: none; }
  .hero-copy, .hero-art, .hero-foot { position: relative; inset: auto; left: auto; top: auto; right: auto; bottom: auto; }
  .hero-copy h1 { font-size: 26px; }
  .hero-art { flex: 1; min-height: 240px; margin: 28px 0 24px; }
  .hero-word { font-size: clamp(52px, 17vw, 84px); }
  .hero-next { display: none; }
  .hero-foot li + li::before { margin: 0 9px; }
  .hero-foot { font-size: 14px; }
  .facts { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .facts div { border-top: 1.5px solid var(--fg); padding: 16px 0 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .facts dd { margin: 0; font-size: 40px; }
  .terms .cut em { flex-basis: 100%; margin: -4px 0 8px; }
  .row { padding: 26px 0; margin: 0; }
  .row:hover { background: none; color: inherit; --muted: #6A6A6A; }
  .lines > li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .works, .cols3, .form-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .cols3 li { padding: 22px 0; border-bottom: 1px solid var(--hair); }
  .cols3 { border-bottom: 0; }
  .two-col > div + div { margin-top: 28px; border-top: 1.5px solid var(--fg); }
  .menu-main a.has-pill small { margin-left: 3.6em; }
  .menu-side li { padding: 18px 0; }
  .menu-foot { position: static; margin-top: 8px; padding-bottom: 20px; }
  .menu-foot > span { display: none; }
  th, td { padding: 14px 14px 14px 0; font-size: 15px; }
  .download { padding: 22px; }
  .download .btn, .form-actions .btn { width: 100%; }
  .opt-row { flex-wrap: wrap; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding-right: 44px; }
  .faq .answer { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art .ln { animation: none; stroke-dashoffset: 0; }
  .hero-typed::after { animation: none; }
  * { transition: none !important; }
}
.giant, .lines strong, .lines h3, .hero-copy h1, .faq summary, .page-hero h1 { text-wrap: balance; }

/* ===== v2: 플러스엑스 디자이너 리뷰 반영 ===== */
/* 1. 굵기가 주인공. 화면 가운데에 온 줄이 굵어진다 */
.giant b { font-weight: 300; }
.giant[data-b], .giant b, .eqn .do, .facts dd, .row .price, .lines strong, .lines h3, .lines .n { transition: font-weight .2s; }
.giant.on, .giant b.on, .eqn .do.on, .facts dd.on, .row .price.on, .lines strong.on, .lines h3.on, .lines .n.on { font-weight: 800; }
html.bold .giant b, html.bold .eqn .do, html.bold .lines .n, html.bold .page-glyph { font-weight: 800; }
.checklist input:checked + span b { font-weight: 800; }
/* 반응은 전부 "굵어진다" 한 가지 */
.row { margin: 0; padding: 34px 0; }
.row:hover { background: none; color: inherit; --muted: inherit; }
.row:hover .price, .row:hover h3 { font-weight: 800; }

/* 2. 굵게 버튼: 키보드 없이도 개념을 누를 수 있다 */
.b-toggle { position: fixed; z-index: 105; right: var(--gut); bottom: 34px; width: 56px; height: 56px; padding: 0; display: grid; place-items: center; border: 2px solid var(--fg); background: var(--bg); color: var(--fg); font-size: 25px; font-weight: 300; line-height: 1; cursor: pointer; transition: font-weight .25s, background .2s, color .2s; }
.b-toggle[aria-pressed="true"] { font-weight: 800; background: var(--fg); color: var(--bg); }
.hero-hint { left: auto; right: calc(var(--gut) + 56px + 18px); transform: none; bottom: 51px; }
.hero-art .hit { cursor: pointer; }

/* 3. 빨강은 메뉴 배지, 첫 화면 가격, "하지 않는 일"에만 */
.cnt { font-weight: 300; font-size: 1.2em; letter-spacing: -.03em; line-height: 1; }
.tag { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 800; letter-spacing: 0; border: 1.5px solid currentColor; padding: 3px 8px; line-height: 1.2; }

/* 4. 글자 크기 3단: 초대형(선언, 가격, 페이지 제목), 중형(목록 제목), 본문 */
.giant { font-size: clamp(40px, 7.2vw, 116px); }
.lines strong, .lines h3, .checklist b { font-size: clamp(21px, 2.1vw, 31px); letter-spacing: -.035em; line-height: 1.35; }
.lines .n { font-size: clamp(30px, 3.4vw, 50px); }
.faq summary { font-size: clamp(19px, 1.8vw, 26px); padding: 22px 56px 22px 0; }

/* 5. 수식 한 줄 */
.eqn { font-weight: 300; font-size: clamp(32px, 6.1vw, 98px); letter-spacing: -.05em; line-height: 1.16; }
.eqn i { font-style: normal; font-weight: 200; color: var(--muted); }
.eqn.cut { color: var(--muted); font-size: clamp(22px, 3.3vw, 52px); margin-top: .45em; display: flex; flex-wrap: wrap; align-items: center; gap: .1em .28em; }
.eqn.cut s { text-decoration-color: var(--acc-ink); text-decoration-thickness: .06em; }
.eqn.cut i { color: var(--acc-ink); font-weight: 300; }
.eqn.cut em { font-style: normal; font-size: clamp(14px, 1.2vw, 17px); font-weight: 700; letter-spacing: -.01em; color: var(--acc-ink); margin-left: .9em; }

/* 6. 안쪽 정렬선은 9칸 격자의 4번째와 6번째 두 개만 */
.rows .row, .lines > li, .formula > div { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: 24px; }
.row h3 { grid-column: span 2; }
.row .price { grid-column: span 3; }
.row > div { grid-column: span 3; }
.row .bk { grid-column: span 1; justify-self: end; }
.lines > li > :first-child { grid-column: span 5; }
.lines > li > :last-child { grid-column: span 4; }
.lines.steps > li > .n { grid-column: span 1; }
.lines.steps > li > :nth-child(2) { grid-column: span 4; }
.lines.steps > li > :last-child { grid-column: span 4; }
.formula dt { grid-column: span 3; }
.formula .eq { grid-column: span 3; }
.formula .sum { grid-column: span 3; }
.facts, .cols3 { column-gap: 24px; }

/* 7. 상단 바: 스크롤하면 선이 생겨서 글자가 잘려 보이지 않는다 */
body.scrolled::before { border-bottom: 1.5px solid var(--fg); }

/* 8. 서브 페이지 첫 화면: 얇은 기호 + 굵은 제목 (로고와 같은 문법) */
.page-hero { position: relative; overflow: hidden; min-height: min(82vh, 780px); display: flex; align-items: flex-end; padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { font-size: clamp(54px, 12vw, 196px); letter-spacing: -.06em; line-height: 1.02; margin-left: -.035em; font-weight: 800; animation: embolden .4s .15s both cubic-bezier(.3, 0, .2, 1); }
@keyframes embolden { from { font-weight: 200; } to { font-weight: 800; } }
.page-glyph { position: absolute; right: max(var(--gut), 84px); top: 92px; font-size: clamp(190px, 34vw, 540px); font-weight: 100; line-height: .9; letter-spacing: -.04em; transition: font-weight .5s; pointer-events: none; }

@media (max-width: 1000px) {
  .rows .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row h3 { grid-column: 1 / -1; }
  .row .price { grid-column: auto; }
  .row > div { grid-column: 1 / -1; order: 3; }
  .row .bk { grid-column: auto; }
  .lines > li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .lines > li > :first-child, .lines > li > :last-child { grid-column: auto; }
  .lines.steps > li { grid-template-columns: 64px minmax(0, 1fr); }
  .lines.steps > li > .n, .lines.steps > li > :nth-child(2) { grid-column: auto; }
  .lines.steps > li > :last-child { grid-column: 2; }
  .formula > div { grid-template-columns: minmax(0, 1fr) auto; }
  .formula dt { grid-column: 1 / -1; }
  .formula .eq, .formula .sum { grid-column: auto; }
}
@media (max-width: 720px) {
  .row { padding: 26px 0; }
  .b-toggle { top: 14px; bottom: auto; right: calc(var(--gut) + 44px + 8px); width: 44px; height: 44px; font-size: 21px; }
  .page-hero { min-height: 0; display: block; padding: 120px 0 44px; }
  .page-glyph { position: static; display: block; text-align: right; padding-right: var(--gut); font-size: 58vw; line-height: .8; margin-bottom: 8px; }
  .eqn.cut em { flex-basis: 100%; margin: 6px 0 0; }
  .formula > div { grid-template-columns: minmax(0, 1fr); }
  .formula .sum { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero h1 { animation: none; }
}
.formula .eq { font-size: clamp(17px, 1.55vw, 23px); }
.formula .sum { font-size: clamp(22px, 2.5vw, 36px); }
@media (min-width: 1001px) {
  .lines.steps > li { grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: baseline; }
}
@media (max-width: 720px) { .f-title { display: none; } }

/* ===== 색 시안 (미리보기: 주소 뒤에 ?palette=mono | cobalt | stone, 원래대로는 ?palette=red) ===== */
::selection { background: var(--acc); color: var(--on-acc); }
html[data-palette] { --pill-shadow: none; --err: #C4321F; }

/* A. Mono: 색을 쓰지 않는다. 강조는 굵기와 채움으로만 */
html[data-palette="mono"] { --acc: var(--fg); --on-acc: var(--bg); --acc-ink: var(--fg); }
html[data-palette="mono"] .sec.inv, html[data-palette="mono"] .calc-result, html[data-palette="mono"] .site-footer { --acc: var(--bg); --on-acc: var(--fg); --acc-ink: var(--bg); }
html[data-palette="mono"] .pill, html[data-palette="mono"] .menu-main .w .pill { background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }

/* B. Cobalt: 글자를 선택했을 때의 파랑. 선택하고, 굵게 */
html[data-palette="cobalt"] { --acc: #1F3FFF; --on-acc: #fff; --acc-ink: #1F3FFF; --tile: #EFF1F6; }
html[data-palette="cobalt"] .sec.inv, html[data-palette="cobalt"] .calc-result, html[data-palette="cobalt"] .site-footer { --acc: #4A66FF; --acc-ink: #8FA0FF; }
html[data-theme="dark"][data-palette="cobalt"] { --acc: #4A66FF; --acc-ink: #8FA0FF; --tile: #12141C; }
html[data-theme="dark"][data-palette="cobalt"] .sec.inv, html[data-theme="dark"][data-palette="cobalt"] .calc-result, html[data-theme="dark"][data-palette="cobalt"] .site-footer { --acc: #1F3FFF; --acc-ink: #1F3FFF; }

/* C. Stone: 따뜻한 종이색 바탕에 돌색. 웨딩, 주얼리 업종의 온도 */
html[data-palette="stone"] { --bg: #FAF8F4; --fg: #16130F; --tile: #EFEBE4; --muted: #746C62; --hair: rgba(22, 19, 15, .16); --acc: #DDD5C8; --on-acc: #16130F; --acc-ink: #7A6F62; }
html[data-palette="stone"] .sec.inv, html[data-palette="stone"] .calc-result, html[data-palette="stone"] .site-footer { --acc: #DDD5C8; --on-acc: #16130F; --acc-ink: #B9AE9F; }
html[data-theme="dark"][data-palette="stone"] { --bg: #16130F; --fg: #F4F0E9; --tile: #211D18; --muted: #A79E92; --hair: rgba(244, 240, 233, .22); --acc: #4A433B; --on-acc: #F4F0E9; --acc-ink: #B9AE9F; }
html[data-theme="dark"][data-palette="stone"] .sec.inv, html[data-theme="dark"][data-palette="stone"] .calc-result, html[data-theme="dark"][data-palette="stone"] .site-footer { --acc: #4A433B; --on-acc: #F4F0E9; --acc-ink: #7A6F62; }

/* 기본색 코발트: 검은 면 위에서는 밝은 코발트 */
.sec.inv, .calc-result, .site-footer { --acc: #4A66FF; --acc-ink: #8FA0FF; }
html[data-theme="dark"] .sec.inv, html[data-theme="dark"] .calc-result, html[data-theme="dark"] .site-footer { --acc: #1F3FFF; --acc-ink: #1F3FFF; }
/* 이전 빨강 (비교용: ?palette=red) */
html[data-palette="red"] { --acc: #E5352B; --acc-ink: #E5352B; --err: #E5352B; --tile: #F2F3F3; }
html[data-palette="red"] .sec.inv, html[data-palette="red"] .calc-result, html[data-palette="red"] .site-footer { --acc: #E5352B; --acc-ink: #E5352B; }

/* ===== 첫 화면 문구 2안: 마지막 줄을 코발트로 선택한 것처럼 ===== */
.hero-copy h1 { font-size: clamp(27px, 2.8vw, 40px); font-weight: 400; letter-spacing: -.04em; line-height: 1.36; }
.hero-copy mark { position: relative; background: var(--acc); color: var(--on-acc); font-weight: 800; padding: .04em .16em .08em; margin-left: -.16em; }
.hero-copy mark::before, .hero-copy mark::after { content: ""; position: absolute; width: 2px; background: var(--acc); }
.hero-copy mark::before { left: -2px; top: -.2em; bottom: 0; }
.hero-copy mark::after { right: -2px; top: 0; bottom: -.2em; }
.hero-price { margin-top: 22px; font-size: 16px; font-weight: 600; color: var(--muted); }
@media (min-width: 721px) {
  .hero-art { left: 34vw; top: 30vh; bottom: 13vh; }
}
@media (max-width: 720px) {
  .hero-copy h1 { font-size: 24px; line-height: 1.4; }
  .hero-price { margin-top: 16px; font-size: 15px; }
}

/* ===== 모바일 최적화 v2 (2026-11-21): 글자 크기, 간격, 누르는 영역, 가격표, 홈 바 여백 ===== */
.m-only { display: none; }
@media (max-width: 720px) {
  :root { --sec: 64px; }
  .m-only { display: block; }
  .d-only { display: none; }
  /* 첫 화면: 문구를 키우고 빈 공간을 줄인다 */
  .hero { padding-top: 96px; }
  .hero-copy h1 { font-size: clamp(28px, 8.4vw, 36px); line-height: 1.3; }
  .hero-price { margin-top: 18px; font-size: 16px; }
  .hero-art { min-height: 200px; margin: 20px 0 16px; }
  .hero-foot { font-size: 15px; }
  .hero-foot p { font-size: 13px; }
  /* 누르는 영역을 44px 가까이로 넓힌다 (모양은 그대로) */
  .hero-foot a, .site-footer a, .bk { position: relative; }
  .hero-foot a::after, .site-footer a::after, .bk::after { content: ""; position: absolute; left: -8px; right: -8px; top: -13px; bottom: -13px; }
  .hero-foot ul { gap: 14px 0; }
  .site-footer nav ul, .site-footer ul { row-gap: 18px; }
  /* 작은 단위 글자는 12px 아래로 내려가지 않게 */
  .row .price small, .facts dd small, .compare .big td small, .calc-total small { font-size: max(.17em, 12.5px); }
  .facts dd small { font-size: max(.3em, 13px); }
  /* 표는 좁은 화면에서 글자를 줄이고 줄바꿈을 허용 */
  .table-wrap table { width: 100%; }
  .table-wrap th, .table-wrap td { font-size: 14.5px; padding: 13px 10px 13px 0; word-break: keep-all; }
  .table-wrap td.num, .table-wrap th.num { white-space: nowrap; padding-right: 0; }
  /* 아래 고정 버튼: 홈 바 영역만큼 띄운다 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .m-cta { height: calc(56px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .no-cta { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .menu { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .f-logo, .menu-btn, .b-toggle { margin-top: env(safe-area-inset-top, 0px); }
}

/* 첫 화면 하단: 바로가기는 얇게, VAT 안내는 옅은 회색 (2026-11-21) */
.hero-foot { font-weight: 300; }
.hero-foot a { font-weight: 300; }
.hero-foot p { font-weight: 400; color: color-mix(in srgb, var(--fg) 46%, var(--bg)); }

/* ===== 제안 시안 사례 (2026-11-21) ===== */
.cases { display: grid; gap: 40px; }
.case { display: block; text-decoration: none; }
.case figure { margin: 0; aspect-ratio: 1440 / 768; overflow: hidden; background: var(--tile); border: 1px solid var(--hair); }
.case img, .case-full img { display: block; width: 100%; height: auto; }
.case-tx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; padding-top: 20px; }
.case-tx h3 { font-size: clamp(26px, 3vw, 44px); font-weight: 300; letter-spacing: -.045em; line-height: 1.15; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; transition: font-weight .2s; }
.case:hover h3 { font-weight: 800; }
.case-tx p { grid-column: 1; color: var(--muted); font-size: 16px; }
.case-tx .bk { grid-column: 2; grid-row: 1 / 3; align-self: end; }
.case-note { margin-top: 22px; max-width: 44em; }
.case-full { margin: 0; border: 1px solid var(--hair); }
@media (max-width: 720px) {
  .case-tx { grid-template-columns: minmax(0, 1fr); }
  .case-tx .bk { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}

/* ===== 스크롤 연동 굵기 (2026-11-22): 굵기는 스크립트가 프레임마다 정한다. 여기서 한 번 더 늦추지 않는다 ===== */
html.bscroll:not(.bold) .giant[data-b], html.bscroll:not(.bold) .giant b, html.bscroll:not(.bold) .eqn .do, html.bscroll:not(.bold) .facts dd, html.bscroll:not(.bold) .row .price, html.bscroll:not(.bold) .lines strong, html.bscroll:not(.bold) .lines h3, html.bscroll:not(.bold) .lines .n { transition: none; }

/* 메인 화면 레퍼런스: 두 칸 */
.cases.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(16px, 2.4vw, 36px); align-items: start; }
.cases.two .case-tx { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
.cases.two .case-tx h3 { font-size: clamp(24px, 2.5vw, 36px); }
.cases.two .case-tx .bk { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
.cases.two .case figure { transition: opacity .2s; }
.cases.two .case:hover figure { opacity: .86; }
@media (max-width: 720px) { .cases.two { grid-template-columns: minmax(0, 1fr); } }

/* ===== 강조색 확대 (2026-11-22). 규칙: 누르는 것과 선택된 것은 코발트. 글과 선은 검정 그대로 ===== */
:root { --block: #1F3FFF; }
/* 1. 누르는 것: 주 버튼, 모바일 하단 버튼. 옆 탭은 검정 그대로 (올리면 코발트) */
.btn:not(.line) { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.btn:not(.line):hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.bk:hover { color: var(--acc-ink); }
.calc-result .btn { background: var(--acc); border-color: var(--acc); color: #fff; }
.calc-result .btn:hover { background: #fff; border-color: #fff; color: #000; }
/* 2. 선택된 것: 고른 상품, 체크한 옵션, 화면 가운데에 온 숫자 */
.choices input:checked + span { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.opt-row input[type="checkbox"], .consent input[type="checkbox"] { accent-color: var(--acc); }
.sec:not(.inv) .facts dd, .sec:not(.inv) .row .price, .sec:not(.inv) .lines .n { color: color-mix(in srgb, var(--acc-ink) calc(var(--bw, 0) * 100%), var(--fg)); }
/* 3. 작은 표시: 개수와 꼬리표 */
.label .cnt, .tag { color: var(--acc-ink); }
/* 4. 페이지를 닫는 구역은 코발트 면 한 장. 체크리스트 구역과 푸터는 검정 */
.sec.inv:not(#checklist) { background: var(--block); border-top-color: var(--block); color: #fff; --muted: rgba(255, 255, 255, .8); --hair: rgba(255, 255, 255, .34); }
.sec.inv:not(#checklist) .btn { background: #fff; border-color: #fff; color: var(--block); }
.sec.inv:not(#checklist) .btn:hover { background: #000; border-color: #000; color: #fff; }
.sec.inv:not(#checklist) .btn.line { background: transparent; border-color: #fff; color: #fff; }
.sec.inv:not(#checklist) .btn.line:hover { background: #fff; color: var(--block); }
.sec.inv:not(#checklist) :focus-visible { outline-color: #fff; }
.sec.inv:not(#checklist) ::selection { background: #fff; color: var(--block); }
@media (max-width: 720px) {
  .m-cta { background: var(--acc); color: var(--on-acc); border-top-color: var(--acc); }
}

/* 문의 완료 화면: 메일로 보낼 내용 */
.form-done .mail-copy { display: block; width: 100%; max-width: 40em; margin-top: 18px; padding: 14px 16px; border: 1.5px solid var(--fg); border-radius: 0; background: var(--tile); color: var(--fg); font: inherit; font-size: 15px; line-height: 1.6; resize: vertical; }
.form-done a[data-mail-link]:not(.btn) { color: var(--acc-ink); font-weight: 700; }
