:root {
  --blue: #2489ce;
  --blue-2: #1f6fb0;
  --blue-bright: #5aa9e5;
  --blue-deep: #143b5e;
  --red: #e7281c;
  --red-deep: #c41f15;

  --ink: #14385a;
  --body: #45565d;
  --muted: #7c9099;

  --bg: #ffffff;
  --bg-soft: #eef5fb;
  --line: #d5e6f4;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --shadow: 0 22px 60px -28px rgba(20, 59, 94, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { color: var(--body); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--blue-bright); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--head);
  font-weight: 700; font-size: .98rem;
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 12px 28px -12px rgba(231, 40, 28, 0.8);
}
.btn-join:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.site-header {
  position: relative; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px -8px rgba(20, 59, 94, 0.2);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(170px, 22vw, 240px); height: auto; }
.header-right { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.login-link { font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--blue); }
.login-link:hover { color: var(--blue-bright); }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }
.hnav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.menu-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--blue);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}

.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(72vh, 620px);
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    linear-gradient(90deg, rgba(223, 240, 250, 0.97) 0%, rgba(223, 240, 250, 0.78) 30%, rgba(223, 240, 250, 0.25) 52%, rgba(223, 240, 250, 0) 68%),
    url('/images/em-splash.jpg?v=3') right center / cover no-repeat,
    var(--blue-bright);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 600px; }
.hero-heading { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: 16px; }
.hero-sub { color: var(--ink); font-size: 1.18rem; margin-bottom: 30px; max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slim light-blue strip reserved for a future menu (step cards removed) */
.steps { background: var(--bg-soft); padding: 0; }
.steps .container { min-height: 56px; }

.editorial { padding: clamp(56px, 8vw, 110px) 0; }
.editorial .container { max-width: 920px; }
.prose-block { margin-bottom: clamp(40px, 6vw, 64px); }
.prose-block:last-child { margin-bottom: 0; }
.prose-block h1 { margin-bottom: 18px; }
.prose-block h2, .prose-block h3 { margin-bottom: 16px; }
.prose-block h2 { color: var(--blue); }
.prose-block h3 { color: var(--blue-2); margin-top: 28px; }
.prose-block h3:first-child { margin-top: 0; }
.prose-block p { font-size: 1.12rem; line-height: 1.85; margin-bottom: 16px; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block strong { color: var(--ink); }
.prose-block ul { margin: 14px 0 0; padding: 0; list-style: none; }
.prose-block li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 1.1rem; line-height: 1.7; color: var(--body); }
.prose-block li:last-child { margin-bottom: 0; }
.prose-block li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.prose-block.alt { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; padding: clamp(24px, 3vw, 36px); }

.cta-inline {
  display: block; text-align: center;
  margin-top: 28px;
  background: rgba(231, 40, 28, 0.07);
  border: 1px solid rgba(231, 40, 28, 0.28);
  border-radius: 14px;
  padding: 22px 28px;
}
.cta-inline strong { color: var(--red); font-family: var(--head); font-size: 1.22rem; line-height: 1.3; }
.cta-inline:hover { background: rgba(231, 40, 28, 0.12); border-color: var(--red); }

.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 104px) 0;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }

.site-footer { background: var(--blue-deep); color: #fff; padding: 52px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.footer-logo img { width: 230px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.2); }
.footer-links a { font-size: .95rem; color: rgba(255,255,255,0.9); text-decoration: underline; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-copy { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,0.75); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--blue-deep); color: #fff;
  padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.92); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--blue-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--red); color: #fff; border-color: var(--red); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .hero {
    min-height: 80vh;
    align-items: flex-end;
    padding: 0 0 clamp(40px, 11vw, 64px);
    background:
      url('/images/em-splash-mob.jpg?v=2') center top / cover no-repeat,
      var(--blue-bright);
  }
  .hero-inner { max-width: 100%; }
  .hero-heading { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 22px rgba(0, 0, 0, 0.45); }
  .hero .eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65); }
  .hero-ctas .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.9); }
  .hero-ctas .btn-ghost:hover { background: #fff; color: var(--ink); }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 8px; font-size: .9rem; }
  .header-right { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .hnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -16px rgba(20, 59, 94, 0.3);
    padding: 18px var(--gutter); z-index: 50;
  }
  .hnav.open { display: flex; }
  .login-link { display: block; font-size: 1.05rem; padding: 4px 2px; }
}
@media (max-width: 520px) {
  .hero-ctas { width: 100%; }
}
