:root {
  color-scheme: light;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --ink: #251b35;
  --muted: #594f63;
  --line: #ded8df;
  --lime: #d9f76a;
  --lilac: #b9a5e8;
  --pale-lilac: #ede5fa;
  --shell: 72rem;
  --display-font: "DM Sans", "Avenir Next", Arial, sans-serif;
  --body-font: "DM Sans", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.6 var(--body-font);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display-font); }
h1, h2 { text-wrap: balance; }
h3, h4 { line-height: 1.13; }
:focus-visible { outline: 3px solid #7952b3; outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(var(--shell), calc(100% - 5rem)); margin-inline: auto; }
.eyebrow {
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .105em;
  line-height: 1.35;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .65rem 1rem;
  background: var(--lime);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.2rem;
}
.brand { display: inline-block; width: 6.25rem; justify-self: start; }
.site-nav { display: flex; gap: clamp(1rem, 3.5vw, 2.7rem); }
.site-nav a {
  text-decoration: none;
  font-size: .925rem;
  font-weight: 650;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .48rem;
  font-size: .9375rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.button-dark { background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #443255; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #e8ff9a; }
.text-link {
  padding-block: .65rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  font-size: .9375rem;
  font-weight: 750;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-block: clamp(3.4rem, 7vw, 6.75rem);
}
.hero h1 {
  margin-top: 1.05rem;
  font-size: clamp(4.3rem, 8.5vw, 8.15rem);
  line-height: .83;
  letter-spacing: -.085em;
  font-weight: 800;
  text-wrap: initial;
}
.hero h1 span {
  color: #654790;
  white-space: nowrap;
}
.hero-summary {
  max-width: 29rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.35rem; margin-top: 1.6rem; }
.ask-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.45rem, 4.1vw, 3.35rem);
  border-radius: 1.1rem;
  background: var(--ink);
  color: var(--cream);
}
.ask-panel .eyebrow { color: var(--lilac); }
.ask-amount {
  margin-top: .7rem;
  color: var(--lime);
  font: 800 clamp(3.6rem, 6.4vw, 6.1rem)/.98 var(--display-font);
  letter-spacing: -.07em;
  white-space: nowrap;
}
.ask-description {
  max-width: 17rem;
  margin-top: 1.1rem;
  font-size: 1.12rem;
  line-height: 1.45;
}
.ask-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.55rem;
  margin-top: 2.05rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ffffff43;
}
.ask-meta div { display: grid; gap: .05rem; }
.ask-meta strong { line-height: 1.4; }
.ask-meta span { color: #d7cbe8; font-size: .875rem; }
.ask-ellipse {
  position: absolute;
  z-index: -1;
  width: 25rem;
  height: 15rem;
  right: -12rem;
  bottom: -9.2rem;
  transform: rotate(-25deg);
  border: 1.4rem solid #352549;
  border-radius: 50%;
}
.rays { position: absolute; width: 7.5rem; height: 6.5rem; pointer-events: none; }
.rays i { position: absolute; background: currentColor; border-radius: 65% 45% 55% 50%; }
.rays i:nth-child(1) { width: .8rem; height: 2.8rem; left: 1.65rem; top: .1rem; transform: rotate(16deg); }
.rays i:nth-child(2) { width: .82rem; height: 4.6rem; left: 3.6rem; top: .8rem; transform: rotate(48deg); }
.rays i:nth-child(3) { width: .77rem; height: 3.2rem; left: 4.95rem; top: 3.4rem; transform: rotate(79deg); }
.hero-rays { right: -.45rem; top: .65rem; color: var(--lilac); transform: rotate(5deg) scale(.78); }

.proof { background: var(--pale-lilac); }
.proof-inner { display: flex; align-items: center; gap: clamp(1.2rem, 3.4vw, 2.85rem); padding-block: 1.3rem; }
.proof strong {
  font: 800 clamp(2.7rem, 5vw, 4.2rem)/1 var(--display-font);
  letter-spacing: -.07em;
  white-space: nowrap;
}
.proof p { max-width: 37rem; line-height: 1.45; }

.section { padding-block: clamp(3.5rem, 7.5vw, 6.4rem); }
.section h2, .evidence-section h2, .support-section h2 {
  margin-top: .65rem;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  line-height: .99;
  letter-spacing: -.07em;
  font-weight: 800;
}
.section-intro > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--muted); max-width: 33rem; }
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: 1rem 3rem;
  margin-bottom: 2rem;
}
.section-heading > p { max-width: 32rem; color: var(--muted); line-height: 1.55; }

