/* The revamp shell and homepage (site revamp D5, D6, D8, D9–D14, D28; the build loop's item 2b), behind REVAMP_SHELL.
   Plus Jakarta Sans headings, Inter body, black and orange on off-white (D28); values are Main.dc.html's own. The orange
   comes at three strengths for legibility: #F25A1D for the mark and big display words, #D2440E under white text,
   #B93A0B for small orange text on the ground. More than one orange action may share a surface (D106 item 7). */
:root {
  --rv-ink: #141414; --rv-body: #4A4640; --rv-soft: #5A5650; --rv-hint: #7A746C;
  --rv-line: #C9C4BD; --rv-line2: #D6D1CA; --rv-rule: #E4E0DA; --rv-ground: #F7F5F2; --rv-seg: #EDE9E3;
  --rv-orange: #F25A1D; --rv-orange-btn: #D2440E; --rv-orange-text: #B93A0B; --rv-orange-ink: #8F2C07;
  --rv-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --rv-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Old pages in the new shell: their own tokens take the revamp's values, so their words keep their places in the new
   type and colours (D121). The header sits in the flow now, so the old pages' room for a floating header goes. */
body.rv {
  --off-white: #F7F5F2; --near-black: #141414; --signal-orange: #D2440E; --signal-orange-press: #B93A0B;
  --deep-orange: #B93A0B; --warm-gray: #5A5650; --light-gray: #7A746C; --line: #E4E0DA; --line-strong: #D6D1CA;
  --neutral-fill: #EDE9E3;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 0px;
  background: var(--rv-ground); color: var(--rv-ink); font-family: var(--rv-text);
  min-height: 100vh; display: flex; flex-direction: column;
}
body.rv > main, body.rv > .rv-grow { flex: 1 0 auto; }
body.rv h1, body.rv h2, body.rv h3 { font-family: var(--rv-display); letter-spacing: -0.03em; }
body.rv :focus-visible { outline: 3px solid var(--rv-orange-btn); outline-offset: 2px; }

.rv-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; width: 100%; }
.rv-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rv-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--rv-ink); color: #FFFFFF; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.rv-skip:focus { top: 12px; }
.rv-accent { color: var(--rv-orange); }

