:root {
  --bg: #fbf8f3; --paper: #ffffff; --ink: #2f2a25; --muted: #8a8075; --line: #ece5da;
  --accent: #c8643c; --accent-soft: #f6e4da; --green: #4f7a52; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--paper); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 0 32px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.12; font-weight: 800; }
.lead { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.hero-cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; border: 0; cursor: pointer; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-flip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; background: var(--paper); border-radius: 24px; padding: 22px; border: 1px solid var(--line); }
.flip-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.flip-mat { font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--bg); margin-bottom: 6px; animation: slide .7s ease-out both; }
.flip-mat:nth-child(3) { animation-delay: .08s } .flip-mat:nth-child(4) { animation-delay: .16s } .flip-mat:nth-child(5) { animation-delay: .24s } .flip-mat:nth-child(6) { animation-delay: .32s }
.flip-arrow { font-size: 22px; color: var(--accent); }
.flip-art { border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; }
.flip-art svg { width: 85%; }
@keyframes slide { from { opacity: 0; transform: translateX(-8px) } to { opacity: 1 } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px 0 16px; }
.stats div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.stats b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 13px; }

/* sections */
.sec { padding: 36px 0 8px; }
.sec h2 { font-size: 24px; }
.h-sm { font-size: 18px !important; margin-bottom: 10px !important; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.sec-head a { color: var(--muted); font-size: 14px; }
.sec-sub { color: var(--muted); margin: 4px 0 18px; }
.page-head { padding: 44px 0 20px; }
.page-head h1 { font-size: 34px; }
.crumb { padding-top: 24px; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--ink); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(70, 50, 30, .35); }
.thumb { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; }
.thumb svg { height: 82%; } .thumb img, .detail-art img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.85); }
.badge.break { color: var(--accent); } .badge.make { color: var(--green); }
.card-body { padding: 14px 16px 18px; }
.meta { font-size: 12px; color: var(--muted); }
.card h3 { font-size: 17px; margin: 4px 0 8px; }
.price-line { display: flex; gap: 10px; align-items: baseline; font-size: 14px; flex-wrap: wrap; }
.strike { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price-line b { color: var(--accent); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hub list */
.hub-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.hub-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.hub-row:last-child { border-bottom: 0; }
a.hub-row:hover { background: var(--bg); }
.hub-row .muted { text-align: right; }
.pill { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.pill.on { background: var(--accent-soft); color: var(--accent); }

/* detail */
.detail { display: grid; grid-template-columns: 5fr 6fr; gap: 36px; padding-top: 20px; align-items: start; }
.detail-art { border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.detail-art svg { width: 78%; }
.detail-info h1 { font-size: 34px; margin-top: 6px; }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 10px; }
.compare div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.compare span { display: block; font-size: 12px; color: var(--muted); }
.compare b { font-size: 19px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.strike-b { text-decoration: line-through; color: var(--muted); }
.accent { color: var(--accent); }
.save { color: var(--green); font-weight: 600; font-size: 14px; margin: 6px 0 22px; }

.table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); margin-top: 16px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 72px; gap: 10px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.th { font-size: 12px; color: var(--muted); background: var(--bg); }
.total { font-weight: 700; border-bottom: 0; }
.mname { font-weight: 500; } .mname:hover { color: var(--accent); }
.buy { justify-self: end; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pop .tr { animation: drop .5s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1 } }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.note a { color: var(--accent); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.prose p { max-width: 680px; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot-links { display: flex; gap: 16px; }
.foot-in p { flex-basis: 100%; margin: 0; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .hero, .detail { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-top: 32px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats div { padding: 14px; } .stats b { font-size: 18px; }
  .compare b { font-size: 16px; }
  .tr { grid-template-columns: 1fr auto; row-gap: 2px; }
  .tr > :nth-child(2) { grid-column: 1; grid-row: 2; font-size: 12px; }
  .tr > :nth-child(3) { grid-column: 2; grid-row: 1; }
  .tr > :nth-child(4) { display: none; }
  .tr > :nth-child(5) { grid-column: 2; grid-row: 2; justify-self: end; }
  .th { display: none; }
  .page-head h1, .detail-info h1 { font-size: 28px; }
}

.page-head .btn { margin-top: 16px; }
.sec > h2 + .grid { margin-top: 16px; }

.disclosure { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: #8a4a2c; font-size: 13px; font-weight: 500; }
