/* ===================================================================
   Guardian Lead Safety — Design System
   Professional static site stylesheet
   =================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --brand: #1e40af;
  --brand-light: #3b82f6;
  --brand-dark: #1e3a8a;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-warm: #fefdfb;
  --bg-dark: #0f172a;
  --bg-dark-lighter: #1e293b;
  --line: #e5e7eb;
  --line-light: #f3f4f6;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(30,20,10,.06), 0 1px 2px rgba(30,20,10,.04);
  --shadow: 0 4px 12px rgba(30,20,10,.08);
  --shadow-lg: 0 10px 30px rgba(30,20,10,.1);
  --transition: .2s ease;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1120px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; font-weight: 700; }
.h1, h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.h2, h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.h3, h3 { font-size: 1.125rem; font-weight: 700; }
.h4, h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }

p { margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 640px; }
.muted { color: var(--text-muted); }
.small { font-size: .8125rem; }
.upper { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .75rem; color: var(--text-light); }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

/* Header container: Logo ... Nav ... Actions in a row
   Uses wider max-width than content container so nav breathes */
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 64px;
  max-width: 1280px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-mark { font-size: 1.5rem; line-height: 1; }

/* Two-line brand: full legal name, second line smaller (William 2026-10-23) */
.logo { line-height: 1.1; }
.logo-sub,
.logo-row .logo-text .logo-sub {
  display: block;
  font-size: .6em;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.15;
  color: #cbd5e1;
}

/* Nav element takes remaining space and centers its children */
.site-header nav {
  flex: 1;
  display: flex;
  justify-content: center;
  background: none;
  position: static;
  box-shadow: none;
  z-index: auto;
}

/* Desktop Nav list */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9375rem;
  transition: background var(--transition), color var(--transition);
  display: block;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* "For Risk Assessors" link in nav — amber accent on hover */
.nav-list .btn-assessor {
  color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8125rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-list .btn-assessor:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245,158,11,.08);
}

/* Header actions: Get a Quote (prominent) + For Risk Assessors (subtle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  background: var(--brand-light);
  color: #fff;
  padding: 8px 20px;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
}

.header-actions .btn-primary:hover {
  background: var(--brand);
  color: #fff;
}

/* "For Risk Assessors" — deliberately subtle, tucked away */
.header-actions .btn-assessor {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  border-left: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  padding: 0 0 0 12px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  background: none;
}

.header-actions .btn-assessor:hover {
  color: rgba(255,255,255,.7);
  background: none;
}

/* Sitewide Find Help — a quiet utility route, not another primary nav item. */
.site-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  border: 1px solid rgba(191,219,254,.4);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #e2e8f0;
  padding: 7px 10px;
  font: inherit;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.site-search-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; }
.site-search-trigger:hover,
.site-search-trigger:focus-visible {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  color: #fff;
  outline: none;
}

.help-search-open { overflow: hidden; }
.help-search-dialog {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: start center;
  padding: clamp(18px, 8vh, 86px) 18px 24px;
}

.help-search-dialog[hidden] { display: none; }
.help-search-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); backdrop-filter: blur(3px); }
.help-search-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 42px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(191,219,254,.52);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.42);
}

.help-search-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.help-search-heading .upper { margin: 0 0 3px; color: var(--brand-dark); }
.help-search-heading h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.help-search-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text-muted);
  font: 400 1.85rem/1 var(--font);
  cursor: pointer;
}

.help-search-close:hover,
.help-search-close:focus-visible { border-color: var(--brand-light); color: var(--brand-dark); outline: none; }
.help-search-input-wrap { position: relative; }
.help-search-input-wrap svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  pointer-events: none;
  transform: translateY(-50%);
}

.help-search-input-wrap input {
  width: 100%;
  border: 2px solid #bfdbfe;
  border-radius: 11px;
  background: #f8fbff;
  color: var(--text);
  padding: 15px 16px 15px 48px;
  font: 600 1rem/1.35 var(--font);
}

.help-search-input-wrap input::placeholder { color: #64748b; opacity: 1; }
.help-search-input-wrap input:focus { border-color: var(--brand-light); outline: 3px solid rgba(59,130,246,.18); }
.help-search-privacy,
.help-search-hint { margin: 10px 0 0; color: var(--text-light); font-size: .8125rem; }
.help-search-hint { margin-top: 18px; }
.help-search-results { display: grid; gap: 8px; margin-top: 18px; }
.help-search-results-label {
  margin: 0 0 2px;
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.help-search-result {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 13px 48px 13px 15px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.help-search-result:hover,
.help-search-result:focus-visible {
  border-color: #93c5fd;
  background: #f8fbff;
  box-shadow: 0 4px 12px rgba(30,64,175,.09);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.help-search-category { display: block; margin-bottom: 2px; color: var(--brand-dark); font-size: .6875rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.help-search-result strong { display: block; color: var(--text); font-size: .9375rem; line-height: 1.35; }
.help-search-description { display: block; margin-top: 3px; color: var(--text-muted); font-size: .8125rem; line-height: 1.45; }
.help-search-arrow { position: absolute; top: 50%; right: 17px; color: var(--brand); font-size: 1.25rem; font-weight: 800; transform: translateY(-50%); }
.help-search-empty { margin: 6px 0 0; border: 1px dashed #cbd5e1; border-radius: 10px; background: #f8fafc; color: var(--text-muted); padding: 16px; }

/* Mobile actions: hidden on desktop, shown inside slide menu on mobile */
.mobile-actions {
  display: none !important;
}

.rental-center-nav > a,
.resource-center-nav > a {
  padding: 7px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #fff !important;
}

.rental-center-nav > a:hover,
.rental-center-nav > a[aria-current="page"],
.resource-center-nav > a:hover,
.resource-center-nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
}

.rental-center-nav strong,
.resource-center-nav strong { font-size: .875rem; }
.rental-center-nav small,
.resource-center-nav small { display: none; }

.primary-services-nav > a {
  padding: 7px 11px;
  border: 1px solid rgba(191, 219, 254, .58);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff !important;
  font-weight: 800;
}

.primary-services-nav > a:hover,
.primary-services-nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, .18);
  color: #fff !important;
}

/* A clear route to published pricing and a property-specific quote. This is
   intentionally quieter than Services: Guardian sells services first. */
.pricing-quote-nav > a {
  padding: 7px 10px;
  border: 1px solid rgba(191, 219, 254, .38);
  border-radius: 8px;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
}

.pricing-quote-nav > a:hover,
.pricing-quote-nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(191, 219, 254, .7);
  color: #fff !important;
}

@media (min-width: 1101px) {
  .rental-center-nav > a,
  .resource-center-nav > a,
  .blog-nav > a { position: relative; }

  /* Guardian Blogs sits near the right edge, so its description opens leftward. */
  .blog-nav > a::after { left: auto !important; right: 0; }

  .rental-center-nav > a::after,
  .resource-center-nav > a::after,
  .blog-nav > a::after {
    position: absolute;
    z-index: 20;
    top: calc(100% + 9px);
    left: 0;
    width: 270px;
    padding: 11px 13px;
    border: 1px solid rgba(191, 219, 254, .72);
    border-radius: 8px;
    background: #0f2747;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .24);
    color: #eff6ff;
    content: attr(data-nav-description);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    text-transform: none;
    transform: translateY(-4px);
    transition: opacity var(--transition), transform var(--transition);
    /* The link is nowrap; without this the description runs off as one long
       line and makes the whole page scroll sideways. */
    white-space: normal;
  }

  .rental-center-nav > a:hover::after,
  .rental-center-nav > a:focus-visible::after,
  .resource-center-nav > a:hover::after,
  .resource-center-nav > a:focus-visible::after,
  .blog-nav > a:hover::after,
  .blog-nav > a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Compact nav until the full row fits: the full row needs about 1,366px, so keep it compact through 1,439px on every page. */
@media (min-width: 1101px) and (max-width: 1439px) {
  .site-header .container { gap: 9px; }
  .nav-list { gap: 0; }
  .nav-list a { padding-left: 8px; padding-right: 8px; font-size: .8125rem; }
  .rental-center-nav > a,
  .resource-center-nav > a { padding-left: 9px; padding-right: 9px; }
  .rental-center-nav strong,
  .resource-center-nav strong { font-size: .79rem; }
  .header-actions .btn-primary { padding-left: 14px; padding-right: 14px; font-size: .875rem; }
}
@media (min-width: 1101px) and (max-width: 1120px) {
  .site-header .container { gap: 6px; }
}

/* Dropdown menus */
.nav-list > li { position: relative; }

.nav-list > li > .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
  z-index: 50;
}

.nav-list > li:hover > .submenu,
.nav-list > li.open > .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu { list-style: none; padding-left: 0; }

.submenu a {
  display: block;
  color: #cbd5e1 !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .875rem;
}

.submenu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff !important;
}

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle svg { width: 28px; height: 28px; stroke-width: 2; }

/* Backdrop overlay behind slide menu */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-backdrop.open { display: block; }

/* Close button — only visible on mobile (injected by JS) */
.nav-close { display: none; }

/* --- Contact Strip --- */
.contact-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  text-align: center;
  font-size: .8125rem;
  color: var(--text-muted);
}
.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.contact-strip a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.contact-strip a:hover { text-decoration: underline; }
.contact-strip-sep { color: var(--line); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #fffbf5 50%, #f0f4ff 100%);
  border-bottom: 3px solid var(--brand-light);
  padding: 40px 0 36px;
  text-align: center;
}

/* Home hero: the full business name above the eyebrow, the same name the site markup declares (2026-11-03) */
.hero-brand { margin: 0 0 8px; font-weight: 700; font-size: 1rem; color: var(--brand-dark); }

