:root{
  --brand:#0c3b59;
  --brand-2:#0a2f47;
  --ink:#0b1720;
  --muted:#4b5b67;
  --bg:#ffffff;
  --card:#f6f8fa;
  --line:#e6ebef;
  --accent:#caa35a;
  --accent-2:#0b6fbf;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
}

a{color:var(--accent-2);text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ===== Top bar ===== */
.topbar{
  background:linear-gradient(180deg,var(--brand),var(--brand-2));
  color:#eaf2f8;
  font-size:14px;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
}
.topbar a{color:#fff;text-decoration:underline}

/* ===== Header / Nav ===== */
header{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
  overflow:hidden; /* prevents any accidental logo blowouts */
}

/* ===== Header logo sizing (BIGGER but still capped) ===== */
.brand img,
.brand svg{
  height:80px;
  width:auto;
  max-height:80px;
  max-width:360px;
  display:block;
  object-fit:contain;
}

/* ===== Nav ===== */
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:center;
  flex:1;
}
.nav a{
  color:#173041;
  font-weight:600;
  font-size:14px;
  padding:8px 4px;
}
.nav a:hover{color:var(--brand)}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:190px;
  justify-content:flex-end;
}

/* ===== Buttons ===== */
.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--accent);
  color:#1c1407;
  border-color:#b8924e;
}
.btn-primary:hover{filter:brightness(0.98);text-decoration:none}
.btn-outline{
  border-color:#b7c6d1;
  color:#173041;
  background:#fff;
}
.btn-outline:hover{text-decoration:none;background:#f3f7fa}

/* ===== Hero ===== */
.hero{
  background:linear-gradient(180deg,var(--brand),var(--brand-2));
  color:#fff;
  padding:56px 0;
}
/* ===== Hero plan logo control (HCP / CCP) ===== */
.hero img{
  max-height: 96px;
  height: auto;
  width: auto;
  max-width: 420px;
  margin: 10px 0 14px;
  display: block;
}

/* Slightly smaller on mobile */
@media (max-width: 860px){
  .hero img{
    max-height: 78px;
    max-width: 320px;
  }
}

.hero h1{
  margin:0 0 10px 0;
  font-size:48px;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.hero p{
  margin:0 0 18px 0;
  max-width:780px;
  color:#eaf2f8;
  font-size:18px;
}
.hero .hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* ===== KEY FIX: HERO LOGO IMAGES ARE ALWAYS CAPPED ===== */
/* This prevents the HCP logo from exploding and keeps CCP/HCP consistent */
.hero img{
  max-height:110px;     /* adjust 90–130 if you want */
  width:auto;
  height:auto;
  max-width:520px;
  display:block;
  object-fit:contain;
}

/* ===== Sections / Layout ===== */
.section{padding:44px 0}
.section h2{margin:0 0 10px 0;font-size:28px}
.section p.lead{
  margin:0 0 16px 0;
  color:var(--muted);
  max-width:860px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}
.card h3{margin:0 0 8px 0}
.card p{margin:0;color:var(--muted)}

.col-6{grid-column:span 6}
.col-12{grid-column:span 12}

.list{
  margin:10px 0 0 0;
  padding:0 0 0 18px;
  color:var(--muted);
}

.callout{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}

/* ===== Footer ===== */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
  font-size:14px;
}
.footer a{color:var(--muted);text-decoration:underline}

/* Footer logo sizing (independent from header) */
.footer img,
.footer svg,
footer img,
footer svg{
  max-height:34px;
  height:auto;
  width:auto;
  max-width:220px;
  display:block;
  object-fit:contain;
}

.small{font-size:14px;color:var(--muted)}
.hr{border:none;border-top:1px solid var(--line);margin:18px 0}

/* ===== Mobile ===== */
@media (max-width: 860px){
  .brand{min-width:auto}
  .cta{min-width:auto}
  .hero h1{font-size:38px}
  .col-6{grid-column:span 12}
  .header-inner{flex-wrap:wrap}
  .nav{justify-content:flex-start}

  /* Mobile header logo */
  .brand img,
  .brand svg{
    height:64px;
    max-height:64px;
    max-width:300px;
  }

  /* Mobile hero logo cap (slightly smaller) */
  .hero img{
    max-height:96px;
    max-width:420px;
  }
}
