html,body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}body h1,body h2,body h3,body h4,body h5,body h6{font-family:"Inter Tight",sans-serif!important;letter-spacing:-0.025em}body button,body input,body select,body textarea{font-family:inherit}html{overflow-x:clip}@media(max-width:480px){.quote-range{font-size:28px!important}.quote-card{padding:18px!important}.est-left,.est-right{min-width:0}.est-opt-choices{max-width:100%}.liveops{padding:24px 16px!important}.liveops-stat{padding:16px 12px!important;min-width:0}.liveops-stat-v{font-size:24px!important}.liveops-h{font-size:20px!important}}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700;800&display=swap');
/* ---- 2172.patched ---- */
/* -- Accessibility & 75yr-old readability improvements -- */

/* Skip to content */
.skip-nav {
  position: fixed; top: -100px; left: 12px; z-index: 99999;
  background: var(--ink); color: var(--paper);
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: top 120ms;
}
.skip-nav:focus { top: 12px; }

/* Global focus ring - replaces outline:none with accessible visible ring */
*:focus-visible {
  outline: 2.5px solid #1A5FD6 !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}
/* Suppress ring for mouse clicks only */
*:focus:not(:focus-visible) { outline: none; }

/* Minimum body text size - brief: 18px floor for low-vision accessibility */
body { font-size: 18px; }

/* Raise letter/number labels floor to 14px, .06em (P0: was 13px; .sec-eyebrow/.est-section-label
   moved to the single canonical eyebrow rule below to remove the duplicate declaration) */
.trust-card-label, .pcq-step-label,
.pcq-email-label, .svc-eyebrow, .tag-chip, .video-thumb-label,
.pcq-vision-label, .pcq-roi-label, .rec-tag, .phase-label,
.backbone-kicker, .nav-drop-trigger span {
  font-size: 14px !important;
}

/* Concierge chat pill starters - readable */
.chat-pill { font-size: 14px !important; }

/* Monospace eyebrows - floor at 13px */
[style*="font-family:var(--font-body)"] {
  min-font-size: 13px;
}

/* Sticky mobile phone bar - two balanced thumb-zone actions */
.sticky-phone-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  align-items: stretch; gap: 12px;
  box-shadow: 0 -4px 24px rgba(22,32,30,.18);
  border-top: 1px solid rgba(255,255,255,.08);
}
.sticky-phone-bar a.sph-call {
  flex: 1.65 1 0; min-height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--paper); font-size: 15px; font-weight: 700;
  text-decoration: none; letter-spacing: -.01em;
  border: 1.5px solid rgba(255,255,255,.28); border-radius: 12px;
  background: rgba(255,255,255,.04);
  transition: border-color 140ms, background 140ms;
}
.sticky-phone-bar a.sph-call span { line-height: 1.1; text-align: center; }
.sticky-phone-bar a.sph-call:active { background: rgba(255,255,255,.1); }
.sticky-phone-bar a.sph-call svg { flex-shrink: 0; }
.sticky-phone-bar .sph-assess {
  flex: 1 1 0; min-height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--halo-deep); color: #fff;
  border: 0; border-radius: 12px; padding: 0 16px;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(20,78,184,.32);
  transition: background 140ms;
}
.sticky-phone-bar .sph-assess svg { flex-shrink: 0; }
.sticky-phone-bar .sph-assess:active { background: var(--halo-deep); }
@media (max-width: 640px) {
  .sticky-phone-bar { display: flex; }
  /* Push page content up so bar doesn't cover footer */
  body { padding-bottom: 76px; }
}

/* Chat input size */
.chat-input, #chatInput, textarea.chat-input {
  min-height: 80px !important;
  font-size: 16px !important;
  resize: vertical;
  line-height: 1.5 !important;
}

/* Input labels - make persistent and visible */
.field-label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 5px;
}
.field-hint {
  display: block; font-size: 13px; color: var(--steel);
  margin-top: 4px; line-height: 1.4;
}

/* Ensure all form inputs have visible labels */
.form-field { display: flex; flex-direction: column; gap: 0; }

.xb-field-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-2); margin: 10px 0 4px; letter-spacing: -.01em;
}
.xb-ident-form { display: flex; flex-direction: column; gap: 0; }

:root {
  /* Semantic surface tokens - adapt cleanly in dark mode */
  /* Warm / natural tones */
  --forest:      #144EB8;
  --forest-2:    #1759D3;
  --forest-soft: #E3ECFC;
  --amber-deep:  #8C5E00;
  --amber-soft:  #FEF4DE;
  --warm-paper:  #FAF8F4;
  --bark:        #4A3728;
}
html { color-scheme: light; }

/* Dark mode is opt-in via [data-theme="dark"] on <html> - not triggered by OS preference.
   Wire a toggle later via the Tweaks panel; tokens below already do all the work. */

  /* Subtle adjustments for dark-mode visual coherence */
  
  
  /* Shadows are less visible on dark - strengthen slightly */
  
  
  /* Logo strip + footer: warmer borders */
  
  
  
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
/* Dark mode toggle */

.nav-chat {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--forest-soft); color: var(--forest);
  border: 1.5px solid rgba(20,78,184,.2); border-radius: 8px;
  padding: 8px 14px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 140ms, border-color 140ms;
  white-space: nowrap; min-height: 40px;
}
.nav-chat:hover { background: #CFDFFC; border-color: var(--forest); }
/* Desktop: show short label; mobile menu: show long label with hint */
.nav-btn-desk { display: inline; }
.nav-btn-mob  { display: none; flex-direction: column; gap: 3px; }
.nav-btn-hint { display: block; font-size: 12.5px; font-weight: 400; opacity: .72; margin-top: 2px; letter-spacing: 0; text-transform: none; font-style: normal; }
@media (max-width: 900px) {
  nav.is-open .nav-btn-desk { display: none; }
  nav.is-open .nav-btn-mob  { display: flex; }
  /* Section label before action cards */
  .nav-links::before {
    content: 'How can we help?';
    display: none;
    font-family: var(--font-body);
    font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--steel); font-weight: 500; padding: 0 4px 12px;
    order: -4;
  }
  nav.is-open .nav-links::before { display: block; }
  /* Explore divider before nav links */
  .nav-links a[href="#residential"] {
    margin-top: 8px;
    padding-top: 24px;
  }
  .nav-links a[href="#residential"]::before {
    content: 'Explore';
    position: absolute; top: 0; left: 4px;
    font-family: var(--font-body);
    font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--steel); font-weight: 500;
  }
  nav.is-open .nav-links a[href="#residential"] { position: relative; }
}


/* Show sun in dark mode, moon in light mode */

[data-theme="light"] .icon-sun{ display: none; }


.shell { max-width: 1240px; margin: 0 auto; padding: 0 32px; min-width: 0; }

/* Responsive base */
@media (max-width: 1100px) {
  .shell { padding: 0 28px; }
}
@media (max-width: 760px) {
  .shell { padding: 0 20px; }
}

/* =============== NAV =============== */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(251, 252, 254, 0.7);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; cursor: pointer; }
.brand-text {
  font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 600;
  letter-spacing: -0.025em;
}
.brand-text { font-weight: 500; letter-spacing: -0.025em; }
.brand-text .q-accent {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--iri-a) 0%, var(--halo) 55%, var(--iri-c) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.02em;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-call { display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:600; color:var(--ink); border:1.5px solid var(--halo); background: rgba(20,78,184,.06); padding:8px 16px; border-radius:999px; white-space:nowrap; min-height:40px; transition:border-color .15s ease, color .15s ease; }
.nav-call svg { color:var(--halo-deep); flex-shrink:0; }
.nav-call:hover { border-color:var(--halo-deep); color:var(--halo-deep); background: rgba(20,78,184,.12); }
/* Floating mobile call button */
.float-call {
  display: none;
  position: fixed; bottom: 20px; right: 16px; z-index: 500;
  background: var(--ink); color: #fff !important;
  align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 16px;
  letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 6px 28px rgba(22,32,30,.32), 0 1px 4px rgba(22,32,30,.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.float-call svg { color: var(--halo-2); flex-shrink: 0; }
.float-call:hover { transform: translateY(-2px); background: var(--halo-deep); box-shadow: 0 10px 36px rgba(20,78,184,.35); }
@media (max-width: 760px) {
  /* float-call hidden: sticky bar already has Call + Text buttons */
  .float-call { display: none !important; }
  body { padding-bottom: 88px; }
}
/* Accessibility: legible floor for decorative micro-labels (helps older eyes).
   P0: single canonical rule for every mono-style eyebrow/label/status class, 14px
   (was split across two conflicting forced-size blocks, 13px and 14.5px; letter-spacing
   left to each class's own rule to avoid adding a second forced property here). */
.est-section-label, .agent-status, .logos-label, .deployed, .sec-eyebrow,
.est-eyebrow, .hero-eyebrow, .soln-eyebrow, .label, .scenario-head, .foot-note, .conf-lbl,
.pf-risk, .video-cap, .channel-capture-legal,
.quote-breakdown .k, .liveops-stat .k, .survey-card .k {
  font-size: 14px !important;
}
.nav-burger { display: none; background: none; border: 0; padding: 0; cursor: pointer; width: 56px; height: 56px; align-items: center; justify-content: center; color: var(--ink); margin-left: auto; }
.nav-burger svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .nav-burger { display: inline-flex; margin-left: 8px; }
  .nav-call { margin-left: auto; min-height: 48px; padding: 0 14px; font-size: 15px; }
  /* When the slide-down menu is open, drop the nav's backdrop-filter. An element
     with backdrop-filter becomes the containing block for position:fixed children,
     which would otherwise trap the full-screen menu inside the ~84px nav bar and
     let the page show through below it. */
  nav.is-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--paper); }
  /* Keep the logo + close button tappable on top of the full-screen menu */
  nav.is-open .brand,
  nav.is-open .nav-burger { position: relative; z-index: 999; }
  /* Swap the hamburger for a clear X while the menu is open */
  .nav-burger .icon-close { display: none; }
  nav.is-open .nav-burger .icon-open { display: none; }
  nav.is-open .nav-burger .icon-close { display: block; }

  /* Hide nav-chat + nav-cta from the top bar on mobile - they live inside the menu */
  .nav-chat { display: none !important; }
  .nav-cta  { display: none !important; }

  /* Full-screen slide-down menu */
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 88px 24px 48px;
    overflow-y: auto; z-index: 998;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }

  /* Hide all children until open */
  .nav-links > * { display: none !important; }

  /* Reveal and reorder when open */
  nav.is-open .nav-links > * { display: flex !important; }

  /* Primary action cards - Chat and Assess float to the top */
  nav.is-open .nav-links .nav-chat {
    order: -3; min-height: 68px; width: 100%;
    padding: 16px 20px; border-radius: 16px;
    font-size: 18px; font-weight: 600; gap: 14px;
    background: var(--forest-soft) !important;
    color: var(--forest) !important;
    border: 1.5px solid rgba(20,78,184,.22) !important;
    margin-bottom: 10px; justify-content: flex-start !important;
    align-items: center;
  }
  nav.is-open .nav-links .nav-cta {
    order: -2; min-height: 68px; width: 100%;
    padding: 16px 20px; border-radius: 16px;
    font-size: 18px; font-weight: 600;
    background: var(--ink) !important; color: var(--paper) !important;
    border: 0 !important; margin-bottom: 28px;
    text-align: left; justify-content: flex-start !important;
    align-items: center;
  }

  /* Explore links */
  .nav-links a {
    padding: 17px 4px; min-height: 58px;
    display: flex; align-items: center;
    font-size: 18px; font-weight: 500;
    border-bottom: 1px solid var(--rule);
    color: var(--ink-2);
  }
  .nav-links a:last-child { border-bottom: 0; }

  /* Book appointment in the explore list */
  .nav-links a.nav-book-mobile {
    background: var(--halo-soft); color: var(--halo-deep) !important;
    border: 1.5px solid var(--halo); border-radius: 14px; border-bottom: 0 !important;
    margin-top: 20px; padding: 17px 20px; min-height: 60px;
    font-weight: 600; justify-content: center;
  }

  /* Dropdown in mobile: flat indented links */
  nav.is-open .nav-links .nav-drop { flex-direction: column; gap: 0; }
}
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--halo-deep); }
.nav-links a.nav-cta { color: var(--paper); }
/* Nav dropdown */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-trigger {
  font-size: 14px; color: var(--ink-2); font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; padding: 0; font-family: inherit;
  transition: color 140ms ease; white-space: nowrap;
}
.nav-drop:hover .nav-drop-trigger { color: var(--halo-deep); }
.nav-drop-trigger .chev { transition: transform 200ms ease; }
.nav-drop-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 16px; padding: 6px 6px; min-width: 210px;
  box-shadow: 0 12px 40px -10px rgba(22,32,30,.16);
  opacity: 0; pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 200;
}
/* Invisible bridge across the 14px gap so moving the cursor from the trigger
   to a link never leaves .nav-drop (which would fire mouseleave and close it). */
.nav-drop-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
/* Dropdown opens via JS mouseenter/mouseleave - no CSS :hover rule */
.nav-drop-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 13px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; transition: background 130ms ease, color 130ms ease;
}
.nav-drop-menu a:hover { background: var(--paper-2); color: var(--ink); }
.nav-drop-menu a .dm-badge {
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  background: rgba(20,78,184,.12); color: var(--halo-deep);
  padding: 2px 7px; border-radius: 999px; flex-shrink: 0;
}
/* Mobile: dropdown becomes flat indented links */
@media (max-width: 768px) {
  .nav-drop { display: contents; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    box-shadow: none; border: 0; padding: 0; background: transparent;
    display: none; flex-direction: column;
  }
  /* Accordion: links expand only when the trigger reports open */
  nav.is-open .nav-drop-menu[aria-hidden="false"] { display: flex; }
  .nav-drop-menu a {
    padding: 14px 4px 14px 20px; border-radius: 0; font-size: 15px;
    border-bottom: 1px solid var(--rule); color: var(--ink-2);
  }
  .nav-drop-menu a .dm-badge { display: none; }
}
.nav-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 160ms ease;
  position: relative; z-index: 300;
  border: none; box-shadow: none; appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--halo-deep); }

@media (max-width: 900px) { .nav-phone { display: none !important; } }
.hero { padding: 96px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle,
    rgba(20,78,184,.18) 0%,
    rgba(20,78,184,.12) 35%,
    transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--halo-deep);
  margin: 0 0 18px 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--halo);
  box-shadow: 0 0 0 0 rgba(20,78,184,.6);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,78,184,.6); }
  50% { box-shadow: 0 0 0 6px rgba(20,78,184,0); }
}
h1.hero-h {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: clamp(40px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.045em;
  margin: 0 0 24px 0; max-width: 900px;
  text-wrap: balance; overflow-wrap: anywhere;
}
.shell h1, .shell h2 { overflow-wrap: anywhere; }
h1.hero-h .grad {
  background: linear-gradient(135deg, var(--iri-a) 0%, var(--halo) 50%, var(--iri-c) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 21px; line-height: 1.5; color: var(--ink-2);
  max-width: 640px; margin: 0 0 36px 0; letter-spacing: normal;
}
.cta-row { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 160ms ease, background 160ms ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--halo-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--bg-card); color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { font-size: 18px; line-height: 1; transition: transform 160ms ease; }

/* ===== GLOBAL ACCESSIBILITY FLOOR ===== */
/* No visible text element may render below 13px */
.nav-theme-toggle svg, .nav-burger svg,
.agent-attach svg, .agent-send-btn svg,
.arrow, .quick-pill, .scenario-inc,
.iq-photo-tx .p { font-size: 13px; }
.agent-send-btn { min-width: 48px !important; min-height: 48px !important; width: 48px !important; height: 48px !important; font-size: 13px; }
.agent-attach { min-width: 48px !important; min-height: 48px !important; width: 48px !important; height: 48px !important; }
.btn:hover .arrow { transform: translateX(2px); }

.trust {
  display: flex; align-items: center; gap: 24px; margin-top: 48px;
  font-size: 14px; color: var(--steel);
}
.trust-divider { width: 1px; height: 16px; background: var(--rule-2); }
.trust strong { color: var(--ink); font-weight: 600; }

/* =============== HERO AGENT MODULE =============== */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px;
  align-items: center; position: relative;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

.agent-module {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 24px;
  box-shadow:
    0 1px 2px rgba(22,32,30,.04),
    0 24px 60px -28px rgba(22,32,30,.18),
    0 8px 28px -10px rgba(20,78,184,.18);
  position: relative;
}
.agent-module::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg,
    rgba(20,78,184,.4) 0%,
    rgba(20,78,184,.4) 35%,
    rgba(20,78,184,.4) 70%,
    transparent 100%);
  border-radius: 28px;
  z-index: -1; filter: blur(12px); opacity: .6;
}
.agent-head {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--rule);
}
.agent-mark { position: relative; width: 36px; height: 36px; }
.agent-mark .halo {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--iri-a), var(--iri-b), var(--iri-c), var(--iri-d), var(--iri-a));
  filter: blur(4px); opacity: .65;
  animation: spinSlow 6s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.agent-mark svg { position: absolute; inset: 0; }
.agent-name {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.015em;
}
.agent-status {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--halo-deep);
  display: flex; align-items: center; gap: 6px;
}
.agent-status .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--halo);
  animation: livePulse 2s ease-in-out infinite;
}

.agent-stream {
  padding: 18px 4px 4px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px;
}
.bubble {
  max-width: 86%; padding: 11px 15px; border-radius: 16px;
  font-size: 14px; line-height: 1.5; letter-spacing: -.005em;
}
.bubble-user {
  align-self: flex-end;
  background: var(--paper-2); color: var(--ink);
}
.bubble-agent {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(20,78,184,.07), rgba(20,78,184,.05));
  border: 1px solid rgba(20,78,184,.15);
  color: var(--ink);
}
.bubble-agent strong { color: var(--halo-deep); }

.book-card {
  align-self: flex-start; max-width: 86%;
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.book-card .when {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
}
.book-card .who { font-size: 14px; color: var(--steel); }
/* === Live concierge controls === */
.agent-quickrow {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 4px 0;
}
.quick-pill {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 7px 11px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-2); cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.quick-pill:hover { border-color: var(--halo); color: var(--halo-deep); background: linear-gradient(180deg, white, var(--paper)); }
.agent-input {
  display: flex; align-items: flex-end; gap: 8px;
  margin-top: 14px;
  min-width: 0;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 16px; padding: 10px 8px 10px 14px;
  transition: border-color 160ms ease, background 160ms ease;
}
.agent-input:focus-within {
  border-color: var(--halo); background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(20,78,184,.10);
}
.agent-input textarea {
  flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: none;
  font: inherit; font-size: 14.5px; color: var(--ink); padding: 2px 0;
  resize: none; min-height: 52px; max-height: 180px; line-height: 1.55;
  overflow-y: auto; scrollbar-width: thin;
}
.agent-input textarea::placeholder { color: var(--steel-2); }
.agent-input button {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--ink); color: var(--paper); border: 0; cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background 140ms ease, transform 140ms ease;
}
.agent-input button:hover { background: var(--halo-deep); transform: translateX(1px); }
.agent-input button:disabled { background: var(--steel-2); cursor: not-allowed; transform: none; }
.agent-assess-pill {
  display: flex; align-items: center; gap: 7px;
  width: 100%; background: rgba(20,78,184,.06);
  border: 1px dashed rgba(20,78,184,.3); border-radius: 12px;
  padding: 9px 14px; font-family: inherit; font-size: 14px;
  font-weight: 600; color: var(--halo-deep); cursor: pointer;
  text-align: left; transition: background 140ms ease, border-color 140ms ease;
  margin-top: 4px;
}
.agent-assess-pill:hover { background: rgba(20,78,184,.1); border-color: var(--halo); }
.agent-assess-pill svg { flex-shrink: 0; }
.agent-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding: 0 2px;
  font-size: 14.5px; color: var(--steel);
}
.agent-foot span { display: inline-flex; align-items: center; gap: 5px; }
.agent-foot a { color: var(--halo-deep); text-decoration: none; font-weight: 500; }
.agent-foot a:hover { text-decoration: underline; }
/* Send transcript */
.agent-send-tx-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--rule-2); border-radius: 8px;
  padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--steel);
  cursor: pointer; transition: border-color 140ms, color 140ms, background 140ms;
  white-space: nowrap;
}
.agent-send-tx-btn:hover { border-color: var(--halo); color: var(--halo-deep); background: var(--halo-soft); }
.agent-send-tx-btn:disabled { opacity: .45; cursor: not-allowed; }
.tx-drawer {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height 300ms ease, opacity 200ms ease, margin 200ms ease;
  margin-top: 0;
}
.tx-drawer.open {
  max-height: 260px; opacity: 1; margin-top: 12px;
}
.tx-drawer-inner {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px;
  padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px;
}
.tx-drawer-title {
  font-size: 14px; font-weight: 600; color: var(--ink); margin: 0;
}
.tx-method-row {
  display: flex; gap: 8px; align-items: stretch;
}
.tx-method-row input {
  flex: 1; min-width: 0; background: var(--bg-card); border: 1px solid var(--rule-2);
  border-radius: 10px; padding: 9px 12px; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 140ms;
}
.tx-method-row input:focus { border-color: var(--halo); box-shadow: 0 0 0 3px rgba(20,78,184,.10); }
.tx-method-row button {
  background: var(--ink); color: var(--paper); border: 0; border-radius: 10px;
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 140ms;
  min-height: 42px;
}
.tx-method-row button:hover { background: var(--halo-deep); }
.tx-divider { display: flex; align-items: center; gap: 10px; color: var(--steel); font-size: 12.5px; }
.tx-divider::before, .tx-divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.tx-status {
  font-size: 13px; color: var(--good); font-weight: 500; text-align: center;
  min-height: 18px;
}
.tx-status.error { color: var(--signal); }
/* ============ HERO V2 ============ */
.hero-v2 { padding: 110px 0 80px; }
.hero-v2-inner { max-width: 740px; margin: 0 auto; text-align: center; }
.hero-v2 .hero-eyebrow { justify-content: center; margin-bottom: 28px; font-size: 14px; }
.hero-v2 .hero-h { font-size: clamp(2.4rem, 5vw, 3.8rem); text-align: center; margin-bottom: 22px; line-height: 1.12; }
.hero-v2 .hero-sub { font-size: 19px; line-height: 1.6; color: var(--steel); text-align: center; max-width: 580px; margin: 0 auto 22px; }
.aud-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 640px;
}
.aud-row a {
  flex: 1 1 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1.5px solid var(--rule-2);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(22,32,30,.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.aud-row a:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 18px 36px -28px rgba(22,32,30,.28); }
.aud-row a:focus-visible,
.concierge-pill:focus-visible,
.iq-call-btn:focus-visible { outline: 3px solid var(--halo); outline-offset: 3px; }
.cta-row-v2 { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-v2-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-radius: 16px; min-width: 200px; min-height: 56px;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform 150ms, box-shadow 150ms, background 150ms;
  text-align: left;
}
.cta-v2-btn:hover { transform: translateY(-2px); }
.cta-v2-text { display: flex; flex-direction: column; gap: 3px; }
.cta-v2-main { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: inherit; }
.cta-sub { font-size: 12.5px; font-weight: 400; opacity: .65; }
.hero-scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 34px; padding: 0; }
.hero-scope li { font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); background: var(--bg-card); border: 1px solid var(--rule-2); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }

.cta-v2-assess {
  background: var(--bg-card); color: var(--ink);
  border: 1.5px solid var(--rule-2) !important;
  box-shadow: 0 2px 8px rgba(22,32,30,.06);
}
.cta-v2-assess .cta-sub { color: var(--steel); }
.cta-v2-assess:hover { border-color: var(--steel) !important; box-shadow: 0 4px 16px rgba(22,32,30,.1); }
.cta-v2-quote {
  background: var(--ink); color: var(--paper);
  border: 0 !important;
  box-shadow: 0 6px 24px rgba(22,32,30,.22), 0 1px 4px rgba(22,32,30,.14);
}
.cta-v2-quote .cta-sub { color: var(--paper); opacity: .72; }
.cta-v2-quote:hover { background: var(--ink-2); box-shadow: 0 10px 36px rgba(22,32,30,.28); }
.cta-v2-assess:hover { border-color: var(--steel) !important; box-shadow: 0 4px 16px rgba(22,32,30,.1); }
.trust-v2 { justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.trust-phone { color: var(--steel); text-decoration: none; font-weight: 600; }
.trust-phone:hover { color: var(--halo-deep); text-decoration: underline; }

/* Hero v2 warmth overrides */
.hero-v2 { background: var(--warm-paper); }
.hero-v2 .hero-h {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.9rem);
  letter-spacing: -.03em; line-height: 1.06;
  text-align: center; margin-bottom: 24px;
}
.hero-v2 .hero-h .grad {
  background: linear-gradient(135deg, var(--forest), var(--amber-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-style: normal;
}
.hero-v2 .hero-sub { font-size: 19px; color: var(--steel); max-width: 560px; }
.hero-ornament { display: block; margin: 0 auto 32px; color: var(--forest); opacity: .22; }
/* nav-book-mobile: only visible inside the open mobile menu */
.nav-book-mobile { display: none !important; }
nav.is-open .nav-book-mobile { display: flex !important; }

@media (max-width: 640px) {
  .hero-v2 { padding: 30px 0 42px; }
  .hero-v2 .hero-sub { font-size: 19px; line-height: 1.45; margin-bottom: 18px; }
  .hero-ornament { width: 34px; height: 34px; margin-bottom: 18px; }
  .hero-v2 .hero-h { margin-bottom: 16px; }
  .hero-scope { margin-bottom: 22px; }
  .aud-row { margin-bottom: 18px; }
  .cta-v2-btn {
    display: flex !important;
    min-width: 0; width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
  }
  .cta-row-v2 {
    flex-direction: column; align-items: stretch;
    width: 100%; max-width: none;
  }
}
@media (max-width: 480px) {
  .aud-row { flex-direction: column; gap: 10px; }
}
@media (max-width: 400px) {
  .hero-v2 .hero-h { font-size: 2rem; }
}

/* Hero eyebrow (installation-led) */
.hero-v2 .hero-eyebrow {
  font-family: var(--font-body); letter-spacing: .16em;
  text-transform: uppercase; color: var(--halo-deep);
  font-size: 13px; margin: 0 0 20px;
}
/* Hero popular-installs picker (HelloTech-style service chips) */
.hero-services { max-width: 1000px; margin: 60px auto 0; }
.hero-services-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: 0 0 14px; padding: 0 2px;
}
.hero-services-title {
  font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: -.01em; color: var(--ink); margin: 0;
}
.hero-services-title span { color: var(--steel); font-weight: 500; }
.hero-services-all {
  font-size: 13.5px; font-weight: 600; color: var(--halo-deep);
  text-decoration: none; white-space: nowrap;
}
.hero-services-all:hover { text-decoration: underline; }
.hero-services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
}
.hsvc {
  display: flex; flex-direction: column; gap: 9px; align-items: flex-start;
  padding: 15px 15px 14px; border-radius: 16px; min-height: 116px;
  background: var(--bg-card); border: 1px solid var(--rule-2);
  color: var(--ink); text-decoration: none;
  transition: transform 150ms, box-shadow 150ms, border-color 150ms;
}
.hsvc:hover {
  transform: translateY(-2px); border-color: var(--halo);
  box-shadow: 0 8px 22px rgba(22,32,30,.09); text-decoration: none;
}
.hsvc-ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--halo-soft); color: var(--halo-deep);
}
.hsvc-ico svg { width: 19px; height: 19px; }
.hsvc-name {
  font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.2;
}
.hsvc-price {
  font-family: var(--font-body); font-size: 19px;
  color: var(--ink-2); margin-top: auto;
}
.hsvc-price strong { color: var(--ink); font-weight: 600; }
.hsvc-biz { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hsvc-biz .hsvc-ico { background: rgba(255,255,255,.12); color: #fff; }
.hsvc-biz .hsvc-name { color: var(--paper); }
.hsvc-biz .hsvc-price { color: rgba(255,255,255,.72); }
.hsvc-biz:hover { border-color: var(--ink); box-shadow: 0 10px 26px rgba(22,32,30,.24); }

@media (max-width: 640px) {
  .hero-services { margin-top: 32px; }
  .hero-services-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 2px 20px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .hero-services-grid::-webkit-scrollbar { display: none; }
  .hsvc { scroll-snap-align: start; flex: 0 0 44%; min-width: 148px; }
}

/* ============ FLOATING CONCIERGE FAB ============ */
.concierge-fab {
  position: fixed; bottom: 96px; right: 20px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px;
  padding: 13px 20px 13px 16px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 24px rgba(22,32,30,.22), 0 1px 4px rgba(22,32,30,.12);
  cursor: pointer; min-height: 52px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.concierge-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(22,32,30,.28); }
.fab-phone {
  font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.68);
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.18); padding-left: 10px;
  transition: color 120ms;
}
.fab-phone:hover { color: #fff; }
@media (max-width: 640px) { .fab-phone { display: none; } }
.fab-pulse {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,140,255,.25);
  animation: fabPulse 2.2s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79,140,255,.25); }
  50% { box-shadow: 0 0 0 7px rgba(79,140,255,.08); }
}
@media (max-width: 640px) {
  /* Sit just above the sticky phone bar (height ~64px) */
  .concierge-fab { bottom: 100px; right: 16px; padding: 14px; border-radius: 50%; width: 54px; height: 54px; justify-content: center; }
  .fab-label { display: none; }
}
/* P0 CTA consolidation: on phone, .sticky-phone-bar is the single surface;
   the concierge FAB and the sticky-estimate pill both step aside. */
@media (max-width: 899px) {
  .concierge-fab { display: none; }
  .sticky-estimate { display: none; }
}

/* ============ CONCIERGE OVERLAY ============ */
.concierge-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(22,32,30,0); pointer-events: none;
  transition: background 260ms ease;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.concierge-overlay.is-open { background: rgba(22,32,30,.48); pointer-events: all; }
.concierge-overlay-backdrop {
  position: absolute; inset: 0; cursor: pointer;
}
.concierge-overlay-panel {
  position: relative; z-index: 1;
  width: 440px; max-width: 100vw;
  height: min(780px, 100vh);
  height: min(780px, 100dvh);
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 60px rgba(22,32,30,.2), 0 -2px 12px rgba(22,32,30,.1);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(110%);
  transition: transform 320ms cubic-bezier(.22,1,.36,1);
}
.concierge-overlay.is-open .concierge-overlay-panel { transform: translateY(0); }
@media (max-width: 640px) {
  .concierge-overlay-panel { width: 100vw; height: 88vh; border-radius: 24px 24px 0 0; }
}
.concierge-overlay-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 0; flex-shrink: 0;
}
.concierge-overlay-title {
  font-family: var(--font-body); font-size: 13px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel); padding-left: 4px;
}
.concierge-overlay-close {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 50%; width: 36px; height: 36px; min-width: 36px;
  font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel); transition: background 130ms, color 130ms;
}
.concierge-overlay-close:hover { background: var(--rule-2); color: var(--ink); }
/* Agent-module sits inside overlay with no extra card shadow */
.concierge-overlay-panel .agent-module {
  box-shadow: none !important; border-radius: 0 !important;
  border: 0 !important; background: transparent !important;
  flex: 1; overflow: hidden; display: flex; flex-direction: column;
  margin: 0 !important;
}
.concierge-overlay-panel .agent-stream {
  flex: 1; overflow-y: auto;
}

