/* =========================================================
   FSBO Town — Shared Site CSS
   Included via: <link rel="stylesheet" href="/assets/css/site.css">
   ========================================================= */

/* ===========================
   Variables
   =========================== */
:root{
  --ink:#0b1220;
  --muted:#475569;
  --line:#e5e7eb;
  --bg:#f6f7fb;
  --card:#ffffff;

  --brand:#e85d4f;
  --brand-dk:#c94a3f;

  --radius:14px;
}

/* ===========================
   Base
   =========================== */
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

.small-muted{
  color:var(--muted);
  font-size:.98rem;
}

/* ===========================
   Navbar
   =========================== */
.navbar{
  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-link{
  color:var(--muted);
  font-weight:600;
}
.nav-link:hover{ color:var(--ink); }

/* ===========================
   Buttons
   =========================== */
.btn{
  border-radius:10px;
  padding:.52rem .92rem;
  font-weight:700;
}
.btn-lg{
  padding:.62rem 1.05rem;
  font-size:1rem;
}

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

.btn-ghost{
  background:#fff;
  border:1px solid var(--line);
  color:var(--ink);
}
.btn-ghost:hover{ background:#f3f4f6; }

/* ===========================
   Sections / spacing
   =========================== */
.section{ padding:64px 0; }
.section + .section{ padding-top:78px; }

.section-title{ margin-top:10px; margin-bottom:6px; }
.section-subtitle{ margin-bottom:0; }

/* ===========================
   Hero (homepage + pricing)
   =========================== */
.hero{
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(232,93,79,.18), transparent 55%),
    linear-gradient(180deg, rgba(11,18,32,.05), rgba(255,255,255,1) 55%);
}
.hero .btn-lg{ font-weight:800; }

/* ===========================
   Pills
   =========================== */
.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  color:var(--muted);
  font-size:.9rem;
  font-weight:600;
  white-space:nowrap;
}

/* ===========================
   Cards / shadows
   =========================== */
.card-soft{
  background:var(--card);
  border:1px solid rgba(11,18,32,.10);
  border-radius:var(--radius);
}
.shadow-soft{
  box-shadow: 0 18px 46px rgba(2,6,23,.10);
}

/* ===========================
   “Band” sections
   =========================== */
.band{
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  padding:26px;
  background:#fff;
}
.band-light{
  background:#e6e9ee;
  border-color: rgba(11,18,32,.14);
}
.band + .band{ margin-top:32px; }

/* ===========================
   Comparison Table (shared)
   =========================== */
.table-compare{
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  border-radius:var(--radius);
  overflow:hidden;
}
.table-compare thead th{
  background:#f8fafc;
  border-bottom:1px solid rgba(11,18,32,.10);
  color:var(--muted);
  font-weight:900;
  font-size:.92rem;
  padding:14px 14px;
  vertical-align:bottom;
}
.table-compare td{
  padding:12px 14px;
  border-top:1px solid rgba(11,18,32,.08);
  vertical-align:middle;
  font-size:.98rem;
}
.table-compare td.td-center,
.table-compare th.thead-plan{ text-align:center; }

.table-compare .checkmark{
  display:inline-flex;
  width:28px;
  height:28px;
  border-radius:10px;
  align-items:center;
  justify-content:center;
  font-weight:900;
  border:1px solid rgba(232,93,79,.22);
  background: rgba(232,93,79,.10);
}
.table-compare .dash{
  color:#94a3b8;
  font-weight:900;
}

.table-compare .thead-plan .name{
  color:var(--ink);
  font-weight:900;
  font-size:.98rem;
}
.table-compare .thead-plan .desc{
  margin-top:4px;
  color:var(--muted);
  font-weight:700;
  font-size:.82rem;
}
.table-compare .thead-plan .price-line{
  margin-top:6px;
  font-weight:900;
  color:var(--ink);
  font-size:1.02rem;
}
.table-compare .thead-plan .price-line small{
  color:var(--muted);
  font-weight:800;
  font-size:.82rem;
}

