/* ======================================================
   TT Norms — self-hosted webfonts
   ====================================================== */
@font-face{
  font-family:'TT Norms';
  src:url('fonts/TTNorms-Light.woff2') format('woff2'),
      url('fonts/TTNorms-Light.woff')  format('woff');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'TT Norms';
  src:url('fonts/TTNorms-Regular.woff2') format('woff2'),
      url('fonts/TTNorms-Regular.woff')  format('woff');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'TT Norms';
  src:url('fonts/TTNorms-Medium.woff2') format('woff2'),
      url('fonts/TTNorms-Medium.woff')  format('woff');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'TT Norms';
  src:url('fonts/TTNorms-Bold.woff2') format('woff2'),
      url('fonts/TTNorms-Bold.woff')  format('woff');
  font-weight:700; font-style:normal; font-display:swap;
}

/* ======================================================
   Tokens
   ====================================================== */
:root{
  --blue:        #3981D2;   /* hero / brand blue */
  --blue-light:  #BDE0F2;   /* cards section */
  --navy:        #1A2F59;   /* dark bands */
  --navy-deep:   #202A44;   /* dark text */
  --accent:      #5EB3F6;   /* light-blue accents / outlines */
  --muted:       #95A8B6;   /* footer fine print */
  --white:       #ffffff;

  --maxw: 1280px;
  --radius-card: 22px;
  --radius-btn: 12px;

  --font: 'TT Norms', system-ui, -apple-system, Segoe UI, sans-serif;
}

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

body{
  font-family:var(--font);
  font-weight:400;
  color:var(--navy-deep);
  background:var(--navy);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.section-inner{
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:clamp(20px, 5vw, 64px);
  position:relative;
  z-index:2;
}

/* ======================================================
   Hero banner (image)
   ====================================================== */
.hero-banner{
  display:block;
  background:var(--blue);          /* matches banner edge while loading */
  line-height:0;                   /* kill inline-image gap */
}
.hero-banner picture,
.hero-banner img{
  display:block;
  width:100%;
  height:auto;
}

/* ======================================================
   CTA band
   ====================================================== */
.cta-band{
  background:var(--navy);
  text-align:center;
  padding-block:clamp(44px, 7vw, 80px);
}
.cta-band h2{
  font-weight:700;
  color:#fff;
  font-size:clamp(1.6rem, 5vw, 3rem);
  line-height:1.15;
  max-width:780px;
  margin-inline:auto;
}
.cta-band h2 .hl{ color:var(--accent); }

/* ======================================================
   Buttons
   ====================================================== */
.btn{
  display:inline-block;
  font-family:var(--font);
  font-weight:700;
  font-size:clamp(.95rem, 2vw, 1.1rem);
  text-decoration:none;
  padding:16px 34px;
  border-radius:var(--radius-btn);
  cursor:pointer;
  border:3px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover{ transform:translateY(-3px); }
.btn:active{ transform:translateY(-1px); }

.btn-outline{
  background:transparent;
  border-color:var(--accent);
  color:var(--accent);
}
.btn-outline:hover{ background:var(--accent); color:var(--navy); }

.btn-solid{
  background:#fff;
  color:var(--navy);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.btn-solid:hover{ box-shadow:0 14px 30px rgba(0,0,0,.3); }

.cta-band .btn{ margin-top:clamp(24px, 4vw, 36px); }

/* ======================================================
   Cards
   ====================================================== */
.cards{
  background:var(--blue-light);
  padding-block:clamp(48px, 7vw, 92px);
}
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:clamp(18px, 2.5vw, 30px);
}
.card{
  background:#fff;
  border-radius:var(--radius-card);
  padding:clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px);
  text-align:center;
  box-shadow:0 18px 40px rgba(26,47,89,.12);
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform:translateY(-8px);
  box-shadow:0 26px 55px rgba(26,47,89,.2);
}
.card h3{
  font-weight:700;
  color:var(--navy);
  font-size:clamp(1.25rem, 2.6vw, 1.6rem);
  margin-bottom:.7em;
  line-height:1.1;
}
.card p{
  color:#46566b;
  font-weight:400;
  font-size:clamp(.92rem, 1.7vw, 1rem);
  max-width:30ch;
  margin-inline:auto;
}

/* ======================================================
   Footer CTA
   ====================================================== */
.footer-cta{
  background:var(--navy);
  text-align:center;
  padding-block:clamp(54px, 8vw, 96px);
}
.footer-cta h2{
  font-weight:700;
  color:#fff;
  font-size:clamp(1.9rem, 5.5vw, 3.4rem);
  margin-bottom:.5em;
}
.footer-cta p.lead{
  color:#cdd7e6;
  font-weight:400;
  font-size:clamp(.95rem, 2vw, 1.15rem);
  max-width:560px;
  margin:0 auto clamp(28px, 4vw, 40px);
}
.footer-cta .actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  margin-bottom:clamp(40px, 6vw, 64px);
}
.footer-cta .actions .btn{ min-width:240px; }

.fineprint{
  color:var(--muted);
  font-weight:400;
  font-size:clamp(.72rem, 1.4vw, .82rem);
  max-width:780px;
  margin-inline:auto;
  line-height:1.6;
}

/* ======================================================
   Entrance animations
   ====================================================== */
.reveal{ opacity:0; transform:translateY(24px); animation:rise .8s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes rise{ to{ opacity:1; transform:none; } }
.d1{ animation-delay:.05s; } .d2{ animation-delay:.18s; }
.d3{ animation-delay:.32s; } .d4{ animation-delay:.46s; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 860px){
  .card-grid{ grid-template-columns:1fr; max-width:440px; margin-inline:auto; }
}
@media (max-width: 480px){
  .footer-cta .actions .btn{ width:100%; max-width:320px; }
}