.bubble-typing {
  display: inline-flex; gap: 4px; padding: 14px 16px !important;
}
.bubble-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--steel-2); display: inline-block;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.bubble-typing span:nth-child(2) { animation-delay: .15s; }
.bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.bubble-error {
  background: rgba(218, 80, 80, .08) !important;
  color: var(--danger) !important;
  font-size: 14px !important;
}
.action-chip-wrap {
  align-self: flex-start; max-width: 86%;
  margin-top: -4px;
}
.action-chip-pair {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.action-chip-pair .action-chip {
  flex: 1; min-width: 130px; justify-content: center;
}
.action-chip-pair .action-chip:last-child {
  background: var(--bg-card); color: var(--ink);
  border: 1.5px solid var(--rule-2);
  box-shadow: 0 2px 8px rgba(22,32,30,.08);
}
.action-chip-pair .action-chip:last-child:hover {
  background: var(--halo-soft); border-color: var(--halo);
  color: var(--halo-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20,78,184,.15);
}
.action-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border: 0; padding: 9px 14px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  cursor: pointer; text-decoration: none;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 4px 14px rgba(22,32,30,.18);
}
.action-chip:hover {
  background: linear-gradient(135deg, var(--halo-deep), var(--ink));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22,32,30,.28);
}
.action-chip svg:first-child { opacity: .85; }
.action-chip svg:last-child { opacity: .6; margin-left: 2px; }
.book-card .pill {
  margin-left: auto;
  background: var(--ink); color: var(--paper);
  padding: 6px 11px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
}

.typing { display: flex; gap: 4px; padding: 14px 18px; }
.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--steel-2);
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* =============== LOGO STRIP =============== */
.logos {
  padding: 48px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-top: 64px;
}
.logos-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
  text-align: center; margin-bottom: 20px;
}
.logos-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.logo-cell {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--steel); letter-spacing: -.02em;
}

/* =============== SECTIONS =============== */
section.block { padding: 120px 0; }
@media (max-width: 900px) { section.block { padding: 72px 0; } .hero { padding: 56px 0 40px; } }
.sec-eyebrow {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--halo-deep);
  margin: 0 0 14px 0;
}
h2.sec-h {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em;
  margin: 0 0 18px 0; max-width: 760px;
  text-wrap: balance;
}
.sec-lede {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 660px; margin: 0 0 56px 0; letter-spacing: normal;
}

/* =============== HOW IT WORKS =============== */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
}
.step {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 22px;
  padding: 28px; min-height: 260px;
  display: flex; flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease;
}
.step:hover { border-color: var(--halo); transform: translateY(-2px); }
.step-num {
  font-family: var(--font-body); font-size: 14.5px;
  letter-spacing: .14em; color: var(--steel);
  margin-bottom: auto;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--paper-2), white);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-h {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -.025em; margin: 0 0 8px 0;
}
.step-p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* =============== SERVICES =============== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.svc {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 18px;
  padding: 22px; min-height: 180px; cursor: pointer;
  display: flex; flex-direction: column;
  transition: all 200ms ease;
  position: relative; overflow: hidden;
}
.svc:hover {
  border-color: var(--halo);
  background: linear-gradient(180deg, white, var(--paper-2));
}
.svc::after {
  content: '→'; position: absolute; right: 18px; bottom: 16px;
  font-size: 18px; color: var(--steel-2);
  transition: transform 200ms ease, color 200ms ease;
}
.svc:hover::after { color: var(--halo-deep); transform: translateX(3px); }
.svc-icon {
  width: 36px; height: 36px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border-radius: 10px;
}
.svc-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  letter-spacing: -.02em; margin: 0 0 4px 0;
}
.svc-from { font-size: 19px; color: var(--ink-2); margin: 0; }
.svc-from strong { color: var(--ink); font-weight: 600; }

/* =============== AI SHOWCASE =============== */
.ai-showcase {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  padding: 88px 64px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) {
  .ai-showcase { padding: 56px 28px; border-radius: 22px; }
}
.ai-showcase::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(20,78,184,.18), transparent),
    radial-gradient(60% 50% at 0% 100%, rgba(20,78,184,.14), transparent);
  pointer-events: none;
}
.ai-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center; position: relative;
}
@media (max-width: 1100px) {
  .ai-grid { grid-template-columns: 1fr; gap: 48px; }
  .big-mark { width: 220px; height: 220px; }
}
.ai-showcase .sec-eyebrow { color: var(--halo-2); }
.ai-showcase h2 { color: var(--paper); }
.ai-showcase .sec-lede { color: rgba(255,255,255,0.7); }

.channel-list { display: flex; flex-direction: column; gap: 12px; }
.channel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
}
.channel-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,78,184,.18), rgba(20,78,184,.12));
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-name {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
}
.channel-d { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 2px; }
.channel-status {
  margin-left: auto;
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; color: var(--halo-2);
  display: flex; align-items: center; gap: 6px;
}
.channel-status .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--halo);
  animation: livePulse 2s ease-in-out infinite;
}

/* Big breathing mark */
.big-mark {
  position: relative; width: 280px; height: 280px;
  margin: 0 auto;
}
.big-mark .halo {
  position: absolute; inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--iri-a), var(--iri-b), var(--iri-c), var(--iri-d), var(--iri-a));
  filter: blur(20px); opacity: .55;
  animation: spinSlow 8s linear infinite;
}
.big-mark svg { position: absolute; inset: 0; }

/* =============== TESTIMONIAL =============== */
.testimonial {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 900px) { .testimonial { grid-template-columns: 1fr; } }
.t-card {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column;
}
.stars { color: var(--halo-deep); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.t-quote {
  font-family: var(--font-display); font-size: 18px; line-height: 1.45;
  font-weight: 500; letter-spacing: -.018em;
  margin: 0 0 24px 0; flex: 1;
}
.t-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 18px; border-top: 1px solid var(--rule);
}
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--paper-2), var(--rule));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--ink-2);
}
.t-name { font-size: 14px; font-weight: 600; }
.t-meta { font-size: 14px; color: var(--steel); }

/* =============== FINAL CTA =============== */
.final-cta {
  text-align: center; padding: 120px 0;
}
.final-cta h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.04em;
  margin: 0 0 24px 0;
}
.final-cta h2 .grad {
  background: linear-gradient(135deg, var(--iri-a) 0%, var(--halo) 50%, var(--iri-c) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta p { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 auto 40px; }
.concierge-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 10px;
  max-width: 560px;
}
.concierge-pill {
  flex: 1 1 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--rule-2);
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  background: var(--bg-card);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.concierge-pill-call { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.concierge-pill:hover { transform: translateY(-1px); border-color: var(--halo); }
.concierge-note { font-size: 19px !important; line-height: 1.45; color: var(--steel) !important; margin: 0 auto !important; }
@media (max-width: 560px) {
  .concierge-cta-row { flex-direction: column; }
}

/* =============== FOOTER =============== */
footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 40px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
.foot-brand-text {
  font-size: 14px; color: var(--steel); margin-top: 12px; max-width: 280px; line-height: 1.55;
}
.foot-h {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  margin: 0 0 12px 0;
}
.foot-list { display: flex; flex-direction: column; gap: 8px; }
.foot-list a { font-size: 14px; color: var(--steel); }
.foot-list a:hover { color: var(--ink); }
.foot-theme-toggle {
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  min-height: 44px; padding: 0 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--steel); cursor: pointer;
  transition: color 140ms, border-color 140ms, background 140ms;
}
.foot-theme-toggle:hover { color: var(--ink); border-color: var(--rule-2); background: var(--paper-2); }
/* Light theme: show moon + "Dark mode"; dark theme: sun + "Light mode" */
.foot-theme-toggle .icon-sun, .foot-theme-toggle .ftt-light { display: none; }


.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--steel);
}

/* =============== AUDIENCE SWITCH (hero) =============== */
.audience-switch {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 999px; margin-bottom: 22px;
}
.as-tab {
  background: transparent; border: 0;
  padding: 7px 14px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em; color: var(--steel); cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.as-tab.is-active { background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 2px rgba(22,32,30,.06); }
.as-tab:hover:not(.is-active) { color: var(--ink-2); }
.as-tab { display: inline-flex; align-items: center; gap: 6px; }

/* =============== ESTIMATOR =============== */
.estimator-wrap {
  padding: 80px 0 24px;
}
.estimator {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 28px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(22,32,30,.04),
    0 28px 80px -32px rgba(22,32,30,.18),
    0 8px 28px -10px rgba(20,78,184,.10);
}
@media (max-width: 900px) {
  .estimator { grid-template-columns: 1fr; }
}
.est-left {
  padding: 36px;
  border-right: 1px solid var(--rule);
  background: linear-gradient(180deg, white, var(--paper));
}
@media (max-width: 900px) {
  .est-left { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px; }
}
.est-right {
  padding: 36px;
  display: flex; flex-direction: column; gap: 22px;
}
@media (max-width: 900px) { .est-right { padding: 28px; } }

.est-eyebrow {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--halo-deep);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.est-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--halo); animation: livePulse 2s ease-in-out infinite; }

.est-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 10px 0; text-wrap: balance;
}
.est-sub { font-size: 15px; color: var(--ink-2); margin: 0 0 24px 0; line-height: 1.5; max-width: 38ch; }

.est-mode {
  display: inline-flex; padding: 3px; background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: 999px;
  margin-bottom: 22px;
}
.est-mode-tab {
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  color: var(--steel); letter-spacing: -.005em;
}
.est-mode-tab.is-active { background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 2px rgba(22,32,30,.06); }

.est-section-label {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel);
  margin: 0 0 10px 0;
}

.est-services {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
  min-width: 0; overflow: hidden;
}
.est-svc-chip { max-width: 100%; }
.est-svc-chip {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 9px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 160ms ease;
}
.est-svc-chip svg { color: var(--steel); transition: color 160ms ease; }
.est-svc-chip:hover { border-color: var(--rule-2); color: var(--ink); }
.est-svc-chip.is-active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.est-svc-chip.is-active svg { color: var(--halo-2); }
.est-svc-chip.is-active::before {
  content: '✓'; font-size: 14.5px; font-weight: 700; color: var(--halo-2);
}

/* Per-service expandable block in multi-service mode */
.est-svc-block {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
}
.est-svc-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.est-svc-block-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: -.015em; display: inline-flex; align-items: center; gap: 8px;
}
.est-svc-block-name .row-price {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink-2);
  font-weight: 500; letter-spacing: 0;
}
.est-svc-block-remove {
  background: transparent; border: 0; cursor: pointer;
  font-size: 14px; line-height: 1; color: var(--steel);
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.est-svc-block-remove:hover { background: var(--bg-card); color: var(--ink); }
.est-svc-block .est-options { gap: 12px; margin: 0; }

/* Per-service header (multi-mode) - name on left, qty stepper on right */
.est-svc-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 18px 0 8px;
}
.est-svc-header:first-child { margin-top: 4px; }
.est-svc-header-name {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: -0.01em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.est-svc-header-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--halo);
}
.est-qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 999px; padding: 3px;
}
.est-qty-btn {
  width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: background 140ms ease, color 140ms ease;
}
.est-qty-btn:hover { background: var(--paper-2); color: var(--ink); }
.est-qty-val {
  min-width: 28px; text-align: center;
  font-family: var(--font-body); font-size: 14px;
  font-weight: 500; color: var(--ink); letter-spacing: 0;
}

.est-helper {
  font-size: 14px; color: var(--steel); margin: 6px 0 18px 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.est-helper strong { color: var(--ink-2); font-weight: 600; }

.bundle-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  background: rgba(20,78,184,.14); color: var(--halo-deep);
  border: 1px solid rgba(20,78,184,.3);
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
}

.est-options { display: flex; flex-direction: column; gap: 18px; margin-bottom: 6px; }
.est-opt-row {
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
.est-opt-label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.est-opt-value {
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  background: var(--paper-2); padding: 2px 8px; border-radius: 6px;
}
.est-opt-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.est-opt-choice {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 7px 11px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
  transition: all 140ms ease;
}
.est-opt-choice:hover { border-color: var(--rule-2); }
.est-opt-choice.is-active {
  border-color: var(--ink); color: var(--ink); background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.est-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--halo), var(--halo) var(--p, 50%), var(--rule) var(--p, 50%), var(--rule) 100%);
  outline: none;
}
.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--ink);
  cursor: pointer; box-shadow: 0 1px 4px rgba(22,32,30,.18);
}
.est-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--ink);
  cursor: pointer; box-shadow: 0 1px 4px rgba(22,32,30,.18);
}

.est-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
}
.est-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.est-toggle .swatch {
  width: 32px; height: 18px; background: var(--rule); border-radius: 999px;
  position: relative; transition: background 160ms ease;
}
.est-toggle .swatch::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--bg-card);
  transition: left 160ms ease;
}
.est-toggle input:checked + .swatch { background: var(--ink); }
.est-toggle input:checked + .swatch::after { left: 16px; }

/* =============== TV multi-unit: size matrix + per-unit override =============== */
.est-tv-section { display: flex; flex-direction: column; gap: 16px; }
.est-tv-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 4px;
}
.est-tv-header-name {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: -.01em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.est-tv-header-name .dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--halo);
}
.est-tv-header-name .count {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--steel); font-weight: 500; margin-left: 6px;
}
.est-tv-override {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  user-select: none; font-size: 14px; color: var(--steel); font-weight: 500;
  white-space: nowrap;
}
.est-tv-override input { position: absolute; opacity: 0; pointer-events: none; }
.est-tv-override .sw {
  width: 30px; height: 18px; border-radius: 999px;
  background: var(--rule-2); position: relative;
  transition: background 160ms ease; flex-shrink: 0;
}
.est-tv-override .sw::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-card); transition: left 160ms ease;
}
.est-tv-override input:checked + .sw { background: var(--halo-deep); }
.est-tv-override input:checked + .sw::after { left: 14px; }

.est-tv-matrix {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule); border-radius: 12px;
  background: var(--bg-card); overflow: hidden;
}
.est-tv-matrix-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 14px; transition: background 160ms ease;
}
.est-tv-matrix-row + .est-tv-matrix-row { border-top: 1px solid var(--rule); }
.est-tv-matrix-row.has {
  background: linear-gradient(90deg, rgba(20,78,184,.06), transparent 60%);
}
.est-tv-matrix-row .lbl {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.est-tv-matrix-row.has .lbl { color: var(--ink); }
.est-tv-matrix-row .price {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--ink-2); font-weight: 400;
}

.est-tv-globals { display: flex; flex-direction: column; gap: 14px; }

/* Items mode */
.est-tv-items { display: flex; flex-direction: column; gap: 10px; }
.est-tv-item {
  border: 1px solid var(--rule); border-radius: 14px;
  background: var(--bg-card); overflow: hidden;
}
.est-tv-item-head {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.est-tv-item-tag {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .06em; color: var(--halo-deep); font-weight: 600;
}
.est-tv-item-count {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--steel);
}
.est-tv-item-remove {
  width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer;
  color: var(--steel); font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 140ms ease, color 140ms ease;
}
.est-tv-item-remove:hover { background: var(--rule); color: var(--ink); }
.est-tv-item-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
  padding: 12px 14px;
}
.est-tv-item-field { display: flex; flex-direction: column; gap: 4px; }
.est-tv-item-field .k {
  font-size: 14.5px; color: var(--steel);
}
.est-tv-item-field select {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 8px; padding: 8px 28px 8px 10px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%235C6B85' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.est-tv-item-field select:focus { outline: none; border-color: var(--halo); }
.est-tv-item-field.cables {
  grid-column: 1 / -1; font-size: 14px; color: var(--ink-2);
}
.est-tv-item-field.cables label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.est-tv-add {
  background: transparent; border: 1px dashed var(--rule-2);
  border-radius: 12px; color: var(--halo-deep);
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 11px; cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.est-tv-add:hover { background: var(--halo-soft); border-color: var(--halo); }

@media (max-width: 760px) {
  .est-tv-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .est-tv-item-body { grid-template-columns: 1fr; }
}

/* Quote card: per-line breakdown for multi-unit jobs */
.quote-lines {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-direction: column; gap: 6px;
}
.quote-lines:empty { display: none; }
.quote-line {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; gap: 12px;
}
.quote-line .ql-l {
  color: rgba(255,255,255,.82);
  display: inline-flex; align-items: baseline; gap: 6px;
  min-width: 0; flex: 1 1 auto; overflow: hidden;
}
.quote-line .ql-count {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--iri-c); flex-shrink: 0;
}
.quote-line .ql-tag {
  font-family: var(--font-body); font-size: 14px;
  color: rgba(255,255,255,.45); letter-spacing: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.quote-line .ql-r {
  font-family: var(--font-body); font-size: 14px;
  color: var(--paper); white-space: nowrap;
}
.quote-line.is-discount {
  margin-top: 2px; padding-top: 6px;
  border-top: 1px dashed rgba(255,255,255,.12);
}
.quote-line.is-discount .ql-l {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--iri-c);
}
.quote-line.is-discount .ql-r { color: var(--iri-c); }

/* Multi-service breakdown: small per-service header */
.quote-svc-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.quote-svc-head.first { margin-top: 0; padding-top: 0; border-top: 0; }
.quote-svc-head .qsh-name {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: -.01em; color: var(--paper);
}
.quote-svc-head .qsh-sub {
  font-family: var(--font-body); font-size: 14.5px;
  color: rgba(255,255,255,.6); font-weight: 500;
}

/* RIGHT SIDE: live quote */
.quote-card {
  background: var(--ink); color: var(--paper);
  border-radius: 22px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 90% 0%, rgba(20,78,184,.18), transparent),
              radial-gradient(60% 50% at 0% 100%, rgba(20,78,184,.10), transparent);
  pointer-events: none;
}
.quote-card-inner { position: relative; }
.quote-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin: 0 0 8px 0;
}
.quote-range {
  font-family: var(--font-display); font-weight: 600;
  font-size: 44px; letter-spacing: -.035em; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.quote-range .dash { color: rgba(255,255,255,.4); margin: 0 4px; font-weight: 500; }
.quote-typical {
  font-size: 14px; color: rgba(255,255,255,.7); margin-top: 10px;
}
.quote-typical strong { color: var(--paper); font-weight: 600; }

.quote-breakdown {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.quote-breakdown-item { font-size: 14px; }
.quote-breakdown-item .k { color: rgba(255,255,255,.55); display: block; margin-bottom: 2px; }
.quote-breakdown-item .v { font-family: var(--font-body); font-size: 14px; color: var(--paper); }

.tech-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 12px;
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px;
}
.mono-avatar {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  color: #FBFCFE;
  background: linear-gradient(135deg, var(--halo) 0%, var(--ink) 100%);
}
.tech-card .mono-avatar { width: 38px; height: 38px; font-size: 14px; }
.channel .mono-avatar   { width: 40px; height: 40px; font-size: 15px; }
.founder-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); }
.founder-quote {
  font-family: var(--font-display); font-size: 17px; line-height: 1.5; font-weight: 500;
  letter-spacing: -.01em; color: rgba(255,255,255,.82); margin: 0 0 16px 0; max-width: 56ch;
}
.founder-sign { display: flex; align-items: center; gap: 12px; }
.founder-sign .mono-avatar { width: 40px; height: 40px; font-size: 15px; }
.tech-card .who { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.tech-card .meta { font-size: 14.5px; color: rgba(255,255,255,.6); margin-top: 1px; }
.tech-card .when {
  margin-left: auto; font-family: var(--font-body);
  font-size: 14.5px; color: var(--halo-2); text-align: right;
  letter-spacing: .04em;
}

.action-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 6px;
}
.action-btn {
  background: var(--bg-card); color: var(--ink); border: 1px solid var(--rule);
  padding: 13px 14px; border-radius: 12px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  letter-spacing: -.005em; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 160ms ease;
}
.action-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.action-btn.is-primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.action-btn.is-primary:hover { background: var(--halo-deep); border-color: var(--halo-deep); }
.action-btn svg { color: currentColor; }

.channel-capture {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 14px;
  display: none;
}
.channel-capture.is-open { display: block; }
.channel-capture-h {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  margin: 0 0 4px 0;
}
.channel-capture-p {
  font-size: 14px; color: var(--ink-2); margin: 0 0 10px 0; line-height: 1.45;
}
.channel-capture-row {
  display: flex; gap: 6px;
}
.channel-capture-input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--rule);
  padding: 10px 12px; border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  outline: none; transition: border-color 160ms ease;
}
.channel-capture-input:focus { border-color: var(--ink); }
.channel-capture-send {
  background: var(--ink); color: var(--paper); border: 0;
  padding: 0 16px; border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.channel-capture-send:hover { background: var(--halo-deep); }
.channel-capture-legal { font-size: 14px; color: var(--steel); margin-top: 8px; line-height: 1.4; }

.success-state {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 14px;
  padding: 14px; display: flex; align-items: center; gap: 12px;
  display: none;
}
.success-state.is-open { display: flex; }
.success-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: white;
  flex-shrink: 0;
}
.success-state .h { font-size: 14.5px; font-weight: 600; }
.success-state .p { font-size: 14px; color: var(--steel); margin-top: 2px; }

/* commercial estimator */
.est-locations-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 480px) {
  .est-locations-row { grid-template-columns: 1fr; }
}
.est-num-card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 12px; padding: 12px 14px;
}
.est-num-card .k {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel-2);
}
.est-num-controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.est-num-btn {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--paper-2); border: 1px solid var(--rule);
  color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.est-num-btn:hover { border-color: var(--rule-2); }
.est-num-input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--ink); width: 100%; min-width: 30px;
  letter-spacing: -.02em;
  -moz-appearance: textfield;
}
.est-num-input::-webkit-outer-spin-button,
.est-num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* =============== AMELIA BOOKING MODAL =============== */
.amelia-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(22,32,30, 0.62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  opacity: 0; transition: opacity 220ms ease;
}
.amelia-modal.is-open { display: flex; opacity: 1; }
.amelia-modal-shell {
  position: relative;
  width: 100%; max-width: 920px; height: 88vh; max-height: 760px;
  background: var(--paper); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
  display: flex; flex-direction: column;
  transform: translateY(8px) scale(0.985);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
.amelia-modal.is-open .amelia-modal-shell { transform: translateY(0) scale(1); }
.amelia-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.amelia-modal-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: -.015em; color: var(--ink);
}
.amelia-modal-title .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(20,78,184,.18);
}
.amelia-modal-title .pill {
  margin-left: 4px;
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-2); padding: 3px 8px;
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 6px;
  font-weight: 500;
}
.amelia-modal-close {
  background: transparent; border: 1px solid var(--rule);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-2);
  transition: all 160ms ease;
}
.amelia-modal-close:hover { background: var(--bg-card); color: var(--ink); border-color: var(--rule-2); }
.amelia-modal-body {
  flex: 1; position: relative; background: var(--paper);
}
/* ---- Mock Amelia widget (visual stand-in until real Amelia is wired) ---- */
.amock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--paper); overflow: hidden;
}
.amock-stepper {
  display: flex; gap: 6px; padding: 14px 18px 12px;
  border-bottom: 1px solid var(--rule); background: var(--paper);
}
.amock-step {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--steel-2);
  padding: 6px 10px; border-radius: 8px;
  font-family: var(--font-body); letter-spacing: .04em;
  transition: all 200ms ease;
}
.amock-step .n {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--rule); color: var(--steel);
}
.amock-step.is-active { color: var(--ink); background: var(--paper-2); }
.amock-step.is-active .n { background: var(--ink); color: var(--paper); }
.amock-step.is-done .n { background: var(--accent); color: white; }

.amock-body { flex: 1; display: flex; min-height: 0; }
.amock-main {
  flex: 1; padding: 20px 22px; overflow: auto;
  display: flex; flex-direction: column; gap: 16px;
}
.amock-side {
  width: 240px; border-left: 1px solid var(--rule);
  background: var(--paper-2); padding: 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14px;
}
.amock-side h4, .amock-side .amock-side-h {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-2); margin: 0; font-weight: 500;
}
.amock-side .svc-name {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em; margin: 2px 0 0;
}
.amock-side .svc-meta { color: var(--steel); line-height: 1.55; font-size: 19px; }
.amock-side .summary-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--ink-2);
}
.amock-side .summary-row .v {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
}
.amock-side .summary-row.placeholder .v { color: var(--steel-2); font-style: italic; }
.amock-side .total {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--rule-2);
  margin-top: auto;
}
.amock-side .total .label { font-size: 14.5px; color: var(--steel); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); }
.amock-side .total .val { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }

.amock-h {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -.015em; color: var(--ink); margin: 0;
}
.amock-sub { font-size: 14px; color: var(--steel); margin: 2px 0 0; }

/* Calendar */
.amock-cal {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 14px 16px;
}
.amock-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.amock-cal-head .month {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
}
.amock-cal-nav {
  display: flex; gap: 4px;
}
.amock-cal-nav button {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--ink); border: 1px solid var(--ink);
  cursor: pointer; color: var(--paper);
  font-size: 22px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px -2px rgba(22,32,30,.35);
  transition: all 160ms ease;
}
.amock-cal-nav button:hover:not(:disabled) { background: var(--halo-deep); border-color: var(--halo-deep); transform: translateY(-1px); }
.amock-cal-nav button:active:not(:disabled) { transform: translateY(0); }
.amock-cal-nav button:disabled { opacity: 0.22; cursor: not-allowed; box-shadow: none; }
.amock-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.amock-cal-dow {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .1em; color: var(--steel-2); text-transform: uppercase;
  text-align: center; padding: 4px 0;
}
.amock-cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 8px;
  background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: all 140ms ease;
}
.amock-cal-day:hover:not(:disabled) { background: var(--paper-2); border-color: var(--rule); }
.amock-cal-day.has-slots::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.amock-cal-day.is-today { font-weight: 700; color: var(--ink); }
.amock-cal-day.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.amock-cal-day.is-selected.has-slots::after { background: var(--halo-2); }
.amock-cal-day:disabled { opacity: 0.28; cursor: not-allowed; }
.amock-cal-day.is-other-month { color: var(--steel-2); opacity: 0.5; }

/* Slots */
.amock-slot-section { display: flex; flex-direction: column; gap: 8px; }
.amock-slot-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
  display: flex; align-items: center; gap: 8px;
}
.amock-slot-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--steel-2);
}
.amock-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 7px; }
.amock-slot {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 8px;
  padding: 9px 10px; cursor: pointer; text-align: center;
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  transition: all 140ms ease; position: relative;
}
.amock-slot:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(0,0,0,0.08); }
.amock-slot.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.amock-slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; color: var(--steel-2); }
.amock-slot .tech-tag {
  position: absolute; top: -7px; right: -5px;
  font-size: 8.5px; padding: 2px 5px; border-radius: 4px;
  background: rgba(20,78,184,.22); color: var(--halo-2);
  letter-spacing: .04em; font-weight: 600; text-transform: uppercase;
  border: 1px solid rgba(20,78,184,.3);
}

/* Form */
.amock-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amock-field { display: flex; flex-direction: column; gap: 5px; }
.amock-field.full { grid-column: 1 / -1; }
.amock-field label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
}
.amock-field input, .amock-field textarea, .amock-field select {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 9px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  color: var(--ink); transition: all 140ms ease;
  font-weight: 500;
}
.amock-field input:focus, .amock-field textarea:focus, .amock-field select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,32,30,.06);
}
.amf-hint { font-size: 14px; color: var(--steel); margin-top: 5px; line-height: 1.4; }
.amf-hint a { color: var(--halo-deep); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.amf-hint a:hover { border-bottom-color: var(--halo-deep); }
.amock-field textarea { min-height: 70px; resize: vertical; font-weight: 400; }

.amock-foot {
  padding: 12px 18px; border-top: 1px solid var(--rule);
  background: var(--paper); display: flex; align-items: center; justify-content: space-between;
}
.amock-foot .progress { font-size: 14px; color: var(--steel); }
.amock-foot .actions { display: flex; gap: 8px; }
.amock-btn {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 9px;
  padding: 9px 16px; font-size: 14px; font-weight: 500;
  cursor: pointer; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 140ms ease;
  font-family: inherit;
}
.amock-btn:hover:not(:disabled) { border-color: var(--rule-2); color: var(--ink); }
.amock-btn.is-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.amock-btn.is-primary:hover:not(:disabled) { background: var(--ink-2); }
.amock-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Confirmation */
.amock-done {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px; flex: 1; gap: 14px;
}
.amock-done-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20,78,184,.16); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(20,78,184,.32);
}
.amock-done h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  letter-spacing: -.02em; color: var(--ink); margin: 0;
}
.amock-done p { color: var(--steel); margin: 0; font-size: 14px; max-width: 38ch; line-height: 1.55; }
.amock-done .ref {
  font-family: var(--font-body); font-size: 14px;
  background: var(--paper-2); border: 1px solid var(--rule);
  padding: 8px 14px; border-radius: 8px; color: var(--ink-2);
  letter-spacing: .04em; margin-top: 4px;
}

@media (max-width: 720px) {
  .amock-side { display: none; }
  .amock-form { grid-template-columns: 1fr; }
}
.amelia-modal-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; border-top: 1px solid var(--rule);
  background: var(--paper-2); font-size: 14.5px; color: var(--steel);
}
.amelia-modal-foot .key {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel-2);
}
.amelia-modal-foot a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
@media (max-width: 720px) {
  .amelia-modal { padding: 0; }
  .amelia-modal-shell { height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
}

/* =============== APPOINTMENT BOOKING (Amelia) =============== */
.book-section { padding: 80px 0 24px; }
.book-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; margin-bottom: 28px;
}
.book-head .right {
  font-size: 14px; color: var(--steel);
  display: inline-flex; align-items: center; gap: 8px;
}
.book-head .right .badge {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--paper-2); color: var(--steel); padding: 3px 7px; border-radius: 5px;
}
.appt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .appt-grid { grid-template-columns: 1fr; } }
.appt {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 22px;
  padding: 26px; cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 200ms ease;
  text-align: left; font: inherit; color: inherit;
  position: relative;
}
.appt:hover { border-color: var(--halo); transform: translateY(-2px); box-shadow: 0 14px 40px -22px rgba(22,32,30,.18); }
.appt.is-recommended { border-color: var(--ink); }
.appt.is-recommended::after {
  content: 'Most booked'; position: absolute; top: -10px; right: 18px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.appt-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--paper-2), white);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.appt-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -.02em; margin: 0;
}
.appt-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin: 0; flex: 1; }
.appt-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--rule);
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
}
.appt-meta span { display: inline-flex; align-items: center; gap: 5px; }
.appt-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  margin-top: 4px;
}
.appt:hover .appt-cta { color: var(--halo-deep); }
.appt-cta .arrow { transition: transform 160ms ease; }
.appt:hover .appt-cta .arrow { transform: translateX(3px); }
.appt-price {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--steel); letter-spacing: .04em;
}
.appt-price strong { color: var(--ink); font-weight: 600; }

