/* Planner-first layout: one task, three primary destinations, less supporting chrome. */
.site-header {
  min-height: 88px;
}

.site-header nav {
  gap: 8px;
}

.site-header nav a,
.site-header nav .text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 9px;
}

.site-header nav a:hover,
.site-header nav .text-button:hover {
  background: var(--mint);
}

.site-header nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header nav .nav-active::after {
  left: 11px;
  right: 11px;
}

@media (max-width: 760px) {
  body[data-screen="home"] main {
    max-width: 820px;
    padding-top: 34px;
  }

  .home-grid {
    display: block;
  }
}

.planner-column {
  max-width: none;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(20, 43, 54, .06);
}

#home-title {
  max-width: none;
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -3px;
}

.hero-copy {
  margin: 12px 0 23px;
  font-size: 14px;
}

.location-actions,
.location-status,
.planner-footnote,
#home-map-slot {
  display: none;
}

.smart-search {
  margin-top: 12px;
  border-bottom: 0;
}

#find-button {
  margin-top: 18px;
}

.popular-section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-top: 6px;
  font-size: 22px;
}

.destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.destination-card {
  min-height: 105px;
  padding: 16px;
}

.destination-card .place-icon {
  margin-bottom: 7px;
}

.destination-card .place-arrow {
  top: 17px;
}

.destination-card .place-arrow svg {
  width: 16px;
  height: 16px;
}

.icon-button svg,
.assistant-close svg {
  width: 20px;
  height: 20px;
}

.demo-note {
  margin-top: 10px;
  padding: 16px 0;
}

.demo-note .info-icon {
  width: 18px;
  height: 18px;
  border: 0;
}

.demo-note p {
  font-size: 11px;
}

.site-footer {
  max-width: 820px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-header nav .text-button {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .site-header nav a {
    display: none;
  }

  .site-header nav .text-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  body[data-screen="home"] main {
    padding: 12px 16px 0;
  }

  .planner-column {
    padding: 23px 18px 20px;
    border-radius: 16px;
    box-shadow: none;
  }

  #home-title {
    margin-top: 10px;
    font-size: 39px;
    letter-spacing: -2px;
  }

  .hero-copy {
    margin: 9px 0 16px;
    font-size: 12px;
    line-height: 1.7;
  }

  .popular-section {
    margin-top: 21px;
  }

  .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .destination-card {
    min-height: 96px;
    padding: 12px 9px;
  }

  .destination-card small,
  .destination-card .place-arrow {
    display: none;
  }

  .destination-card strong {
    font-size: 10px;
    line-height: 1.45;
  }

  .demo-note {
    align-items: flex-start;
    padding: 14px 0 4px;
  }

  .demo-note .text-button {
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .brand > span:last-child small {
    display: none;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .destination-card .place-icon {
    margin: 0;
  }
}
