:root {
  --navy: #0C2740;
  --green: #4D7133;
  --green-dark: #3E5C29;
  --grey: #D5DAE1;
  --slate: #5B6475;
  --ink: #1B2533;
  --mist: #F3F5F7;
  --white: #FFFFFF;
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --radius-tile: 18px;
  --radius: 10px;
  --wrap: 1120px;
  --measure: 40rem;
}
.page-exit { --accent: var(--navy); --accent-dark: #071A2C; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Lato", "Calibri", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid #E0A526; outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 0.6em; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--slate); max-width: var(--measure); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: var(--measure); }
section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.band { background: var(--mist); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: 0.5rem 1rem; z-index: 100; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.5rem; border-radius: var(--radius); border: 2px solid var(--accent);
  background: var(--accent); color: var(--white); transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--grey); border-color: var(--grey); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--grey); backdrop-filter: blur(6px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-links .btn { padding: 0.6rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 15ch; }

/* The G to E journey: the signature element */
.journey { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.tile {
  aspect-ratio: 1; border-radius: var(--radius-tile); display: flex; flex-direction: column;
  justify-content: space-between; padding: clamp(1rem, 2.4vw, 1.5rem); text-decoration: none; color: var(--white);
  position: relative;
}
.tile .letter { font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 700; line-height: 0.8; margin-top: 0.15em; }
.tile .cap { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.tile .cap small { display: block; font-weight: 400; opacity: 0.85; font-size: 0.85rem; }
.tile-g { background: var(--green); }
.tile-e { background: var(--navy); }
.tile.away { background: var(--white); color: var(--slate); border: 2px dashed var(--grey); transition: border-color .15s, color .15s; }
.tile.away:hover { border-color: var(--slate); color: var(--navy); }
.tile.away .letter { color: var(--grey); transition: color .15s; }
.tile-e.away:hover .letter { color: var(--navy); }
.tile-g.away:hover .letter { color: var(--green); }
.pill {
  margin: 0 -0.9rem; z-index: 2; background: var(--white); border: 3px solid var(--grey); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-weight: 700; color: var(--slate); font-size: 1.1rem;
}
.journey-note { grid-column: 1 / -1; margin-top: 1.1rem; font-size: 0.95rem; color: var(--slate); text-align: center; }

/* Comparison table */
.table-scroll { overflow-x: auto; margin-top: 2rem; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--grey); }
.compare thead th { font-size: 1.05rem; color: var(--navy); border-bottom: 2px solid var(--navy); }
.compare tbody th { color: var(--slate); font-weight: 700; width: 18%; }
.compare td { color: var(--slate); }
.compare .ours { background: var(--accent); color: var(--white); border-bottom-color: rgba(255,255,255,.25); }
.compare thead .ours { border-radius: var(--radius) var(--radius) 0 0; color: var(--white); border-bottom-color: rgba(255,255,255,.4); }
.compare tbody tr:last-child .ours { border-radius: 0 0 var(--radius) var(--radius); }
.compare .ours small { display: block; font-weight: 400; font-size: 0.85rem; opacity: 0.85; }

/* Two-column text + aside */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.outcomes li { background: var(--white); border-left: 5px solid var(--accent); padding: 1rem 1.25rem; font-weight: 700; color: var(--navy); box-shadow: 0 1px 0 var(--grey); }
.outcomes-label { font-size: 0.95rem; color: var(--slate); margin-bottom: 0.75rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.9rem; }
.checks li { position: relative; padding-left: 2.4rem; font-size: 1.2rem; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.5rem; height: 1.5rem; border-radius: 6px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* Focus areas: ruled list, not cards */
.focus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: 2rem; }
.focus > div { border-top: 2px solid var(--navy); padding: 1.25rem 0 1.5rem; }
.focus p { color: var(--slate); margin: 0; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 2rem 0 1rem; }
.role { border: 2px solid var(--grey); border-radius: var(--radius); padding: 1.5rem; }
.role h3 { margin-bottom: 0.25rem; }
.role p { color: var(--slate); margin: 0; }
.role-single { max-width: 40rem; }

/* Offer panel */
.offer { background: var(--accent); color: var(--white); }
.offer h2 { color: var(--white); }
.offer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.offer p { color: rgba(255,255,255,.9); }
.price-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 1.75rem; }
.price-box .fee { font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: 0.25rem; }
.price-box p { font-size: 1rem; }
.offer-label { font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 0.5rem; }

/* Steps: genuine sequences */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; position: relative; padding-top: 3.75rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 10px;
  background: var(--accent); color: var(--white); font-weight: 900; display: grid; place-items: center; font-size: 1.15rem;
}
.steps li::after { content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -1rem; height: 2px; background: var(--grey); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--slate); margin: 0; font-size: 1.05rem; }