.amelia-foot {
  margin-top: 18px;
  font-size: 14px; color: var(--steel); text-align: center;
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; justify-content: center;
}
.amelia-foot .key {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--paper-2); color: var(--ink-2);
  padding: 3px 7px; border-radius: 5px;
}

/* =============== SITE SURVEY (commercial) =============== */
.survey-card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 22px; padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 28px;
}
@media (max-width: 760px) { .survey-card { grid-template-columns: 1fr; padding: 22px; } }
.survey-field {
  display: flex; flex-direction: column; gap: 6px;
}
.survey-field.full { grid-column: 1 / -1; }
.survey-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.survey-input, .survey-select, .survey-text {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 10px; padding: 11px 13px;
  font-family: inherit; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 160ms ease;
}
.survey-input:focus, .survey-select:focus, .survey-text:focus { border-color: var(--ink); }
.survey-text { min-height: 80px; resize: vertical; line-height: 1.5; }
.survey-submit {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 6px; flex-wrap: wrap;
}
.survey-promise {
  font-size: 14px; color: var(--steel); display: inline-flex; align-items: center; gap: 6px;
}

/* =============== STICKY ESTIMATE BAR =============== */
.sticky-estimate {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(120%);
  z-index: 60;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 1px 2px rgba(22,32,30,.1), 0 18px 50px -16px rgba(22,32,30,.4);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  max-width: calc(100vw - 32px);
}
.sticky-estimate.is-visible { transform: translateX(-50%) translateY(0); }
.sticky-estimate .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--halo);
  box-shadow: 0 0 0 0 rgba(20,78,184,.6);
  animation: livePulse 2s ease-in-out infinite;
}
.sticky-estimate .se-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.sticky-estimate .se-range {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.02em;
}
.sticky-estimate .se-cta {
  background: var(--bg-card); color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.sticky-estimate .se-cta:hover { background: var(--halo-2); }
@media (max-width: 760px) {
  .sticky-estimate { padding: 9px 10px 9px 14px; gap: 10px; }
  .sticky-estimate .se-label { display: none; }
}

/* =============== ROBOTICS PILLAR =============== */
.robotics-block {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--rule);
  border-radius: 32px;
  padding: 72px 56px;
  position: relative; overflow: hidden;
}
.robotics-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 35% at 100% 0%, rgba(20,78,184,.10), transparent 60%),
    radial-gradient(45% 35% at 0% 100%, rgba(20,78,184,.08), transparent 60%);
}
@media (max-width: 900px) { .robotics-block { padding: 48px 24px; border-radius: 22px; } }

.robotics-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 32px;
  position: relative;
}
@media (max-width: 1100px) { .robotics-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .robotics-services-grid { grid-template-columns: 1fr; } }

.robotic-svc {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 18px;
  padding: 24px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none; color: inherit;
}
.robotic-svc:hover {
  border-color: var(--halo);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(22,32,30,.18);
}
.robotic-svc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,78,184,.14), rgba(20,78,184,.10));
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.robotic-svc-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -.02em; margin: 0 0 6px 0;
}
.robotic-svc-desc {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 14px 0; flex: 1;
}
.robotic-svc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
  gap: 10px;
}
.robotic-svc-foot .deployed {
  display: inline-flex; align-items: center; gap: 6px;
}
.robotic-svc-foot .deployed::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(20,78,184,.5);
  animation: livePulse 2s ease-in-out infinite;
}

/* =============== LIVE OPS widget =============== */
.liveops {
  background: var(--ink);
  color: var(--paper);
  border-radius: 26px;
  padding: 36px;
  margin-top: 32px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .liveops { padding: 28px 22px; border-radius: 20px; } }
.liveops::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(20,78,184,.16), transparent),
    radial-gradient(60% 50% at 0% 100%, rgba(20,78,184,.12), transparent);
  pointer-events: none;
}
.liveops-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  position: relative; margin-bottom: 24px;
}
.liveops-eyebrow {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--halo-2);
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
}
.liveops-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(20,78,184,.6);
  animation: livePulse 2s ease-in-out infinite;
}
.liveops-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: -.025em; margin: 6px 0 0 0;
  color: var(--paper);
  text-wrap: balance;
}
.liveops-status {
  font-family: var(--font-body); font-size: 14.5px;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
  text-align: right;
  line-height: 1.6;
  max-width: 280px;
}
.liveops-status strong { color: var(--accent-on-inverted); font-weight: 600; }
.liveops-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
@media (max-width: 900px) { .liveops-grid { grid-template-columns: repeat(2, 1fr); } }
.liveops-stat {
  background: var(--ink);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.liveops-stat-k {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.liveops-stat-v {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; letter-spacing: -.025em; color: var(--paper);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.liveops-stat-sub {
  font-size: 14.5px; color: rgba(255,255,255,.5); margin-top: 4px;
}
.liveops-stat-sub.up { color: var(--accent-on-inverted); }
.liveops-foot {
  position: relative; margin-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px; color: rgba(255,255,255,.55);
}
.liveops-foot a {
  color: var(--halo-2);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.liveops-foot a:hover { text-decoration: underline; }

/* =============== VIDEO SHOWCASE =============== */
.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 32px;
}
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
  text-align: left; font: inherit; color: inherit;
}
.video-card:hover {
  border-color: var(--halo);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -26px rgba(22,32,30,.22);
}
.video-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.video-poster svg.poster-art { display: block; width: 100%; height: 100%; }
.video-poster .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform 220ms ease, background 220ms ease;
}
.video-poster .play svg { width: 18px; height: 18px; color: var(--ink); }
.video-card:hover .video-poster .play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--bg-card);
}
.video-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.video-badge.real {
  background: rgba(255,255,255,.92); color: var(--ink);
}
.video-badge.real::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(161,43,43,.6);
  animation: livePulse 2s ease-in-out infinite;
}
.video-badge.soon {
  background: rgba(22,32,30,.72); color: #fff;
}

.video-badge.ai {
  background: linear-gradient(135deg, rgba(20,78,184,.92), rgba(20,78,184,.92));
  color: white;
  border: 1px solid rgba(255,255,255,.3);
}
.video-badge.ai::before {
  content: ''; width: 8px; height: 8px;
  background: var(--bg-card);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}
.video-dur {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(22,32,30,.78); color: var(--paper);
  font-family: var(--font-body); font-size: 14px;
  padding: 3px 7px; border-radius: 5px;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-meta {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.video-title {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 600;
  letter-spacing: -.015em; color: var(--ink); margin: 0;
}
.video-cap {
  font-size: 14px; color: var(--steel); margin: 0; line-height: 1.5;
}
.video-foot-note {
  margin-top: 24px; padding: 16px 20px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px;
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  display: flex; gap: 12px; align-items: flex-start;
}
.video-foot-note svg { flex-shrink: 0; margin-top: 2px; color: var(--halo-deep); }
.video-foot-note strong { color: var(--ink); }
.video-foot-note a { color: var(--halo-deep); border-bottom: 1px dotted; }

/* Poster art animations */
.video-poster .poster-art { transition: transform 900ms cubic-bezier(.2,.6,.2,1); }
.video-card:hover .poster-art { transform: scale(1.045); }

/* AI shimmer overlay on hover */
.video-card[data-kind="ai"] .video-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 1.1s cubic-bezier(.2,.6,.2,1);
  pointer-events: none;
}
.video-card[data-kind="ai"]:hover .video-poster::after { transform: translateX(110%); }

/* Real-footage scan line - subtle "playing" cue */
.video-card[data-kind="real"] .video-poster::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  opacity: 0; transform: translateY(-50%);
  transition: opacity 200ms ease;
  pointer-events: none; z-index: 2;
}
.video-card[data-kind="real"]:hover .video-poster::before {
  opacity: .9; animation: scanline 1.6s ease-in-out infinite;
}
@keyframes scanline {
  0% { top: 15%; opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .9; }
  100% { top: 85%; opacity: 0; }
}

/* =============== PHOTO UPLOAD (concierge) =============== */
.agent-attachments {
  display: none; padding: 8px 4px 0;
  gap: 8px; flex-wrap: wrap;
}
.agent-attachments.has-photos { display: flex; }
.agent-attachment {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.agent-attachment img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-attachment .x {
  position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  font-size: 14px; font-weight: 700; line-height: 1;
  padding: 0;
}
.agent-attach {
  width: 48px; height: 48px; border-radius: 10px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
  transition: color 140ms ease, background 140ms ease;
  flex-shrink: 0;
}
.agent-attach:hover { color: var(--ink); background: var(--paper-2); }
.agent-attach.has-pending { color: var(--halo-deep); background: rgba(20,78,184,.08); }

/* User bubble that contains a photo */
.bubble.bubble-user.has-photo {
  background: transparent; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-end;
}
.bubble-user-photo {
  max-width: 220px; max-height: 180px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  display: block;
}
.bubble-user-text {
  background: var(--paper-2);
  padding: 11px 15px; border-radius: 16px;
  font-size: 14px;
  max-width: 86%;
  color: var(--ink);
  line-height: 1.5;
}

/* Vision-analyzing chip - shown while the vision LLM processes the image */
.vision-analyzing {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(20,78,184,.12), rgba(20,78,184,.08));
  border: 1px solid rgba(20,78,184,.2);
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: .04em;
  color: var(--halo-deep);
}
.vision-analyzing .spinner {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--halo);
  border-top-color: transparent;
  animation: visionSpin 0.8s linear infinite;
}
@keyframes visionSpin { to { transform: rotate(360deg); } }

/* Spatial readout card - the inferred dimensions readout that follows the analyzing chip */
.spatial-readout {
  align-self: flex-start; max-width: 92%;
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 12px 14px 11px;
  font-family: var(--font-body);
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.spatial-readout-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2px;
}
.spatial-readout-head .label {
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--halo-2); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.spatial-readout-head .label::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--halo-2);
}
.spatial-readout-head .conf {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.spatial-readout-row {
  display: grid; grid-template-columns: minmax(0, 78px) minmax(0, 1fr); gap: 10px; align-items: baseline;
}
.spatial-readout-row .k {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.spatial-readout-row .v {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--paper); letter-spacing: -.005em; line-height: 1.45;
}
.spatial-readout-foot {
  font-size: 14px; color: rgba(255,255,255,.4); margin-top: 4px;
  font-family: 'Inter', sans-serif; letter-spacing: -.002em;
  display: flex; align-items: center; gap: 5px;
}
.spatial-readout-foot::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3);
}

/* =============== MY PROPERTY (post-install state dashboard) =============== */
.myproperty-section {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--rule);
  border-radius: 32px;
  padding: 72px 56px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .myproperty-section { padding: 48px 24px; border-radius: 22px; } }
.myproperty-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 30% at 100% 0%, rgba(20,78,184,.10), transparent 70%),
    radial-gradient(40% 30% at 0% 100%, rgba(20,78,184,.08), transparent 70%);
}
.myproperty-dash {
  position: relative;
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22,32,30,.04), 0 24px 60px -28px rgba(22,32,30,.16);
}
.myproperty-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.myproperty-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink);
}
.myproperty-title .lights { display: inline-flex; gap: 5px; margin-right: 2px; }
.myproperty-title .lights span {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block;
  background: var(--rule-2);
}
.myproperty-meta {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; color: var(--steel);
  display: inline-flex; align-items: center; gap: 6px;
}
.myproperty-meta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: livePulse 2s ease-in-out infinite;
}
.myproperty-body {
  display: grid; grid-template-columns: minmax(260px, 1fr) 1.3fr;
  min-height: 460px;
}
@media (max-width: 900px) { .myproperty-body { grid-template-columns: 1fr; } }
.myproperty-plan {
  background: var(--paper); position: relative; overflow: hidden;
  border-right: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .myproperty-plan { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 320px; }
}
.myproperty-plan svg { display: block; width: 100%; height: 100%; }
.mp-wall { stroke: var(--ink-2); stroke-width: 4; stroke-linecap: round; }
.mp-room-label {
  font-family: var(--font-body); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  fill: var(--steel-2);
}
.mp-pin { filter: drop-shadow(0 2px 4px rgba(22,32,30,.18)); }
.mp-pin-body { fill: var(--ink); }
.mp-pin-icon { fill: var(--paper); }
.mp-pin.ok .mp-pin-body { fill: var(--success); }
.mp-pin.warn .mp-pin-body {
  fill: #D97757;
  animation: pinPulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.mp-pin-label {
  font-family: var(--font-body); font-size: 8.5px;
  letter-spacing: .12em; text-transform: uppercase;
  fill: var(--ink-2);
}
.myproperty-content { display: flex; flex-direction: column; padding: 22px 26px; gap: 22px; }
.mp-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 540px) { .mp-stat-row { grid-template-columns: 1fr; } }
.mp-stat-card {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 3px;
}
.mp-stat-card .k {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
}
.mp-stat-card .v {
  font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 600;
  letter-spacing: -.018em; color: var(--ink);
}
.mp-stat-card .v.ok   { color: var(--success); }
.mp-stat-card .v.warn { color: #D97757; }
.mp-section-head {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-2);
  margin: 0 0 8px 0;
}
.mp-timeline { display: flex; flex-direction: column; gap: 9px; }
.mp-timeline-item {
  display: grid; grid-template-columns: 18px 1fr auto;
  gap: 12px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--rule);
  font-size: 14px; color: var(--ink);
}
.mp-timeline-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mp-timeline-item .icon {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.mp-timeline-item .icon svg { width: 10px; height: 10px; color: var(--ink-2); }
.mp-timeline-item .label { line-height: 1.45; }
.mp-timeline-item .label strong { color: var(--ink); font-weight: 600; }
.mp-timeline-item .label .sub {
  display: block; font-size: 14.5px; color: var(--steel); margin-top: 1px;
}
.mp-timeline-item .when {
  font-family: var(--font-body); font-size: 14px;
  color: var(--steel-2); letter-spacing: .04em; white-space: nowrap;
}
.mp-insight {
  background: linear-gradient(135deg, rgba(20,78,184,.08), rgba(20,78,184,.05));
  border: 1px solid rgba(20,78,184,.22);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.mp-insight-mark {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--ink); color: var(--paper);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
}
.mp-insight-body { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mp-insight-body strong { color: var(--ink); font-weight: 600; }
.mp-insight-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mp-insight-actions button {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 5px 10px; border-radius: 999px;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  color: var(--ink); cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}
.mp-insight-actions button:hover { border-color: var(--ink); }
.mp-insight-actions button.primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.myproperty-foot {
  margin-top: 24px;
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.myproperty-foot strong { color: var(--ink); }
.myproperty-foot a { color: var(--halo-deep); border-bottom: 1px dotted; }

/* =============== CLOSE-THE-LOOP SECTION =============== */
.closeloop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 32px;
}
@media (max-width: 1100px) { .closeloop-grid { grid-template-columns: 1fr; } }

.closeloop-card {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.closeloop-card:hover {
  border-color: var(--halo);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(22,32,30,.18);
}
.closeloop-eyebrow {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--halo-deep);
  margin: 0;
}
.closeloop-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -.025em; margin: 0;
}
.closeloop-desc {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0;
}

/* Tech pre-brief mock - dark "operations terminal" feel */
.brief-mock {
  margin-top: auto;
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 14px 16px;
  font-family: var(--font-body); font-size: 14.5px;
  display: flex; flex-direction: column; gap: 7px;
}
.brief-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 9px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brief-time {
  color: var(--halo-2); letter-spacing: .1em;
  font-weight: 500;
}
.brief-tech {
  color: var(--paper); font-weight: 600;
  font-family: 'Inter Tight', sans-serif; font-size: 14px;
  letter-spacing: -.01em;
}
.brief-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px;
  align-items: baseline;
}
.brief-row .k {
  color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
}
.brief-row .v {
  color: var(--paper);
  font-family: 'Inter', sans-serif; font-size: 14px;
  line-height: 1.45;
}
.brief-row .photo-dot {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--iri-a), var(--halo));
  vertical-align: middle;
  margin-right: 3px;
}

/* SMS mock */
.sms-mock {
  margin-top: auto;
  background: var(--paper-2); border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.sms-msg { display: flex; flex-direction: column; gap: 3px; }
.sms-msg.sms-out { align-items: flex-start; }
.sms-msg.sms-in { align-items: flex-end; }
.sms-meta {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .08em; color: var(--steel-2);
  padding: 0 4px;
}
.sms-bubble {
  padding: 8px 12px; border-radius: 14px;
  font-size: 14px; line-height: 1.45;
  max-width: 84%;
}
.sms-out .sms-bubble {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.sms-in .sms-bubble {
  background: var(--halo-deep); color: var(--paper);
  border-bottom-right-radius: 4px;
}

.closeloop-foot {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px;
  font-size: 14px; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
  line-height: 1.5;
}
.closeloop-foot svg { color: var(--halo-deep); flex-shrink: 0; }
.closeloop-foot strong { color: var(--ink); font-weight: 600; }

/* =============== SPATIAL VIEWSHED (camera preview) =============== */
.viewshed-app {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}
@media (max-width: 1000px) { .viewshed-app { grid-template-columns: 1fr; } }

.viewshed-stage {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 1px 2px rgba(22,32,30,.04);
}
.viewshed-stage::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(40% 35% at 92% 8%, rgba(20,78,184,.10), transparent 70%),
    radial-gradient(40% 35% at 8% 92%, rgba(20,78,184,.08), transparent 70%);
  pointer-events: none;
}
.viewshed-stage svg {
  display: block; width: 100%; height: 100%;
  touch-action: none; /* prevents scroll during drag */
  user-select: none;
}
.viewshed-toolbar {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 2;
}
.viewshed-toolbar button {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 7px 12px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: border-color 140ms ease, color 140ms ease;
}
.viewshed-toolbar button:hover { border-color: var(--halo); color: var(--halo-deep); }
.viewshed-toolbar button:disabled { opacity: .4; cursor: not-allowed; }

.viewshed-legend {
  position: absolute; bottom: 12px; left: 14px;
  display: inline-flex; gap: 14px; align-items: center;
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); z-index: 2;
}
.viewshed-legend .lg-sw {
  display: inline-block; width: 9px; height: 9px; border-radius: 2px;
  margin-right: 4px; vertical-align: middle;
}
.viewshed-legend .lg-cov { background: linear-gradient(135deg, var(--iri-a), var(--halo)); opacity: .55; }
.viewshed-legend .lg-dead { background: var(--paper-2); border: 1px solid var(--rule-2); }

