@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --text: #102542;
  --muted: #60728d;
  --blue: #2163d1;
  --blue-soft: #4f86e2;
  --gold: #2163d1;
  --gold-soft: #dbe8ff;
  --line: rgba(16, 37, 66, 0.12);
  --shadow: 0 18px 38px rgba(43, 91, 154, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
  --coverage-map-height: clamp(420px, 34vw, 560px);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
}

/* Final footer system */
.footer {
  background: #ffffff !important;
  border-top: 0 !important;
  padding: 56px 24px 30px !important;
}

.footer-shell {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #10243f !important;
  display: grid !important;
  gap: 28px !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(16, 36, 63, 0.1) !important;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 36px;
  align-items: start;
  padding-top: 28px;
}

.footer-brand-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
}

.brand-logo-footer {
  width: min(165px, 100%) !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  background: #ffffff;
  margin: 6px 0 0 -18px !important;
  justify-self: start;
  align-self: start;
}

.footer-tagline {
  margin: 0;
  color: #2163d1;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  max-width: 18ch;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 36, 63, 0.12);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #2163d1;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 36, 63, 0.12);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-contact-list {
  display: grid;
  gap: 16px;
}

.footer-contact-item {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.footer-contact-item strong {
  color: #10243f;
  font-size: 0.96rem;
  font-weight: 800;
}

.footer-contact-item span {
  color: #4f6985;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 700;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: #2163d1;
  font-size: 1.08rem;
  font-weight: 800;
}

.footer-column a {
  display: block;
  margin-bottom: 14px;
  color: #374f69;
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #2163d1;
}

.footer-meta {
  border-top: 1px solid rgba(16, 36, 63, 0.1);
  padding-top: 20px;
}

.footer-meta p {
  margin: 0;
  color: #7a8ea5;
  font-size: 0.94rem;
  line-height: 1.8;
}

.footer-meta p + p {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: minmax(240px, 1.1fr) repeat(2, minmax(180px, 1fr));
  }

  .footer-brand-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer {
    padding: 40px 18px 24px !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 22px;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-column a,
  .footer-contact-item span {
    font-size: 0.98rem;
  }

  .footer-social-link {
    width: 44px;
    height: 44px;
  }
}

/* Final footer logo alignment override */
.footer .footer-brand-panel {
  justify-items: start !important;
  text-align: left !important;
}

.footer .brand-logo-footer {
  width: min(260px, 100%) !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 0 0 -10px !important;
  justify-self: start !important;
  align-self: start !important;
  display: block !important;
  object-position: left center !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 37, 66, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 0;
  background: #ffffff;
  filter: none;
}

.brand-logo-footer {
  width: 96px;
  height: 96px;
}

.brand-copy {
  max-width: 260px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand .brand-copy {
  display: block;
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
  color: #173f75;
}

.brand-copy span,
.footer-brand span {
  color: #4f6482;
  font-size: 0.85rem;
}

.brand-copy:empty {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: auto;
  margin-left: auto;
}

.nav-links a {
  color: #284d80;
  transition: color 180ms ease;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
}

.nav-cta,
.button,
.chip-button,
.choice-grid button,
.assistant-actions button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 40px;
  font-size: 0.92rem;
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 999px;
  background: #2163d1;
  color: #ffffff;
}

.nav-cta,
.button.primary,
.choice-grid button,
.assistant-actions .primary {
  background: var(--gold);
  color: #ffffff;
  box-shadow: none;
}

.button.secondary,
.assistant-actions .secondary,
.contact-actions a {
  background: #ffffff;
  color: var(--blue);
  border: 1px solid rgba(23, 63, 117, 0.12);
  box-shadow: none;
}

.nav-cta:hover,
.button:hover,
.chip-button:hover,
.choice-grid button:hover,
.assistant-actions button:hover,
.contact-actions a:hover {
  transform: translateY(-1px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 64px 0 36px;
}

.chatbot-hero {
  padding: 56px 0 34px;
  position: relative;
}

.chatbot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(182, 138, 47, 0.14), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(15, 47, 87, 0.08), transparent 22%);
  pointer-events: none;
}

.chatbot-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.chatbot-copy {
  padding-top: 44px;
}

.chatbot-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 9ch;
}

.chatbot-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
  max-width: 44ch;
}

.language-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.language-chip {
  border: 1px solid rgba(16, 37, 66, 0.12);
  background: #ffffff;
  color: var(--blue);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-chip:hover {
  transform: translateY(-1px);
}

.language-chip.is-active {
  background: var(--blue);
  color: white;
}

.nav-cta:hover,
.button.primary:hover,
.choice-grid button:hover,
.assistant-actions .primary:hover {
  background: #b88f34;
}

.button.secondary:hover,
.assistant-actions .secondary:hover,
.contact-actions a:hover,
.language-chip:hover {
  background: #dbe5f0;
}

.trust-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--blue);
  opacity: 0.74;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.chatbot-concept-subtitle {
  max-width: 34rem;
  margin: 10px 0 14px;
  color: #173f75;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
}

.chatbot-hero-home {
  padding-bottom: 34px !important;
}

.chatbot-shell-home {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 22px !important;
}

.chatbot-copy-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 52px) clamp(24px, 4vw, 56px) !important;
  border-radius: 34px;
  border: 1px solid rgba(16, 37, 66, 0.06);
  background:
    radial-gradient(circle at top left, rgba(212, 181, 107, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(23, 63, 117, 0.06), transparent 26%),
    #ffffff;
  box-shadow: 0 22px 54px rgba(16, 37, 66, 0.08);
  text-align: center !important;
}

.chatbot-copy-home .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #238b57 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.2em !important;
}

.chatbot-copy-home h1 {
  max-width: 13ch !important;
  margin: 0 auto;
  font-size: clamp(2.6rem, 5vw, 4.4rem) !important;
  line-height: 1.02 !important;
  color: #17325c !important;
}

.chatbot-copy-home .chatbot-concept-subtitle {
  max-width: 46rem;
  margin: 18px auto 14px;
  color: #4f6c94;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 500;
  line-height: 1.58;
}

.chatbot-copy-home p {
  max-width: 48rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.chatbot-copy-home .wp-hero-intro,
.chatbot-copy-home .hero-actions,
.chatbot-copy-home .language-strip,
.chatbot-copy-home .trust-strip {
  justify-content: center;
}

.chatbot-panel {
  padding: 30px;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 66, 0.07);
  box-shadow: 0 24px 60px rgba(15, 47, 87, 0.08);
}

.chatbot-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.chatbot-panel-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.chatbot-panel-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 34ch;
}

.chatbot-kicker {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 0.78rem;
}

.assistant-log-chatbot {
  min-height: 420px;
  max-height: 520px;
  padding: 4px 8px 4px 2px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: #fbfaf6;
  border: 1px solid rgba(16, 37, 66, 0.06);
}

.choice-grid-chatbot {
  margin-bottom: 12px;
}

.assistant-input-chatbot {
  grid-template-columns: minmax(0, 1fr) auto;
}

.assistant-input-chatbot input {
  min-height: 62px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: inset 0 1px 2px rgba(16, 37, 66, 0.04);
}

.assistant-actions-chatbot {
  margin-top: 10px;
}

.chatbot-status .status-pill {
  background: rgba(15, 47, 87, 0.08);
  color: var(--blue);
  border: 1px solid rgba(16, 37, 66, 0.08);
}

body {
  background: #ffffff;
}

body::before {
  opacity: 0;
}

.topbar {
  background: #ffffff;
  border-bottom: 0;
}

.nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-links {
  gap: 14px;
}

.nav-links a {
  font-size: 0.96rem;
}

.chatbot-hero {
  padding: 76px 0 56px;
}

.chatbot-hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 173, 75, 0.12), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(43, 91, 154, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 251, 255, 0.65));
}

.chatbot-shell {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: stretch;
}

.chatbot-copy {
  padding-top: 62px;
}

.chatbot-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  line-height: 0.94;
  color: #0f2f57;
}

.chatbot-copy p {
  max-width: 46ch;
  font-size: 1.05rem;
  color: #314b6d;
  font-weight: 500;
}

.eyebrow {
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 8px 18px rgba(43, 91, 154, 0.05);
}

.hero-actions {
  margin-top: 26px;
}

.language-strip {
  margin-top: 28px;
}

.language-chip {
  background: #ffffff;
  border-color: rgba(23, 63, 117, 0.1);
  box-shadow: none;
}

.trust-strip {
  gap: 14px;
  margin-top: 28px;
  opacity: 1;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.trust-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
}

.chatbot-panel {
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 18px 42px rgba(43, 91, 154, 0.06);
}

.chatbot-panel-head {
  margin-bottom: 20px;
}

.chatbot-panel-head strong {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.chatbot-panel-head p {
  color: #385170;
  font-weight: 500;
}

.chatbot-kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.assistant-log-chatbot {
  min-height: 460px;
  max-height: 560px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.1);
}

.assistant-input-chatbot input {
  background: #ffffff;
  color: #163457;
  border: 1px solid rgba(23, 63, 117, 0.16);
}

.assistant-input-chatbot input::placeholder {
  color: #6a7d98;
}

.mini-note {
  color: #4d6483;
  font-weight: 500;
}

.bubble {
  border-radius: 22px;
  box-shadow: none;
}

.bubble.leo {
  background: #fffaf0;
  border: 1px solid rgba(214, 173, 75, 0.24);
  color: #163457;
}

.bubble.user {
  background: #1f4f90;
  color: #ffffff;
  font-weight: 600;
}

.coverage-card,
.detail-card,
.doc-card {
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.07);
  box-shadow: 0 14px 32px rgba(43, 91, 154, 0.05);
}

.footer {
  background: #ffffff;
  border-top: 1px solid rgba(16, 37, 66, 0.06);
}

.hero-fullscreen {
  padding: 0;
}

.hero-fullstage {
  position: relative;
  min-height: 100vh;
  padding: 96px 34px 34px;
}

.hero-copy-overlay {
  position: absolute;
  left: clamp(28px, 5vw, 64px);
  top: 132px;
  z-index: 4;
  max-width: 420px;
  min-height: auto;
  padding-top: 0;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 42px;
  align-items: start;
}

.hero-grid,
.page-hero {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue);
  border: 1px solid rgba(16, 37, 66, 0.08);
  margin-bottom: 18px;
}

.hero-copy h1,
.page-hero h1,
.section-head h2,
.coverage-card h3,
.assistant-card h2 {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  max-width: 9ch;
}

.hero-copy-premium {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding-top: 34px;
}

.hero-copy p,
.page-hero p,
.section-head p,
.coverage-card p,
.detail-card p,
.assistant-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-proof {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-proof span {
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  color: var(--blue);
  opacity: 0.7;
}

.hero-stats .stat {
  min-width: 150px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 37, 66, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats strong,
.metric strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
}

.visual-card,
.glass-card,
.coverage-card,
.detail-card,
.assistant-card,
.form-card,
.contact-card,
.about-card,
.doc-card,
.timeline-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.visual-card {
  min-height: 640px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(13, 38, 68, 0.9) 0%, rgba(9, 28, 50, 0.82) 58%, rgba(237, 242, 247, 0.84) 100%),
    linear-gradient(135deg, rgba(182, 138, 47, 0.2), transparent 44%);
}

.hero-live {
  position: relative;
  display: grid;
  min-height: 780px;
}

.live-stage-full {
  min-height: calc(100vh - 34px);
  border-radius: 0;
}

.live-stage {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 28px 28px 34px;
  border-radius: 0;
  background:
    radial-gradient(circle at top center, rgba(205, 166, 78, 0.16), transparent 24%),
    linear-gradient(180deg, #17345a 0%, #163253 42%, #102542 100%);
  box-shadow: none;
}

.live-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
}

.live-stage-top,
.live-stage-meta,
.live-stage-dock {
  position: relative;
  z-index: 1;
}