/* Results */
.result { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 1.5rem; }
.figures { display: grid; gap: 1.25rem; margin: 0; }
.figures div { border-left: 5px solid var(--green); padding-left: 1rem; }
.figures dt { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 900; color: var(--navy); line-height: 1; }
.figures dd { margin: 0.3rem 0 0; color: var(--slate); }

/* Callout to the other page */
.bridge { border-left: 6px solid var(--navy); padding: 0.5rem 0 0.5rem 1.75rem; max-width: 46rem; }
.page-exit .bridge { border-left-color: var(--green); }

/* Exit page specifics */
.timeline { margin-top: 2rem; }
.timeline-bar { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1.2fr; gap: 4px; }
.timeline-bar span { height: 14px; background: var(--grey); }
.timeline-bar span.go { background: var(--green); }
.timeline-bar span:first-child { border-radius: 7px 0 0 7px; }
.timeline-bar span:last-child { background: var(--navy); border-radius: 0 7px 7px 0; }
.timeline-labels { display: flex; justify-content: space-between; margin-top: 0.6rem; font-size: 0.95rem; color: var(--slate); }
.timeline-labels strong { color: var(--navy); }

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.reasons > div { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border-top: 5px solid var(--navy); }
.reasons p { color: var(--slate); margin: 0; }

.drivers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-top: 1px solid var(--grey); border-left: 1px solid var(--grey); }
.drivers > div { border-right: 1px solid var(--grey); border-bottom: 1px solid var(--grey); padding: 1.5rem; }
.drivers p { color: var(--slate); margin: 0; font-size: 1.05rem; }

