body {
  margin: 0;
}

/* ==========================================================
   LEEA BRAND TOKENS (from LEEA Brand Guidelines)
   Primary palette: LEEA Blue #1C2F57, LEEA Grey #CECECD, white.
   Tints of blue and grey only. Every colour comes from here.
   ========================================================== */
:root {
  --leea-blue: #1c2f57;
  --leea-blue-bright: #234b91; /* lighter end of the brand cover gradient */
  --leea-grey: #cececd;
  --grey-dark: #8c8c8b; /* LEEA grey, darkened for 3:1 graphic contrast */
  --blue-10: #e8eaee; /* 10% tint of LEEA Blue */
  --blue-5: #f3f4f7; /* 5% tint */
  --page: #eef0f4; /* page background */
  --ink: #2a2f38; /* body copy */
  --muted: #545a64;
  --line: #dde1e8;
  --white: #ffffff;
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  --slab: "Roboto Slab", Georgia, serif;
  --radius: 20px;
  --shadow:
    0 1px 2px rgba(28, 47, 87, 0.06), 0 10px 28px rgba(28, 47, 87, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3 {
  color: var(--leea-blue);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.125rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--leea-blue-bright);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--leea-blue);
}
a:focus-visible {
  outline: 3px solid var(--leea-blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
strong {
  font-weight: 700;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.measure {
  max-width: 46rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  padding: 12px 16px;
  z-index: 10;
}
.skip:focus {
  left: 16px;
  top: 8px;
}

/* Header: logo top right on white, clear space of half its width */
.site-header {
  background: var(--white);
}
.site-header .wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: block;
  line-height: 0;
}
.logo img {
  display: block;
  width: 56px;
  height: auto;
}

/* Banner: launch status, white card at the top of the hero */
.banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  color: var(--leea-blue);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 36px;
  box-shadow: 0 8px 24px rgba(10, 20, 45, 0.25);
}
.banner-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--leea-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.banner p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--leea-blue);
}

/* Hero: brand cover gradient */
.hero {
  background: linear-gradient(
    100deg,
    var(--leea-blue-bright) 0%,
    var(--leea-blue) 62%
  );
  color: var(--white);
  padding: 28px 0 56px;
}
.hero h1 {
  color: var(--white);
}
.hero .sub {
  font-family: var(--slab);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1em;
}
.hero p {
  color: #e4e8f0;
}
.hero .banner p {
  color: var(--leea-blue);
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--white);
  color: var(--leea-blue);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  line-height: 1.3;
}
.button:hover {
  background: var(--blue-10);
  color: var(--leea-blue);
}
.button img {
  width: 20px;
  height: 20px;
  flex: none;
}

.media-dialog {
  max-width: none;
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}
.media-dialog::backdrop {
  background: rgb(0 0 0 / 75%);
}
.media-dialog__content {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 48px rgb(0 0 0 / 30%);
}
.media-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}
.media-dialog__header h2 {
  margin: 0;
  font-size: 1.125rem;
}
.media-dialog__close {
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--leea-blue);
  font: inherit;
  cursor: pointer;
}
.video-dialog {
  width: min(900px, calc(100% - 2rem));
}
.video-dialog__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.image-dialog {
  width: min(1200px, calc(100% - 2rem));
}
.image-dialog__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
}

/* Graphic 1: assessment window */
.tl {
  margin: 36px 0 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 16px 24px;
  color: var(--leea-blue);
}
.tl-span {
  margin: 0 8%;
  text-align: center;
}
.tl-span-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}
.tl-big {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tl-bracket {
  margin: 10px 8% 0;
  height: 12px;
  border: 2px solid var(--leea-blue-bright);
  border-bottom: none;
}
.tl-track {
  position: relative;
  height: 40px;
}
.tl-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--leea-grey);
}
.tl-bar {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 12px;
  margin-top: -6px;
  background: var(--leea-blue);
  border-radius: 6px;
}
.tl-pin {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--leea-blue);
}
.tl-pin--start {
  left: 8%;
}
.tl-pin--end {
  left: 92%;
  background: var(--leea-blue-bright);
  border-color: var(--leea-blue-bright);
}
.tl-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 calc(8% - 12px);
  margin-top: 8px;
  font-weight: 600;
  font-size: 1rem;
}
.tl-ends span {
  max-width: 48%;
}
.tl-ends span:last-child {
  text-align: right;
}

