/* Home Revision 2 is intentionally page-scoped. Shared tokens and base styles remain unchanged. */
.home-v2 {
  --home-v2-paper: #f8f6f1;
  --home-v2-paper-deep: #eeeae1;
  --home-v2-white: #fff;
  --home-v2-ink: #15171b;
  --home-v2-ink-soft: #5d6269;
  --home-v2-navy: #101c2c;
  --home-v2-navy-soft: #1a2b40;
  --home-v2-line: #d8d4cb;
  --home-v2-red: var(--conc-700);
  --home-v2-red-dark: var(--conc-800);
  --home-v2-red-tint: #fbe9e8;
  /* on-dark roles (hero, ink sections) — every literal below maps to one of these */
  --home-v2-on-dark-soft: rgba(255,255,255,.78);
  --home-v2-on-dark-line: rgba(255,255,255,.85);
  --home-v2-on-dark-wash: rgba(255,255,255,.06);
  --home-v2-red-light: #ffb3ad;
  --home-v2-scrim: linear-gradient(90deg, rgba(10,16,26,.88) 0%, rgba(10,16,26,.7) 45%, rgba(10,16,26,.3) 100%);
  --home-v2-max: 1180px;
  margin: 0;
  /* clip (not hidden) so body does not become a scroll container and the sticky nav keeps working */
  overflow-x: clip;
  background: var(--home-v2-paper);
  color: var(--home-v2-ink);
  font-family: var(--font-sans);
  font-size: 1rem; /* running text at 16px (was inheriting 14.4px) */
}
.home-v2 *, .home-v2 *::before, .home-v2 *::after { box-sizing: border-box; }
.home-v2 a { color: inherit; }
.home-v2 img { max-width: 100%; }
.home-v2 h1, .home-v2 h2, .home-v2 h3, .home-v2 p { overflow-wrap: anywhere; }
.home-v2 h1, .home-v2 h2, .home-v2 h3 { text-wrap: balance; }
.home-v2 :where(a, button):focus-visible { outline: 3px solid var(--conc-600); outline-offset: 4px; }
.home-v2 section[id], .home-v2 [id="contact"] { scroll-margin-top: 5.5rem; }
.home-v2__skip { position: fixed; z-index: 20; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .7rem 1rem; background: var(--home-v2-white); color: var(--home-v2-ink); font-weight: 700; }
.home-v2__skip:focus { transform: none; }
.home-v2__inner { width: min(calc(100% - 3rem), var(--home-v2-max)); margin-inline: auto; }