.live-stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.stage-kicker {
  margin: 0 0 6px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.live-stage-top h2 {
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.live-stage-screen {
  position: relative;
  min-height: 620px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.live-stage-grid,
.live-stage-overlay,
.live-stage-video {
  position: absolute;
  inset: 0;
}

.live-stage-overlay {
  background:
    linear-gradient(180deg, rgba(9, 19, 36, 0.04), rgba(9, 19, 36, 0.2)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 44%);
}

.live-stage-video {
  display: grid;
  place-items: center;
  padding: 72px 56px 220px;
}

.live-stage-poster {
  max-width: 360px;
  padding: 28px;
  text-align: center;
  border-radius: 0;
  background: none;
  border: 0;
  backdrop-filter: none;
  color: rgba(255, 255, 255, 0.88);
}

.brand-seal {
  width: min(220px, 100%);
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.2));
}

.avatar-centerpiece {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.avatar-presence {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
}

.avatar-presence-ring,
.avatar-presence-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.avatar-presence-ring {
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: pulse-ring 3.2s infinite ease-in-out;
}

.avatar-presence-dot {
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  background: var(--gold-soft);
  box-shadow: 0 0 0 10px rgba(219, 192, 122, 0.08);
}

.live-stage-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.live-stage-dock {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(14, 31, 54, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: white;
}

.live-stage-dock strong {
  display: block;
  font-size: 1.2rem;
}

.live-stage-dock p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.live-stage-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.live-stage.is-loading [data-avatar-status-pill] {
  background: rgba(255, 255, 255, 0.18);
}

.live-stage.is-ready [data-avatar-status-pill] {
  background: rgba(182, 138, 47, 0.32);
}

.live-stage.is-speaking [data-avatar-status-pill] {
  background: rgba(182, 138, 47, 0.45);
}

.live-stage.is-error [data-avatar-status-pill] {
  background: rgba(146, 65, 60, 0.45);
}

.miami-scene {
  position: absolute;
  inset: 0;
}

.skyline,
.waterline,
.yacht,
.supercar,
.window-grid {
  position: absolute;
}

.window-grid {
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 23%, 16% 100%;
}

.skyline {
  left: 8%;
  right: 8%;
  bottom: 27%;
  height: 31%;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(255, 255, 255, 0.74) 6% 10%, transparent 10% 14%, rgba(255, 255, 255, 0.58) 14% 22%, transparent 22% 28%, rgba(255, 255, 255, 0.5) 28% 35%, transparent 35% 40%, rgba(255, 255, 255, 0.72) 40% 47%, transparent 47% 53%, rgba(255, 255, 255, 0.45) 53% 58%, transparent 58% 64%, rgba(255, 255, 255, 0.62) 64% 70%, transparent 70% 76%, rgba(255, 255, 255, 0.78) 76% 84%, transparent 84%);
  filter: blur(0.2px);
  opacity: 0.86;
}

.waterline {
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background:
    linear-gradient(180deg, rgba(34, 108, 173, 0.1), rgba(22, 69, 118, 0.56)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 10px);
}

.yacht {
  width: 210px;
  height: 60px;
  right: 14%;
  bottom: 14%;
  border-radius: 10px 80px 18px 18px;
  background: linear-gradient(180deg, #f7f2e8, #bfa05a);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.yacht::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 40px;
  left: 58px;
  top: -26px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(230, 226, 214, 0.84));
}

.supercar {
  width: 150px;
  height: 46px;
  left: 8%;
  bottom: 16%;
  border-radius: 18px 46px 18px 18px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
}

.supercar::before,
.supercar::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #142230;
}

.supercar::before {
  left: 18px;
}

.supercar::after {
  right: 20px;
}

.avatar-stage {
  position: absolute;
  inset: auto 28px 28px auto;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  color: white;
}

.avatar-stage-large {
  inset: auto 28px 28px 28px;
  width: auto;
  padding: 26px;
}

.avatar-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.avatar-headline strong {
  font-size: 1.05rem;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avatar-figure {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
}

.avatar-figure-large {
  grid-template-columns: 160px 1fr;
  gap: 18px;
}

.avatar-portrait {
  position: relative;
  width: 112px;
  height: 132px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 28%, #f0d3b8 0 16%, transparent 16%),
    radial-gradient(circle at 50% 35%, #f0d3b8 0 24%, transparent 24%),
    radial-gradient(circle at 50% 24%, #243c5d 0 12%, transparent 12%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-portrait-large {
  width: 160px;
  height: 190px;
  border-radius: 34px;
}

.avatar-portrait::before {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 60px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #1f314b, #0e1f36);
}

.avatar-portrait::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 8px;
  left: 45px;
  top: 56px;
  border-radius: 999px;
  background: #7d4f48;
  animation: lip-idle 2.8s infinite ease-in-out;
}

.avatar-figure p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.audio-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 32px;
  margin-top: 12px;
}

.audio-bars span {
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), white);
  animation: pulse-bars 1.2s infinite ease-in-out;
  transform-origin: bottom;
}

.audio-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.audio-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.audio-bars span:nth-child(4) {
  animation-delay: 0.3s;
}

.audio-bars span:nth-child(5) {
  animation-delay: 0.4s;
}

.avatar-portrait-large::after {
  width: 30px;
  height: 10px;
  left: 65px;
  top: 80px;
}

.assistant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.assistant-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 0.8rem;
}

section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.coverage-grid,
.details-grid,
.contact-grid,
.about-grid,
.docs-grid,
.timeline-grid {
  display: grid;
  gap: 20px;
}

.coverage-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.details-grid,
.contact-grid,
.about-grid,
.docs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.coverage-card,
.detail-card,
.form-card,
.contact-card,
.about-card,
.doc-card,
.timeline-card {
  padding: 24px;
}

.coverage-card .tag,
.detail-card .tag,
.doc-card .tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(182, 138, 47, 0.12);
  color: var(--blue);
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.coverage-card h3,
.detail-card h3,
.form-card h3,
.contact-card h3,
.about-card h3,
.doc-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.coverage-card ul,
.detail-card ul,
.doc-card ul,
.timeline-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.coverage-card::after,
.detail-card::after,
.form-card::after,
.contact-card::after,
.about-card::after,
.doc-card::after,
.timeline-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 138, 47, 0.16), transparent 65%);
}

.assistant-section {
  padding-bottom: 70px;
}

.top-leo-chat-section {
  padding: 18px 0 18px;
}

.assistant-card {
  padding: 28px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.assistant-card-top {
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
}

.assistant-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
}

.assistant-copy {
  padding: 8px;
}

.assistant-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.assistant-panel {
  padding: 22px;
  border-radius: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.top-leo-chat-section .assistant-log {
  min-height: 210px;
}

.assistant-upload {
  margin-top: 14px;
}

.assistant-upload input[type="file"] {
  padding: 12px;
  background: #ffffff;
}

.assistant-panel-hero {
  position: absolute;
  right: 34px;
  top: 110px;
  bottom: 34px;
  width: min(430px, calc(100% - 68px));
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: auto;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 236, 0.88)),
    var(--panel-strong);
  box-shadow:
    0 24px 70px rgba(15, 47, 87, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 3;
}

.assistant-panel-bottom {
  left: 24px;
  right: 24px;
  bottom: 24px;
  top: auto;
  width: auto;
  min-height: 170px;
  padding: 20px 22px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 236, 0.9)),
    var(--panel-strong);
  box-shadow:
    0 22px 60px rgba(15, 47, 87, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.assistant-panel-head-compact {
  margin-bottom: 10px;
}

.assistant-panel-head-compact strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.assistant-panel-head-compact p {
  font-size: 0.96rem;
  max-width: none;
}

.assistant-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.assistant-panel-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.assistant-panel-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 38ch;
}

.assistant-panel-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 47, 87, 0.07);
  border: 1px solid rgba(16, 37, 66, 0.08);
  color: var(--blue);
  font-size: 0.9rem;
  line-height: 1.4;
}

.assistant-log {
  min-height: 230px;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.assistant-log-hero {
  flex: 1;
  min-height: 260px;
  max-height: none;
  padding: 8px 10px 8px 2px;
  margin-bottom: 14px;
}

.assistant-log-bottom {
  min-height: 72px;
  max-height: 118px;
  margin-bottom: 10px;
}

.bubble {
  max-width: 85%;
  padding: 16px 18px;
  border-radius: 22px;
  line-height: 1.7;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(15, 47, 87, 0.05);
}

.bubble.leo {
  align-self: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 243, 237, 0.92));
  border: 1px solid rgba(16, 37, 66, 0.06);
}

.bubble.user {
  align-self: flex-end;
  background: linear-gradient(180deg, rgba(205, 166, 78, 0.22), rgba(182, 138, 47, 0.14));
  border: 1px solid rgba(182, 138, 47, 0.18);
}

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

.choice-grid-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 6px;
}

.choice-grid-bottom {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

.choice-grid-hero button {
  min-height: 64px;
  font-weight: 600;
  font-size: 0.98rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 232, 0.9));
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: 0 10px 20px rgba(15, 47, 87, 0.05);
}

.choice-grid-bottom button {
  min-height: 56px;
  font-size: 0.94rem;
}

.assistant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.assistant-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 14px;
}

.assistant-input-hero {
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.assistant-input-bottom {
  margin-top: 0;
}

.assistant-input-hero input {
  min-width: 0;
  min-height: 62px;
  padding: 18px 22px;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(16, 37, 66, 0.05);
}

.assistant-input input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 15px 18px;
}

.assistant-input-hero .button {
  min-height: 62px;
  min-width: 124px;
  padding-inline: 26px;
}

.assistant-panel-hero .assistant-actions {
  margin-top: 24px;
  margin-bottom: 6px;
}

.assistant-actions-bottom {
  margin-top: 10px;
}

.assistant-panel-hero .assistant-actions button {
  min-height: 54px;
  padding-inline: 20px;
}

.assistant-panel-hero .mini-note {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mini-note:empty,
.mini-note[hidden] {
  display: none;
}

.assistant-result {
  margin-top: 18px;
  width: 100%;
  order: 6;
}

.assistant-quote-progress,
.assistant-quote-results,
.assistant-handoff-card {
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(20, 54, 98, 0.08);
}

.assistant-quote-progress {
  padding: 18px 18px 16px;
}

.assistant-quote-progress-head,
.assistant-quote-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.assistant-quote-progress-head strong,
.assistant-quote-results-head strong,
.assistant-handoff-card strong {
  display: block;
  font-size: 1.02rem;
  color: var(--text);
}

.assistant-quote-progress-head span {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.assistant-quote-progress-bar {
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  background: rgba(33, 99, 209, 0.14);
  overflow: hidden;
}

.assistant-quote-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2163d1, #6aa3ff);
  transition: width 420ms ease;
}

.assistant-quote-scan {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-quote-scan-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.assistant-quote-scan-item.is-done {
  background: rgba(28, 155, 102, 0.1);
  border-color: rgba(28, 155, 102, 0.24);
  color: #0f6e56;
}

.assistant-quote-scan-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 37, 66, 0.08);
  position: relative;
  flex: 0 0 18px;
}

.assistant-quote-scan-item.is-done .assistant-quote-scan-check {
  background: #1c9b66;
}

.assistant-quote-scan-item.is-done .assistant-quote-scan-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(40deg);
}

.assistant-quote-progress-steps {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.assistant-quote-results {
  padding: 18px;
  width: 100%;
  max-width: none;
}

.assistant-quote-results-head p,
.assistant-handoff-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
  max-width: 62ch;
}

.assistant-quote-results-copy {
  display: grid;
  gap: 4px;
}

.assistant-quote-disclaimer {
  margin: 16px 0 0;
  color: #7e8aa0;
  line-height: 1.45;
  font-size: 0.82rem;
  max-width: 72ch;
}

.assistant-quote-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(33, 99, 209, 0.08);
  color: var(--text);
  line-height: 1.6;
  font-size: 0.93rem;
}

.assistant-quote-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.assistant-result .assistant-quote-results,
.top-leo-chat-panel .assistant-quote-results {
  width: min(100%, 980px);
  max-width: 980px;
}

.assistant-result .assistant-quote-grid,
.top-leo-chat-panel .assistant-quote-grid {
  grid-template-columns: minmax(0, 1fr);
}

.assistant-quote-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.assistant-quote-card.is-recommended {
  border-color: rgba(33, 99, 209, 0.28);
  box-shadow: 0 16px 32px rgba(33, 99, 209, 0.12);
}

.assistant-quote-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 37, 66, 0.08);
}

.assistant-quote-logo-box {
  width: 120px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 6px;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  flex-shrink: 0;
  flex-basis: 120px;
}

.assistant-quote-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  flex: 0 0 auto;
}

.assistant-quote-logo-box[data-carrier-logo="progressive"] .assistant-quote-logo {
  transform: none;
}

.assistant-quote-logo-box[data-carrier-logo="nationwide"] .assistant-quote-logo,
.assistant-quote-logo-box[data-carrier-logo="allstate"] .assistant-quote-logo {
  transform: scale(1.2);
  transform-origin: center center;
}

.assistant-quote-logo--text {
  width: auto;
  min-width: 220px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 37, 66, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assistant-quote-card-note,
.assistant-quote-card-payments {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.assistant-quote-card-note {
  margin-top: -4px;
}

.assistant-quote-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(16, 37, 66, 0.08);
}

.assistant-quote-card-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}

.assistant-quote-card-monthly {
  font-size: 3rem;
  font-weight: 800;
  color: #127c63;
}

.assistant-quote-card-term {
  color: #8c97aa;
  font-size: 1.1rem;
  font-weight: 700;
}

