.platform-home .top {
  border-bottom: 1px solid #eaf0ef;
}
.platform-home .home-navigation {
  min-height: 68px;
  gap: .8rem 1.5rem;
}
.platform-home .home-navigation .brand {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -.045em;
}
.platform-home .home-navigation .nav-links {
  gap: clamp(.7rem, 2.2vw, 1.6rem);
  font-size: .875rem;
}
.platform-home .home-navigation .nav-links a {
  font-weight: 550;
}
.platform-home .home-navigation .account-link {
  padding: .4rem .75rem;
}

.platform-home .hero.wrap {
  margin: 22px auto 0;
  min-height: clamp(250px, 28vw, 345px);
  display: grid;
  align-items: center;
  border-radius: 24px;
  background: linear-gradient(90deg, #112921f0 0%, #142a20c2 34%, #142a2033 68%, #142a2012 100%),
    #263e2e url('/assets/home-travel-banner.jpg') center 56% / cover;
  color: #fff;
}
.platform-home .hero .hero-copy {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem);
}
.platform-home .hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 630;
  letter-spacing: -.04em;
  line-height: 1.16;
}
.platform-home .hero-copy p {
  color: #f0f5ef;
  font-size: clamp(.9rem, 1.45vw, 1.05rem);
  margin-top: .85rem;
  max-width: 28rem;
  font-weight: 430;
  line-height: 1.65;
}

.platform-home .condition-search {
  width: calc(100% - clamp(0px, 4vw, 56px));
  margin: -1.6rem auto 0;
  padding: .7rem;
  gap: .35rem;
  border-color: #dce7e7;
  border-radius: 16px;
  box-shadow: 0 12px 32px #183b3b12;
}
.platform-home .condition-search > label {
  padding: .55rem .8rem .45rem;
  font-weight: 550;
  line-height: 1.4;
}
.platform-home .condition-search input {
  min-height: 32px;
  font-weight: 440;
}
.platform-home .condition-search > button {
  align-self: stretch;
  border: 1px solid transparent;
  padding: .55rem 1.15rem;
  font-size: .9rem;
  font-weight: 600;
}
.platform-home .search-details {
  margin-top: .2rem;
  padding: .55rem .55rem .15rem;
}
.platform-home .search-details summary,
.platform-home .condition-options legend {
  font-size: .83rem;
  font-weight: 550;
}
.platform-home .app-install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-block: 1.5rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #dce8e3;
  border-radius: 18px;
  background: #f1f7f3;
  color: #17382c;
}
.platform-home .app-install h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
}
.platform-home .app-install p {
  margin: .25rem 0 0;
  color: #48635a;
}
.platform-home .app-install-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.platform-home .app-install-links a {
  display: grid;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
}
.platform-home .app-install-qr {
  display: block;
  border-radius: 6px;
  justify-self: center;
}
.platform-home .app-install-store {
  display: grid;
  align-content: center;
  min-height: 52px;
  padding: .5rem .9rem;
  border-radius: 10px;
  background: #17382c;
  color: #fff;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
.platform-home .app-install-links a:hover .app-install-store {
  background: #285342;
}
.platform-home .app-install-links a:focus-visible {
  outline: 2px solid #285342;
  outline-offset: 3px;
}
.platform-home .app-install-store > span {
  color: #d0e3d8;
  font-size: .875rem;
  font-weight: 450;
}
.platform-home .results {
  padding-top: clamp(1.6rem, 3vw, 2.35rem);
}
.platform-home .results-heading {
  gap: .6rem;
  flex-wrap: wrap;
}
.platform-home #results-title,
.platform-home .partner-banner h2 {
  font-size: clamp(1.32rem, 2.4vw, 1.9rem);
  line-height: 1.28;
  font-weight: 620;
  letter-spacing: -.035em;
}
.platform-home #search-status {
  margin-block: .45rem .65rem;
  color: var(--muted);
  font-size: .875rem;
}
.platform-home .discovery-layout {
  margin-top: .8rem;
}
.platform-home .view-tabs {
  border-radius: 11px;
  padding: .2rem;
  background: #f4f8f8;
}
.platform-home .view-tabs button {
  min-height: 36px;
  font-size: .83rem;
  font-weight: 550;
}
.platform-home .view-tabs button[aria-selected="true"] {
  color: #fff;
  background: #007483;
}

.platform-home .stay-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.platform-home .stay-list .stay-card {
  align-content: start;
}
.platform-home .stay-list .stay-card > a > img,
.platform-home .stay-list .directory-photo img {
  height: clamp(145px, 17vw, 210px);
  aspect-ratio: auto;
  object-fit: cover;
}
.platform-home .stay-list .directory-photo img {
  object-fit: contain;
}
.platform-home .stay-list .card-copy {
  padding: 1rem 1.1rem;
}
.platform-home .stay-list .card-copy h3 {
  font-size: 1.125rem;
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.platform-home .stay-list .button {
  font-size: .86rem;
  font-weight: 560;
}
.platform-home .partner-banner {
  border: 1px solid #dce8e3;
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.8rem);
  background: #f1f7f3;
}

@media (max-width: 940px) {
  .platform-home .stay-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .platform-home .hero.wrap { min-height: 220px; margin-top: 12px; border-radius: 18px; background-position: 62% 55%; }
  .platform-home .hero .hero-copy { padding: 1.65rem 1.15rem 2rem; }
  .platform-home .hero-copy p { max-width: 15rem; }
  .platform-home .condition-search { width: 100%; margin-top: .7rem; padding: .55rem; gap: .4rem; }
  .platform-home .condition-search > label { padding: .4rem .55rem; }
}
@media (max-width: 520px) {
  .platform-home .home-navigation { flex-wrap: wrap; padding-block: .65rem; gap: .45rem .9rem; }
  .platform-home .home-navigation .nav-links { flex-wrap: wrap; gap: .35rem .7rem; font-size: .8rem; }
  .platform-home .stay-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .platform-home .app-install-qr { display: none; }
}
