:root {
  color-scheme: light;
  --primary: #003abc;
  --primary-dark: #002a8a;
  --gold: #f5b301;
  --navy: #003257;
  --ink: #0f1b33;
  --muted: #5a6b8c;
  --line: #dfe6f5;
  --panel: #e9edfa;
  --panel-2: #d7dff6;
  --tint-blue: #e9f0fa;
  --tint-cream: #faedda;
  --tint-green: #e8f5eb;
  --tint-purple: #ece7fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 50, 87, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: 4rem 0; }
.section-alt { background: var(--panel); }
.section-head { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3;
  padding: .8rem 1.5rem; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(0, 58, 188, .28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--panel); }
.btn-light { background: #fff; color: var(--navy); }
.btn-large { padding: 1rem 1.9rem; font-size: 1.08rem; }
.btn-small { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- header / pill nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.logo-mark { color: var(--gold); font-size: 1.4rem; line-height: 1; }
.logo-gone { color: var(--primary); }
.pill-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.pill {
  display: inline-block; padding: .45rem .95rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  background: #f2f5fc; border: 1px solid transparent; white-space: nowrap;
}
.pill:hover { background: var(--panel); }
.pill.active { background: var(--primary); color: #fff; }
.header-cta { margin-left: 8px; }
@media (max-width: 900px) {
  .header-cta { display: none; }
  .pill-nav { margin-left: 0; width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-rotator { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; }
.hero-rotator::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 50, 87, .18), rgba(0, 50, 87, 0) 55%); }
.hero-chip {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  background: rgba(255, 255, 255, .94); color: var(--navy); font-weight: 700; font-size: .92rem;
  padding: .45rem .95rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.hero-dots {
  position: absolute; right: 22px; bottom: 20px; z-index: 3;
  display: flex; gap: 7px; align-items: center;
  background: rgba(0, 20, 50, .55); padding: 8px 12px; border-radius: 999px;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .65); transition: width .2s ease, background .2s ease;
}
.hero-dots button.active { width: 24px; background: #fff; }
.hero-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; min-height: 560px; display: flex; align-items: center; }
.hero-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 2.2rem 2.3rem; max-width: 540px;
}
.hero-stars { color: var(--gold); font-size: 1.25rem; letter-spacing: 2px; margin-bottom: .4rem; }
.hero-stars span { color: var(--muted); font-size: .9rem; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.hero-sub { color: var(--muted); font-size: 1.1rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.2rem 0 1rem; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin: 0; padding: 0; }
.hero-points li { font-size: .98rem; color: var(--muted); }
.hero-points strong { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero-content { min-height: 0; padding-top: 0; padding-bottom: 28px; display: block; }
  .hero-rotator { position: relative; height: 300px; }
  .hero-slide { position: absolute; }
  .hero-chip { top: 14px; left: 14px; right: auto; font-size: .85rem; }
  .hero-dots { right: 14px; bottom: 14px; }
  .hero-card { margin: -56px 16px 0; padding: 1.6rem 1.4rem; max-width: none; position: relative; z-index: 2; }
}

/* ---------- trust bar / sections ---------- */
.trust-bar { background: var(--navy); color: #fff; padding: .9rem 0; }
.trust-bar-inner { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-weight: 600; }
.trust-bar-inner i { color: var(--gold); font-style: normal; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 820px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.card { border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 4px 16px rgba(0, 50, 87, .07); border: 1px solid var(--line); }
.tint-blue { background: var(--tint-blue); }
.tint-cream { background: var(--tint-cream); }
.tint-green { background: var(--tint-green); }
.tint-purple { background: var(--tint-purple); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem;
}
.card-price { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin: .2rem 0 .8rem; }
.card-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.check-list li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ---------- price panel ---------- */
.price-panel {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, #e9edfa, #d7dff6); border-radius: 24px; padding: 2.6rem;
  border: 1px solid var(--line);
}
.price-panel h2 { font-size: 2rem; }
.price-panel h2 span { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-sub { color: var(--muted); font-size: 1.05rem; }
.price-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.price-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.price-right { text-align: center; background: #fff; border-radius: 18px; padding: 2rem 1.5rem; box-shadow: var(--shadow); }
.price-big { font-size: 3.2rem; font-weight: 900; color: var(--navy); margin: 0; line-height: 1; }
.price-per { color: var(--muted); margin: .4rem 0 1.2rem; }
.price-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
@media (max-width: 820px) { .price-panel { grid-template-columns: 1fr; padding: 1.8rem 1.4rem; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq-list summary::marker { color: var(--primary); }
.faq-list details p { margin: .6rem 0 0; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, #003257, #6995dc 55%, #9db1fb); color: #fff; padding: 3.5rem 0; text-align: center; }
.cta-banner h2 { color: #fff; text-shadow: 0 2px 10px rgba(0, 20, 50, .35); }
.cta-banner p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(135deg, #e9edfa, #d7dff6); padding: 3.2rem 0 2.6rem; text-align: center; }
.page-sub { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin: 0 auto; }
.page-hero a { color: var(--primary); }

/* ---------- forms / tool ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.4rem; box-shadow: 0 4px 16px rgba(0, 50, 87, .06); }
.form-card h3 { margin-bottom: 1rem; }
.form-card label, .lead-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .9rem; }
.form-card input, .form-card textarea, .lead-form input, .lead-form textarea, .chat-lead-form input {
  display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem;
  border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus, .lead-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 14px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form-row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: .6rem; }
.form-note { font-size: .92rem; color: var(--muted); margin: .7rem 0 0; }
.tool-status {
  background: var(--tint-blue); border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1.2rem; margin-bottom: 1.4rem; font-weight: 600; color: var(--navy);
}
.review-row { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-bottom: .9rem; background: #fbfcff; }
.review-row-head { display: flex; gap: 10px; align-items: center; margin-bottom: .6rem; }
.review-row-head select { padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-weight: 700; background: #fff; }
.review-row-head .row-title { font-weight: 700; }
.review-remove { margin-left: auto; background: none; border: 0; color: #b3261e; cursor: pointer; font-weight: 700; }
.review-row textarea { width: 100%; min-height: 74px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 1rem; resize: vertical; }
.results-panel { background: #fff; border: 2px solid var(--primary); border-radius: 20px; padding: 2rem; margin-top: 1.6rem; box-shadow: var(--shadow); }
.results-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.results-rating { background: var(--navy); color: #fff; border-radius: 14px; padding: 1rem 1.3rem; text-align: center; min-width: 230px; }
.rating-now { display: block; font-size: 1.05rem; }
.rating-now span { font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.rating-arrow { display: block; font-size: 1.2rem; color: rgba(255, 255, 255, .7); }
.rating-projected { display: block; font-size: 1.05rem; }
.rating-projected span { font-size: 1.7rem; font-weight: 900; color: #7ee2a8; }
.results-reviews { margin: 1.4rem 0; }
.result-review { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; background: #fbfcff; }
.result-review .stars { color: var(--gold); letter-spacing: 2px; font-weight: 800; }
.result-review p { margin: .3rem 0 0; }
.results-total { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: 1.4rem; }
.lead-form { background: var(--tint-blue); border-radius: 14px; padding: 1.5rem; }

/* ---------- owner pages ---------- */
.owner-list { display: grid; gap: 1rem; }
.owner-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; background: #fff; }
.flag-row { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; margin-bottom: .6rem; }
.flag-row.green { background: var(--tint-green); border-color: #bfe3c6; }
.flag-row.red { background: #fdecea; border-color: #f5c6c0; }
.flag-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.flag-row.green .flag-dot { background: #1e9e4a; }
.flag-row.red .flag-dot { background: #d93025; }
.flag-row p { margin: .2rem 0 0; }
.flag-reason { font-size: .9rem; color: var(--muted); }
.owner-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.owner-table th, .owner-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.owner-table th { background: var(--panel); }

/* ---------- footer (96px clearance on ALL breakpoints — keeps owner links clear of the chat pill) ---------- */
.site-footer { background: #0c1a33; color: rgba(255, 255, 255, .85); padding: 3rem 0 96px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-brand .logo { color: #fff; }
.footer-col h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.footer-col a { display: block; color: rgba(255, 255, 255, .75); text-decoration: none; padding: .25rem 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2.2rem; padding-top: 1.4rem;
  font-size: .9rem; color: rgba(255, 255, 255, .6);
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* ---------- AI front desk ---------- */
.chat-launcher {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 62px; height: 62px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #003abc, #6995dc);
  box-shadow: 0 10px 26px rgba(0, 58, 188, .45);
  display: flex; align-items: center; justify-content: center;
}
.chat-launcher::before {
  content: ''; position: absolute; inset: -5px; border-radius: 999px;
  border: 2px solid rgba(0, 58, 188, .55); animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.launcher-avatar { color: var(--gold); font-size: 1.7rem; line-height: 1; }
.launcher-dot { position: absolute; top: 3px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2.5px solid #fff; }
.launcher-badge {
  position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; border-radius: 999px;
  background: #e11d48; color: #fff; font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.chat-teaser {
  position: fixed; right: 16px; bottom: 90px; z-index: 91; max-width: 330px; width: calc(100vw - 32px);
  background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 20, 50, .28);
  display: flex; gap: 10px; align-items: flex-start; padding: .9rem 1rem; cursor: pointer;
  animation: teaser-in .45s ease;
}
@keyframes teaser-in { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.teaser-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #003abc, #6995dc); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.teaser-title { display: block; font-weight: 800; font-size: .92rem; }
.teaser-text { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.teaser-close { margin-left: auto; border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 2px; }
.chat-panel {
  position: fixed; right: 16px; bottom: 90px; z-index: 92; width: 380px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 120px);
  background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 20, 50, .3);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-header {
  background: linear-gradient(120deg, #003257, #6995dc 60%, #9db1fb); color: #fff;
  display: flex; align-items: center; gap: 10px; padding: .9rem 1rem;
}
.chat-header-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.chat-header-text { display: flex; flex-direction: column; line-height: 1.3; }
.chat-online { font-size: .82rem; color: rgba(255, 255, 255, .9); display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chat-close { margin-left: auto; border: 0; background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-trust { background: var(--tint-blue); color: var(--navy); font-size: .82rem; font-weight: 700; text-align: center; padding: .5rem .6rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: #f8f9fe; }
.chat-msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.bot::before { content: '★ '; color: var(--gold); }
.chat-typing { display: flex; gap: 5px; padding: .4rem 1rem; background: #f8f9fe; }
.chat-typing span { width: 8px; height: 8px; border-radius: 50%; background: #b9c4dd; animation: typing 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: .8rem; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: .95rem; min-width: 0; }
.chat-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.chat-send { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #003abc, #6995dc); color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.chat-lead { border-top: 1px solid var(--line); padding: .7rem .9rem; background: #fff; }
.chat-lead-form { display: grid; gap: 8px; margin-top: .7rem; }
.chat-lead-form input { padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .92rem; }
.chat-lead-note { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
  .chat-launcher::before { animation: none; }
  html { scroll-behavior: auto; }
}