.assistant-quote-card-rating {
  display: flex;
  align-items: center;
}

.assistant-quote-card-stars {
  color: #f4b740;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

.assistant-quote-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.assistant-quote-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 37, 66, 0.08);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.assistant-quote-search {
  margin-top: 16px;
}

.assistant-quote-search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 37, 66, 0.1);
  background: #ffffff;
  color: #102542;
  font-size: 0.92rem;
}

.assistant-quote-search-empty {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(33, 99, 209, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.assistant-quote-help {
  margin-top: 16px;
}

.assistant-quote-explain.button.secondary {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
}

.assistant-coverage-compare {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 66, 0.1);
  display: grid;
  gap: 14px;
}

.assistant-coverage-compare-head {
  font-size: 0.95rem;
  font-weight: 800;
  color: #102542;
}

.assistant-coverage-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.assistant-coverage-tab {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 37, 66, 0.14);
  background: #f8fbff;
  color: #102542;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-coverage-tab.is-active {
  background: rgba(33, 99, 209, 0.12);
  border-color: rgba(33, 99, 209, 0.28);
  color: #0c447c;
}

.assistant-coverage-panel {
  display: grid;
  gap: 12px;
}

.assistant-coverage-list {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 37, 66, 0.04);
}

.assistant-coverage-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #102542;
}

.assistant-coverage-list ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(16, 37, 66, 0.88);
  font-size: 0.9rem;
  line-height: 1.5;
}

.assistant-quote-badge--recommended {
  background: rgba(33, 99, 209, 0.14);
  color: var(--blue);
}

.assistant-quote-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
  flex: 0 0 auto;
}

.assistant-quote-card-actions .assistant-quote-buy.button.primary {
  min-width: 180px;
  color: #ffffff !important;
  align-self: flex-end;
  text-decoration: none !important;
}

.assistant-quote-card-actions .assistant-quote-buy.button.primary:visited,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:hover,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:focus,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:active {
  color: #ffffff !important;
}

.assistant-quote-card-actions .assistant-quote-buy.button.primary *,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:visited *,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:hover *,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:focus *,
.assistant-quote-card-actions .assistant-quote-buy.button.primary:active * {
  color: #ffffff !important;
}

.assistant-handoff-card {
  padding: 20px 18px;
  display: grid;
  gap: 14px;
}

.assistant-quote-cta {
  justify-self: start;
}

@media (max-width: 720px) {
  .assistant-quote-card {
    padding: 16px;
  }

  .assistant-quote-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .assistant-quote-logo-box,
  .assistant-quote-logo,
  .assistant-quote-logo--text {
    width: 196px;
    min-width: 196px;
    max-height: 62px;
    min-height: 62px;
    flex-basis: 196px;
  }

  .assistant-quote-logo-box {
    width: 120px;
    min-width: 120px;
    height: 36px;
    min-height: 36px;
    padding: 5px 10px;
    flex-basis: 120px;
  }

  .assistant-quote-logo {
    width: 100%;
    height: 100%;
  }

  .assistant-quote-card-price-row {
    flex-direction: column;
    align-items: stretch;
  }

  .assistant-quote-card-actions {
    width: 100%;
    justify-content: stretch;
  }

  .assistant-quote-card-actions .assistant-quote-buy.button.primary {
    width: 100%;
    color: #ffffff;
  }
}

@media (max-width: 640px) {
  .assistant-quote-scan {
    gap: 8px;
  }

  .assistant-quote-scan-item {
    font-size: 0.75rem;
    padding: 7px 10px;
  }

  .assistant-quote-progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-quote-results,
  .assistant-quote-progress,
  .assistant-handoff-card {
    padding: 16px;
  }

  .assistant-quote-card {
    padding: 16px;
  }

  .assistant-quote-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

.field,
.field.full {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  color: var(--text);
}

.field input[type="file"] {
  padding: 12px;
  background: rgba(15, 47, 87, 0.05);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.mini-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  grid-template-columns: 1fr 0.75fr;
  padding: 54px 0 18px;
}

.page-hero--single {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.page-hero .visual-card {
  min-height: 360px;
}

.quote-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.health-hero-copy {
  max-width: 62ch;
}

.health-hero {
  align-items: center;
  padding-top: 34px;
}

.health-quote-card {
  align-self: stretch;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: 0 10px 24px rgba(16, 37, 66, 0.04);
}

.health-quote-copy {
  color: #4f6482;
  line-height: 1.75;
}

.health-quote-form {
  margin-top: 26px;
}

.health-steps-section {
  padding: 8px 24px 26px;
}

.health-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.health-step-card,
.health-factor-card {
  min-height: 100%;
}

.health-step-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 37, 66, 0.04);
}

.health-step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: #d6ad4b;
}

.health-step-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -24px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 37, 66, 0.04), transparent 68%);
}

.health-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.health-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.health-step-icon svg {
  width: 28px;
  height: 28px;
  stroke: #1e4f89;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.health-step-card .tag {
  margin-bottom: 0;
  background: rgba(214, 173, 75, 0.16);
}

.health-step-card h3 {
  margin-bottom: 12px;
}

.health-step-card p {
  color: #4f6482;
  line-height: 1.78;
  margin: 0;
}

.health-trust-strip,
.health-assistant-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.health-trust-strip span,
.health-assistant-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 63, 117, 0.08);
  color: #284d80;
  font-size: 0.92rem;
  font-weight: 600;
}

.health-article-section {
  padding-bottom: 24px;
}

.health-article-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 37, 66, 0.04);
}

.health-article-card p {
  color: #4f6482;
  line-height: 1.82;
  max-width: 72ch;
}

.canopy-embed-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.canopy-embed-copy p {
  color: #314b6d;
  line-height: 1.8;
}

.canopy-embed-shell {
  position: relative;
  min-height: 780px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 117, 0.1);
  background: #ffffff;
}

.canopy-embed-frame {
  width: 100%;
  min-height: 780px;
  border: 0;
  display: block;
  background: #ffffff;
}

.metric-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.coverage-explainer-section {
  padding-bottom: 28px;
}

body[data-page-type="auto"] .coverage-explainer-section .section-head {
  align-items: start !important;
}

body[data-page-type="auto"] .coverage-explainer-section .section-head > div {
  max-width: 760px;
}

body[data-page-type="auto"] .coverage-explainer-section .section-head > div p {
  margin: 12px 0 0;
  max-width: none;
  color: #49627f !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  white-space: nowrap;
  font-weight: 400 !important;
}

body[data-page-type="home-insurance"] .coverage-explainer-section .section-head {
  align-items: start !important;
}

body[data-page-type="home-insurance"] .coverage-explainer-section .section-head > div {
  max-width: 760px;
}

body[data-page-type="home-insurance"] .coverage-explainer-section .section-head > div p,
body[data-page-type="renters"] .coverage-explainer-section .section-head > div p,
body[data-page-type="medicare"] .coverage-explainer-section .section-head > div p,
body[data-page-type="life"] .coverage-explainer-section .section-head > div p,
body[data-page-type="group-health"] .coverage-explainer-section .section-head > div p,
body[data-page-type="commercial"] .coverage-explainer-section .section-head > div p,
body[data-page-type="health"] .coverage-explainer-section .section-head > div p {
  margin-top: 12px;
  color: #49627f !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  white-space: nowrap;
  font-weight: 400 !important;
}

body[data-page-type="auto"] .coverage-explainer-note {
  color: #49627f !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

.coverage-explainer-note {
  margin: -4px 0 22px;
  color: #314b6d;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.7;
}

.coverage-explainer {
  display: block;
  position: relative;
}

.coverage-graphic,
.coverage-explainer-panels {
  height: 100%;
}

.coverage-explainer--health {
  display: block;
}

.coverage-explainer--health .coverage-graphic,
.coverage-explainer--health .coverage-explainer-panels {
  height: 100%;
}

.coverage-explainer--health .coverage-graphic-stage {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
  margin: 0;
  background-color: #ffffff;
}

.coverage-explainer--health .coverage-explainer-panels {
  min-height: 0;
}

body[data-page-type="health"] {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

body[data-page-type="health"] .page-hero,
body[data-page-type="health"] .health-steps-section,
body[data-page-type="health"] .health-article-section,
body[data-page-type="health"] .coverage-explainer-section,
body[data-page-type="health"] .details-grid {
  background: transparent;
}

body[data-page-type="health"] .coverage-explainer-section .section-head {
  align-items: start !important;
  margin-bottom: 10px;
}

body[data-page-type="health"] .coverage-explainer-section .section-head > div {
  max-width: 760px;
}

body[data-page-type="health"] .section-head p,
body[data-page-type="health"] .coverage-explainer-note,
body[data-page-type="health"] .coverage-explainer-guide,
body[data-page-type="health"] .assistant-copy p {
  color: #5f6f86;
}

body[data-page-type="health"] .coverage-explainer-note {
  max-width: 760px;
  margin: -2px 0 22px;
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 400 !important;
}

body[data-page-type="health"] .coverage-explainer-note a {
  color: #17325c;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 50, 92, 0.2);
}

body[data-page-type="health"] .assistant-card,
body[data-page-type="health"] .coverage-panel,
body[data-page-type="health"] .detail-card,
body[data-page-type="health"] .timeline-card {
  box-shadow: 0 10px 24px rgba(16, 37, 66, 0.04);
  border-color: rgba(16, 37, 66, 0.08);
}

.coverage-graphic-toolbar {
  max-width: 360px;
  margin: 0 0 18px;
}

.coverage-graphic {
  position: relative;
  width: 100%;
  overflow: visible;
  isolation: isolate;
}

.coverage-graphic-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 16px 34px rgba(43, 91, 154, 0.06);
  background-color: #f6f8fb;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.coverage-graphic-label {
  display: none;
}

.coverage-hotspot {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  background: #f2c94c;
  border: 1px solid #d6ad4b;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 0 rgba(242, 201, 76, 0.55);
  animation: hotspot-pulse 1.8s ease-out infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.coverage-hotspot::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}

.coverage-hotspot[hidden] {
  display: none;
}

.coverage-hotspot.is-active {
  background: #e0b23d;
  border-color: #c79d3a;
  animation-duration: 1.2s;
}

.coverage-hotspot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff7dc;
  opacity: 0.9;
  z-index: -1;
}

@keyframes hotspot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 201, 76, 0.55);
    transform: scale(1);
  }

  55% {
    box-shadow: 0 0 0 8px rgba(242, 201, 76, 0);
    transform: scale(1.06);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(242, 201, 76, 0);
    transform: scale(1);
  }
}

.coverage-hotspot.hotspot-1 {
  top: 90px;
  left: 24px;
}

.coverage-hotspot.hotspot-2 {
  top: 170px;
  right: 24px;
}

.coverage-hotspot.hotspot-3 {
  bottom: 140px;
  left: 34px;
}

.coverage-hotspot.hotspot-4 {
  bottom: 54px;
  right: 26px;
}

.coverage-hotspot.hotspot-5 {
  top: 52%;
  left: 52%;
}

.coverage-hotspot.hotspot-6 {
  top: 68%;
  right: 24%;
}

.coverage-hotspot.hotspot-7 {
  bottom: 20%;
  left: 46%;
}

.coverage-hotspot.hotspot-8 {
  top: 34%;
  left: 40%;
}

.coverage-graphic--auto .coverage-graphic-stage {
  background-image: url("../graphics/auto%20scene.png");
}

.coverage-graphic--home .coverage-graphic-stage {
  background-image: url("../graphics/home-miami-luxury.png");
}

