/* Keep the apartment landing's original type, palette, imagery and components. */
.site-header .desktop-nav {
  display: flex;
  gap: clamp(15px, calc(1.4vw + 2px), 21px);
  color: var(--text);
}

.site-header .desktop-nav a {
  position: relative;
  justify-content: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.05em;
  word-spacing: -.04em;
}

.site-header .desktop-nav a[aria-current="location"] {
  color: var(--ink);
  font-weight: 700;
}

.site-header .desktop-nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  inset: auto 2px 3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-header .header-apply,
.site-header .header-apply:hover {
  color: #0f172a;
  background: linear-gradient(103deg, #1098f0 0%, #32cfdc 54%, #39e3a4 100%);
}

.header-apply .cta-label {
  display: inline-block;
  transform: scale(1.08);
  font-weight: 750;
}

.trust-section, .greeting-section, .experience-section { position: relative; }
.section-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  top: 0;
  left: 0;
  pointer-events: none;
}

.home-role-switch { width: max-content; max-width: 100%; margin: 0 0 22px; }
.home-role-switch button { min-height: 44px; font-size: .875rem; }
.home-role-switch [data-guide-role="guardian"][aria-pressed="true"] { background: var(--owner); }
.home-role-switch [data-guide-role="walker"][aria-pressed="true"] { background: var(--walker); }
.home-page #conditions { padding-top: clamp(48px, 6vw, 84px); }

#trust .role-intro > [data-role-copy="intro"] {
  max-width: 44em;
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.8;
}
.trust-steps .age-requirement {
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}

.home-page .greeting-copy .greeting-full-link {
  display: flex;
  min-height: 44px;
  margin: 5px 0 0;
  color: var(--walker-ink);
  text-decoration: underline;
  text-underline-offset: .24em;
}

.flow-overview .chat-example { margin-top: 5px; min-height: 44px; color: var(--walker-ink); }
.home-page .flow-overview .steps h3 { font-size: 1rem; line-height: 1.6; margin: 14px 0 9px; }
.app-feature-heading { margin: 44px 0 25px; padding-top: 30px; border-top: 1px solid var(--line); }
.app-feature-heading h3 { font-size: 1.25rem; line-height: 1.55; }
.app-feature-heading p { color: var(--text); margin-top: 6px; }

.home-page .participation-contact { margin-top: clamp(44px, 6vw, 76px); border-top: 1px solid var(--line); padding-top: 32px; }
.operator-hours { display: block; color: var(--text); font-size: .875rem; }
.footer-contact .operator-hours { line-height: 1.5; }

@media (max-width: 780px) {
  .site-header { position: relative; }
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand apply" "nav nav";
    row-gap: 0;
    padding-top: 7px;
  }
  .site-header .brand { grid-area: brand; justify-self: start; }
  .site-header .header-apply { grid-area: apply; justify-self: end; }
  .site-header .desktop-nav {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: clamp(5px, 2vw, 17px);
    margin: 4px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header .desktop-nav::-webkit-scrollbar { display: none; }
  .site-header .desktop-nav a { flex: 0 0 auto; min-width: 44px; padding-inline: 2px; font-size: .9rem; }
  .site-header .desktop-nav a:focus-visible { outline-offset: -3px; }
}

@media (max-width: 600px) {
  .home-role-switch { margin-bottom: 17px; }
  .home-page #conditions { padding-top: 46px; }
  .app-feature-heading { margin: 32px 0 19px; padding-top: 23px; }
}

@media (max-width: 380px) {
  .site-header .desktop-nav {
    width: calc(100% + 24px);
    margin-inline: -12px;
    justify-content: safe center;
    gap: 4px;
  }
  .site-header .desktop-nav a { padding-inline: 1px; }
}

@media (max-width: 344px) {
  .site-header .desktop-nav { gap: 3px; }
  .site-header .desktop-nav a { padding-inline: 1px; font-size: .875rem; }
}
/* The same role colors identify the matching pre-registration choices in the hero. */
.participation-card .participation-note,
.participation-card .walker-checks {
  margin-bottom: 24px;
}

.participation-card > .participation-apply {
  align-self: flex-start;
  margin-top: auto;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  background: var(--owner);
}

.participation-walker > .participation-apply { background: var(--walker); }

@media (max-width: 700px) {
  .participation-card > .participation-apply { width: 100%; }
}