.strike{
  color:#94a3b8;
  text-decoration: line-through;
  font-weight:800;
}
.save-badge{
  display:inline-flex;
  align-items:center;
  padding:.2rem .55rem;
  border-radius:999px;
  border:1px solid rgba(232,93,79,.22);
  background: rgba(232,93,79,.10);
  color: var(--ink);
  font-weight:900;
  font-size:.80rem;
}

.table-compare .thead-plan .promo{
  margin-top:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}

.table-compare th.annual-pop{
  background: linear-gradient(180deg, rgba(232,93,79,.12), #f8fafc);
  border-left:1px solid rgba(232,93,79,.18);
  border-right:1px solid rgba(232,93,79,.18);
}
.table-compare td.annual-pop{
  background: rgba(232,93,79,.04);
  border-left:1px solid rgba(232,93,79,.14);
  border-right:1px solid rgba(232,93,79,.14);
}

.table-compare .tfoot td{
  background:#fff;
  border-top:1px solid rgba(11,18,32,.10);
  padding:14px;
}

/* ===========================
   Pricing additions
   =========================== */
.price-card{ position:relative; height:100%; }
.price-card .hd{ padding:18px 18px 0 18px; }
.price-card .bd{ padding:14px 18px 18px 18px; }
.price-card .plan{ font-weight:900; letter-spacing:.2px; }
.price-card .sub{ color:var(--muted); font-weight:600; margin-top:4px; }

.price{
  margin-top:14px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.price .amt{ font-size:2.1rem; font-weight:900; line-height:1; }
.price .per{ color:var(--muted); font-weight:700; padding-bottom:4px; }

.feature-list{
  margin:14px 0 0 0;
  padding-left:0;
  list-style:none;
}
.feature-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 0;
  border-top:1px solid rgba(11,18,32,.08);
  color:var(--ink);
  font-weight:600;
}
.feature-list li:first-child{ border-top:0; padding-top:0; }

.tick{
  width:22px;
  height:22px;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(232,93,79,.12);
  border:1px solid rgba(232,93,79,.22);
  font-weight:900;
  flex:0 0 auto;
}

.fine{
  color:var(--muted);
  font-weight:600;
  font-size:.92rem;
  margin-top:10px;
}

.featured{
  transform: translateY(-8px);
  border:1px solid rgba(232,93,79,.28) !important;
  box-shadow: 0 22px 55px rgba(2,6,23,.14);
}
.ribbon{
  position:absolute;
  top:14px;
  right:14px;
  background: rgba(232,93,79,.12);
  border:1px solid rgba(232,93,79,.25);
  color:var(--ink);
  font-weight:900;
  font-size:.78rem;
  padding:.28rem .55rem;
  border-radius:999px;
}

.testimonial-card{
  border:1px solid rgba(11,18,32,.10);
  border-radius:16px;
  background:#fff;
  padding:18px;
  height:100%;
}
.testimonial-quote{ font-size:1.03rem; line-height:1.55; }
.testimonial-meta{
  margin-top:12px;
  color:#64748b;
  font-weight:800;
  font-size:.82rem;
  letter-spacing:.25px;
  text-transform:uppercase;
}


/* ===========================
   Footer
   =========================== */
footer{
  border-top:1px solid var(--line);
  background:#fff;
}

/* ===========================
   FAQ (Global)
   =========================== */
.faq details{
  border:1px solid rgba(11,18,32,.10);
  border-radius: var(--radius);
  background:#fff;
  padding:14px 16px;
}
.faq details + details{ margin-top:12px; }

.faq summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
  position:relative;
  padding-right:28px;
}
.faq summary::-webkit-details-marker{ display:none; }

.faq summary::after{
  content:"›";
  position:absolute;
  right:0;
  top:0;
  font-size:1.4rem;
  line-height:1;
  transform: rotate(90deg);
  transition: transform .18s ease;
  color: var(--muted);
}
.faq details[open] summary::after{ transform: rotate(-90deg); }