.coverage-graphic--health .coverage-graphic-stage {
  background-image: url("../graphics/health.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.coverage-graphic--renters .coverage-graphic-stage {
  background-image: url("../graphics/renters.png");
}

.coverage-graphic--medicare .coverage-graphic-stage {
  background-image: linear-gradient(180deg, rgba(16, 33, 58, 0.04), rgba(16, 33, 58, 0.12)), url("../graphics/medicare-guide-couple.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.coverage-graphic--commercial .coverage-graphic-stage {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80");
  aspect-ratio: 3 / 2;
}

.coverage-graphic--group-health .coverage-graphic-stage {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80");
}

.coverage-graphic--life .coverage-graphic-stage {
  background-image: linear-gradient(180deg, rgba(16, 33, 58, 0.04), rgba(16, 33, 58, 0.1)), url("../graphics/life-family-warmth.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.coverage-graphic--auto .hotspot-1 {
  top: 57%;
  left: 15%;
}

.coverage-graphic--auto .hotspot-2 {
  top: 60%;
  left: 49%;
}

.coverage-graphic--auto .hotspot-3 {
  top: 54%;
  left: 82%;
  right: auto;
}

.coverage-graphic--auto .hotspot-4 {
  top: 56%;
  left: 94%;
  right: auto;
}

.coverage-graphic--auto .hotspot-5 {
  top: 58%;
  left: 68%;
  right: auto;
}

.coverage-graphic--home .hotspot-1 {
  top: 36%;
  left: 54%;
}

.coverage-graphic--home .hotspot-2 {
  top: 64%;
  left: 62%;
}

.coverage-graphic--home .hotspot-3 {
  top: 61%;
  left: 70%;
}

.coverage-graphic--home .hotspot-4 {
  top: 50%;
  left: 46%;
}

.coverage-graphic--health .hotspot-1 {
  top: 28%;
  left: 38%;
}

.coverage-graphic--health .hotspot-2 {
  top: 24%;
  right: 18%;
}

.coverage-graphic--health .hotspot-3 {
  bottom: 24%;
  left: 46%;
}

.coverage-graphic--health .hotspot-4 {
  bottom: 14%;
  right: 12%;
}

.coverage-graphic--renters .hotspot-1 {
  top: 60%;
  left: 69%;
}

.coverage-graphic--renters .hotspot-2 {
  top: 48%;
  left: 43%;
  right: auto;
}

.coverage-graphic--renters .hotspot-3 {
  bottom: 15%;
  left: 20%;
}

.coverage-graphic--renters .hotspot-4 {
  top: 38%;
  left: 15%;
  right: auto;
}

.coverage-graphic--medicare .hotspot-1 {
  top: 22%;
  left: 24%;
}

.coverage-graphic--medicare .hotspot-2 {
  top: 31%;
  left: 66%;
  right: auto;
}

.coverage-graphic--medicare .hotspot-3 {
  top: 72%;
  left: 61%;
}

.coverage-graphic--medicare .hotspot-4 {
  top: 64%;
  left: 18%;
  right: auto;
}

.coverage-graphic--commercial .hotspot-1 {
  top: 30%;
  left: 16%;
}

.coverage-graphic--commercial .hotspot-2 {
  top: 34%;
  right: 18%;
}

.coverage-graphic--commercial .hotspot-3 {
  bottom: 24%;
  left: 24%;
}

.coverage-graphic--commercial .hotspot-4 {
  bottom: 22%;
  right: 15%;
}

.coverage-graphic--group-health .hotspot-1 {
  top: 44%;
  left: 49%;
}

.coverage-graphic--group-health .hotspot-2 {
  top: 26%;
  right: 25%;
}

.coverage-graphic--group-health .hotspot-3 {
  bottom: 24%;
  left: 26%;
}

.coverage-graphic--group-health .hotspot-4 {
  bottom: 22%;
  right: 34%;
}

.coverage-graphic--life .hotspot-1 {
  top: 72%;
  left: 14%;
}

.coverage-graphic--life .hotspot-2 {
  top: 18%;
  left: 12%;
}

.coverage-graphic--life .hotspot-3 {
  top: 55%;
  left: 35%;
}

.coverage-graphic--life .hotspot-4 {
  top: 18%;
  right: 12%;
}

.coverage-graphic--life .hotspot-5 {
  bottom: 10%;
  left: 38%;
}

.coverage-graphic--life .hotspot-6 {
  bottom: 16%;
  right: 10%;
}

.coverage-explainer-panels {
  display: none;
}

.coverage-panel {
  display: none !important;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 14px 32px rgba(43, 91, 154, 0.05);
  min-height: 0;
  height: auto;
  overflow: auto;
}

.coverage-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  color: #0f2f57;
}

.coverage-panel-intro {
  margin: -4px 0 18px;
  color: #4f6482;
  line-height: 1.7;
}

.coverage-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.coverage-panel-grid > div {
  padding: 22px;
  border-radius: 22px;
  background: #f9fbff;
  border: 1px solid rgba(23, 63, 117, 0.08);
}

.coverage-panel-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #0f2f57;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coverage-panel-grid p {
  margin: 0;
  color: #314b6d;
  line-height: 1.8;
}

.coverage-popup[hidden] {
  display: none;
}

.coverage-popup {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}

.coverage-popup-dialog {
  position: absolute;
  width: min(380px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 22px 60px rgba(15, 47, 87, 0.18);
  border-radius: 24px;
  pointer-events: auto;
}

.coverage-popup.is-mobile .coverage-popup-dialog {
  transform: none;
}

.coverage-popup-body {
  padding: 24px 22px 20px;
}

.coverage-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f7fc;
  color: #0f2f57;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.coverage-popup-body h3 {
  margin: 0 24px 18px 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-display);
  color: #0f2f57;
}

.coverage-popup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.coverage-popup-grid > div {
  padding: 16px;
  border-radius: 18px;
  background: #f9fbff;
  border: 1px solid rgba(23, 63, 117, 0.08);
}

.coverage-popup-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2f57;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coverage-popup-grid p {
  margin: 0;
  color: #314b6d;
  line-height: 1.7;
}

.metric {
  min-width: 160px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.footer {
  padding: 28px 24px 40px;
}

.footer-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: 28px;
  background: rgba(15, 47, 87, 0.96);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
}

.floating-leo {
  display: none !important;
}

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

@keyframes pulse-bars {
  0%, 100% {
    height: 10px;
    opacity: 0.45;
  }

  50% {
    height: 30px;
    opacity: 1;
  }
}

@keyframes lip-idle {
  0%, 100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.7);
  }
}

@keyframes pulse-ring {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.7;
  }
}

@media (max-width: 1080px) {
  .chatbot-shell,
  .hero-shell,
  .hero-live,
  .hero-grid,
  .page-hero,
  .assistant-card,
  .coverage-grid,
  .details-grid,
  .contact-grid,
  .about-grid,
  .docs-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy-premium {
    min-height: auto;
  }

  .hero-live {
    grid-template-columns: 1fr;
  }

  .assistant-panel-hero {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: -120px;
  }

  .hero-fullstage {
    min-height: auto;
    padding: 110px 24px 24px;
  }

  .hero-copy-overlay {
    position: relative;
    left: auto;
    top: auto;
    max-width: none;
    margin: 0 24px 24px;
  }

  .assistant-panel-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .live-stage-dock {
    bottom: 24px;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 40px;
  }

  .chatbot-hero {
    padding-top: 28px;
  }

  .chatbot-copy {
    padding-top: 0;
  }

  .chatbot-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .chatbot-copy h1 {
    max-width: none;
  }

  .trust-strip {
    gap: 12px;
    font-size: 0.82rem;
  }

  .health-trust-strip,
  .health-assistant-points {
    gap: 8px;
  }

  .health-trust-strip span,
  .health-assistant-points span {
    width: 100%;
    justify-content: center;
  }

  .chatbot-panel-head {
    flex-direction: column;
  }

  .assistant-log-chatbot {
    min-height: 320px;
  }

  .hero-fullscreen {
    padding: 0;
  }

  .hero-fullstage {
    min-height: auto;
    padding: 96px 16px 20px;
  }

  .hero-copy-premium,
  .hero-copy-overlay,
  .assistant-panel-hero,
  .live-stage {
    min-height: auto;
  }

  .assistant-panel-hero {
    margin-top: 18px;
    padding: 24px 22px 20px;
  }

  .hero-copy-overlay {
    margin: 0 0 18px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .visual-card,
  .page-hero .visual-card {
    min-height: 460px;
  }

  .live-stage-screen {
    min-height: 440px;
  }

  .live-stage-video {
    padding: 34px 22px 160px;
  }

  .live-stage-dock,
  .live-stage-top,
  .live-stage-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .assistant-log-bottom {
    max-height: 96px;
  }

  .avatar-centerpiece {
    min-height: 220px;
  }

  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .coverage-explainer {
    display: block;
  }

  .coverage-panel-grid {
    grid-template-columns: 1fr;
  }

  .coverage-graphic-stage {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .coverage-explainer--health .coverage-explainer-panels,
  .coverage-panel {
    min-height: auto;
    height: auto;
  }

  .coverage-popup-dialog {
    width: min(380px, calc(100% - 24px));
    margin: 0;
  }

  .coverage-popup-body {
    padding: 24px 18px 20px;
  }

  .coverage-popup-grid {
    grid-template-columns: 1fr;
  }

  .canopy-embed-card {
    grid-template-columns: 1fr;
  }

  .canopy-embed-shell,
  .canopy-embed-frame {
    min-height: 680px;
  }

  .floating-leo {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .footer-shell {
    padding: 22px;
  }

  .brand-logo {
    width: 108px;
    height: 108px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
    white-space: normal;
  }

  .brand-logo-footer {
    width: 92px;
    height: 92px;
  }
}

/* Final button and chat surface overrides to remove legacy translucent styles site-wide. */
.nav-cta,
.button.primary,
.choice-grid button,
.assistant-actions .primary,
.assistant-input .button.primary,
.form-actions .button.primary {
  background: var(--gold) !important;
  color: #0f2f57 !important;
  border: 1px solid #c79d3a !important;
  box-shadow: none !important;
  font-weight: 700;
}

.button.secondary,
.assistant-actions .secondary,
.contact-actions a,
.chip-button,
.form-actions .button.secondary {
  background: #edf5ff !important;
  color: var(--blue) !important;
  border: 1px solid rgba(23, 63, 117, 0.14) !important;
  box-shadow: none !important;
  font-weight: 700;
}

.choice-grid-hero button,
.choice-grid-bottom button {
  background: #edf5ff !important;
  color: var(--blue) !important;
  border: 1px solid rgba(23, 63, 117, 0.14) !important;
  box-shadow: none !important;
}

.language-chip {
  background: #ffffff !important;
  border: 1px solid rgba(23, 63, 117, 0.12) !important;
  box-shadow: none !important;
}

.language-chip.is-active {
  background: var(--blue) !important;
  color: #ffffff !important;
}

.bubble {
  box-shadow: none !important;
}

.bubble.leo {
  background: #fffaf0 !important;
  border: 1px solid rgba(214, 173, 75, 0.24) !important;
  color: #163457 !important;
}

.bubble.user {
  background: #1f4f90 !important;
  border: 1px solid #1f4f90 !important;
  color: #ffffff !important;
}

/* Full-screen luxury redesign overrides */
:root {
  --max-width: 1240px;
  --shadow: 0 16px 30px rgba(16, 37, 66, 0.04);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 173, 75, 0.08), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(43, 91, 154, 0.06), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fffefb 46%, #ffffff 100%) !important;
}

.topbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(16, 37, 66, 0.035);
}

.nav {
  max-width: 1240px;
  min-height: 116px;
  padding: 8px 22px !important;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  gap: 12px;
}

.brand-logo {
  width: 148px !important;
  height: 148px !important;
}

.nav-links {
  gap: 22px !important;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #244a7c !important;
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
}

.container {
  max-width: var(--max-width) !important;
  padding: 0 clamp(20px, 3vw, 32px) !important;
}

section {
  padding: clamp(22px, 3.4vw, 42px) 0 !important;
}

.eyebrow {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--gold) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
}

.chatbot-hero {
  padding: clamp(34px, 5vw, 56px) 0 26px !important;
  min-height: auto;
  display: flex;
  align-items: center;
  background: #ffffff !important;
}

.chatbot-hero::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 250, 255, 0.75)) !important;
}

.chatbot-shell {
  grid-template-columns: minmax(280px, 0.94fr) minmax(420px, 1.06fr) !important;
  gap: clamp(20px, 3vw, 34px) !important;
  align-items: start !important;
}

.chatbot-copy {
  padding-top: 6px !important;
}

.chatbot-copy h1 {
  max-width: 9ch !important;
  font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
}

.chatbot-copy p {
  max-width: 44ch !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.hero-actions,
.language-strip,
.trust-strip {
  margin-top: 16px !important;
}

.trust-strip {
  gap: 8px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
}

.trust-strip span {
  padding: 4px 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #345882 !important;
}

.chatbot-panel,
.top-leo-chat-panel {
  padding: 18px 18px 16px !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 37, 66, 0.08) !important;
  box-shadow: 0 14px 38px rgba(16, 37, 66, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
}

.chatbot-panel-head strong,
.assistant-panel-head strong {
  font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
  line-height: 1.05 !important;
}

.chatbot-panel-head p,
.assistant-panel-head p,
.assistant-copy p,
.top-leo-chat-copy p {
  color: #45607f !important;
  line-height: 1.55 !important;
  font-size: 0.92rem !important;
}

.chatbot-panel-head,
.assistant-panel-head {
  margin-bottom: 12px !important;
  gap: 10px !important;
}

.assistant-log-chatbot,
.top-leo-chat-section .assistant-log {
  min-height: 320px !important;
  max-height: 320px !important;
  padding: 2px 2px 2px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 10px !important;
}

.home-chat-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.home-chat-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.home-chat-avatar-wrap {
  position: relative;
}

.home-chat-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2163d1 0%, #194fab 100%);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(33, 99, 209, 0.22);
}

