@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/pretendard-subset.woff2') format('woff2-variations');
}

:root {
  --paper: #FFFFFF;  --surface: #F4F3F1;  --card: #FFFFFF;
  --ink: #111111;      --muted: #787672;      --rule: #E6E4E0;
  --brand: #111111;  --accent: #D2603A;    --ok: #3C7A5C;

  --radius: 0;  --radius-sm: 0;  --bd: 1px;
  --pad: 26px;        --gap: 10px;              --sec: clamp(54px, 8.4vw, 104px);
  --shadow: none;
  --btn-radius: 0;  --btn-pad: 10px 2px;

  --ui: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --edge: clamp(20px, 5vw, 32px);
  --wrap: 1180px;
  --topH: 62px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topH) + 10px); }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui);
  font-size: 16px; line-height: 1.75; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
}
/* height 를 auto 로 두지 않으면 <img height="1000"> 속성이 CSS 로 먹혀서
   aspect-ratio 를 눌러 버립니다. 사진이 제 비율대로 안 나옵니다. */
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.05em; text-wrap: balance; }
h1 { font-size: clamp(36px, 10vw, 78px); line-height: 1.06; }
h2 { font-size: clamp(22px, 4.2vw, 30px); line-height: 1.3; }
h3 { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.45; letter-spacing: -.02em; }
h4 { font-size: 15.5px; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--edge); }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.lede { font-size: clamp(15.5px, 2vw, 17.5px); color: var(--muted); max-width: 44em; }
.lede b { color: var(--ink); font-weight: 700; }
.small { font-size: 13px; color: var(--muted); line-height: 1.6; }

.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .2em;
  color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 10px; }

header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); border-bottom: var(--bd) solid var(--rule);
}
header.top > .wrap { display: flex; align-items: center; gap: 14px; min-height: 62px; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mk {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--brand); color: var(--paper);
  font-weight: 800; font-size: 14px; letter-spacing: -.02em;
}
.logo > span { display: grid; line-height: 1.2; }
.logo b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.logo i { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; }
nav.menu { display: flex; align-items: center; gap: 2px; margin: 0 auto; flex-wrap: nowrap; }
nav.menu > a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap;
}
nav.menu > a:hover { background: var(--surface); color: var(--ink); }
nav.menu > a[aria-current="page"] { color: var(--brand); background: var(--surface); }
.top-cta { flex: none; margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--ui); font-size: 15px; font-weight: 700; line-height: 1.3;
  padding: var(--btn-pad); border-radius: var(--btn-radius); text-decoration: none;
  border: var(--bd) solid var(--rule); background: var(--card); color: var(--ink);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { border-color: var(--brand); }
.btn.fill { background: var(--brand); border-color: var(--brand); color: var(--paper); }
.btn.fill:hover { opacity: .92; }
.btn.small { font-size: 13.5px; padding: 8px 14px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  border: 0; border-bottom: 2px solid var(--ink); background: transparent;
  border-radius: 0; padding: 8px 2px;
}
.btn:hover { border-bottom-color: var(--accent); color: var(--accent); }
.btn.fill { background: var(--ink); color: var(--paper); padding: 12px 22px; border-bottom: 0; }
.btn.fill:hover { background: var(--accent); color: var(--paper); }

main section { padding-block: var(--sec); }
main section + section { border-top: var(--bd) solid var(--rule); }
section.tint { background: var(--surface); }
main section > .wrap > * + * { margin-top: clamp(24px, 3.6vw, 38px); }
.sec-head { max-width: 44em; }
.sec-head .lede { margin-top: 12px; }
/* 글 묶음 다음에 오는 것(버튼 줄 · 숫자 칸 · 카드)은 늘 띄웁니다.
   덩어리마다 따로 걸면 어디는 붙고 어디는 벌어집니다. */
