/* Existing site-wide stylesheet: preserved as supplied. Homepage-specific new styles are scoped in index.html. */
 :root{--navy:#102A43;--dark:#0A1F33;--teal:#087F8C;--bg:#F5F8FA;--text:#183153;--muted:#62758A;--border:#DFE7ED}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);line-height:1.7}a{color:var(--teal)}a:hover{text-decoration:underline}.wrap{max-width:1040px;margin:auto;padding:0 22px}.site-head{background:#fff;border-bottom:1px solid var(--border)}.nav{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.logo{font-size:24px;letter-spacing:-.8px;font-weight:800;color:var(--navy);text-decoration:none}.logo span{color:var(--teal)}.links{display:flex;gap:18px;flex-wrap:wrap}.links a{text-decoration:none;font-size:14px;font-weight:600;color:var(--navy)}.links a[aria-current=page]{color:var(--teal)}.hero{padding:54px 0 24px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--teal);text-transform:uppercase}.hero h1{font-size:clamp(30px,4vw,44px);letter-spacing:-1px;line-height:1.2;margin:12px 0}.lead{font-size:18px;color:var(--muted);max-width:760px}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;padding:clamp(24px,4vw,46px);margin:18px 0 60px;box-shadow:0 8px 30px rgba(16,42,67,.04)}h2{color:var(--navy);font-size:21px;margin:28px 0 8px}h2:first-child{margin-top:0}p{margin:0 0 16px}ul{padding-left:22px}li{margin:7px 0}.note{background:#EFF7F8;border-left:4px solid var(--teal);padding:18px;border-radius:8px;margin:20px 0}.button{display:inline-block;background:var(--teal);color:#fff;text-decoration:none;padding:12px 20px;border-radius:9px;font-weight:700}.button:hover{background:#066774;text-decoration:none}footer{background:var(--navy);color:#DDEAF2;padding:30px 0;text-align:center;font-size:13px}footer a{color:#E7F4F4;text-decoration:none}.footer-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:10px}@media(max-width:600px){.nav{justify-content:center}.links{justify-content:center;gap:12px}.hero{padding-top:34px}}

/* MortgageCampass footer improvements */
footer {
  background: #102A43;
  color: #DDEAF2;
  padding: 40px 20px;
  text-align: center;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 18px;
}

footer .footer-links a,
footer .footer-links a:visited {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
  color: #8EE0E4;
  text-decoration: underline;
}

footer p {
  color: #DDEAF2;
  font-size: 13px;
  line-height: 1.7;
  margin: 10px auto;
  max-width: 850px;
}

/* Fix footer links - override existing styles */
body footer .footer-links a,
body footer .footer-links a:link,
body footer .footer-links a:visited {
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
}

body footer .footer-links a:hover,
body footer .footer-links a:focus-visible {
  color: #8EE0E4 !important;
  text-decoration: underline !important;
}

body footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 18px;
}

/* MortgageCampass Homepage Mobile Navigation */
@media (max-width: 600px) {

  .mc-header nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 12px 8px;
    margin: 12px auto 0;
    justify-items: center;
    align-items: center;
  }

  .mc-header nav a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    padding: 5px 2px;
  }
}

/* Shared MortgageCampass Header */
.mc-shared-header {
  background: #fff;
  border-bottom: 1px solid #dfe7ed;
}

.mc-shared-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mc-shared-brand {
  display: block;
  width: 300px;
  flex-shrink: 0;
}

.mc-shared-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mc-shared-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.mc-shared-nav a {
  color: #102A43;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.mc-shared-nav a:hover,
.mc-shared-nav a[aria-current="page"] {
  color: #087F8C;
}

/* Tablet */
@media (max-width: 800px) {
  .mc-shared-inner {
    flex-direction: column;
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .mc-shared-inner {
    padding: 14px 0;
  }

  .mc-shared-brand {
    width: 300px;
    max-width: 80vw;
    margin: 0 auto;
  }

  .mc-shared-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 12px 8px;
    justify-items: center;
    align-items: center;
  }

  .mc-shared-nav a {
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    padding: 5px 2px;
  }
}