.faq details > div{
  margin-top:10px;
  color:var(--muted);
  font-size:.96rem;
  line-height:1.55;
}
.faq h2{ margin-bottom:14px; }

/* ===========================
   FSBOAssist® CRM Preview
   =========================== */
.crm-shell{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}
.crm-app{
  display:grid;
  grid-template-columns: 230px 1fr;
  min-height: 420px;
}

.crm-sidebar{
  background: #0f1b2d;
  color: rgba(255,255,255,.90);
  padding:14px 12px;
  border-right:1px solid rgba(255,255,255,.08);
}
.crm-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  border-radius:12px;
  font-weight:900;
  letter-spacing:.2px;
}
.crm-nav{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.crm-nav a{
  text-decoration:none;
  color: rgba(255,255,255,.78);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-radius:12px;
  font-size:.92rem;
}
.crm-nav a.active{
  color:#fff;
  background: rgba(232,93,79,.16);
  border:1px solid rgba(232,93,79,.22);
}
.crm-nav a:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
}

.crm-main{ padding:14px; }

.crm-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  background: #0f1b2d;
  border:1px solid rgba(15,27,45,.18);
  border-radius:12px;
  color: rgba(255,255,255,.92);
}
.crm-search{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:12px;
  min-width: 270px;
}
.crm-search input{
  border:0;
  outline:none;
  width:100%;
  font-size:.88rem;
  background: transparent;
  color: rgba(255,255,255,.92);
}
.crm-search input::placeholder{ color: rgba(255,255,255,.60); }

.crm-chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.28rem .55rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-size:.80rem;
  font-weight:800;
  white-space:nowrap;
}
.crm-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.crm-iconbtn{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.crm-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:12px;
}

.crm-panel{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}
.crm-panel-hd{
  padding:10px 10px;
  background: #0f1b2d;
  color: rgba(255,255,255,.92);
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.crm-panel-hd .title{
  font-weight:900;
  letter-spacing:.2px;
  font-size:.92rem;
}
.crm-panel-bd{ padding:10px 10px; }

.crm-table{
  width:100%;
  border-collapse:collapse;
  font-size:.84rem;
}
.crm-table th{
  text-align:left;
  color:var(--muted);
  font-weight:900;
  font-size:.78rem;
  padding:9px 8px;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.crm-table td{
  padding:9px 8px;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
  vertical-align:middle;
}

.crm-table tbody tr{ position:relative; }
.crm-row-active{ background: rgba(232,93,79,.06); }
.crm-row-active::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background: var(--brand);
}

@media (max-width: 1200px){
  .crm-col-phone{ display:none; }
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:.18rem .5rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  border:1px solid var(--line);
  background:#fff;
}
.status-new{ border-color: rgba(232,93,79,.28); background: rgba(232,93,79,.08); }
.status-contacted{ border-color: rgba(59,130,246,.28); background: rgba(59,130,246,.08); }
.status-nurture{ border-color: rgba(16,185,129,.28); background: rgba(16,185,129,.08); }

.crm-kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.kv{
  border:1px solid var(--line);
  border-radius:12px;
  padding:9px 9px;
  background:#fff;
}
.kv .k{
  color:var(--muted);
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.2px;
}
.kv .v{
  font-weight:900;
  margin-top:2px;
  font-size:.92rem;
}

.insight-card{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:9px 9px;
  background:#fff;
}
.insight-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.insight-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:.92rem;
}
.insight-pill{
  padding:.18rem .5rem;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:900;
  font-size:.78rem;
  color:var(--ink);
  background:#fff;
}
.insight-meter{
  position:relative;
  height:12px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid var(--line);
  margin-top:9px;
}
.insight-band{ height:100%; width:33.333%; float:left; }
.insight-low{ background: rgba(11,18,32,.12); }
.insight-med{ background: rgba(232,93,79,.18); }
.insight-high{ background: rgba(232,93,79,.38); }
.insight-marker{
  position:absolute;
  top:-3px;
  width:2px;
  height:18px;
  background: var(--ink);
  left: 70%;
  border-radius:2px;
}
.insight-scale{
  display:flex;
  justify-content:space-between;
  margin-top:6px;
  color:var(--muted);
  font-weight:900;
  font-size:.74rem;
}