.home-chat-online-dot {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #19c37d;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.45);
  animation: leo-online-pulse 1.6s ease-out infinite;
}

.home-chat-profile-copy {
  text-align: center;
}

.home-chat-profile-copy strong {
  display: block;
  font-size: 1rem;
  color: #102542;
}

.home-chat-profile-copy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #1b7f57;
  font-size: 0.85rem;
  font-weight: 700;
}

.home-chat-profile-copy p {
  margin: 8px 0 0;
  color: #60728d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.home-chat-main {
  display: flex;
  flex-direction: column;
}

.assistant-input-chatbot {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.assistant-input-chatbot input {
  min-height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(16, 37, 66, 0.12);
  padding: 12px 14px;
}

.assistant-input-chatbot .button {
  min-width: 78px;
}

.assistant-actions-chatbot {
  margin-top: 12px !important;
}

.chatbot-panel-head .status-pill {
  background: #eff5ff;
  color: #2163d1;
  border: 1px solid rgba(33, 99, 209, 0.12);
}

.home-chat-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.home-chat-intro h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #102542;
}

.home-chat-intro p {
  max-width: 58ch;
  margin: 0 auto;
  color: #60728d;
  line-height: 1.7;
}

.bubble.leo {
  background: #eefaf2;
  border: 1px solid rgba(31, 138, 76, 0.14);
  color: #1b5e37;
}

.bubble.user {
  background: #2163d1;
  color: #ffffff;
  border: 1px solid #2163d1;
}

@keyframes leo-online-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(25, 195, 125, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(25, 195, 125, 0);
  }
}

.assistant-input-chatbot input,
.top-leo-chat-panel .assistant-input input {
  min-height: 46px;
  border-radius: 12px !important;
  border: 1px solid rgba(23, 63, 117, 0.14) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font-size: 0.92rem !important;
}

.assistant-input,
.assistant-input-chatbot {
  gap: 8px !important;
}

body[data-page-type="home"] .chatbot-hero {
  background: #ffffff !important;
  border-top: 1px solid rgba(16, 37, 66, 0.08);
}

body[data-page-type="home"] .chatbot-hero::before {
  background: none !important;
}

body[data-page-type="home"] .chatbot-shell {
  grid-template-columns: minmax(0, 760px) !important;
  justify-content: center !important;
  gap: 0 !important;
}

body[data-page-type="home"] .chatbot-copy,
body[data-page-type="home"] .home-chat-profile {
  display: none !important;
}

body[data-page-type="home"] .chatbot-panel {
  width: 100%;
  padding: 20px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 37, 66, 0.08) !important;
  box-shadow: 0 12px 32px rgba(16, 37, 66, 0.05) !important;
}

body[data-page-type="home"] .button.primary,
body[data-page-type="home"] .assistant-input .button.primary,
body[data-page-type="home"] .form-actions .button.primary,
body[data-page-type="home"] .choice-grid button {
  color: #2163d1 !important;
  background: #f4f8ff !important;
  border: 1px solid rgba(33, 99, 209, 0.12) !important;
  box-shadow: none !important;
}

body[data-page-type="home"] .eyebrow {
  color: #1f8a4c !important;
}

body[data-page-type="home"] .chatbot-panel-head {
  margin-bottom: 16px !important;
  justify-content: center !important;
  text-align: center !important;
}

body[data-page-type="home"] .chatbot-presence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

body[data-page-type="home"] .chatbot-panel-head strong {
  font-size: 1.1rem !important;
  letter-spacing: -0.01em;
}

body[data-page-type="home"] .chatbot-panel-head p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  color: #1f8a4c !important;
  font-weight: 600;
}

body[data-page-type="home"] .assistant-log-chatbot {
  min-height: 320px !important;
  max-height: 320px !important;
}

body[data-page-type="home"] .choice-grid-chatbot {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body[data-page-type="home"] .choice-grid-chatbot button,
body[data-page-type="home"] .choice-grid-chatbot a {
  min-height: 38px !important;
  padding: 8px 12px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

body[data-page-type="home"] .assistant-input-chatbot {
  margin-top: 10px !important;
  grid-template-columns: 1fr auto !important;
}

body[data-page-type="home"] .assistant-input-chatbot input {
  min-height: 42px !important;
  border-radius: 12px !important;
  padding: 11px 13px !important;
}

body[data-page-type="home"] .assistant-input-chatbot .button {
  min-width: 74px;
  min-height: 42px;
  background: #2163d1 !important;
  color: #ffffff !important;
  border-color: #2163d1 !important;
}

body[data-page-type="home"] .assistant-actions-chatbot {
  margin-top: 10px !important;
}

body[data-page-type="home"] .trust-strip {
  display: none !important;
}

body[data-page-type="home"] .home-chat-avatar-wrap {
  margin-bottom: 4px;
}

body[data-page-type="home"] .home-chat-avatar {
  width: 62px;
  height: 62px;
  font-size: 1.35rem;
}

.top-leo-chat-section {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.top-leo-chat-shell {
  display: block;
}

.top-leo-chat-section .assistant-card {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.66fr) minmax(0, 1.34fr);
  gap: 20px;
  align-items: start;
}

.top-leo-chat-copy {
  padding: 4px 0 0 !important;
  max-width: 420px;
}

.top-leo-chat-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.top-leo-chat-panel .assistant-upload {
  margin-top: 10px;
}

.top-leo-chat-panel .assistant-upload span {
  display: block;
  margin-bottom: 6px;
  color: #58708d;
  font-size: 0.82rem;
}

.home-sales-band {
  padding-top: 0 !important;
}

.section-head {
  align-items: end !important;
  margin-bottom: 18px !important;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem) !important;
  line-height: 1.04 !important;
}

.section-head p {
  max-width: 40ch;
  color: #49627f !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.coverage-grid,
.details-grid,
.contact-grid,
.about-grid,
.docs-grid,
.timeline-grid {
  gap: 18px !important;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.details-grid,
.contact-grid,
.about-grid,
.docs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.coverage-card,
.detail-card,
.form-card,
.contact-card,
.about-card,
.doc-card,
.timeline-card,
.health-step-card,
.health-article-card,
.canopy-embed-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(23, 63, 117, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px 0 0 !important;
}

.coverage-card::after,
.detail-card::after,
.form-card::after,
.contact-card::after,
.about-card::after,
.doc-card::after,
.timeline-card::after,
.health-step-card::after {
  display: none !important;
}

.coverage-card .tag,
.detail-card .tag,
.doc-card .tag,
.health-step-card .tag {
  background: transparent !important;
  border: 0 !important;
  color: var(--gold) !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}

.coverage-card h3,
.detail-card h3,
.form-card h3,
.contact-card h3,
.about-card h3,
.doc-card h3,
.timeline-card h3,
.health-step-card h3,
.health-article-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  line-height: 1.1;
}

.coverage-card p,
.detail-card p,
.form-card p,
.contact-card p,
.about-card p,
.doc-card p,
.timeline-card p,
.health-step-card p,
.health-article-card p,
.canopy-embed-copy p {
  color: #4c6480 !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.page-hero {
  grid-template-columns: 1fr !important;
  max-width: 1240px !important;
  padding: 14px 0 4px !important;
}

.page-hero > div,
.health-hero-copy {
  max-width: 640px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.metric-row,
.quote-strip,
.contact-actions,
.health-trust-strip,
.health-assistant-points {
  gap: 10px !important;
}

.metric {
  padding-right: 10px;
}

.metric span {
  color: #617791;
  font-size: 0.84rem !important;
}

.canopy-embed-card {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr) !important;
  gap: 24px !important;
}

.canopy-embed-shell {
  border-radius: 16px !important;
  box-shadow: 0 14px 28px rgba(16, 37, 66, 0.06);
}

.coverage-explainer-section {
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.coverage-explainer-note {
  margin: 2px 0 12px !important;
  color: #355274 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

.coverage-explainer-panels {
  display: none !important;
}

.coverage-graphic-toolbar .field {
  max-width: 340px;
}

.coverage-graphic-toolbar .field span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.coverage-graphic-toolbar select {
  border-radius: 12px;
  border: 1px solid rgba(23, 63, 117, 0.12);
  background: #ffffff;
  min-height: 44px;
}

.coverage-graphic-stage {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 37, 66, 0.06);
}

.coverage-popup-dialog {
  border-radius: 16px !important;
  border: 1px solid rgba(23, 63, 117, 0.1) !important;
  box-shadow: 0 16px 34px rgba(16, 37, 66, 0.09) !important;
}

.contact-grid {
  align-items: start;
}

.field input,
.field select,
.field textarea {
  border-radius: 12px !important;
  border: 1px solid rgba(23, 63, 117, 0.14) !important;
  background: #ffffff !important;
}

.footer {
  background: transparent !important;
  border-top: 0 !important;
  padding-top: 4px;
}

.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(20px, 3vw, 32px) 28px !important;
  border-top: 1px solid rgba(23, 63, 117, 0.08);
}

@media (max-width: 1120px) {
  .chatbot-shell,
  .top-leo-chat-shell,
  .coverage-grid,
  .details-grid,
  .contact-grid,
  .about-grid,
  .docs-grid,
  .timeline-grid,
  .canopy-embed-card {
    grid-template-columns: 1fr !important;
  }

  .chatbot-hero {
    min-height: auto;
  }

  .chatbot-copy h1 {
    max-width: 10ch !important;
  }
}

@media (max-width: 720px) {
  section {
    padding: 20px 0;
  }

  .nav {
    min-height: auto;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 108px;
    height: 108px;
  }

  .nav-links {
    gap: 10px !important;
    justify-content: center;
    flex-wrap: wrap;
  }

  .chatbot-panel,
  .top-leo-chat-panel {
    padding: 14px !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  .home-chat-shell {
    grid-template-columns: 1fr;
  }

  .home-chat-profile {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .home-chat-profile-copy {
    text-align: left;
  }

  .assistant-log-chatbot,
  .top-leo-chat-section .assistant-log {
    min-height: 170px !important;
  }
}

/* Final shared chat system */
.assistant-actions,
.assistant-actions-chatbot {
  display: none !important;
}

.assistant-actions.is-visible {
  display: flex !important;
  justify-content: flex-end;
}

.chatbot-panel,
.top-leo-chat-panel,
.assistant-panel {
  background: #ffffff !important;
  border: 1px solid rgba(23, 63, 117, 0.1) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 44px rgba(15, 36, 68, 0.08) !important;
}

.assistant-log-chatbot,
.top-leo-chat-section .assistant-log {
  min-height: 240px !important;
  background: #f8fbff !important;
  border: 1px solid rgba(23, 63, 117, 0.08) !important;
  border-radius: 18px !important;
  padding: 16px !important;
}

.bubble.leo {
  background: #eefaf2 !important;
  border: 1px solid rgba(31, 138, 76, 0.16) !important;
  color: #1d5f3a !important;
}

.bubble.user {
  background: #2163d1 !important;
  border-color: #2163d1 !important;
  color: #ffffff !important;
}

.bubble.typing {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #54716a !important;
  font-style: italic;
}

.choice-grid,
.choice-grid-chatbot {
  gap: 10px !important;
}

.choice-grid button,
.choice-grid a,
.assistant-input .button.primary,
.assistant-input-chatbot .button.primary,
.assistant-actions .primary {
  min-height: 40px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

.choice-grid button,
.choice-grid a {
  background: #ffffff !important;
  color: #173f75 !important;
  border: 1px solid rgba(33, 99, 209, 0.18) !important;
  box-shadow: none !important;
}

.assistant-select-shell {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 30;
  pointer-events: auto;
}

.assistant-select-label {
  color: #58708e;
  font-size: 0.82rem;
  font-weight: 700;
}

.assistant-consent-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(23, 63, 117, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: #173f75;
}

.assistant-consent-checkbox {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.assistant-consent-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #284766;
}

.assistant-brand-search {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(23, 63, 117, 0.12);
  background: #ffffff;
  color: #173f75;
  font-size: 0.9rem;
}

.assistant-brand-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.assistant-brand-alpha-button {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(33, 99, 209, 0.16);
  background: #fff;
  color: #173f75;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 13;
  pointer-events: auto;
}

.assistant-brand-alpha-button.is-active {
  background: #2163d1;
  border-color: #2163d1;
  color: #fff;
}

.assistant-brand-grid,
.assistant-model-grid {
  display: grid;
  gap: 10px;
}

.assistant-brand-button-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  position: relative;
  z-index: 30;
  pointer-events: auto;
}

.assistant-brand-rail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.assistant-brand-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.assistant-brand-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 8);
  gap: 6px;
  width: max-content;
  min-width: 100%;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.assistant-model-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-year-layout {
  display: grid;
  gap: 14px;
}

.assistant-year-block {
  display: grid;
  gap: 8px;
}

.assistant-year-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 63, 117, 0.14);
  background: #ffffff;
  color: #173f75;
  font-weight: 700;
}

.assistant-year-toggle-plus {
  font-size: 1.1rem;
  line-height: 1;
}

.assistant-year-toggle.is-open .assistant-year-toggle-plus {
  transform: rotate(45deg);
}

.assistant-year-submenu {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(23, 63, 117, 0.1);
  border-radius: 16px;
  background: rgba(247, 251, 255, 0.92);
}

.assistant-year-submenu[hidden] {
  display: none !important;
}

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

.assistant-year-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.assistant-year-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-height: 228px;
  overflow-y: auto;
  padding-right: 4px;
}