/* Sections sit in white panels on the tinted page */
.section {
  padding: 12px 0;
}
main > .section:first-of-type {
  padding-top: 32px;
}
main > .section:last-of-type {
  padding-bottom: 48px;
}
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
}
.panel > h2,
.panel > .measure > h2:first-child {
  margin-bottom: 0.7em;
}

/* Shared pieces */
.icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--leea-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2px var(--leea-blue);
}
.icon img {
  width: 26px;
  height: 26px;
}
.tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--leea-blue);
  box-shadow: inset 0 0 0 1px var(--grey-dark);
  margin-bottom: 0.5em;
}
.tile {
  background: var(--blue-5);
  border-radius: 14px;
}

/* What it is */
.why-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.why {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.why .icon {
  margin-bottom: 14px;
}
.why h3 {
  margin-bottom: 0.4em;
}
.why p {
  font-size: 0.975rem;
}
.why p:last-child {
  margin-bottom: 0;
}
.why-link {
  margin-top: auto;
  padding-top: 4px;
}
.why-link a,
.join a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
}
.join {
  margin-top: 14px;
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.join-label {
  background: var(--blue-10);
  padding: 18px 20px;
}
.join-label h3 {
  margin: 0;
  font-family: var(--slab);
  font-weight: 400;
  font-size: 1.25rem;
}
.join-body {
  padding: 18px 20px;
}
.join-body p:last-child {
  margin-bottom: 0;
}

/* How it works */
.intro {
  margin: -0.25em 0 1.5em;
}
.journey-img {
  margin: 0 0 28px;
}
.journey-image-container {
  overflow: hidden;
  border-radius: 14px;
  background: var(--leea-blue);
}
.journey-image-container img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
}
.journey-img figcaption {
  margin-top: 10px;
  font-size: 0.9375rem;
}
.journey-img figcaption a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.sstep {
  padding: 18px 20px;
}
.sstep h3 {
  margin: 0 0 0.35em;
  font-size: 1.0625rem;
}
.sstep p {
  font-size: 0.975rem;
  margin: 0 0 0.6em;
}
.sstep p:last-child {
  margin: 0;
}
.sstep--optional {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--leea-grey);
  border: 2px dashed var(--grey-dark);
  box-shadow: none;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--leea-blue);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  vertical-align: 2px;
}
.time {
  color: var(--muted);
}
.time b {
  color: var(--leea-blue);
}
.finish {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
  background: linear-gradient(
    100deg,
    var(--leea-blue-bright),
    var(--leea-blue) 70%
  );
  color: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
}
.finish::before {
  content: "";
  position: absolute;
  left: 43px;
  top: -34px;
  height: 34px;
  width: 2px;
  background: var(--leea-blue);
}
.finish .icon {
  box-shadow: none;
}
.finish h3 {
  color: var(--white);
  margin: 0 0 0.2em;
}
.finish p {
  margin: 0;
  color: #e4e8f0;
}
.after-steps {
  margin: 24px 0 0;
}

/* How long it takes */
.lead-line {
  color: var(--leea-blue);
  line-height: 1.05;
  margin: 0 0 24px;
}
.lead-line span {
  display: block;
  font-family: var(--slab);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.2em;
}
.lead-line strong {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.gather {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.gather li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
}
.gather .icon {
  border-radius: 12px;
}

/* Branches */
.branches {
  display: grid;
  gap: 28px;
}
.grids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  margin: 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--blue-5);
}
.grids figure {
  margin: 0;
  text-align: center;
}
.grids figcaption {
  margin-top: 10px;
  font-weight: 700;
  color: var(--leea-blue);
  font-size: 0.9375rem;
}
.grid9 {
  width: 150px;
  height: 150px;
}
.grid81 {
  width: 150px;
  height: 150px;
}

