/* CoverMonth — site-wide styles (public/1) */

:root{
  --navy:#032042;
  --green:#009C3E;
  --green-hover:#008336;
  --blue:#007BFF;
  --cta-gradient: linear-gradient(111deg, #5C72AE -2.71%, #1D3474 158.4%);
  --surface:#F8F9FA;
  --text:#212529;
  --muted:#6C757D;
  --muted-small:#495057;
  --border:#DEE2E6;
  --white:#FFFFFF;
  --orange:#F5842C;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--text);
  font-size:1rem;
  line-height:1.5;
  background:var(--white);
}
h1,h2{font-family:'Lato',system-ui,sans-serif;font-weight:900;margin:0;color:var(--navy);line-height:1.15;}
h3{font-family:'Lato',system-ui,sans-serif;font-weight:700;margin:0;line-height:1.25;}
p{margin:0;}
a{color:inherit;}
button{font-family:inherit;cursor:pointer;}
img{max-width:100%;display:block;}

.container{max-width:1140px;margin:0 auto;padding:0 24px;}
.section{padding:72px 0;}
@media (max-width:768px){ .section{padding:48px 0;} }

/* -------- Header -------- */
.site-header{
  background:var(--navy);
  padding:16px 0;
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;}
.wordmark{display:inline-flex;align-items:center;text-decoration:none;}
.wordmark img{height:38px;width:auto;}
.header-nav{display:flex;align-items:center;gap:28px;}
.header-nav a{color:var(--white);text-decoration:none;font-weight:500;font-size:.95rem;}
.header-nav a:hover{text-decoration:underline;}
.header-security{display:flex;align-items:center;gap:6px;color:#C9D3E0;font-size:.82rem;}
.header-security svg{width:16px;height:16px;flex:none;}
@media (max-width:600px){ .header-nav{gap:14px;font-size:.85rem;} }

/* -------- Hero -------- */
.hero{
  background:var(--navy);
  padding:56px 0 48px;
}
.hero .container{
  display:grid;
  grid-template-columns:55fr 45fr;
  gap:48px;
  align-items:center;
  width:100%;
}
@media (max-width:900px){
  .hero .container{grid-template-columns:1fr;}
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.2rem, 5vw, 3.4rem);
  line-height:1;
}
.hero .sub{
  color:#C9D3E0;
  font-size:1.1rem;
  margin-top:18px;
  max-width:50ch;
}
.hero-bullets{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-direction:column;gap:12px;}
.hero-bullets li{display:flex;gap:10px;align-items:flex-start;color:var(--white);font-size:.98rem;}
.hero-bullets svg{flex:none;margin-top:3px;}

.widget-card{
  background:var(--white);
  border-radius:20px;
  padding:28px;
  box-shadow:0 20px 50px rgba(3,32,66,.35);
}
.widget-card h2{font-size:1.15rem;color:var(--navy);}
.amount-display{
  font-family:'Lato',sans-serif;
  font-weight:900;
  font-size:2.1rem;
  color:var(--navy);
  margin:14px 0 6px;
}
input[type="range"]{
  width:100%;
  accent-color:var(--blue);
  height:6px;
}
.slider-range-labels{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted-small);margin-top:4px;}
.btn{
  display:inline-block;
  width:100%;
  text-align:center;
  background:var(--green);
  color:var(--white);
  font-weight:700;
  font-size:1.2rem;
  padding:15px 20px;
  border:none;
  border-radius:10px;
  margin-top:18px;
}
.btn:hover{background:var(--green-hover);}
.trust-line{
  text-align:center;
  color:var(--muted-small);
  font-size:.82rem;
  margin-top:14px;
}

/* -------- Feature boxes -------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
@media (max-width:800px){ .feature-grid{grid-template-columns:1fr;} }
.feature-card{
  background:var(--surface);
  border-radius:16px;
  padding:32px;
}
.feature-card h3{font-size:1.15rem;color:var(--navy);margin-bottom:12px;}
.feature-card p{color:var(--muted-small);}
.feature-card ol{margin:0;padding-left:20px;color:var(--muted-small);}
.feature-card ol li{margin-bottom:6px;}

/* -------- How it works -------- */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
@media (max-width:800px){ .steps-grid{grid-template-columns:1fr;} }
.step-num{
  font-family:'Lato',sans-serif;
  font-weight:900;
  font-size:2rem;
  color:var(--orange);
  margin-bottom:10px;
}
.step-item p{color:var(--muted-small);}