/* Floor plan + walls inside the SVG */
.viewshed-floor { fill: var(--paper-2); stroke: none; }
.viewshed-wall  { stroke: var(--ink-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.viewshed-room-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  fill: var(--steel-2); pointer-events: none;
}
.viewshed-fov {
  fill: url(#vshGradFov);
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.viewshed-cam-group { cursor: grab; }
.viewshed-cam-group.is-dragging { cursor: grabbing; }
.viewshed-cam-body { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; }
.viewshed-cam-lens { fill: var(--halo-2); stroke: var(--paper); stroke-width: 1.2; }
.viewshed-cam-label {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  fill: var(--paper); pointer-events: none;
  text-anchor: middle; dominant-baseline: middle;
}
.viewshed-cam-handle {
  fill: var(--paper); stroke: var(--ink); stroke-width: 1.5;
  cursor: ew-resize;
}
.viewshed-cam-handle-line {
  stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 3;
  opacity: .5; pointer-events: none;
}

/* Right panel */
.viewshed-panel {
  background: var(--ink); color: var(--paper);
  border-radius: 22px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.viewshed-panel::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(20,78,184,.18), transparent),
    radial-gradient(60% 50% at 0% 100%, rgba(20,78,184,.10), transparent);
  pointer-events: none;
}
.viewshed-panel > * { position: relative; }
.viewshed-stat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.viewshed-stat:first-of-type { padding-top: 4px; }
.viewshed-stat .k {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.viewshed-stat .v {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  letter-spacing: -.025em; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.viewshed-stat.sub .v { font-size: 18px; font-weight: 500; }
.viewshed-hint {
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7);
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.viewshed-hint strong { color: var(--halo-2); font-weight: 600; }
.viewshed-cta {
  background: var(--paper); color: var(--ink);
  border: 0; border-radius: 999px;
  padding: 13px 20px; font-family: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 160ms ease, transform 160ms ease;
}
.viewshed-cta:hover { background: var(--halo-2); transform: translateY(-1px); }
.viewshed-fineprint {
  font-size: 14.5px; color: rgba(255,255,255,.5); line-height: 1.55;
}

/* =============== MOWER ROUTE PREVIEW =============== */
.mower-app {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}
@media (max-width: 1000px) { .mower-app { grid-template-columns: 1fr; } }

.mower-stage {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 1px 2px rgba(22,32,30,.04);
}
.mower-stage svg {
  display: block; width: 100%; height: 100%;
  touch-action: none; user-select: none;
}
.mower-yard      { fill: #DDEDD4; }   /* lawn - desaturated pastel green */
.mower-cut       { fill: #C3E1B3; }   /* "already mowed" tint - slightly darker green */
.mower-house     { fill: #E8DCC8; stroke: #8C7755; stroke-width: 1.6; }
.mower-tree      { fill: #6FA672; stroke: #3F6B45; stroke-width: 1.3; }
.mower-tree-shadow { fill: rgba(60,90,55,.18); }
.mower-yard-outline { fill: none; stroke: #6A8261; stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .55; }
.mower-path {
  fill: none; stroke: #FFC7E6; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(217, 119, 87, .55));
}
.mower-path-progress {
  fill: none; stroke: #FF9DC6; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.mower-label {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  fill: #4F6948; pointer-events: none;
}
.mower-dock-group { cursor: grab; }
.mower-dock-group.is-dragging { cursor: grabbing; }
.mower-dock { fill: var(--ink); stroke: var(--paper); stroke-width: 1.8; }
.mower-dock-icon { fill: var(--halo-2); }
.mower-dock-label {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  fill: var(--paper); pointer-events: none;
  text-anchor: middle; dominant-baseline: middle;
}

.mower-bot {
  fill: #FFC7E6; stroke: var(--ink); stroke-width: 1.4;
  filter: drop-shadow(0 0 6px rgba(255, 199, 230, .9));
}

.mower-toolbar {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 2;
}
.mower-toolbar button {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 7px 12px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: border-color 140ms ease, color 140ms ease;
}
.mower-toolbar button:hover { border-color: var(--halo); color: var(--halo-deep); }

.mower-panel {
  background: var(--ink); color: var(--paper);
  border-radius: 22px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.mower-panel::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(20,78,184,.16), transparent),
    radial-gradient(60% 50% at 0% 100%, rgba(20,78,184,.10), transparent);
  pointer-events: none;
}
.mower-panel > * { position: relative; }
.mower-stat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mower-stat:first-of-type { padding-top: 4px; }
.mower-stat .k {
  font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.mower-stat .v {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  letter-spacing: -.025em; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.mower-stat.sub .v { font-size: 17px; font-weight: 500; }
.mower-hint {
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7);
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.mower-hint strong { color: var(--halo-2); font-weight: 600; }
.mower-cta {
  background: var(--paper); color: var(--ink);
  border: 0; border-radius: 999px;
  padding: 13px 20px; font-family: inherit;
  font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 160ms ease, transform 160ms ease;
}
.mower-cta:hover { background: var(--halo-2); transform: translateY(-1px); }

/* =============== BRAND MARK - Quantum Q =============== */
.brand-mark { color: inherit; vertical-align: middle; }
.brand-mark .bm-ring,
.brand-mark .bm-tail { stroke: currentColor; }
.brand-mark .bm-ring { fill: none; }
.brand-mark .bm-tail { fill: none; stroke-linecap: round; }

/* =============== FOCUS RINGS =============== */
/* :focus-visible - keyboard-only ring, never on mouse click.
   Amber per design system, AA-visible on both light and dark surfaces. */
*:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="tab"]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Cards / pill-shaped controls - match their existing radius */
.btn:focus-visible, .nav-cta:focus-visible, .quick-pill:focus-visible,
.est-svc-chip:focus-visible, .est-opt-choice:focus-visible,
.action-btn:focus-visible, .action-chip:focus-visible,
.amock-slot:focus-visible, .amock-btn:focus-visible,
.appt:focus-visible, .video-card:focus-visible,
.svc:focus-visible, .robotic-svc:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* =============== CROSS-BROWSER backdrop-filter =============== */
/* Old Safari (incl. ~5% of iOS users still on 15-) needs the -webkit- prefix. */
.video-badge,
.video-dur,
.video-poster .play,
.amelia-modal,
.success-state {
  -webkit-backdrop-filter: blur(8px);
}

/* =============== ASPECT-RATIO FALLBACK =============== */
/* aspect-ratio shipped in Safari 15 / Chrome 88. Fall back for old browsers. */
@supports not (aspect-ratio: 16 / 10) {
  .video-poster {
    height: 0;
    padding-bottom: 62.5%; /* 10/16 */
  }
  .video-poster > .poster-art,
  .video-poster > .video-badge,
  .video-poster > .video-dur,
  .video-poster > .play {
    position: absolute;
  }
  .video-poster > .poster-art {
    inset: 0; width: 100%; height: 100%;
  }
}

/* ============================================================
   CROSS-DEVICE HARDENING
   iOS Safari + Android Chrome + Firefox + small/medium/large
   safe-area, touch targets, overflow, reduced motion, dvh, print
   ============================================================ */

/* Prevent any horizontal overflow on the document.
   Single overflow-x rule, on html only (P0 gate: exactly one survives). */
html { max-width: 100vw; overflow-x: clip; }
body { max-width: 100vw; }
img, video, svg { max-width: 100%; height: auto; }

/* Honor iOS safe areas (notch / home indicator) on the chrome layers */
nav { padding-top: env(safe-area-inset-top, 0); }
@supports (padding: max(0px)) {
  .shell {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}
.sticky-estimate { padding-bottom: max(10px, env(safe-area-inset-bottom)); }

/* iOS form zoom: inputs < 16px trigger auto-zoom. Force 16px on touch. */
@media (hover: none) and (pointer: coarse) {
  input, select, textarea, .amock-field input, .amock-field textarea, .amock-field select,
  .channel-capture-input, .est-num-input {
    font-size: 16px !important;
  }
  /* Touch targets: P0 raises the floor to 56px on primary CTA/chip/toggle surfaces */
  .btn, .nav-cta, .est-svc-chip, .est-mode-tab, .amock-btn, .channel-capture-send,
  .est-opt-choice, .est-svc-block-remove, .quick-pill, .amock-cal-day, .amock-slot,
  .as-tab, .amelia-modal-close, .agent-attach, .nav-burger, .est-qty-btn,
  .sticky-phone-bar .btn {
    min-height: 56px;
  }
  .est-qty-btn, .amelia-modal-close, .agent-attach { min-width: 56px; width: 56px; }
  .est-svc-block-remove { min-width: 32px; height: 32px; }
}

/* Use dynamic viewport height where supported (handles iOS URL bar collapse) */
@supports (height: 100dvh) {
  .amelia-modal-shell { max-height: 100dvh; }
}

/* Tablet (medium) refinements */
@media (max-width: 1100px) {
  .hero { padding-top: 64px; }
  .trust { flex-wrap: wrap; gap: 14px 20px; }
  .trust-divider { display: none; }
}

/* Phone refinements */
@media (max-width: 760px) {
  /* Hero: stack actions full-width, tighter spacing */
  h1.hero-h { font-size: clamp(34px, 10vw, 52px); }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .audience-switch { width: 100%; }
  .audience-switch button { flex: 1; }

  /* Section spacing & headings */
  .sec-lede { font-size: 16px; margin-bottom: 36px; }
  h2.sec-h { font-size: clamp(28px, 7vw, 40px); }

  /* Estimator: stack and breathe */
  .est-left, .est-right { padding: 22px 18px; }
  .est-h { font-size: 24px; }
  .quote-range { font-size: 36px; }
  .quote-breakdown { grid-template-columns: 1fr 1fr; }

  /* Final CTA */
  .final-cta h2 { font-size: clamp(32px, 9vw, 48px); }
  .final-cta p  { font-size: 16px; }

  /* Footer: stack cleanly */
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* AI showcase chat: keep readable on small screens */
  .ai-showcase { padding: 36px 18px; }
  .agent-chat { max-width: 100%; }
  /* let grid children shrink so nothing clips on narrow Androids (~360px) */
  .ai-grid, .ai-grid > * { min-width: 0; }
  /* finger-friendly tap targets (P0 floor: 56px) */
  .est-svc-chip { min-height: 56px; }
  .est-mode-tab { min-height: 56px; }
  /* prevent small clips on narrow Androids */
  .channel, .channel > div { min-width: 0; }
  .channel-d { white-space: normal; overflow-wrap: anywhere; }
  .myproperty-plan, .myproperty-content { min-width: 0; }
  .myproperty-plan svg { max-width: 100%; height: auto; }
}

/* Phone readability floor: lift decorative micro-labels to a legible size.
   On desktop these tiny mono/eyebrow labels read as deliberate styling; on a
   phone anything under ~11px is a strain. Targeted so layout/desktop is untouched. */
@media (max-width: 600px) {
  .video-badge, .sms-meta, .mp-section-head, .agent-status, .logos-label,
  .est-section-label, .liveops-stat-k, .survey-label, .quote-label,
  .channel-capture-legal, .deployed, .video-dur, .closeloop-eyebrow,
  .myproperty-meta, .badge, .pill, .sec-eyebrow {
    font-size: 14.5px !important;
    line-height: 1.4;
  }
  /* stat "key" rows in estimator / live-ops grids */
  .quote-breakdown .k, .liveops-stat .k, .survey-card .k { font-size: 14.5px !important; }
}

/* Phone tap-target floor (width-based: reliable across Android browsers that
   report pointer types inconsistently). Mirrors the touch-device rule. */
@media (max-width: 600px) {
  .as-tab, .est-opt-choice, .amock-cal-day, .amock-slot,
  .est-svc-chip, .est-mode-tab, .quick-pill, .amock-btn,
  .amelia-modal-close, .agent-attach, .btn, .nav-cta {
    min-height: 44px;
  }
  .as-tab, .amock-cal-day, .amock-slot, .est-opt-choice {
    display: inline-flex; align-items: center; justify-content: center;
  }
  .est-qty-btn, .amelia-modal-close, .agent-attach {
    min-width: 48px; width: 48px; height: 48px;
  }
}

/* Phones: Call button shows icon-only (number would wrap the nav bar) */
@media (max-width: 480px) {
  .nav-call .num { display: none; }
  .nav-call { padding: 0 12px; }
  /* Floating call button: icon-only circle on very small screens */
  .float-call span { display: none; }
  .float-call { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .float-call svg { width: 22px; height: 22px; }
}

/* Very small phones (iPhone SE, ~360px) */
@media (max-width: 380px) {
  .shell { padding: 0 16px; }
  .nav-cta { padding: 9px 14px; font-size: 14px; }
  .nav-call { padding: 0 11px; }
  .brand-text { font-size: 17px; }
  h1.hero-h { font-size: clamp(28px, 11vw, 40px); letter-spacing: -.03em; }
  .quote-range { font-size: 30px; }
  /* .hero-services-grid's bleed margin (set at 640px) is hardcoded to the
     20px shell padding; at this breakpoint the shell padding drops to 16px,
     so the bleed overshoots the viewport by 4px unless matched here. */
  .hero-services-grid { margin: 0 -16px; padding: 2px 16px 10px; }
}

/* Landscape phones: tighten vertical spacing */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 48px 0 32px; }
  section.block { padding: 56px 0; }
  .amelia-modal-shell { max-height: 100dvh; }
}

/* High-DPI: crisper 1px borders */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .step, .svc, .t-card, .est-svc-chip, .amock-field input,
  .amock-field textarea, .amock-field select { border-width: 0.5px; }
}

/* Reduced motion: respect OS setting */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .live-dot, .agent-status .pulse { animation: none !important; }
}

/* Forced-colors (Windows high-contrast) */
@media (forced-colors: active) {
  .btn, .nav-cta, .est-svc-chip { border: 1px solid CanvasText; }
}

/* Print: clean, no chrome */
@media print {
  nav, .sticky-estimate, .ai-showcase, .channel-capture, .est-mode { display: none !important; }
  body { background: var(--bg-card); color: black; }
  section.block { padding: 24px 0; page-break-inside: avoid; }
  .estimator, .quote-card { box-shadow: none !important; border: 1px solid #ccc !important; }
}

/* Sticky footer estimate: avoid covering content on tall touch keyboards */
@supports (height: 100svh) {
  body { min-height: 100svh; }
}

.pcq-prefill-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(20,78,184,.08); border: 1px solid rgba(20,78,184,.22);
  color: var(--halo-deep); border-radius: 12px; padding: 12px 16px;
  font-size: 14.5px; font-weight: 600; margin-bottom: 20px;
}
.pcq-prefill-banner svg { flex-shrink: 0; }

/* Email capture on wizard result */
.pcq-email-capture {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 18px; padding: 22px 20px; margin-top: 4px;
}
.pcq-email-label {
  font-family: var(--font-body); font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); margin: 0 0 8px; display: block;
}
.pcq-email-desc { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }
.pcq-email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pcq-email-input {
  flex: 1; min-width: 200px; background: var(--paper); border: 1.5px solid var(--rule);
  border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: 15px;
  color: var(--ink); outline: none;
  transition: border-color 140ms;
}
.pcq-email-input:focus { border-color: var(--halo); }
.pcq-email-input::placeholder { color: var(--steel-2); }
.pcq-email-btn {
  background: var(--ink); color: var(--paper); border: 0; border-radius: 10px;
  padding: 11px 20px; font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background 140ms, transform 120ms;
}
.pcq-email-btn:hover { background: var(--halo-deep); transform: translateY(-1px); }
.pcq-email-sent {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  font-size: 14px; font-weight: 600; color: var(--success);
}

/* Mobile nav polish */
@media (max-width: 768px) {
  .nav-links a,
  .nav-links .nav-drop-trigger {
    display: flex !important;
    align-items: center;
    min-height: 48px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-drop-menu a {
    display: flex !important;
    align-items: center;
    min-height: 48px !important;
    padding: 12px 20px !important;
    font-size: 16px;
  }
  .nav-cta {
    min-height: 52px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
}
/* Nav drop menu animation - desktop only; mobile uses display toggle keyed off aria-hidden */
@media (min-width: 769px) {
  .nav-drop-menu {
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav-drop-menu[aria-hidden="true"]  { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-4px); }
  .nav-drop-menu[aria-hidden="false"] { opacity: 1; pointer-events: auto;  transform: translateX(-50%) translateY(0); }
}
/* ============================================================
   iq-enhance.css - Express booking, Photo-to-quote, Human-presence,
   and the Tweaks panel. Loaded after the main stylesheet.
   Uses the site's existing design tokens for full visual continuity.
   ============================================================ */

/* ---------- Express (2-tap) booking ---------- */
/* When the modal shell is in express mode, drop the stepper / sidebar / foot
   so the single confirm screen owns the whole panel. */
.amelia-modal-shell.is-express .amock-stepper,
.amelia-modal-shell.is-express .amock-side,
.amelia-modal-shell.is-express .amock-foot { display: none !important; }
.amelia-modal-shell.is-express { max-width: 460px; height: auto; max-height: 92vh; overflow: hidden; }
/* The widget is normally position:absolute (fills a fixed-height body). In express
   the shell is content-sized, so put the widget back into normal flow or the body
   collapses to 0 height and nothing renders. */
.amelia-modal-shell.is-express .amelia-modal-body { flex: 0 1 auto; overflow: auto; min-height: 0; }
.amelia-modal-shell.is-express .amock { position: static; inset: auto; display: block; overflow: visible; }
.amelia-modal-shell.is-express .amock-body { display: block; }
.amelia-modal-shell.is-express .amock-main { position: static; padding: 0; overflow: visible; height: auto; flex: none; }

.xb { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.xb-head { display: flex; flex-direction: column; gap: 8px; }
.xb-eyebrow {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--halo-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.xb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(20,78,184,.18); }
.xb-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 23px; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); margin: 0; }
.xb-total {
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 30px;
  letter-spacing: -.03em; color: var(--ink); display: flex; align-items: baseline; gap: 10px;
}
.xb-total span { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--steel); }

.xb-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--steel); margin: -4px 0 0; }
.xb-trust > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.xb-trust > span + span { padding-left: 14px; border-left: 1px solid var(--rule-2); }
.xb-trust .xb-stars { color: var(--amber-deep, #b8740a); font-weight: 700; font-family: 'Inter Tight', sans-serif; }
.xb-hold { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 13.5px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; }
.xb-hold svg { color: var(--halo-deep); flex-shrink: 0; }
.xb-hold strong { font-family: var(--font-body); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.amock-hold { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; margin-top: 4px; }
.amock-hold svg { color: var(--halo-deep); flex-shrink: 0; }
.amock-hold strong { font-family: var(--font-body); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.xb-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin: 2px 0 -6px; }
.xb-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.xb-slot {
  position: relative; text-align: left; cursor: pointer;
  background: var(--bg-card); border: 1.5px solid var(--rule); border-radius: 13px;
  padding: 13px 14px; display: flex; flex-direction: column; gap: 2px;
  transition: border-color 140ms ease, background 140ms ease, transform 100ms ease;
  min-height: 64px; justify-content: center;
}
.xb-slot:hover { border-color: var(--rule-2); }
.xb-slot.is-sel { border-color: var(--halo); background: linear-gradient(180deg, rgba(20,78,184,.07), rgba(20,78,184,.02)); box-shadow: 0 0 0 3px rgba(20,78,184,.10); }
.xb-slot .xb-day { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: -.01em; color: var(--ink); }
.xb-slot .xb-time { font-family: var(--font-body); font-size: 14px; color: var(--steel); }
.xb-slot.is-sel .xb-time { color: var(--halo-deep); }
.xb-soon { position: absolute; top: -8px; right: 10px; font-family: var(--font-body); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--halo-deep); color: #fff; padding: 2px 7px; border-radius: 999px; font-weight: 600; }
.xb-slot.xb-more { border-style: dashed; align-items: center; text-align: center; }
.xb-slot.xb-more .xb-day { color: var(--steel); font-weight: 500; }
.xb-slot.xb-more .xb-time { color: var(--steel-2); }

.xb-presence {
  display: flex; align-items: center; gap: 11px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 13px; padding: 12px 14px;
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
}
.xb-presence strong { color: var(--ink); font-weight: 600; }
.xb-av {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--halo) 0%, var(--ink) 100%);
  color: #FBFCFE; display: flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: -.02em;
}

.xb-ident { font-size: 14px; color: var(--steel); padding: 2px 2px; }
.xb-ident strong { color: var(--ink); font-weight: 600; }
.xb-ident a { color: var(--halo-deep); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.xb-ident-form { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.xb-ident-form input {
  background: var(--bg-card); border: 1.5px solid var(--rule); border-radius: 11px;
  padding: 13px 13px; font-size: 15px; font-family: inherit; color: var(--ink);
  font-weight: 500; outline: none; transition: border-color 140ms ease, box-shadow 140ms ease;
}
.xb-ident-form input:focus { border-color: var(--halo); box-shadow: 0 0 0 3px rgba(20,78,184,.10); }
.xb-ident-form input.xb-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(161,43,43,.12); }
.xb-err {
  font-size: 13.5px; font-weight: 500; color: #b91c1c;
  display: flex; align-items: center; gap: 6px; padding: 2px 2px 0;
}
.xb-err::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); flex-shrink: 0; }

.xb-reassure {
  font-size: 13px; color: var(--steel); text-align: center;
  margin-top: -4px; line-height: 1.45;
}
.amf-err {
  font-size: 13px; font-weight: 500; color: #b91c1c; margin-top: 5px;
  display: none;
}
.amf-err.is-on { display: block; }

.amock-field input.amock-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(161,43,43,.12) !important; }

.xb-guarantee {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; line-height: 1.45; color: var(--steel);
}
.xb-guarantee svg { flex-shrink: 0; color: var(--accent); margin-top: 1px; }

.xb-confirm {
  margin-top: 2px; width: 100%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  padding: 16px; border-radius: 14px; min-height: 52px;
  transition: background 160ms ease, transform 100ms ease;
}
.xb-confirm:hover { background: var(--halo-deep); }
.xb-confirm:active { transform: translateY(1px); }
/* On short phones the express card scrolls; keep the primary action pinned in the
   thumb zone so it is never below the fold. Engages only when scrolling is needed. */
@media (max-width: 640px) {
  .amelia-modal-shell.is-express .xb-confirm {
    position: sticky; bottom: 6px; z-index: 3;
    box-shadow: 0 6px 22px rgba(22,32,30,.22), 0 -16px 18px -10px var(--paper);
  }
}
.xb-fulllink {
  background: none; border: 0; cursor: pointer; align-self: center;
  font-family: inherit; font-size: 14px; color: var(--steel); padding: 2px;
  border-bottom: 1px solid transparent;
}
.xb-fulllink:hover { color: var(--ink-2); border-bottom-color: var(--rule-2); }

/* done-screen additions */
.amock-done .xb-cal {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-body); font-size: 14.5px; letter-spacing: .04em;
  color: var(--halo-deep); text-decoration: none; border-bottom: 1px solid var(--rule-2);
}
.xb-referral {
  margin-top: 20px; padding: 18px; border-radius: 16px; text-align: left;
  background: linear-gradient(135deg, rgba(20,78,184,.08), rgba(20,78,184,.06));
  border: 1px solid var(--rule);
}
.xb-ref-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.015em; color: var(--ink); margin-bottom: 4px; }
.xb-ref-p { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-bottom: 12px; }
.xb-ref-p strong { color: var(--ink); }
.xb-ref-btn {
  width: 100%; border: 0; cursor: pointer; background: var(--ink); color: var(--paper);
  font-family: inherit; font-weight: 600; font-size: 14.5px; padding: 12px; border-radius: 11px;
  transition: background 160ms ease;
}
.xb-ref-btn:hover { background: var(--halo-deep); }

/* ---------- Service-address autocomplete ---------- */
.amock-field.full { position: relative; }
.amf-ac { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin-top: 5px; background: var(--bg-card); border: 1px solid var(--rule); border-radius: 11px; box-shadow: 0 18px 44px -18px rgba(22,32,30,.45); overflow: hidden; display: none; }
.amf-ac.show { display: block; }
.amf-ac-item { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 11px 12px; font-family: inherit; font-size: 14.5px; color: var(--ink); }
.amf-ac-item + .amf-ac-item { border-top: 1px solid var(--rule); }
.amf-ac-item svg { color: var(--steel-2); flex-shrink: 0; }
.amf-ac-item:hover, .amf-ac-item.is-active { background: var(--paper-2); }
.amf-ac-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Photo-to-quote ---------- */
.iq-photo-entry {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--bg-card); border: 1.5px solid var(--rule); border-radius: 16px;
  padding: 14px 16px; cursor: pointer; margin: 0 0 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.iq-photo-entry:hover { border-color: var(--halo); box-shadow: 0 8px 28px -16px rgba(20,78,184,.5); transform: translateY(-1px); }
.iq-photo-ic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--halo) 0%, var(--ink) 100%); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.iq-photo-tx { flex: 1; }
.iq-photo-tx .h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.015em; color: var(--ink); }
.iq-photo-tx .p { font-size: 14px; color: var(--steel); margin-top: 1px; }
.iq-photo-entry .arrow { color: var(--steel-2); flex-shrink: 0; }

.iq-pmodal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(22,32,30,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 200ms ease; }
.iq-pmodal.is-open { display: flex; opacity: 1; }
.iq-pmodal-shell { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(22,32,30,.5); transform: translateY(12px) scale(.98); transition: transform 260ms cubic-bezier(.2,.8,.2,1); max-height: 92vh; display: flex; flex-direction: column; }
.iq-pmodal.is-open .iq-pmodal-shell { transform: none; }
.iq-pmodal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.iq-pmodal-head .t { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.015em; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.iq-pmodal-head .t .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(20,78,184,.18); }
.iq-pmodal-close { background: transparent; border: 1px solid var(--rule); width: 32px; height: 32px; border-radius: 8px; color: var(--steel); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.iq-pmodal-close:hover { background: var(--bg-card); color: var(--ink); }
.iq-pmodal-body { padding: 20px; overflow: auto; }

.iq-drop {
  border: 2px dashed var(--rule-2); border-radius: 16px; padding: 34px 20px; text-align: center;
  cursor: pointer; transition: border-color 160ms ease, background 160ms ease;
}
.iq-drop:hover, .iq-drop.drag { border-color: var(--halo); background: rgba(20,78,184,.04); }
.iq-drop .ic { color: var(--halo-deep); margin-bottom: 10px; }
.iq-drop .h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -.015em; color: var(--ink); }
.iq-drop .p { font-size: 14px; color: var(--steel); margin-top: 4px; }
.iq-drop .hint { font-size: 14.5px; color: var(--steel-2); margin-top: 12px; }

.iq-shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--inverted); }
.iq-shot img { width: 100%; display: block; max-height: 280px; object-fit: cover; }
.iq-scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--halo), transparent); box-shadow: 0 0 16px 2px rgba(20,78,184,.6); top: 0; animation: iqScan 1.5s ease-in-out infinite; }
@keyframes iqScan { 0%,100% { top: 4%; } 50% { top: 96%; } }
.iq-tag { position: absolute; font-family: var(--font-body); font-size: 14px; letter-spacing: .04em; color: #fff; background: rgba(22,32,30,.78); border: 1px solid rgba(255,255,255,.18); padding: 4px 8px; border-radius: 7px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; white-space: nowrap; }
.iq-tag.show { opacity: 1; transform: none; }
.iq-tag .d { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--halo-2); margin-right: 6px; }

.iq-analysis { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.iq-arow { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); opacity: 0; transform: translateY(4px); animation: iqIn .35s forwards; }
.iq-arow svg { color: var(--accent); flex-shrink: 0; }
.iq-arow .k { color: var(--steel); }
.iq-arow .v { margin-left: auto; font-family: var(--font-body); font-size: 14px; color: var(--ink); }
@keyframes iqIn { to { opacity: 1; transform: none; } }

.iq-presult { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--rule); }
.iq-presult .lbl { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.iq-presult .amt { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 32px; letter-spacing: -.03em; color: var(--ink); margin: 2px 0 2px; }
.iq-presult .sub { font-size: 14px; color: var(--steel); }
.iq-pbook { margin-top: 14px; width: 100%; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15.5px; padding: 15px; border-radius: 13px; min-height: 50px; transition: background 160ms ease; }
.iq-pbook:hover { background: var(--halo-deep); }
.iq-pfoot { text-align: center; margin-top: 12px; }
.iq-pfoot-link { background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; color: var(--steel); border-bottom: 1px solid transparent; }
.iq-pfoot-link:hover { color: var(--ink-2); border-bottom-color: var(--rule-2); }

/* ---------- Vision scope additions ---------- */
.iq-scanlabel { position:absolute; left:0; right:0; bottom:10px; text-align:center; font-family:var(--font-body); font-size:13.5px; letter-spacing:.1em; text-transform:uppercase; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.6); }
.iq-scoped { display:flex; flex-direction:column; gap:14px; }
.iq-thumbs { display:flex; gap:8px; flex-wrap:wrap; }
.iq-thumb { position:relative; width:74px; }
.iq-thumb img { width:74px; height:55px; object-fit:cover; border-radius:9px; border:1px solid var(--rule); display:block; }
.iq-thumb .svc { display:block; font-size:13px; color:var(--steel); margin-top:3px; line-height:1.15; }
.iq-thumb .rm { position:absolute; top:-6px; right:-6px; width:18px; height:18px; border-radius:50%; border:0; background:var(--ink); color:#fff; font-size:14px; line-height:1; cursor:pointer; }
.iq-addshot { width:74px; height:55px; border:1.5px dashed var(--rule-2); border-radius:9px; background:none; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:var(--steel); font-size:13px; }
.iq-addshot:hover { border-color:var(--halo); color:var(--halo-deep); }
.iq-inv-h { font-family:var(--font-body); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--steel-2); }
.iq-flags { display:flex; flex-direction:column; gap:7px; }
.iq-flag { display:flex; align-items:flex-start; gap:8px; font-size:14px; line-height:1.4; padding:9px 11px; border-radius:10px; }
.iq-flag svg { flex-shrink:0; margin-top:1px; }
.iq-flag.ok { background:var(--success-soft); }
.iq-flag.ok svg { color:var(--success); }
.iq-flag.warn { background:rgba(180,83,9,.10); }
.iq-flag.warn svg { color:#b45309; }
.iq-flag span { color:var(--ink-2); }
.iq-device { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:11px 13px; border-radius:12px; border:1px solid var(--rule); background:var(--bg-card); font-family:inherit; cursor:pointer; }
.iq-device.add { color:var(--ink-2); font-size:13px; font-weight:500; }
.iq-device.add svg { color:var(--steel-2); flex-shrink:0; }
.iq-device.add:hover { border-color:var(--halo); }
.iq-device.ok { cursor:default; border-color:var(--success); background:var(--success-soft); }
.iq-device.ok svg { color:var(--success); flex-shrink:0; }
.iq-device .dm { font-family:'Inter Tight',sans-serif; font-weight:600; font-size:13.5px; color:var(--ink); }
.iq-device .dp { font-size:14px; color:var(--steel); margin-top:1px; }
.iq-conf { font-family:var(--font-body); font-size:13px; letter-spacing:.06em; color:var(--halo-2); margin-left:8px; }
.iq-lowconf { text-align:center; padding:14px 6px; display:flex; flex-direction:column; align-items:center; gap:8px; }
.iq-lc-ic { color:#b45309; }
.iq-lowconf .h { font-family:'Inter Tight',sans-serif; font-weight:600; font-size:17px; letter-spacing:-.015em; color:var(--ink); }
.iq-lowconf .p { font-size:13px; color:var(--steel); line-height:1.5; max-width:36ch; }
.iq-lc-row { display:flex; flex-direction:column; gap:8px; width:100%; margin-top:6px; }

/* ---------- Tweaks panel (vanilla) ---------- */
.iq-tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 1200; width: 290px; display: none; font-family: 'Inter', system-ui, sans-serif; }
.iq-tweaks.is-on { display: block; }
.iq-tweaks-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 30px 70px -24px rgba(22,32,30,.45); overflow: hidden; }
.iq-tweaks-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.iq-tweaks-head .t { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; color: var(--ink); }
.iq-tweaks-x { background: none; border: 0; cursor: pointer; color: var(--steel-2); padding: 4px; display: flex; }
.iq-tweaks-x:hover { color: var(--ink); }
.iq-tweaks-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.iq-tw-section { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin: 10px 0 2px; }
.iq-tw-section:first-child { margin-top: 0; }
.iq-tw-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 7px 0; cursor: pointer; }
.iq-tw-txt .h { font-size: 14px; font-weight: 600; color: var(--ink); }
.iq-tw-txt .p { font-size: 14.5px; color: var(--steel); line-height: 1.35; margin-top: 1px; }
.iq-switch { flex-shrink: 0; width: 38px; height: 22px; border-radius: 999px; background: var(--rule-2); position: relative; transition: background 160ms ease; margin-top: 2px; }
.iq-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 160ms ease; }
.iq-tw-row.on .iq-switch { background: var(--halo); }
.iq-tw-row.on .iq-switch::after { transform: translateX(16px); }
.iq-tw-btn { margin-top: 10px; width: 100%; background: var(--bg-card); border: 1px solid var(--rule); border-radius: 10px; padding: 9px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color 140ms ease, color 140ms ease; }
.iq-tw-btn:hover { border-color: var(--rule-2); color: var(--ink); }
.iq-tw-note { font-size: 14px; color: var(--steel-2); margin-top: 8px; line-height: 1.4; }

@media (max-width: 480px) {
  .iq-tweaks { right: 10px; left: 10px; bottom: 10px; width: auto; }
  .xb-slots { grid-template-columns: 1fr; }
  .iq-pmodal-shell { max-width: none; }
}
/* ===== ACCESSIBILITY: body text 15px+ throughout ===== */
.step-p { font-size: 15.5px !important; line-height: 1.6 !important; }
.robotic-svc-desc { font-size: 15px !important; }
.ihs-card-p { font-size: 15px !important; }
.pai-card-p { font-size: 15px !important; }
.closeloop-desc { font-size: 15px !important; }
.appt-desc { font-size: 15px !important; }
.corepitch{padding-top:88px;padding-bottom:8px;}
.cp-h{font-family:'Inter Tight',sans-serif;font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:700;letter-spacing:-.03em;line-height:1.08;margin:8px 0 14px;color:var(--ink);text-wrap:balance;max-width:18ch;}
.cp-h span{color:var(--halo-deep);}
.cp-lede{font-size:18px;line-height:1.6;color:var(--ink-2);max-width:680px;margin:0 0 40px;text-wrap:pretty;}
.cp-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch;}
.cp-col{border:1px solid var(--rule);border-radius:24px;padding:30px 30px 26px;background:var(--bg-card);display:flex;flex-direction:column;}
.cp-auto{background:var(--paper-2);}
.cp-intel{border-color:var(--halo);box-shadow:0 1px 2px rgba(22,32,30,.05),0 24px 48px -30px rgba(20,78,184,.5);}
.cp-tag{font-family:var(--font-body);font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;margin:0 0 18px;}
.cp-auto .cp-tag{color:var(--steel);}
.cp-intel .cp-tag{color:var(--halo-deep);display:inline-flex;align-items:center;gap:8px;}
.cp-intel .cp-tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--halo);}
.cp-col ul{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:14px;flex:1;}
.cp-col li{font-size:16px;line-height:1.5;color:var(--ink);padding-left:26px;position:relative;text-wrap:pretty;}
.cp-auto li{color:var(--steel);}
.cp-auto li::before{content:"";position:absolute;left:2px;top:9px;width:10px;height:1.5px;background:var(--steel);}
.cp-intel li::before{content:"";position:absolute;left:0;top:4px;width:15px;height:15px;border-radius:50%;background:var(--halo-soft);}
.cp-intel li::after{content:"";position:absolute;left:5px;top:8px;width:5px;height:5px;border-radius:50%;background:var(--halo);}
.cp-foot{font-family:'Inter Tight',sans-serif;font-size:15px;font-weight:700;letter-spacing:-.01em;margin:0;padding-top:16px;border-top:1px solid var(--rule);}
.cp-auto .cp-foot{color:var(--steel);}
.cp-intel .cp-foot{color:var(--halo-deep);}
.cp-note{font-size:17px;line-height:1.6;color:var(--ink-2);max-width:760px;margin:30px 0 0;text-wrap:pretty;}
.cp-note strong{color:var(--ink);font-weight:700;}
@media(max-width:760px){.cp-compare{grid-template-columns:1fr;}.corepitch{padding-top:60px;}}
/* ===== Staging enhancements (brief 2026-06-19) ===== */
/* Reduce motion: OS preference + manual control */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}
}
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}

/* Hero brand-promise badges */
.hero-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;list-style:none;margin:36px 0 30px;padding:0;}
.hero-badges li{position:relative;display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:var(--ink-2);}
.hero-badges li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--good);flex:none;}
@media(max-width:640px){.hero-badges li{font-size:14px;}}

/* Solutions dropdown: titles + subs + separator */
.nav-drop-menu-solutions a{flex-direction:column;align-items:flex-start;gap:2px;line-height:1.3;}
.nav-drop-menu-solutions .dm-title{font-weight:600;color:var(--ink);display:flex;align-items:center;gap:8px;}
.nav-drop-menu-solutions .dm-sub{font-size:13px;color:var(--steel);font-weight:500;}
.nav-drop-sep{height:1px;background:var(--rule);margin:6px 8px;}

/* Solutions triad band */
.soln-band-h{font-family:'Inter Tight',sans-serif;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:6px 0 12px;color:var(--ink);text-wrap:balance;}
.soln-band-lede{font-size:18px;line-height:1.6;color:var(--ink-2);max-width:620px;margin:0 0 36px;text-wrap:pretty;}
.soln-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.soln-card{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--rule);border-radius:24px;padding:28px;text-decoration:none;color:inherit;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;box-shadow:0 1px 2px rgba(22,32,30,.04);}
.soln-card:hover{transform:translateY(-3px);border-color:var(--rule-2);box-shadow:0 1px 2px rgba(22,32,30,.05),0 24px 48px -28px rgba(22,32,30,.28);}
.soln-icon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:var(--halo-soft);color:var(--halo-deep);margin-bottom:18px;}
.soln-card--robotics .soln-icon{background:rgba(20,78,184,.18);color:var(--accent);}
.soln-card--ai .soln-icon{background:var(--forest-soft);color:var(--forest);}
.soln-eyebrow{font-family:var(--font-body);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--steel);margin:0 0 6px;}
.soln-name{font-family:'Inter Tight',sans-serif;font-size:22px;font-weight:700;letter-spacing:-.02em;margin:0 0 6px;color:var(--ink);}
.soln-who{font-size:14px;font-weight:600;color:var(--halo-deep);margin:0 0 12px;}
.soln-card--robotics .soln-who{color:var(--accent);}
.soln-card--ai .soln-who{color:var(--forest-2);}
.soln-desc{font-size:15.5px;line-height:1.55;color:var(--ink-2);margin:0 0 18px;flex:1;text-wrap:pretty;}
.soln-trust{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 18px;padding:0;}
.soln-trust li{font-size:13px;font-weight:600;color:var(--ink-2);background:var(--paper-2);border:1px solid var(--rule);border-radius:999px;padding:5px 11px;}
.soln-link{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:var(--halo-deep);}
.soln-link span{transition:transform 180ms ease;}
.soln-card:hover .soln-link span{transform:translateX(3px);}
.soln-onramp{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:16px;background:linear-gradient(180deg,var(--paper-2),var(--paper));border:1px solid var(--rule);border-radius:20px;padding:22px 28px;text-decoration:none;color:inherit;transition:border-color 180ms ease;}
.soln-onramp:hover{border-color:var(--rule-2);}
.soln-onramp-k{font-family:var(--font-body);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--steel);margin:0 0 4px;}
.soln-onramp-d{font-size:15.5px;color:var(--ink-2);margin:0;max-width:62ch;text-wrap:pretty;}
@media(max-width:900px){.soln-grid{grid-template-columns:1fr;}}