.note-box{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:9px 9px;
  background:#fff;
  color:var(--muted);
  min-height:86px;
  font-size:.86rem;
}

.street-card{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.street-hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-bottom:1px solid var(--line);
  background:#fbfbfc;
  font-weight:900;
  font-size:.86rem;
}
.street-badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.18rem .5rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-weight:900;
  font-size:.74rem;
}
.street-img{
  position:relative;
  height:140px;
  background: linear-gradient(135deg, rgba(15,27,45,.10), rgba(232,93,79,.08));
}
.street-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.street-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:10px 10px;
  color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.55));
  font-size:.80rem;
  font-weight:900;
}
.street-overlay .addr{
  max-width:78%;
  line-height:1.2;
}
.street-actions{ display:flex; gap:8px; }
.street-mini{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* ===========================
   Broker Trust Strip (screenshot style)
   =========================== */
.broker-trust{
  padding: 25px 0;
  background:
    radial-gradient(1000px 360px at 50% -30%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0a1426 70%, #091223 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.broker-trust-hd{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-bottom: 26px;
  text-align:center;
}
.broker-trust-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.broker-trust-title{
  color: rgba(255,255,255,.72);
  font-weight: 900;
  letter-spacing: .10em;
  font-size: .92rem;
}
.broker-logos{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:18px;
  flex-wrap:wrap;
}
.broker-logo{
  min-width: 220px;
  max-width: 300px;
  flex: 1 1 240px;
  height: 92px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 44px rgba(0,0,0,.28);
}
.broker-logo img{
  max-height: 40px;
  max-width: 80%;
  display:block;
  opacity: .92;
  filter: brightness(0) invert(1);
}

/* ===========================
   ABOUT PAGE (scoped)
   =========================== */
.page-about .about-hero-light{
  border-bottom: 1px solid rgba(11,18,32,.08);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(232,93,79,.18), transparent 58%),
    radial-gradient(900px 420px at 85% 0%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(246,247,251,1));
}

/* Mission card */
.page-about .about-mission{
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  padding:18px;
}
.page-about .about-checks{
  list-style:none;
  padding-left:0;
  margin:0;
}
.page-about .about-checks li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 0;
  border-top:1px solid rgba(11,18,32,.08);
  font-weight:700;
}
.page-about .about-checks li:first-child{ border-top:0; padding-top:0; }

/* Story / timeline box */
.page-about .about-story{
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  border-radius:18px;
  padding:22px;
}
.page-about .about-quote{
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  padding:18px;
  background:#fbfbfc;
}
.page-about .about-quote .q{
  font-weight:900;
  font-size:1.05rem;
  line-height:1.45;
}
.page-about .about-quote .m{
  margin-top:10px;
  color:#64748b;
  font-weight:900;
  font-size:.82rem;
  letter-spacing:.25px;
  text-transform: uppercase;
}

.page-about .timeline{
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  padding:18px;
}
.page-about .timeline .t-item{
  display:flex;
  gap:12px;
  padding:12px 0;
  border-top:1px solid rgba(11,18,32,.08);
}
.page-about .timeline .t-item:first-child{ border-top:0; padding-top:0; }
.page-about .timeline .dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background: rgba(232,93,79,.45);
  border:2px solid rgba(232,93,79,.55);
  margin-top:4px;
  flex:0 0 auto;
}
.page-about .timeline .t-title{ font-weight:900; }

