:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }

.page-shell { width: min(100% - 40px, 820px); margin: 0 auto; padding: 92px 0 64px; }
.hero { max-width: 610px; margin: 0 auto 48px; text-align: center; }

.eyebrow { margin: 0 0 14px; color: #6e6e73; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; }
h1 { margin: 0; font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 700; letter-spacing: -0.07em; line-height: 1.04; }
.intro { max-width: 540px; margin: 19px auto 0; color: #6e6e73; font-size: 1.07rem; line-height: 1.65; word-break: keep-all; }

.search-card, .result-card {
  border: 1px solid #d2d2d7;
  border-radius: 24px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 5%);
}

.search-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px; }
.field { display: grid; gap: 8px; }
label { color: #3a3a3c; font-size: 0.82rem; font-weight: 650; }

select, button { min-height: 48px; border-radius: 11px; font: inherit; }
select { width: 100%; border: 1px solid #d2d2d7; background: #fff; padding: 0 12px; color: #1d1d1f; }
select:focus, button:focus { outline: 3px solid rgb(0 113 227 / 24%); outline-offset: 2px; }

button {
  grid-column: 1 / -1;
  margin-top: 8px;
  border: 0;
  background: #0071e3;
  color: white;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

button:hover:not(:disabled) { background: #0077ed; transform: translateY(-1px); }
button:disabled { background: #f26a21; cursor: not-allowed; }

.status { min-height: 26px; margin: 18px 2px; color: #6e6e73; font-size: 0.88rem; text-align: center; }

.result-card { padding: 42px 32px 35px; text-align: center; }
.result-card.is-hidden { display: none; }
.result-location { margin: 0 0 25px; color: #1d1d1f; font-size: 1.05rem; font-weight: 650; }
.result-label { margin: 0; color: #6e6e73; font-size: 0.9rem; }
.average-price { margin: 7px 0 0; color: #1d1d1f; font-size: clamp(2.5rem, 10vw, 4.8rem); font-weight: 700; letter-spacing: -0.08em; }
.divider { width: 100%; height: 1px; margin: 31px 0 20px; background: #d2d2d7; }
.transaction-text { margin: 0; color: #6e6e73; }
.transaction-text strong { color: #1d1d1f; }
.caption, .data-note { color: #86868b; font-size: 0.77rem; }
.caption { margin: 14px 0 0; }
.data-note { margin: 28px 2px 0; line-height: 1.6; text-align: center; }

@media (max-width: 600px) {
  .page-shell { width: min(100% - 28px, 820px); padding-top: 58px; }
  .hero { margin-bottom: 34px; }
  .search-card { grid-template-columns: 1fr; padding: 20px; }
  .result-card { padding: 34px 20px 28px; }
}