/* Three doors: Assess / Quote / Book */
.start-band{padding-top:72px;padding-bottom:0;}
.start-band-head{max-width:640px;margin:0 0 32px;}
.start-band-h{font-family:'Inter Tight',sans-serif;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:6px 0 12px;color:var(--ink);text-wrap:balance;}
.start-band-lede{font-size:18px;line-height:1.6;color:var(--ink-2);margin:0;text-wrap:pretty;}
.door-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch;}
.door{display:flex;flex-direction:column;min-width:0;background:var(--bg-card);border:1px solid var(--rule);border-radius:24px;padding:30px 28px;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;box-shadow:0 1px 2px rgba(22,32,30,.04);}
.door:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(22,32,30,.05),0 24px 48px -28px rgba(22,32,30,.28);}
.door--quote{border-color:var(--halo);box-shadow:0 1px 2px rgba(22,32,30,.05),0 18px 44px -26px rgba(20,78,184,.5);}
.door-top{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.door-icon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none;}
.door--assess .door-icon{background:var(--amber-soft);color:var(--amber-deep);}
.door--quote .door-icon{background:var(--halo-soft);color:var(--halo-deep);}
.door--book .door-icon{background:var(--forest-soft);color:var(--forest);}
.door-label{font-family:var(--font-body);font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:500;margin:0;}
.door--assess .door-label{color:var(--amber-deep);}
.door--quote .door-label{color:var(--halo-deep);}
.door--book .door-label{color:var(--forest-2);}
.door-q{font-family:'Inter Tight',sans-serif;font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px;color:var(--ink);}
.door-d{font-size:19px;line-height:1.5;color:var(--ink-2);margin:0 0 16px;flex:1;text-wrap:pretty;}
.door-tag{align-self:flex-start;font-size:13px;font-weight:600;color:var(--ink-2);background:var(--paper-2);border:1px solid var(--rule);border-radius:999px;padding:5px 11px;margin:0 0 20px;}
.door-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;border-radius:12px;font-family:inherit;font-size:16px;font-weight:700;letter-spacing:-.01em;cursor:pointer;text-decoration:none;border:1.5px solid var(--rule-2);background:var(--bg-card);color:var(--ink);transition:transform 160ms ease,background 160ms ease,border-color 160ms ease;width:100%;}
.door-cta:hover{transform:translateY(-1px);border-color:var(--ink);}
.door--quote .door-cta{background:var(--halo-deep);border-color:var(--halo);color:#fff;box-shadow:0 6px 20px -6px rgba(20,78,184,.6);}
.door--quote .door-cta:hover{background:var(--halo-deep);border-color:var(--halo-deep);}
.door-cta .arr{transition:transform 160ms ease;}
.door-cta:hover .arr{transform:translateX(3px);}
@media(max-width:900px){.door-grid{grid-template-columns:1fr;}}

/* Booking: fluid step transition (honors reduce-motion via global rules) */
@keyframes amockIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.amock-main.amock-anim{animation:amockIn .26s cubic-bezier(.4,0,.2,1);}
/* Booking: recurring-visit selector (Amelia v9 recurring appointments) */
.xb-recur{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 2px;flex-wrap:wrap;}
.xb-recur-lbl{font-size:13.5px;font-weight:600;color:var(--steel);display:inline-flex;align-items:center;gap:7px;}
.xb-recur-seg{display:inline-flex;gap:4px;background:var(--paper-2);border:1px solid var(--rule);border-radius:999px;padding:3px;}
.xb-recur-opt{appearance:none;border:0;background:transparent;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink-2);padding:7px 14px;border-radius:999px;cursor:pointer;min-height:38px;transition:background 140ms,color 140ms;}
.xb-recur-opt.is-on{background:var(--halo);color:#fff;}
.xb-recur-note{font-size:12.5px;color:var(--halo-deep);margin:2px 0 0;width:100%;}
/* Booking: service extras, scarcity, coupons (Amelia Elite) */
.xb-total-note{display:block;font-size:12.5px;font-weight:700;color:var(--halo-deep);margin-top:3px;}
.xb-left{margin-left:auto;font-size:11.5px;font-weight:700;color:var(--amber-deep);background:var(--amber-soft);border-radius:999px;padding:2px 8px;align-self:center;}
.xb-extras{display:flex;flex-direction:column;gap:8px;margin:2px 0 4px;}
.xb-extra{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:var(--bg-card);border:1.5px solid var(--rule-2);border-radius:12px;padding:11px 13px;font:inherit;cursor:pointer;min-height:48px;transition:border-color 140ms,background 140ms;}
.xb-extra:hover{border-color:var(--ink);}
.xb-extra.is-on{border-color:var(--halo);background:var(--halo-soft);}
.xb-extra-check{width:20px;height:20px;border-radius:6px;border:2px solid var(--rule-2);flex:none;position:relative;transition:background 140ms,border-color 140ms;}
.xb-extra.is-on .xb-extra-check{background:var(--halo);border-color:var(--halo);}
.xb-extra.is-on .xb-extra-check::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
.xb-extra-l{font-size:14.5px;font-weight:600;color:var(--ink);}
.xb-extra-amt{margin-left:auto;font-size:14px;font-weight:700;color:var(--ink-2);}
.xb-coupon{margin:4px 0 2px;}
.xb-coupon-toggle{background:none;border:0;padding:4px 0;font:inherit;font-size:13.5px;font-weight:600;color:var(--halo-deep);cursor:pointer;text-decoration:underline;min-height:36px;}
.xb-coupon-row{display:flex;gap:8px;margin-top:6px;}
.xb-coupon-row[hidden]{display:none;}
.xb-coupon-row input{flex:1;min-width:0;border:1.5px solid var(--rule-2);border-radius:10px;padding:10px 12px;font:inherit;font-size:14.5px;min-height:46px;text-transform:uppercase;}
.xb-coupon-apply{border:0;background:var(--ink);color:#fff;border-radius:10px;padding:0 18px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;min-height:46px;}
.xb-coupon-on{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--forest);background:var(--forest-soft);border-radius:10px;padding:9px 12px;}
.xb-coupon-rm{margin-left:auto;background:none;border:0;font:inherit;font-size:12.5px;color:var(--steel);text-decoration:underline;cursor:pointer;}
.xb-coupon-err{font-size:12.5px;color:var(--danger);margin:6px 0 0;}
/* Booking: multi-service cart (Amelia Elite cart feature) */
.xb-cart{margin:4px 0 2px;}
.xb-cart-list{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;}
.xb-cart-item{display:flex;align-items:center;gap:10px;background:var(--paper-2);border:1px solid var(--rule);border-radius:10px;padding:9px 12px;}
.xb-cart-l{font-size:14px;font-weight:600;color:var(--ink);}
.xb-cart-amt{margin-left:auto;font-size:13.5px;font-weight:700;color:var(--ink-2);}
.xb-cart-rm{background:none;border:0;font-size:18px;line-height:1;color:var(--steel);cursor:pointer;padding:2px 6px;min-height:32px;}
.xb-cart-rm:hover{color:var(--danger);}
.xb-cart-add{background:none;border:1.5px dashed var(--rule-2);border-radius:10px;width:100%;padding:11px;font:inherit;font-size:14px;font-weight:600;color:var(--halo-deep);cursor:pointer;min-height:46px;transition:border-color 140ms,background 140ms;}
.xb-cart-add:hover{border-color:var(--halo);background:var(--halo-soft);}
.xb-cart-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;}
.xb-cart-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--bg-card);border:1.5px solid var(--rule-2);border-radius:10px;padding:10px 12px;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer;min-height:46px;transition:border-color 140ms;}
.xb-cart-opt span{color:var(--ink-2);font-weight:700;}
.xb-cart-opt:hover{border-color:var(--ink);}
.xb-cart-opt.is-in{opacity:.5;cursor:default;}
.xb-cart-note{font-size:12.5px;color:var(--steel);margin:8px 0 0;}
@media(max-width:560px){.xb-cart-menu{grid-template-columns:1fr;}}
.whoserve{padding-top:72px;padding-bottom:0;}
.ws-h{font-family:'Inter Tight',sans-serif;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:6px 0 12px;color:var(--ink);text-wrap:balance;max-width:20ch;}
.ws-lede{font-size:18px;line-height:1.6;color:var(--ink-2);max-width:660px;margin:0 0 36px;text-wrap:pretty;}
.ws-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.ws-card{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--rule);border-radius:20px;padding:24px 22px;text-decoration:none;color:inherit;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;box-shadow:0 1px 2px rgba(22,32,30,.04);}
.ws-card:hover{transform:translateY(-3px);border-color:var(--rule-2);box-shadow:0 1px 2px rgba(22,32,30,.05),0 24px 48px -28px rgba(22,32,30,.28);}
.ws-seg{font-family:'Inter Tight',sans-serif;font-size:19px;font-weight:700;letter-spacing:-.02em;margin:0 0 10px;color:var(--ink);}
.ws-hook{font-size:15px;line-height:1.55;color:var(--ink-2);margin:0 0 18px;flex:1;text-wrap:pretty;}
.ws-fit{align-self:flex-start;font-family:var(--font-body);font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--halo-deep);background:var(--halo-soft);border-radius:999px;padding:5px 11px;margin:0 0 16px;}
.ws-link{display:inline-flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;color:var(--ink);}
.ws-card:hover .ws-link{color:var(--halo-deep);}
@media(max-width:1000px){.ws-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.ws-grid{grid-template-columns:1fr;}}
.section-nav {
  position: sticky; top: 71px; z-index: 40;
  background: rgba(251,252,254,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-nav-list {
  display: flex; gap: 2px; list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}
.section-nav-list::-webkit-scrollbar { display: none; }
.section-nav-list a {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 0 15px; text-decoration: none;
  font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 600;
  letter-spacing: -.01em; color: var(--steel); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.section-nav-list a:hover { color: var(--ink); }
.section-nav-list a:focus-visible { outline: 3px solid var(--halo); outline-offset: -4px; border-radius: 4px; }
.section-nav-list a.is-active { color: var(--halo-deep); border-bottom-color: var(--halo); }
section[id], div[id="estimator"] { scroll-margin-top: 124px; }
@media (max-width: 760px) {
  .section-nav { top: 63px; }
  .section-nav-list { gap: 0 4px; padding: 6px 0; }
  .section-nav-list a { min-height: 44px; padding: 0 10px; font-size: 19px; }
  section[id], div[id="estimator"] { scroll-margin-top: 112px; }
}
/* ============================================================
   infrastruQture - Wheel/Classic estimator (embedded Home view)
   Scoped under #weHome / .we-* so it never collides with the
   legacy estimator. Relies on the site's :root tokens.
   ============================================================ */
#weHome{ max-width:460px; margin:0 auto; position:relative; font-family:'Inter Tight',sans-serif; }

/* view toggle */
.we-viewseg{ display:inline-flex; margin:0 0 16px; background:var(--paper-2); border:1px solid var(--rule); border-radius:999px; padding:3px; gap:2px; }
.we-vs{ border:0; background:none; font-family:inherit; font-size:13px; font-weight:600; color:var(--steel); padding:7px 16px; border-radius:999px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; -webkit-tap-highlight-color:transparent; }
/* P0: Wheel mode cut, force Classic; markup stays for legacy JS, tab hidden so it can never be entered */
.we-vs[data-weview="wheel"]{ display:none; }
#weWheel{ display:none !important; }
.we-vs svg{ width:15px; height:15px; }
.we-vs.on{ background:var(--bg-card); color:var(--ink); box-shadow:0 1px 3px rgba(22,32,30,.12); }

/* service rail */
.we-rail-label{ font-size:12px; font-weight:600; letter-spacing:.02em; color:var(--steel); text-transform:uppercase; margin:0 0 10px; }
.we-rail{ display:flex; gap:8px; overflow-x:auto; overflow-y:hidden; padding:7px 2px 12px; margin:0 -2px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.we-rail::-webkit-scrollbar{ display:none; }
.we-chip{ flex:0 0 auto; display:inline-flex; align-items:center; gap:7px; padding:9px 13px 9px 11px; border-radius:999px; cursor:pointer; background:var(--bg-card); border:1.5px solid var(--rule-2); font-family:inherit; font-size:13.5px; font-weight:600; color:var(--ink-2); white-space:nowrap; transition:border-color .15s,background .15s,color .15s,box-shadow .15s; -webkit-tap-highlight-color:transparent; }
.we-chip svg{ width:15px; height:15px; flex:none; color:var(--steel); transition:color .15s; }
.we-chip .we-badge{ width:17px; height:17px; border-radius:50%; border:1.5px solid var(--rule-2); display:grid; place-items:center; }
.we-chip .we-badge svg{ width:10px; height:10px; color:#fff; }
.we-chip.added{ background:var(--halo-soft); border-color:transparent; color:var(--halo-deep); }
.we-chip.added svg{ color:var(--halo-deep); }
.we-chip.added .we-badge{ background:var(--halo); border-color:var(--halo); }
.we-chip.badd .we-badge{ background:transparent; border-color:var(--rule-2); }
.we-chip.badd .we-badge svg{ color:var(--steel); }
.we-chip.focused{ box-shadow:0 0 0 2px var(--halo),0 6px 16px rgba(20,78,184,.22); border-color:transparent; }
.we-cbadge{ min-width:18px; height:18px; border-radius:9px; background:var(--halo-deep); color:#fff; font-family:var(--font-body); font-size:11px; font-weight:700; line-height:18px; text-align:center; padding:0 4px; }
.we-chip.focused .we-cbadge{ background:var(--halo-deep); }

/* dial */
.we-cap{ text-align:center; margin:2px 0 0; }
.we-cap .svc{ font-size:15px; font-weight:700; letter-spacing:-.01em; }
.we-cap .opt{ display:block; font-size:12.5px; color:var(--steel); margin-top:2px; }
.we-cap .opt .val{ color:var(--halo-deep); font-weight:600; }
.we-cap .alltag{ display:inline-block; font-family:var(--font-body); font-size:9.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--steel); background:var(--paper-2); padding:1px 6px; border-radius:6px; margin:0 2px; }
.we-dialzone{ display:flex; flex-direction:column; align-items:center; padding:6px 0 2px; }
.we-dial{ position:relative; width:min(300px,84%); aspect-ratio:1; margin:10px auto 0; touch-action:none; user-select:none; }
.we-ring{ position:absolute; inset:0; border-radius:50%; background:radial-gradient(circle at 50% 42%, #fff, var(--paper-2)); box-shadow:inset 0 2px 10px rgba(22,32,30,.05),0 10px 30px rgba(22,32,30,.10),0 0 0 1px var(--rule); }
.we-track{ position:absolute; inset:0; }
.we-pointer{ position:absolute; inset:0; pointer-events:none; transition:transform .28s cubic-bezier(.16,1,.3,1); }
.we-hub{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:46%; height:46%; border-radius:50%; background:var(--ink); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(22,32,30,.32),inset 0 1px 0 rgba(255,255,255,.08); cursor:pointer; z-index:5; border:0; font-family:inherit; }
.we-hub .k{ font-family:var(--font-body); font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.we-hub .typ{ font-family:var(--font-display); font-size:30px; font-weight:500; line-height:1; margin:3px 0 1px; letter-spacing:-.01em; }
.we-hub .rng{ font-family:var(--font-body); font-size:12px; color:rgba(255,255,255,.72); }
.we-hub .meta{ font-size:10px; color:rgba(255,255,255,.5); margin-top:5px; white-space:nowrap; }
.we-hub.bump{ animation:weBump .4s cubic-bezier(.16,1,.3,1); }
@keyframes weBump{ 0%{transform:translate(-50%,-50%) scale(1);} 40%{transform:translate(-50%,-50%) scale(1.06);} 100%{transform:translate(-50%,-50%) scale(1);} }
.we-node{ position:absolute; transform:translate(-50%,-50%); min-width:58px; max-width:80px; padding:7px 9px; border-radius:13px; background:var(--bg-card); border:1.5px solid var(--rule-2); text-align:center; cursor:pointer; z-index:4; transition:border-color .15s,background .15s,transform .15s,box-shadow .15s,color .15s; -webkit-tap-highlight-color:transparent; }
.we-node .nl{ font-size:11.5px; font-weight:600; line-height:1.15; letter-spacing:-.01em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.we-node .nd{ display:block; font-family:var(--font-body); font-size:10.5px; color:var(--steel); margin-top:2px; }
.we-node.sel{ background:var(--halo-deep); border-color:var(--halo); color:#fff; transform:translate(-50%,-50%) scale(1.08); box-shadow:0 8px 20px rgba(20,78,184,.4); z-index:6; }
.we-node.sel .nd{ color:rgba(255,255,255,.85); }
.we-node.has{ background:var(--halo-soft); border-color:var(--halo); }
.we-node .plus{ position:absolute; top:-7px; right:-7px; width:19px; height:19px; border-radius:50%; background:var(--bg-card); border:1.5px solid var(--halo); color:var(--halo-deep); font-size:13px; font-weight:700; line-height:16px; text-align:center; }
.we-node .ncnt{ position:absolute; top:-9px; right:-9px; min-width:22px; height:22px; border-radius:11px; background:var(--halo); color:#fff; font-family:var(--font-body); font-size:11.5px; font-weight:700; line-height:22px; text-align:center; padding:0 4px; box-shadow:0 2px 7px rgba(20,78,184,.5); }

/* steps */
.we-steps{ display:flex; align-items:center; gap:8px; justify-content:center; padding:12px 0 4px; }
.we-snav{ width:34px; height:34px; flex:none; border-radius:50%; border:1.5px solid var(--rule-2); background:var(--bg-card); color:var(--ink-2); font-size:18px; line-height:1; cursor:pointer; display:grid; place-items:center; font-family:inherit; }
.we-snav:disabled{ opacity:.35; cursor:default; }
.we-sdots{ display:flex; gap:6px; align-items:center; overflow-x:auto; scrollbar-width:none; padding:2px; }
.we-sdots::-webkit-scrollbar{ display:none; }
.we-spill{ padding:6px 12px; border-radius:999px; font-size:12.5px; font-weight:600; cursor:pointer; background:transparent; border:1.5px solid var(--rule-2); color:var(--steel); white-space:nowrap; font-family:inherit; -webkit-tap-highlight-color:transparent; }
.we-spill.on{ background:var(--ink); border-color:var(--ink); color:#fff; }

/* per-service controls (wheel) */
.we-svcctl{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:8px 0 2px; }
.we-qty{ display:inline-flex; align-items:center; gap:2px; border:1.5px solid var(--rule-2); border-radius:999px; background:var(--bg-card); }
.we-qty button{ width:34px; height:34px; border:0; background:none; font-size:19px; color:var(--ink-2); cursor:pointer; border-radius:50%; font-family:inherit; }
.we-qty .qv{ min-width:34px; text-align:center; font-family:var(--font-body); font-size:14px; font-weight:600; }
.we-rm{ background:none; border:0; color:var(--steel); font-size:13px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:2px; font-family:inherit; }
.we-cart{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; max-width:380px; }
.we-cartchip{ display:inline-flex; align-items:center; gap:8px; padding:4px 5px 4px 12px; border-radius:999px; background:var(--halo-soft); }
.we-cartchip .cl{ font-size:12.5px; font-weight:600; color:var(--halo-deep); white-space:nowrap; }
.we-cstep{ display:inline-flex; align-items:center; background:#fff; border-radius:999px; }
.we-cstep button{ width:27px; height:27px; border:0; background:none; font-size:16px; color:var(--ink-2); cursor:pointer; border-radius:50%; font-family:inherit; }
.we-cstep .cv{ min-width:16px; text-align:center; font-family:var(--font-body); font-size:12.5px; font-weight:600; }
.we-cart-hint{ font-size:12.5px; color:var(--steel); margin:0; text-align:center; }

/* classic list (accordion) */
.we-list{ display:flex; flex-direction:column; gap:12px; }
.we-empty{ text-align:center; color:var(--steel); font-size:14px; padding:24px 0; }
.we-lcard{ border:1px solid var(--rule-2); border-radius:16px; background:var(--bg-card); overflow:hidden; }
.we-lhead{ display:flex; align-items:center; gap:10px; padding:13px 14px; background:var(--bg-card); border:0; width:100%; cursor:pointer; font-family:inherit; text-align:left; color:var(--ink); }
.we-lcard.open .we-lhead{ background:var(--paper); border-bottom:1px solid var(--rule); }
.we-lico{ width:30px; height:30px; border-radius:9px; background:var(--halo-soft); color:var(--halo-deep); display:grid; place-items:center; flex:none; }
.we-lico svg{ width:17px; height:17px; }
.we-lname{ flex:1; display:flex; align-items:center; gap:8px; font-size:15px; font-weight:700; letter-spacing:-.01em; }
.we-lcnt{ min-width:20px; height:20px; border-radius:10px; background:var(--halo-soft); color:var(--halo-deep); font-family:var(--font-body); font-size:11px; font-weight:700; line-height:20px; text-align:center; padding:0 5px; }
.we-lsub{ font-family:var(--font-body); font-size:14px; font-weight:600; }
.we-lchev{ width:18px; height:18px; color:var(--steel); transition:transform .2s; flex:none; }
.we-lcard.open .we-lchev{ transform:rotate(180deg); }
.we-lbody{ padding:12px 14px; display:flex; flex-direction:column; gap:13px; }
.we-lsizes{ display:flex; flex-direction:column; gap:7px; }
.we-lsize{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:5px 5px 5px 12px; border-radius:11px; border:1px solid var(--rule); }
.we-lsize.on{ border-color:var(--halo); background:var(--halo-soft); }
.we-lsz-l{ font-size:13.5px; font-weight:600; }
.we-lsz-d{ font-family:var(--font-body); font-size:11.5px; color:var(--steel); margin-left:8px; font-weight:500; }
.we-qty.sm button{ width:30px; height:30px; font-size:17px; }
.we-qty.sm .qv{ min-width:24px; font-size:13px; }
.we-lqty{ display:flex; align-items:center; justify-content:space-between; }
.we-lqty-k{ font-size:13.5px; font-weight:600; }
.we-lrow{ display:flex; flex-direction:column; gap:8px; }
.we-lrow-l{ font-size:12px; font-weight:700; color:var(--steel); text-transform:uppercase; letter-spacing:.02em; }
.we-lchoices{ display:flex; flex-wrap:wrap; gap:7px; }
.we-lchoice{ border:1.5px solid var(--rule-2); background:var(--bg-card); border-radius:999px; padding:7px 12px; font-family:inherit; font-size:13px; font-weight:600; color:var(--ink-2); cursor:pointer; display:inline-flex; align-items:center; gap:6px; -webkit-tap-highlight-color:transparent; }
.we-lchoice.on{ border-color:var(--halo); background:var(--halo-soft); color:var(--halo-deep); }
.we-lcd{ font-family:var(--font-body); font-size:11px; color:var(--steel); }
.we-lchoice.on .we-lcd{ color:var(--halo-deep); }
.we-ltoggle{ display:flex; align-items:center; gap:11px; cursor:pointer; }
.we-ltoggle input{ position:absolute; opacity:0; width:0; height:0; }
.we-lsw{ width:40px; height:23px; border-radius:999px; background:var(--rule-2); position:relative; transition:background .15s; flex:none; }
.we-lsw::after{ content:""; position:absolute; top:2.5px; left:2.5px; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .15s; box-shadow:0 1px 3px rgba(22,32,30,.25); }
.we-ltoggle input:checked + .we-lsw{ background:var(--halo); }
.we-ltoggle input:checked + .we-lsw::after{ transform:translateX(17px); }
.we-ltg-l{ font-size:13.5px; color:var(--ink-2); font-weight:500; }
.we-lremove{ align-self:flex-start; background:none; border:0; color:var(--steel); font-size:13px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:2px; padding:4px 0 0; font-family:inherit; }

/* actions */
.we-actions{ display:flex; gap:10px; align-items:stretch; margin-top:18px; }
.we-bd{ flex:0 0 auto; display:flex; flex-direction:column; justify-content:center; padding:0 14px; border-radius:14px; border:1.5px solid var(--rule-2); background:var(--paper); cursor:pointer; text-align:left; font-family:inherit; }
.we-bd .bl{ font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--steel); font-family:var(--font-body); }
.we-bd .bv{ font-family:var(--font-body); font-size:14px; font-weight:600; color:var(--ink); }
.we-book{ flex:1 1 auto; min-height:54px; border:0; border-radius:14px; cursor:pointer; background:var(--ink); color:#fff; font-family:inherit; font-size:16px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; gap:9px; letter-spacing:-.01em; box-shadow:0 6px 18px rgba(22,32,30,.22); }
.we-book svg{ width:18px; height:18px; }
.we-text{ display:block; width:100%; margin-top:10px; background:none; border:0; color:var(--halo-deep); font-family:inherit; font-size:13.5px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }

/* breakdown sheet (fixed modal) */
.we-scrim{ position:fixed; inset:0; background:rgba(22,32,30,.5); opacity:0; pointer-events:none; transition:opacity .2s; z-index:1200; }
.we-scrim.show{ opacity:1; pointer-events:auto; }
.we-sheet{ position:fixed; left:50%; bottom:0; transform:translate(-50%,102%); width:100%; max-width:460px; background:var(--bg-card); border-radius:22px 22px 0 0; padding:8px 20px calc(20px + env(safe-area-inset-bottom)); transition:transform .28s cubic-bezier(.16,1,.3,1); max-height:80vh; overflow-y:auto; z-index:1201; }
.we-sheet.show{ transform:translate(-50%,0); }
.we-grip{ width:40px; height:4px; border-radius:2px; background:var(--rule-2); margin:6px auto 12px; }
.we-sheet h3{ font-size:17px; font-weight:700; margin:0 0 2px; letter-spacing:-.01em; }
.we-stot{ font-family:var(--font-body); font-size:13px; color:var(--steel); margin:0 0 14px; }
.we-bsvc{ padding:12px 0; border-top:1px solid var(--rule); }
.we-bsvc:first-of-type{ border-top:0; }
.we-br{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.we-bnm{ font-size:14.5px; font-weight:600; }
.we-bamt{ font-family:var(--font-body); font-size:14px; font-weight:600; }
.we-bcfg{ font-size:12px; color:var(--steel); margin-top:3px; line-height:1.5; }
.we-bcfg.disc{ color:var(--good); }
.we-blines{ margin-top:6px; display:flex; flex-direction:column; gap:3px; }
.we-bline{ display:flex; justify-content:space-between; gap:10px; font-size:13px; color:var(--ink-2); }
.we-bline span:last-child{ font-family:var(--font-body); color:var(--steel); }
.we-btot{ display:flex; justify-content:space-between; align-items:baseline; margin-top:14px; padding-top:14px; border-top:2px solid var(--ink); }
.we-btot .n{ font-size:15px; font-weight:700; }
.we-btot .a{ font-family:var(--font-body); font-size:16px; font-weight:600; }

/* toast */
.we-toast{ position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); background:var(--ink); color:#fff; padding:12px 18px; border-radius:14px; font-size:14px; font-weight:600; opacity:0; pointer-events:none; transition:all .25s; z-index:1300; box-shadow:0 12px 30px rgba(22,32,30,.34); display:flex; align-items:center; gap:9px; max-width:88%; }
.we-toast.show{ opacity:1; transform:translate(-50%,0); }
.we-toast svg{ width:18px; height:18px; color:var(--good); flex:none; }

/* ---- Responsive strategy ----
   Desktop keeps the ORIGINAL two-column home estimator (chips + live
   quote card) - the same format the Business tab uses. The wheel is a
   mobile-only replacement. */
#weHome{ display:none; }

@media (max-width: 760px){
  #weHome{ display:block; }
  /* mobile: wheel replaces the legacy home chips (kept in DOM for legacy scripts) */
  #estimator [data-pane="home"] > .est-section-label,
  #estimator [data-pane="home"] > .est-services,
  #estimator [data-pane="home"] > .est-options{ display:none !important; }
  /* mobile home: single column; the wheel shows its own price so hide the card */
  .estimator.we-home-active{ grid-template-columns:1fr !important; display:block !important; }
  .estimator.we-home-active > .est-right{ display:none !important; }
  .estimator.we-home-active > .est-left{ width:100%; max-width:none; }
}

/* dark mode: cards keep their token surfaces */

    .trust-cards {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
      margin: 28px 0 0;
    }
    @media (max-width: 860px) { .trust-cards { grid-template-columns: 1fr; } }
    .trust-card {
      background: var(--paper-2); border: 1px solid var(--rule);
      border-radius: 20px; padding: 24px 22px;
      display: flex; flex-direction: column; gap: 10px;
      position: relative; overflow: hidden;
    }
    .trust-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 3px; border-radius: 20px 20px 0 0;
    }
    .trust-card-prebrf::before { background: linear-gradient(90deg, var(--halo-deep), var(--iri-c)); }
    .trust-card-checkin::before { background: linear-gradient(90deg, var(--iri-c), var(--accent)); }
    .trust-card-video::before { background: linear-gradient(90deg, var(--accent-2), var(--halo-deep)); }
    .trust-card-ic {
      width: 42px; height: 42px; border-radius: 12px;
      background: var(--paper); border: 1px solid var(--rule);
      display: flex; align-items: center; justify-content: center;
      color: var(--halo-deep); flex-shrink: 0;
    }
    .trust-card-label {
      font-family: var(--font-body); font-size: 14px;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--steel); margin: 0;
    }
    .trust-card-h {
      font-family: 'Inter Tight', sans-serif; font-weight: 700;
      font-size: 17px; letter-spacing: -.02em; color: var(--ink);
      margin: 0; line-height: 1.15;
    }
    .trust-card-p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
    .trust-card-tag {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(20,78,184,.08); border: 1px solid rgba(20,78,184,.18);
      color: var(--halo-deep); border-radius: 999px;
      padding: 4px 12px; font-size: 14px; font-weight: 600;
      width: fit-content; margin-top: 4px;
    }
    .trust-card-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--halo); }

    /* Video gallery */
    .video-gallery {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
      margin-top: 14px;
    }
    @media (max-width: 600px) { .video-gallery { grid-template-columns: 1fr 1fr; } }
    .video-thumb {
      aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
      background: var(--paper); border: 1px solid var(--rule);
      display: flex; align-items: center; justify-content: center;
      position: relative; cursor: pointer;
      transition: transform 140ms ease, box-shadow 140ms ease;
    }
    .video-thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(22,32,30,.18); }
    .video-thumb-bg {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--paper-2), var(--paper));
      display: flex; align-items: center; justify-content: center;
    }
    .video-play-btn {
      width: 36px; height: 36px; border-radius: 50%;
      background: var(--ink); color: var(--paper);
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 12px rgba(22,32,30,.25);
    }
    .video-thumb-label {
      position: absolute; bottom: 8px; left: 8px; right: 8px;
      font-size: 14.5px; font-weight: 600; color: var(--ink);
      background: var(--paper); border-radius: 6px; padding: 4px 8px;
      text-align: center; line-height: 1.3;
    }
    
  .pai-block {
    position: relative; overflow: hidden;
    background: var(--bg-inverted); color: var(--fg-inverted);
    border: 1px solid var(--rule); border-radius: 32px;
    padding: 72px 56px;
  }
  .pai-block::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(120% 90% at 88% 8%, rgba(20,78,184,.18), transparent 52%),
      radial-gradient(60% 60% at 0% 100%, rgba(20,78,184,.12), transparent 60%);
  }
  .pai-block > * { position: relative; }
  .pai-eyebrow { font-family: var(--font-body); font-size: 14.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--halo-2); margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
  .pai-eyebrow .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--halo); box-shadow: 0 0 0 0 rgba(20,78,184,.55); animation: livePulse 2s ease-in-out infinite; }
  .pai-h { font-family: 'Inter Tight', sans-serif; font-weight: 700; letter-spacing: -.03em; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.04; margin: 0 0 18px; color: #fff; text-wrap: balance; max-width: 18ch; }
  .pai-h .grad { background: linear-gradient(135deg, var(--iri-a) 0%, var(--halo-2) 50%, var(--iri-c) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .pai-lede { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 60ch; margin: 0 0 40px; }

  /* PROOF BANNER */
  .pai-proof {
    background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px; padding: 30px 32px; margin-bottom: 44px;
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center;
  }
  .pai-proof-eyebrow { font-family: var(--font-body); font-size: 14.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--iri-c); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
  .pai-proof-eyebrow .live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(20,78,184,.6); animation: livePulse 2s ease-in-out infinite; }
  .pai-proof-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -.025em; margin: 0 0 10px; color: #fff; }
  .pai-proof-p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
  .pai-specs { display: flex; flex-direction: column; gap: 10px; }
  .pai-spec { display: flex; align-items: center; gap: 12px; background: rgba(22,32,30,.4); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 12px 14px; }
  .pai-spec-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: linear-gradient(135deg, rgba(20,78,184,.22), rgba(20,78,184,.16)); display: flex; align-items: center; justify-content: center; color: var(--iri-c); }
  .pai-spec-name { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
  .pai-spec-role { font-size: 14.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
  .pai-proof-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; padding-top: 20px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.6); }
  .pai-proof-foot svg { color: var(--iri-c); flex-shrink: 0; }

  /* WHAT'S INCLUDED GRID */
  .pai-sub { font-family: var(--font-body); font-size: 14.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 18px; }
  .pai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; }
  .pai-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px; transition: border-color 160ms ease, background 160ms ease, transform 120ms ease; }
  .pai-card:hover { border-color: rgba(20,78,184,.55); background: rgba(255,255,255,.06); transform: translateY(-2px); }
  .pai-card-ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(20,78,184,.18), rgba(20,78,184,.13)); display: flex; align-items: center; justify-content: center; color: var(--iri-c); margin-bottom: 16px; }
  .pai-card-h { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 7px; color: #fff; }
  .pai-card-p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.66); margin: 0; }

  /* LEDGER (private vs cloud) */
  .pai-ledger-wrap { margin-bottom: 44px; }
  .pai-ledger { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
  .pai-lrow { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
  .pai-lrow + .pai-lrow { border-top: 1px solid rgba(255,255,255,.08); }
  .pai-lrow.head { background: rgba(255,255,255,.04); }
  .pai-lcell { padding: 14px 20px; font-size: 14.5px; }
  .pai-lcell.k { color: rgba(255,255,255,.62); font-size: 14px; }
  .pai-lcell.pai-col { color: #fff; font-weight: 500; display: flex; align-items: center; gap: 8px; }
  .pai-lcell.cloud-col { color: rgba(255,255,255,.5); border-left: 1px solid rgba(255,255,255,.06); }
  .pai-lrow.head .pai-lcell { font-family: var(--font-body); font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; padding-top: 16px; padding-bottom: 16px; }
  .pai-lrow.head .pai-col { color: var(--iri-c); }
  .pai-lrow.head .cloud-col { color: rgba(255,255,255,.45); }
  .pai-yes { color: var(--accent-on-inverted); }

  /* AUDIENCE + CTA */
  .pai-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.1); }
  .pai-aud-label { font-family: var(--font-body); font-size: 14.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; }
  .pai-chips { display: flex; flex-wrap: wrap; gap: 9px; }
  .pai-chip { font-size: 14px; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); padding: 8px 14px; border-radius: 999px; }
  .pai-cta-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 22px; padding: 28px 30px; }
  .pai-cta-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -.02em; margin: 0 0 8px; color: #fff; }
  .pai-cta-p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.68); margin: 0 0 20px; }
  .pai-cta-btn { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; padding: 13px 22px; border-radius: 999px; transition: transform 160ms ease, background 160ms ease; }
  .pai-cta-btn:hover { transform: translateY(-1px); background: var(--iri-c); }
  .pai-cta-btn .arrow { color: var(--halo-deep); font-size: 17px; line-height: 1; transition: transform 160ms ease; }
  .pai-cta-btn:hover .arrow { transform: translateX(2px); }
  /* Use cases grid */
  .pai-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 40px; }
  .pai-use-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 20px; transition: border-color 160ms ease; }
  .pai-use-card:hover { border-color: rgba(255,255,255,.2); }
  .pai-use-ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
  .pai-use-cat { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
  .pai-use-list { margin: 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
  .pai-use-list li { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.68); }

  /* Hardware lineup */
  .pai-hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
  .pai-hw-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 22px 20px; }
  .pai-hw-badge { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--iri-c); background: rgba(20,78,184,.12); border: 1px solid rgba(20,78,184,.2); display: inline-block; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
  .pai-hw-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: #fff; margin-bottom: 6px; }
  .pai-hw-models { font-family: var(--font-body); font-size: 14.5px; color: var(--iri-c); margin-bottom: 10px; line-height: 1.5; }
  .pai-hw-p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.65); margin: 0 0 12px; }
  .pai-hw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .pai-hw-tags span { font-size: 14.5px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 3px 9px; border-radius: 999px; }

  @media (max-width: 1100px) {
    .pai-use-grid { grid-template-columns: repeat(2, 1fr); }
    .pai-hw-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 760px) {
    .pai-use-grid { grid-template-columns: 1fr; }
    .pai-hw-grid { grid-template-columns: 1fr; }
  }

  /* GET STARTED layout */
  .pai-getstarted { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.1); }
  .pai-gs-left {}
  .pai-gs-right { display: flex; flex-direction: column; gap: 20px; }

  /* Journey steps */
  .pai-journey { display: flex; flex-direction: column; gap: 0; }
  .pai-jstep { display: flex; gap: 16px; padding-bottom: 24px; position: relative; }
  .pai-jstep:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 32px; bottom: 0; width: 1px; background: rgba(255,255,255,.12); }
  .pai-jdot { width: 28px; height: 28px; border-radius: 50%; background: rgba(20,78,184,.22); border: 1px solid rgba(20,78,184,.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pai-jdot span { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: var(--iri-c); }
  .pai-jh { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.015em; color: #fff; margin-bottom: 5px; }
  .pai-jp { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.62); }

  /* CTA card extras */
  .pai-cta-eyebrow { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-inverted); margin-bottom: 10px; }
  .pai-bring { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
  .pai-bring-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
  .pai-bring-list { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 7px; }
  .pai-bring-list li { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.68); }
  .pai-cta-foot { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.5); }

  /* FAQ */
  .pai-faq { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; overflow: hidden; }
  .pai-faq-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); padding: 14px 18px 10px; }
  .pai-faq-item { border-top: 1px solid rgba(255,255,255,.08); }
  .pai-faq-item summary { padding: 13px 18px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
  .pai-faq-item summary::-webkit-details-marker { display: none; }
  .pai-faq-item summary::after { content: '+'; font-size: 18px; color: rgba(255,255,255,.35); font-weight: 300; transition: transform 200ms ease; }
  .pai-faq-item[open] summary::after { transform: rotate(45deg); color: var(--iri-c); }
  .pai-faq-item summary:hover { color: #fff; }
  .pai-faq-item p { padding: 0 18px 16px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); margin: 0; }

  @media (max-width: 1000px) {
    .pai-getstarted { grid-template-columns: 1fr; }
  }

    @media (max-width: 1100px) {
    .pai-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px) {
    .pai-block { padding: 48px 24px; border-radius: 22px; }
    .pai-proof { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
    .pai-foot { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 760px) {
    .pai-grid { grid-template-columns: 1fr; }
    .pai-lrow { grid-template-columns: 1fr; }
    .pai-lrow .pai-lcell { padding: 9px 18px; }
    .pai-lrow .pai-lcell.k { padding-top: 14px; font-family: var(--font-body); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
    .pai-lcell.cloud-col { border-left: 0; }
    .pai-lcell.pai-col::before { content: 'Private AI - '; color: rgba(255,255,255,.4); font-weight: 400; }
    .pai-lcell.cloud-col::before { content: 'Cloud API - '; color: rgba(255,255,255,.3); }
    .pai-lrow.head { display: none; }
  }
@media (max-width: 760px) {
  #worldmodel-teaser > .shell > a > div { grid-template-columns: 1fr !important; padding: 40px 28px !important; }
  #worldmodel-teaser svg { width: 170px; height: 170px; }
}
.iq-callmodal { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(22,32,30,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 200ms ease; }
.iq-callmodal.is-open { display: flex; opacity: 1; }
.iq-callmodal-shell { position: relative; width: 100%; max-width: 420px; background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 30px 26px 24px; box-shadow: 0 40px 90px -30px rgba(22,32,30,.55); transform: translateY(12px) scale(.98); transition: transform 260ms cubic-bezier(.2,.8,.2,1); text-align: center; }
.iq-callmodal.is-open .iq-callmodal-shell { transform: none; }
.iq-callmodal-close { position: absolute; top: 14px; right: 14px; background: transparent; border: 1px solid var(--rule); width: 32px; height: 32px; border-radius: 8px; color: var(--steel); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.iq-callmodal-close:hover { background: var(--bg-card); color: var(--ink); }
.iq-call-eyebrow { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--halo-deep); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.iq-call-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(20,78,184,.18); animation: iqCallPulse 2s infinite; }
@keyframes iqCallPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.iq-call-h { font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -.03em; color: var(--ink); margin: 0 0 8px; }
.iq-call-p { font-size: 19px; line-height: 1.45; color: var(--ink-2); margin: 0 auto 22px; max-width: 34ch; }
.iq-call-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 999px; padding: 14px 18px; transition: background 160ms ease, transform 100ms ease; }
.iq-call-btn:hover { background: var(--halo-deep); }
.iq-call-btn:active { transform: translateY(1px); }
.iq-call-btn svg { flex-shrink: 0; }
.iq-call-btn .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.iq-call-btn .lbl .small { font-size: 14.5px; font-weight: 500; opacity: .7; font-family: var(--font-body); letter-spacing: .04em; }
.iq-call-btn .lbl .num { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.iq-call-hours { font-size: 19px; line-height: 1.4; color: var(--steel); margin-top: 12px; }
.iq-call-contact-row { display: flex; flex-direction: row; gap: 10px; }
.iq-text-btn { background: var(--bg-card) !important; color: var(--ink) !important; border: 1.5px solid var(--rule-2); }
.iq-text-btn:hover { background: var(--halo-soft) !important; border-color: var(--halo) !important; color: var(--halo-deep) !important; }
.iq-call-alt { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.iq-call-alt button { flex: 1; background: var(--bg-card); border: 1px solid var(--rule); border-radius: 11px; padding: 11px 8px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color 140ms ease, color 140ms ease; }
.iq-call-alt button:hover { border-color: var(--rule-2); color: var(--ink); }
@media (max-width: 480px) { .iq-callmodal-shell { max-width: none; } .iq-call-contact-row, .iq-call-alt { flex-direction: column; } }
.btn-assess {
  background: transparent;
  border-color: var(--rule-2);
  color: var(--ink-2);
  transition: border-color 160ms, color 160ms, background 160ms;
}
.btn-assess:hover { border-color: var(--halo); color: var(--halo-deep); background: rgba(20,78,184,.06); }

/* MODAL SHELL */
#pcqModal {
  position: fixed; inset: 0; z-index: 1600;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
#pcqModal.is-open { display: flex; }
.pcq-overlay {
  position: absolute; inset: 0;
  background: rgba(22,32,30,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: pcqFade 200ms ease;
}
@keyframes pcqFade { from { opacity:0; } to { opacity:1; } }
@keyframes pcqUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.pcq-shell {
  position: relative; z-index: 1; width: 100%; max-width: 660px;
  background: var(--paper); border-radius: 26px;
  box-shadow: 0 40px 120px -30px rgba(22,32,30,.6), 0 0 0 1px var(--rule);
  overflow: hidden; display: flex; flex-direction: column;
  max-height: 90vh; animation: pcqUp 240ms cubic-bezier(.2,.8,.2,1);
}
/* HEAD */
.pcq-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--paper-2); border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.pcq-brand { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.pcq-prog { flex: 1; height: 3px; background: var(--rule); border-radius: 99px; overflow: hidden; }
.pcq-prog-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--halo-deep), var(--iri-c)); transition: width 320ms ease; width: 0%; }
.pcq-step-lbl { font-family: var(--font-body); font-size: 14.5px; color: var(--steel); white-space: nowrap; }
.pcq-x {
  background: none; border: 1px solid var(--rule); width: 28px; height: 28px; border-radius: 8px;
  cursor: pointer; color: var(--steel); font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color 130ms, border-color 130ms; flex-shrink: 0;
}
.pcq-x:hover { color: var(--ink); border-color: var(--rule-2); }
/* BODY */
.pcq-body { flex: 1; overflow-y: auto; padding: 32px 32px 24px; }
@media (max-width: 580px) { .pcq-body { padding: 24px 20px 20px; } }
.pcq-eyebrow { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--halo-deep); margin: 0 0 10px; }
.pcq-q { font-family: 'Inter Tight',sans-serif; font-weight: 700; font-size: clamp(19px,3.2vw,25px); letter-spacing: -.025em; line-height: 1.12; color: var(--ink); margin: 0 0 24px; text-wrap: balance; }
/* PATH GRID */
.pcq-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
@media (max-width: 480px) { .pcq-paths { grid-template-columns: 1fr; } }
.pcq-pcard {
  background: var(--paper-2); border: 1.5px solid var(--rule);
  border-radius: 18px; padding: 20px 16px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color 150ms, background 150ms, transform 120ms;
  font-family: inherit;
}
.pcq-pcard:hover { border-color: var(--halo); background: rgba(20,78,184,.04); transform: translateY(-1px); }
.pcq-pcard:active { transform: translateY(0); }
.pcq-pic { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.pcq-ph { font-family: 'Inter Tight',sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: var(--ink); }
.pcq-pp { font-size: 14px; line-height: 1.45; color: var(--steel); margin: 0; }
/* OPTIONS */
.pcq-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.pcq-opt {
  background: var(--paper-2); border: 1.5px solid var(--rule);
  border-radius: 13px; padding: 14px 18px;
  text-align: left; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
  transition: border-color 150ms, background 150ms, color 150ms;
  min-height: 52px;
}
.pcq-opt:hover { border-color: var(--halo); color: var(--ink); background: rgba(20,78,184,.03); }
.pcq-opt.sel { border-color: var(--halo-deep); background: rgba(20,78,184,.08); color: var(--halo-deep); font-weight: 600; }
.pcq-opt.sel::after { content: '✓'; margin-left: auto; font-size: 14px; color: var(--halo-deep); }
/* NAV */
.pcq-nav { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.pcq-back { background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 9px 16px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--steel); cursor: pointer; transition: color 130ms, border-color 130ms; }
.pcq-back:hover { color: var(--ink); border-color: var(--rule-2); }
.pcq-next { background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 11px 22px; font-family: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 150ms, transform 130ms; }
.pcq-next:hover { background: var(--halo-deep); transform: translateY(-1px); }
.pcq-next:disabled { background: var(--rule-2); color: var(--steel); cursor: not-allowed; transform: none; }
.pcq-skip { background: none; border: 0; font-family: inherit; font-size: 14px; color: var(--steel-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.pcq-skip:hover { color: var(--steel); }
/* RESULT */
.pcq-result-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20,78,184,.1); border: 1px solid rgba(20,78,184,.2);
  color: var(--halo-deep); border-radius: 999px; padding: 5px 14px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-body); margin-bottom: 14px;
}
.pcq-result-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--halo); animation: livePulse 2s ease-in-out infinite; }
.pcq-result-h { font-family: 'Inter Tight',sans-serif; font-weight: 700; font-size: clamp(22px,3.5vw,28px); letter-spacing: -.03em; margin: 0 0 8px; color: var(--ink); }
.pcq-result-sub { font-size: 15px; color: var(--ink-2); margin: 0 0 26px; line-height: 1.55; }
.pcq-recs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pcq-rec {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 16px; padding: 16px 18px;
}
.pcq-rec-num { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--halo-deep), var(--iri-c)); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: #fff; flex-shrink: 0; }
.pcq-rec-h { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.pcq-rec-p { font-size: 14px; color: var(--steel); line-height: 1.5; margin: 0; }
.pcq-budget { background: linear-gradient(135deg, rgba(20,78,184,.08), rgba(20,78,184,.08)); border: 1px solid rgba(20,78,184,.2); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pcq-budget-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--halo-deep); margin-bottom: 4px; }
.pcq-budget-range { font-family: "Inter Tight",sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--ink); }
.pcq-budget-note { font-size: 14px; color: var(--steel); line-height: 1.5; max-width: 260px; }
.pcq-next-steps { border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 4px; }
.pcq-ns-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; text-align: center; }
.pcq-ns-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pcq-btn-primary { background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 12px 22px; font-family: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 150ms, transform 130ms; text-decoration: none; }
.pcq-btn-primary:hover { background: var(--halo-deep); transform: translateY(-1px); }
.pcq-btn-ghost { background: transparent; color: var(--ink-2); border: 1.5px solid var(--rule-2); border-radius: 999px; padding: 11px 20px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: border-color 140ms, color 140ms; text-decoration: none; }
.pcq-btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.pcq-btn-explore { background: transparent; color: var(--halo-deep); border: 1.5px solid rgba(20,78,184,.3); border-radius: 999px; padding: 10px 18px; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all 140ms; text-decoration: none; }
.pcq-btn-explore:hover { background: rgba(20,78,184,.07); }
/* What we heard */
.pcq-heard { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }
.pcq-heard-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.pcq-heard-list { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 5px; }
.pcq-heard-list li { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.pcq-blindspot { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.25); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.pcq-dontdo { background: rgba(161,43,43,.06); border: 1px solid rgba(161,43,43,.2); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.pcq-warn-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #d97706; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.pcq-warn-red { color: #dc2626; }
.pcq-warn-p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.pcq-timeline { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 10px; margin-bottom: 18px; }
.pcq-tl-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.pcq-tstep { display: flex; gap: 14px; padding-bottom: 16px; position: relative; }
.pcq-tstep:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 1px; background: var(--rule); }
.pcq-tstep-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 14px; font-weight: 700; }
.pcq-tstep-h { font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.pcq-tstep-p { font-size: 14px; color: var(--steel); line-height: 1.5; }
.pcq-building-spinner { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto; border: 3px solid var(--rule); border-top-color: var(--halo-deep); animation: pcqSpin .9s linear infinite; }
@keyframes pcqSpin { to { transform: rotate(360deg); } }
/* Phase blocks */
.pcq-phase-block { margin-bottom: 18px; }
.pcq-phase-1 .pcq-recs { margin-bottom: 0; }
.pcq-phase-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 12px; }
.pcq-phase-num { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--paper-2); color: var(--steel); }
.pcq-phase-num-1 { background: rgba(20,78,184,.12); color: var(--halo-deep); }
.pcq-phase-num-3 { background: rgba(20,78,184,.12); color: var(--accent); }
.pcq-phase-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.pcq-phase-list li { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.pcq-phase-p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.pcq-phase-3 { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; }
.pcq-rec-tag { font-family: var(--font-body); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--halo-deep); background: rgba(20,78,184,.1); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.pcq-commit-levels { margin-bottom: 4px; }
.pcq-commit-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; text-align: center; }
.pcq-commit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (max-width: 520px) { .pcq-commit-grid { grid-template-columns: 1fr; } }
.pcq-commit-card { border-radius: 16px; padding: 18px 14px; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; gap: 5px; transition: transform 130ms ease, box-shadow 130ms ease; border: 1.5px solid var(--rule); }
.pcq-commit-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px -8px rgba(22,32,30,.15); }
.pcq-commit-level { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.pcq-commit-action { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pcq-commit-note { font-size: 14px; color: var(--steel); margin-top: 2px; }
.pcq-commit-low { background: var(--paper-2); }
.pcq-commit-low .pcq-commit-level { color: var(--steel); }
.pcq-commit-mid { background: rgba(20,78,184,.06); border-color: rgba(20,78,184,.25); }
.pcq-commit-mid .pcq-commit-level { color: var(--halo-deep); }
.pcq-commit-mid .pcq-commit-action { color: var(--halo-deep); }
.pcq-commit-high { background: var(--ink); border-color: var(--ink); }
.pcq-commit-high .pcq-commit-level { color: rgba(255,255,255,.65); }
.pcq-commit-high .pcq-commit-action { color: #fff; }
.pcq-commit-high .pcq-commit-note { color: rgba(255,255,255,.5); }
.pcq-commit-high:hover { box-shadow: 0 8px 24px -8px rgba(22,32,30,.35); }
/* ROI insight vision */
.pcq-roi { display: flex; align-items: flex-start; gap: 10px; background: rgba(20,78,184,.07); border: 1px solid rgba(20,78,184,.2); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pcq-roi svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pcq-insight { background: rgba(20,78,184,.06); border: 1px solid rgba(20,78,184,.18); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.pcq-insight-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--halo-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.pcq-insight-p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; font-style: italic; }
.pcq-vision { background: linear-gradient(135deg, rgba(20,78,184,.08), rgba(20,78,184,.06)); border: 1px solid rgba(20,78,184,.2); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.pcq-vision-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcq-vision-p { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0; font-weight: 500; }
/* ===== CROSS-BROWSER SAFETY NET FOR GRADIENT TEXT =====
   Gradient headlines use background-clip:text + transparent text-fill.
   On engines that cannot clip a gradient to the glyph shapes (older
   Safari/Firefox, several in-app webviews), that combo renders the text
   FULLY TRANSPARENT = invisible (this is why the hero second line
   "running where you need it." failed to appear in some browsers).
   When the feature is unsupported, fall back to a solid, visible fill. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad,
  h1.hero-h .grad,
  .hero-v2 .hero-h .grad,
  .final-cta h2 .grad,
  .pai-h .grad,
  [data-theme="dark"] .hero-v2 .grad,
  .est-h em {
    -webkit-text-fill-color: currentColor !important;
    color: currentColor;
    background: none !important;
  }
}


/* v23 unified task catalog */
.aud-row {
  width: min(640px, 100%);
  min-height: 56px;
  display: block;
  margin: 0 auto 24px;
  padding: 0 46px 0 18px;
  border: 1.5px solid var(--rule-2);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.aud-row:focus-visible { outline: 3px solid var(--halo); outline-offset: 3px; }
@media (max-width:480px){ .aud-row { width: 100%; } }
.anchor-sentinel { display:block; position:relative; top:-124px; width:1px; height:1px; overflow:hidden; }
.service-group { margin-top: 30px; }
.service-group-title { font-family:'Inter Tight',sans-serif; font-size: clamp(1.35rem,2.2vw,1.8rem); line-height:1.15; margin: 0 0 14px; color: var(--ink); }
.service-group-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; }
.svc-group { border:0; padding:0; }
.svc-group > summary { min-height:56px; display:flex; align-items:center; cursor:pointer; list-style:none; }
.svc-group > summary::-webkit-details-marker { display:none; }
.svc-group > summary:after { content:'Hide'; margin-left:auto; font-size:14px; color:var(--steel); }
.svc-group:not([open]) > summary:after { content:'Show'; }
.svc-catalog { min-height: 100%; }
.svc-catalog::after { content: none; }
.svc-promise { font-size:19px; line-height:1.45; color:var(--ink-2); margin: 10px 0 6px; }
.svc-detail { font-size:17px; line-height:1.45; color:var(--steel); margin:0 0 12px; }
.svc-tag { align-self:flex-start; display:inline-flex; min-height:32px; align-items:center; padding:4px 10px; border-radius:999px; border:1px solid var(--rule); background:var(--paper-2); color:var(--ink-2); font-size:13px; font-weight:700; margin-top:10px; }
.svc-link { font-size:13px; margin-top:8px; position:relative; z-index:1; }
.est-start-actions { display:flex; gap:12px; flex-wrap:wrap; margin: 18px 0 20px; }
.est-start-actions .door-cta { flex:1 1 230px; text-align:center; justify-content:center; margin:0; }
.pai-mobile-fold > summary { display:none; min-height:56px; align-items:center; color:var(--paper); font-family:'Inter Tight',sans-serif; font-size:19px; font-weight:700; cursor:pointer; }
@media (max-width:1100px){ .service-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:768px){
  html, body { overflow-x: hidden; }
  .halo { left: 0 !important; right: 0 !important; width: auto !important; max-width: 100% !important; }
  #how-intelligent,
  #solutions,
  #book-appointment,
  #how,
  #private-ai-deployment,
  #team,
  #worldmodel-teaser {
    display: none !important;
  }
  .service-group-grid { grid-template-columns: 1fr; }
  .svc-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 19px !important;
    margin-top: 10px;
  }
  .sticky-phone-bar { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .sticky-phone-bar a.sph-call,
  .sticky-phone-bar .sph-assess {
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
  .est-mode-tab {
    min-height: 56px;
    font-size: 19px;
  }
  .we-text {
    min-height: 56px;
    font-size: 19px;
  }
  .concierge-overlay[aria-hidden="true"] {
    display: none !important;
  }
  .svc-group > summary { border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
  .pai-mobile-fold > summary { display:flex; }
}


/* === Concierge Overlay & Controls (J2) === */

/* (h) Desktop (min-width 769px) */
@media (min-width: 769px) {
  .concierge-overlay-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 420px;
    height: 80vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
  }
}

/* (a) Mobile (max-width 768px) */
@media (max-width: 768px) {
  .concierge-overlay-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
  }

  .concierge-overlay-topbar {
    height: 64px;
    flex-shrink: 0;
  }

  .concierge-overlay-panel .agent-stream {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .concierge-chips,
  .concierge-input-area {
    flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* (b) Chips */
.concierge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.concierge-chip {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--rule-2);
  background: #fff;
  font-size: 19px;
  font-weight: 600;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* (c) Input & Send Button */
.concierge-input-area input,
.concierge-input-area textarea {
  height: 56px;
  font-size: 19px;
}

.concierge-input-area button[type="submit"],
.concierge-send-btn {
  height: 56px;
  min-width: 96px;
  font-size: 19px;
}

/* (d) Notes & Hours */
.concierge-note {
  font-size: 19px;
}

.concierge-hours {
  font-size: 17px;
  color: var(--steel, #6B7280);
}

/* (e) FAB */
.concierge-fab {
  min-height: 56px;
}

@media (max-width: 768px) {
  .concierge-fab {
    bottom: 88px;
  }
}

/* (f) Focus Visible */
.concierge-chip:focus-visible,
.concierge-overlay-close:focus-visible,
.concierge-pill:focus-visible {
  outline: 3px solid #1A5FD6;
  outline-offset: 2px;
}

/* (g) Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .concierge-chip,
  .concierge-fab,
  .concierge-overlay-panel,
  .concierge-pill {
    transition: none !important;
    animation: none !important;
  }
}


/* v24 fix: removed unscoped /* v24 fix: removed unscoped sticky-bar display rule */ - it exposed the phone-only bar on desktop and covered #themeToggle */

.sticky-phone-bar a.sph-call,
.sticky-phone-bar a.sph-chat,
.sticky-phone-bar .sph-assess {
  flex: 1 1 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
}

.sticky-phone-bar a.sph-chat {
  border: 1px solid var(--halo-border, rgba(255,255,255,.2));
  background: var(--halo-surface, rgba(255,255,255,.08));
  color: var(--halo-text, #fff);
}

.sticky-phone-bar a.sph-chat:focus-visible {
  outline: 3px solid #1A5FD6;
  outline-offset: 2px;
}

.sticky-phone-bar .sph-dismiss {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}


@media (max-width: 768px) {
  .hero-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .hero-services-grid > * {
    width: auto;
    min-width: 0;
  }

  .hero-services-grid .ihs-card-title,
  .hero-services-grid .ihs-card-price {
    font-size: 17px;
  }
}


body.iq-chat-open .sticky-phone-bar {
  display: none;
}

body.iq-chat-open .concierge-fab {
  display: none;
}

.concierge-overlay.is-open {
  z-index: 10000;
}

@media (max-width: 768px) {
  .concierge-overlay-topbar {
    position: relative;
    padding-right: 72px;
  }

  .concierge-overlay-close {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 56px;
    height: 56px;
    font-size: 28px;
    line-height: 1;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--rule-2);
    color: inherit;
    z-index: 2;
  }

  .concierge-overlay-panel {
    display: flex;
    flex-direction: column;
  }

  .concierge-overlay-panel .agent-stream,
  .concierge-overlay-panel #agentStream {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  .concierge-overlay-panel .concierge-chips,
  .concierge-overlay-panel .concierge-input-block {
    flex: 0 0 auto;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}


@media (max-width: 768px) {
  .concierge-overlay-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .concierge-overlay-panel > .agent-module {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  #agentStream {
    flex: 1 1 auto;
    min-height: 160px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .agent-head,
  #agentQuickRow,
  .concierge-chips,
  #agentInput {
    flex: 0 0 auto;
  }

  .concierge-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .concierge-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    max-height: 56px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    padding: 0 12px;
    min-height: 56px;
  }

  form#agentInput {
    display: flex;
    gap: 8px;
    align-items: flex-end;
  }

  #agentBox {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    max-height: 56px;
    resize: none;
    font-size: 19px;
    line-height: 1.3;
    padding: 16px 14px;
    overflow-y: auto;
  }

  #agentSend {
    flex: 0 0 auto;
    min-width: 96px;
    height: 56px;
    border-radius: 14px;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .concierge-overlay-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .concierge-overlay-title {
    flex: 1 1 auto;
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .concierge-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .concierge-pill-call {
    height: 44px;
    padding: 0 14px;
    font-size: 17px;
    white-space: nowrap;
    width: auto;
  }

  .concierge-note {
    font-size: 17px;
    margin: 8px 16px 0;
  }

  .concierge-hours {
    font-size: 15px;
    margin: 2px 16px 8px;
  }

  .agent-module > .agent-head {
    display: none;
  }
}


@media (max-width: 768px) {
  #conciergeOverlay .agent-quickrow {
    display: none;
  }
  #conciergeOverlay .agent-stream {
    flex: 1 1 auto;
    min-height: 220px;
    overflow-y: auto;
  }
  #conciergeOverlay .concierge-chips {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 16px 8px;
  }
  #conciergeOverlay .concierge-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    min-height: 56px;
    max-height: 56px;
    font-size: 17px;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #conciergeOverlay .agent-input {
    flex: 0 0 auto;
  }
  #conciergeOverlay #agentBox {
    height: 56px;
    max-height: 56px;
    font-size: 19px;
  }
  #conciergeOverlay #agentSend {
    flex: 0 0 auto;
    min-width: 96px;
    width: auto;
    height: 56px;
    min-height: 56px;
    border-radius: 14px;
    font-size: 19px;
    padding: 0 18px;
  }
  #conciergeOverlay .agent-foot {
    flex: 0 0 auto;
    font-size: 15px;
  }
  #conciergeOverlay .concierge-pill-call {
    width: auto;
    max-width: 60vw;
    height: 44px;
  }
}


