@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/archivo-latin-variable.woff2") format("woff2");
}

:root {
  --sf-ink: #102f3b;
  --sf-ink-soft: #244653;
  --sf-teal: #169ba2;
  --sf-teal-dark: #08747b;
  --sf-lime: #c0ba45;
  --sf-paper: #ffffff;
  --sf-mist: #eef6f4;
  --sf-cream: #f5f0e4;
  --sf-line: #d7e1df;
  --sf-muted: #5b7078;
  --sf-font: "Archivo", "Arial Narrow", "Avenir Next", Arial, sans-serif;
  color: var(--sf-ink);
  font-family: var(--sf-font);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #fbfdfc;
  font-weight: 430;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--sf-font);
  font-weight: 700;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.storefront-header {
  min-height: 86px;
  padding: 15px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--sf-ink);
}

.storefront-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.storefront-header nav a {
  color: #fff;
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
}

.storefront-header nav a:hover,
.storefront-header nav a:focus-visible {
  color: #e0da65;
}

#main-content {
  overflow: hidden;
}

.storefront-hero,
.audience-section,
.programme-section,
.journey-section,
.closing-cta,
.finder-hero,
.finder-shell,
.result-hero,
.result-grid,
.result-actions,
.route-warning,
.provider-disclosure {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

.storefront-hero {
  min-height: 670px;
  padding: clamp(68px, 9vw, 138px) clamp(0px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: center;
  gap: clamp(46px, 8vw, 118px);
  position: relative;
}

.storefront-hero::before {
  width: 510px;
  height: 510px;
  position: absolute;
  z-index: -1;
  right: -230px;
  top: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(22, 155, 162, .23) 0 28%, transparent 29%),
    repeating-radial-gradient(circle, rgba(16, 47, 59, .09) 0 1px, transparent 1px 30px);
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sf-teal-dark);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1,
.finder-hero h1,
.result-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.hero-lead,
.finder-hero > p:last-child,
.result-hero p {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--sf-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  border-color: var(--sf-teal);
  background: var(--sf-teal);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--sf-teal-dark);
}

.button--light,
.button--secondary {
  border-color: var(--sf-line);
  background: #fff;
  color: var(--sf-ink);
}

.hero-proof {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(16, 47, 59, .98), rgba(17, 83, 91, .96));
  box-shadow: 0 30px 80px rgba(16, 47, 59, .18);
  color: #fff;
}

.proof-kicker {
  margin: 0 0 26px;
  color: #d9d45e;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-proof ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-weight: 720;
}

.hero-proof li span {
  color: #d9d45e;
  font-size: .75rem;
  letter-spacing: .08em;
}

.audience-section,
.programme-section,
.journey-section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.audience-section {
  border-top: 1px solid var(--sf-line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(36px, 6vw, 68px);
}

.section-heading h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.3vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--sf-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  min-height: 500px;
  padding: clamp(30px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sf-line);
  border-radius: 28px;
  background: var(--sf-paper);
  box-shadow: 0 24px 68px rgba(16, 47, 59, .07);
}

.audience-card--organisation {
  background:
    linear-gradient(145deg, rgba(16, 47, 59, .98), rgba(21, 71, 79, .98));
  color: #fff;
}

