@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --ink: #202720;
  --muted: #7d857c;
  --line: #e7ebe3;
  --soft: #f6f8f2;
  --accent: #eaf3d9;
  --green: #4d633b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    14px/1.6 Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: -0.3px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
}
button:hover,
a:hover {
  opacity: 0.82;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  padding: 12px;
  background: #202720;
  color: #fff;
  z-index: 9999;
}
.skip:focus {
  top: 10px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  background: #ffffffef;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 40px;
  height: 40px;
}
.brand strong {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font:
    10px "DM Sans",
    sans-serif;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.header nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}
.header nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--ink);
  padding: 3px 8px 0;
  font-weight: 650;
}
.saved-trigger {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}
.saved-trigger b {
  font-size: 10px;
  border-radius: 5px;
  background: var(--soft);
  padding: 2px 7px;
}
.saved-trigger > span:first-child {
  font-size: 20px;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 0 32px 60px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 45px 0 36px;
}
.hero > div {
  min-width: 0;
}
.hero h1 {
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -1.8px;
  line-height: 1.3;
}
.hero p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 18px;
}
.hero-art {
  display: block;
  width: 420px;
  max-width: 46%;
  height: auto;
  border-radius: 18px;
}
.eyebrow {
  display: block;
  font:
    10px "DM Sans",
    sans-serif;
  letter-spacing: 1.7px;
  color: #7b8671;
  margin-bottom: 14px;
}
.search-box {
  position: relative;
  padding: 25px 27px;
  border: 1px solid #dce2d4;
  border-radius: 16px;
  box-shadow: 0 6px 25px #29362005;
}
.search-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.search-heading h2 {
  font-size: 16px;
}
.search-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.5fr auto;
  gap: 10px;
  align-items: end;
}
.search-row label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
}
select {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 30px 9px 12px;
  background: #fff url("../images/chevron-down.svg") no-repeat right 11px center;
  appearance: none;
  color: var(--ink);
  font-size: 12px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 45px;
  padding: 10px 20px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
.search-note {
  font-size: 10px;
  line-height: 1.8;
  color: #90978a;
  margin-top: 16px;
}
.neighborhood-lookup {
  position: relative;
  margin-bottom: 16px;
}
.neighborhood-lookup > input {
  width: 100%;
  padding: 11px 14px;
  background: #fafbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 25px #20272012;
  overflow: hidden;
}
.search-suggestions[hidden] {
  display: none;
}
.search-suggestions button {
  display: block;
  width: 100%;
  padding: 11px 15px;
  text-align: left;
  font-size: 12px;
}
.search-suggestions button:hover {
  background: var(--soft);
  opacity: 1;
}
.report-placeholder {
  padding: 56px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.report-placeholder > span {
  font-size: 34px;
  color: #9faa94;
  display: block;
  margin-bottom: 12px;
}
.report-placeholder h2 {
  font-size: 19px;
}
.report-placeholder p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.report {
  padding-top: 40px;
}
#report-area {
  scroll-margin-top: 100px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 11px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.report-heading h2 {
  font-size: 28px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #71815d;
  padding: 4px 8px;
  background: var(--soft);
  border-radius: 5px;
  vertical-align: middle;
  letter-spacing: -0.2px;
}
.report-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.outline {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  white-space: nowrap;
}
.outline[aria-pressed="true"] {
  color: var(--green);
  border-color: #b9caa6;
  background: var(--soft);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faf5;
  margin-bottom: 32px;
}
.overview-copy {
  padding: 30px;
}
.overview-copy h3 {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.8px;
}
.overview-copy > p {
  color: #6d7963;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 15px;
}
.scope-note {
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.8;
  color: #929d8b;
}
.local-map {
  min-height: 290px;
  background: #f0f3eb;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted);
}
.map-message {
  padding: 20px;
  text-align: center;
}
.facility-section {
  margin-top: 30px;
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.facility-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}
.facility-card:last-child {
  grid-column: 1/-1;
}
.facility-card > header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
}
.facility-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: #7d9166;
  font-size: 22px;
}
.facility-card h3 {
  font-size: 16px;
}
.facility-card header p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.facility-type + .facility-type {
  margin-top: 19px;
}
.facility-type h4 {
  font-size: 11px;
  color: #6a785e;
  margin-bottom: 7px;
}
.facility-type li + li {
  border-top: 1px solid #f0f2ed;
}
.facility-type a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.facility-type a > div {
  min-width: 0;
}
.facility-type strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.facility-type small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.6;
}
.facility-type a > span {
  font-size: 10px;
  white-space: nowrap;
  color: #6b795d;
}
.empty-line {
  font-size: 11px;
  line-height: 1.8;
  color: #9ca494;
  background: #fafbf8;
  padding: 10px;
  border-radius: 5px;
}
.inline-error {
  padding: 18px;
  border: 1px solid #eae3d0;
  background: #fffcf4;
  border-radius: 10px;
  color: #8b7745;
  line-height: 1.8;
  font-size: 12px;
}
.facility-card .inline-error {
  margin-top: 10px;
}
.text-button {
  padding: 0;
  font-size: 11px;
  text-decoration: underline;
}
.loading {
  padding: 38px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.market-loading {
  margin-top: 30px;
  padding: 28px;
  text-align: center;
  background: var(--soft);
  border-radius: 12px;
}
.market-loading h3 {
  font-size: 14px;
}
.market-loading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.market-section,
.apartment-section {
  margin-top: 35px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
}
.trade-card {
  padding: 26px;
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--soft);
  border-radius: 7px;
}
.segmented button {
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}
.segmented button.active {
  background: #fff;
  box-shadow: 0 1px 4px #29362014;
  font-weight: 650;
}
.trade-headline {
  display: flex;
  align-items: center;
  gap: 22px;
}
.trade-headline > strong {
  font:
    700 34px "DM Sans",
    sans-serif;
}
.trade-headline > strong small {
  font:
    12px Pretendard,
    sans-serif;
  margin-left: 4px;
}
.trade-headline > p {
  font-size: 11px;
  line-height: 1.8;
  color: #6d7964;
}
.trade-headline > p span {
  font-size: 10px;
  color: var(--muted);
}
.trade-chart {
  height: 170px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 30px;
}
.trade-column {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.trade-bar {
  position: relative;
  width: 100%;
  height: var(--bar-height);
  min-height: 2px;
  max-height: 140px;
  background: #7f9864;
  border-radius: 5px 5px 0 0;
}
.trade-bar.provisional {
  background: #d9ded4;
}
.trade-bar.missing {
  background: #eee;
  border-top: 1px dashed #c5cbbd;
}
.trade-bar > span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  padding: 5px 9px;
  background: #2b3824;
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.trade-bar:hover > span,
.trade-bar:focus-visible > span {
  opacity: 1;
}
.trade-column > small {
  font-size: 9px;
  color: var(--muted);
}
.panel-note {
  font-size: 10px;
  line-height: 1.8;
  color: #939d8c;
  margin-top: 15px;
}
.apartment-card {
  padding: 22px 26px;
}
.ranking-description {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 15px;
}
.apartment-list > li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 0;
}
.apartment-list > li + li {
  border-top: 1px solid var(--line);
}
.rank {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
  font:
    600 12px "DM Sans",
    sans-serif;
  color: #687b57;
  flex-shrink: 0;
}
.apartment-list h4 {
  font-size: 15px;
}
.apartment-list p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0;
}
.apartment-list small {
  font-size: 10px;
  color: #929b89;
}
.apartment-price {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.apartment-price > strong {
  font:
    600 20px "DM Sans",
    sans-serif;
  display: block;
}
.apartment-price > strong small {
  font-size: 10px;
  margin-left: 4px;
  font-weight: 400;
}
.apartment-price > a {
  font-size: 10px;
  color: #71835d;
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 35px;
}
.market-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.market-empty h3 {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 10px;
}
.report-disclaimer,
.data-date {
  font-size: 10px;
  color: #929b89;
  line-height: 1.8;
  margin-top: 14px;
}
.report-disclaimer {
  padding: 16px;
  background: #fafbf8;
  border-radius: 8px;
}
.platform-section {
  margin-top: 45px;
}
.platform-section .eyebrow {
  margin-bottom: 7px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.platform-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.platform-card:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #2936200a;
}
.platform-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.platform-card small {
  font-size: 9px;
  color: #87947a;
}
.platform-card h3 {
  font-size: 14px;
}
.platform-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
}
.platform-card > span:last-of-type {
  margin-left: auto;
  color: #a1ab97;
}
footer {
  max-width: 1016px;
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.footer-top .brand strong {
  font-size: 17px;
}
.footer-top .brand img {
  width: 30px;
  height: 30px;
}
.footer-top button {
  font-size: 10px;
  color: #838c7c;
  margin-left: 15px;
}
footer > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
  color: #a1a997;
  font-size: 10px;
}
dialog {
  width: 560px;
  max-width: calc(100% - 32px);
  max-height: 85vh;
  border: 0;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 18px 80px #17211120;
}
dialog::backdrop {
  background: #1a241c65;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.modal-header h2 {
  font-size: 19px;
}
.icon-button {
  width: 28px;
  height: 28px;
}
.modal-header button {
  font-size: 16px;
}
#modal-body p {
  font-size: 12px;
  line-height: 1.9;
  color: #75836a;
  margin-top: 12px;
}
#modal-body input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.saved-list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: #273320;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transition: 0.2s;
  z-index: 1000;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1100px) {
  footer {
    margin: 0 32px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .header {
    height: 70px;
  }
  .header-inner {
    padding: 0 20px;
    gap: 12px;
  }
  .header nav a {
    font-size: 11px;
    padding-left: 0;
    padding-right: 0;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand span {
    font-size: 8px;
  }
  .saved-trigger > span:nth-child(2) {
    display: none;
  }
  main {
    padding: 0 20px 40px;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    padding: 32px 0;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-art {
    align-self: center;
    width: 100%;
    max-width: 420px;
  }
  .search-box {
    padding: 19px;
  }
  .search-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .search-row {
    grid-template-columns: 1fr 1fr;
  }
  .search-row label:nth-child(3) {
    grid-column: 1/-1;
  }
  .search-row .primary {
    grid-column: 1/-1;
  }
  .search-note {
    font-size: 9px;
  }
  .report {
    padding-top: 28px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading > p {
    font-size: 10px;
    max-width: 120px;
  }
  .report-heading {
    flex-direction: column;
    gap: 13px;
  }
  .report-heading h2 {
    font-size: 25px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-copy {
    padding: 25px;
  }
  .overview-copy h3 {
    font-size: 24px;
  }
  .local-map {
    min-height: 260px;
  }
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .facility-card {
    padding: 20px;
  }
  .facility-card:last-child {
    grid-column: auto;
  }
  .trade-card,
  .apartment-card {
    padding: 20px;
  }
  .trade-headline {
    gap: 15px;
  }
  .trade-headline > strong {
    font-size: 29px;
  }
  .trade-headline > p {
    font-size: 10px;
  }
  .trade-chart {
    gap: 5px;
    height: 150px;
  }
  .trade-column > small {
    font-size: 8px;
  }
  .apartment-list > li {
    gap: 9px;
    align-items: flex-start;
  }
  .apartment-list h4 {
    font-size: 13px;
  }
  .apartment-list small {
    font-size: 9px;
  }
  .apartment-price > strong {
    font-size: 17px;
  }
  .apartment-price > strong small {
    display: block;
    font-size: 9px;
  }
  .rank {
    width: 24px;
    height: 24px;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .platform-card {
    padding: 17px;
  }
  .platform-section > .section-heading {
    flex-direction: column;
  }
  .platform-section > .section-heading > p {
    max-width: none;
  }
  .platform-section {
    margin-top: 32px;
  }
  footer {
    margin: 0 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .footer-top button {
    margin-left: 9px;
  }
  .footer-top .brand strong {
    font-size: 15px;
  }
  .footer-top .brand img {
    width: 26px;
    height: 26px;
  }
  #report-area {
    scroll-margin-top: 85px;
  }
}