/* Repair: sticky phone bar pinning and three-column layout */
.sticky-phone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 1100;
}

.sticky-phone-bar .sph-call,
.sticky-phone-bar .sph-chat,
.sticky-phone-bar .sph-assess {
  flex: 1 1 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
}

.sticky-phone-bar .sph-dismiss {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.sticky-phone-bar .sph-chat {
  border: 1px solid var(--halo-border, rgba(255,255,255,.2));
  background: var(--halo-bg, rgba(255,255,255,.08));
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.sticky-phone-bar .sph-chat:focus-visible {
  outline: 2px solid var(--halo-focus, #fff);
  outline-offset: 2px;
}


@media (max-width: 768px) {
  #conciergeOverlay .concierge-chip {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 16px;
    line-height: 1.15;
    padding: 8px 10px;
    min-height: 56px;
    height: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  #conciergeOverlay .concierge-overlay-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 17px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.15;
  }

  #conciergeOverlay .concierge-pill-call {
    display: none;
  }

  #conciergeOverlay .agent-photo-input,
  #conciergeOverlay #agentPhotoInput {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  #conciergeOverlay #agentBox {
    font-size: 18px;
    padding: 14px 12px;
    height: 56px;
    max-height: 56px;
  }
}


/* Hide native file input at all widths (accessible off-screen) */
#conciergeOverlay .agent-photo-input,
#conciergeOverlay #agentPhotoInput {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


@media (min-width: 769px) {
  .sticky-phone-bar {
    display: none;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .sticky-phone-bar {
    display: flex;
    visibility: visible;
    pointer-events: auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 1100;
  }

  body {
    padding-bottom: 88px;
  }
}


/* Panel Ruling 6 — C2, C6, C10, C11 */

/* C6: Floors — base typography */
body {
  font-size: 17px;
  line-height: 1.5;
}

.task-label {
  display: block;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 6px;
}

#siteFooter a {
  font-size: 16px;
  line-height: 1.5;
  padding: 6px 0;
  display: inline-block;
}

.amock-done h3 {
  font-size: 24px;
}

.amock-done p {
  font-size: 17px;
  line-height: 1.5;
}

.amock-done .xb-cal,
.amock-done .xb-ref-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