/* Nav: same order of destinations as the previous Home, plus the language switch. */
.home-v2__nav { position: sticky; z-index: 10; top: 0; background: var(--home-v2-paper); }
.home-v2__nav-inner { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.5rem); width: min(calc(100% - 3rem), 1280px); min-height: 4.25rem; margin-inline: auto; }
.home-v2__brand, .home-v2__footer-brand { flex: none; font-family: var(--font-display); font-size: 1.38rem; font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
.home-v2__reg { margin-left: .06em; font-family: inherit; font-size: .42em; font-weight: 600; letter-spacing: 0; vertical-align: super; }
.home-v2__links { display: flex; align-items: center; gap: clamp(.75rem, 1.4vw, 1.6rem); margin-inline: auto; }
.home-v2__links a, .home-v2__login, .home-v2__nav-contact, .home-v2__footer-links a { color: var(--home-v2-ink-soft); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-v2__links a:hover, .home-v2__nav-contact:hover, .home-v2__footer-links a:hover { color: var(--home-v2-ink); }
.home-v2__nav-actions { display: flex; flex: none; align-items: center; gap: 1rem; }
/* Shown only when the section tabs collapse, so Contact us stays reachable from the bar. */
.home-v2__nav-contact { display: none; }
.home-v2__login { padding: .5rem .95rem; border: 1px solid var(--home-v2-ink); border-radius: 3px; color: var(--home-v2-ink); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.home-v2__login:hover { background: var(--home-v2-ink); color: var(--home-v2-white); }
.home-v2__language { display: flex; align-items: center; gap: .25rem; font-family: var(--font-sans); font-size: .8125rem; }
.home-v2__language-button { min-width: 2.75rem; min-height: 2.75rem; padding: .25rem .4rem; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--home-v2-ink-soft); cursor: pointer; font: inherit; font-weight: 700; }
.home-v2__language-button:hover { border-color: var(--home-v2-line); color: var(--home-v2-ink); }
.home-v2__language-button.is-selected { border-color: var(--home-v2-ink); background: var(--home-v2-ink); color: var(--home-v2-white); }

/* Buttons and type */
.home-v2__button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.35rem; border: 1px solid var(--home-v2-red); border-radius: 3px; background: var(--home-v2-red); color: var(--home-v2-white); font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.home-v2 a.home-v2__button { color: var(--home-v2-white); } /* .home-v2 a {color:inherit} outranked the button: dark text on red in the contact section (3.1:1) */
.home-v2__button:hover { border-color: var(--home-v2-red-dark); background: var(--home-v2-red-dark); color: var(--home-v2-white); transform: translateY(-1px); }
.home-v2__button--ghost { border-color: var(--home-v2-on-dark-line); background: var(--home-v2-on-dark-wash); color: var(--home-v2-white); }
.home-v2__button--ghost:hover { border-color: var(--home-v2-white); background: var(--home-v2-white); color: var(--home-v2-navy); }
.home-v2__eyebrow { margin: 0 0 1rem; color: var(--home-v2-red-dark); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; line-height: 1.5; }
.home-v2__eyebrow--light { color: var(--home-v2-red-light); }
.home-v2 h1, .home-v2 h2, .home-v2 h3 { margin: 0; }
.home-v2 h2 { max-width: 18ch; color: var(--home-v2-ink); font-family: var(--font-display); font-size: clamp(2.1rem, 3.1vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.home-v2__heading-light { color: var(--home-v2-white) !important; }
.home-v2__heading-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: clamp(2rem, 7vw, 7rem); }
.home-v2__section-lede, .home-v2__heading-body { max-width: 43rem; margin: 0; color: var(--home-v2-ink-soft); font-size: 1rem; line-height: 1.8; }
.home-v2__evidence-note { margin: 1.25rem 0 0; color: var(--home-v2-ink-soft); font-size: .8125rem; line-height: 1.6; }

/* Hero: photo, centered wordmark and the two entry points returning visitors look for. */
.home-v2__hero { position: relative; isolation: isolate; overflow: hidden; background: var(--home-v2-navy); color: var(--home-v2-white); }
.home-v2__hero-media { position: absolute; z-index: -1; inset: 0; }
.home-v2__hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.home-v2__hero-media::after { position: absolute; inset: 0; background: var(--home-v2-scrim); content: ""; }
.home-v2__hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: min(calc(100% - 3rem), var(--home-v2-max)); min-height: min(40rem, calc(100vh - 4.25rem)); margin-inline: auto; padding-block: clamp(4rem, 9vw, 7rem); text-align: left; }
.home-v2__wordmark { color: var(--home-v2-white); font-family: var(--font-display); font-size: clamp(3.2rem, 7.5vw, 6.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.home-v2__hero-lede { max-width: 36rem; margin: 1.5rem 0 0; color: var(--home-v2-white); font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); font-weight: 600; line-height: 1.55; }
.home-v2__hero-sub { max-width: 36rem; margin: .5rem 0 0; color: var(--home-v2-on-dark-soft); font-size: 1rem; line-height: 1.6; }
.home-v2__actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.home-v2__actions .home-v2__button { min-width: 10.5rem; }
.home-v2__hero-meta { margin: 1rem 0 0; color: var(--home-v2-on-dark-soft); font-size: .8125rem; line-height: 1.6; }

/* Sections */
.home-v2__section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.home-v2__section--paper { background: var(--home-v2-paper); }
.home-v2__section--white { background: var(--home-v2-white); }
.home-v2__section--ink { background: var(--home-v2-navy); color: var(--home-v2-white); }

/* How it works */
.home-v2__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.home-v2__steps li { min-width: 0; padding-top: 1rem; }
.home-v2__step-num { display: block; color: var(--home-v2-red-light); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.home-v2__steps strong { display: block; margin-top: .6rem; color: var(--home-v2-white); font-size: 1rem; line-height: 1.4; }
.home-v2__steps p { margin: .5rem 0 0; color: var(--home-v2-on-dark-soft); font-size: 1rem; line-height: 1.65; }

/* Learners: activity formats */
.home-v2__formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.75rem, 5vw, 4rem); }
.home-v2__format { min-width: 0; }
.home-v2__format h3 { margin-top: 1.1rem; font-size: 1rem; line-height: 1.35; }
.home-v2__format > p { margin: .45rem 0 0; color: var(--home-v2-ink-soft); font-size: 1rem; line-height: 1.65; }
.home-v2__mock { display: flex; flex-direction: column; gap: .55rem; height: 15.5rem; overflow: hidden; padding: .85rem; border: 1px solid var(--home-v2-line); border-radius: 6px; background: var(--home-v2-white); font-size: .74rem; line-height: 1.45; }
.home-v2__mock-bar { display: flex; align-items: center; gap: .45rem; padding-bottom: .55rem; border-bottom: 1px solid var(--home-v2-paper-deep); color: var(--home-v2-ink-soft); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; }
.home-v2__mock-dot { flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--home-v2-red); }
.home-v2__bubble { max-width: 88%; margin: .2rem 0 0; padding: .55rem .7rem; border-radius: 10px 10px 10px 2px; background: var(--home-v2-paper-deep); color: var(--home-v2-ink); }
.home-v2__reply { align-self: flex-end; max-width: 88%; margin: 0; padding: .45rem .65rem; border: 1px solid var(--home-v2-line); border-radius: 10px 10px 2px 10px; color: var(--home-v2-ink-soft); }
.home-v2__reply--picked { border-color: var(--home-v2-red); background: var(--home-v2-red-tint); color: var(--home-v2-ink); }
.home-v2__doc { display: flex; flex-direction: column; gap: .7rem; padding: .4rem .25rem; }
.home-v2__line { position: relative; display: block; height: .5rem; border-radius: 2px; background: var(--home-v2-paper-deep); }
.home-v2__line--marked { background: color-mix(in srgb, var(--home-v2-red) 18%, transparent); box-shadow: inset 0 -2px 0 var(--home-v2-red); }
.home-v2__pin { position: absolute; top: 50%; right: -.2rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; transform: translateY(-50%); border-radius: 50%; background: var(--home-v2-red); color: var(--home-v2-white); font-family: var(--font-sans); font-size: .58rem; font-style: normal; }
.home-v2__line--60 { width: 60%; } .home-v2__line--70 { width: 70%; } .home-v2__line--75 { width: 75%; } .home-v2__line--80 { width: 80%; } .home-v2__line--85 { width: 85%; } .home-v2__line--90 { width: 90%; }
.home-v2__chart { display: block; width: 100%; height: auto; margin-top: .3rem; }
.home-v2__chart-grid { fill: none; stroke: var(--home-v2-paper-deep); stroke-width: 1; }
.home-v2__chart-axis { fill: none; stroke: var(--home-v2-line); stroke-width: 1.5; }
.home-v2__chart-line { fill: none; stroke: var(--home-v2-ink); stroke-linejoin: round; stroke-width: 2.25; }
.home-v2__chart-guide { fill: none; stroke: var(--home-v2-red); stroke-dasharray: 3 3; stroke-width: 1.25; }
.home-v2__chart-point { fill: var(--home-v2-red); stroke: var(--home-v2-white); stroke-width: 2.5; }
.home-v2__meter { display: grid; grid-template-columns: minmax(4.5rem, 1fr) minmax(4rem, 1.5fr) 2.4rem; align-items: center; gap: .6rem; font-size: .74rem; }
.home-v2__meter i { display: block; height: .5rem; overflow: hidden; border-radius: 999px; background: var(--home-v2-paper-deep); }
.home-v2__meter i b { display: block; height: 100%; background: var(--home-v2-ink); }
.home-v2__meter > strong { font-family: var(--font-sans); font-size: .7rem; text-align: right; }
.home-v2__stepper { display: grid; grid-template-columns: minmax(0, 1fr) 1.6rem 2.8rem 1.6rem; align-items: center; gap: .3rem; margin-top: .45rem; }
.home-v2__stepper b { display: grid; place-items: center; height: 1.6rem; border: 1px solid var(--home-v2-line); border-radius: 4px; color: var(--home-v2-ink-soft); font-weight: 700; }
.home-v2__stepper strong { display: grid; place-items: center; height: 1.6rem; border: 1px solid var(--home-v2-red); border-radius: 4px; background: var(--home-v2-red-tint); font-family: var(--font-sans); font-size: .7rem; }
.home-v2__alloc-total { display: flex; justify-content: space-between; margin: auto 0 0; padding-top: .5rem; border-top: 1px solid var(--home-v2-paper-deep); color: var(--home-v2-ink-soft); }
.home-v2__alloc-total strong { font-family: var(--font-sans); font-size: .7rem; }
.home-v2__fill--25 { width: 25%; } .home-v2__fill--35 { width: 35%; } .home-v2__fill--40 { width: 40%; } .home-v2__fill--41 { width: 41%; } .home-v2__fill--42 { width: 42%; } .home-v2__fill--58 { width: 58%; } .home-v2__fill--61 { width: 61%; } .home-v2__fill--65 { width: 65%; } .home-v2__fill--72 { width: 72%; } .home-v2__fill--84 { width: 84%; }
.home-v2__formats-more { max-width: 52rem; margin: clamp(2rem, 4vw, 2.75rem) 0 0; color: var(--home-v2-ink); font-size: 1rem; line-height: 1.7; }

/* Learning hub: more than assessment */
.home-v2__section--deep { background: var(--home-v2-paper-deep); }
.home-v2__hub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2.75rem, 5vw, 4rem); }
.home-v2__hub-mock { min-width: 0; padding: 1rem 1.1rem 1.2rem; border: 1px solid var(--home-v2-line); border-radius: 8px; background: var(--home-v2-white); font-size: .84rem; }
.home-v2__hub-objective { margin: .9rem 0 .4rem; padding: .6rem .75rem; background: var(--home-v2-red-tint); color: var(--home-v2-ink); font-size: .8rem; font-weight: 600; line-height: 1.5; }
.home-v2__hub-list { margin: 0; padding: 0; list-style: none; }
.home-v2__hub-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--home-v2-paper-deep); line-height: 1.45; }
.home-v2__hub-list li:last-child { border-bottom: 0; }
.home-v2__tag { justify-self: start; padding: .2rem .45rem; border-radius: 3px; background: var(--home-v2-paper-deep); color: var(--home-v2-ink-soft); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.home-v2__tag--red { background: var(--home-v2-red-tint); color: var(--home-v2-red-dark); }
.home-v2__tag--ink { background: var(--home-v2-navy); color: var(--home-v2-white); }
.home-v2__hub-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.home-v2__hub-points > div { min-width: 0; }
.home-v2__hub-points strong { display: block; font-size: 1rem; line-height: 1.4; }
.home-v2__hub-points p { margin: .45rem 0 0; color: var(--home-v2-ink-soft); font-size: 1rem; line-height: 1.65; }

/* Instructors: results illustration */
.home-v2__board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.home-v2__board-panel { min-width: 0; padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 1px solid var(--home-v2-line); border-radius: 6px; background: var(--home-v2-paper); }
.home-v2__board-head { margin: 0 0 .4rem; color: var(--home-v2-ink-soft); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; }
.home-v2__meter { margin-top: .85rem; font-size: .82rem; }
.home-v2__programmes { max-width: 60rem; margin: 2rem 0 0; color: var(--home-v2-ink-soft); font-size: .8125rem; line-height: 1.75; }

/* Simulation + organisations: media/text rows from the previous Home */
.home-v2__features { display: grid; gap: clamp(2rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.home-v2__feature, .home-v2__org { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.home-v2__feature-media { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 4px; background: var(--home-v2-navy-soft); }
.home-v2__feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-v2__feature h3 { color: var(--home-v2-white); font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.home-v2__feature p { max-width: 40ch; margin: .75rem 0 0; color: var(--home-v2-on-dark-soft); font-size: 1rem; line-height: 1.75; }
.home-v2__org h2 { margin-bottom: 1.1rem; }
.home-v2__contact { margin-top: 2rem; }
.home-v2__contact-note { margin: .75rem 0 0; color: var(--home-v2-ink-soft); font-size: 1rem; }
.home-v2__contact-note a { font-weight: 600; }

/* Footer */
.home-v2__footer { background: var(--home-v2-paper-deep); } /* tone step, no rule */
.home-v2__footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 6.5rem; }
.home-v2__footer-links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.home-v2__footer-inner > p { margin: 0; color: var(--home-v2-ink-soft); font-size: .8125rem; }

@media (max-width: 1020px) {
  .home-v2__links { display: none; }
  .home-v2__nav-contact { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .home-v2__nav-actions { margin-left: auto; }
  .home-v2__formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2__hub { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .home-v2__inner, .home-v2__nav-inner, .home-v2__hero-inner { width: min(calc(100% - 2rem), var(--home-v2-max)); }
  .home-v2__heading-row, .home-v2__feature, .home-v2__org { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .home-v2__hero-inner { min-height: auto; padding-block: 4.5rem 5rem; }
  .home-v2 h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .home-v2__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2__board { grid-template-columns: minmax(0, 1fr); }
  .home-v2__footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 1rem; padding-block: 2rem; }
}
@media (max-width: 560px) {
  .home-v2__formats, .home-v2__steps, .home-v2__hub-points { grid-template-columns: minmax(0, 1fr); }
  .home-v2__hub-list li { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .home-v2__mock { height: auto; min-height: 12rem; }
}
@media (max-width: 520px) {
  .home-v2__nav-inner { gap: .7rem; min-height: 3.75rem; }
  .home-v2__brand { font-size: 1.125rem; } /* = hero lede size on phones */
  .home-v2__nav-actions { gap: .5rem; }
  .home-v2__language-button { min-width: 2.75rem; padding-inline: .25rem; font-size: .8125rem; }
  .home-v2__login, .home-v2__nav-contact { font-size: .8125rem; }
  .home-v2__login { padding: .4rem .6rem; }
  .home-v2__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
}
@media (max-width: 300px) {
  .home-v2__nav-inner { flex-wrap: wrap; padding-block: .55rem; }
  .home-v2__nav-actions { width: 100%; justify-content: space-between; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v2__button, .home-v2__language-button { transition: none; }
}

/* home nav text links: 19px tall on phones — grow the hit area, not the look */
.home-v2__links a, .home-v2__nav-contact, .home-v2__brand, .home-v2__footer-links a { position: relative; }
:is(.home-v2__links a, .home-v2__nav-contact, .home-v2__brand, .home-v2__footer-links a)::after { content: ""; position: absolute; inset: -12px -4px; }
.home-v2__login { min-height: 2.75rem; display: inline-flex; align-items: center; }
.home-v2 main p a { position: relative; }
.home-v2 main p a::after { content: ""; position: absolute; inset: -12px -2px; }
.home-v2__footer-brand { position: relative; }
.home-v2__footer-brand::after { content: ""; position: absolute; inset: -6px -4px; }

/* ® lands on sizes already in the scale (13px) instead of adding 8-9px steps */
.home-v2__brand .home-v2__reg { font-size: .72em; }
.home-v2__footer-brand .home-v2__reg { font-size: .6em; }