.routes { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.routes li { border: 2px solid var(--navy); color: var(--navy); font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 999px; }

.scorecard { background: var(--green); color: var(--white); border-radius: var(--radius-tile); padding: clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: 1.5fr auto; gap: 2rem; align-items: center; }
.scorecard h2 { color: var(--white); margin-bottom: 0.4em; }
.scorecard p { margin: 0; color: rgba(255,255,255,.92); }

/* Closing call to action */
.closing { background: var(--navy); color: var(--white); text-align: center; }
.closing h2 { color: var(--white); }
.closing p { color: rgba(255,255,255,.88); margin-left: auto; margin-right: auto; max-width: 36rem; }
.closing .actions { justify-content: center; }
.closing .page-link { margin-top: 2rem; font-size: 1rem; }
.closing .page-link a { color: var(--white); font-weight: 700; }
.page-exit .closing .btn { background: var(--green); border-color: var(--green); }
.page-exit .closing .btn:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* Footer */
footer { background: #081C2F; color: rgba(255,255,255,.8); padding: 3.5rem 0 2.5rem; font-size: 1rem; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
footer a { color: var(--white); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.tagline { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: rgba(255,255,255,.65); margin-top: 1rem; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split, .offer .wrap, .result, footer .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .journey { max-width: 26rem; }
  .steps.three, .steps.four { grid-template-columns: 1fr; }
  .steps li { padding-top: 0; padding-left: 3.75rem; min-height: 2.6rem; }
  .steps li::after { display: none; }
  .drivers { grid-template-columns: repeat(2, 1fr); }
  .scorecard { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--grey); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--mist); }
  .nav-links a:not(.btn) { display: block; padding: 0.9rem 0; border: 0; }
  .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .nav-links .btn { display: block; text-align: center; }
  .focus, .roles, .reasons, .drivers { grid-template-columns: 1fr; }
  .checks li { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Footer logo: outline the navy tile so it shows on the dark footer */
footer .brand { display: block; }
footer .brand svg { height: 56px; width: auto; }
footer .brand rect:nth-of-type(2) { stroke: #FFFFFF; stroke-width: 4; }
.swipe-hint { display: none; font-size: 0.95rem; color: var(--slate); margin: 1.25rem 0 0; }
@media (max-width: 720px) { .swipe-hint { display: block; } }
.closing .direct { margin-top: 1.25rem; font-size: 1rem; }
.closing .direct a { color: var(--white); font-weight: 700; }
footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-head { font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-contact p { line-height: 1.9; }
@media (max-width: 900px) { footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Scorecard page ---------- */
.page-score { --accent: var(--green); }
.sc-hero { padding-bottom: 2.5rem; }
.sc-hero h1 { max-width: 16ch; }
.sc-facts { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sc-facts li { background: var(--mist); border-radius: var(--radius); padding: 0.6rem 1rem; color: var(--slate); font-size: 1rem; }
.sc-facts strong { color: var(--navy); }
.sc-how { color: var(--slate); font-size: 1rem; border-left: 4px solid var(--grey); padding-left: 1rem; }
.hidden-field { position: absolute; left: -9999px; }

.sc-questions { padding-top: 1rem; }
.area-block { margin-bottom: 3rem; }
.area-title { font-size: 1.5rem; border-bottom: 2px solid var(--navy); padding-bottom: 0.6rem; margin-bottom: 1.25rem; }
.area-title span { display: block; font-size: 0.9rem; font-weight: 700; color: var(--green); margin-bottom: 0.2rem; letter-spacing: 0; }
.q { border: 0; margin: 0 0 1.75rem; padding: 0; }
.q legend { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.75rem; display: flex; gap: 0.75rem; padding: 0; }
.qn { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 8px; background: var(--mist); color: var(--navy); font-weight: 900; font-size: 0.95rem; display: grid; place-items: center; }
.q.answered .qn { background: var(--green); color: var(--white); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; padding-left: 2.65rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.1rem; border: 2px solid var(--grey); border-radius: var(--radius); padding: 0.55rem 0.25rem; transition: border-color .12s, background .12s; height: 100%; }
.opt b { font-size: 1.15rem; color: var(--navy); }
.opt small { font-size: 0.72rem; color: var(--slate); line-height: 1.2; }
.opt:hover span { border-color: var(--slate); }
.opt input:checked + span { background: var(--green); border-color: var(--green); }
.opt input:checked + span b, .opt input:checked + span small { color: var(--white); }
.opt input:focus-visible + span { outline: 3px solid #E0A526; outline-offset: 2px; }

.sc-bar { position: sticky; bottom: 0; z-index: 40; background: rgba(255,255,255,.97); border-top: 1px solid var(--grey); padding: 0.85rem 0; }
.sc-bar.done { position: static; }
.sc-bar-inner { display: flex; align-items: center; gap: 1rem; }
.progress { flex: 1; height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--green); transition: width .2s; }
#progress-text { font-size: 0.95rem; color: var(--slate); white-space: nowrap; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.sc-result { background: var(--mist); }
.result-label { font-weight: 700; color: var(--green); margin-bottom: 0.75rem; }
.result-head { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center; }
.dial { width: 9rem; height: 9rem; border-radius: var(--radius-tile); background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial span { font-size: 3.6rem; font-weight: 900; line-height: 1; }
.dial small { font-size: 0.85rem; opacity: 0.8; }
.result-head h2 { margin-bottom: 0.3em; }
.result-head p { color: var(--slate); margin: 0; }
.scale-bar { position: relative; display: grid; grid-template-columns: 40fr 30fr 30fr; gap: 3px; margin: 2rem 0 2.5rem; }
.seg { padding-top: 14px; position: relative; font-size: 0.85rem; color: var(--slate); }
.seg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; }
.s1::before { background: #C9D2DC; border-radius: 5px 0 0 5px; }
.s2::before { background: #8FA57D; }
.s3::before { background: var(--green); border-radius: 0 5px 5px 0; }
.seg span { display: block; font-weight: 700; color: var(--navy); }
.marker { position: absolute; top: -6px; width: 4px; height: 22px; background: var(--navy); border-radius: 2px; transform: translateX(-50%); }

.gate, .next-step, .focus-area { background: var(--white); border-radius: var(--radius-tile); padding: clamp(1.5rem, 4vw, 2.25rem); margin-top: 1.5rem; }
.gate { border: 2px solid var(--green); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.fields label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.fields input { font: inherit; font-weight: 400; font-size: 1rem; padding: 0.75rem; border: 2px solid var(--grey); border-radius: 8px; }
.fields input:focus { border-color: var(--green); outline: none; }
.consent { font-size: 0.85rem; color: var(--slate); }
.form-error { color: #B42318; font-weight: 700; font-size: 0.95rem; }

.area-bars { display: grid; gap: 0.85rem; margin: 1rem 0 0.5rem; }
.abar { display: grid; grid-template-columns: 15rem 1fr 2.5rem; gap: 1rem; align-items: center; }
.abar-name { font-weight: 700; color: var(--navy); font-size: 1rem; }
.abar-track { height: 14px; background: var(--white); border-radius: 7px; overflow: hidden; }
.abar-fill { display: block; height: 100%; background: var(--green); border-radius: 7px; }
.abar.lowest .abar-fill { background: var(--navy); }
.abar-val { font-weight: 900; color: var(--navy); text-align: right; }
.focus-area { border-left: 6px solid var(--navy); }
.focus-area p { color: var(--slate); }

@media (max-width: 720px) {
  .scale { padding-left: 0; gap: 0.3rem; }
  .opt small { font-size: 0.62rem; }
  .fields { grid-template-columns: 1fr; }
  .abar { grid-template-columns: 1fr 2.5rem; }
  .abar-name { grid-column: 1 / -1; }
  .result-head { grid-template-columns: 1fr; }
  .dial { width: 7.5rem; height: 7.5rem; }
  .seg { font-size: 0.72rem; }
  #progress-text { font-size: 0.85rem; }
}
.hero.sc-hero .wrap { display: block; }
[hidden] { display: none !important; }

/* LinkedIn profile link */
a.linkedin { display: inline-flex; align-items: center; gap: 0.4em; }
a.linkedin svg { width: 1em; height: 1em; flex: none; }