/* C2: Mobile dock */
@media (max-width: 767px) {
  body {
    padding-bottom: 120px;
  }

  .sticky-phone-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    display: flex !important;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(22,32,30, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    z-index: 1200;
  }

  .sticky-phone-bar > a,
  .sticky-phone-bar > button {
    flex: 1 1 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 600 17px/1 'Inter Tight', Inter, sans-serif;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border: 0;
  }

  .sticky-phone-bar .sph-assess {
    background: #fff;
    color: var(--ink);
  }

  .concierge-fab,
  .float-call {
    display: none !important;
  }

  .sticky-estimate {
    bottom: 72px !important;
    height: 44px;
    min-height: 44px;
    font-size: 15px;
  }

  .concierge-hours,
  .concierge-note {
    font-size: 14px;
    color: var(--steel);
  }
}

/* C11: Tablet dock */
@media (min-width: 768px) and (max-width: 1023px) {
  .sticky-phone-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    display: flex !important;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(22,32,30, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    z-index: 1200;
  }

  .sticky-phone-bar > a,
  .sticky-phone-bar > button {
    flex: 1 1 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 600 17px/1 'Inter Tight', Inter, sans-serif;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border: 0;
  }

  .sticky-phone-bar .sph-assess {
    background: #fff;
    color: var(--ink);
  }

  .concierge-fab {
    display: none !important;
  }
}

/* C11: Desktop header */
@media (min-width: 1024px) {
  body {
    font-size: 16px;
  }

  .nav-plain {
    font: 500 16px/1 Inter, sans-serif;
    color: inherit;
    text-decoration: none;
    padding: 8px 10px;
  }

  .nav-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 16px/1 'Inter Tight', Inter, sans-serif;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 10px;
    min-height: 44px;
  }

  .nav-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 600 16px/1 'Inter Tight', Inter, sans-serif;
    text-decoration: none;
  }
}

@media (max-width: 1023px) {
  .nav-call,
  .nav-book {
    display: none;
  }
}

/* C10: FAB on >=768px */
@media (min-width: 768px) {
  .concierge-fab {
    height: 56px;
    min-height: 56px;
    right: 24px;
    bottom: 24px;
    padding: 0 18px;
    border-radius: 999px;
    width: auto;
  }

  .concierge-fab .fab-label {
    font: 600 17px/1 'Inter Tight', Inter, sans-serif;
  }
}

/* v25 hotfix (2026-09-15 02:50 UTC, iPhone Safari): the estimate strip cannot fit the 44px lane above the dock - hide it on phones and tablets; the dock's "Book a visit" carries the action */
@media (max-width: 1023px) {
  .sticky-estimate, #stickyEst { display: none !important; }
  .sticky-phone-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); height: auto; min-height: 72px; }
}

/* v25 hotfix 2 (2026-09-15 03:00 UTC, iPhone): the sticky top index and the in-flow index stack on top of each other mid-page on phones - keep one; opaque dock so hero text does not ghost through */
@media (max-width: 767px) {
  .section-nav:not(.section-nav-top) { display: none !important; }
  .sticky-phone-bar { background: var(--ink); backdrop-filter: none; }
}

/* v25 hotfix 3 (2026-09-15 03:20 UTC, dark mode on iPhone): visible select text, wordmark and dock pills in dark mode */






/* v25 p6-collapse: collapsed-section affordance on phones */
@media (max-width: 767px) {
  .iq-collapse-h { position: relative; padding-right: 40px; cursor: pointer; min-height: 56px; display: flex; align-items: center; }
  .iq-collapse-h::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  .iq-collapse-h[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }
  .iq-collapse { padding-bottom: 24px !important; }
  .iq-collapse-body[hidden], .service-group-grid[hidden] { display: none !important; }
  details.svc-group > summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; }
}

/* v26 hotfix 4: the desktop sticky estimate pill (bottom-center) covered the footer's last row (theme toggle) - give the page clearance */
@media (min-width: 1024px) { body { padding-bottom: 104px; } }

/* v26 hotfix 5 (owner 2026-09-15: "I can't remove the TV mounting selection" on the phone estimator): every added rail chip gets a clear x */
.we-chip.has-x { position: relative; padding-right: 44px; }
.we-chip .we-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }

/* ---- tokens ---- */
/* self-hosted fonts (replaces Google Fonts @import) */
/* infrastruqture.com design tokens v1 (2026-10-24, "Inspection tag" look)
   Append AFTER the existing CSS (post 2172) as an override layer.
   Legacy names (--paper, --paper-2, --rule, --rule-2, --ink, --ink-2, --steel, --steel-2,
   --halo*, --bg-card, --bg-inverted, --fg-inverted) are re-pointed so existing rules
   pick up the new values; the --iri-* gradient tokens are neutralised.
   Every text/background pair listed in final_design.md section A passes WCAG AA. */

:root {
  color-scheme: light;

  /* surfaces */
  --paper: #FAF8F3;          /* page */
  --paper-2: #F1EEE6;        /* panel / chip bg */
  --card: #FFFFFF;           /* cards, inputs */
  --rule: #DED9CE;           /* hairlines (decorative) */
  --rule-2: #C8C1B3;         /* dividers (decorative) */
  --border-ui: #7E8985;      /* input/control borders, 3.41:1 on paper (WCAG 1.4.11) */
  --inverted: #16201E;       /* final CTA band, estimator readout */

  /* text */
  --ink: #16201E;            /* 15.71:1 on paper */
  --ink-2: #2B3733;          /* 11.66:1 */
  --steel: #51605B;          /* secondary text: 6.23:1 on paper, 5.71:1 on paper-2 */
  --fg-inverted: #FAF8F3;    /* text on --inverted, 15.71:1 */
  --fg-inverted-2: #C9D1CD;  /* secondary text on --inverted, 10.71:1 */

  /* accent: Q-blue, the logo Q's hue (owner directive 2026-10-25); the Q gradient is unchanged */
  --accent: #144EB8;         /* Q-blue, hue 219: 7.47:1 with white, 7.04:1 on paper */
  --accent-hover: #11429C;   /* 9.20:1 with white */
  --accent-soft: #E3ECFC;    
  --accent-on-inverted: #8FB6FF; /* 8.18:1 on --inverted */
  --on-accent: #FFFFFF;
  --link: #144EB8;

  /* status */
  --caution: #7A4F00;        /* 6.35:1 on --caution-soft, 6.72:1 on paper */
  --caution-soft: #FBF1DC;
  --danger: #A12B2B;         /* 6.11:1 on --danger-soft, 6.83:1 on paper */
  --danger-soft: #FBE7E7;
  --focus: #1A5FD6;          /* 5.42:1 on paper; ring only, never body text */

  /* legacy aliases (keep old selectors alive, kill glows) */
  --bg-card: var(--card);
  --bg-inverted: var(--inverted);
  --steel-2: var(--steel);
  --halo: var(--accent);
  --halo-2: var(--accent);
  --halo-deep: var(--accent-hover);
  --halo-soft: var(--accent-soft);
  --iri-a: transparent; --iri-b: transparent; --iri-c: transparent; --iri-d: transparent;

  /* type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, Arial, sans-serif;
  --fs-eyebrow: 0.8125rem;   /* 13px, uppercase, letter-spacing .08em */
  --fs-sm: 0.875rem;         /* 14 */
  --fs-base: 1rem;           /* 16 */
  --fs-md: 1.125rem;         /* 18 */
  --fs-lg: 1.25rem;          /* 20 */
  --fs-h3: 1.5rem;           /* 24 */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem);   /* 28 -> 38 */
  --fs-h1: 1.75rem;                                    /* 28 phone; 44 from 900px (media below) */
  --lh-display: 1.1;
  --lh-body: 1.55;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;
  --tnum: "tnum" 1, "lnum" 1;      /* prices: font-feature-settings: var(--tnum) */

  /* spacing (4-pt) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section-y: var(--sp-8);          /* 48px below 720px via media query */
  --container: 1120px;
  --gutter: 16px;
  --header-h: 56px;             /* 64px from 900px */
  --tile-h: 96px;
  --bar-h: 64px;                /* sticky phone bar */
  --bar-btn-h: 48px;
  --tap-min: 44px;

  /* shape */
  --r-control: 6px;
  --r-card: 10px;
  --r-pill: 999px;

  /* elevation */
  --e0: 0 0 0 1px var(--rule);
  --e1: 0 1px 2px rgba(22, 32, 30, 0.06), 0 0 0 1px var(--rule);
  --e2: 0 12px 32px rgba(22, 32, 30, 0.18);
  --ring: 0 0 0 2px var(--paper), 0 0 0 4px var(--focus);

  /* motion */
  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (max-width: 719px) {
  :root { --section-y: var(--sp-7); }
}
@media (min-width: 900px) {
  :root { --fs-h1: 2.75rem; --header-h: 64px; }
}

/* Dark mode: system preference unless the page toggle forces light */



/* base bindings */
html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body);
       font-size: var(--fs-base); line-height: var(--lh-body); }
h1, h2, h3, .display { font-family: var(--font-display); line-height: var(--lh-display);
       font-weight: var(--fw-semibold); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
:focus-visible { outline: none; box-shadow: var(--ring); }
.price, .chip-price, [data-price] { font-feature-settings: var(--tnum); }

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- shell ---- */

@media (max-width: 899px) { body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)) !important; } }
body a.iq-skip { position: absolute !important; top: -9999px; left: -9999px; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body a.iq-skip:focus { position: fixed !important; top: 8px; left: 8px; z-index: 2000; width: auto; height: auto; padding: 12px 16px; clip: auto; overflow: visible; background: var(--accent); color: var(--on-accent); font: 600 15px var(--font-body); border-radius: var(--r-control); text-decoration: none; outline: 2px solid var(--focus); outline-offset: 2px; }
body header.iq-header { position: sticky !important; top: 0 !important; z-index: 1000 !important; height: var(--header-h) !important; background: var(--paper); border-bottom: 1px solid var(--rule); display: block !important; }
body .iq-header-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: flex !important; align-items: center; gap: 16px; height: 100% !important; }
body a.iq-wordmark { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap-min); flex-shrink: 0; }
body a.iq-wordmark .iq-q { color: var(--accent); }
body .iq-header nav.iq-nav { display: none !important; margin-left: auto; align-items: center; gap: 24px; }
body .iq-header nav.iq-nav a { color: var(--ink); font: 500 15px var(--font-body); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 4px; }
body a.iq-phone-link { display: none !important; color: var(--ink); font: 600 15px var(--font-body); text-decoration: none; min-height: var(--tap-min); align-items: center; padding: 0 4px; }
body a.iq-book-btn { display: none !important; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-control); font: 600 15px var(--font-body); text-decoration: none; text-align: center; transition: background-color var(--dur); }
body a.iq-book-btn:hover { background: var(--accent-hover); }
body a.iq-book-btn:focus-visible, body .iq-call-icon:focus-visible, body button.iq-menu-btn:focus-visible, body .iq-menu-close:focus-visible, body .iq-wordmark:focus-visible, body .iq-header nav.iq-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body .iq-call-icon { width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; color: var(--ink); margin-left: auto; flex-shrink: 0; }
body button.iq-menu-btn { width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; background: transparent !important; border: none !important; color: var(--ink); cursor: pointer; padding: 0; flex-shrink: 0; border-radius: var(--r-control); }
@media (min-width: 900px) {
  body .iq-header nav.iq-nav { display: flex !important; }
  body a.iq-phone-link, body a.iq-book-btn { display: inline-flex !important; }
  body .iq-call-icon, body button.iq-menu-btn { display: none !important; }
}
body div.iq-menu-sheet { position: fixed !important; inset: 0 !important; z-index: 1300 !important; background: var(--paper); padding: 16px; overflow: auto; display: flex !important; flex-direction: column; gap: 8px; }
body div.iq-menu-sheet[hidden] { display: none !important; }
body .iq-menu-close { width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; align-self: flex-end; background: transparent !important; border: none !important; color: var(--ink); cursor: pointer; padding: 0; border-radius: var(--r-control); }
body div.iq-menu-sheet nav a { display: block !important; padding: 14px 0; font: 600 20px var(--font-display); color: var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; }
body div.iq-menu-sheet a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body div.iq-menu-sheet .iq-book-btn-block { display: flex !important; min-height: 52px; margin-top: 16px; }
body div.iq-menu-sheet a.iq-menu-tel { color: var(--ink); font: 600 18px var(--font-body); padding: 12px 0; text-decoration: none; }
body .iq-menu-hours { color: var(--steel); font: 400 14px var(--font-body); margin: 0; }
@media (min-width: 900px) { body div.iq-menu-sheet { display: none !important; } }
body footer.iq-footer { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--rule); padding: 48px 0 32px; }
@media (max-width: 899px) { body footer.iq-footer { padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom)) !important; } }
body footer.iq-footer .iq-footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
body .iq-foot-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
body .iq-foot-h { font: 600 13px var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin: 0 0 12px; }
body footer.iq-footer ul { list-style: none; margin: 0; padding: 0; }
body footer.iq-footer ul li a { color: var(--ink); font: 400 15px var(--font-body); min-height: 32px; display: block !important; padding: 6px 0; text-decoration: none; }
body footer.iq-footer ul li a:hover { text-decoration: underline; }
body footer.iq-footer a:focus-visible, body .iq-theme-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body .iq-foot-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex !important; flex-direction: column; gap: 12px; }
body .iq-foot-bottom p { color: var(--steel); font: 400 14px var(--font-body); margin: 0; }
body .iq-nap a { color: inherit; }
body .iq-theme-toggle { display: inline-flex !important; align-items: center; align-self: flex-start; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--card); color: var(--ink); border: 1px solid var(--border-ui); border-radius: var(--r-control); cursor: pointer; font: 500 14px var(--font-body); }
body .iq-theme-toggle .icon-moon { display: none; }



@media (min-width: 720px) {
  body .iq-foot-grid { grid-template-columns: repeat(4, 1fr) !important; }
  body .iq-foot-bottom { flex-direction: row !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
}
body #stickyPhoneBar { display: none !important; }
@media (max-width: 899px) {
  body #stickyPhoneBar { display: flex !important; position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 1100 !important; gap: 8px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)) !important; background: var(--card); border-top: 1px solid var(--rule); box-shadow: none !important; align-items: stretch; }
  body #stickyPhoneBar a.sph-call, body #stickyPhoneBar button.sph-chat, body #stickyPhoneBar button.sph-assess { flex: 1 1 0; min-width: 0; min-height: var(--bar-btn-h) !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; font: 600 14px var(--font-body); white-space: nowrap; padding: 0 8px !important; border-radius: var(--r-control) !important; border: 1px solid var(--border-ui) !important; background: var(--card) !important; color: var(--ink) !important; text-decoration: none !important; box-shadow: none !important; cursor: pointer; }
  body #stickyPhoneBar button.sph-assess { background: var(--accent) !important; color: var(--on-accent) !important; border-color: var(--accent) !important; }
  body #stickyPhoneBar button.sph-assess:hover { background: var(--accent-hover) !important; }
  body #stickyPhoneBar svg { width: 18px; height: 18px; flex-shrink: 0; }
  body #stickyPhoneBar span { line-height: 1.1; white-space: nowrap; }
  body #stickyPhoneBar > *:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  body:has(.iq-header) .concierge-fab, body:has(.iq-header) .sticky-estimate, body:has(.iq-header) .sph-dismiss { display: none !important; }
}
body:has(.iq-header) nav#nav, body:has(.iq-header) nav.nav, body:has(.iq-header) .nav-burger { display: none !important; } /* legacy header hidden only where the new header exists */
@media (min-width: 900px) { body #stickyPhoneBar { display: none !important; } }
body:has(#ameliaModal.is-open) #stickyPhoneBar, body.iq-chat-open #stickyPhoneBar, body.iq-menu-open #stickyPhoneBar { display: none !important; }

/* ---- booking ---- */

.amock-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.amock-slot { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 12px;
  border-radius: var(--r-control); border: 1px solid var(--border-ui); background: var(--card); color: var(--ink); font-size: 14px; cursor: pointer; }
.amock-slot:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.amock-slot.is-selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.amock-slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: none; }
.iq-zip { display: flex; flex-direction: column; gap: 6px; }
.iq-zip label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.iq-zip input { height: 44px; width: 9em; padding: 0 12px; border: 1px solid var(--border-ui); border-radius: var(--r-control); background: var(--card); color: var(--ink); font-size: 16px; font-family: var(--font-body); }
.iq-zip input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.iq-zip-msg { color: var(--danger); font-size: 14px; min-height: 0; margin: 4px 0 0; }
.iq-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }
.iq-day { flex: 0 0 auto; min-width: 56px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid var(--rule-2); border-radius: var(--r-control); background: var(--card); color: var(--ink); font-family: var(--font-body); cursor: pointer; scroll-snap-align: start; }
.iq-day:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.iq-day .dow { font-size: 12px; text-transform: uppercase; color: var(--steel); }
.iq-day .num { font-size: 18px; font-weight: 600; }
.iq-day.is-selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.iq-day.is-selected .dow { color: var(--on-accent); }
.iq-times { display: flex; flex-direction: column; gap: 8px; }
.iq-note { color: var(--steel); font-size: 14px; }
body.iq-sheet-open #stickyPhoneBar { display: none !important; }
body.iq-sheet-open #conciergeFab { display: none !important; }
@media (max-width: 640px) {
  .amelia-modal { align-items: flex-end; padding: 0; }
  .amelia-modal-shell { max-width: none; width: 100%; height: auto; max-height: 92dvh; border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform 220ms ease-out; }
  .amelia-modal.is-open .amelia-modal-shell { transform: translateY(0); }
  .amelia-modal-body { position: static; overflow: hidden; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .amock { position: static; inset: auto; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: calc(92dvh - 56px); }
  .amock-side { display: none; }
  .amock-body { display: flex; flex: 1 1 auto; min-height: 0; }
  .amock-main { padding: 16px; flex: 1 1 auto; min-height: 0; overflow: auto; }
  .amock-stepper { padding: 8px 12px; gap: 4px; font-size: 12px; }
  .amock-step { padding: 4px 6px; font-size: 12px; }
  .amock-foot { position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); gap: 8px; }
  .amock-foot .progress { font-size: 13px; }
  .amock-btn { min-height: 44px; }
  .amelia-modal-head { position: relative; }
  .amelia-modal-head::before { content: ""; position: absolute; top: 6px; left: 50%; margin-left: -18px; width: 36px; height: 4px; border-radius: 2px; background: var(--rule-2); }
  .amelia-modal-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .amelia-modal-shell { transition: none; } }

/* ---- hero-menu.html ---- */

    .iq-hero { box-sizing: border-box; background: var(--paper); padding: 16px 16px 24px; }
    .iq-hero *, .iq-hero *::before, .iq-hero *::after { box-sizing: border-box; }
    .iq-hero-wrap { max-width: var(--container); margin: 0 auto; }
    .iq-eyebrow { margin: 0 0 6px; font-family: var(--font-body); font-size: 13px; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
    #iqHeroH1 { margin: 0 0 8px; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--ink); }
    .iq-hero .iq-sub { margin: 0; max-width: 34em; font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
    .iq-menu { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .iq-tile { display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; min-height: 88px; padding: 12px 14px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r-card); color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
    .iq-tile:hover { border-color: var(--accent); }
    .iq-tile:focus-visible { outline: none; box-shadow: var(--ring); }
    .iq-ico { width: 24px; height: 24px; color: var(--accent); }
    .iq-t-name { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); }
    .iq-t-price { font-family: var(--font-body); font-size: 15px; line-height: 1.2; color: var(--ink-2); }
    .iq-t-price.price { font-weight: 600; color: var(--accent); }
    .iq-tile-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; min-height: 56px; background: var(--accent-soft); }
    .iq-tile-wide .iq-t-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .iq-tile-wide .iq-t-name { font-size: 14px; }
    .iq-tile-wide .iq-t-price { font-size: 13px; }
    .iq-tile-wide .iq-ico { margin-left: auto; flex: 0 0 auto; width: 20px; height: 20px; }
    @media (min-width: 900px) {
      .iq-hero { padding: 48px 24px; }
      .iq-hero-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
      #iqHeroH1 { font-size: 44px; }
      .iq-hero .iq-sub { font-size: 17px; }
      .iq-menu { margin-top: 0; }
    }

/* ---- trust-strip.html ---- */

section.iq-trust{background:var(--paper-2);border-block:1px solid var(--rule);font-family:var(--font-body)}
.iq-trust ul{list-style:none;margin:0 auto;padding:var(--sp-4) var(--gutter);max-width:var(--container);display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-3) var(--sp-4)}
.iq-trust li{display:flex;gap:var(--sp-2);align-items:flex-start;color:var(--ink);font-size:var(--fs-sm);font-weight:var(--fw-semibold);line-height:1.35}
.iq-trust svg{flex:none;width:20px;height:20px;margin-top:1px;color:var(--accent)}
@media(min-width:900px){.iq-trust ul{grid-template-columns:repeat(4,1fr);padding-block:var(--sp-5)}.iq-trust li{font-size:var(--fs-base)}}

/* ---- how-a-job-runs.html ---- */

.iq-how{background:var(--paper);padding:var(--section-y) var(--gutter);font-family:var(--font-body);color:var(--ink)}
.iq-how__in{max-width:var(--container);margin:0 auto}
.iq-how h2{font-family:var(--font-display);font-size:var(--fs-h2);line-height:var(--lh-display);font-weight:var(--fw-bold);margin:0 0 var(--sp-5)}
.iq-how ol{list-style:none;margin:0;padding:0;display:grid;gap:var(--sp-3);counter-reset:s}
.iq-how li{counter-increment:s;background:var(--card);border-radius:var(--r-card);box-shadow:var(--e1);padding:var(--sp-4) var(--sp-4) var(--sp-4) 60px;position:relative}
.iq-how li::before{content:counter(s);position:absolute;left:var(--sp-4);top:var(--sp-4);width:32px;height:32px;border-radius:var(--r-pill);background:var(--accent);color:var(--on-accent);font:var(--fw-bold) var(--fs-sm)/32px var(--font-display);text-align:center}
.iq-how h3{font-family:var(--font-display);font-size:var(--fs-md);margin:0 0 var(--sp-1);font-weight:var(--fw-semibold)}
.iq-how p{margin:0;color:var(--steel);font-size:var(--fs-base);line-height:var(--lh-body)}
@media(min-width:900px){.iq-how ol{grid-template-columns:repeat(4,1fr);gap:var(--sp-4)}.iq-how li{padding:60px var(--sp-4) var(--sp-4)}.iq-how li::before{top:var(--sp-4)}}



.iq-meet{background:var(--paper-2);padding:var(--section-y) var(--gutter);font-family:var(--font-body);color:var(--ink)}
.iq-meet__in{max-width:var(--container);margin:0 auto;display:grid;gap:var(--sp-5);align-items:center}
.iq-meet__photo[hidden]{display:none}
.iq-meet__photo img{display:block;width:100%;max-width:280px;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r-card)}
.iq-meet h2{font-family:var(--font-display);font-size:var(--fs-h2);line-height:var(--lh-display);font-weight:var(--fw-bold);margin:0 0 var(--sp-3)}
.iq-meet p{margin:0 0 var(--sp-3);font-size:var(--fs-md);line-height:var(--lh-body);color:var(--ink-2);max-width:62ch}
.iq-meet a{display:inline-flex;align-items:center;min-height:var(--tap-min);color:var(--link);font-weight:var(--fw-semibold);text-decoration:underline;text-underline-offset:3px}
.iq-meet a:focus-visible{outline:none;box-shadow:var(--ring);border-radius:var(--r-control)}
@media(min-width:900px){.iq-meet__in.has-photo{grid-template-columns:280px 1fr;gap:var(--sp-7)}}

/* ---- coverage.html ---- */

.iq-cover{background:var(--paper);padding:var(--section-y) var(--gutter);font-family:var(--font-body);color:var(--ink)}
.iq-cover__in{max-width:var(--container);margin:0 auto;display:grid;gap:var(--sp-5);align-items:center}
.iq-cover h2{font-family:var(--font-display);font-size:var(--fs-h2);line-height:var(--lh-display);font-weight:var(--fw-bold);margin:0 0 var(--sp-3)}
.iq-cover p{margin:0 0 var(--sp-4);font-size:var(--fs-md);line-height:var(--lh-body);color:var(--ink-2)}
.iq-cover__map{width:100%;max-width:260px;height:auto;justify-self:center}
.iq-cover__check{max-width:460px}
@media(min-width:900px){.iq-cover__in{grid-template-columns:1fr 280px;gap:var(--sp-7)}.iq-cover__map{justify-self:end}}

/* ---- bands.html ---- */

.iq-bands{font-family:var(--font-body);color:var(--ink)}
.iq-bands section{padding:var(--sp-6) var(--gutter)}
.iq-bands__in{max-width:var(--container);margin:0 auto}
.iq-bands h2{font-family:var(--font-display);font-weight:var(--fw-bold);line-height:var(--lh-display);margin:0 0 var(--sp-3);font-size:var(--fs-h2)}
.iq-bands p{margin:0;line-height:var(--lh-body);color:var(--ink-2)}
.iq-bands a:focus-visible,.iq-bands summary:focus-visible{outline:none;box-shadow:var(--ring);border-radius:var(--r-control)}
.iq-band{border-block:1px solid var(--rule);background:var(--paper)}
.iq-band .iq-bands__in{display:flex;flex-wrap:wrap;gap:var(--sp-3) var(--sp-5);align-items:center;justify-content:space-between}
.iq-band h2{font-size:var(--fs-lg);margin:0 0 var(--sp-1)}
.iq-band p{font-size:var(--fs-base);max-width:60ch}
.iq-link{display:inline-flex;align-items:center;min-height:var(--tap-min);color:var(--link);font-weight:var(--fw-semibold);text-decoration:underline;text-underline-offset:3px}
.iq-faq{background:var(--paper)}
.iq-faq details{background:var(--card);border-radius:var(--r-card);box-shadow:var(--e1);margin-bottom:var(--sp-2)}
.iq-faq summary{cursor:pointer;list-style:none;min-height:48px;padding:var(--sp-3) 48px var(--sp-3) var(--sp-4);display:flex;align-items:center;font-weight:var(--fw-semibold);position:relative}
.iq-faq summary::-webkit-details-marker{display:none}
.iq-faq summary::after{content:"+";position:absolute;right:var(--sp-4);font-size:var(--fs-lg);color:var(--accent)}
.iq-faq details[open] summary::after{content:"\2212"}
.iq-faq details p{padding:0 var(--sp-4) var(--sp-4)}
.iq-cta{background:var(--inverted);color:var(--fg-inverted);text-align:center}
.iq-cta h2{color:var(--fg-inverted)}
.iq-cta p{color:var(--fg-inverted-2);margin-bottom:var(--sp-5)}
.iq-cta__btns{display:flex;flex-wrap:wrap;gap:var(--sp-3);justify-content:center}
.iq-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap-min);padding:0 var(--sp-5);border-radius:var(--r-control);font-weight:var(--fw-semibold);text-decoration:none;border:2px solid var(--accent-on-inverted)}
.iq-btn--fill{background:var(--accent-on-inverted);color:var(--inverted)}
.iq-btn--ghost{color:var(--fg-inverted)}
.iq-cta a:focus-visible{outline:none;box-shadow:0 0 0 2px var(--inverted),0 0 0 4px var(--accent-on-inverted)}

/* ---- qa fix: legacy nav element rules must not paint the new header nav ---- */
body .iq-header nav.iq-nav, body .iq-header nav.iq-nav a { background: transparent !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important; }

/* hotfix 2026-10-25: booking day strip collapsed to 0px inside the flex/overflow sheet on phones */
.amock-main > * { flex-shrink: 0; }
.amock-main .iq-days { flex: 0 0 auto; min-height: 72px; align-items: stretch; }
/* brand: restore the signature blue Q in the wordmark (owner, 2026-10-25) */

/* ======================================================================
   iq-fix 2026-10-25 (CSS agent) - final override layer
   Light theme only. Blue allowed ONLY on the logo Q and the focus ring (#1A5FD6).
   ====================================================================== */
:root {
  color-scheme: light;
  --focus: #1A5FD6;
  --focus-ring: var(--focus);
  --signal: var(--caution);
  --good: var(--accent);
  --scrim: rgba(22, 32, 30, .62);
  --fs-h1: 1.75rem;      /* 28 */
  --fs-h2: 1.375rem;     /* 22 */
  --fs-h3: 1.125rem;     /* 18 */
  --iq-vvh: 100dvh;      /* JS may overwrite with visualViewport.height (px) while the keyboard is open */
  --iq-vvt: 0px;
}
@media (min-width: 900px) { :root { --fs-h1: 2.75rem; --fs-h2: 2rem; --fs-h3: 1.25rem; } }
html, html[data-theme] { color-scheme: light; }

/* theme toggle is retired */
#themeToggle, .iq-theme-toggle, .foot-theme-toggle, .nav-theme, [data-theme-toggle] { display: none !important; }

/* focus ring: the only blue besides the logo */
*:focus-visible { outline: 2.5px solid var(--focus) !important; outline-offset: 2px !important; box-shadow: none; }
*:focus:not(:focus-visible) { outline: none !important; }

/* ---- fonts: Inter + Inter Tight only ---- */
body, button, input, select, textarea { font-family: var(--font-body); }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, .display { font-family: var(--font-display); font-style: normal; }
em, i.serif, .hero-h em, .grad { font-style: normal; }
.hero-eyebrow, .sec-eyebrow, .step-num, .est-svc-chip, .est-svc-chip.is-active, .tag-chip, .mono, [class*="eyebrow"] { font-family: var(--font-body); }
body { font-size: var(--fs-base); line-height: var(--lh-body); }

