:root{
  --blue:#0f2b46;
  --blue2:#1f4766;
  --red:#d62828;
  --bg:#f7f9fc;
  --text:#243447;
  --muted:#516273;
  --card:#ffffff;
  --line:#dfe7ef;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
}
html {
  scrollbar-gutter: stable;
}
/* --- Subtle tricolor sidebars on wide screens (landscape-like) --- */
@media (min-width: 980px){
  body{
    background:
      linear-gradient(90deg,
		rgba(15,43,70,0.18) 0%,
		rgba(15,43,70,0.12) 12%,
        rgba(247,249,252,1) 24%,
        rgba(247,249,252,1) 76%,
        rgba(214,40,40,0.06) 88%,
        rgba(214,40,40,0.10) 100%
      );
  }
}

/* --- Top bar --- */
.topbar{
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.topbar-inner{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-weight:600;
  letter-spacing:0.2px;
}
.brand .la{
  color: rgba(255,255,255,0.88);
  font-weight:500;
}
.brand .name{
  font-size: 18px;
}
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 14px;
}
.nav a{
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover{
  background: rgba(255,255,255,0.12);
  color:#fff;
}
.nav a.active{
  background: rgba(214,40,40,0.95);
  color:#fff;
}
.nav a.active:hover{
  background: rgba(214,40,40,1);
}

/* --- Layout --- */
.wrap{
  max-width: 980px;
  margin: 32px auto 18px; /* footer closer */
  padding: 0 18px;
}
.hero{
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(15,43,70,0.06);
}
h1{
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.rule{
  height: 3px;
  width: 84px;
  background: var(--red);
  border-radius: 999px;
  margin: 10px 0 18px;
}
.intro{
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75; /* roomier as requested */
  max-width: 78ch;
  margin: 0;
}

/* --- Body: 1 column by default, 2 columns on wide screens --- */
.content{
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 10px;
  box-shadow: 0 10px 28px rgba(15,43,70,0.05);
}
.body-cols{
  column-count: 1;
  column-gap: 44px;
}
@media (min-width: 980px){
  .body-cols{
    column-count: 2;
  }
}
.body-cols p{
  margin: 0 0 16px;
  line-height: 1.75;
  color: #334556;
  break-inside: avoid;
}

.lfs-figure{
  margin: 0 0 18px;
}

.lfs-img{
  display: block;
  width: 100%;
  max-width: 420px;      /* pas aan naar smaak */
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(15,43,70,0.14);
  box-shadow: 0 12px 30px rgba(15,43,70,0.10);
}

/* --- CTA --- */
.cta{
  margin-top: 18px;
  border: 1px solid rgba(214,40,40,0.20);
  background: linear-gradient(180deg, rgba(214,40,40,0.06), rgba(255,255,255,1));
  border-radius: 16px;
  padding: 22px 24px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta h2{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 650;
}
.cta p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.form{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
input[type="email"]{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  min-width: 260px;
  font-size: 14px;
  outline:none;
  background:#fff;
}
input[type="email"]:focus{
  border-color: rgba(15,43,70,0.45);
  box-shadow: 0 0 0 4px rgba(15,43,70,0.10);
}
button{
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--red);
  color:#fff;
  font-weight: 650;
  cursor:pointer;
}
button:hover{ filter: brightness(0.95); }

/* --- Footer --- */
footer{
  max-width: 980px;
  margin: 10px auto 26px;   /* moved up */
  padding: 0 18px;
  color: #6a7a89;
  font-size: 13px;
  line-height: 1.5;
}
footer a{
  color: var(--blue2);
  text-decoration:none;
  border-bottom: 1px dotted rgba(31,71,102,0.55);
}
footer a:hover{ border-bottom-color: rgba(31,71,102,1); }

/* Accessibility: reduce sticky bar on very small screens if wanted */
@media (max-width: 420px){
  h1{ font-size: 28px; }
}
#msgOverlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

#msgBox{
  background:white;
  padding:28px 34px;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  max-width:420px;
  width:90%;
  text-align:center;
  font-size:18px;
}

#msgBox button{
  margin-top:18px;
  padding:8px 18px;
  font-size:15px;
  cursor:pointer;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
