/* Site chrome after the journeys rebuild (docs/product/journeys.md), the same look as the server-rendered answer pages
   (web/static/seo.css): phones = logo, search, menu sheet; desktop = I rent / I own menus, the search pill, ES, Sign in;
   signed-in landlords get Buildings / Look up / Account at the bottom. Also the home ("What happened?") and the
   footer. Loaded last, so these rules win over the older app.css / mobile.css ones. Used by the app and share pages. */
:root { --nav-h: 64px; --tabbar-h: 0px; }
@media (min-width: 900px) { :root { --nav-h: 72px; } }

/* header */
.nav { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--sep-2); padding-top: env(safe-area-inset-top); }
.nav-inner, .nav-in { max-width: calc(var(--page, 1216px) + 2 * var(--inset, 24px)); margin: 0 auto; padding: 0 max(var(--inset, 16px), env(safe-area-inset-right)) 0 max(var(--inset, 16px), env(safe-area-inset-left)); height: var(--nav-h); display: flex; align-items: center; gap: 8px; }
.nav .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; white-space: nowrap; margin-right: auto; }
.nav .brand-mark, .footer .brand-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; padding: 0; flex: none; box-shadow: none; }
.nav .brand-word, .footer .brand-word { font: 700 24px/1 var(--display); letter-spacing: 0; color: var(--label); }
.nav .brand-word i, .footer .brand-word i { font-style: normal; }
.nav-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--label); cursor: pointer; list-style: none; border: 0; background: none; padding: 0; }
.nav-ic::-webkit-details-marker { display: none; }
.nav-ic .ico { width: 23px; height: 23px; }
.nav-ic:hover { background: var(--fill); }
.menu > summary .i-close, .menu[open] > summary .i-open { display: none; }
.menu[open] > summary .i-close { display: block; }
.menu-p { position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top)); bottom: 0; z-index: 61; background: #fff; padding: 8px max(var(--inset, 16px), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; animation: ce-sheet .18s ease-out; }
@keyframes ce-sheet { from { opacity: 0; transform: translateY(-6px); } }
.menu-h { margin: 22px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--label-3); }
.menu-p > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--sep-2); color: var(--label); text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.menu-p > a .chev, .dd-p .chev { color: var(--label-3); width: 20px; height: 20px; flex: none; }
.m-sign small { font-size: 15px; font-weight: 400; color: var(--label-2); }
.menu-f { margin: 24px 0 0; font-size: 15.5px; color: var(--label-2); line-height: 2; }
.menu-f a, .menu-f .linkish { color: var(--label-2); text-decoration: none; font: inherit; }
html.menu-open { overflow: hidden; }
.nav-d, .nav-s, .nav-lang, .nav-sign { display: none; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--label); }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary .dn { width: 16px; height: 16px; color: var(--label-3); transition: transform .15s; }
.dd[open] > summary { background: var(--fill); }
.dd[open] > summary .dn { transform: rotate(180deg); }
.dd-p { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 8px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--sep-2), 0 16px 40px rgb(17 22 20 / .12); animation: ce-sheet .14s ease-out; }
.dd-p a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; color: var(--label); text-decoration: none; font-weight: 500; }
.dd-p a:hover { background: var(--fill); }
.dd-p .chev { width: 16px; height: 16px; }
.dd-p .m-sign { flex-direction: column; align-items: flex-start; gap: 0; border-top: 1px solid var(--sep-2); border-radius: 0 0 12px 12px; margin-top: 4px; }
.dd-p .m-sign small { font-size: 13.5px; }
@media (min-width: 900px) {
  .nav-inner, .nav-in { gap: 12px; }
  .nav .brand { margin-right: 28px; }
  .nav-d { display: flex; gap: 4px; margin-right: auto; }
  .nav-s { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(340px, 30vw); height: 46px; padding: 0 4px 0 18px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--label); background: #fff; color: var(--label-3); font: 400 15.5px var(--font); cursor: text; text-align: left; }
  .nav-s:hover { box-shadow: inset 0 0 0 2px var(--accent); }
  .nav-s-go, .nav-s button { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
  .nav-s-go .ico { width: 18px; height: 18px; }
  .nav-s input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--label); outline: none; }
  .nav-lang { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--sep); font: 600 14px var(--font); color: var(--label-2); text-decoration: none; cursor: pointer; }
  .nav-sign { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 600; color: var(--label); text-decoration: none; }
  .nav-find, .menu { display: none; }
}
.nav .progress { position: absolute; left: 0; right: 0; bottom: -1px; }