/* Header (D5) */
.rv-header { background: var(--rv-ground); border-bottom: 1px solid var(--rv-rule); position: relative; z-index: 20; font-family: var(--rv-text); }
.rv-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.rv-logo { display: inline-flex; align-items: center; gap: 15px; color: var(--rv-ink); text-decoration: none; }
/* The wordmark is the brand's, not the revamp's display type: Satoshi Bold, "re" in the ink, "Lease" in Signal Orange. */
.rv-word { font-family: 'Satoshi', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 38px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.rv-word span { color: #FF6B35; }
.rv-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.rv-nav a { color: var(--rv-ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rv-nav a:hover { color: var(--rv-orange-text); }
.rv-nav a[aria-current="page"] { font-weight: 700; }
.rv-city { gap: 6px; border-left: 1px solid var(--rv-line2); padding-left: 24px; }
.rv-nav .rv-login { background: var(--rv-ink); color: #FFFFFF; border-radius: 8px; padding: 0 18px; font-weight: 600; }
.rv-nav .rv-login:hover { color: #FFFFFF; background: #000000; }
.rv-back { display: inline-flex; align-items: center; gap: 6px; color: var(--rv-ink); font-weight: 600; font-size: 15px; min-height: 44px; text-decoration: none; }

/* Footer (D8): black, at the bottom of the page even when the page is short */
.rv-footer { background: var(--rv-ink); color: #FFFFFF; margin-top: auto; font-family: var(--rv-text); }
.rv-footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.rv-logo-rev { color: #FFFFFF; gap: 10px; }
.rv-logo-rev .rv-word { font-size: 22px; }
.rv-logo-rev .rv-mark { width: 28px; height: 28px; }
.rv-foot-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.rv-foot-nav a { color: #FFFFFF; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rv-foot-nav a:hover { text-decoration: underline; }

/* Buttons and links */
.rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 0; font: 600 15px/1 var(--rv-text); text-decoration: none; cursor: pointer; }
.rv-btn-dark { background: var(--rv-ink); color: #FFFFFF; }
.rv-btn-dark:hover { background: #000000; color: #FFFFFF; }
.rv-link { color: var(--rv-orange-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.rv-link:hover { color: var(--rv-orange-ink); }

/* The homepage */
.rv-home { margin: 0; }
.rv-home main { flex: 1 0 auto; }
.rv-home h1, .rv-home h2, .rv-home h3 { margin: 0; }
.rv-home main a { color: var(--rv-orange-text); }

.rv-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rv-rule); }
.rv-hero-img { position: absolute; inset: 0; }
.rv-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.rv-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,245,242,0.96) 0%, rgba(247,245,242,0.86) 38%, rgba(247,245,242,0) 62%); }
.rv-hero-in { position: relative; padding-top: 72px; padding-bottom: 80px; }
.rv-hero-copy { max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.rv-hero h1 { font-family: var(--rv-display); font-weight: 800; font-size: clamp(42px, 5.4vw, 68px); line-height: 1; letter-spacing: -0.05em; color: var(--rv-ink); }
.rv-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--rv-body); max-width: 500px; }
.rv-search-tabs { display: flex; gap: 2px; }
.rv-search-tab { background: #FFFFFF; border: 1px solid var(--rv-line2); border-bottom-color: #FFFFFF; margin-bottom: -1px; position: relative; z-index: 1; border-radius: 10px 10px 0 0; padding: 10px 22px; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
.rv-search-form { background: #FFFFFF; border: 1px solid var(--rv-line2); border-radius: 0 12px 12px 12px; padding: 8px; display: flex; gap: 8px; align-items: stretch; box-shadow: 0 8px 24px rgba(20,20,20,0.06); }
.rv-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 52px; }
.rv-field input { flex: 1; min-width: 0; border: 0; background: none; font: 500 16px var(--rv-text); color: var(--rv-ink); }
.rv-field input:focus { outline: none; }
.rv-field:focus-within { outline: 3px solid var(--rv-orange-btn); outline-offset: 2px; border-radius: 8px; }
.rv-search-form .rv-btn { padding: 0 26px; min-height: 52px; }
.rv-search-line { margin: -10px 0 0; font-size: 14px; color: var(--rv-soft); }
.rv-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-door { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 12px; padding: 16px; color: var(--rv-ink) !important; text-decoration: none; min-height: 44px; }
.rv-door:hover { border-color: var(--rv-line); }
.rv-door > svg { margin-left: auto; flex: 0 0 auto; }
.rv-door-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.rv-door-orange { background: var(--rv-orange-btn); }
.rv-door-dark { background: var(--rv-ink); }
.rv-door-text { display: flex; flex-direction: column; gap: 2px; }
.rv-door-q { font-weight: 600; font-size: 15px; line-height: 1.3; }
.rv-door-a { font-weight: 600; font-size: 14px; color: var(--rv-orange-text); }
.rv-claimed { margin: 0; font-size: 14px; color: var(--rv-soft); }
.rv-claimed a { font-weight: 600; text-decoration: none; }

.rv-sec { padding: 72px 0; border-bottom: 1px solid var(--rv-rule); }
.rv-sec h2 { font-family: var(--rv-display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.045em; color: var(--rv-ink); }
.rv-sub { margin: 8px 0 0; color: var(--rv-body); font-size: 16px; }
.rv-sub a { font-weight: 600; text-decoration: none; }
.rv-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rv-head-link { color: var(--rv-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rv-head-link:hover { text-decoration: underline; }

.rv-invite { margin-top: 28px; border: 2px dashed var(--rv-line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.rv-invite p { margin: 0; }
.rv-invite-t { font-family: var(--rv-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.rv-invite-b { color: var(--rv-body); font-size: 15px; }
.rv-invite-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px !important; font-weight: 600; font-size: 15px; }
.rv-invite-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.rv-dir { background: #FFFFFF; }
.rv-dir-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--rv-rule); margin: 24px 0 24px; }
.rv-dir-tab { border-bottom: 3px solid var(--rv-orange); margin-bottom: -1px; padding: 10px 2px; font-weight: 600; font-size: 16px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.rv-biz-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rv-biz { background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.rv-photo { margin: 0; position: relative; aspect-ratio: 16 / 9; background: #F1EEE9; }
.rv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.rv-photo figcaption { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 11px; color: #FFFFFF; background: rgba(20,20,20,0.6); padding: 2px 6px; border-radius: 4px; }
.rv-photo.is-photoless figcaption { display: none; }
.rv-tile { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.rv-tile span { font-family: var(--rv-display); font-weight: 800; font-size: 28px; color: var(--rv-ink); }
.rv-biz-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rv-biz-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rv-biz h3 { font-family: var(--rv-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.rv-badge { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--rv-soft); border: 1px solid var(--rv-line); padding: 2px 8px; border-radius: 999px; }
.rv-badge-books { background: var(--rv-ink); color: #FFFFFF; border-color: var(--rv-ink); }
.rv-biz-meta { font-size: 14px; color: var(--rv-soft); }
.rv-biz-offers { font-size: 13px; color: var(--rv-soft); }
.rv-biz-links { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; font-size: 14px; }
.rv-claim { color: var(--rv-ink) !important; text-decoration: underline; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.rv-empty { color: var(--rv-body); }

.rv-seg { display: inline-flex; background: var(--rv-seg); border-radius: 10px; padding: 4px; gap: 2px; flex-wrap: wrap; }
html:not(.rv-js) .rv-seg { display: none; }
.rv-seg button { background: none; color: var(--rv-ink); border: 0; border-radius: 7px; padding: 10px 16px; font: 500 14px var(--rv-text); min-height: 44px; cursor: pointer; }
.rv-seg button[aria-selected="true"] { background: var(--rv-ink); color: #FFFFFF; font-weight: 600; }
.rv-how-panel { margin-top: 28px; }
.rv-how-panel[hidden] { display: none; }
.rv-how-problem { margin: 0; padding-bottom: 20px; border-bottom: 2px solid var(--rv-ink); font-family: var(--rv-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.03em; }
.rv-steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.rv-steps li { display: flex; gap: 14px; align-items: flex-start; }
.rv-step-n { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 6px; background: var(--rv-orange-btn); color: #FFFFFF; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rv-step-t { display: block; font-family: var(--rv-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 4px; }
.rv-step-b { display: block; color: var(--rv-body); font-size: 15px; }
.rv-how .rv-btn-dark { color: #FFFFFF !important; }

.rv-faq { background: #FFFFFF; border-bottom: 0; }
.rv-faq-in { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.rv-faq-list { border-top: 1px solid var(--rv-rule); }
.rv-faq-item { border-bottom: 1px solid var(--rv-rule); }
.rv-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; min-height: 44px; }
.rv-faq-item summary::-webkit-details-marker { display: none; }
.rv-faq-item summary h3 { font-family: var(--rv-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.35; }
.rv-faq-sign { flex: 0 0 20px; width: 20px; height: 20px; position: relative; }
.rv-faq-sign::before, .rv-faq-sign::after { content: ''; position: absolute; left: 2px; right: 2px; top: 9px; height: 2.4px; border-radius: 2px; background: var(--rv-orange-btn); }
.rv-faq-sign::after { transform: rotate(90deg); transition: transform 0.15s; }
.rv-faq-item[open] .rv-faq-sign::after { transform: rotate(0deg); }
.rv-faq-item p { margin: -6px 0 22px; color: var(--rv-body); font-size: 16px; line-height: 1.6; max-width: 680px; }
.rv-promise { padding: 22px 0; border-bottom: 1px solid var(--rv-rule); color: var(--rv-body); }

/* The city follows the visitor (D107, D108; item 3), behind REVAMP_CITY: the header's location picker, and the homepage's
   line when we can't tell where the visitor is. */
.rv-chev { flex: 0 0 auto; }
.rv-pick { position: absolute; top: calc(100% - 4px); right: max(16px, calc((100% - 1200px) / 2 + 32px)); z-index: 30; width: min(380px, calc(100% - 32px)); box-sizing: border-box;
  background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rv-pick[hidden] { display: none; }
.rv-pick-label { font-size: 14px; font-weight: 600; color: var(--rv-ink); }
.rv-pick-row { display: flex; gap: 8px; }
.rv-pick-row input { flex: 1; min-width: 0; min-height: 44px; box-sizing: border-box; border: 1px solid var(--rv-line); border-radius: 8px; padding: 0 12px; font: 500 16px var(--rv-text); color: var(--rv-ink); background: #FFFFFF; }
.rv-pick-row input:focus-visible { outline: 3px solid var(--rv-orange-btn); outline-offset: 1px; }
.rv-pick-msg { margin: 0; font-size: 14px; color: var(--rv-body); }
.rv-pick-msg:empty { display: none; }
.rv-unknown { margin: 10px 0 0; font-size: 14px; color: var(--rv-soft); }
.rv-unknown[hidden] { display: none; }
.rv-textbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--rv-ink); text-decoration: underline; min-height: 32px; cursor: pointer; }
.rv-textbtn:hover { color: var(--rv-orange-text); }
.rv-biz-row[aria-busy="true"] { opacity: 0.6; }

/* The site's links to the board (item 8f, REVAMP_OPPORTUNITIES; Main.dc.html): the search's second tab, the section's
   head with "See all N" and "Post an opportunity", and the city's posts beside the invitation (D12). */
button.rv-search-tab { font-family: var(--rv-text); color: var(--rv-ink); cursor: pointer; }
.rv-search-tab[aria-selected="false"] { background: none; border-color: transparent; font-weight: 500; color: var(--rv-soft); }
.rv-search-tab[aria-selected="false"]:hover { color: var(--rv-ink); }
.rv-field-city { flex: 0 1 200px; border-right: 1px solid var(--rv-rule); }
.rv-search-line[hidden], [data-rv-hint][hidden] { display: none; }
.rv-btn-orange { background: var(--rv-orange-btn); color: #FFFFFF !important; }
.rv-btn-orange:hover { background: var(--rv-orange-ink); }
.rv-opps-head { align-items: flex-end; }
.rv-opps-go { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.rv-opps-go [hidden] { display: none; }
.rv-opps-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; }
.rv-opps-row[aria-busy="true"] { opacity: 0.6; }
.rv-opps-row .rv-invite { margin-top: 0; flex: 1 1 100%; box-sizing: border-box; justify-content: center; }
.rv-opps-row[data-count="1"] .rv-invite { flex: 1 1 460px; min-width: 0; }
.rv-invite[hidden], .rv-invite-busy[hidden] { display: none; }
.rv-invite-busy { font-size: 14px; color: var(--rv-ink); }
.rv-invite-busy a { font-weight: 600; text-decoration: underline; color: var(--rv-ink) !important; }
.rv-opp { flex: 1 1 460px; min-width: 0; background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 12px; overflow: hidden; display: flex; }
.rv-opps-row[data-count="3"] .rv-opp { flex-basis: 320px; }
.rv-opp-mono { flex: 0 0 120px; background: var(--rv-seg); display: flex; align-items: center; justify-content: center; font-family: var(--rv-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; color: var(--rv-soft); }
.rv-opp-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-opp-kind { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-ink); }
.rv-opp-space_wanted { color: var(--rv-orange-text); }
.rv-opp-body h3 { margin: 2px 0 0; font-family: var(--rv-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; color: var(--rv-ink); }
.rv-opp-where { font-size: 13px; color: var(--rv-soft); }
.rv-opp-terms { font-size: 14px; font-weight: 600; color: var(--rv-ink); }
.rv-opp .rv-link { margin-top: 2px; font-size: 14px; }
@media (max-width: 640px) {
  .rv-field-city { flex: 1 1 auto; border-right: 0; border-bottom: 1px solid var(--rv-rule); }
  .rv-opp-mono { flex-basis: 84px; font-size: 24px; }
  .rv-opps-go { width: 100%; justify-content: space-between; }
  /* Four items don't fit one row at phone width: the city takes its own row, without the divider. */
  .rv-nav:has(> a[href^="https://app.releaseapp.ai/opportunities"]) .rv-city { flex-basis: 100%; border-left: 0; padding-left: 0; }
}

@media (max-width: 980px) {
  .rv-hero-img { position: relative; height: 300px; }
  .rv-hero-scrim { display: none; }
  .rv-hero-in { padding-top: 32px; padding-bottom: 48px; }
  .rv-hero-copy { max-width: none; }
  .rv-biz-row { grid-template-columns: 1fr; }
  .rv-steps { grid-template-columns: 1fr; gap: 20px; }
  .rv-faq-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .rv-wrap { padding: 0 16px; }
  .rv-header-in { padding-top: 12px; padding-bottom: 8px; gap: 4px 16px; }
  .rv-word { font-size: 33px; }
  .rv-logo { gap: 12px; }
  .rv-logo .rv-mark { width: 42px; height: 42px; }
  .rv-logo-rev { gap: 10px; }
  .rv-logo-rev .rv-word { font-size: 22px; }
  .rv-logo-rev .rv-mark { width: 28px; height: 28px; }
  .rv-nav { gap: 4px 18px; font-size: 14px; width: 100%; }
  .rv-city { padding-left: 14px; }
  .rv-header-in { position: relative; }
  .rv-nav .rv-login { position: absolute; top: 12px; right: 16px; padding: 0 14px; min-height: 40px; }
  .rv-header-task .rv-header-in { flex-wrap: nowrap; }
  .rv-hero-img { height: 220px; }
  .rv-search-form { flex-direction: column; }
  .rv-doors { grid-template-columns: 1fr; }
  .rv-sec { padding: 48px 0; }
  .rv-seg { width: 100%; flex-wrap: nowrap; }
  .rv-seg button { flex: 1 1 0; padding: 8px 6px; font-size: 13px; line-height: 1.2; }
  .rv-foot-nav { gap: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) { .rv-faq-sign::after { transition: none; } }
