:root {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  color-scheme: light;
  --paper: #f7f4ed;
  --card: #fffdf9;
  --ink: #1c1c1c;
  --muted: #625c57;
  --line: #e9e2da;
  --accent: #863c55;
  --purchase: #a24f4d;
  --lease: #635a99;
  --rent: #396a62;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #865675; outline-offset: 3px; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { letter-spacing: -0.045em; word-break: keep-all; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--card); padding: 10px 15px; }
.topbar { border-bottom: 1px solid #e8e0d7; }
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); white-space: nowrap; font-size: 23px; font-weight: 800;
  letter-spacing: -0.08em; text-decoration: none;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 9px; position: relative;
  background: linear-gradient(140deg, #af9cf7 8%, #eb9ac9 49%, #f4a077 90%);
}
.brand-mark::before, .brand-mark::after {
  position: absolute; top: 8px; left: 8px; content: ""; width: 3px; height: 11px;
  transform: skewX(-22deg); background: #211c21; border-radius: 8px;
}
.brand-mark::after { left: 14px; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 4px 7px; }
.topbar nav a {
  display: block; text-decoration: none; padding: 7px 12px; border-radius: 999px;
  color: #49433f; font-weight: 650; font-size: 14px;
}
.topbar nav a[aria-current="page"] { background: #eae2d9; color: var(--ink); }
.topbar nav a:hover { background: #efe7de; color: var(--ink); }

.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: 234px; margin: 28px 0 24px; padding: clamp(26px, 5vw, 60px);
  border: 1px solid #eee0dc; border-radius: 28px;
  background: radial-gradient(ellipse at 95% 100%, #ffc396 0, transparent 55%),
    radial-gradient(ellipse at 87% 10%, #dcd0fc 0, transparent 56%),
    radial-gradient(ellipse at 80% 50%, #ffd2e6 10%, transparent 62%), #fffbf3;
}
.hero-content { max-width: 840px; position: relative; z-index: 1; }
.hero-content h1 { font-size: clamp(32px, 4.25vw, 61px); font-weight: 770; line-height: 1.18; }
.hero-content p { margin-top: 15px; max-width: 700px; color: #4f403f; font-size: clamp(15px, 1.5vw, 18px); word-break: keep-all; }
.hero-content a { display: inline-block; margin-top: 15px; font-weight: 700; }
.road-mark {
  width: 415px; height: 415px; pointer-events: none;
  position: absolute; right: -104px; bottom: -192px;
  border-radius: 124px; border: 1px solid #9a5b725f; transform: rotate(-34deg);
  opacity: 0.72;
}
.road-mark::before, .road-mark::after {
  content: ""; position: absolute; inset: 24px; border: 1px solid #9a5b725f; border-radius: 108px;
}
.road-mark::after { inset: 48px; border-radius: 94px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); align-items: start; gap: 20px; }
.panel { min-width: 0; padding: clamp(18px, 2.7vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 13px; }
.panel-heading h2, .guide > h2 { font-size: 23px; font-weight: 760; }
.panel-intro, .hint, .data-note, .sources { color: var(--muted); font-size: 13px; word-break: keep-all; overflow-wrap: anywhere; }
.panel-intro { margin-bottom: 19px; }
.hint { margin-top: 13px; }
.quiet {
  cursor: pointer; padding: 4px 0; border: 0; background: transparent; color: var(--accent);
  text-decoration: underline; text-underline-offset: 0.26em; font-size: 13px; font-weight: 720;
}
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.field { display: grid; gap: 6px; align-content: end; color: #413a36; font-size: 13px; font-weight: 680; min-width: 0; }
.control { display: block; position: relative; min-width: 0; }
.control input, .field select {
  height: 44px; display: block; width: 100%; min-width: 0; color: var(--ink); font-size: 16px;
  border-radius: 10px; border: 1px solid #cfc4ba; background: #fffefa; padding: 8px 10px;
}
.control input { appearance: textfield; padding-right: 45px; font-variant-numeric: tabular-nums; }
.control input::-webkit-inner-spin-button, .control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.unit { font-weight: 500; color: #615850; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.field select { padding-right: 23px; }
.field input:focus, .field select:focus { border-color: #865675; }
[data-cc-only] { margin-top: 14px; }
.quote {
  margin: 22px 0 0; padding: 12px 14px 15px; min-inline-size: 0;
  border: 1px solid var(--line); border-radius: 14px;
}
.quote legend { padding: 0 6px; font-weight: 760; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0.08em; }
.dot.purchase { background: var(--purchase); }
.dot.lease { background: var(--lease); }
.dot.rent { background: var(--rent); }
.options { margin-top: 11px; font-size: 13px; color: #5d444d; }
.options .fields { margin-top: 11px; }
summary { cursor: pointer; font-weight: 700; }
.action {
  display: inline-flex; justify-content: space-between; gap: 23px; align-items: center;
  margin-top: 20px; padding: 11px 21px; min-height: 46px;
  border: 1px solid #291f21; border-radius: 999px; background: var(--ink); color: #fffcf8;
  box-shadow: inset 0 1px #ffffff29, inset 0 0 0 1px #22111435;
  cursor: pointer; font-weight: 750;
}
.action:hover { background: #4b3340; }
.result-panel { scroll-margin-top: 12px; }
[data-state] { color: var(--muted); font-size: 12px; }
.result-hero {
  padding: 20px 18px; border-radius: 15px; border: 1px solid #eddbdf;
  background: linear-gradient(125deg, #f8edf6, #fff0e4); overflow-wrap: anywhere;
}
.result-label { font-size: 13px; font-weight: 740; color: #664353; }
.result-hero strong { display: block; margin: 4px 0 3px; font-size: clamp(30px, 3.1vw, 43px); line-height: 1.23; letter-spacing: -0.06em; }
.result-caption { color: #625153; font-size: 13px; }
.comparison { display: grid; gap: 8px; margin-top: 13px; }
.cost-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 10px;
  padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line);
  --bar: var(--purchase);
}
.cost-card:nth-child(2) { --bar: var(--lease); }
.cost-card:nth-child(3) { --bar: var(--rent); }
.cost-card.best { border-color: #c8aea7; background: #fcf5ef; }
.cost-card h3 { font-size: 14px; }
.cost-card strong { font-variant-numeric: tabular-nums; font-size: 17px; text-align: right; overflow-wrap: anywhere; }
.cost-card p { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.cost-card meter {
  grid-column: 1 / -1; appearance: none; width: 100%; height: 6px; margin-top: 5px;
  border-radius: 99px; border: 0; background: #ece7df;
}
.cost-card meter::-webkit-meter-bar { height: 6px; border: none; border-radius: 99px; background: #ece7df; }
.cost-card meter::-webkit-meter-optimum-value,
.cost-card meter::-webkit-meter-suboptimum-value,
.cost-card meter::-webkit-meter-even-less-good-value { border-radius: 99px; background: var(--bar); }
.cost-card meter::-moz-meter-bar { border-radius: 99px; background: var(--bar); }
.line-items { margin-top: 12px; }
.line-items > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 1px; border-bottom: 1px solid var(--line); }
.line-items dt { color: #5d5650; }
.line-items dd { margin: 0; font-weight: 730; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.result-details { margin-top: 15px; color: #573b49; font-size: 13px; }
.table-wrap { margin-top: 9px; max-height: 360px; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--ink); }
thead { position: sticky; top: 0; background: #f7efe8; }
td, th { padding: 7px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:first-child { text-align: left; }
td { font-variant-numeric: tabular-nums; }
.guide {
  margin: 20px 0 30px; padding: clamp(18px, 2.7vw, 32px);
  border-radius: 22px; border: 1px solid var(--line); background: var(--card);
}
.guide > h2 { margin-bottom: 10px; }
.guide details { padding: 11px 0; border-bottom: 1px solid var(--line); }
.guide details p { max-width: 770px; margin: 9px 0 0; color: var(--muted); word-break: keep-all; }
.sources, .data-note { margin-top: 13px; }
.sources a { font-weight: 680; margin-left: 5px; }
.business-footer-host { margin-bottom: 24px; }
@media (max-width: 900px) {
  .container { width: min(680px, calc(100% - 40px)); }
  .topbar-inner { flex-wrap: wrap; gap: 8px; padding: 14px 0 10px; }
  .topbar nav { width: 100%; }
  .topbar nav a { padding: 6px 9px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .road-mark { opacity: .4; }
}
@media (max-width: 460px) {
  .container { width: calc(100% - 28px); }
  .topbar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar nav a { font-size: 12px; }
  .hero { min-height: 167px; margin: 14px 0 14px; padding: 21px 19px; border-radius: 20px; }
  .hero-content p { margin-top: 10px; }
  .panel, .guide { border-radius: 17px; }
  .workspace { gap: 14px; }
  .action { width: 100%; }
  .quote { padding-inline: 9px; }
  .control input, .field select { padding-left: 7px; }
  .control input { padding-right: 35px; }
  .unit { right: 7px; font-size: 12px; }
  .field select { font-size: 14px; }
  .field > select { grid-column: 1; }
}