.assistant-year-grid--compact::-webkit-scrollbar {
  width: 6px;
}

.assistant-year-grid--compact::-webkit-scrollbar-thumb {
  background: rgba(23, 63, 117, 0.16);
  border-radius: 999px;
}

.assistant-year-chip {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(33, 99, 209, 0.18);
  background: #ffffff;
  color: #173f75;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.assistant-year-chip.is-featured {
  min-height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96));
  border-color: rgba(33, 99, 209, 0.22);
  font-size: 0.97rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(23, 63, 117, 0.08);
}

.assistant-brand-card,
.assistant-model-chip,
.assistant-year-chip {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(33, 99, 209, 0.18);
  background: #ffffff;
  color: #173f75;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.assistant-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  max-width: none;
  min-height: 120px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(33, 99, 209, 0.1);
  box-shadow: 0 6px 18px rgba(23, 63, 117, 0.04);
  align-content: center;
  scroll-snap-align: start;
  overflow: hidden;
  z-index: 14;
  pointer-events: auto;
  width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.assistant-brand-card:hover,
.assistant-model-chip:hover,
.assistant-year-chip:hover {
  border-color: #2163d1;
  background: #f7fbff;
  transform: translateY(-1px);
}

.assistant-brand-card-media {
  width: 100%;
  min-width: 0;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.assistant-brand-card-logo {
  width: 100%;
  max-width: 78px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center;
  pointer-events: none;
}

.assistant-brand-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  color: #173f75;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  pointer-events: none;
}

.assistant-brand-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33, 99, 209, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #2163d1;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 63, 117, 0.06);
  position: relative;
  z-index: 14;
  pointer-events: auto;
}

.assistant-brand-viewport::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .assistant-brand-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-brand-viewport {
    overflow-x: auto;
  }

  .assistant-brand-nav {
    display: none;
  }

  .assistant-brand-card {
    min-height: 98px;
    padding: 12px 10px;
  }

  .assistant-brand-card-logo {
    max-width: 62px;
    height: 30px;
  }

  .assistant-brand-card-label {
    font-size: 0.72rem;
  }

  .assistant-brand-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    min-width: 0;
  }

  .assistant-brand-button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assistant-year-grid,
  .assistant-year-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assistant-year-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

.local-landing-card {
  border: 1px solid rgba(42, 86, 160, 0.14);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(20, 55, 104, 0.07);
  padding: 28px;
}

.local-landing-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.local-landing-card p {
  margin: 0;
  color: var(--ink-muted);
}

.local-landing-band {
  margin: 22px auto 56px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.78), #fff);
  border: 1px solid rgba(42, 86, 160, 0.12);
  box-shadow: 0 18px 52px rgba(20, 55, 104, 0.08);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.local-landing-band-copy h2 {
  margin: 8px 0 12px;
}

.local-landing-band-copy p {
  margin: 0;
  color: var(--ink-muted);
}

.local-landing-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.local-landing-checklist li {
  border: 1px solid rgba(42, 86, 160, 0.12);
  border-radius: 18px;
  padding: 14px 16px 14px 42px;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  color: var(--ink);
}

.local-landing-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--brand-blue);
  font-weight: 700;
}

.location-faq-section {
  margin: 20px auto 56px;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  border: 1px solid rgba(42, 86, 160, 0.12);
  box-shadow: 0 18px 52px rgba(20, 55, 104, 0.08);
}

.location-faq-intro {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--ink-muted);
}

.location-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.location-faq-item {
  border: 1px solid rgba(42, 86, 160, 0.12);
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.94);
}

.location-faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.location-faq-item p {
  margin: 10px 0 0;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .local-landing-grid {
    grid-template-columns: 1fr;
  }

  .local-landing-band {
    grid-template-columns: 1fr;
    padding: 24px;
    margin-bottom: 40px;
  }

  .location-faq-section {
    padding: 24px;
  }

  .location-faq-grid {
    grid-template-columns: 1fr;
  }
}

.assistant-brand-card-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(23, 63, 117, 0.08);
  color: #173f75;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.assistant-model-chip {
  font-size: 0.82rem;
  font-weight: 700;
}

.assistant-select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(33, 99, 209, 0.18);
  background: #ffffff;
  color: #173f75;
  font-size: 0.94rem;
  font-weight: 600;
  outline: none;
}

.assistant-select:focus {
  border-color: #2163d1;
}

.assistant-select-confirm {
  justify-self: start;
  min-height: 42px;
  padding: 10px 16px;
  background: #2163d1 !important;
  border: 1px solid #2163d1 !important;
  color: #ffffff !important;
  pointer-events: auto;
  opacity: 1 !important;
}

.choice-grid .assistant-select-confirm,
.choice-grid-chatbot .assistant-select-confirm {
  background: #2163d1 !important;
  border: 1px solid #2163d1 !important;
  color: #ffffff !important;
}

.assistant-select-confirm[aria-disabled="true"] {
  background: #7ea8ea !important;
  border-color: #7ea8ea !important;
  color: #ffffff !important;
}

.assistant-select-confirm.is-ready {
  background: #2163d1 !important;
  border-color: #2163d1 !important;
  color: #ffffff !important;
}

.assistant-input .button.primary,
.assistant-input-chatbot .button.primary {
  background: #2163d1 !important;
  color: #ffffff !important;
  border: 1px solid #2163d1 !important;
  box-shadow: none !important;
}

.assistant-input,
.assistant-input-chatbot {
  gap: 10px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 90 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 22%, #ffffff 100%) !important;
  padding-top: 10px !important;
}

.assistant-input input,
.assistant-input-chatbot input {
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(23, 63, 117, 0.12) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.bl-address-suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 0.5px solid rgba(12, 68, 124, 0.2);
  border-radius: 10px;
  box-shadow: 0 -4px 20px rgba(12, 68, 124, 0.12);
  margin-bottom: 6px;
  overflow: hidden;
  z-index: 999;
  max-height: 240px;
  overflow-y: auto;
}

.bl-address-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 13px;
  cursor: pointer;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  transition: background 0.12s;
}

.bl-address-suggestion:last-child {
  border-bottom: none;
}

.bl-address-suggestion:hover,
.bl-address-suggestion.is-active {
  background: #e6f1fb;
}

.bl-address-suggestion-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.bl-address-suggestion-main {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}

.bl-address-suggestion-secondary {
  font-size: 11.5px;
  color: #9aa0ad;
  margin-top: 1px;
}

.top-leo-chat-section {
  padding-top: 22px !important;
}

.top-leo-chat-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) !important;
  justify-content: center !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.top-leo-chat-section .assistant-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.top-leo-chat-copy {
  background: #ffffff !important;
  border: 1px solid rgba(23, 63, 117, 0.08) !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 12px 34px rgba(15, 36, 68, 0.05) !important;
  text-align: center !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.top-leo-chat-copy .eyebrow {
  color: #1f8a4c !important;
  text-transform: uppercase;
}

.top-leo-chat-copy h2 {
  font-size: clamp(1.65rem, 2vw, 2.2rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 12px !important;
}

.top-leo-chat-panel {
  max-width: 980px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.top-leo-chat-panel .chatbot-panel-head {
  margin-bottom: 16px !important;
  justify-content: center !important;
  text-align: center !important;
}

.top-leo-chat-panel .chatbot-presence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.top-leo-chat-panel .chatbot-panel-head strong {
  font-size: 1.1rem !important;
  letter-spacing: -0.01em;
}

.top-leo-chat-panel .chatbot-panel-head p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  color: #1f8a4c !important;
  font-weight: 600;
}

.top-leo-chat-panel .home-chat-avatar-wrap {
  margin-bottom: 4px;
}

.top-leo-chat-panel .home-chat-avatar {
  width: 62px;
  height: 62px;
  font-size: 1.35rem;
}

.assistant-upload {
  display: none !important;
}

.assistant-upload-hint {
  display: none;
  position: absolute;
  right: 58px;
  bottom: calc(100% + 12px);
  max-width: 240px;
  padding: 11px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1b3f73 0%, #102c54 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 16px 36px rgba(11, 31, 59, 0.24);
  z-index: 3;
}

.assistant-upload-hint::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 100%;
  width: 14px;
  height: 14px;
  background: #102c54;
  transform: translateY(-7px) rotate(45deg);
  border-radius: 2px;
}

.assistant-upload-hint.is-visible {
  display: block;
}

.assistant-upload-trigger {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #2163d1;
  border-radius: 14px;
  background: linear-gradient(180deg, #2e7cf6 0%, #2163d1 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(33, 99, 209, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.assistant-upload-trigger.is-visible {
  display: inline-flex;
}

.assistant-upload-trigger:hover,
.assistant-upload-trigger:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(33, 99, 209, 0.28);
  outline: none;
}

.assistant-upload-trigger svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assistant-upload-trigger.has-files::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #0d3c77;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(13, 60, 119, 0.22);
}

@media (max-width: 640px) {
  .assistant-upload-hint {
    right: 0;
    bottom: calc(100% + 10px);
    max-width: 210px;
    font-size: 0.82rem;
  }

  .assistant-upload-hint::after {
    right: 14px;
  }
}

.assistant-upload.is-visible {
  display: block !important;
}

.assistant-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.assistant-upload-label {
  display: block;
  margin-bottom: 10px;
  color: #173f75;
  font-weight: 700;
}

.assistant-upload-dropzone {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 128px;
  padding: 18px;
  border-radius: 18px;
  border: 2px dashed rgba(33, 99, 209, 0.38);
  background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
  color: #2163d1;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.assistant-upload-dropzone::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(33, 99, 209, 0.12);
  box-shadow: inset 0 0 0 1px rgba(33, 99, 209, 0.12);
}

.assistant-upload-dropzone strong {
  font-size: 1rem;
}

.assistant-upload-dropzone em {
  font-style: normal;
  color: #5a76a1;
}

.assistant-upload-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #2163d1;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(33, 99, 209, 0.2);
}

.assistant-upload-dropzone.is-dragging {
  border-color: #2163d1;
  background: #e6f0ff;
  transform: translateY(-1px);
}

.assistant-upload-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.assistant-upload-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8ff;
  border: 1px solid rgba(33, 99, 209, 0.14);
  color: #173f75;
  font-size: 0.92rem;
}

.canopy-popup[hidden] {
  display: none !important;
}

.canopy-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(9, 22, 40, 0.56);
  padding: 24px;
}

.canopy-popup-dialog {
  position: relative;
  width: min(1100px, 100%);
  height: min(88vh, 860px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(23, 63, 117, 0.12);
  box-shadow: 0 28px 80px rgba(10, 28, 52, 0.22);
  overflow: hidden;
}

.canopy-popup-head {
  padding: 18px 72px 14px 22px;
  border-bottom: 1px solid rgba(23, 63, 117, 0.08);
  background: #ffffff;
}

.canopy-popup-head h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.canopy-popup-head p {
  margin: 0;
  color: #58708e;
}

.canopy-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(23, 63, 117, 0.1);
  background: #ffffff;
  color: #173f75;
  font-size: 1.4rem;
  cursor: pointer;
}

.canopy-popup-frame-shell {
  height: calc(100% - 86px);
  background: #ffffff;
}

.canopy-popup-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #ffffff;
}

.top-leo-chat-copy p,
.chatbot-panel-copy p,
.mini-note {
  color: #58708e !important;
}

body[data-page-type="home"] .assistant-log-chatbot,
body[data-page-type="home"] .chatbot-panel {
  background: #ffffff !important;
}

/* Final header system */
.topbar {
  background: #ffffff !important;
  backdrop-filter: blur(14px);
  border-bottom: 0 !important;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 120 !important;
}

.nav {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 1240px !important;
  min-height: 0 !important;
  padding: 0 16px 0 !important;
  overflow: visible;
  position: relative;
  z-index: 121;
}

.nav-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto max-content;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  position: relative;
  z-index: 122;
}

