:root{
  --navy:#0F1C2E;
  --green:#2E7D5A;
  --bg:#ffffff;
  --soft:#F2F4F7;
  --border:#E6E9EE;
  --text:#0F1C2E;
  --muted:#5A636B;
  --max:1040px;
  --radius:18px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Segoe UI, Inter, system-ui, -apple-system, Roboto, Arial, sans-serif;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

.skip{position:absolute;left:-9999px}
.skip:focus{
  left:20px;top:20px;
  background:#fff;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  z-index:10
}

/* Header / nav */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--border);
}

/* Optional: adds a subtle shadow when you scroll (requires tiny JS toggle) */
html.scrolled header{
  box-shadow:0 10px 30px rgba(15,28,46,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.brand img{
	height:54px;
	width:auto;
	}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

/* Improved nav: larger hit area + subtle hover background */
nav a{
  font-weight:650;
  color:var(--navy);
  opacity:.92;
  padding:8px 10px;
  border-radius:10px;
  transition:opacity .15s ease, background .15s ease;
}

nav a:hover{
  opacity:1;
  background:rgba(15,28,46,.04);
}

/* Active state as a pill */
nav a.active{
  opacity:1;
  text-decoration:none;
  background:rgba(15,28,46,.06);
}

.ctaBand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  padding:12px 16px;
  border:2px solid var(--navy);
  font-weight:700;
  white-space:nowrap;
}

.btn.primary{background:var(--navy);color:#fff}
.btn.primary:hover{filter:brightness(1.04)}
.btn.ghost:hover{background:rgba(15,28,46,.04)}

/* Page headings */
.pageHead{padding:30px 0 10px}

.kicker{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 8px;
}

h1{
  margin:0;
  font-size:clamp(32px,4vw,48px);
  line-height:1.08;
  letter-spacing:-.01em;
}

h2{
  margin:0 0 12px;
  font-size:20px;
}

/* Alignment / rhythm */
.box > * + *{margin-top:12px}
.card > * + *{margin-top:12px}

.underline{
  height:6px;
  width:420px;
  max-width:75%;
  background:var(--green);
  border-radius:8px;
  margin:16px 0 0;
}

.lead{
  margin:16px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
  max-width:62ch;
}

.section{padding:32px 0}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}

/* Cards / boxes with subtle elevation */
.box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  background:#fff;

  box-shadow:0 2px 8px rgba(15,28,46,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}

.card{
  background:var(--soft);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;

  box-shadow:0 2px 8px rgba(15,28,46,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}

.box:hover,
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(15,28,46,.08);
}

.band{
  background:var(--soft);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.bar{
  width:6px;
  height:36px;
  background:var(--green);
  border-radius:8px;
  margin-bottom:12px;
}

p{margin:0;color:var(--muted);line-height:1.6}
.list{margin:10px 0 0 18px;color:var(--muted);line-height:1.65}

/* Hero */
.hero{
  padding:72px 0 34px;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:28px;
  align-items:start;
}

.hero h1{margin-bottom:18px}

/* Homepage credibility line */
.credLine{
  margin:16px 0 26px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  max-width:70ch;
}

/* Motif */
.motifCard{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  background:#fff;
  position:relative;
  min-height:260px;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;
  text-align:center;
}

.motifBg{
  position:absolute;
  width:480px;
  opacity:.16;
  pointer-events:none;
}

.motifNote{
  position:relative;
  z-index:2;
  max-width:44ch;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
  padding:12px 18px;
  background:rgba(255,255,255,0.70);
  backdrop-filter:blur(4px);
  border-radius:12px;
}

/* Footer */
footer{
  background:var(--navy);
  color:rgba(255,255,255,.85);
  margin-top:24px;
}

.foot{padding:18px 0;font-size:14px;line-height:1.55}
.foot a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  nav a{transition:none}
  .box,.card{transition:none}
  .box:hover,.card:hover{transform:none}
}

/* Responsive */
@media (max-width: 920px){
  .credLine{margin-top:12px;}
  .motifBg{width:560px;}
  .heroGrid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  nav ul{gap:12px}
  .brand img{height:48px}
}