/* About grid cards */
.page-about .about-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.page-about .about-grid-card{
  border:1px solid rgba(11,18,32,.10);
  border-radius:16px;
  padding:16px;
  background:#fff;
  height:100%;
}
.page-about .about-grid-card .h{ font-weight:900; margin-bottom:6px; }
.page-about .about-grid-card .p{
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
}

/* Contact wrapper + CTA */
.page-about .about-contact{
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  background:#fff;
  padding:22px;
}
.page-about .about-cta{
  margin-top:18px;
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  padding:16px;
  background:
    radial-gradient(700px 260px at 10% 0%, rgba(232,93,79,.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* Contact “pill cards” (your newer layout) */
.page-about .about-contact-center{
  max-width:980px;
  margin:0 auto;
}
.page-about .contact-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.page-about .contact-pill-card{
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  background:#fff;
  padding:16px;
  box-shadow: 0 18px 46px rgba(2,6,23,.08);
  height:100%;
}
.page-about .contact-pill-hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(11,18,32,.08);
  margin-bottom:10px;
}
.page-about .contact-pill-k{
  font-weight:900;
  color:var(--ink);
}
.page-about .contact-pill-v{
  font-weight:900;
  font-size:1.02rem;
  line-height:1.25;
}
.page-about .contact-pill-v a{
  text-decoration:none;
  font-weight:900;
}
.page-about .contact-pill-sub{
  margin-top:8px;
  color:var(--muted);
  font-weight:700;
  font-size:.92rem;
  line-height:1.45;
}
.page-about .dot-sep{
  margin: 0 8px;
  opacity:.55;
  font-weight:900;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px){
  .crm-app{ grid-template-columns: 1fr; }
  .crm-sidebar{ display:none; }
  .crm-grid{ grid-template-columns: 1fr; }
  .crm-search{ min-width:0; width:100%; }
  .crm-topbar{ flex-direction:column; align-items:stretch; }
  .crm-actions{ justify-content:flex-start; }

  .featured{ transform:none; }

  .page-about .about-grid{ grid-template-columns: 1fr; }
  .page-about .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 576px){
  .section{ padding:46px 0; }
  .container{ padding-left:18px; padding-right:18px; }

  .hero .btn-lg{ width:100%; }
  .hero .btn-lg + .btn-lg{ margin-top:8px; }

  .hide-compare-mobile{ display:none !important; }

  .crm-main{ padding:12px; }
  .crm-panel-bd{ padding:10px; }
  .crm-table th,
  .crm-table td{ padding:8px 7px; }

  .broker-trust{ padding:42px 0; }
  .broker-trust-title{ font-size:.82rem; letter-spacing:.08em; }
  .broker-logo{ height:84px; min-width:0; }

  .page-about .about-contact,
  .page-about .about-story{ padding:16px; }
}

/* Contact pill stack */
.page-about .contact-pill-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:6px;
}

.page-about .contact-pill{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  box-shadow: 0 14px 38px rgba(2,6,23,.06);
}

.page-about .contact-pill .k{
  font-weight:900;
  color:var(--ink);
  min-width:170px;
  line-height:1.2;
}

.page-about .contact-pill .v{
  flex:1;
}

.page-about .contact-pill .hint{
  color:var(--muted);
  font-weight:700;
  font-size:.95rem;
  line-height:1.35;
  margin-bottom:10px;
}

.page-about .contact-pill .actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.page-about .contact-pill .chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.42rem .7rem;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.12);
  background:#fff;
  font-weight:900;
  text-decoration:none;
  color:var(--ink);
}

.page-about .contact-pill .chip:hover{
  background:#f8fafc;
}

.page-about .contact-pill .chip-primary{
  border-color: rgba(232,93,79,.25);
  background: rgba(232,93,79,.10);
}

.page-about .contact-pill .meta{
  color:var(--muted);
  font-weight:800;
  font-size:.9rem;
}

