:root{
  --bg:#f8fafc;
  --ink:#0f172a;
  --muted:#475569;
  --card:#ffffff;

  /* Brand – Institutional Navy */
  --brand:#0f1c2e;
  --brand-accent:#16263f;
  --dark:#0b1220;
  --ring: rgba(15,28,46,.25);

  --border: rgba(15,23,42,0.08);
  --shadow: 0 10px 25px rgba(0,0,0,0.06);
  --shadow-hero: 0 18px 40px rgba(0,0,0,0.35);
  --radius: 16px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }

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

/* ===================================================== */
/* ================= TOP BRAND BAR ===================== */
/* ===================================================== */

.site-header{
  background:#ffffff;
  padding:1rem 0;
  border-bottom:1px solid var(--border);
}

.logo-bar{
  display:flex;
  align-items:center;
}

.site-logo{
  height:48px;       /* consistent sizing */
  width:auto;
  display:block;     /* prevents baseline “dip” */
}

/* ===================================================== */
/* ================= HERO SECTION ====================== */
/* ===================================================== */

.hero-section{
  background: linear-gradient(135deg,#0f1c2e,#16263f);
  color:#fff;
  padding:3rem 0 4rem;
}

.hero{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:3rem;
  align-items:start; /* top align text + image */
}

.hero img{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow-hero);
  border:1px solid rgba(255,255,255,0.12);
}

/* ===================================================== */
/* ================= TYPOGRAPHY ======================== */
/* ===================================================== */

h1{
  font-size:3rem;
  margin:0 0 1rem;
  letter-spacing:-0.02em;
  line-height:1.1;
  font-weight:800;
}

h2{
  font-size:2rem;
  margin:0 0 1rem;
  letter-spacing:-0.01em;
  line-height:1.2;
  font-weight:700;
}

h3{
  margin:0 0 .5rem;
  letter-spacing:-0.01em;
  line-height:1.25;
  font-weight:600;
}

p{
  line-height:1.65;
  color:var(--muted);
  margin:.5rem 0 0;
}

.hero-section p{
  color:rgba(226,232,240,0.9);
}

/* ===================================================== */
/* ================= BADGES ============================ */
/* ===================================================== */

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1.25rem 0 1.75rem;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:.35rem .65rem;
  border-radius:10px;
  font-size:.9rem;
  color:rgba(226,232,240,0.92);
  background:rgba(226,232,240,0.08);
  border:1px solid rgba(226,232,240,0.18);
  letter-spacing:0.01em;
}

/* ===================================================== */
/* ================= BUTTONS =========================== */
/* ===================================================== */

.btn{
  display:inline-block;
  padding:0.85rem 1.2rem;
  margin:0 .75rem .75rem 0;
  background:var(--brand);
  color:#fff;
  border-radius:10px;
  font-weight:700;
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 10px 20px rgba(15,28,46,0.22);
  transition: all .2s ease;
}

.btn:hover{
  text-decoration:none;
  background:var(--brand-accent);
}

.btn:focus{
  outline:none;
  box-shadow:0 0 0 6px var(--ring), 0 10px 20px rgba(15,28,46,0.22);
}

.btn.secondary{
  background:transparent;
  border:1px solid rgba(226,232,240,0.25);
  box-shadow:none;
}

/* ===================================================== */
/* ================= SECTIONS ========================== */
/* ===================================================== */

section{
  padding:4rem 0;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  align-items:start;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
  margin-top:1.25rem;
}

.card{
  background:var(--card);
  padding:2rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.kicker{
  font-weight:800;
  color:var(--ink);
}

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

.list{
  margin:1rem 0 0;
  padding-left:1.1rem;
  color:var(--muted);
}

.list li{ margin:.35rem 0; }

hr.sep{
  border:none;
  height:1px;
  background:var(--border);
  margin:0;
}

/* ===================================================== */
/* ================= FOOTER ============================ */
/* ===================================================== */

footer{
  background:var(--dark);
  color:#cbd5f5;
  text-align:center;
  padding:2.25rem 2rem;
}

footer p{ color:#cbd5f5; margin:.35rem 0; }

footer a{
  color:#cbd5f5;
  text-decoration:none;
  border-bottom:1px solid rgba(203,213,245,0.35);
}

footer a:hover{ border-bottom-color:transparent; }

/* ===================================================== */
/* ================= SPACING HELPERS =================== */
/* ===================================================== */

.mt-16{ margin-top:1rem; }
.mt-24{ margin-top:1.5rem; }
.mt-32{ margin-top:2rem; }

/* ===================================================== */
/* ================= RESPONSIVE ======================== */
/* ===================================================== */

@media (max-width: 900px){
  .hero{
    grid-template-columns:1fr;
    gap:2rem;
  }

  h1{ font-size:2.4rem; }

  .split{ grid-template-columns:1fr; }
}