.hero .lead {
  margin: 16px auto 0;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Homepage Rental Property Center feature */
.rental-center-home {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: linear-gradient(120deg, #ecfdf5 0%, #f8fafc 52%, #eff6ff 100%);
  border-bottom: 1px solid #dbeafe;
}

.rental-center-home::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -190px;
  top: -230px;
  border: 72px solid rgba(34, 197, 94, .08);
  border-radius: 50%;
  pointer-events: none;
}

.rental-center-home-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(315px, .9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}
/* The records button under the City-record panel shows on phones only. */
.rental-center-home-cta { display: none; }

.rental-center-home .upper { color: #047857; }

.rental-center-home h2 {
  max-width: 650px;
  margin: 8px 0 16px;
  color: #102a43;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.rental-center-home-lead {
  max-width: 660px;
  margin-bottom: 24px;
  color: #334e68;
  font-size: 1.08rem;
  line-height: 1.7;
}

.rental-center-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rental-center-home-actions .btn-primary {
  background: #047857;
  border-color: #047857;
}

.rental-center-home-actions .btn-primary:hover {
  background: #065f46;
  border-color: #065f46;
}

.rental-center-home-actions .btn-outline {
  border-color: #047857;
  color: #065f46;
}

.rental-center-home-actions .btn-outline:hover {
  background: #047857;
  border-color: #047857;
}

.rental-center-home-note {
  margin: 18px 0 0;
  color: #486581;
  font-size: .8125rem;
  line-height: 1.55;
}

.rental-center-home-panel {
  position: relative;
  padding: 24px 26px 20px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(4, 120, 87, .22);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.rental-center-home-panel .upper {
  margin-bottom: 6px;
  font-size: .7rem;
}

.rental-center-home-panel h3 {
  margin: 0;
  color: #102a43;
  font-size: 1.25rem;
  line-height: 1.3;
}

.rental-center-home-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.rental-center-home-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid #e5edf5;
  border-radius: 9px;
  background: #f8fafc;
}

.rental-center-home-list strong,
.rental-center-home-list small { display: block; }
.rental-center-home-list strong { color: #243b53; font-size: .9375rem; }
.rental-center-home-list small { margin-top: 2px; color: #627d98; font-size: .75rem; line-height: 1.35; }

.rental-center-home-icon {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

.rental-center-home-icon-registration { background: #2563eb; }
.rental-center-home-icon-occupancy { background: #0891b2; }
.rental-center-home-icon-certificate { background: #059669; }
.rental-center-home-icon-violation { background: #dc2626; }

.rental-center-home-disclaimer {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #d8e5ef;
  color: #627d98;
  font-size: .75rem;
  line-height: 1.55;
}

/* Compact hero for subpages */
.hero-compact {
  padding: 32px 0 28px;
}

/* Old header compat */
.header {
  background: linear-gradient(135deg, #eff6ff 0%, #fffbf5 50%, #f0f4ff 100%);
  border-bottom: 3px solid var(--brand-light);
  text-align: center;
  padding: 40px 0 36px;
}

/* --- Sections --- */
section { padding: 72px 0; }
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, #f0f4ff 0%, #fefdfb 50%, #f8f9fc 100%); }

/* Section divider — subtle gradient line between sections */
section + section { border-top: 1px solid var(--line-light); }
.section.alt + section,
section + .section.alt { border-top: none; }
.cta-banner { border-top: none; }

/* --- Grid System --- */
.grid { display: grid; gap: 24px; }
/* min(…, 100%) lets a column shrink below its minimum on a 320px phone. */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.two-col { display: grid; gap: 24px; }

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* --- Meet William block (2026-10-23) --- */
#meet-william { scroll-margin-top: 72px; }
.about-block { display: grid; gap: 28px; align-items: center; }
.about-portrait { width: 100%; max-width: 300px; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.14); margin: 0 auto; }
.about-block .upper { margin-bottom: 6px; }
.about-block h2 { margin-top: 0; }
@media (min-width: 768px) {
  .about-block { grid-template-columns: 280px 1fr; }
  .about-portrait { margin: 0; }
}

/* Flex helpers */
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(30,64,175,.04), 0 1px 3px rgba(30,64,175,.03);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(30,64,175,.08), 0 2px 6px rgba(30,64,175,.04);
  border-color: var(--brand-100);
}

/* Static (non-clickable) cards — no hover effects, muted heading */
.card-static { cursor: default; }
.card-static:hover {
  box-shadow: 0 2px 8px rgba(30,64,175,.04), 0 1px 3px rgba(30,64,175,.03);
  border-color: var(--line);
  transform: none;
}
.card-static h3 { color: var(--text); }
.card-static p { margin-top: 8px; font-size: .9375rem; line-height: 1.6; }

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30,64,175,.1), 0 4px 8px rgba(30,64,175,.05);
  border-color: var(--brand-100);
}

a.card h3 { color: var(--brand); }
a.card p { color: var(--text-muted); }

a.card h3 + p {
  margin-top: 8px;
  font-size: .9375rem;
  line-height: 1.6;
}

/* Persistent "clickable" affordance on link cards — always visible so it also
   reads as tappable on touch devices (no hover). Arrow nudges right on desktop hover.
   Applies only to a.card, never to .card-static (non-clickable info cards). */
a.card::after {
  content: "Learn more \2192";
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--brand);
  transition: transform var(--transition);
}

a.card:hover::after {
  transform: translateX(4px);
}

/* Rental Owner Toolkit: the directories are the purpose of the page, not
   secondary resource links. */
.owner-toolkit-primary { background: #f8fafc; }
.owner-toolkit-intro { max-width: 760px; margin: 8px 0 28px; }
.owner-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.owner-tool-card {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

a.owner-tool-card:hover {
  transform: translateY(-3px);
  border-color: #60a5fa;
  box-shadow: var(--shadow-lg);
}

.owner-tool-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.owner-tool-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.owner-tool-card > p:not(.owner-tool-kicker) { margin: 12px 0 0; color: var(--text-muted); line-height: 1.55; }
.owner-tool-action { margin-top: auto; padding-top: 22px; color: var(--brand); font-size: .9375rem; font-weight: 800; }
.owner-tool-card--coming { border-style: dashed; border-color: #cbd5e1; background: #f8fafc; }
.owner-tool-card--coming .owner-tool-action { color: #64748b; }
/* Three cards in one group: 3 across on desktop, stacked below 900px. */
.owner-tool-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .owner-tool-grid--three { grid-template-columns: 1fr; } }
/* Pricing page: the same link card carrying a price and a feature list. */
.owner-tool-card--price > p.price { margin: 14px 0 0; color: var(--text); line-height: 1.2; }
.owner-tool-card--price .features { margin: 14px 0 0; }
/* An odd last price card spans the row; its short feature list sits side by side. */
.owner-tool-card--wide { grid-column: 1 / -1; }
@media (min-width: 769px) {
  .owner-tool-card--wide .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .owner-tool-card--wide .features li { border-top: 1px solid var(--line-light); border-bottom: 0; }
}
/* Pricing page: a short amber band above the price cards pointing to the funding page. */
.owner-tool-card--band {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 22px;
  border-color: #fcd34d;
  border-left: 5px solid var(--accent);
  background: #fffbeb;
}
a.owner-tool-card--band:hover { border-color: var(--accent); }
.owner-tool-band-icon { flex: none; color: #b45309; }
.owner-tool-band-text { flex: 1; min-width: 0; }
.owner-tool-band-title { display: block; color: var(--text); font-size: 1.0625rem; line-height: 1.35; }
.owner-tool-band-line { display: block; margin-top: 3px; color: var(--text-muted); font-size: .9375rem; line-height: 1.5; }
.owner-tool-card--band .owner-tool-action { margin-top: 0; padding-top: 0; white-space: nowrap; }
.owner-toolkit-reference .h2 { margin-bottom: 24px; }
.owner-toolkit-reference-grid .card { min-height: 0; }

/* Rental Owner Toolkit page on a phone (2026-11-24): the cards are the page.
   The "what an owner needs" explanation follows the cards in the markup; here
   the hero, the section headings and the cards are tightened so the first
   card shows on the first screen. Scoped to this page only. */
@media (max-width: 768px) {
  .owner-toolkit-page .hero { padding: 22px 0 24px; }
  .owner-toolkit-page .hero .upper { margin-bottom: 8px; }
  .owner-toolkit-page .hero .h1 { font-size: 1.75rem; line-height: 1.2; text-wrap: balance; }
  .owner-toolkit-page .hero .lead { margin-top: 10px; font-size: .9375rem; line-height: 1.5; }
  .owner-toolkit-page .hero .rr-reviewed { margin-top: 12px; font-size: .75rem; }
  .owner-toolkit-page #check-records { padding-top: 24px; }
  .owner-toolkit-page .rr-section-heading { margin-bottom: 18px; }
  .owner-toolkit-page .rr-section-heading .upper { margin-bottom: 6px; }
  .owner-toolkit-page .rr-section-heading > p:not(.upper) { font-size: .9375rem; line-height: 1.5; }
  .owner-toolkit-page .owner-tool-grid { gap: 14px; }
  .owner-toolkit-page .owner-tool-card { padding: 18px; }
  .owner-toolkit-page .owner-tool-card > p:not(.owner-tool-kicker) { margin-top: 8px; font-size: .9375rem; line-height: 1.5; }
  .owner-toolkit-page .owner-tool-action { padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  a.card:hover::after { transform: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,64,175,.25), 0 2px 4px rgba(245,158,11,.1);
  color: #fff;
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  color: var(--brand);
  border-color: transparent;
  background: rgba(30,64,175,.05);
}

.btn-ghost:hover {
  background: rgba(30,64,175,.1);
  opacity: .92;
}

/* --- Checklist --- */
ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li {
  margin: 10px 0 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}

ul.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: .9375rem;
}

/* --- Tables --- */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-weight: 700; color: var(--text); background: var(--bg-alt); font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
td { color: var(--text-muted); }

/* --- FAQ / Details --- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.faq summary:hover { background: #f9f8f6; }
.faq summary::after { content: "+"; font-size: 1.25rem; color: var(--text-light); font-weight: 300; }
.faq[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq > div { padding: 0 24px 18px; color: var(--text-muted); line-height: 1.7; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.price-card {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.price-card.featured,
.owner-tool-card--featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
  position: relative;
}

a.owner-tool-card--featured:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
}

.price-card.featured::before,
.owner-tool-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.price { font-size: 2rem; font-weight: 800; color: var(--text); margin: 16px 0; }
.features { list-style: none; padding: 0; margin: 0 0 24px; }
.features li { padding: 8px 0; color: var(--text-muted); border-bottom: 1px solid var(--line-light); }
.features li:last-child { border-bottom: none; }

/* --- Forms --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-hint {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: .8125rem;
  line-height: 1.45;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12), 0 0 0 6px rgba(245,158,11,.04);
}

#address::placeholder {
  color: #c3ccd8;
  opacity: 1;
}

textarea.form-input { resize: vertical; min-height: 120px; }

/* Legacy inline form styles compat */
form.card input,
form.card textarea,
form.card select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

form.card input:focus,
form.card textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12), 0 0 0 6px rgba(245,158,11,.04);
}

form.card label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 0;
  color: var(--text);
}

form.card button {
  font-family: var(--font);
  font-size: .9375rem;
}

/* Honeypot hidden field */
.hidden { display: none; }

/* Required field indicator */
.required { color: #dc2626; }

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}

.form-success.show { display: block; }
.form-success h3 { color: var(--success); margin-bottom: 8px; }

/* --- Footer --- */
footer, .site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 48px 24px 32px;
}

footer p { margin: 4px 0; }
footer .muted { color: inherit; }            /* override -- text-muted is for light bgs */
footer strong { color: #e2e8f0; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-heading { color: #cbd5e1; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin: 6px 0; }
.footer-links a { color: #94a3b8; font-size: .9375rem; }
.footer-links a:hover { color: var(--accent); }

.logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.logo-row .logo-text { color: #e2e8f0; font-weight: 800; font-size: 1.0625rem; }

/* Footer copyright */
footer .copy { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8125rem; color: #94a3b8; text-align: center; }

/* --- Trust Badges --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-muted);
}

.trust-badge svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #2d4fbd 100%);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.cta-banner .btn-primary:hover { background: #f0f4ff; color: var(--brand-dark); box-shadow: 0 4px 16px rgba(30,64,175,.2); }

/* Tablet: grid-4 → 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   RESPONSIVE — Mobile (768px and below)
   ===================================================================== */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  section, .section { padding: 48px 0; }
  .owner-tool-grid { grid-template-columns: 1fr; }
  .owner-tool-card { min-height: 0; padding: 22px; }
  .owner-tool-card--band { gap: 12px; padding: 14px 16px; }
  .owner-tool-band-icon { width: 26px; height: 26px; }
  .owner-tool-band-title { font-size: 1rem; }
  .owner-tool-band-line { font-size: .875rem; }

  .rental-center-home { padding: 52px 0; }
  .rental-center-home-grid { grid-template-columns: 1fr; gap: 28px; }
  .rental-center-home h2 { font-size: 2.15rem; }
  .rental-center-home-lead { font-size: 1rem; }
  .rental-center-home-actions { display: grid; grid-template-columns: 1fr; }
  .rental-center-home-cta { display: flex; justify-content: center; margin: 0; }
  .rental-center-home-cta .btn { width: 100%; max-width: 340px; justify-content: center; min-height: 52px; }
  .rental-center-home-actions .btn { justify-content: center; }
  .rental-center-home-panel { padding: 22px 18px 18px; }
  .rental-center-home-list { gap: 6px; }
  .rental-center-home-list li { align-items: flex-start; gap: 8px; padding: 8px; }
  .rental-center-home-icon { flex-basis: 25px; width: 25px; height: 25px; font-size: .6875rem; }
  .rental-center-home-list strong { font-size: .8125rem; }
  .rental-center-home-list small { font-size: .6875rem; }
}

/* =====================================================================
   RESPONSIVE — Hamburger menu (1100px and below)
   The desktop nav row does not fit beside the logo and the search trigger
   below about 1010px, and its right-hand dropdown runs off screen until
   about 1100px, so phones and tablets get the slide-down menu instead.
   Every desktop header rule starts at 1101px, and isMobile() in app.js uses
   the same number: change them together.
   Page layout and the mobile CTA bar still switch at 768px.
   ===================================================================== */
@media (max-width: 1100px) {
  /* Reset nav flex for mobile — let nav-list be the slide panel */
  .site-header nav {
    flex: none;
    display: contents;
  }

  /* Show hamburger button, push to right, with a small "Menu" label under it */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 6px 4px;
    line-height: 1;
    order: 3;
    margin-left: auto;
  }
  .nav-toggle::after { content: "Menu"; font-size: .6875rem; font-weight: 500; letter-spacing: .01em; color: #cbd5e1; }

  /* Once the search trigger is injected it takes the auto margin instead, so
     the hamburger does not shift sideways while the page loads. */
  .site-header .container:has(.site-search-trigger) .nav-toggle { margin-left: 0; }

  .site-search-trigger {
    order: 2;
    margin-left: auto;
    padding: 8px;
    border-color: rgba(191,219,254,.48);
  }

  .site-search-trigger span { display: none; }

  /* Hide desktop header-actions (Get a Quote + For Risk Assessors) on mobile */
  .header-actions { display: none !important; }

  /* Nav list becomes a full-width top dropdown below header */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    background: var(--bg-dark);
    padding: 0 24px;
    gap: 0;
    overflow: hidden;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s ease;
    display: flex;
    text-align: left;
  }

  .nav-list.open {
    max-height: calc(100vh - 64px);
    padding: 8px 24px 24px;
    overflow-y: auto;
  }

  /* Close button — hidden for dropdown style (hamburger toggles) */
  .nav-close {
    display: none !important;
  }

  /* Mobile nav items — full-width, high contrast, large tap targets */
  .nav-list > li {
    border-bottom: 1px solid rgba(255,255,255,.12);
    text-align: left;
  }

  .nav-list > li.rental-center-nav,
  .nav-list > li.resource-center-nav {
    display: block;
    margin: 0;
  }

  .nav-list > li.rental-center-nav > a,
  .nav-list > li.resource-center-nav > a {
    display: block;
    padding: 14px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
  }

  .nav-list > li.rental-center-nav > a:hover,
  .nav-list > li.rental-center-nav > a:active,
  .nav-list > li.resource-center-nav > a:hover,
  .nav-list > li.resource-center-nav > a:active {
    background: rgba(255, 255, 255, .08);
  }

  .rental-center-nav strong,
  .rental-center-nav small,
  .resource-center-nav strong,
  .resource-center-nav small { display: block; }
  .rental-center-nav strong,
  .resource-center-nav strong { font-size: 1rem; letter-spacing: 0; }
  .rental-center-nav small,
  .resource-center-nav small { margin-top: 3px; color: #cbd5e1; font-size: .75rem; font-weight: 500; }

  .nav-list > li.primary-services-nav {
    display: block;
    margin: 6px 0 10px;
    border: 0;
  }

  .nav-list > li.primary-services-nav > a {
    display: block;
    padding: 13px 15px;
    border: 1px solid rgba(191, 219, 254, .65);
    border-radius: 10px;
    background: rgba(37, 99, 235, .3);
    color: #fff;
  }

  .nav-list > li.primary-services-nav > a:hover,
  .nav-list > li.primary-services-nav > a:active {
    background: rgba(37, 99, 235, .45);
  }

  .nav-list > li.pricing-quote-nav {
    display: block;
    margin: 6px 0 0;
  }

  .nav-list > li.pricing-quote-nav > a {
    display: block;
    padding: 12px 14px;
    border-color: rgba(191, 219, 254, .5);
    background: rgba(255, 255, 255, .05);
    font-size: 1rem;
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list > li > a {
    padding: 18px 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    letter-spacing: .01em;
  }

  .nav-list > li > a:hover,
  .nav-list > li > a:active {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 8px;
  }

  /* Tap feedback */
  .nav-list > li > a:active {
    opacity: .8;
  }

  /* Mobile submenus — hidden by default, tap to expand */
  .nav-list > li > .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-list > li.mobile-open > .submenu {
    display: block;
  }

  .nav-list .submenu a {
    color: #cbd5e1 !important;
    padding: 12px 8px;
    font-size: 1rem;
    font-weight: 500;
  }

  .nav-list .submenu a:hover,
  .nav-list .submenu a:active {
    color: #fff !important;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
  }

  /* Chevron indicator for items with submenus */
  .nav-list > li:has(.submenu) > a::after {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M7.21 14.77a.75.75 0 01.02-1.06L11.17 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
    transition: transform .2s ease;
  }

  .nav-list > li.mobile-open:has(.submenu) > a::after {
    transform: rotate(90deg);
  }

  /* Mobile actions — show inside dropdown, right after nav items */
  .mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15) !important;
    text-align: left;
  }

  .mobile-actions a {
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-actions .btn-primary,
  .mobile-actions .btn {
    background: var(--brand-light);
    color: #fff;
    font-size: .9375rem;
  }

  /* "For Risk Assessors" — visible secondary button on mobile */
  .mobile-actions .btn-assessor {
    color: rgba(255,255,255,.75);
    font-size: .8125rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,.25);
    padding: 10px 16px;
    text-align: center;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
  }

  .mobile-actions .btn-assessor:hover,
  .mobile-actions .btn-assessor:active {
    color: #fff;
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.1);
  }

  /* "For Risk Assessors" in nav-list — hide the nav-item version, keep the mobile-actions version */
  .nav-list > li:not(.mobile-actions) .btn-assessor {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Contact strip — tighter on small screens */
  .contact-strip { font-size: .75rem; padding: 5px 0; }
  .contact-strip .container { gap: 6px; }

  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px 16px; }
  .price { font-size: 1.75rem; }
  .price-card.featured { padding-top: 16px; }
  .price-card.featured::before,
  .owner-tool-card--featured::before { top: -8px; font-size: .7rem; padding: 3px 12px; }
}

/* --- Extra-small screens (phones < 480px) --- */
@media (max-width: 480px) {
  .price { font-size: 1.5rem; overflow-wrap: break-word; }
  .price-card { padding: 20px 12px; }
  .features li { padding: 6px 0; }
  .btn { padding: 14px 20px; }
}

/* --- Skip Link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus { top: 0; }

/* --- Print --- */
@media print {
  .site-header, nav, .hero-cta, .cta-banner, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
}

/* Cleveland Local Agent in Charge directory */
.laic-page {
  --laic-ink: #172033;
  --laic-blue: #1d4ed8;
  --laic-blue-soft: #eff6ff;
  --laic-border: #d9e2ef;
  color: var(--laic-ink);
}

.laic-hero {
  background:
    radial-gradient(circle at 86% 20%, rgba(56, 189, 248, .16), transparent 32%),
    linear-gradient(135deg, #0f2743 0%, #153c67 60%, #1b527a 100%);
}

.laic-hero .upper,
.laic-hero .h1,
.laic-hero .lead,
.laic-hero .rr-reviewed { color: #fff; }
.laic-hero .lead { max-width: 780px; }
.laic-hero .rr-reviewed { opacity: .82; }
/* Small print and its links stay readable on the navy hero. */
.laic-hero .muted { color: #cbd5e1; }
.laic-hero .muted a { color: #bfdbfe; text-decoration: underline; text-underline-offset: 2px; }

/* The default outline button is brand blue, which disappears on the navy hero. */
.laic-hero .btn-outline {
  border-color: rgba(255, 255, 255, .78);
  color: #fff;
}

.laic-hero .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #0f2743;
}

.laic-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.laic-explainer-grid .card { position: relative; padding-top: 56px; }
.laic-step {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--laic-blue);
  font-size: .82rem;
  font-weight: 800;
}

.laic-official-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.laic-directory-section { border-top: 1px solid var(--laic-border); }
.laic-directory-section .rr-section-heading { max-width: 860px; }

.laic-search-shell {
  margin: 26px 0 20px;
  padding: 20px;
  border: 1px solid var(--laic-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 39, 67, .07);
}
.laic-search-shell label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}
.laic-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.laic-search-row input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #b8c6d9;
  border-radius: 10px;
  font: inherit;
  color: var(--laic-ink);
  background: #fff;
}
.laic-search-row input:focus {
  outline: 3px solid rgba(37, 99, 235, .18);
  border-color: #2563eb;
}
#laic-result-count {
  min-width: 128px;
  color: #475569;
  font-size: .88rem;
  font-weight: 700;
  text-align: right;
}

.laic-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.laic-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--laic-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 39, 67, .07);
}
.laic-card-heading { padding: 20px 20px 14px; }
.laic-card-type {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--laic-blue);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.laic-card h3 {
  margin: 0;
  color: #132238;
  font-size: 1.08rem;
  line-height: 1.25;
}
.laic-contact-name { margin: 6px 0 0; color: #64748b; font-size: .86rem; }
.laic-contact-actions { display: grid; border-top: 1px solid #e7edf5; }
.laic-contact-action {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 20px;
  color: #163b67;
  text-decoration: none;
  border-bottom: 1px solid #e7edf5;
}
.laic-contact-action:hover { background: var(--laic-blue-soft); }
.laic-contact-action span {
  color: #64748b;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.laic-contact-action strong {
  overflow-wrap: anywhere;
  font-size: .86rem;
  line-height: 1.35;
}
.laic-contact-action:last-child { border-bottom: 0; }
.laic-card[hidden] { display: none; }

.laic-no-results {
  margin-top: 16px;
  padding: 30px;
  border: 1px dashed #a8b8ca;
  border-radius: 14px;
  text-align: center;
  background: #fff;
}
.laic-no-results h3 { margin: 0 0 6px; }
.laic-no-results p { margin: 0; color: #64748b; }

.laic-directory-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.laic-directory-method > div {
  padding: 22px;
  border: 1px solid var(--laic-border);
  border-radius: 14px;
  background: #fff;
}
.laic-directory-method h3 { margin-top: 0; }
.laic-directory-method p { color: #526174; }
.laic-next-steps { background: #fff; }

/* These are directories, not courses: every viewport reaches contacts first.
   The "before you hire" steps and the FAQ follow the directory in the markup;
   they are not hidden, because they carry the verification links and the text
   each page's FAQ structured data describes. */
.laic-page .hero-cta { display: none; }

@media (max-width: 1100px) {
  .laic-page #directory { border-top: 0; }
  .laic-page #directory.section { padding-top: 32px; }
  .laic-page #directory .rr-section-heading { margin-bottom: 18px; }
  .laic-page #directory .rr-section-heading > p:not(.upper) { margin-bottom: 0; }
}

@media (max-width: 960px) {
  .laic-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------
   Header fit: keeps the search trigger on screen at every width.
   The header row (logo, nav, optional header CTA, search trigger) is wider
   than its 1280px container on pages with a header CTA. Each band gives back
   the room the trigger takes, so nothing sits further off-screen than it did
   without it. At 1100px and below the row does not fit, so the hamburger
   menu takes over there (see "RESPONSIVE — Hamburger menu").
   --------------------------------------------------------------------- */

/* Icon-only until the "Search" label fits beside the full nav. */
@media (min-width: 1101px) and (max-width: 1239px) {
  .site-search-trigger { padding: 8px; }
  .site-search-trigger span { display: none; }
}

/* Pages with a header CTA never have room for the label. */
@media (min-width: 1101px) {
  .site-header .container:has(.header-actions) .site-search-trigger { padding: 8px; }
  .site-header .container:has(.header-actions) .site-search-trigger span { display: none; }
}

/* The header CTA was already cut off by the viewport edge below this width. */
@media (min-width: 1101px) and (max-width: 1259px) {
  .header-actions { display: none; }
}

/* Pages with a header CTA keep the compact nav until the full row fits. */
@media (min-width: 1181px) and (max-width: 1679px) {
  .site-header .container:has(.header-actions) { gap: 9px; }
  .site-header .container:has(.header-actions) .nav-list { gap: 0; }
  .site-header .container:has(.header-actions) .nav-list > li > a { padding-left: 8px; padding-right: 8px; font-size: .8125rem; }
  .site-header .container:has(.header-actions) .rental-center-nav strong,
  .site-header .container:has(.header-actions) .resource-center-nav strong { font-size: .79rem; }
  .site-header .container:has(.header-actions) .btn-primary { padding-left: 14px; padding-right: 14px; font-size: .875rem; }
}

@media (min-width: 1680px) {
  .site-header .container:has(.header-actions) { gap: 12px; }
}

/* Phones: logo, trigger, and hamburger need about 396px at full size. */
@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
}

@media (max-width: 374px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .logo { gap: 8px; font-size: 1rem; }
}

@media (max-width: 345px) {
  .site-header .container { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .logo { gap: 6px; font-size: .875rem; }
  .logo-icon { width: 30px; height: 30px; }
}

@media (max-width: 720px) {
  .laic-explainer-grid,
  .laic-directory-grid,
  .laic-directory-method { grid-template-columns: 1fr; }
  .laic-search-row { grid-template-columns: 1fr; }
  #laic-result-count { text-align: left; }
}

/* ===================================================================
   Mobile CTA Bar — sticky Call / Get a Quote bar (mobile only)
   Injected as the last child of <body> by assets/app.js.
   Hidden by default; revealed only at <=768px. Uses brand tokens
   (--brand, --accent). Body gets bottom padding at <=768px so the
   fixed bar never covers footer content.
   =================================================================== */
.mobile-cta-bar {
  display: none;            /* hidden by default — desktop never shows it */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 150;             /* above page content, below skip-link (200) */
  box-shadow: 0 -2px 12px rgba(30, 20, 10, .15);
  /* iOS safe-area: keep buttons clear of the home indicator */
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--brand); /* fills the safe-area inset with brand color */
}

.mobile-cta-bar a {
  flex: 1;                  /* two equal-width buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;      /* never wrap the labels */
  transition: background var(--transition);
}

.mobile-cta-bar .mcb-call {
  background: var(--brand);
  color: #fff;
}
.mobile-cta-bar .mcb-call:hover,
.mobile-cta-bar .mcb-call:active {
  background: var(--brand-dark);
}

.mobile-cta-bar .mcb-quote {
  background: var(--accent);
  color: #1e293b;           /* dark text on amber for AA contrast */
}
.mobile-cta-bar .mcb-quote:hover,
.mobile-cta-bar .mcb-quote:active {
  background: var(--accent-dark);
  color: #fff;
}

/* Keyboard focus ring (no global focus-visible rule exists site-wide) */
.mobile-cta-bar a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

/* Show the bar only on mobile, and reserve space so it can't cover content */
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  /* Bar height (52px) + iOS safe-area inset */
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* Never print the CTA bar */
@media print {
  .mobile-cta-bar { display: none !important; }
}

/* ===================================================================
   Cleveland Rental Registration Help Center
   Scoped to .rr-page so the editorial tool does not change other pages.
   =================================================================== */
.rr-page {
  --rr-navy: #172554;
  --rr-blue: #1d4ed8;
  --rr-amber: #b45309;
  --rr-green: #047857;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rr-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.13), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(245,158,11,.12), transparent 30%),
    linear-gradient(135deg, #eff6ff 0%, #fffdf8 54%, #eef2ff 100%);
}

.rr-hero .lead { max-width: 790px; }

.rr-reviewed {
  margin: 22px 0 0;
  color: var(--text-light);
  font-size: .8125rem;
  font-weight: 600;
}

.rr-quick-band {
  padding: 26px 0;
  border-top: 0;
  border-bottom: 1px solid var(--brand-100);
  background: #f8fbff;
}

.rr-finder-section {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--brand-100);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.rr-finder-section .rr-record-finder { margin-top: 0; }

.rr-quick-grid {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(0, 2.35fr);
  gap: 28px;
  align-items: center;
}

.rr-quick-intro {
  display: grid;
  gap: 7px;
  padding-right: 30px;
  border-right: 1px solid var(--brand-100);
}

.rr-quick-intro strong {
  color: var(--rr-navy);
  font-size: 1.05rem;
  line-height: 1.45;
}

.rr-quick-label {
  color: var(--rr-blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rr-quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rr-quick-links a {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 88px;
  padding: 14px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(23, 37, 84, .05);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.rr-quick-links a:hover { border-color: var(--brand); box-shadow: 0 7px 16px rgba(23, 37, 84, .1); transform: translateY(-2px); }
.rr-quick-links a:focus-visible { outline: 3px solid rgba(59,130,246,.35); outline-offset: 2px; }
.rr-quick-links a:hover strong { color: var(--brand-dark); }
.rr-quick-links strong { color: var(--text); font-size: .875rem; transition: color var(--transition); }
.rr-quick-links > a > span:last-child { color: var(--text-muted); font-size: .75rem; line-height: 1.45; }
.rr-quick-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rr-quick-arrow { color: var(--rr-blue); font-size: 1.05rem; font-weight: 800; }

.rr-section-heading { max-width: 800px; margin-bottom: 28px; }
.rr-section-heading.center { margin-left: auto; margin-right: auto; }
.rr-section-heading h2 { margin-top: 4px; }
.rr-section-heading p:last-child { margin: 10px 0 0; color: var(--text-muted); }

.rr-basics-section {
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rr-basics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rr-basics-grid article {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 21px 19px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
}

.rr-basics-grid h3 { margin: 0 0 10px; color: var(--rr-navy); font-size: .96rem; line-height: 1.35; }
.rr-basics-grid p { margin: 0 0 14px; color: var(--text-muted); font-size: .83rem; line-height: 1.55; }
.rr-basics-grid a { margin-top: auto; color: var(--brand-dark); font-size: .8rem; font-weight: 750; line-height: 1.4; }
.rr-basics-grid a:hover { color: var(--rr-navy); text-decoration: underline; }

.rr-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rr-table-wrap table { min-width: 700px; background: #fff; }
.rr-table-wrap td:first-child { width: 26%; color: var(--text); }
.rr-table-wrap th { background: var(--rr-navy); color: #fff; }
.rr-table-wrap tr:last-child td { border-bottom: 0; }

.rr-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--brand-100);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand-50);
}

.rr-callout h3 { margin-bottom: 6px; }
.rr-callout p:last-child { margin-bottom: 0; color: var(--text-muted); }

.rr-callout-warning {
  border-color: #fde68a;
  border-left-color: var(--rr-amber);
  background: #fffbeb;
}

.rr-apply-section {
  padding-top: 46px;
  padding-bottom: 46px;
  scroll-margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rr-apply-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.rr-apply-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

.rr-apply-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--rr-navy);
  color: #fff;
  font-size: .8125rem;
  font-weight: 800;
}

.rr-apply-steps strong { display: block; color: var(--text); font-size: .875rem; line-height: 1.45; }
.rr-apply-steps p { margin: 6px 0 0; color: var(--text-muted); font-size: .8125rem; line-height: 1.5; }
.rr-apply-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.rr-apply-note { margin: 18px 0 0; padding: 13px 15px; border-left: 4px solid var(--rr-blue); background: var(--brand-50); color: var(--text-muted); font-size: .875rem; }

.rr-builder-section {
  padding: 38px 0;
  scroll-margin-top: 72px;
  background: #f8fbff;
}

.rr-tool-disclosure {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rr-tool-disclosure > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.rr-tool-disclosure > summary::-webkit-details-marker { display: none; }
.rr-tool-disclosure > summary:hover { background: var(--brand-50); }
.rr-tool-disclosure > summary:focus-visible { outline: 3px solid rgba(59,130,246,.35); outline-offset: -3px; }

.rr-tool-summary-copy { display: grid; gap: 3px; }
.rr-tool-summary-copy strong { color: var(--text); font-size: 1.0625rem; }
.rr-tool-summary-copy > span:last-child { color: var(--text-muted); font-size: .875rem; }

.rr-tool-eyebrow {
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rr-tool-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}

.rr-tool-open::after { content: "+"; font-size: 1.25rem; font-weight: 500; }
.rr-tool-close-label { display: none; }
.rr-tool-disclosure[open] .rr-tool-open-label { display: none; }
.rr-tool-disclosure[open] .rr-tool-close-label { display: inline; }
.rr-tool-disclosure[open] .rr-tool-open::after { content: "\2212"; }

.rr-tool-body {
  padding: 30px 28px 34px;
  border-top: 1px solid var(--line);
}

.rr-tool-body > .rr-section-heading { margin-bottom: 22px; }

.rr-builder {
  max-width: 900px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.rr-builder fieldset {
  margin: 0;
  padding: 0 0 28px;
  border: 0;
}

.rr-builder fieldset + fieldset {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.rr-builder legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 700;
}

.rr-field-help {
  margin: -7px 0 14px;
  color: var(--text-light);
  font-size: .875rem;
}

.rr-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rr-choice-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rr-choice-grid label { position: relative; cursor: pointer; }

.rr-choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.rr-choice-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 15px 12px 43px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.rr-choice-grid span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
}

.rr-choice-grid label:hover span { border-color: #93c5fd; }

.rr-choice-grid input:checked + span {
  border-color: var(--brand);
  background: var(--brand-50);
  color: var(--brand-dark);
}

.rr-choice-grid input:checked + span::before {
  border: 5px solid var(--brand);
}

.rr-choice-grid input:focus-visible + span {
  outline: 3px solid rgba(59,130,246,.35);
  outline-offset: 2px;
}

.rr-form-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 600;
}

.rr-results {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 34px;
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 88px;
}

.rr-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.rr-results-header p:last-child { max-width: 610px; margin: 8px 0 0; color: var(--text-muted); }

.rr-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rr-result;
}

.rr-result-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.rr-result-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--rr-green);
  font-weight: 800;
}

.rr-result-check .rr-result-marker { background: #fef3c7; color: var(--rr-amber); }
.rr-result-item h3 { margin: 1px 0 6px; }
.rr-result-item p { margin: 0; color: var(--text-muted); }
.rr-result-item a { display: inline-block; margin-top: 8px; font-weight: 700; }

.rr-results-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.rr-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rr-document-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rr-document-card h3 { margin: 12px 0 8px; }
.rr-document-card p { color: var(--text-muted); }
.rr-document-card > a, .rr-text-link { font-weight: 700; }
.rr-document-actions { display: grid; gap: 7px; margin-top: 12px; }
.rr-document-actions a { font-size: .875rem; font-weight: 700; }
.rr-document-actions .rr-book-link { color: var(--brand-dark); }

.rr-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rr-tag-all { background: #dbeafe; color: #1e40af; }
.rr-tag-conditional { background: #fef3c7; color: #92400e; }

.rr-record-finder {
  margin-top: 34px;
  padding: 0;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 88px;
}

.rr-record-finder-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: end;
  padding: 30px 32px 24px;
  color: #fff;
  background: var(--rr-navy);
}

.rr-record-finder-intro .upper { margin-bottom: 5px; color: #93c5fd; }
.rr-record-finder-intro h2 { margin: 0; color: #fff; }
.rr-record-finder-intro > p { margin: 0; color: #dbeafe; }

.rr-record-finder-shell {
  margin: 24px;
  padding: 26px;
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  background: #fff;
}

.rr-property-lookup label { display: block; margin-bottom: 9px; color: var(--text); font-weight: 800; }

.rr-property-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.rr-property-search-row input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.rr-property-search-row input:focus { border-color: var(--brand); outline: 3px solid rgba(59,130,246,.18); outline-offset: 1px; }
.rr-property-search-row .btn { white-space: nowrap; }
.rr-property-help { margin: 8px 0 0; color: var(--text-muted); font-size: .8125rem; }

.rr-portfolio-tool {
  margin-top: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #f8fbff;
  overflow: hidden;
}

.rr-portfolio-tool > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  color: var(--rr-navy);
  cursor: pointer;
  list-style: none;
}

.rr-portfolio-tool > summary::-webkit-details-marker { display: none; }
.rr-portfolio-tool > summary:hover { background: #eff6ff; }
.rr-portfolio-tool > summary:focus-visible { outline: 3px solid rgba(59,130,246,.3); outline-offset: -3px; }
.rr-portfolio-tool > summary > span:first-child { display: grid; gap: 2px; }
.rr-portfolio-tool > summary strong { font-size: .9375rem; }
.rr-portfolio-tool > summary small { color: var(--text-muted); font-size: .78rem; font-weight: 500; }

.rr-portfolio-open {
  flex: 0 0 auto;
  color: var(--rr-blue);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.rr-portfolio-open::after { content: " +"; }
.rr-portfolio-tool[open] .rr-portfolio-open::after { content: " \2212"; }

.rr-portfolio-body { padding: 18px; border-top: 1px solid #bfdbfe; background: #fff; }
.rr-portfolio-label-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.rr-portfolio-label-row label { color: var(--text); font-weight: 800; }
.rr-portfolio-label-row span { color: var(--text-muted); font-size: .75rem; font-weight: 800; }
.rr-portfolio-label-row span.is-over { color: #b91c1c; }

.rr-portfolio-body textarea {
  width: 100%;
  min-height: 150px;
  margin-top: 9px;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.rr-portfolio-body textarea:focus { border-color: var(--brand); outline: 3px solid rgba(59,130,246,.18); outline-offset: 1px; }
.rr-portfolio-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.rr-portfolio-actions .btn { padding: 10px 18px; }

.rr-portfolio-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.rr-portfolio-results[hidden] { display: none; }
.rr-portfolio-results-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rr-portfolio-results-header h3 { margin: 0 0 5px; }
.rr-portfolio-results-header p { margin: 0; color: var(--text-muted); font-size: .8125rem; }
.rr-portfolio-result-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rr-portfolio-result-actions .btn { padding: 8px 13px; font-size: .75rem; }

.rr-portfolio-property {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15,23,42,.04);
  overflow: hidden;
}

.rr-portfolio-property > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(400px, 1.35fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  list-style: none;
}

.rr-portfolio-property > summary::-webkit-details-marker { display: none; }
.rr-portfolio-property > summary:hover { background: #f8fafc; }
.rr-portfolio-property > summary:focus-visible { outline: 3px solid rgba(59,130,246,.3); outline-offset: -3px; }
.rr-portfolio-property[open] > summary { background: #eff6ff; }
.rr-portfolio-identity { min-width: 0; }
.rr-portfolio-identity strong { display: block; color: var(--text); font-size: .875rem; line-height: 1.35; }
.rr-portfolio-identity small { display: block; margin-top: 4px; color: var(--text-muted); font-size: .72rem; }
.rr-portfolio-chevron { color: var(--rr-blue); font-size: 1.15rem; font-weight: 800; text-align: center; transition: transform var(--transition); }
.rr-portfolio-property[open] .rr-portfolio-chevron { transform: rotate(90deg); }
.rr-portfolio-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }

.rr-portfolio-pill {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}

.rr-portfolio-pill span { display: block; color: currentColor; font-size: .6rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.rr-portfolio-pill strong { display: block; margin-top: 2px; color: var(--text); font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
.rr-portfolio-pill.is-good { border-color: #6ee7b7; background: #ecfdf5; color: #047857; }
.rr-portfolio-pill.is-attention { border-color: #fcd34d; background: #fffbeb; color: #b45309; }
.rr-portfolio-pill.is-danger { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }
.rr-portfolio-pill.is-neutral { color: #475569; }
.rr-portfolio-detail-body { padding: 0 14px 14px; border-top: 1px solid #bfdbfe; background: #f8fbff; }
.rr-portfolio-detail-body .rr-property-summary { margin-top: 14px; }

.rr-portfolio-issues { padding: 14px 16px; border: 1px solid #fcd34d; border-radius: 9px; background: #fffbeb; }
.rr-portfolio-issues strong { color: #78350f; }
.rr-portfolio-issues ul { margin: 8px 0 0; padding-left: 20px; color: #92400e; font-size: .8125rem; }
.rr-portfolio-warning { margin: 0; padding: 11px 13px; border-left: 4px solid #b45309; background: #fffbeb; color: #92400e; font-size: .8125rem; }

.rr-property-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
}
.rr-property-privacy p { margin: 0; font-size: .8125rem; line-height: 1.55; }
.rr-privacy-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #047857; color: #fff; font-size: .75rem; font-weight: 800; }

.rr-lookup-status { margin: 18px 0 0; color: var(--text-muted); font-size: .875rem; }
.rr-lookup-status:empty { display: none; }
.rr-lookup-status.is-error { padding: 11px 13px; border-left: 4px solid #b91c1c; background: #fef2f2; color: #991b1b; }
.rr-lookup-status.is-loading { color: var(--rr-blue); font-weight: 700; }

/* minmax(0, 1fr): a long link inside a box must wrap, never widen the
   results past the card on a phone (12929108 at 375px, 2026-10-14). */
.rr-lookup-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.rr-lookup-summary { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rr-lookup-summary h3 { margin-bottom: 5px; }
.rr-lookup-summary p { margin: 0; color: var(--text-muted); font-size: .875rem; }
.rr-property-summary { display: grid; gap: 14px; padding: 18px; border: 1px solid #bfdbfe; border-radius: 10px; background: #f8fbff; }
.rr-property-summary-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.rr-property-summary-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.rr-property-summary-head p { margin: 0; color: var(--text-muted); font-size: .8125rem; }
.rr-property-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rr-property-fact { display: block; min-height: 112px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; }
.rr-property-fact-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; }
.rr-property-fact-label > span { display: block; color: currentColor; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rr-property-fact-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .8125rem; line-height: 1; }
.rr-property-fact strong { display: block; color: var(--text); font-size: .875rem; line-height: 1.35; }
.rr-property-fact small { display: block; margin-top: 4px; color: var(--text-muted); font-size: .75rem; line-height: 1.4; }
.rr-property-fact small.rr-property-fact-next { color: var(--text); }
.rr-property-fact small.rr-property-fact-proof { margin-top: 6px; }
.rr-property-fact.is-good { border-color: #6ee7b7; background: #ecfdf5; color: #047857; }
.rr-property-fact.is-attention { border-color: #fcd34d; background: #fffbeb; color: #b45309; }
.rr-property-fact.is-danger { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }
.rr-property-fact.is-neutral { background: #f8fafc; color: #475569; }
.rr-property-fact.has-link { min-height: 132px; box-shadow: 0 2px 4px rgba(15,23,42,.04); }
.rr-property-fact-link { display: inline-block; margin-top: 9px; color: currentColor; font-size: .6875rem; font-style: normal; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.rr-property-summary-note { margin: 0; padding-top: 2px; color: var(--text-muted); font-size: .75rem; }
.rr-property-addresses { color: #475569; font-size: 0.92rem; margin-top: 2px; }
.rr-property-next-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; border: 1px solid #fcd34d; border-radius: 8px; background: #fffbeb; }
.rr-property-next-step strong { color: #78350f; font-size: .875rem; }
.rr-property-next-step p { margin: 4px 0 0; color: #92400e; font-size: .8125rem; line-height: 1.5; }
.rr-property-next-links { display: grid; gap: 7px; justify-items: end; }
.rr-property-requests { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.rr-property-requests strong { color: #1e3a8a; font-size: .875rem; }
.rr-property-requests p { margin: 4px 0 0; color: #1e3a8a; font-size: .8125rem; line-height: 1.5; }
.rr-record-link-note { color: var(--text-muted); font-size: .75rem; white-space: nowrap; }
.rr-data-dates { display: block; margin-top: 4px; color: var(--text-muted); font-size: .75rem; }
/* Results scroll into view after a search; keep them clear of the fixed header. */
#rr-lookup-results { scroll-margin-top: 96px; }
.rr-portfolio-read-note { margin: 0; color: var(--text-muted); font-size: .75rem; }
.rr-record-group { display: grid; gap: 10px; }
.rr-record-group-header { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.rr-record-group-header h3 { margin: 0; font-size: 1rem; }
.rr-record-count { color: var(--text-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rr-record-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.rr-record-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.rr-record-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rr-record-title strong { color: var(--text); }
.rr-record-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; margin: 7px 0 0; color: var(--text-muted); font-size: .8125rem; }
/* The City's status word links to the card that explains it; a word with no
   card gets a line from the record's own flags (2026-10-14). */
.rr-record-word-link { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rr-record-word-note { margin: 5px 0 0; color: var(--text-muted); font-size: .8125rem; line-height: 1.5; }
.rr-record-status { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.rr-record-status.is-active { background: #fef3c7; color: #92400e; }
.rr-record-status.is-current { background: #dbeafe; color: #1e40af; }
.rr-record-status.is-valid { background: #d1fae5; color: #065f46; }
.rr-record-link { white-space: nowrap; font-size: .8125rem; font-weight: 800; }
.rr-no-records { margin: 0; padding: 13px 15px; border: 1px dashed #cbd5e1; border-radius: 8px; color: var(--text-muted); font-size: .875rem; }
.rr-result-limit { margin: 2px 0 0; color: var(--text-muted); font-size: .75rem; }

/* City-records box: sits between the status cards and the action cards, closed
   by default, and reads as the place to open the records (William, 2026-10-13). */
.rr-record-history { border: 2px solid var(--rr-blue); border-radius: 10px; background: #eff6ff; overflow: hidden; box-shadow: 0 2px 6px rgba(30,58,138,.08); }
.rr-record-history > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; color: var(--rr-navy); cursor: pointer; list-style: none; }
.rr-record-history > summary::-webkit-details-marker { display: none; }
.rr-record-history-copy { display: grid; gap: 3px; }
.rr-record-history-copy strong { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; }
.rr-record-history-copy span { color: #1e3a8a; font-size: .8125rem; line-height: 1.45; }
.rr-record-history-chevron { color: var(--rr-blue); font-size: 1.35rem; font-weight: 800; line-height: 1; transition: transform var(--transition); }
.rr-record-history[open] .rr-record-history-chevron { transform: rotate(90deg); }
.rr-record-history > summary:hover { background: #dbeafe; }
.rr-record-history > summary:focus-visible { outline: 3px solid rgba(59,130,246,.3); outline-offset: -3px; }
.rr-record-history[open] > summary { border-bottom: 1px solid #bfdbfe; }
.rr-property-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rr-property-panels-address { margin: 0; color: var(--text-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rr-portfolio-detail-body .rr-property-panels { margin-top: 14px; }
.rr-record-history-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 4px 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.rr-record-history .rr-record-group { padding-top: 14px; }
.rr-record-history .rr-record-item { padding: 11px 13px; }
.rr-record-history .rr-record-address { font-size: .8125rem; }


.rr-record-finder-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 24px 24px; color: var(--text-muted); }
.rr-record-finder-notes p { margin: 0; font-size: .8125rem; }

.rr-accela-fallback { border-top: 1px solid #bfdbfe; background: #eff6ff; }
.rr-accela-fallback > summary { padding: 16px 24px; color: var(--rr-navy); cursor: pointer; font-size: .875rem; font-weight: 800; }
.rr-accela-fallback > div { padding: 0 24px 22px; }
.rr-accela-fallback p { margin-top: 0; color: var(--text-muted); font-size: .875rem; }

.rr-city-search-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rr-city-search-actions .btn { padding: 10px 18px; }

.rr-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rr-provider-grid .card { display: flex; flex-direction: column; min-width: 0; }
.rr-provider-grid .card p { flex: 1; }
.rr-provider-grid .rr-text-link { margin-top: 10px; }

.rr-provider-type {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.rr-provider-guardian {
  border: 2px solid #60a5fa;
  background: linear-gradient(145deg, #eff6ff 0%, #fff 72%);
  box-shadow: 0 10px 26px rgba(30,64,175,.12);
}

.rr-provider-guardian .rr-provider-type { background: #dbeafe; color: #1e40af; }
.rr-provider-guardian .rr-text-link { color: var(--brand-dark); }

.rr-booking {
  scroll-margin-top: 76px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(59,130,246,.2), transparent 30%),
    radial-gradient(circle at 92% 90%, rgba(16,185,129,.12), transparent 28%),
    var(--rr-navy);
}

.rr-booking-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.rr-booking-heading .upper { margin-bottom: 5px; color: #93c5fd; }
.rr-booking-heading h2 { margin: 0; color: #fff; }
.rr-booking-heading > p { margin: 0; color: #dbeafe; font-size: 1rem; }
.rr-inspection-selector fieldset { margin: 0; padding: 0; border: 0; }
.rr-inspection-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rr-inspection-options label { position: relative; cursor: pointer; }
.rr-inspection-options input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rr-inspection-option {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  padding: 20px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 24px rgba(2,6,23,.18);
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.rr-inspection-options label:hover .rr-inspection-option { transform: translateY(-3px); border-color: #93c5fd; }
.rr-inspection-options input:checked + .rr-inspection-option { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,.3), 0 15px 30px rgba(2,6,23,.24); }
.rr-inspection-options input:focus-visible + .rr-inspection-option { outline: 3px solid #fbbf24; outline-offset: 3px; }
.rr-inspection-option::after { content: "Select"; align-self: flex-start; margin-top: auto; padding-top: 14px; color: var(--rr-blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rr-inspection-options input:checked + .rr-inspection-option::after { content: "Selected \2713"; color: var(--rr-green); }
.rr-inspection-option strong { margin: 14px 0 4px; color: var(--rr-navy); font-size: 1.05rem; line-height: 1.35; }
.rr-inspection-option small { margin-bottom: 12px; color: var(--rr-blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.rr-inspection-option > span:last-of-type { color: var(--text-muted); font-size: .875rem; line-height: 1.55; }
.rr-inspection-badge { align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: #d1fae5; color: #065f46; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.rr-inspection-badge-alt { background: #e2e8f0; color: #475569; }

.rr-booking-decision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.09);
}
.rr-booking-selection { display: block; margin-bottom: 5px; color: #bfdbfe; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rr-booking-decision p { margin: 0; color: #e2e8f0; font-size: .875rem; }
.rr-booking-actions { display: grid; gap: 9px; min-width: 230px; text-align: center; }
.rr-booking-actions .btn-primary { background: #fff; border-color: #fff; color: var(--brand-dark); }
.rr-booking-actions .btn-primary:hover { background: var(--brand-50); color: var(--brand-dark); }
.rr-booking-price { color: #bfdbfe; font-size: .8125rem; font-weight: 700; }
.rr-booking-boundary { margin: 18px 0 0; color: #94a3b8; font-size: .75rem; text-align: center; }

.rr-lead-help { background: var(--rr-navy); }

.rr-lead-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
}

.rr-lead-help h2, .rr-lead-help p, .rr-lead-help .upper { color: #fff; }
.rr-lead-help p { color: #dbeafe; }
.rr-lead-help .checklist li { color: #e2e8f0; }
.rr-lead-help .checklist li::before { color: #6ee7b7; }

.rr-lead-help-action { display: grid; gap: 14px; text-align: center; }
.rr-lead-help-action .btn-primary { background: #fff; border-color: #fff; color: var(--brand-dark); }
.rr-lead-help-action .btn-primary:hover { background: var(--brand-50); color: var(--brand-dark); }
.rr-lead-help-action .rr-text-link { color: #bfdbfe; }

.rr-source-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
}

.rr-source-list a {
  display: grid;
  gap: 3px;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.rr-source-list a:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.rr-source-list span { color: var(--text-muted); font-size: .875rem; }

.rr-disclaimer {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: .875rem;
}

@media (max-width: 900px) {
  .rr-quick-grid { grid-template-columns: 1fr; gap: 20px; }
  .rr-quick-intro { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--brand-100); }
  .rr-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-basics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-record-finder-intro { grid-template-columns: 1fr; gap: 12px; }
  .rr-apply-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-booking-heading { grid-template-columns: 1fr; gap: 12px; }
  .rr-provider-grid { grid-template-columns: 1fr; }
  .rr-portfolio-property > summary { grid-template-columns: 1fr 22px; }
  .rr-portfolio-status-grid { grid-column: 1 / -1; grid-row: 2; }
  .rr-portfolio-chevron { grid-column: 2; grid-row: 1; }
  .rr-inspection-options { grid-template-columns: 1fr; }
  .rr-inspection-option { min-height: 0; }
  .rr-choice-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-lead-help-grid { grid-template-columns: 1fr; gap: 28px; }
  .rr-lead-help-action { justify-items: start; text-align: left; }
}

@media (max-width: 680px) {
  .rr-hero { padding: 42px 0 36px; }
  .rr-quick-links { grid-template-columns: 1fr; }
  .rr-quick-links a,
  .rr-quick-links a:nth-child(odd) {
    min-height: 78px;
    padding: 13px 14px;
    border: 1px solid #bfdbfe;
  }
  .rr-record-finder-intro { padding: 24px 20px 20px; }
  .rr-record-finder-shell { margin: 14px; padding: 19px 16px; }
  .rr-property-search-row { grid-template-columns: 1fr; }
  .rr-property-search-row .btn { width: 100%; }
  .rr-portfolio-tool > summary { align-items: flex-start; }
  .rr-portfolio-open { max-width: 105px; text-align: right; }
  .rr-portfolio-results-header { display: grid; }
  .rr-portfolio-result-actions { justify-content: flex-start; }
  .rr-portfolio-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-portfolio-actions .btn { flex: 1 1 140px; }
  .rr-record-finder-notes { grid-template-columns: 1fr; gap: 12px; margin: 0 16px 20px; }
  .rr-apply-steps, .rr-property-facts { grid-template-columns: 1fr; }
  .rr-property-summary-head { display: grid; gap: 4px; }
  .rr-finder-section { padding: 18px 0 24px; }
  .rr-booking-decision { grid-template-columns: 1fr; padding: 18px; }
  .rr-booking-actions { min-width: 0; }
  .rr-record-item { grid-template-columns: 1fr; gap: 10px; }
  .rr-property-next-step { grid-template-columns: minmax(0, 1fr); }
  .rr-property-requests { grid-template-columns: minmax(0, 1fr); }
  .rr-property-next-links { justify-items: start; }
  .rr-record-link { justify-self: start; }
  .rr-property-next-links .rr-record-link,
  .rr-property-requests .rr-record-link,
  .rr-record-link-note { white-space: normal; }
  .rr-choice-grid, .rr-choice-grid-4, .rr-document-grid, .rr-source-list { grid-template-columns: 1fr; }
  .rr-basics-grid { grid-template-columns: 1fr; }
  .rr-basics-grid article { min-height: 0; }
  .rr-builder, .rr-results { padding: 24px 18px; }
  .rr-tool-disclosure > summary { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .rr-tool-open { justify-self: start; }
  .rr-tool-body { padding: 24px 18px 28px; }
  .rr-results-header { display: grid; }
}

@media print {
  .rr-page.rr-printing-results > * { display: none !important; }
  .rr-page.rr-printing-results main,
  .rr-page.rr-printing-results .rr-builder-section,
  .rr-page.rr-printing-results .rr-builder-section > .container,
  .rr-page.rr-printing-results .rr-results { display: block !important; }
  .rr-page.rr-printing-results .rr-builder-section { padding: 0; background: #fff; }
  .rr-page.rr-printing-results .rr-builder-section .rr-section-heading,
  .rr-page.rr-printing-results .rr-tool-disclosure > summary,
  .rr-page.rr-printing-results .rr-builder,
  .rr-page.rr-printing-results .rr-results-header .btn,
  .rr-page.rr-printing-results .rr-results-actions { display: none !important; }
  .rr-page.rr-printing-results .rr-results {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .rr-page.rr-printing-results .rr-result-item { break-inside: avoid; }
  .rr-page.rr-printing-results .rr-result-item a::after { content: " (" attr(href) ")"; font-weight: 400; }
}

@media print {
  .rr-page.rr-printing-portfolio > header,
  .rr-page.rr-printing-portfolio > .contact-strip,
  .rr-page.rr-printing-portfolio > footer,
  .rr-page.rr-printing-portfolio .mobile-cta-bar,
  .rr-page.rr-printing-portfolio main > section:not(.rr-finder-section),
  .rr-page.rr-printing-portfolio .rr-record-finder-intro,
  .rr-page.rr-printing-portfolio .rr-property-lookup,
  .rr-page.rr-printing-portfolio .rr-portfolio-tool > summary,
  .rr-page.rr-printing-portfolio #rr-portfolio-lookup,
  .rr-page.rr-printing-portfolio .rr-property-privacy,
  .rr-page.rr-printing-portfolio #rr-lookup-status,
  .rr-page.rr-printing-portfolio #rr-lookup-results,
  .rr-page.rr-printing-portfolio .rr-record-finder-notes,
  .rr-page.rr-printing-portfolio .rr-accela-fallback,
  .rr-page.rr-printing-portfolio .rr-portfolio-result-actions,
  .rr-page.rr-printing-portfolio .rr-portfolio-detail-body { display: none !important; }
  .rr-page.rr-printing-portfolio .rr-finder-section,
  .rr-page.rr-printing-portfolio .rr-finder-section .container,
  .rr-page.rr-printing-portfolio .rr-record-finder,
  .rr-page.rr-printing-portfolio .rr-record-finder-shell,
  .rr-page.rr-printing-portfolio .rr-portfolio-tool,
  .rr-page.rr-printing-portfolio .rr-portfolio-body,
  .rr-page.rr-printing-portfolio .rr-portfolio-results { display: block !important; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .rr-page.rr-printing-portfolio .rr-portfolio-property { margin-top: 8px; break-inside: avoid; }
  .rr-page.rr-printing-portfolio .rr-portfolio-property > summary { grid-template-columns: 1fr 1.8fr; padding: 9px; }
  .rr-page.rr-printing-portfolio .rr-portfolio-chevron { display: none; }
  .rr-page.rr-printing-portfolio .rr-portfolio-next-step { margin-top: 14px; break-inside: avoid; }
  .rr-page.rr-printing-portfolio .rr-portfolio-next-step a::after { content: " (" attr(href) ")"; font-weight: 400; }
}

/* Rental registration status words (cleveland-rental-registration.html) */
.rr-status-words-list { display: grid; gap: 14px; }
.rr-status-word { background: #fff; border: 1px solid var(--border, #e6e3dd); border-radius: 12px; padding: 18px 22px; }
.rr-status-word h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--rr-navy); }
.rr-status-word p { margin: 0 0 8px; color: var(--text-muted); line-height: 1.6; }
.rr-status-word p:last-child { margin-bottom: 0; }
/* Cards and the rarer-words note are link targets from the finder's records
   list: keep them clear of the sticky header and mark the card landed on. */
.rr-status-word, #status-rare-words { scroll-margin-top: 88px; }
.rr-status-word:target { border-color: var(--rr-blue); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }

/* Local Agent in Charge definition and rules (local-agent-in-charge.html) */
.laic-definition-grid { display: grid; gap: 20px; }
.laic-definition-grid article { background: #fff; border: 1px solid var(--border, #e6e3dd); border-radius: 12px; padding: 20px 24px; }
.laic-definition-grid h3 { margin: 0 0 10px; color: #172554; }
.laic-definition-grid ul { margin: 0; padding-left: 20px; }
.laic-definition-grid li { margin-bottom: 10px; color: var(--text-muted); line-height: 1.6; }
.laic-definition-grid .rr-reviewed { margin-top: 14px; }

/* HVAC certificate rule paragraph (hvac-certificate-providers.html) */
.hvac-rule { background: #fff; border-left: 4px solid #172554; padding: 14px 18px; margin: 16px 0; line-height: 1.6; }

/* Phones: the address box comes first on the finder page (William 2026-10-16).
   The hero buttons only jump to the finder or to the guide below it, and the
   hero summary repeats the finder's own description, so phones skip both; the
   finder's long description moves under the search box. */
/* Phones already have the Call Now bar and the contact strip, so the hero's
   own phone button is a duplicate there; dropping it lifts the next button
   (on the home page, the public-records check) onto the first screen. */
@media (max-width: 768px) {
  .hero { padding-top: 32px; }
  .hero-cta a[href^="tel:"] { display: none; }
}

@media (max-width: 680px) {
  .rr-hero { padding: 24px 0 20px; }
  .rr-hero .h1 { font-size: 1.75rem; }
  .rr-hero .lead, .rr-hero .hero-cta { display: none; }
  .rr-hero .rr-reviewed { margin-top: 12px; }
  .rr-record-finder { display: flex; flex-direction: column; }
  .rr-record-finder-intro { display: contents; }
  .rr-record-finder-intro > div { order: 1; padding: 20px 20px 18px; background: var(--rr-navy); }
  .rr-record-finder-shell { order: 2; }
  .rr-record-finder-intro > p { order: 3; margin: 0 16px 16px; color: var(--text-muted); font-size: .875rem; }
  .rr-record-finder-notes { order: 4; }
  .rr-accela-fallback { order: 5; }
  .rr-portfolio-tool > summary { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rr-portfolio-open { max-width: none; text-align: left; }
}

/* Finder: what-you-get checklist under the search box (William 2026-10-16) */
.rr-finder-gets-label { margin: 0; font-weight: 700; color: var(--text); font-size: .8125rem; }
.rr-finder-gets { margin: 6px 0 0; padding-left: 18px; font-size: .8125rem; }
.rr-finder-gets li { margin: 2px 0; }
@media (max-width: 680px) {
  .rr-record-finder-intro > p { display: none; }
  .rr-finder-gets-label, .rr-finder-gets li { font-size: .875rem; }
}

/* Status words (William 2026-10-16): a short checklist intro, cards that fold
   on phones (rental-registration.js closes them there and opens a card a link
   points to), and the rarer words behind an expander. Desktop keeps every
   card open and the summary inert. */
.rr-status-words-intro { max-width: 640px; margin: 0 auto 24px; }
.rr-status-words-fine { margin: 10px 0 0; color: var(--text-muted); font-size: .8125rem; }
.rr-status-toggle > summary { list-style: none; }
.rr-status-toggle > summary::-webkit-details-marker { display: none; }
.rr-status-rare { margin-top: 14px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; scroll-margin-top: 88px; }
.rr-status-rare > summary { padding: 14px 18px; color: var(--rr-navy); cursor: pointer; font-size: .875rem; font-weight: 800; }
.rr-status-rare > div { padding: 0 18px 16px; }
.rr-status-rare p { margin: 0 0 8px; color: var(--text-muted); font-size: .875rem; }
.rr-status-rare p:last-child { margin-bottom: 0; }
@media (min-width: 681px) {
  .rr-status-toggle > summary { pointer-events: none; }
}
@media (max-width: 680px) {
  .rr-status-words-list { gap: 10px; }
  .rr-status-word { padding: 14px 16px; }
  .rr-status-toggle > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
  .rr-status-toggle > summary::after { content: "+"; color: var(--rr-blue); font-size: 1.25rem; font-weight: 800; line-height: 1; }
  .rr-status-toggle[open] > summary::after { content: "\2212"; }
  .rr-status-toggle:not([open]) h3 { margin: 0; }
}

/* Home page calls to action (William 2026-10-23): one action per section.
   The hero carries the one records button, with the phone as plain text;
   mid-page sections use quiet text links; the closing banner asks for the
   quote. Phones already have the Call Now bar, so the hero phone line hides. */
.hero-call { margin: 16px auto 0; color: var(--text-muted); font-size: .95rem; }
.hero-call a { font-weight: 600; white-space: nowrap; }
.rental-center-home-link { margin: 0 0 4px; }
.rental-center-home-link .rr-text-link { color: #065f46; }
@media (max-width: 768px) {
  .hero-call { display: none; }
}

/* Home page design pass (William 2026-10-23): no buttons near the hero.
   Desktop header items read as plain menu links of equal weight; Services and
   Pricing & Quote lose their boxes (this applies on every page, since the
   header is shared). Phones and the hamburger menu: the Call Now / Pricing &
   Quote bar is the only call or quote action, so the home page body drops its
   closing quote button there and its standalone links get thumb-sized rows.
   Desktop keeps one quote action, the closing banner button. */
@media (min-width: 1101px) {
  .site-header .nav-list > li.primary-services-nav > a,
  .site-header .nav-list > li.pricing-quote-nav > a,
  .site-header .nav-list > li.rental-center-nav > a,
  .site-header .nav-list > li.resource-center-nav > a {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0 !important;
    font-weight: 600;
  }
  .site-header .rental-center-nav strong,
  .site-header .resource-center-nav strong { font-size: .9375rem; font-weight: 600; }
  .site-header .nav-list > li.primary-services-nav > a:hover,
  .site-header .nav-list > li.primary-services-nav > a[aria-current="page"],
  .site-header .nav-list > li.pricing-quote-nav > a:hover,
  .site-header .nav-list > li.pricing-quote-nav > a[aria-current="page"],
  .site-header .nav-list > li.rental-center-nav > a:hover,
  .site-header .nav-list > li.rental-center-nav > a[aria-current="page"],
  .site-header .nav-list > li.resource-center-nav > a:hover,
  .site-header .nav-list > li.resource-center-nav > a[aria-current="page"] {
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
  }
}
@media (min-width: 1101px) and (max-width: 1439px) {
  .site-header .nav-list > li > a,
  .site-header .nav-list > li.primary-services-nav > a,
  .site-header .nav-list > li.pricing-quote-nav > a,
  .site-header .nav-list > li.rental-center-nav > a,
  .site-header .nav-list > li.resource-center-nav > a { padding-left: 8px; padding-right: 8px; }
  .site-header .rental-center-nav strong,
  .site-header .resource-center-nav strong { font-size: .8125rem; }
}

@media (max-width: 1100px) {
  .nav-list > li.primary-services-nav,
  .nav-list > li.pricing-quote-nav { margin: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-list > li.primary-services-nav > a,
  .nav-list > li.pricing-quote-nav > a {
    padding: 18px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
  }
  .nav-list > li.primary-services-nav > a:hover,
  .nav-list > li.primary-services-nav > a:active,
  .nav-list > li.pricing-quote-nav > a:hover,
  .nav-list > li.pricing-quote-nav > a:active { background: rgba(255, 255, 255, .08); }
}

.home-meet-link { margin-top: 4px; }

@media (max-width: 768px) {
  .home .hero .lead { font-size: 1.0625rem; }
  .home .home-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 4px 16px; justify-items: start; }
  .home .home-trust .trust-badge { align-items: flex-start; font-size: .8125rem; line-height: 1.35; }
  .home section:has(> .home-trust) { padding: 20px 0 !important; }
  .home #meet-william .about-portrait { max-width: 200px; }
  .home #meet-william .about-block { gap: 20px; }
  .home .rr-text-link,
  .home .card-static p > a[href]:only-child { display: inline-block; padding: 12px 0; }
  .home .cta-banner { padding: 48px 20px; }
  .home .cta-banner p { margin-bottom: 0; }
  .home .cta-banner .btn { display: none; }
}

/* Phone-width rules for all pages: the bottom bar already carries Call and Quote (2026-10-23) */
@media (max-width: 768px) {
  .phone-hide { display: none !important; }
  #meet-william .about-portrait { max-width: 200px; }
  #meet-william .about-block { gap: 20px; }
}

/* Site search: the records-finder card for an address or parcel number, and
   the links in the no-match note (2026-10-24). */
.help-search-result-property { border-color: #93c5fd; background: var(--brand-50); }
.help-search-result-property strong { overflow-wrap: anywhere; }
.help-search-empty a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.help-search-empty a:hover, .help-search-empty a:focus-visible { color: var(--brand-dark); }

/* About page: short sections, tighter rhythm (William 2026-10-24) */
.about-page .section { padding: 40px 0; }
.about-page .section h2 { margin-top: 0; margin-bottom: 10px; }
.about-page .section p:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .about-page .section { padding: 30px 0; } }

/* Inline links in body copy read as links: underlined, brand color (William 2026-10-24) */
main p a:not(.btn):not(.rr-text-link),
main li a:not(.btn):not(.rr-text-link),
main td a:not(.btn),
main .faq a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30, 64, 175, .45);
}
main p a:not(.btn):not(.rr-text-link):hover,
main li a:not(.btn):not(.rr-text-link):hover,
main td a:not(.btn):hover,
main .faq a:not(.btn):hover { text-decoration-color: currentColor; }
.cta-banner p a { text-decoration-color: rgba(255, 255, 255, .6); }
