:root{
  --brand-primary: #0d6efd; /* Bootstrap primary */
  --brand-accent: #1e90ff;
  --muted: #6c757d;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --surface-shadow: 0 6px 18px rgba(13,110,253,0.08);
  --radius: 12px;
}

/* New color palette */
:root{
  --accent-1: #7c3aed; /* violet */
  --accent-2: #06b6d4; /* cyan */
  --accent-3: #f97316; /* orange */
  --text-dark: #0b2947;
}

html{font-size:16px;box-sizing:border-box}
,*,:before,:after{box-sizing:inherit}
body{
  background: linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%);
  color:#222;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height:1.6;
  margin:0 0 80px 0;
}

/* NAVBAR */
.site-nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;color:var(--text-dark);text-decoration:none}
.brand .logo{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,var(--accent-1),var(--accent-2));display:inline-block}
/* Global header logo size (top-left) */
.brand img{width:200px;height:200px;border-radius:12px;object-fit:cover;margin-right:1rem}
.nav-cta{background:var(--accent-2);background-image:none;color:#fff;padding:.5rem .9rem;border-radius:10px;text-decoration:none;font-weight:600;border:1px solid rgba(11,41,71,0.06)}

/* HERO */
.hero{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;padding:2rem;border-radius:14px;background:linear-gradient(180deg,rgba(124,58,237,0.08),rgba(6,182,212,0.03));margin-bottom:1.25rem}
.hero h1{color:var(--text-dark);font-size:2rem}
.hero p{color:var(--muted);max-width:70%}
.hero .hero-cta{background:var(--accent-1);background-image:none;color:#fff;padding:.7rem 1.1rem;border-radius:12px;font-weight:700;text-decoration:none;border:1px solid rgba(11,41,71,0.06)}

.container{max-width:1100px}

.card{
  background:var(--card-bg);
  border-radius:var(--radius);
  box-shadow:var(--surface-shadow);
  padding:1.5rem;
  margin-bottom:1.25rem;
}

/* Make card stand out on hero */
.card.hero-card{margin-top:0.5rem;padding:1.25rem}

h1,h2,h3{color:#0b2947;margin-top:0}
h1{font-size:1.9rem;font-weight:700}
h2{font-size:1.35rem;font-weight:600;margin-bottom:.6rem}

.lead{color:var(--muted)}

form .form-label{font-weight:600;color:#123;}
.form-control{border-radius:8px}

.btn-primary{
  background: var(--accent-1);
  border: 1px solid rgba(11,41,71,0.08);
  padding:.65rem 1rem;
  border-radius:10px;
  font-weight:600;
  color: #fff;
  box-shadow: 0 4px 10px rgba(12,22,40,0.04);
}

.adsbygoogle{margin:1rem 0;border-radius:8px;overflow:hidden}

/* Sections */
section{padding:1rem;background:transparent}

.mt-4{margin-top:1.5rem}

/* Table improvements */
.table{background:#fff;border-radius:8px;overflow:hidden}
.table thead{background:linear-gradient(90deg,#f1f6ff,#ffffff)}
.table th,.table td{vertical-align:middle}

/* Chart canvas responsive */
#amortChart{width:100%!important;max-width:100%;height:auto}

/* FAQ accordion styles */
.faq-item{border-bottom:1px solid #eef3ff;padding:0.75rem 0}
.faq-q{cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.faq-q h4{margin:0;font-size:1rem}
.faq-a{margin-top:.5rem;color:var(--muted);display:none}
.faq-open .faq-a{display:block}

/* Focus and accessible outlines */
.btn:focus,.form-control:focus{outline:none;box-shadow:0 0 0 3px rgba(13,110,253,0.12)}

@media (max-width:767px){
  h1{font-size:1.5rem}
  .card{padding:1rem}
  .hero p{max-width:100%}
}

/* Homepage-specific larger logo and title */
.home-page .brand img{width:200px;height:200px;border-radius:12px;margin-right:1rem}
.home-page .brand span{font-size:1.25rem}
.home-page .hero h1{font-size:2.6rem}
.home-page .hero{padding:2.5rem}