.brand {
  grid-column: 2;
  gap: 0 !important;
  align-items: center;
  overflow: hidden;
  justify-self: center;
  position: relative;
  z-index: 140;
  pointer-events: auto;
}

.brand-logo {
  width: 760px !important;
  height: auto !important;
  max-height: 92px;
  display: block;
  position: static;
  top: auto;
  margin-bottom: 0;
  z-index: auto;
  pointer-events: none;
}

.brand-copy {
  max-width: none !important;
  min-height: 0;
  display: block;
}

.brand-copy strong {
  font-size: 0.8rem !important;
  line-height: 1.1;
  color: #173f75 !important;
  margin-top: 0;
}

.nav-meta {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-self: center;
  min-height: 0;
  padding-top: 0;
  transform: none;
  position: static;
  top: auto;
  justify-self: end;
  margin-left: 0;
  margin-top: 0;
}

.nav-meta-link,
.nav-phone {
  color: #214977;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-meta-link--portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-meta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.nav-phone {
  color: #2163d1;
}

.nav-toggle,
.nav-drawer,
.nav-drawer-backdrop {
  display: none;
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #173f75;
  cursor: pointer;
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bars span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(16, 37, 66, 0.08);
}

.nav-drawer-close {
  appearance: none;
  border: 1px solid rgba(16, 37, 66, 0.08);
  background: #ffffff;
  color: #173f75;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.nav-drawer-brand {
  width: 190px;
}

.nav-drawer-brand img {
  width: 100%;
  height: auto;
}

.nav-drawer-brand .brand-logo {
  width: 100% !important;
  max-height: none !important;
}

.nav-drawer-meta,
.nav-drawer-links {
  display: grid;
}

.nav-drawer-body {
  display: grid;
  gap: 28px;
}

.nav-drawer-section {
  display: grid;
  gap: 14px;
}

.nav-drawer-label {
  color: #b98a2a;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-drawer-meta {
  gap: 14px;
}

.nav-drawer-links {
  gap: 2px;
}

.nav-drawer-links-secondary {
  gap: 2px;
}

.nav-drawer-meta a,
.nav-drawer-links a {
  color: #173f75;
}

.nav-drawer-meta a {
  font-size: 1rem;
  font-weight: 700;
}

.nav-drawer-links a {
  padding: 11px 0;
  border-top: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-drawer-links a:last-child {
  border-bottom: 0;
}

.nav-links {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  gap: 10px !important;
  margin-left: calc(50% - 50vw) !important;
  width: 100vw;
  max-width: none !important;
  background: #173f75;
  border-radius: 0;
  padding: 18px max(16px, calc((100vw - 1240px) / 2 + 18px));
}

.nav-links a {
  font-size: 0.96rem !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-align: center;
  transition: opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 0.82;
}

.nav-links a.is-active {
  font-weight: 400 !important;
  opacity: 1 !important;
}

.nav-cta {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-top {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    min-height: 64px;
  }

  .brand {
    grid-column: 2;
    justify-self: start;
  }

  .nav-meta {
    grid-column: auto;
    align-self: auto;
    margin-top: 0;
  }

  body[data-page-type="home-insurance"] .coverage-explainer-section .section-head-subline {
    white-space: normal;
  }

  .brand-logo {
    width: 250px !important;
    height: auto !important;
    max-height: 72px;
  }

  .brand-copy strong {
    font-size: 0.72rem !important;
    text-align: center;
    white-space: normal;
  }

  .brand-copy,
  .nav-meta {
    min-height: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    grid-column: 1;
    justify-self: start;
    position: relative;
    z-index: 141;
  }

  .nav-meta,
  .nav-links {
    display: none !important;
  }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 24, 43, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 39;
  }

  .nav-drawer {
    display: grid;
    align-content: start;
    gap: 26px;
    position: fixed;
    top: 0;
    left: 0;
    width: min(100vw, 420px);
    height: 100dvh;
    padding: 20px 20px 30px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(16, 37, 66, 0.14);
    transform: translateX(-100%);
    transition: transform 220ms ease;
    z-index: 40;
    overflow-y: auto;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  body.nav-drawer-open .nav-drawer {
    transform: translateX(0);
  }

  body.nav-drawer-open .nav-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1120px) {
  .top-leo-chat-shell,
  .top-leo-chat-section .assistant-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .chatbot-hero,
  body[data-page-type="home"] .chatbot-hero,
  .top-leo-chat-section {
    padding: 14px 0 18px !important;
    border-top: 0 !important;
    background: #ffffff !important;
  }

  .chatbot-shell,
  body[data-page-type="home"] .chatbot-shell,
  .top-leo-chat-shell {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .chatbot-copy-home {
    padding: 24px 18px !important;
    border-radius: 26px;
    text-align: center !important;
  }

  .home-chat-intro,
  .top-leo-chat-copy {
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .chatbot-copy-home,
  .chatbot-copy-home .hero-actions,
  .chatbot-copy-home .language-strip,
  .chatbot-copy-home .trust-strip {
    text-align: center !important;
    justify-content: center !important;
  }

  .home-chat-intro h1,
  .top-leo-chat-copy h2 {
    margin: 0 0 8px !important;
    font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    text-align: left !important;
    white-space: normal !important;
  }

  .home-chat-intro p,
  .top-leo-chat-copy p,
  .chatbot-panel-copy p {
    margin: 0 !important;
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  .chatbot-copy-home h1,
  .chatbot-copy-home p,
  .chatbot-copy-home .chatbot-concept-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-page-type="home"] .chatbot-panel,
  .top-leo-chat-panel,
  .chatbot-panel {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(16, 37, 66, 0.08) !important;
    box-shadow: 0 8px 22px rgba(16, 37, 66, 0.04) !important;
  }

  body[data-page-type="home"] .chatbot-panel-head,
  .top-leo-chat-panel .chatbot-panel-head,
  .chatbot-panel-head {
    margin-bottom: 12px !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  body[data-page-type="home"] .chatbot-presence,
  .top-leo-chat-panel .chatbot-presence,
  .chatbot-presence {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
  }

  body[data-page-type="home"] .chatbot-panel-head strong,
  .top-leo-chat-panel .chatbot-panel-head strong,
  .chatbot-panel-head strong {
    font-size: 1rem !important;
  }

  body[data-page-type="home"] .chatbot-panel-head p,
  .top-leo-chat-panel .chatbot-panel-head p,
  .chatbot-panel-head p {
    font-size: 0.84rem !important;
  }

  body[data-page-type="home"] .assistant-log-chatbot,
  .assistant-log-chatbot,
  .top-leo-chat-section .assistant-log {
    min-height: 210px !important;
    max-height: 340px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .bubble {
    max-width: calc(100% - 8px) !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  body[data-page-type="home"] .choice-grid-chatbot,
  .choice-grid,
  .choice-grid-chatbot {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body[data-page-type="home"] .choice-grid-chatbot button,
  body[data-page-type="home"] .choice-grid-chatbot a,
  .choice-grid button,
  .choice-grid a,
  .assistant-input .button.primary,
  .assistant-input-chatbot .button.primary {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    font-size: 0.94rem !important;
    justify-content: center !important;
  }

  body[data-page-type="home"] .assistant-input-chatbot,
  .assistant-input,
  .assistant-input-chatbot {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body[data-page-type="home"] .assistant-input-chatbot input,
  .assistant-input input,
  .assistant-input-chatbot input {
    min-height: 46px !important;
    padding: 12px 14px !important;
    font-size: 0.96rem !important;
  }

  .top-leo-chat-copy .eyebrow,
  .home-chat-intro .eyebrow {
    margin-bottom: 6px !important;
  }
}

.auto-article-section {
  padding: 0 24px 36px;
}

.auto-process-section {
  padding: 0 24px 32px;
}

.client-center-page {
  padding: 18px 0 0;
}

.client-center-shell {
  padding: 0;
}

.client-center-portal {
  display: block;
  width: 100%;
  min-height: 840px;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .client-center-page {
    padding: 14px 0 0;
  }
}

.top-leo-chat-section + .auto-process-section,
.auto-process-section + .coverage-explainer-section {
  margin-top: 22px;
}

.coverage-explainer-section + .auto-article-section {
  margin-top: 44px;
}

.auto-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 560px);
  gap: 36px;
  align-items: center;
}

.auto-process-copy h2 {
  margin: 0 0 48px;
  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.auto-process-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.auto-process-step + .auto-process-step {
  margin-top: 26px;
}

.auto-process-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8c312;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.auto-process-step h3 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.15;
}

.auto-process-step p {
  margin: 0;
  color: #4f6985;
  font-size: 0.95rem;
  line-height: 1.65;
}

.auto-process-cta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 34px;
  margin-left: 62px;
}

.auto-process-cta .button {
  min-width: 168px;
  justify-content: center;
  font-size: 0.94rem;
  padding: 12px 18px;
  background: #2163d1 !important;
  border-color: #2163d1 !important;
  color: #ffffff !important;
}

.auto-process-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-process-phone-image {
  display: block;
  width: min(100%, 660px);
  height: auto;
  object-fit: contain;
}

.auto-article-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 26px;
}

.auto-article-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.34rem, 2.35vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.auto-article-head p {
  margin: 0 auto;
  max-width: 760px;
  color: #536c88;
  font-size: 1.08rem;
}

.auto-topic-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.auto-topic-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 68px;
  border-radius: 16px;
  border: 1px solid rgba(20, 44, 78, 0.1);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 38, 67, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f223d;
  cursor: pointer;
  padding: 14px 12px;
  text-align: center;
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.auto-topic-chip:hover,
.auto-topic-chip:focus-visible {
  border-color: rgba(33, 99, 209, 0.34);
  box-shadow: 0 14px 28px rgba(18, 38, 67, 0.12);
  transform: translateY(-1px);
}

.auto-topic-chip:focus-visible {
  outline: 0;
}

.auto-topic-chip.is-active {
  box-shadow: inset 0 0 0 3px rgba(33, 99, 209, 0.9), 0 10px 24px rgba(18, 38, 67, 0.08);
}

.auto-topic-icon {
  display: inline-block;
  color: #f8c312;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
  text-shadow:
    -0.7px 0 #171717,
    0 0.7px #171717,
    0.7px 0 #171717,
    0 -0.7px #171717;
}

.auto-topic-icon--piggy {
  display: inline-block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  text-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.8 14.2c0-3.35 2.95-6 6.75-6 1.8 0 3.42.58 4.58 1.53l2.27-.38-.5 2.17c.88 1.03 1.4 2.3 1.4 3.8 0 3.83-3.27 6.93-7.3 6.93-.67 0-1.32-.08-1.92-.26l-2 1.57-.55-2.3c-1.71-1.01-2.76-2.73-2.76-4.88Z' stroke='%232d2150' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M17.2 12.2h2.4' stroke='%232d2150' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='10.8' cy='14.1' r='1.05' fill='%232d2150'/%3E%3Cpath d='M5.8 14.7 4 13.7' stroke='%232d2150' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M10.3 21.8 9.5 24.5M17.1 21.8l.8 2.7' stroke='%232d2150' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='18.9' cy='7.5' r='3.6' fill='%23f8c312' stroke='%232d2150' stroke-width='1.2'/%3E%3Cpath d='M17.55 7.5h2.7' stroke='%232d2150' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M18.9 6.15v2.7' stroke='%232d2150' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.auto-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
}

.auto-article-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.auto-article-load-more[hidden] {
  display: none !important;
}

.auto-process-section,
.auto-article-section {
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

.auto-article-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

button.auto-article-card {
  width: 100%;
  font: inherit;
}

.auto-article-card[hidden] {
  display: none;
}

.auto-article-card.is-active .auto-article-copy h3 {
  color: #2163d1;
}

.auto-article-meta {
  margin-bottom: 10px;
}

.auto-article-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(33, 99, 209, 0.1);
  color: #173f75;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auto-article-thumb {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.auto-article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auto-article-thumb--costs {
  background-image: url("../auto scene.png");
}

.auto-article-thumb--coverage {
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=900&q=80");
}

.auto-article-thumb--safety {
  background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=900&q=80");
}

.auto-article-thumb--types {
  background-image: url("https://images.unsplash.com/photo-1550355291-bbee04a92027?auto=format&fit=crop&w=900&q=80");
}

.auto-article-thumb--save-money {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.auto-article-thumb--infractions {
  background-image: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=900&q=80");
}

.auto-article-thumb--how-to {
  background-image: url("https://images.unsplash.com/photo-1485291571150-772bcfc10da5?auto=format&fit=crop&w=900&q=80");
}

.auto-article-copy h3 {
  margin: 0;
  font-size: clamp(0.92rem, 1.18vw, 1.14rem);
  line-height: 1.28;
  font-weight: 800;
}

.auto-article-detail {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(20, 44, 78, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(18, 38, 67, 0.08);
}

.auto-article-detail[hidden] {
  display: none;
}

.article-page-shell {
  padding-top: 28px;
  padding-bottom: 56px;
}

.article-page-back {
  margin-bottom: 22px;
}

.article-page-back a {
  color: #2163d1;
  font-weight: 800;
  text-decoration: none;
}

.article-page-header {
  max-width: 980px;
  margin-bottom: 8px;
}

.article-page-language-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 4px;
}

.article-page-language-flag {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(12, 68, 124, 0.18);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.article-page-language-flag:hover,
.article-page-language-flag:focus-visible {
  border-color: rgba(12, 68, 124, 0.5);
  box-shadow: 0 10px 24px rgba(12, 68, 124, 0.12);
  transform: translateY(-1px);
}

.article-page-language-flag.is-active {
  border-color: #0c447c;
  box-shadow: 0 10px 24px rgba(12, 68, 124, 0.16);
}

.article-page-language-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8b5e00;
}

.article-page-header h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.95rem, 3.7vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-page-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-bottom: 8px;
}

.article-page-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.article-page-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(20, 44, 78, 0.08);
  padding: 5px;
}

.article-page-author span {
  display: inline;
  color: #6a7d93;
  font-size: 0.92rem;
  margin-bottom: 0;
  margin-right: 4px;
}

.article-page-author strong {
  display: inline;
  font-size: 1.06rem;
}

.article-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #58708a;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.article-page-reviewed {
  color: #173f75;
  font-weight: 800;
}

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.article-page-main {
  min-width: 0;
}

.article-page-standards {
  margin-top: -68px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #eaf2fc;
}

.article-page-standards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.article-page-standards p {
  margin: 0;
  color: #4f6985;
  line-height: 1.75;
}

.article-page-summary {
  margin: 0 0 26px;
  color: #2b4461;
  font-size: 1.18rem;
  line-height: 1.9;
}

.article-page-key-takeaways,
.article-page-body,
.article-page-related {
  background: #ffffff;
  border: 1px solid rgba(20, 44, 78, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(16, 36, 63, 0.06);
}

.article-page-key-takeaways {
  margin-bottom: 26px;
  padding: 24px 28px;
  border-top: 6px solid #f8c312;
}

.article-page-key-takeaways h2 {
  margin: 0 0 16px;
  font-size: 1.65rem;
}

.article-page-key-takeaways ul {
  margin: 0;
  padding-left: 24px;
}

.article-page-key-takeaways li {
  margin-bottom: 12px;
  color: #4d6783;
  line-height: 1.75;
}

.article-page-body {
  padding: 34px 34px 18px;
}

.article-page-body p {
  margin: 0 0 14px;
  color: #4d6783;
  line-height: 1.72;
  font-size: 1.04rem;
}

.article-page-body p:last-child {
  margin-bottom: 0;
}

.article-page-section + .article-page-section,
.article-page-body > .article-page-cta-box,
.article-page-body > .article-page-section + .article-page-cta-box {
  margin-top: 22px;
}

.article-page-section-title,
.article-page-cta-box h2,
.article-page-faq-item h3 {
  font-family: "Manrope", sans-serif;
}

.article-page-section-title {
  margin: 0 0 14px;
  font-size: 1.42rem;
  line-height: 1.25;
  color: #173f75;
}

.article-page-faq {
  display: grid;
  gap: 14px;
}

.article-page-faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.35;
  color: #132741;
}

.article-page-faq-item p {
  margin: 0;
}

.article-page-cta-box {
  padding: 30px 44px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(20, 44, 78, 0.1);
  box-shadow: 0 12px 28px rgba(16, 36, 63, 0.05);
}

.article-page-cta-inner {
  padding-left: 18px;
}

.article-page-cta-box h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #173f75;
}

.article-page-cta-box p {
  margin: 0 0 16px;
}

.article-page-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2163d1;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.article-page-sidebar {
  position: sticky;
  top: 132px;
}

.article-page-related {
  padding: 22px;
}

.article-page-toc-card {
  margin-bottom: 18px;
}

.article-page-toc-link {
  display: block;
  padding: 10px 0;
  color: #35526f;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid rgba(20, 44, 78, 0.08);
}

.article-page-toc-link:first-child {
  border-top: 0;
  padding-top: 4px;
}

.article-page-toc-link:hover,
.article-page-toc-link:focus-visible {
  color: #2163d1;
}

.article-page-related-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #36a0ee;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 18px;
}