/* -------- Loan-type cards -------- */
.loan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:800px){ .loan-grid{grid-template-columns:1fr;} }
.loan-card{
  border-top:4px solid var(--green);
  background:var(--surface);
  border-radius:0 0 16px 16px;
  padding:28px;
}
.loan-card h3{color:var(--navy);margin-bottom:8px;font-size:1.1rem;}
.loan-card p{color:var(--muted-small);}

/* -------- FAQ -------- */
.faq-item{border-bottom:1px solid var(--border);}
.faq-question{
  width:100%;
  background:none;
  border:none;
  text-align:left;
  padding:20px 4px;
  font-weight:600;
  font-size:1.05rem;
  color:var(--navy);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-question .chev{transition:transform .2s ease;flex:none;}
.faq-item[data-open="true"] .chev{transform:rotate(180deg);}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  color:var(--muted-small);
}
.faq-item[data-open="true"] .faq-answer{max-height:300px;}
.faq-answer-inner{padding:0 4px 20px;}

/* -------- CTA section -------- */
.cta-wrap{
  background:var(--cta-gradient);
  border-radius:70px;
  padding:56px 40px;
  text-align:center;
  color:var(--white);
}
@media (max-width:700px){ .cta-wrap{border-radius:36px;padding:40px 24px;} }
.cta-wrap h2{color:var(--white);font-size:clamp(1.6rem, 3vw, 2.2rem);}
.cta-widget{max-width:420px;margin:28px auto 0;background:rgba(255,255,255,.08);border-radius:16px;padding:24px;}
.cta-widget h3{color:var(--white);font-size:1rem;font-weight:600;}
.cta-wrap input[type="range"]{accent-color:var(--white);}
.cta-amount{font-family:'Lato',sans-serif;font-weight:900;font-size:1.8rem;margin:10px 0;}
.cta-wrap .trust-line{color:#E4E9F5;}

/* -------- Empathy section -------- */
.empathy{background:var(--white);}
.empathy-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;}
@media (max-width:800px){ .empathy-grid{grid-template-columns:1fr;} }
.empathy h2{font-size:clamp(1.6rem,3vw,2.2rem);}
.empathy p{margin-top:16px;color:var(--muted-small);max-width:62ch;}
.empathy-image{
  border-radius:16px;
  aspect-ratio:4/3;
  overflow:hidden;
}
.empathy-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
}

/* -------- Footer -------- */
footer.site-footer{background:#2B2B2B;color:#fff;padding:40px 0;text-align:center;}
.footer-inner{max-width:960px;margin:0 auto;}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  margin-bottom:16px;
}
.footer-links a{
  color:#fff;text-decoration:none;font-size:.94rem;
  padding:2px 12px;
}
.footer-links a:hover{text-decoration:underline;}
.footer-links .sep{color:rgba(255,255,255,.4);}
.footer-logo{padding:8px 0;margin-bottom:16px;}
.footer-logo img{height:34px;width:auto;margin:0 auto;}
footer.site-footer .disclaimer{
  font-size:.75rem;color:#fff;line-height:1.6;margin:0 0 16px;max-width:940px;margin-left:auto;margin-right:auto;
}
footer.site-footer .company-line, footer.site-footer .validation-line{
  font-size:.85rem;color:#fff;line-height:1.5;margin:0 0 12px;
}
footer.site-footer .validation-line a{color:#fff;text-decoration:none;}
footer.site-footer .copyright-line{
  font-size:.85rem;color:#fff;margin:12px 0 0;
}
@media (max-width:600px){
  .footer-links a{padding:2px 8px;font-size:.88rem;}
  footer.site-footer .disclaimer{font-size:.72rem;}
}

/* -------- Legal pages -------- */
.legal-page{padding:56px 0 72px;}
.legal-content{max-width:800px;margin:0 auto;}
.legal-content h1{font-size:2.3rem;margin-bottom:.5rem;}
.legal-content .last-updated{color:var(--muted);margin-bottom:2rem;font-size:.9rem;}
.legal-content h2{font-size:1.4rem;margin:2rem 0 1rem;}
.legal-content h3{font-size:1.1rem;margin:1.5rem 0 .75rem;}
.legal-content p{color:var(--muted-small);margin-bottom:1rem;line-height:1.55;}
.legal-content ul, .legal-content ol{color:var(--muted-small);margin-bottom:1rem;padding-left:1.5rem;}
.legal-content li{margin-bottom:.5rem;line-height:1.55;}
.legal-content a{color:var(--blue);}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--white);color:var(--navy);padding:10px;z-index:200;}
.skip-link:focus{left:10px;top:10px;}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}
