/* RENTU-FACELIFT-20261101 — site header + footer, shared by the new pages and the old
   base.html pages. Every rule is scoped to .rx-* so the old theme CSS cannot leak in. */
.rx-head, .rx-foot {
  --rx-green: #047831; --rx-green-2: #3bb273; --rx-tint: #edf9f2;
  --rx-ink: #10130f; --rx-tx: #2c342e; --rx-dim: #5f6b63; --rx-line: rgba(16,19,15,.10);
  --rx-fh: 'Urbanist', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --rx-fb: 'Atkinson Hyperlegible', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--rx-fb); color: var(--rx-tx); line-height: 1.5; box-sizing: border-box;
}
.rx-head *, .rx-foot * { box-sizing: border-box; }
.rx-head a, .rx-foot a { text-decoration: none; }
.rx-head ul, .rx-foot ul { list-style: none; margin: 0; padding: 0; }

/* header */
.rx-head { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rx-line); }
.rx-head .rx-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 28px; }
.rx-head .rx-logo { display: flex; align-items: center; flex: none; }
.rx-head .rx-logo img { height: 30px; width: auto; display: block; }
.rx-head .rx-nav { display: flex; gap: 4px; margin-right: auto; }
.rx-head .rx-nav a { display: block; padding: 8px 12px; border-radius: 999px; font-family: var(--rx-fh); font-weight: 600; font-size: 15px; color: var(--rx-ink); }
.rx-head .rx-nav a:hover, .rx-head .rx-nav a[aria-current="page"] { background: var(--rx-tint); color: var(--rx-green); }
.rx-head .rx-nav a .rx-free { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--rx-green); background: var(--rx-tint); border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 1px; }
.rx-head .rx-nav a:hover .rx-free { background: #fff; }
.rx-head .rx-side { display: flex; align-items: center; gap: 8px; flex: none; }
.rx-head .rx-signin { font-family: var(--rx-fh); font-weight: 700; font-size: 15px; color: var(--rx-ink); padding: 9px 14px; border-radius: 999px; }
.rx-head .rx-signin:hover { color: var(--rx-green); }
.rx-head .rx-join { font-family: var(--rx-fh); font-weight: 800; font-size: 15px; color: #fff; background: var(--rx-green); padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.rx-head .rx-join:hover { background: #036227; color: #fff; }
.rx-head details.rx-menu { display: none; position: relative; }
.rx-head details.rx-menu > summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rx-line); display: grid; place-items: center; }
.rx-head details.rx-menu > summary::-webkit-details-marker { display: none; }
.rx-head details.rx-menu > summary span, .rx-head details.rx-menu > summary span::before, .rx-head details.rx-menu > summary span::after { display: block; width: 18px; height: 2px; background: var(--rx-ink); border-radius: 2px; position: relative; content: ''; }
.rx-head details.rx-menu > summary span::before { position: absolute; top: -6px; }
.rx-head details.rx-menu > summary span::after { position: absolute; top: 6px; }
.rx-head details.rx-menu[open] > summary { background: var(--rx-tint); }
.rx-head .rx-drop { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--rx-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(16,19,15,.16); padding: 10px; }
.rx-head .rx-drop a { display: block; padding: 12px 14px; border-radius: 12px; font-family: var(--rx-fh); font-weight: 700; font-size: 16px; color: var(--rx-ink); }
.rx-head .rx-drop a small { display: block; font-family: var(--rx-fb); font-weight: 400; font-size: 13px; color: var(--rx-dim); }
.rx-head .rx-drop a:hover { background: var(--rx-tint); }
.rx-head .rx-drop hr { border: 0; border-top: 1px solid var(--rx-line); margin: 6px 4px; }
@media (max-width: 980px) {
  .rx-head .rx-nav, .rx-head .rx-signin { display: none; }
  .rx-head details.rx-menu { display: block; }
  .rx-head .rx-in { gap: 12px; justify-content: space-between; }
  .rx-head .rx-side { margin-left: auto; }
}
@media (max-width: 600px) {
  .rx-head .rx-in { padding: 0 16px; height: 60px; }
  .rx-head .rx-logo img { height: 26px; }
  .rx-head .rx-join { padding: 9px 14px; font-size: 14px; }
}

/* footer */
.rx-foot { background: #f6f8f6; border-top: 1px solid var(--rx-line); font-size: 14.5px; }
.rx-foot .rx-in { max-width: 1180px; margin: 0 auto; padding: 56px 24px 28px; }
.rx-foot .rx-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.rx-foot .rx-logo img { height: 28px; width: auto; display: block; margin-bottom: 14px; }
.rx-foot p { margin: 0 0 12px; color: var(--rx-dim); max-width: 40ch; }
.rx-foot .rx-ph { font-family: var(--rx-fh); font-weight: 800; font-size: 18px; color: var(--rx-ink); }
.rx-foot .rx-ph:hover { color: var(--rx-green); }
.rx-foot h4 { font-family: var(--rx-fh); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rx-ink); margin: 4px 0 14px; }
.rx-foot li { margin: 0 0 9px; }
.rx-foot li a { color: var(--rx-tx); }
.rx-foot li a:hover { color: var(--rx-green); }
.rx-foot .rx-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--rx-line); margin-top: 40px; padding-top: 20px; color: var(--rx-dim); font-size: 13.5px; }
.rx-foot .rx-base a { color: var(--rx-dim); }
.rx-foot .rx-base a:hover { color: var(--rx-green); }
@media (max-width: 860px) { .rx-foot .rx-cols { grid-template-columns: 1fr 1fr; } .rx-foot .rx-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .rx-foot .rx-in { padding: 40px 16px 96px; } .rx-foot .rx-cols { gap: 26px 20px; } }