.article-page-related-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.article-page-related-item + .article-page-related-item {
  margin-top: 18px;
}

.article-page-related-thumb {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  border-radius: 14px;
  background: #dbe6f6 center / cover no-repeat;
  overflow: hidden;
}

.article-page-related-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-page-related-copy {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 800;
}

.auto-article-detail-media {
  min-height: 320px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.auto-article-detail-copy .tag {
  margin-bottom: 12px;
}

.auto-article-detail-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.08;
}

.auto-article-detail-intro {
  margin: 0 0 18px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: #375777;
  font-weight: 600;
}

.auto-article-detail-body p {
  margin: 0 0 16px;
  color: #536c88;
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .auto-process-layout {
    grid-template-columns: 1fr;
  }

  .auto-process-copy h2 {
    white-space: normal;
  }

  .auto-process-cta {
    margin-left: 0;
  }

  .auto-process-visual {
    min-height: 0;
  }

  .auto-topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .auto-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auto-article-detail {
    grid-template-columns: 1fr;
  }

  .article-page-layout {
    grid-template-columns: 1fr;
  }

  .article-page-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .assistant-year-grid,
  .assistant-year-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-year-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 248px;
  }

  .assistant-year-chip.is-featured {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .auto-process-copy h2 {
    margin-bottom: 22px;
  }

  .auto-process-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .auto-process-number {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .auto-process-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .auto-process-zip,
  .auto-process-cta .button {
    width: 100%;
    min-width: 0;
  }

  .auto-process-visual {
    min-height: 0;
  }

  .auto-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .auto-topic-chip {
    min-height: 56px;
    padding: 11px 9px;
    font-size: 0.74rem;
    gap: 6px;
  }

  .auto-topic-icon {
    font-size: 0.92rem;
  }

  .auto-topic-icon--piggy {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    background-size: 22px 22px;
  }

  .auto-article-card {
    grid-template-columns: 1fr;
  }

  .auto-article-thumb {
    max-width: 220px;
  }

  .auto-article-grid {
    grid-template-columns: 1fr;
  }

  .auto-article-actions {
    margin-top: 22px;
  }

  .auto-article-detail {
    padding: 22px;
  }

  .auto-article-detail-media {
    min-height: 220px;
  }

  .article-page-body {
    padding: 24px;
  }

  .article-page-media {
    min-height: 240px;
  }

  .article-page-key-takeaways,
  .article-page-related {
    padding: 20px;
  }

  .article-page-related-item {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

.legal-page-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #4f6985;
}

.legal-page-meta p {
  margin: 0;
  line-height: 1.65;
}

.legal-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 72px;
}

.legal-card {
  padding: 28px 30px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 117, 0.08);
  box-shadow: 0 14px 32px rgba(43, 91, 154, 0.05);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  color: #173f75;
}

.legal-card p {
  margin: 0;
  color: #425a76;
  line-height: 1.75;
}

.legal-card p + p {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .legal-grid {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .legal-card {
    padding: 24px 22px;
  }
}

.contact-page-intro {
  max-width: 980px;
  padding: 36px 24px 18px !important;
  text-align: center;
}

.contact-page-intro .eyebrow {
  margin-bottom: 20px;
}

.contact-page-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.contact-page-intro p {
  max-width: 34ch;
  margin: 22px auto 0;
  font-size: 1.18rem;
  line-height: 1.6;
  color: #344e6f;
}

.contact-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 72px;
}

.contact-page-details {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.contact-office-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-office-badge {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #f6f9ff, #e8f0fb 72%, #d6e2f6 100%);
  border: 1px solid rgba(33, 99, 209, 0.08);
  box-shadow: 0 18px 40px rgba(16, 37, 66, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-office-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.contact-office-copy h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #142f57;
}

.contact-divider {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin: 18px 0 22px;
  background: #f8c312;
}

.contact-office-copy > p {
  margin: 0;
  color: #233f61;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-info-stack {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.contact-info-stack strong {
  display: block;
  margin-bottom: 6px;
  color: #142f57;
  font-size: 1.1rem;
}

.contact-info-stack a {
  color: #233f61;
  font-size: 1.05rem;
  text-decoration: none;
}

.contact-form-panel {
  padding: 34px 34px 30px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 37, 66, 0.08) !important;
  box-shadow: 0 18px 46px rgba(16, 37, 66, 0.08) !important;
}

.contact-form-panel h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 0.98;
  color: #142f57;
}

.contact-form-stack {
  display: grid;
  gap: 18px;
}

.contact-form-stack .field {
  display: block;
}

.contact-form-stack input,
.contact-form-stack textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 12px !important;
  border: 1px solid rgba(16, 37, 66, 0.12) !important;
  background: #ffffff !important;
  color: #183557;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(16, 37, 66, 0.03);
}

.contact-form-stack textarea {
  resize: vertical;
  min-height: 210px;
}

.contact-form-stack input::placeholder,
.contact-form-stack textarea::placeholder {
  color: #98a7ba;
  font-weight: 600;
}

.contact-submit {
  min-width: 220px;
  padding: 16px 26px;
  border-radius: 10px;
  background: #2163d1 !important;
  color: #ffffff !important;
}

body[data-page-type="contact"] .form-actions {
  margin-top: 24px;
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .contact-page-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .contact-page-intro {
    padding: 28px 20px 12px !important;
  }

  .contact-page-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-office-hero {
    justify-content: flex-start;
  }

  .contact-office-badge {
    width: 132px;
    height: 132px;
  }

  .contact-office-badge img {
    width: 100%;
    height: 100%;
    transform: scale(1.02);
  }

  .contact-form-panel {
    padding: 24px 20px 22px !important;
  }

  .contact-form-panel h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .contact-form-stack textarea {
    min-height: 180px;
  }
}

.compare-showcase {
  padding: 32px 0 72px;
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

.compare-showcase-shell {
  display: grid;
  gap: 28px;
}

.compare-showcase-head {
  text-align: center;
}

.compare-showcase-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #171b2a;
}

.compare-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.compare-showcase-visual img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
}

.compare-showcase-copy {
  max-width: 520px;
}

.compare-showcase-heading {
  display: inline-block;
}

.compare-showcase-copy h3 {
  margin: 0;
  display: inline-block;
  font-size: clamp(1.02rem, 1.3vw, 1.28rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #171b2a;
}

.compare-showcase-accent {
  width: 100%;
  height: 4px;
  margin: 16px 0 24px;
  background: #f8c312;
  border-radius: 999px;
}

.compare-step + .compare-step {
  margin-top: 28px;
}

.compare-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.24;
  color: #171b2a;
}

.compare-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(23, 27, 42, 0.8);
}

@media (max-width: 900px) {
  .compare-showcase {
    padding: 24px 0 52px;
  }

  .compare-showcase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .compare-showcase-copy {
    max-width: none;
  }

  .compare-showcase-head h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

@media (max-width: 900px) {
  .top-leo-chat-section .assistant-card,
  .assistant-card {
    border-radius: 22px;
  }

  .coverage-explainer-section {
    padding-bottom: 20px;
  }

  .coverage-explainer {
    gap: 18px;
  }

  .coverage-explainer-panels {
    gap: 14px;
  }

  .coverage-graphic-toolbar {
    max-width: none;
    width: 100%;
    margin-bottom: 14px;
  }

  .coverage-graphic-toolbar .field,
  .coverage-graphic-toolbar select {
    width: 100%;
  }

  .coverage-graphic-stage {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .coverage-hotspot {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .top-leo-chat-section,
  .coverage-explainer-section,
  .auto-article-section {
    scroll-margin-top: 84px;
  }

  .coverage-explainer-section {
    padding-top: 10px;
  }

  .coverage-explainer .section-head {
    margin-bottom: 12px;
  }

  .coverage-explainer-note,
  .coverage-explainer-copy,
  .coverage-explainer-guide {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .coverage-graphic-stage {
    aspect-ratio: 1 / 1.12;
    border-radius: 20px;
  }

  .coverage-hotspot {
    width: 22px;
    height: 22px;
  }

  .coverage-popup {
    z-index: 14;
  }

  .coverage-popup-dialog {
    width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    border-radius: 18px;
  }

  .coverage-popup-body {
    padding: 18px 16px 16px;
  }

  .coverage-popup-body h3 {
    margin-right: 32px;
    margin-bottom: 14px;
    font-size: 1.2rem;
    line-height: 1.15;
  }

  .coverage-popup-grid {
    gap: 12px;
  }
}