/* ---- type scale: H1 28/44, H2 22/32, H3 18/20, one weight ---- */
body h1:not(#x):not(#y), body #iqHeroH1 { font-size: var(--fs-h1); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
body h2:not(#x):not(.iq-foot-h) { font-size: var(--fs-h2); line-height: 1.2; font-weight: 600; }
body h3:not(#x) { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
body .iq-foot-h { font-size: 14px; }
body button, body .btn { line-height: 1.25; }

/* ---- chat / concierge on tokens ---- */
.agent-module { background: var(--card); box-shadow: var(--e1); }
.agent-module::before { display: none; }
.agent-mark .halo { display: none; }
.bubble-agent { background: var(--card); border: 1px solid var(--rule-2); color: var(--ink); background-image: none; }
.bubble-user { background: var(--accent); color: var(--on-accent); }
.bubble-agent strong { color: var(--accent); }
.agent-status { color: var(--accent); letter-spacing: .08em; }
.agent-status .dot, .fab-pulse { background: var(--accent); }
.agent-assess-pill { background: var(--accent-soft); border: 1px dashed var(--accent); color: var(--accent); }
.agent-assess-pill:hover { background: var(--paper-2); border-color: var(--accent-hover); }
.concierge-chip { background: var(--card); color: var(--ink); border: 1px solid var(--border-ui); font-family: var(--font-body); font-size: 14px; min-height: 44px; }
.concierge-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.concierge-fab { background: var(--accent); color: var(--on-accent); box-shadow: var(--e2); }
.concierge-overlay.is-open { background: var(--scrim); }
.concierge-overlay-panel { background: var(--card); box-shadow: var(--e2); }
.concierge-overlay-title { font-size: 14px; letter-spacing: .06em; }
.concierge-overlay-close { width: 44px; height: 44px; min-width: 44px; font-size: 20px; }
.agent-head, .concierge-overlay-topbar { padding-left: 16px; padding-right: 16px; }
.concierge-hours, .concierge-note, .task-label { color: var(--steel); }
#agentSend, #agentAttach, #txToggleBtn, #txEmailBtn, #txSmsBtn { font-size: 14px; font-family: inherit; min-height: 44px; }
#agentSend { background: var(--accent); color: var(--on-accent); }
#txEmail, #txPhone, .agent-input input, .agent-input textarea, #agentBox, .iq-cov input { font-size: 16px; font-family: inherit; }
.iq-cov input { border: 1px solid var(--border-ui); color: var(--ink); }
.iq-cov-result { color: var(--ink); }
.sticky-phone-bar .sph-assess, .concierge-fab { box-shadow: var(--e2); }

/* keyboard-safe chat: panel follows the visual viewport (JS sets --iq-vvh/--iq-vvt) */
.concierge-overlay { top: var(--iq-vvt); bottom: auto; height: var(--iq-vvh); }
.concierge-overlay-panel { max-height: var(--iq-vvh); }
@media (max-width: 640px) { .concierge-overlay-panel { height: min(88dvh, var(--iq-vvh)); } }
.concierge-overlay-panel .agent-input, .concierge-input-block { position: sticky; bottom: 0; background: var(--card); }
@media (max-height: 500px) {
  .concierge-overlay-panel { width: min(440px, 100vw); height: var(--iq-vvh); border-radius: 0; }
  .concierge-overlay-panel .agent-stream { min-height: 0; }
}

/* ---- booking sheet ---- */
.amock-btn { white-space: nowrap; min-height: 48px; padding-left: 16px; padding-right: 16px; font-size: 15px; font-weight: 600; font-family: inherit; flex: 0 0 auto; }
.amock-foot { gap: 8px; }
.amock-foot .progress { min-width: 0; flex: 1 1 auto; }
.amock input, .amock select, .amock textarea, .amock-field input, .amock-field select, .amock-field textarea, .iq-zip input {
  min-height: 48px; font-size: 16px; font-family: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--border-ui); border-radius: var(--r-control); }
.amock-field textarea { min-height: 96px; }
.amock-field input:focus, .amock-field select:focus, .amock-field textarea:focus { border-color: var(--focus); }
.amock-step.is-done .n { background: var(--accent); color: var(--on-accent); }
.amelia-modal-title .dot, .liveops-status .dot { background: var(--accent); box-shadow: none; }
.success-icon { background: var(--accent); color: var(--on-accent); }
.xb-invalid, .amock-invalid { border-color: var(--danger) !important; }
.xb-err, .amf-err { color: var(--danger); }
@media (max-height: 500px) and (orientation: landscape) {
  .amelia-modal { align-items: flex-end; padding: 0; }
  .amelia-modal-shell { max-width: none; width: 100%; max-height: var(--iq-vvh); height: var(--iq-vvh); border-radius: 12px 12px 0 0; }
  .amock-main { overflow: auto; padding: 12px 16px; }
  .amock-side, .amelia-modal-foot { display: none !important; }
  .amock-stepper { padding: 4px 12px; }
  .amelia-modal-head { padding-top: 6px; padding-bottom: 6px; }
}

/* /book call button: readable on the light page */
body a.iq-call-btn, body .iq-call-btn { background: transparent; color: var(--accent); border: 2px solid var(--accent); font-weight: 600; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: var(--r-control); }
body a.iq-call-btn:hover { background: var(--accent-soft); }

/* ---- estimator / quote panel on tokens ---- */
.estimator, .estimator.we-home-active { box-shadow: var(--e1); }
.quote-card::before { display: none; }
.we-book, #weBook { background: var(--accent); color: var(--on-accent); }

/* ---- mobile nav / footer targets ---- */
body footer.iq-footer ul li a { min-height: 44px; display: flex !important; align-items: center; padding: 0; font-size: 15px; }
body footer.iq-footer ul { display: flex; flex-direction: column; gap: 0; }
body .iq-foot-bottom a, body footer .iq-nap a { display: inline-flex !important; min-height: 44px; align-items: center; }
#siteFooter a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
body .iq-foot-bottom p { font-size: 14px; }
body.iq-menu-open { overflow: hidden; }
body .iq-menu-close { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; }
body div.iq-menu-sheet { padding-top: 8px; gap: 0; }
body div.iq-menu-sheet nav { margin: 0; }
@media (max-width: 899px) {
  /* compact header is in use, so the Call/Chat/Book bar must always be reachable (also landscape) */
  body #stickyPhoneBar, .sticky-phone-bar { visibility: visible !important; pointer-events: auto !important; }
  body .concierge-fab { display: none !important; }
}
@media (max-height: 500px) and (max-width: 899px) { body #stickyPhoneBar { padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom)); } body { padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; } }

/* ---- first screen on small phones: all 7 tiles clear the bar ---- */
@media (max-width: 899px) and (max-height: 800px) {
  .iq-hero { padding: 8px 16px 12px; }
  .iq-eyebrow { margin-bottom: 2px; }
  #iqHeroH1 { margin-bottom: 4px; }
  .iq-hero .iq-sub { font-size: 14px; line-height: 1.4; }
  .iq-menu { margin-top: 10px; gap: 8px; }
  .iq-tile { display: grid; grid-template-columns: 20px 1fr; grid-template-areas: "i n" "i p"; column-gap: 8px; row-gap: 0; align-items: center; min-height: 52px; padding: 8px 10px; }
  .iq-tile .iq-ico { grid-area: i; width: 20px; height: 20px; align-self: center; }
  .iq-tile .iq-t-name { grid-area: n; font-size: 14px; line-height: 1.2; }
  .iq-tile .iq-t-price { grid-area: p; font-size: 13px; }
  .iq-tile-wide { display: flex; min-height: 44px; padding: 6px 12px; }
}

/* inline-styled / JS-injected leftovers that can only be reached from here */
body .iq-cov input { border: 1px solid var(--border-ui) !important; }
body .iq-cov-result { color: var(--ink) !important; }
#wmClose { background: rgba(22, 32, 30, .72) !important; }

body a.iq-wordmark .iq-q { font-weight: 700; font-style: italic; color: #4F8CFF; background: linear-gradient(135deg, #B19BFF 0%, #4F8CFF 55%, #92E5FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .02em; }


@media (max-width: 899px) {
body #conciergeOverlay .concierge-overlay-panel { position: fixed; left: 0; right: 0; top: var(--iq-vvt, 0px); height: var(--iq-vvh, 100dvh) !important; max-height: none !important; width: 100%; border-radius: 0; display: flex; flex-direction: column; background: var(--paper); padding-bottom: env(safe-area-inset-bottom); container-type: size; container-name: iqchat; }
body #conciergeOverlay .concierge-overlay-topbar { flex: 0 0 auto; min-height: 52px; padding: 8px 12px 0 16px; align-items: center; }
body #conciergeOverlay .concierge-overlay-title { font-size: 13px; letter-spacing: .08em; color: var(--steel); }
body #conciergeOverlay .concierge-overlay-close { position: static !important; width: 44px; height: 44px; margin-left: auto; }
body #conciergeOverlay .concierge-note { flex: 0 0 auto; margin: 2px 0 0; padding: 0 16px; font-size: 14px !important; line-height: 1.45; color: var(--ink); }
body #conciergeOverlay .concierge-hours { flex: 0 0 auto; margin: 4px 0 6px; padding: 0 16px; font-size: 12.5px; color: var(--steel); }
body #conciergeOverlay .agent-module { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0 12px 8px !important; overflow: hidden; background: transparent; border: 0; box-shadow: none; }
body #conciergeOverlay .agent-stream { flex: 1 1 auto; min-height: 96px; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; justify-content: flex-start !important; gap: 10px; padding: 8px 4px !important; }
body #conciergeOverlay .agent-stream .bubble { max-width: 88%; font-size: 15px; line-height: 1.45; }
body #conciergeOverlay .concierge-chips { flex: 0 0 auto; display: flex; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; padding: 6px 2px 8px !important; scrollbar-width: none; }
body #conciergeOverlay .concierge-chips::-webkit-scrollbar { display: none; width: 0; height: 0; }
body #conciergeOverlay .concierge-chip { flex: 0 0 auto; width: auto !important; white-space: nowrap; min-height: 40px; padding: 8px 14px !important; font-size: 14px !important; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); }
body #conciergeOverlay .agent-input { flex: 0 0 auto; position: static !important; display: flex; align-items: flex-end; gap: 6px; padding: 6px !important; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--card); }
body #conciergeOverlay .agent-attach { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--paper-2) !important; color: var(--ink) !important; border: 1px solid var(--rule-2); }
body #conciergeOverlay .agent-box { flex: 1 1 auto; min-width: 0; min-height: 44px; max-height: 120px; font-size: 16px !important; line-height: 1.35; padding: 10px 12px !important; border: 0 !important; background: transparent; resize: none; }
body #conciergeOverlay .agent-box:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
body #conciergeOverlay .agent-send-btn { flex: 0 0 auto; min-width: 64px; height: 44px; padding: 0 14px !important; font-size: 15px !important; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
body #conciergeOverlay .agent-foot { flex: 0 0 auto; font-size: 12px !important; padding: 6px 2px 0; gap: 8px; }
body #conciergeOverlay .agent-foot button { min-height: 36px; font-size: 12.5px; }
}
/* keyboard open (short panel): keep the conversation and the input, drop the extras */
@container iqchat (max-height: 560px) {
  #conciergeOverlay .concierge-hours, #conciergeOverlay .agent-foot { display: none !important; }
  #conciergeOverlay .concierge-note { font-size: 13px !important; }
  #conciergeOverlay .concierge-chips { padding: 2px 2px 4px !important; }
}
@container iqchat (max-height: 440px) {
  #conciergeOverlay .concierge-note, #conciergeOverlay .concierge-chips { display: none !important; }
}


.concierge-overlay:not(.is-open) .concierge-overlay-panel { visibility: hidden; transition: transform 320ms cubic-bezier(.22,1,.36,1), visibility 0s linear 320ms; }
.concierge-overlay.is-open .concierge-overlay-panel { visibility: visible; transition: transform 320ms cubic-bezier(.22,1,.36,1), visibility 0s; }
/* J8 photo entry sits inside the job grid, full width (fixes the orphaned desktop button) */
#taskPick > #iqPhotoEntry { grid-column: 1 / -1; margin: 0; }
/* J4 picked job/time summary on the details step */
.iq-pick-sum { margin: 2px 0 6px; }
.iq-pick-change { background: none; border: 0; padding: 0 4px; min-height: 24px; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
/* J7 visible call to action inside the photo drop zone */
.iq-drop-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; padding: 0 20px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; }



:root {
  --accent-pressed: #0F3A8A;   /* 10.54:1 with white */
  --accent-2: #1759D3;         /* lighter accent for gradients: 6.17:1 with white */
  --accent-soft-2: #CFDFFC;    /* deeper tint: soft-chip hover, selection */
  --success: #1B6F47;          /* 6.16:1 white, 5.80:1 paper */
  --success-soft: #E3F2EA;     /* --success on it 5.32:1 */
  --selection: #CFDFFC;
}
::selection { background: var(--selection); color: var(--ink); }
body a.iq-book-btn:active, .amock-btn.is-primary:active, .we-book:active, #weBook:active, #agentSend:active, .iq-cta a.iq-book:active { background: var(--accent-pressed); }
.nav-chat:hover { background: var(--accent-soft-2); }

/* chat panel edge padding (2026-10-25): intro note, hours line and footer sat flush against the panel edge at tablet/desktop widths (Safari report); safe-area aware */
body #conciergeOverlay .concierge-overlay-panel .concierge-note,
body #conciergeOverlay .concierge-overlay-panel .concierge-hours,
body #conciergeOverlay .concierge-overlay-panel .agent-foot {
  box-sizing: border-box;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* chat panel header + composer polish (2026-10-25, owner report): header was stacking the phone pill above the close button at tablet/desktop widths, intro text was 17-19px, the composer showed a double border and an oversized empty textarea */
body #conciergeOverlay .concierge-overlay-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; height: auto; padding: 10px 12px 0 16px; }
body #conciergeOverlay .concierge-topbar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body #conciergeOverlay .concierge-topbar-actions .concierge-pill-call { font-size: 15px; min-height: 44px; height: 44px; padding: 0 16px; width: auto; }
body #conciergeOverlay .concierge-overlay-close { width: 44px; height: 44px; flex: 0 0 44px; position: static; }
body #conciergeOverlay .concierge-overlay-panel .concierge-note { font-size: 14.5px; line-height: 1.45; margin: 4px 0 2px; }
body #conciergeOverlay .concierge-overlay-panel .concierge-hours { font-size: 12.5px; line-height: 1.4; margin: 0 0 6px; }
body #conciergeOverlay .agent-module { padding: 8px 12px 12px; }
body #conciergeOverlay #agentInput { align-items: flex-end; }
body #conciergeOverlay #agentInput:focus-within { outline: 2.5px solid #1A5FD6; outline-offset: 2px; }
body #conciergeOverlay #agentBox { min-height: 44px; height: 44px; max-height: 120px; padding: 10px 4px; line-height: 1.35; resize: none; }
body #conciergeOverlay #agentBox:focus, body #conciergeOverlay #agentBox:focus-visible { outline: none; box-shadow: none; }

/* chat panel polish pass 2 (2026-10-25): beat the older !important rules (intro/hours 17-19px, textarea own focus outline inside the form's ring); breathing room under the quick-pill row */
body #conciergeOverlay .concierge-overlay-panel .concierge-note { font-size: 14.5px !important; line-height: 1.45 !important; margin: 4px 0 2px !important; color: var(--steel) !important; }
body #conciergeOverlay .concierge-overlay-panel .concierge-hours { font-size: 12.5px !important; line-height: 1.4 !important; margin: 0 0 6px !important; }
body #conciergeOverlay #agentBox:focus, body #conciergeOverlay #agentBox:focus-visible { outline: none !important; box-shadow: none !important; }
body #conciergeOverlay #agentBox { font-size: 16px !important; padding: 10px 4px !important; height: 44px; min-height: 44px; }
body #conciergeOverlay #agentQuickRow { margin-bottom: 10px; }

/* chat panel polish pass 3 (2026-10-25): the base 280px min-height on the message stream pushed the head row and greeting up under the intro text at tablet/desktop widths; let it shrink */
body #conciergeOverlay .concierge-overlay-panel .agent-stream, body #conciergeOverlay .concierge-overlay-panel #agentStream { min-height: 96px; flex: 1 1 0; }

/* chat panel polish pass 4 (2026-10-25): the panel stacked a duplicate title row (the top bar already has the title and the call pill) and a second set of quick pills above the main chips, leaving ~100px for the conversation; keep the top bar and the chips only */
body #conciergeOverlay .concierge-overlay-panel .agent-head, body #conciergeOverlay .concierge-overlay-panel #agentQuickRow { display: none !important; }

/* iq-calendar:start (2026-10-25) month-grid date picker for the booking sheet */

body .iq-calwrap { width: 100%; min-width: 0; margin: 4px 0 8px; }
body .iq-calwrap[hidden] { display: none; }
body .iqc { display: block; width: 100%; box-sizing: border-box; }
body .iqc-head { display: grid; grid-template-columns: 44px 1fr 44px auto; align-items: center; gap: 6px; margin-bottom: 6px; }
body .iqc-title { margin: 0; text-align: center; font-size: 17px; font-weight: 650; color: var(--ink); }
body .iqc-nav { min-width: 44px; min-height: 44px; width: 44px; height: 44px; border: 1px solid var(--border-ui); background: var(--card); color: var(--ink); border-radius: 10px; font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
body .iqc-nav[aria-disabled="true"] { opacity: 0.38; cursor: not-allowed; }
body .iqc-nav:hover:not([aria-disabled="true"]) { border-color: var(--accent); color: var(--accent); }
body .iqc-today { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-ui); background: var(--card); color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; }
body .iqc-today:hover { background: var(--accent-soft); }
body .iqc-grid { display: block; }
body .iqc-dows, body .iqc-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
body .iqc-row { margin-top: 4px; }
body .iqc-dows > div { text-align: center; font-size: 12px; font-weight: 600; color: var(--steel); padding: 4px 0; }
body .iqc-pad { min-height: 44px; }
body .iqc-day { position: relative; min-height: 44px; min-width: 0; width: 100%; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 0 4px; }
body .iqc-day.is-open::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); }
body .iqc-day.is-open:hover { background: var(--accent-soft); }
body .iqc-day[aria-disabled="true"] { color: var(--steel); font-weight: 400; cursor: not-allowed; background: transparent; opacity: 0.62; text-decoration: none; }
body .iqc-day[aria-disabled="true"]:hover { background: transparent; }
body .iqc-day.is-today { border-color: var(--border-ui); }
body .iqc-day.is-selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); opacity: 1; font-weight: 700; }
body .iqc-day.is-selected::after { background: var(--on-accent); }
body .iqc-day:focus-visible, body .iqc-nav:focus-visible, body .iqc-today:focus-visible, body .iqc-retry:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; z-index: 1; }
body .iqc-day.is-loading { color: transparent; border-color: transparent; background: var(--paper-2); animation: iqc-pulse 1.2s ease-in-out infinite; cursor: progress; }
body .iqc-day.is-loading::after { display: none; }
@keyframes iqc-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body .iqc-day.is-loading { animation: none; } }
body .iqc-legend { display: flex; align-items: center; gap: 8px; margin: 8px 2px 0; font-size: 13px; color: var(--steel); }
body .iqc-key { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
body .iqc-err { margin: 8px 0 0; padding: 12px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--accent); font-size: 14.5px; line-height: 1.45; }
body .iqc-err[hidden] { display: none; }
body .iqc-retry { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; cursor: pointer; }
body .iqc-retry:hover { background: var(--accent-hover); }
@media (min-width: 700px) { body .iqc-day, body .iqc-nav, body .iqc-today, body .iqc-pad { min-height: 48px; } body .iqc-day { font-size: 16px; } }
@media (max-width: 400px) { body .iqc-dows, body .iqc-row { gap: 2px; } }
body .iq-days { display: none; }

/* iq-calendar:end */

/* mobile menu close button (2026-10-25, owner screenshot): the sticky translucent nav (z-index 50) painted over the bottom of the X button's focus ring, clipping it; lift the button above the nav, keep the ring inside the 44px box, and stop the nav sticking inside the full-screen menu */
body #iqMenuSheet .iq-menu-close { position: relative; z-index: 60; }
body #iqMenuSheet .iq-menu-close:focus-visible { outline: 2.5px solid #1A5FD6 !important; outline-offset: -4px !important; border-radius: 12px; }
body #iqMenuSheet nav { position: static; z-index: auto; }




.iq-tile[data-iq-msel] {
  position: relative;
}

.iq-tile[data-iq-msel].is-picked {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.iq-tile[data-iq-msel].is-picked:focus-visible {
  box-shadow: inset 0 0 0 1px var(--accent), var(--ring);
}

.iq-tile[data-iq-msel] .iq-t-name {
  padding-right: 26px;
}

.iq-msel-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--rule-2);
  border-radius: 50%;
  background: var(--card);
  pointer-events: none;
  box-sizing: border-box;
}

.iq-tile.is-picked .iq-msel-check {
  background: var(--accent);
  border-color: var(--accent);
}

.iq-msel-check::after {
  content: "";
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 11px;
  margin-left: -2px;
  margin-top: -8px;
  border-right: 2px solid var(--on-accent);
  border-bottom: 2px solid var(--on-accent);
  transform: rotate(45deg);
  box-sizing: border-box;
}

.iq-tile.is-picked .iq-msel-check::after {
  display: block;
}

.iq-tile.iq-tile-wide .iq-msel-check {
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
}

.iq-msel-count {
  position: absolute;
  right: 8px;
  bottom: 6px;
  pointer-events: none;
  font: 600 12px var(--font-body);
  color: var(--accent);
}

.iq-msel-count:empty {
  display: none;
}

.iq-msel-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.iq-msel-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
  box-shadow: 0 6px 20px rgba(22,32,30,.12);
  box-sizing: border-box;
}

.iq-msel-bar[hidden] {
  display: none !important;
}

.iq-msel-sum {
  margin: 0;
  flex: 1 1 180px;
  font: 600 15px/1.3 var(--font-body);
  color: var(--ink);
}

.iq-msel-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.iq-msel-go,
.iq-msel-clear {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font: 600 15px var(--font-body);
  cursor: pointer;
  box-sizing: border-box;
}

.iq-msel-go {
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
}

.iq-msel-go:hover {
  background: var(--accent-hover);
}

.iq-msel-clear {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-2);
}

.iq-msel-go:focus-visible,
.iq-msel-clear:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.iq-msel-spacer {
  display: block;
  width: 100%;
}

.iq-msel-dlg {
  border: 0;
  border-radius: 14px;
  padding: 20px;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--card);
  color: var(--ink);
  box-sizing: border-box;
}

.iq-msel-dlg::backdrop {
  background: rgba(22,32,30,.45);
}

.iq-msel-dlg h2 {
  margin: 0 0 4px;
  font: 600 20px/1.2 var(--font-body);
}

.iq-msel-dlg-sub {
  margin: 0 0 12px;
  color: var(--steel);
  font-size: 14px;
}

.iq-msel-opts {
  display: grid;
  gap: 8px;
}

.iq-msel-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
}

.iq-msel-opt:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.iq-msel-opt input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  margin: 0;
  flex: none;
}

.iq-msel-opt-n {
  flex: 1;
  font-weight: 600;
}

.iq-msel-opt-p {
  color: var(--accent);
  font-weight: 600;
}

.iq-msel-opt:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.iq-msel-dlg-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.iq-jobs {
  margin: 12px 0 4px;
}

.iq-jobs-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.iq-jobs-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  background: var(--card);
  box-sizing: border-box;
}

.iq-jobs-p {
  color: var(--steel);
  font-weight: 400;
  margin-left: 6px;
}

.iq-jobs-rm {
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  color: var(--accent);
  font: 600 14px var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  box-sizing: border-box;
}

.iq-jobs-add {
  min-height: 44px;
  padding: 0 14px;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  background: var(--card);
  color: var(--accent);
  font: 600 15px var(--font-body);
  cursor: pointer;
  box-sizing: border-box;
}

.iq-jobs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.iq-jobs-chips[hidden] {
  display: none;
}

.iq-jobs-chip {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: 600 14px var(--font-body);
  cursor: pointer;
  box-sizing: border-box;
}

.iq-jobs-chip span {
  color: var(--accent);
  margin-left: 4px;
}

.iq-jobs-chip:hover,
.iq-jobs-add:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.iq-jobs-rm:focus-visible,
.iq-jobs-add:focus-visible,
.iq-jobs-chip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  .iq-msel-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--iq-dock-h, 0px) + 8px);
    z-index: 900;
    margin: 0;
  }

  body.iq-sheet-open .iq-msel-bar {
    display: none !important;
  }

  .iq-msel-go {
    flex: 1 1 auto;
  }

  .iq-msel-dlg-actions .iq-msel-go {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .iq-msel-actions {
    width: 100%;
  }
}


.iq-tile.iq-tile-wide[data-iq-msel] { padding-right: 46px; }
.iq-tile.iq-tile-wide[data-iq-msel] > .iq-ico { display: none; }
.iq-tile.iq-tile-wide .iq-msel-check { right: 12px; }


.iq-opt { border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); margin: 0 0 8px; }
.iq-opt > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 12px; cursor: pointer; list-style: none; font: 600 15px/1.3 var(--font-body); color: var(--ink); }
.iq-opt > summary::-webkit-details-marker { display: none; }
.iq-opt > summary::after { content: "Options"; flex: none; font: 600 13px var(--font-body); color: var(--accent); text-decoration: underline; }
.iq-opt[open] > summary::after { content: "Done"; }
.iq-opt > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 10px; }
.iq-opt-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.iq-opt-price { flex: none; color: var(--accent); font-weight: 600; }
.iq-opt-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 6px 12px; font: 500 14px/1.3 var(--font-body); color: var(--ink-2); }
.iq-opt-row select { min-height: 44px; width: 100%; max-width: 100%; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--card); color: var(--ink); font: 500 15px var(--font-body); box-sizing: border-box; }
.iq-opt-row select:focus-visible, .iq-opt-tog input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.iq-opt-tog { grid-template-columns: 22px 1fr; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.iq-opt-tog input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.iq-opt-survey { font-style: normal; font-weight: 600; font-size: 12px; color: var(--caution); background: var(--caution-soft); border-radius: 6px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.iq-opt-none { margin: 0; padding: 4px 12px 10px; color: var(--steel); font-size: 14px; }
.iq-opt .iq-jobs-rm { margin: 0 8px 6px; }
.iq-jobs-long { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--caution-soft); color: var(--caution); font: 600 14px/1.4 var(--font-body); }
.iq-msel-note { flex-basis: 100%; margin: 0; color: var(--caution); font: 600 13px var(--font-body); }

.iq-opt-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 8px; } .iq-opt-wrap > .iq-opt { min-width: 0; margin: 0; } .iq-opt-wrap > .iq-jobs-rm { align-self: flex-end; }
@media (min-width: 600px) { .iq-opt-wrap { flex-direction: row; align-items: flex-start; gap: 4px; } .iq-opt-wrap > .iq-opt { flex: 1 1 auto; } .iq-opt-wrap > .iq-jobs-rm { align-self: auto; flex: none; } }  /* render 390: side-by-side squeezed the card on phones */
.iq-msel-dlg.is-fallback { position: fixed; top: 50%; left: 0; right: 0; margin: 0 auto; transform: translateY(-50%); z-index: 1001; box-shadow: 0 0 0 100vmax rgba(22,32,30,.45); }


.iq-bd{margin:14px 0;font-size:13px;line-height:1.4;color:inherit}
.iq-bd-h{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;opacity:.75}
.iq-bd-svc{margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.12)}
.iq-bd-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.iq-bd-row>span:last-child{text-align:right;white-space:nowrap;flex-shrink:0}
.iq-bd-name{font-weight:700;font-size:14px}
.iq-bd-opt{padding-left:10px;opacity:.9}
.iq-bd-opt>span:first-child{white-space:normal;min-width:0}
.iq-bd-time{font-size:12px;opacity:.7}
.iq-bd-row>.iq-bd-quote{font-style:italic;white-space:normal;text-align:right}
.iq-bd-total{font-weight:700;margin-top:4px}
.iq-bd-note{font-size:12px;opacity:.75;margin-top:8px}
@media (prefers-color-scheme: dark){.iq-bd-svc{border-color:rgba(255,255,255,.2)}}
.iq-bd-m{margin-top:14px;border:1px solid var(--rule);border-radius:10px;background:var(--paper-2);padding:10px 12px}
.iq-bd-m>summary{font-weight:700;cursor:pointer;min-height:32px;display:flex;align-items:center}
.iq-bd-m .iq-bd{margin:8px 0 0}

/* modalfix 2026-11-13: booking dialog scrolls both columns together; nothing under the footer */
@media (min-width: 721px) and (min-height: 501px) {
.amelia-modal-shell:not(.is-express) {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
}
}
@media (min-width: 721px) {
.amelia-modal-shell:not(.is-express) .amelia-modal-head,
.amelia-modal-shell:not(.is-express) .amock-stepper,
.amelia-modal-shell:not(.is-express) .amock-foot,
.amelia-modal-shell:not(.is-express) .amelia-modal-foot {
  flex: none;
}
.amelia-modal-shell:not(.is-express) .amock-body {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: stretch;
  align-content: stretch;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.amelia-modal-shell:not(.is-express) .amock-main {
  overflow: visible;
  min-width: 0;
  min-height: 0;
  width: auto;
  flex: none;
}
.amelia-modal-shell:not(.is-express) .amock-side {
  width: 240px;
  min-width: 0;
  overflow: visible;
  height: auto;
  box-sizing: border-box;
}
.amelia-modal-shell:not(.is-express) .amock-foot {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.amelia-modal-shell:not(.is-express) .amelia-modal-foot {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
}
@media (min-width: 721px) and (max-width: 899px) {
  .amelia-modal-shell:not(.is-express) .amock-body {
    grid-template-columns: minmax(0,1fr);
  }
  .amelia-modal-shell:not(.is-express) .amock-side {
    width: auto;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
}
/* iq-chat-layout-v1 2026-11-02 (owner): the conversation gets the room; intro text and quick pills step aside once the visitor has written */
body #conciergeOverlay .concierge-overlay-panel .agent-stream, body #conciergeOverlay .concierge-overlay-panel #agentStream { flex: 1 1 auto !important; min-height: 120px !important; overflow-y: auto !important; overscroll-behavior: contain; scroll-behavior: smooth; padding-bottom: 8px; }
body #conciergeOverlay .concierge-overlay-panel #agentBox { height: auto !important; min-height: 48px !important; max-height: 112px !important; resize: none !important; field-sizing: content; }
body #conciergeOverlay .concierge-overlay-panel #conciergeChips { flex-wrap: nowrap !important; overflow-x: auto !important; flex: 0 0 auto; }
body #conciergeOverlay .concierge-overlay-panel #conciergeChips .concierge-chip { flex: 0 0 auto; white-space: nowrap; }
body #conciergeOverlay.iq-has-msgs .concierge-overlay-panel .concierge-note, body #conciergeOverlay.iq-has-msgs .concierge-overlay-panel .concierge-hours, body #conciergeOverlay.iq-has-msgs .concierge-overlay-panel #conciergeChips { display: none !important; }

.iq-cta a:not(.iq-btn),.iq-cta a.iq-tel,.iq-cta a.iq-mail,.iq-cta a.iq-url{color:var(--fg-inverted,#FAF8F3);text-decoration:underline;text-underline-offset:.15em}.iq-cta a:not(.iq-btn):hover{color:var(--accent-on-inverted,#8FB6FF)}
.iqc-hol{margin:10px 0 0;padding:10px 12px;border:1px solid #b45309;border-radius:8px;background:#fff7ed;color:#1f2937;font-size:.95rem;line-height:1.45}.iqc-hol p{margin:0 0 8px}.iqc-holcb{min-height:44px;padding:8px 14px;border:0;border-radius:8px;background:#144eb8;color:#fff;font:inherit;font-weight:600;cursor:pointer}.iqc-hol.is-flash{outline:3px solid #b45309}