.card-number {
  margin: 0 0 44px;
  color: var(--sf-teal);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.audience-card--organisation .card-number {
  color: #d9d45e;
}

.audience-card h3,
.programme-grid h3 {
  margin: 0 0 17px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.audience-card > p:not(.card-number) {
  max-width: 600px;
  margin: 0;
  color: var(--sf-muted);
  font-size: 1.07rem;
  line-height: 1.65;
}

.audience-card--organisation > p:not(.card-number) {
  color: #cfdbdc;
}

.status-list {
  margin: 36px 0 32px;
  padding: 25px 0 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--sf-line);
  list-style: none;
}

.audience-card--organisation .status-list {
  border-color: rgba(255, 255, 255, .16);
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .94rem;
}

.status {
  width: fit-content;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.status--available {
  background: #d9f1e8;
  color: #17664e;
}

.status--coming {
  background: #f0ecd0;
  color: #665f18;
}

.status--build {
  background: #d7f0f1;
  color: #075f66;
}

.status--demo {
  background: #d7f0f1;
  color: #075f66;
}

.text-link {
  margin-top: auto;
  color: var(--sf-teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.audience-card--organisation .text-link {
  color: #e0da65;
}

.programme-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1440px) / 2));
  background: var(--sf-cream);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.programme-grid article {
  min-height: 285px;
  padding: 30px;
  border: 1px solid rgba(16, 47, 59, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}

.programme-grid h3 {
  margin-top: 32px;
  font-size: 1.75rem;
}

.programme-grid p {
  color: var(--sf-muted);
  line-height: 1.55;
}

.programme-grid .programme-category {
  margin: 24px 0 -20px;
  color: var(--sf-teal-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.journey-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--sf-line);
  list-style: none;
}

.journey-grid li {
  min-height: 185px;
  padding: 28px 24px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  border-right: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
}

.journey-grid li:nth-child(3n) {
  border-right: 0;
}

.journey-number {
  color: var(--sf-teal-dark);
  font-size: .77rem;
  font-weight: 850;
}

.journey-grid strong {
  font-size: 1.24rem;
}

.closing-cta {
  margin-bottom: clamp(70px, 10vw, 140px);
  padding: clamp(48px, 8vw, 92px);
  border-radius: 30px;
  background: var(--sf-mist);
  text-align: center;
}

.closing-cta h2 {
  max-width: 800px;
  margin: 0 auto 35px;
}

.storefront-footer {
  padding: 42px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  background: var(--sf-ink);
  color: #d8e2e3;
}

.storefront-footer p {
  max-width: 660px;
  margin: 16px 0 0;
  line-height: 1.55;
}

.footer-status {
  color: #aec0c3;
  font-size: .86rem;
  text-align: right;
}

.finder-hero,
.result-hero {
  padding: clamp(65px, 9vw, 125px) 0 50px;
}

.finder-hero h1,
.result-hero h1 {
  max-width: 1050px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.result-hero h1 {
  max-width: 920px;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: .96;
}

.finder-shell {
  padding: 20px 0 clamp(80px, 10vw, 140px);
}

.finder-form {
  border-top: 1px solid var(--sf-line);
}

.finder-step {
  margin: 0;
  padding: clamp(32px, 5vw, 64px) 0;
  border: 0;
  border-bottom: 1px solid var(--sf-line);
}

.finder-step legend {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 820;
  letter-spacing: -.03em;
}

.finder-step legend span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sf-ink);
  color: #fff;
  font-size: .75rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  min-height: 120px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--sf-teal);
  box-shadow: inset 0 0 0 2px var(--sf-teal);
  background: #f0fbfa;
}

.choice-card input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--sf-teal-dark);
}

.choice-card span {
  font-weight: 780;
  line-height: 1.35;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-field {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  background: #fff;
}

.form-field label,
.field-label {
  margin-bottom: 13px;
  display: block;
  font-weight: 820;
}

.form-field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #aabbbd;
  border-radius: 10px;
  background: #fff;
}

.form-field ul,
.inline-choices ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.form-field li label,
.inline-choices li label {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 580;
  line-height: 1.45;
}

.form-field input,
.inline-choices input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--sf-teal-dark);
}

.scope-intro {
  margin-bottom: 24px;
  padding: 22px 25px;
  border-left: 6px solid var(--sf-lime);
  background: var(--sf-cream);
}

.scope-intro p {
  margin: 5px 0 0;
  color: var(--sf-muted);
}

.dg-scope > .form-field {
  margin-bottom: 24px;
}