.sec-head + * { margin-top: clamp(22px, 3.2vw, 32px); }
.center { text-align: center; }
.center .sec-head, .center .lede { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.card {
  background: var(--card); border: var(--bd) solid var(--rule); border-radius: var(--radius);
  padding: var(--pad); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card p b { color: var(--ink); }
.card .k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.card .v { font-size: clamp(21px, 3.4vw, 28px); font-weight: 800; letter-spacing: -.035em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--gap); }
.stats > div { background: var(--card); border: var(--bd) solid var(--rule);
               border-radius: var(--radius); padding: 17px 19px; box-shadow: var(--shadow); }
.stats .v { display: block; font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; letter-spacing: -.04em; }
.stats .k { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }

.rows { display: grid; gap: 0; }
.rows > div {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 15px 2px; border-bottom: var(--bd) solid var(--rule);
}
.rows > div:first-child { border-top: var(--bd) solid var(--rule); }
.rows .n { font-weight: 700; font-size: 15.5px; flex: 1 1 220px; }
.rows .d { color: var(--muted); font-size: 14px; flex: 2 1 280px; }
.rows .p { font-weight: 800; letter-spacing: -.03em; font-size: 16px; margin-left: auto; }

.tablewrap { overflow-x: auto; }
table { width: 100%%; border-collapse: collapse; font-size: 14.5px; min-width: 440px; }
th, td { padding: 12px 14px; border-bottom: var(--bd) solid var(--rule); text-align: left; vertical-align: top; }
thead th { font-size: 12.5px; letter-spacing: .04em; color: var(--muted); background: var(--surface); font-weight: 700; }
td.r, th.r { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 9px; }

ul.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
ul.check li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.65; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 5.5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
ul.check.two { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 9px 22px; }

ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 18px 20px 19px 58px;
  background: var(--card); border: var(--bd) solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
ol.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%%; background: var(--brand); color: var(--paper);
  font-size: 13px; font-weight: 800; display: grid; place-items: center; }
ol.steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

details.qa { border: var(--bd) solid var(--rule); border-radius: var(--radius);
  background: var(--card); padding: 0 18px; margin-bottom: 8px; }
details.qa > summary { cursor: pointer; list-style: none; padding: 15px 26px 15px 0;
  position: relative; font-weight: 700; font-size: 15.5px; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after { content: "+"; position: absolute; right: 2px; top: 12px;
  font-size: 19px; font-weight: 400; color: var(--muted); }
details.qa[open] > summary::after { content: "–"; }
details.qa .body { padding: 0 0 17px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

.note { border: var(--bd) solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface);
  padding: 15px 18px; font-size: 14.5px; line-height: 1.7; }
.note b { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: var(--bd) solid var(--rule); color: var(--muted); }
.chip.on { background: var(--brand); color: var(--paper); border-color: var(--brand); }

.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(238px, 1fr);
  gap: var(--gap); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.hscroll > * { scroll-snap-align: start; }

.gal { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gal figure { margin: 0; }
.gal img { width: 100%%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  border: var(--bd) solid var(--rule); }
.gal figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }

.alt { display: grid; gap: clamp(20px, 3.4vw, 40px); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.alt:nth-of-type(even) > *:first-child { order: 2; }
.alt img { width: 100%%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 780px) { .alt { grid-template-columns: minmax(0, 1fr); }
  .alt:nth-of-type(even) > *:first-child { order: 0; } }

label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 13px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  display: block; width: 100%%; margin-top: 6px; font-family: var(--ui); font-size: 15.5px;
  color: var(--ink); background: var(--card); border: var(--bd) solid var(--rule);
  border-radius: var(--radius-sm); padding: 11px 13px;
}
textarea { resize: vertical; }
form.ask button { margin-top: 18px; }

/* 가운데 정렬. 아주 큰 제목 하나와 얇은 정보 줄 */
.hero { padding-block: clamp(52px, 9vw, 120px) clamp(36px, 6vw, 72px); text-align: center; }
.hero .sec-head, .hero .lede { margin-inline: auto; }
.hero .btns { justify-content: center; }
.hero .line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
.hero .line b { color: var(--ink); font-weight: 700; }
.hero .shot { margin-top: clamp(30px, 5vw, 56px); }
.hero .shot img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ── 견본 고지 띠 ───────────────────────────────────────── */
.demo { background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.6; }
.demo > .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
.demo b { font-weight: 700; }
.demo a { margin-left: auto; color: var(--paper); font-weight: 700; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 999px; padding: 5px 13px; white-space: nowrap; }

/* ── 꼬리말 ─────────────────────────────────────────────── */
footer.bot { border-top: var(--bd) solid var(--rule); background: var(--surface); font-size: 14px; }
footer.bot > .wrap { padding-block: clamp(32px, 5vw, 48px) 28px;
  display: grid; gap: 26px; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 720px) { footer.bot > .wrap { grid-template-columns: 1fr; } }
footer.bot dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 14px 0 0; font-size: 13px; }
footer.bot dt { color: var(--muted); }
footer.bot dd { margin: 0; }
footer.bot .made { font-size: 13px; color: var(--muted); line-height: 1.7; }
footer.bot .made a { color: var(--brand); }