/* signed-in landlords: Buildings · Look up · Account (phones at the bottom, desktop next to the logo) */
.ll-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: #fff; border-top: 1px solid var(--sep-2); }
.ll-tabs[hidden] { display: none; }
.ll-tabs a { display: grid; justify-items: center; gap: 3px; min-height: 52px; align-content: center; color: var(--label-3); text-decoration: none; font-size: 12.5px; font-weight: 600; }
.ll-tabs a .ico { width: 24px; height: 24px; }
.ll-tabs a[aria-current="page"] { color: var(--accent); }
html.ll-on { --tabbar-h: 66px; }
html.ll-on body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .ll-tabs { position: static; display: flex; gap: 6px; padding: 0; border: 0; background: none; max-width: calc(var(--page, 1216px) + 2 * var(--inset, 24px)); margin: 0 auto; }
  html.ll-on { --tabbar-h: 0px; }
  html.ll-on body { padding-bottom: 0; }
  .ll-tabs { position: fixed; top: env(safe-area-inset-top); left: 50%; transform: translateX(-50%); bottom: auto; right: auto; height: var(--nav-h); align-items: center; z-index: 61; }
  .ll-tabs a { display: inline-flex; min-height: 44px; padding: 0 14px; font-size: 15.5px; color: var(--label); }
  .ll-tabs a .ico { display: none; }
  .ll-tabs a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
  html.ll-on .nav-d { visibility: hidden; }
}

/* footer */
.footer { margin-top: clamp(48px, 8vw, 88px); background: var(--cool); border: 0; }
.footer-inner { max-width: calc(var(--page, 1216px) + 2 * var(--inset, 24px)); margin: 0 auto; padding: 32px max(var(--inset, 16px), env(safe-area-inset-right)) 8px max(var(--inset, 16px), env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; font-size: 15px; color: var(--label-2); }
.footer .fc { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.footer .fc-brand { grid-column: 1 / -1; }
.footer .brand { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.footer-nla { margin: 12px 0 0; max-width: 32em; line-height: 1.5; font-size: 14.5px; }
.footer-nla strong { color: var(--label); }
.footer .fc-h { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--label); }
.footer .fc a { color: var(--label); text-decoration: none; line-height: 1.5; padding: 5px 0; }
.footer .fc a:hover { text-decoration: underline; }
.footer-legal { max-width: calc(var(--page, 1216px) + 2 * var(--inset, 24px)); margin: 0 auto; padding: 18px max(var(--inset, 16px), env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(var(--inset, 16px), env(safe-area-inset-left)); display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 13.5px; line-height: 2.4; }
.footer-legal a, .footer-legal .linkish { color: var(--label-2); text-decoration: none; font: inherit; min-height: 0; }
.footer-legal a:hover { text-decoration: underline; }
/* the docked Ask bar floats over the page bottom: wherever it can show, the footer ends above it, so every link can be
   read and reached (#125) */
html.dock-room .footer { padding-bottom: var(--dock-room, 0px); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-top: 44px; }
  .footer .fc-brand { grid-column: auto; }
}

/* home: What happened? */
.wh { max-width: 600px; margin: 0 auto; padding: 28px 0 8px; }
.wh h1 { font: 700 clamp(2.9rem, 2.2rem + 2.6vw, 4.2rem)/1 var(--display); letter-spacing: -.02em; margin: 0; }
.wh .lead { margin: 12px 0 0; font-size: clamp(17.5px, 16.5px + .4vw, 20px); line-height: 1.45; color: var(--label-2); }
.sit { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.sit a { display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 16px 22px 16px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sep); color: var(--label); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.sit a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.sit a:active { transform: scale(.99); }
.sit-i { flex: none; width: 28px; color: var(--accent); }
.sit-i .ico { width: 26px; height: 26px; }
.sit .t { font-size: 19px; font-weight: 650; letter-spacing: -.012em; line-height: 1.3; }
.sit .t small { display: block; margin-top: 3px; font-size: 16px; font-weight: 400; color: var(--label-2); letter-spacing: 0; }
.wh-or { margin: 30px 0 12px; font-size: 17px; font-weight: 650; }
html .wh .big-search { position: relative; left: auto; right: auto; top: auto; margin: 0; z-index: 5; }
html .wh .big-search .box { height: 64px; padding: 0 8px 0 22px; background: #fff; box-shadow: inset 0 0 0 2px var(--label); }
html .wh .big-search .box:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--ring); }
html .wh .big-search .go { width: 48px; height: 48px; box-shadow: none !important; }
html .wh .bs-f input { font-size: 17px; }
.wh .suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); }
.wh-own { margin: 30px 0 0; font-size: 16px; color: var(--label-2); line-height: 1.5; }
.wh-own a { font-weight: 650; text-decoration: none; }
@media (max-width: 640px) {
  .wh { padding-top: 18px; }
  .sit a { min-height: 76px; padding: 14px 18px; gap: 16px; border-radius: 22px; }
  .sit .t { font-size: 18px; }
  .sit .t small { font-size: 15px; }
}

/* signed in: the initials open Account; the visitor's menu and Sign in step aside */
.acct-b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cool); color: var(--label); font-weight: 650; font-size: 14px; text-decoration: none; flex: none; }
.acct-b:hover { background: var(--cool-2); }
html.ll-on .nav-sign { display: none; }

/* address page: the situations for this address lead (the topics below become "More about your home") */
.prop-cta .sit-h { margin: 22px 0 10px; font: 700 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.1 var(--display); }
.sit-s { margin-top: 0; gap: 10px; }
.sit-s a { min-height: 68px; padding: 12px 18px; border-radius: 20px; gap: 14px; }
.sit-s .t { font-size: 17px; }
.sit-s .t small { font-size: 14.5px; }