.help-text {
  margin: 16px 0 0;
  color: var(--sf-muted);
  font-size: .91rem;
  line-height: 1.5;
}

.errorlist {
  margin: 12px 0 0;
  padding: 12px 15px;
  border-left: 4px solid #ac3c3c;
  background: #fbeaea;
  color: #7c2020;
  font-size: .9rem;
  list-style: none;
}

.finder-submit {
  padding: 38px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.finder-submit p {
  max-width: 630px;
  color: var(--sf-muted);
  line-height: 1.55;
}

.result-hero {
  display: grid;
  border-bottom: 1px solid var(--sf-line);
}

.result-hero .status {
  margin-bottom: 24px;
}

.provider-disclosure {
  margin-top: 36px;
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 76px);
  border: 1px solid rgba(16, 47, 59, .16);
  border-left: 8px solid var(--sf-teal);
  border-radius: 22px;
  background: var(--sf-mist);
}

.provider-disclosure h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.provider-disclosure__details p {
  margin: 0 0 16px;
  color: var(--sf-ink-soft);
  line-height: 1.65;
}

.provider-disclosure__details p:last-child {
  margin-bottom: 0;
}

.provider-disclosure__gate {
  padding: 16px 18px;
  border-left: 5px solid var(--sf-lime);
  background: rgba(255, 255, 255, .75);
}

.result-grid {
  padding: clamp(42px, 7vw, 88px) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.result-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--sf-line);
  border-radius: 24px;
  background: #fff;
}

.result-card--next {
  background: var(--sf-ink);
  color: #fff;
}

.result-card--next .eyebrow {
  color: #d9d45e;
}

.result-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.result-card p {
  color: var(--sf-muted);
  line-height: 1.65;
}

.result-card--next p {
  color: #c9d6d8;
}

.result-card--next .button {
  margin-top: 16px;
}

.selection-list {
  margin: 0;
}

.selection-list div {
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(130px, .45fr) 1fr;
  gap: 20px;
  border-top: 1px solid var(--sf-line);
}

.selection-list dt {
  color: var(--sf-muted);
  font-size: .85rem;
  font-weight: 760;
}

.selection-list dd {
  margin: 0;
  font-weight: 680;
  line-height: 1.45;
}

.route-warning {
  margin-bottom: 25px;
  padding: 18px 22px;
  border-left: 6px solid #bb7c2c;
  background: #fff2df;
  line-height: 1.55;
}

.result-actions {
  margin-bottom: clamp(80px, 10vw, 140px);
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 980px) {
  .storefront-hero {
    grid-template-columns: 1fr;
  }

  .provider-disclosure {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 700px;
  }

  .programme-grid,
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .storefront-header {
    align-items: flex-start;
  }

  .storefront-header nav {
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
  }

  .storefront-header nav a:first-child {
    display: none;
  }

  .storefront-hero,
  .audience-section,
  .journey-section,
  .closing-cta,
  .finder-hero,
  .finder-shell,
  .result-hero,
  .result-grid,
  .result-actions,
  .route-warning {
    width: min(100% - 28px, 1440px);
  }

  .storefront-hero {
    min-height: 0;
    padding-block: 62px 76px;
  }

  .hero-copy h1,
  .finder-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.9rem);
  }

  .result-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .hero-actions,
  .finder-submit,
  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .finder-submit .button,
  .result-actions .button {
    width: 100%;
  }

  .audience-grid,
  .field-grid,
  .result-grid,
  .choice-grid--two {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
  }

  .programme-section {
    padding-inline: 14px;
  }

  .programme-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .programme-grid article {
    min-height: 220px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-grid li,
  .journey-grid li:nth-child(3n) {
    min-height: 155px;
    border-right: 0;
  }

  .closing-cta {
    padding: 45px 24px;
  }

  .storefront-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-status {
    text-align: left;
  }

  .finder-step {
    padding-block: 35px;
  }

  .choice-card {
    min-height: 82px;
  }

  .selection-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