.platform-section, .launch-features, .spark-section {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.platform-section h2 { max-width: 12ch; text-wrap: initial; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.75rem;
}
.feature { border-top: 1px solid var(--line); padding-top: 1rem; }
.feature dt { display: grid; gap: .5rem; font-size: 1.1rem; font-weight: 750; line-height: 1.25; }
.feature dd { margin-top: .42rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.feature-mark {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--lilac);
}
.mark-wellbeing { border-radius: 50%; }
.mark-community { border-radius: 50% 50% 50% .2rem; background: #a7b95c; }
.mark-skills { width: 1.75rem; border-radius: 1rem .15rem 1rem .15rem; background: #ebae9e; }
.mark-opportunities { border-radius: .18rem; transform: rotate(45deg) scale(.78); background: #7952b3; }
.mark-experts {
  background: #bd8b3f;
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

.platform-features-link { display: inline-block; margin-top: .45rem; }
.launch-features {
  grid-template-columns: 1.06fr .94fr;
  grid-template-areas: "features heading";
  padding-top: 0;
}
.launch-features .section-intro { grid-area: heading; }
.launch-features .feature-grid { grid-area: features; }
.launch-features h2 { max-width: 16ch; text-wrap: initial; }
.feature-upskill { grid-column: 1 / -1; }

.evidence-section { padding-bottom: clamp(3.5rem, 7.5vw, 6.4rem); }
.evidence-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.2rem, 4vw, 2.75rem);
  border: 1px solid #e1d5f3;
  border-radius: 1.05rem;
  background: var(--pale-lilac);
}
.evidence-summary > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: .8rem;
  line-height: 1.55;
}
.evidence-stat {
  align-self: stretch;
  margin: 0;
  border-left: 1px solid #cbbbe2;
  padding-left: clamp(1.15rem, 3vw, 2rem);
}
.evidence-stat > p {
  margin-bottom: .45rem;
  color: #654790;
  font: 800 clamp(3.2rem, 6vw, 5.3rem)/.95 var(--display-font);
  letter-spacing: -.075em;
}
.evidence-stat figcaption { max-width: 24rem; line-height: 1.5; }
.evidence-response {
  grid-column: 1 / -1;
  border-top: 1px solid #cbbbe2;
  padding-top: 1.05rem;
}
.evidence-response p { max-width: 54rem; }
.evidence-response a { display: inline-block; padding-block: .65rem .1rem; }

.spark-section { padding-top: 0; }
.spark-story-link { display: inline-block; margin-top: .45rem; }
.spark-track-record { display: grid; gap: 1rem; }
.spark-track-record dd { max-width: 34rem; }

.funding-section { background: #efebe5; }
.explorer {
  padding: clamp(1.2rem, 4vw, 2.75rem);
  border-radius: 1.05rem;
  background: var(--ink);
  color: var(--cream);
}
.explorer :focus-visible, .support-section :focus-visible { outline-color: var(--lime); }
.explorer-top, .explorer-controls {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 1rem 2rem;
}
.explorer-top h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.04em; }
.explorer-top p { margin-top: .3rem; color: #e0d6ec; }
.scenario-reading { display: grid; text-align: right; }
.scenario-reading span { color: #e0d6ec; font-size: .875rem; font-weight: 650; }
.scenario-reading output {
  color: var(--lime);
  font: 800 clamp(2.35rem, 4.5vw, 4rem)/1 var(--display-font);
  letter-spacing: -.065em;
}
.explorer-controls { margin-top: 1.55rem; }
.presets { display: flex; flex-wrap: wrap; gap: .45rem; }
.presets button {
  min-height: 2.6rem;
  padding: .28rem .85rem;
  border: 1px solid #88779c;
  border-radius: .4rem;
  background: transparent;
  color: var(--cream);
  font-size: .9rem;
  font-weight: 700;
}
.presets button:hover { background: #423054; }
.presets button[aria-pressed="true"] { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.slider-control { display: grid; gap: .08rem; }
.slider-control label { color: #e8dff2; font-size: .875rem; font-weight: 650; }
.slider-control input { width: 100%; min-height: 1.55rem; margin: 0; accent-color: var(--lime); cursor: pointer; }
.range-limits { display: flex; justify-content: space-between; color: #ded2eb; font-size: .8125rem; }
.allocation-bar {
  display: flex;
  gap: 2px;
  height: 1.05rem;
  margin-block: 1.6rem 1.35rem;
  border-radius: .25rem;
  overflow: hidden;
}
.allocation-bar:empty, .allocation-list-wrap:has(ul:empty) { display: none; }
.allocation-bar span { min-width: 0; background: var(--category-color); }
.allocation-bar.has-selection span:not(.is-selected) { opacity: .72; }
.allocation-grid {
  display: grid;
  grid-template-columns: 1.24fr .76fr;
  align-items: start;
  gap: 1.15rem 1.7rem;
}
.allocation-labels {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
  padding-inline: .7rem;
  color: #ded2eb;
  font-size: .875rem;
}
.allocation-list { display: grid; gap: .12rem; margin: 0; padding: 0; list-style: none; }
.allocation-list button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 2.6rem;
  padding: .4rem .65rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  background: transparent;
  color: var(--cream);
  font-size: .9rem;
  line-height: 1.25;
  text-align: left;
}
.allocation-list button:hover { background: #3b2b4d; }
.allocation-list button[aria-pressed="true"] { background: #453353; border-color: #837096; }
.category-key {
  width: .65rem;
  height: .65rem;
  border-radius: .1rem;
  background: var(--category-color);
}
.category-amount { font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.budget-detail {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  align-self: stretch;
  padding: clamp(1.15rem, 3vw, 1.9rem);
  border-radius: .65rem;
  background: var(--pale-lilac);
  color: var(--ink);
}
.budget-detail h4 {
  margin-block: .55rem .6rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -.04em;
}
.budget-detail > p:not(.eyebrow) { color: #45364f; line-height: 1.5; }
.detail-metric { display: grid; gap: .3rem; margin-top: auto; padding-top: 1.25rem; }
.detail-metric strong {
  width: fit-content;
  border-top: 1px solid #c1b2cf;
  padding-top: .75rem;
  font: 800 clamp(1.7rem, 4vw, 2.75rem)/1 var(--display-font);
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.detail-metric span { color: #53435e; font-size: .875rem; }
.scenario-note { margin-top: 1.2rem; color: #ded2eb; font-size: .875rem; line-height: 1.5; }
.no-script-budget { margin-top: 1rem; }
.no-script-budget ul { padding-left: 1.25rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.75rem 0 2rem;
  padding: 0;
  list-style: none;
}
.timeline li { border-top: 2px solid #9d81c6; padding-top: .85rem; }
.phase-date { font-size: .875rem; color: #614684; font-weight: 760; }
.timeline h3 { margin-block: .25rem .4rem; font-size: 1.26rem; letter-spacing: -.025em; }
.timeline li > p:last-child { color: var(--muted); line-height: 1.5; }
.impact-band {
  display: grid;
  grid-template-columns: .78fr .78fr 1.44fr;
  align-items: center;
  gap: 1.15rem 1.75rem;
  padding: clamp(1.2rem, 3.1vw, 2rem);
  border-radius: .75rem;
  background: var(--lime);
}
.metric { display: grid; gap: .2rem; }
.metric strong {
  font: 800 clamp(2.9rem, 5.5vw, 5.05rem)/.95 var(--display-font);
  letter-spacing: -.075em;
}
.metric span { font-weight: 700; line-height: 1.25; }
.impact-interpretation { border-left: 1px solid #758b35; padding-left: 1.6rem; }
.impact-interpretation h3 { margin-bottom: .35rem; font-size: 1.07rem; }
.impact-interpretation p { line-height: 1.5; font-size: .95rem; }

.programme-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem clamp(1.6rem, 5vw, 4rem);
  margin-top: 2.1rem;
}
.programme-note { border-top: 2px solid #9d81c6; padding-top: 1rem; }
.programme-note h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: -.035em; }
.programme-note p { margin-top: .65rem; color: var(--muted); }

.support-section { background: var(--ink); color: var(--cream); }
.support-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
  gap: 2.2rem clamp(2.2rem, 7.5vw, 7rem);
  padding-block: clamp(3.5rem, 7.5vw, 6.15rem);
}
.support-section h2 { text-wrap: initial; }
.support-copy .eyebrow { color: var(--lilac); }
.support-copy > p:not(.eyebrow) { max-width: 27rem; margin-top: 1.05rem; color: #e0d6ec; }
.support-copy .button { margin-top: 1.3rem; }
.support-copy > .contact-name { font-size: .875rem; }
.support-offer dl { border-top: 1px solid #736485; }
.support-offer dl div { padding-block: .85rem; border-bottom: 1px solid #736485; }
.support-offer dt { color: var(--lilac); font-weight: 760; }
.support-offer dd { margin-top: .12rem; line-height: 1.45; }
.support-offer > p { margin-top: .85rem; font-size: .875rem; color: #e0d6ec; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 5.4rem;
  padding-block: .9rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}
.footer-inner .brand { width: 5rem; flex: 0 0 auto; }

@media (max-width: 58rem) {
  .shell { width: min(var(--shell), calc(100% - 3rem)); }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(4.25rem, 10.3vw, 6.5rem); }
  .ask-panel { min-height: 21rem; }
  .ask-amount { font-size: clamp(3.55rem, 8.2vw, 5.35rem); }
  .rays.hero-rays { transform: rotate(5deg) scale(.65); transform-origin: top right; }
  .section-heading { gap: .85rem 2rem; }
}

@media (max-width: 43rem) {
  .header-inner { grid-template-columns: 1fr 1fr; gap: .4rem 1rem; min-height: 0; padding-block: .65rem .45rem; }
  .brand { width: 5.25rem; }
  .header-action { grid-column: 2; grid-row: 1; min-height: 2.65rem; }
  .site-nav { grid-column: 1 / -1; justify-content: space-between; gap: .5rem; }
  .site-nav a { display: flex; align-items: center; min-height: 2.5rem; }
  .hero, .platform-section, .launch-features, .spark-section, .section-heading, .programme-notes, .support-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 3.2rem 2.1rem; gap: 1.65rem; }
  .hero h1 { font-size: clamp(4.25rem, 14vw, 6.15rem); }
  .hero-summary { margin-top: 1.3rem; }
  .hero-actions { margin-top: 1rem; }
  .ask-panel { min-height: 18.5rem; }
  .ask-amount { font-size: clamp(3.7rem, 11.5vw, 5.7rem); }
  .ask-meta { margin-top: 1.45rem; }
  .section h2, .support-section h2 { text-wrap: initial; }
  .launch-features { grid-template-areas: "heading" "features"; }
  .evidence-panel { grid-template-columns: 1fr; gap: 1.2rem; }
  .evidence-stat { border-left: 0; border-top: 1px solid #cbbbe2; padding: 1.05rem 0 0; }
  .section-heading { margin-bottom: 1.5rem; }
  .allocation-grid { grid-template-columns: 1fr; }
  .budget-detail { min-height: 0; }
  .timeline { grid-template-columns: 1fr 1fr; margin-top: 1.55rem; }
  .impact-band { grid-template-columns: 1fr 1fr; }
  .impact-interpretation { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #758b35; padding: .85rem 0 0; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 32rem) {
  .shell { width: calc(100% - 2rem); }
  .proof-inner { gap: .8rem; }
  .proof p { font-size: .9rem; }
  .explorer-top, .explorer-controls { grid-template-columns: 1fr; }
  .explorer-top { gap: .8rem; }
  .scenario-reading { text-align: left; }
  .explorer-controls { margin-top: 1rem; gap: .9rem; }
  .allocation-list button { gap: .4rem; padding-inline: .35rem; min-height: 2.75rem; }
  .allocation-labels { padding-inline: .35rem; }
  .feature-grid, .timeline { gap: 1rem; }
  .presets button { min-height: 2.75rem; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 3.8rem; }
  .ask-amount { font-size: clamp(2.9rem, 16vw, 3.6rem); }
  .ask-meta { gap: .7rem 1rem; }
  .site-nav a { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.allocation-list .budget-detail { margin-block: .55rem .75rem; }