/* Mobile: stack label above content */
@media (max-width: 768px){
  .page-about .contact-pill{
    flex-direction:column;
    gap:10px;
  }
  .page-about .contact-pill .k{
    min-width:auto;
  }
  .page-about .contact-pill .hint{
    margin-bottom:8px;
  }
}

/* =========================================================
   BLOG INDEX
   Body class: .page-blog
   ========================================================= */

/* ---------- HERO ---------- */
.page-blog .blog-hero{
  padding:54px 0 28px;
  border-bottom:1px solid rgba(11,18,32,.08);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(232,93,79,.18), transparent 58%),
    radial-gradient(900px 420px at 85% 0%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
}

.page-blog .blog-hero-simple{
  max-width:920px;
}

.page-blog .blog-kicker{
  font-weight:900;
  letter-spacing:.12em;
  font-size:.78rem;
  color:var(--muted);
}

.page-blog .blog-h1{
  margin-top:10px;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.12;
  font-size:clamp(2rem, 3.6vw, 3rem);
}

.page-blog .blog-lead{
  margin-top:12px;
  color:var(--muted);
  font-weight:600;
  font-size:1.05rem;
  line-height:1.6;
  max-width:60ch;
}

/* ---------- FILTERS ---------- */
.page-blog .blog-filters{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.page-blog .blog-filter{
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  color:var(--muted);
  font-weight:800;
  border-radius:999px;
  padding:.45rem .75rem;
  font-size:.86rem;
  cursor:pointer;
}

.page-blog .blog-filter.active{
  color:var(--ink);
  border-color:rgba(232,93,79,.28);
  background:rgba(232,93,79,.10);
}

/* ---------- GRID ---------- */
.page-blog .blog-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

@media (max-width: 992px){
  .page-blog .blog-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 576px){
  .page-blog .blog-grid{ grid-template-columns:1fr; }
}

/* IMPORTANT: grid child wrapper */
.page-blog .blog-item{
  display:flex;
}

/* ---------- CARD ---------- */
.page-blog .blog-card{
  width:100%;
  display:block;
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow:0 14px 34px rgba(2,6,23,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.page-blog .blog-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 48px rgba(2,6,23,.12);
  border-color:rgba(232,93,79,.22);
}

/* ---------- CARD IMAGE ---------- */
.page-blog .blog-card-media{
  width:100%;
  height:220px;
  overflow:hidden;
}

.page-blog .blog-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width:576px){
  .page-blog .blog-card-media{ height:190px; }
}

/* ---------- CARD BODY ---------- */
.page-blog .blog-card-body{
  padding:30px;
}

.page-blog .blog-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.page-blog .blog-pill{
  display:inline-flex;
  align-items:center;
  padding:.22rem .55rem;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  color:var(--muted);
  font-weight:800;
  font-size:.78rem;
}

.page-blog .blog-meta{
  color:#64748b;
  font-weight:800;
  font-size:.82rem;
}

.page-blog .blog-card-title{
  font-weight:900;
  font-size:1.15rem;
  line-height:1.35;
  margin:0 0 6px;
}

.page-blog .blog-card-excerpt{
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
  margin:0;
}

/* ---------- EMPTY STATE ---------- */
.page-blog .blog-empty-card{
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  background:#fff;
  padding:18px;
  text-align:center;
}

/* ---------- BOTTOM CTA ---------- */
.page-blog .blog-bottom-cta{
  margin-top:18px;
  border:1px solid rgba(11,18,32,.10);
  border-radius:18px;
  background:
    radial-gradient(700px 260px at 10% 0%, rgba(232,93,79,.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
/* Blog-style legal pill */
.legal-pill {
  max-width: 900px;
  margin: -60px auto 0 auto; /* pulls card up into hero like blog */
  background: #ffffff;
  border-radius: 18px;
  padding: 0;
}

.legal-content {
  padding: 48px 52px;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 32px 24px;
  }
}

/* Improve legal text readability */
.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content hr {
  margin: 2.5rem 0;
}