:root {
  --ink: #17211d;
  --muted: #617069;
  --paper: #f7f8f6;
  --card: #ffffff;
  --line: #dfe5e1;
  --green: #21684e;
  --green-soft: #dbe9df;
  --blue: #315f7a;
  --gold: #a86f2e;
  --slate: #66716d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Nanum Gothic", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.topbar { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; max-width: 1360px; padding: 0 42px; margin: 0 auto; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--green); color: white; border-radius: 9px; font-size: 16px; font-weight: 800; }
nav { display: flex; gap: 32px; font-size: 13px; color: #46514c; }
nav a:hover { color: var(--green); }
.date-stamp { font: 11px/1.2 ui-monospace, SFMono-Regular, monospace; color: var(--muted); }

.hero { max-width: 1360px; min-height: 620px; margin: 0 auto; padding: 80px 72px 72px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 76px; }
.kicker, .section-number { margin: 0 0 23px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(48px, 5.7vw, 82px); line-height: 1.06; letter-spacing: -.055em; font-weight: 750; }
.hero h1 em { color: var(--green); font-family: inherit; font-style: normal; font-weight: 800; }
.hero-intro { max-width: 560px; margin: 32px 0 0; color: #55615b; font-size: 17px; line-height: 1.8; word-break: keep-all; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 26px; }
.primary-button { display: inline-flex; align-items: center; gap: 36px; padding: 15px 20px; background: var(--ink); color: white; border-radius: 10px; font-size: 13px; font-weight: 700; }
.primary-button span { color: #b7d2c3; }
.text-button { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }

.hero-card { min-height: 455px; padding: 30px; background: var(--green); color: white; border-radius: 22px; box-shadow: 0 20px 52px rgba(34,63,50,.16); }
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 12px; letter-spacing: .08em; }
.hero-card-top strong { font: 800 38px/1 "Nanum Gothic", sans-serif; }
.hero-card-top small { font: 12px/1 sans-serif; opacity: .65; }
.car-silhouette { position: relative; height: 180px; margin: 20px 0 8px; }
.car-silhouette .roof { position: absolute; left: 20%; top: 40px; width: 58%; height: 66px; border: 2px solid rgba(255,255,255,.85); border-bottom: 0; border-radius: 55px 40px 0 0; transform: skewX(-6deg); }
.car-silhouette .body { position: absolute; left: 7%; top: 88px; width: 86%; height: 62px; border: 2px solid rgba(255,255,255,.85); border-radius: 32px 42px 12px 16px; }
.car-silhouette .wheel { position: absolute; top: 128px; width: 40px; height: 40px; border: 7px solid var(--green); outline: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.18); }
.wheel-left { left: 22%; }.wheel-right { right: 19%; }
.hero-card-title { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.25); }
.hero-card-title p { margin: 0 0 6px; opacity: .68; font-size: 12px; }
.hero-card-title strong { font-size: 22px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); margin: 21px 0 0; }
.hero-stats div { padding-right: 12px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-stats div + div { padding-left: 15px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { margin-bottom: 8px; opacity: .62; font-size: 10px; }
.hero-stats dd { margin: 0; font: 700 20px/1 "Nanum Gothic", sans-serif; }
.hero-stats small { margin-left: 3px; font: 10px sans-serif; }

.decision-section, .shortlist-section, .cost-section, .test-section { padding: 96px max(42px, calc((100vw - 1216px)/2)); }
.decision-section { background: #f0f4f1; }
.section-heading { max-width: 760px; margin-bottom: 45px; }
.section-heading h2, .test-intro h2 { margin: 0 0 16px; font-size: clamp(33px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:last-child, .test-intro > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; }
.decision-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.controls-panel, .recommendation { min-height: 350px; padding: 38px 42px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.range-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.range-label strong { color: var(--ink); font: 700 20px "Nanum Gothic", sans-serif; }
.range-label small { display: inline-block; margin-left: 6px; padding: 3px 7px; background: #eef3f0; color: var(--green); border-radius: 999px; font-size: 9px; font-weight: 700; vertical-align: middle; }
input[type="range"] { width: 100%; height: 4px; accent-color: var(--green); cursor: pointer; }
.number-field { display: flex; align-items: center; overflow: hidden; margin-bottom: 7px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.number-field input { min-width: 0; width: 100%; padding: 12px 14px; background: transparent; border: 0; color: var(--ink); font-size: 17px; font-weight: 700; outline: 0; }
.number-field span { padding: 0 14px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.input-help { margin: 0 0 25px; color: #8a9690; font-size: 10px; }
.range-ends { display: flex; justify-content: space-between; margin: 6px 0 27px; color: #919a95; font-size: 10px; }
fieldset { padding: 0; border: 0; margin: 2px 0 0; }
legend { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #edf0ee; border-radius: 11px; }
.segmented button { padding: 11px; background: transparent; border: 0; color: var(--muted); cursor: pointer; }
.segmented button.active { background: var(--ink); color: white; border-radius: 8px; }
.recommendation { display: flex; flex-direction: column; justify-content: center; background: var(--green); color: white; border-color: transparent; }
.recommendation-label { margin-bottom: 28px; color: #b7d2c3; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.recommendation h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.25; word-break: keep-all; }
.recommendation p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; }
.recommendation-rule { width: 36px; height: 1px; margin: 25px 0 17px; background: rgba(255,255,255,.42); }
.recommendation .small-note { font-size: 11px; }

.shortlist-section { background: var(--paper); }
.horizontal-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.horizontal-heading > p { max-width: 310px; text-align: right; }
.filter-bar { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) auto; gap: 10px; align-items: end; margin: -12px 0 18px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.filter-bar label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.filter-bar input, .filter-bar select { width: 100%; min-height: 42px; padding: 0 12px; background: #f7f9f8; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 12px; outline: 0; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(33,104,78,.1); }
.filter-bar button { min-height: 42px; padding: 0 16px; background: var(--ink); border: 0; border-radius: 9px; color: white; cursor: pointer; }
.result-summary { display: flex; align-items: baseline; gap: 8px; margin-bottom: 17px; }
.result-summary strong { color: var(--green); font-size: 17px; }.result-summary span { color: var(--muted); font-size: 11px; }
.car-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.car-card { position: relative; min-height: 430px; padding: 26px 24px; text-align: left; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.car-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(25,50,40,.08); }
.car-card.selected { background: var(--card); border: 2px solid currentColor; padding: 25px 23px; box-shadow: 0 12px 30px rgba(25,50,40,.08); }
.car-card.green { color: var(--green); }.car-card.blue { color: var(--blue); }.car-card.gold { color: var(--gold); }.car-card.slate { color: var(--slate); }
.card-head { display: flex; justify-content: space-between; min-height: 20px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.select-mark { opacity: .75; }
.car-card h3 { margin: 34px 0 10px; color: var(--ink); font-size: 25px; letter-spacing: -.04em; }
.meta-tags { display: flex; gap: 5px; margin: -2px 0 12px; }.meta-tags span { padding: 4px 7px; background: #f0f3f1; border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; }
.catalog-card { cursor: default; border-style: dashed; background: #fafbfa; box-shadow: none; }.catalog-card:hover { transform: none; box-shadow: none; }
.catalog-status { display: grid; gap: 5px; margin: 28px 0 25px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.catalog-status strong { color: var(--ink); font-size: 12px; }.catalog-status span { color: var(--muted); font-size: 10px; }
.trim { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.price-line { margin: 28px 0 25px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-line span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.price-line strong { color: var(--ink); font: 700 20px "Nanum Gothic", sans-serif; }
.metric { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.metric > div { height: 3px; background: #dfddd6; }
.metric i { display: block; height: 100%; background: currentColor; }
.verdict { margin: 23px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.5; }
.watch { display: flex; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.watch span { flex: 0 0 auto; display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 60px 20px; background: white; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; }

.cost-section { background: #17231f; color: white; }
.cost-section .section-number { color: #93b3a1; }
.cost-section .section-heading > p:last-child { color: rgba(255,255,255,.55); }
.cost-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.cost-row { margin-bottom: 27px; }
.cost-name { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cost-name strong { font-size: 13px; }.cost-name span { font: 700 15px "Nanum Gothic", sans-serif; }
.cost-track { height: 18px; background: rgba(255,255,255,.08); }
.cost-track span { display: block; height: 100%; transition: width .35s ease; }
.cost-track .green { background: #78a98e; }.cost-track .blue { background: #75a6c3; }.cost-track .gold { background: #c28c4a; }.cost-track .slate { background: #86928c; }
.cost-scale { display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 9px; }
.cost-insight { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.18); }
.cost-insight > span { color: #93b3a1; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.cost-insight strong { display: block; margin: 19px 0; font: 700 25px/1.5 "Nanum Gothic", sans-serif; }
.cost-insight p { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.assumptions { display: flex; gap: 24px; margin-top: 45px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.38); font-size: 10px; }
.assumptions span { color: rgba(255,255,255,.75); font-weight: 700; }
.assumptions p { margin: 0; }

.test-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; background: #f0f4f1; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid #c9c7c0; }
.check-list li:last-child { border-bottom: 1px solid #c9c7c0; }
.check-list li > span { color: var(--green); font: 700 15px "Nanum Gothic", sans-serif; }
.check-list strong { font-size: 15px; }.check-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.final-callout { padding: 100px max(42px, calc((100vw - 1216px)/2)); background: #deebe3; text-align: center; }
.final-callout > p { margin: 0 0 24px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.final-callout > h2 { margin: 0; font: 800 clamp(36px,5vw,60px)/1.22 "Nanum Gothic", sans-serif; letter-spacing: -.045em; }
.final-grid { max-width: 900px; margin: 58px auto 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(24,35,31,.35); }
.final-grid div { display: flex; flex-direction: column; padding: 24px 20px 0; border-right: 1px solid rgba(24,35,31,.2); }
.final-grid div:last-child { border-right: 0; }
.final-grid span { color: var(--muted); font-size: 10px; }.final-grid strong { margin: 11px 0 7px; font-size: 18px; }.final-grid small { color: var(--muted); font-size: 10px; }

footer { max-width: 1360px; margin: 0 auto; padding: 34px 42px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
footer div { display: flex; flex-direction: column; gap: 4px; } footer strong { color: var(--ink); font-size: 12px; }

@media (max-width: 980px) {
  .date-stamp { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 65px; }
  .hero-card { max-width: 600px; width: 100%; }
  .decision-grid, .cost-panel, .test-section { grid-template-columns: 1fr; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }.filter-bar .search-field { grid-column: 1 / -1; }
  .cost-panel { gap: 48px; }.cost-insight { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .test-section { gap: 45px; }
}

@media (max-width: 640px) {
  .topbar { height: 62px; padding: 0 20px; }.brand span:last-child { display: none; } nav { gap: 18px; font-size: 11px; }
  .hero { min-height: auto; padding: 56px 22px 60px; }.hero h1 { font-size: 46px; }.hero-intro { font-size: 15px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-card { min-height: 430px; padding: 24px 20px; }.hero-stats dd { font-size: 19px; }
  .decision-section, .shortlist-section, .cost-section, .test-section, .final-callout { padding: 70px 22px; }
  .controls-panel, .recommendation { padding: 30px 24px; }
  .horizontal-heading { align-items: flex-start; flex-direction: column; }.horizontal-heading > p { text-align: left; }
  .car-grid { grid-template-columns: 1fr; }.car-card { min-height: 390px; }
  .filter-bar { grid-template-columns: 1fr; }.filter-bar .search-field { grid-column: auto; }
  .assumptions { flex-direction: column; gap: 8px; }
  .final-grid { grid-template-columns: 1fr; }.final-grid div { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(24,35,31,.18); }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; padding: 28px 22px; } footer p { line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
