:root {
  --bg: #f6f3ec;
  --panel: #ebe8dc;
  --card: #fbf9f4;
  --ink: #1f2421;
  --sub: #5a5f58;
  --line: #d9d4c5;
  --accent: #8a7550;
  --dock-h: 0px;
  --serif: "Times New Roman", "Nanum Myeongjo", Georgia, serif;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.brand-en { font-family: var(--serif); letter-spacing: .06em; white-space: nowrap; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246,243,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: auto; }
.brand .brand-en { font-size: 17px; }
.nav { display: flex; gap: 2px; flex-shrink: 0; }
.nav a { text-decoration: none; font-size: 15px; padding: 10px 9px; color: var(--sub); border-radius: 6px; white-space: nowrap; }
.nav a[aria-current], .nav a:hover { color: var(--ink); font-weight: 600; }
@media (max-width: 419px) { .brand .brand-en { display: none; } .brand img { width: 46px; } }

/* type */
h1 { font-size: clamp(30px, 8.400vw, 52px); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(25px, 6.400vw, 36px); line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.01em; }
.h-sm { font-size: 19px; margin: 32px 0 14px; }
.h-sm:first-child { margin-top: 0; }
.lead { font-size: 17px; color: var(--sub); margin-top: 14px; }
.kicker, .eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.eyebrow { font-size: 15px; letter-spacing: .04em; color: var(--ink); }
.eyebrow .brand-en { font-size: 18px; margin-right: 6px; }
.fine { font-size: 14px; color: var(--sub); margin-top: 16px; line-height: 1.6; }
.code { font-size: 13px; letter-spacing: .08em; color: var(--accent); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 4px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink);
  background: transparent; cursor: pointer; flex: 1 1 150px; text-align: center;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #343a36; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 15px; flex: 0 0 auto; }
@media (min-width: 720px) { .btn { flex: 0 0 auto; min-width: 180px; } .btn-sm { min-width: 0; } }

/* hero */
.hero { padding: 28px 0 8px; }
.hero-in { display: grid; gap: 24px; }
.hero-img { margin: 0 -20px; position: relative; }
.hero-img img { width: 100%; }
.hero-img figcaption { position: absolute; left: 20px; bottom: 12px; }
.hero .btns { margin-top: 22px; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 24px; }
  .hero-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .hero-img { margin: 0; }
  .hero-img img { border-radius: 4px; }
}
.tag { display: inline-block; font-size: 12px; line-height: 1; padding: 6px 8px; background: rgba(31,36,33,.82); color: #fff; border-radius: 3px; letter-spacing: .02em; }

/* sections */
.section { padding: 64px 0; }
.section.tight { padding: 32px 0; }
.section.alt { background: var(--panel); }
.page-head { padding: 36px 0 12px; }
.page-head .lead { max-width: 640px; }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: 18px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; margin-bottom: 14px; }
.badge-solid { background: var(--ink); color: #fff; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jump a { font-size: 15px; text-decoration: none; padding: 10px 14px; background: var(--panel); border-radius: 999px; }

/* home tiles */
.tiles { display: grid; gap: 10px; margin-top: 28px; }
.tile { display: grid; grid-template-columns: 76px 1fr 20px; align-items: center; gap: 16px; padding: 14px 16px 14px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.tile img { width: 76px; border-radius: 3px; }
.tile-text { display: grid; gap: 1px; font-size: 15px; color: var(--sub); min-width: 0; }
.tile-text strong { font-size: 20px; color: var(--ink); }
.tile-spec { font-size: 14px; }
.tile-go { color: var(--accent); }
@media (min-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }

/* numbered lists */
.items, .flow { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.items li, .flow li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.items strong, .flow strong { display: block; font-size: 17px; }
.items span, .flow span { color: var(--sub); font-size: 15px; }
.num { font-family: var(--serif); font-size: 17px !important; color: var(--accent) !important; padding-top: 1px; }
.section.alt .items, .section.alt .flow, .section.alt .items li, .section.alt .flow li { border-color: #cfc9b8; }
@media (min-width: 720px) { .items { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
#custom h3 { margin-top: 48px; }
.wide-fig { margin-top: 28px; background: #fff; border-radius: 6px; overflow: hidden; max-width: 650px; }
.wide-fig figcaption { font-size: 13px; color: var(--sub); padding: 8px 12px; background: var(--card); }
.notice { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--card); font-size: 15px; line-height: 1.6; }

.photos { display: grid; gap: 12px; margin-top: 24px; }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.photos figcaption { font-size: 14px; color: var(--sub); margin-top: 6px; }
@media (min-width: 720px) { .photos { grid-template-columns: 1fr 1fr; } }

.cta-band { background: var(--ink); color: #fff; }
.cta-band .lead { color: #c9cbc4; }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn-solid { background: #fff; color: var(--ink); }
.cta-band .btn:hover { background: #fff; color: var(--ink); }

/* spec */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.spec > div { background: var(--panel); padding: 12px 14px; border-radius: 4px; min-width: 0; }
.section.alt .spec > div { background: var(--card); }
.spec dt { font-size: 13px; color: var(--sub); }
.spec dd { font-size: 17px; font-weight: 600; line-height: 1.4; margin-top: 2px; }
.spec .spec-wide { grid-column: 1 / -1; }
.spec .spec-wide dd { font-size: 16px; font-weight: 500; }

/* sample */
.sample { display: grid; gap: 24px; margin-top: 8px; }
.rows { background: var(--card); border-radius: 6px; padding: 18px; }
.rows-title { font-size: 14px; color: var(--sub); margin-bottom: 10px; }
.rows li { display: grid; grid-template-columns: 52px 1fr 36px; align-items: center; gap: 10px; padding: 7px 0; font-size: 16px; }
.rows li span:last-child { text-align: right; font-weight: 600; }
.bar { height: 10px; border-radius: 2px; background: var(--ink); width: calc(var(--n) / 3 * 100%); }
@media (min-width: 720px) { .sample { grid-template-columns: 1fr 1fr; align-items: start; } .sample .spec { margin-top: 0; } }

/* product cards */
.cards { display: grid; gap: 20px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; scroll-margin-top: 72px; }
.card-body { padding: 22px 18px 22px; }
.card-desc { color: var(--sub); margin-top: 6px; }
.card h3 { font-size: 26px; margin-top: 2px; }
.consult-title { font-size: 13px; color: var(--sub); margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips li { font-size: 14px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }

.figs { display: grid; grid-template-columns: 1.150fr 1fr; gap: 14px; align-items: center; padding: 20px 18px; background: #f1eee4; }
.fig { text-align: center; min-width: 0; }
.fig-pkg { position: relative; }
.fig-pkg img { width: 100%; max-width: 250px; margin: 0 auto; }
.fig-pkg figcaption { margin-top: 8px; }
.round { background: #fff; border: 1px solid var(--line); border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 190px; margin: 0 auto; }
.round img { width: 100%; height: 100%; object-fit: contain; }
.fig-detail figcaption { margin-top: 10px; display: grid; gap: 0; font-size: 13px; color: var(--sub); line-height: 1.45; }
.fig-detail strong { font-size: 14px; color: var(--ink); }
.figs-big { border-radius: 8px; padding: 26px 20px; }
.figs-big .fig-pkg img { max-width: 320px; }
.figs-big .round { max-width: 260px; }
.product { display: grid; gap: 30px; }
@media (min-width: 860px) { .product { grid-template-columns: 1.050fr 1fr; gap: 48px; align-items: start; } }

.pager { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pager a { text-decoration: none; padding: 12px 10px; background: var(--panel); border-radius: 4px; text-align: center; display: grid; min-width: 0; }
.pager span { font-size: 12px; color: var(--sub); }
.pager strong { font-size: 15px; }

/* contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ways { display: grid; gap: 10px; }
.way { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; min-height: 72px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.way-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.way-text { display: grid; min-width: 0; }
.way-text span { font-size: 13px; color: var(--sub); }
.way-text strong { font-size: 17px; overflow-wrap: anywhere; line-height: 1.35; }
.way-act { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.kakao { margin-top: 20px; padding: 20px 18px; background: var(--panel); border-radius: 6px; display: grid; gap: 20px; }
.kakao-val { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.kakao-val strong { font-size: 26px; letter-spacing: .02em; }
.qr { text-align: center; }
.qr img { width: 180px; margin: 0 auto; background: #fff; padding: 10px; border-radius: 6px; }
.qr figcaption { font-size: 13px; color: var(--sub); margin-top: 8px; }
@media (min-width: 520px) { .kakao { grid-template-columns: 1fr auto; align-items: center; } }
.check { display: grid; gap: 0; border-top: 1px solid var(--line); }
.check li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; }
.check li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* footer */
.foot { padding: 40px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.foot p + p { margin-top: 6px; }
.foot-brand { color: var(--ink); font-size: 16px; }
.foot-note { font-size: 13px; }
.foot a { text-decoration: none; }

/* mobile bottom dock */
.dock { display: none; }
@media (max-width: 719px) {
  :root { --dock-h: 68px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.250fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(246,243,236,.97); border-top: 1px solid var(--line);
  }
  .dock-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 1px solid var(--ink); border-radius: 4px; font-size: 16px; font-weight: 600; text-decoration: none; }
  .dock-main { background: var(--ink); color: #fff; }
}

/* faq */
.faq { margin-top: 24px; border-top: 1px solid #cfc9b8; }
.faq details { border-bottom: 1px solid #cfc9b8; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--sub); }
.h1-sub { font-size: .55em; font-weight: 500; color: var(--sub); letter-spacing: 0; }