/* If you fall behind: label-column rows */
.behind {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 0;
  display: grid;
  gap: 10px;
}
.behind li {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.behind strong {
  display: block;
  background: var(--blue-10);
  color: var(--leea-blue);
  padding: 12px 16px;
}
.behind span {
  display: block;
  padding: 12px 16px;
}

/* LiftEx card */
.event {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}
.event .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.event .icon img {
  width: 30px;
  height: 30px;
}
.event h3 {
  font-size: 1.25rem;
}
.event dl {
  margin: 16px 0;
  display: grid;
  gap: 10px;
}
.event dl > div {
  background: var(--blue-5);
  border-radius: 12px;
  padding: 12px 16px;
}
.event dt {
  font-weight: 700;
  color: var(--leea-blue);
}
.event dd {
  margin: 0;
}
.venue {
  font-weight: 600;
  color: var(--leea-blue);
  margin: 0;
}
.event a {
  font-weight: 700;
}

.help-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.help-links a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
}

/* Footer: LEEA blue band with sign-off */
.site-footer {
  background: var(--leea-blue);
  color: var(--white);
  padding: 28px 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--white);
  font-weight: 700;
}
.signoff {
  font-size: 0.9375rem;
}
.signoff span {
  opacity: 0.85;
}

.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;
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
  h1 {
    font-size: 3rem;
  }
  .panel {
    padding: 36px 36px;
  }
  .tl {
    padding: 32px 32px 28px;
  }
  .tl-big {
    font-size: 3.75rem;
  }
  .gather {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .join {
    grid-template-columns: 220px 1fr;
  }
  .join-label {
    display: flex;
    align-items: center;
  }
  .behind li {
    grid-template-columns: minmax(200px, 38%) 1fr;
  }
  .behind strong,
  .behind span {
    padding: 14px 18px;
  }
  .behind span {
    align-self: center;
  }
}

/* ---------- Desktop ---------- */
@media screen and (min-width: 960px) {
  .section {
    padding: 14px 0;
  }
  main > .section:first-of-type {
    padding-top: 40px;
  }
  .hero {
    padding: 40px 0 72px;
  }
  .site-header .wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .logo img {
    width: 72px;
  }
  .banner {
    margin-bottom: 48px;
  }
  .banner {
    padding: 18px 24px;
  }
  .banner p {
    font-size: 1.125rem;
  }
  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .panel {
    padding: 48px 56px;
  }
  .lead-line strong {
    font-size: 4.25rem;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .branches {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 48px;
  }
  .event {
    grid-template-columns: 64px 1fr;
  }
  .event .icon {
    width: 64px;
    height: 64px;
  }
  .event dl > div {
    display: grid;
    grid-template-columns: 170px 1fr;
    column-gap: 24px;
  }
}

/* ---------- Print (A4) ---------- */
@media print {
  @page {
    size: A4;
    margin: 16mm 14mm;
  }
  body {
    font-size: 10.5pt;
    line-height: 1.45;
    background: none;
  }
  .skip {
    display: none;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .hero {
    background: none;
    color: var(--ink);
    padding: 0 0 12pt;
  }
  .hero h1,
  .hero .sub {
    color: var(--leea-blue);
  }
  .logo img {
    width: 22mm;
  }
  .hero p {
    color: var(--ink);
  }
  .section {
    padding: 6pt 0;
  }
  .panel {
    box-shadow: none;
    border: 1px solid var(--line);
    padding: 14pt;
  }
  .tl {
    box-shadow: none;
    border: 1px solid var(--line);
  }
  .banner {
    box-shadow: none;
    border: 1.5pt solid var(--leea-blue);
    padding: 8pt 10pt;
  }
  .banner-icon {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  h1 {
    font-size: 24pt;
  }
  h2 {
    font-size: 16pt;
  }
  .lead-line strong {
    font-size: 28pt;
  }
  .tl-big {
    font-size: 30pt;
  }
  .button {
    background: none;
    color: var(--leea-blue);
    border: 1.5pt solid var(--leea-blue);
    padding: 6pt 10pt;
    min-height: 0;
  }
  .button::after {
    content: " " attr(href);
    font-weight: 400;
    font-size: 9pt;
  }
  .journey-image-container {
    overflow: visible;
  }
  .journey-image-container img {
    min-width: 0;
  }
  .tl,
  .sstep,
  .journey-img,
  .gather li,
  .event,
  .grids,
  .why,
  .join,
  .finish,
  .behind li {
    break-inside: avoid;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  .tl,
  .journey-image-container,
  .grids,
  .icon,
  .finish,
  .num,
  .site-footer,
  .tile,
  .behind strong,
  .join-label {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