/* ── 휴대폰 ─────────────────────────────────────────────── */
.navtoggle, .navveil, .navmore, .navlogo { display: none; }
@media (max-width: 900px) {
  header.top { backdrop-filter: none !important; }
  header.top > .wrap { flex-wrap: nowrap; }
  .top-cta { display: none; }
  .navtoggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: auto; flex: none; cursor: pointer;
    background: transparent; border: var(--bd) solid var(--rule); border-radius: var(--radius-sm);
    position: relative; z-index: 3; }
  .navtoggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
  body.navopen .navtoggle { visibility: hidden; }
  body.photohero:not(.scrolled) .navtoggle { border-color: rgba(255,255,255,.55); }
  body.photohero:not(.scrolled) .navtoggle span { background: #FFF; }
  body.colorhero .navtoggle { border-color: color-mix(in srgb, var(--paper) 45%, transparent); }
  body.colorhero .navtoggle span { background: var(--paper); }
  body.navopen.photohero .navtoggle span, body.navopen.colorhero .navtoggle span { background: var(--ink); }

  nav.menu { position: fixed; inset: 0 0 0 auto; z-index: 2; width: min(82vw, 330px);
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px;
    margin: 0; padding: env(safe-area-inset-top) 14px calc(20px + env(safe-area-inset-bottom));
    background: var(--paper); border-left: var(--bd) solid var(--rule);
    box-shadow: -24px 0 60px -30px rgba(16,16,14,.55);
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; overscroll-behavior: contain; }
  body.navopen nav.menu { transform: translateX(0); }
  body.navopen { overflow: hidden; }
  body.navopen header.top { z-index: 80; }
  nav.menu > a { font-size: 16px; padding: 13px 12px; white-space: normal; color: var(--muted) !important;
    background: transparent !important; }
  nav.menu > a[aria-current="page"] { color: var(--brand) !important; background: var(--surface) !important; }
  .navlogo { display: flex; align-items: center; position: sticky; top: 0; z-index: 1;
    background: var(--paper); min-height: var(--topH, 62px); margin: 0 -14px 10px;
    padding: 0 26px; border-bottom: var(--bd) solid var(--rule); }
  .navlogo, .navlogo b { color: var(--ink) !important; }
  .navlogo i { color: var(--muted) !important; }
  .navmore { display: flex; flex-direction: column; flex: 1 1 auto;
    margin-top: 14px; padding-top: 14px; border-top: var(--bd) solid var(--rule); }
  .navmore .btn { display: flex; width: 100%; margin: 0 0 8px; }
  .navfacts { margin-top: auto; padding: 13px 14px; border-radius: var(--radius-sm);
    background: var(--card); border: var(--bd) solid var(--rule); font-size: 13px; line-height: 1.55; }
  .navfacts dt { font-size: 11.5px; font-weight: 700; color: var(--muted); }
  .navfacts dd { margin: 2px 0 10px; font-weight: 600; }
  .navfacts dd:last-child { margin-bottom: 0; }
  .navveil { display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(16,16,14,.5); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
  body.navopen .navveil { opacity: 1; pointer-events: auto; }
}

/* ── 바닥에 붙는 문의 띠 ────────────────────────────────── */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 9px var(--edge) calc(9px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 93%, transparent);
    backdrop-filter: blur(10px); border-top: var(--bd) solid var(--rule); }
  .callbar .btn { padding: 12px 10px; font-size: 15px; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } nav.menu, .navveil { transition: none; } }

