:root{
  --navy:#123d8d;
  --green:#4a9a62;
  --text:#1d2433;
  --muted:#5c667a;
  --bg:#f5f8fc;
  --card:#ffffff;
  --border:#dfe7f2;
  --footer-bg:#0f1730;
  --footer-text:#d8e0ef;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}

img{
  max-width:100%;
}

a{
  color:var(--navy);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.container{
  width:min(1120px, 92%);
  margin:0 auto;
}

/* Header */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:700;
  color:var(--navy);
  text-decoration:none;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active{
  text-decoration:none;
}

.brand img{
  height:88px;
  width:auto;
  display:block;
  flex-shrink:0;
}

.brand span{
  color:var(--navy);
  text-decoration:none;
  border-bottom:none;
  display:inline-block;
}

.navlinks{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  font-size:15px;
}

.navlinks a{
  text-decoration:none;
}

.navlinks a:hover{
  text-decoration:underline;
}

/* Hero */
.hero{
  background:linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom:1px solid var(--border);
}

.hero-inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:42px;
  align-items:center;
  padding:72px 0 64px;
}

.hero h1{
  font-size:52px;
  line-height:1.08;
  margin:0 0 18px;
  color:var(--navy);
}

.hero p.lead{
  font-size:20px;
  color:var(--muted);
  margin:0 0 18px;
}

.hero p{
  margin:0 0 14px;
}

.hero-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
  box-shadow:0 15px 40px rgba(18,61,141,.08);
}

.hero-card img{
  width:100%;
  height:auto;
  display:block;
}

.badge{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:#eaf3ff;
  color:var(--navy);
  font-size:13px;
  font-weight:700;
  margin-bottom:14px;
}

/* Buttons */
.btns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.btn{
  display:inline-block;
  padding:14px 22px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--navy);
  text-decoration:none;
}

.btn:hover{
  text-decoration:none;
}

.btn.primary{
  background:var(--navy);
  color:#fff;
}

.btn.secondary{
  background:#fff;
  color:var(--navy);
}

/* Sections */
.section{
  padding:68px 0;
}

.section.alt{
  background:var(--bg);
}

.section h2{
  font-size:36px;
  line-height:1.16;
  margin:0 0 16px;
  color:var(--navy);
}

.section p.intro{
  font-size:18px;
  color:var(--muted);
  max-width:840px;
}

/* Cards and grids */
.grid-4,
.grid-3,
.grid-2{
  display:grid;
  gap:22px;
  margin-top:28px;
}

.grid-4{
  grid-template-columns:repeat(4,1fr);
}

.grid-3{
  grid-template-columns:repeat(3,1fr);
}

.grid-2{
  grid-template-columns:repeat(2,1fr);
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:24px;
  box-shadow:0 10px 22px rgba(14,32,70,.04);
}

.card h3{
  margin:0 0 10px;
  font-size:21px;
  color:var(--navy);
}

/* CTA */
.cta{
  background:linear-gradient(135deg, var(--navy), #1e66c8);
  color:#fff;
  border-radius:28px;
  padding:40px;
  border:1px solid #1b4fa8;
}

.cta h2,
.cta p{
  color:#fff;
}

/* Footer */
.footer{
  background:var(--footer-bg);
  color:var(--footer-text);
  margin-top:30px;
}

.footer a{
  color:var(--footer-text);
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
  padding:44px 0 22px;
}

.footer .brand img{
  height:96px;
  width:auto;
  display:block;
}

.footer .brand span{
  color:var(--footer-text);
}

.footer-note{
  padding:18px 0 34px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:14px;
  color:#c7d2e8;
}

/* Inner pages */
.page-hero{
  padding:54px 0 28px;
  background:linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom:1px solid var(--border);
}

.page-hero h1{
  margin:0;
  color:var(--navy);
  font-size:44px;
}

.page-hero p{
  max-width:820px;
  color:var(--muted);
  font-size:18px;
}

/* Forms */
.form{
  display:grid;
  gap:14px;
  max-width:760px;
}

input,
textarea{
  width:100%;
  padding:14px 15px;
  border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
}

textarea{
  min-height:150px;
}

/* Utility */
.small{
  font-size:14px;
  color:var(--muted);
}

.list{
  padding-left:20px;
}

/* Articles / blog */
.article{
  max-width:860px;
}

.article h1{
  font-size:42px;
  line-height:1.12;
  margin:0 0 14px;
  color:var(--navy);
}

.article h2{
  font-size:28px;
  line-height:1.2;
  margin:32px 0 12px;
  color:var(--navy);
}

.article p,
.article li{
  font-size:17px;
}

.article .meta{
  color:var(--muted);
  font-size:15px;
  margin-bottom:24px;
}

.article .note{
  background:#f8fbff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}

/* Cookie banner */
#cookie-banner{
  box-shadow:0 -6px 24px rgba(0,0,0,.18);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:40px;
  }

  .nav{
    align-items:flex-start;
    flex-direction:column;
  }

  .brand img{
    height:72px;
  }

  .footer .brand img{
    height:80px;
  }
}

@media (max-width: 640px){
  .section{
    padding:54px 0;
  }

  .hero-inner{
    padding:54px 0 48px;
  }

  .hero h1{
    font-size:34px;
  }

  .page-hero h1{
    font-size:34px;
  }

  .card,
  .hero-card,
  .cta{
    padding:22px;
  }

  .brand img{
    height:64px;
  }
}
