:root {
  --ink: #111827;
  --muted: #52606d;
  --line: #dce3ee;
  --surface: #f5f8fc;
  --ice: #eaf0f8;
  --mint: #e7f4ee;
  --mint-deep: #0f6b52;
  --warm: #f2bd52;
  --cobalt-pale: #e5ebff;
  --white: #ffffff;
  --blue: #2855f5;
  --blue-dark: #1739b8;
  --navy: #0e1a31;
  --green: #16735a;
  --focus: #f6b73c;
  --danger: #a33b2b;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 28px rgba(17, 24, 39, 0.08);
  --content: 1180px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open::before {
  content: "";
  position: fixed;
  z-index: 40;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 18, 38, 0.58);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 5.35rem;
  font-weight: 760;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.15rem;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px rgba(14, 26, 49, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand span {
  min-width: 0;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  position: relative;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links > a:not(.nav-portal):not(.nav-trial)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links > a:not(.nav-portal):not(.nav-trial):hover::after,
.nav-links > a:not(.nav-portal):not(.nav-trial):focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-links .nav-portal {
  padding: 10px 14px;
  border: 1px solid #b9c7f7;
  border-radius: 6px;
  color: var(--blue-dark);
}

.nav-links .nav-trial {
  padding: 11px 15px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(47, 87, 255, 0.18);
}

.nav-links .nav-trial:hover,
.nav-links .nav-trial:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}

.optional-label {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--ink);
  transform-origin: center;
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(78svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background: rgba(8, 18, 38, 0.24);
}

.hero-shade::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(58%, 820px);
  background: rgba(8, 18, 38, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: 74px 64px;
}

.hero-copy {
  width: min(610px, 100%);
}

.hero-content h1 {
  display: grid;
  gap: 0;
  margin: 4px 0 22px;
  color: #fff;
  font-size: 4.8rem;
  line-height: 0.96;
  text-shadow: 0 8px 28px rgba(4, 10, 24, 0.22);
}

.hero-content h1 span:last-child {
  color: #d9e2ff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  background: currentColor;
}

.hero .eyebrow {
  color: #c7d3ff;
  margin-bottom: 16px;
  font-size: 0.74rem;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: #eef3fb;
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-actions .button:first-child {
  box-shadow: 0 12px 28px rgba(40, 85, 245, 0.28);
}

.hero-proof {
  max-width: 610px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 25px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-proof span {
  position: relative;
  padding-left: 16px;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fc7ff;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 760;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(14, 26, 49, 0.52);
}

.button-secondary:hover {
  border-color: var(--white);
  background: var(--navy);
}

.button-outline {
  border-color: #aab8ec;
  background: var(--white);
  color: var(--blue-dark);
}

.button-outline:hover {
  background: #edf2ff;
}

.trust-band {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 108px;
  padding: 25px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.trust-item span {
  color: #b9c3d6;
  font-size: 0.86rem;
}

.section {
  padding-block: 92px;
}

.section-compact {
  padding-block: 64px;
}

.section-soft {
  background: var(--surface);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-intro h2 {
  max-width: 720px;
}

.section-intro > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
}

.section-intro p,
.muted {
  color: var(--muted);
}

.section-dark .section-intro p,
.section-dark .muted {
  color: #bdc7d8;
}

.mission-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.mission-section::before,
.mission-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mission-section::before {
  top: 0;
  right: 8%;
  width: 180px;
  height: 92px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mission-section::after {
  right: 0;
  bottom: 44px;
  width: 11%;
  height: 10px;
  background: var(--blue);
}

.mission {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 78px;
  align-items: center;
}

.mission-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px;
  border: 1px solid #536ce0;
  border-radius: 6px;
  background: #2948d8;
  box-shadow: 20px 20px 0 #0b1428;
}

.mission-visual::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 0;
  width: 70px;
  height: 10px;
  background: var(--warm);
}

.mission-visual-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #d5ddff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-ratio {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 58px 0 24px;
  color: var(--white);
  font-size: 8.2rem;
  font-weight: 850;
  line-height: 0.78;
}

.mission-ratio span {
  color: var(--warm);
  font-size: 5rem;
  font-weight: 500;
}

.mission-visual > p {
  max-width: 330px;
  margin: 0;
  color: #f4f7ff;
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.35;
}

.mission-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-path div {
  display: grid;
  gap: 3px;
  padding-right: 14px;
}

.mission-path span {
  color: #b7c4ff;
  font-size: 0.68rem;
  font-weight: 800;
}

.mission-path strong {
  color: var(--white);
  font-size: 0.78rem;
}

.mission-statement {
  padding-block: 22px;
}

.mission-statement .eyebrow {
  color: #aebeff;
}

.mission-statement h2 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 3.25rem;
}

.mission-quote {
  max-width: 690px;
  margin: 0;
  color: #c3ccdb;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
}

.mission-principles {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-principles div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mission-principles span {
  color: #8ea4ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.mission-principles p {
  margin: 0;
  color: #aeb9cb;
  font-size: 0.88rem;
}

.mission-principles strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.98rem;
}

.programmes-section {
  background: var(--ice);
}

.qualifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.qualification {
  min-height: 220px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding: 30px;
  border: 1px solid #d7dfeb;
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(21, 34, 59, 0.06);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.qualification:hover,
.qualification:focus-visible {
  border-color: #aebce0;
  box-shadow: 0 16px 34px rgba(21, 34, 59, 0.11);
  transform: translateY(-2px);
}

.qualification:nth-child(2) { border-top-color: var(--mint-deep); }
.qualification:nth-child(3) { border-top-color: var(--warm); }
.qualification:nth-child(4) { border-top-color: var(--navy); }

.qualification-number {
  color: #657287;
  font-size: 1.05rem;
  font-weight: 800;
}

.qualification-range,
.qualification-focus,
.subject-range {
  display: block;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.qualification h3 {
  margin: 7px 0 10px;
  color: #172554;
  font-size: 1.45rem;
}

.qualification p {
  max-width: 390px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

.qualification-focus {
  color: var(--muted);
  font-size: 0.72rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid #b9c8f7;
  border-radius: 6px;
  background: var(--cobalt-pale);
  color: var(--blue-dark);
  font-weight: 800;
}

.step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid #dce5ff;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-section .section-intro p { color: #bec9dc; }
.process-section .eyebrow { color: #aebeff; }

.steps-process {
  position: relative;
  gap: 38px;
}

.steps-process::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(174, 190, 255, 0.38);
}

.steps-process .step {
  padding-top: 0;
  border: 0;
}

.steps-process .step-number {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-color: #667db6;
  background: var(--navy);
  color: #c7d4ff;
}

.steps-process .step h3 { color: var(--white); }
.steps-process .step p { color: #b7c2d5; }

.portal-showcase-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.portal-showcase-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--blue);
}

.portal-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 42px;
}

.portal-showcase-intro h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.portal-showcase-summary {
  padding-left: 26px;
  border-left: 3px solid var(--warm);
}

.portal-showcase-summary p {
  margin-bottom: 16px;
  color: var(--muted);
}

.portal-showcase-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.portal-demo {
  overflow: hidden;
  border: 1px solid #cfd8e7;
  border-radius: 8px;
  background: #f6f8fc;
  box-shadow: 0 22px 52px rgba(14, 26, 49, 0.14);
}

.portal-demo-toolbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px 14px 22px;
  border-bottom: 1px solid #cfd8e7;
  background: var(--white);
}

.portal-demo-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
}

.portal-demo-toolbar span {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portal-demo-toolbar strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.portal-demo-role-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #ccd6e7;
  border-radius: 6px;
  background: #eef2f8;
}

.portal-demo-role-tabs button {
  min-height: 38px;
  padding: 7px 15px;
  border: 0;
  border-radius: 4px;
  color: #52606d;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.portal-demo-role-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--blue);
}

.portal-demo-workspace {
  min-height: 570px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.portal-demo-workspace[hidden] { display: none; }

.portal-demo-sidebar {
  min-width: 0;
  padding: 22px 14px;
  color: #d8e2f1;
  background: var(--navy);
}

.portal-demo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 7px 22px;
  border-bottom: 1px solid #2d3b55;
}

.portal-demo-brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.portal-demo-brand span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.portal-demo-brand strong { color: var(--white); }

.portal-demo-brand small {
  color: #9eacc1;
  font-size: 0.64rem;
  font-weight: 750;
  text-transform: uppercase;
}

.portal-demo-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 20px;
}

.portal-demo-sidebar nav button {
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 5px;
  color: #aebbd0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.portal-demo-sidebar nav button.is-active {
  color: var(--white);
  background: #253450;
  box-shadow: inset 3px 0 0 #7195ff;
}

.portal-demo-main {
  min-width: 0;
  padding: 34px;
  background: #f7f9fc;
}

.portal-demo-panel { display: none; }
.portal-demo-panel.is-active { display: block; }

.portal-demo-heading {
  margin-bottom: 26px;
}

.portal-demo-heading > span {
  color: #708096;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-demo-heading h3 {
  margin: 4px 0 3px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.2;
}

.portal-demo-heading p {
  margin: 0;
  color: #617084;
  font-size: 0.84rem;
}

.portal-demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-demo-metrics article {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px;
  border: 1px solid #d6deea;
  border-radius: 6px;
  background: var(--white);
}

.portal-demo-metrics small,
.portal-demo-next small,
.portal-demo-payment small {
  color: #6f7c8f;
  font-size: 0.69rem;
  font-weight: 750;
}

.portal-demo-metrics strong {
  margin: 3px 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.portal-demo-metrics span,
.portal-demo-next span,
.portal-demo-list span,
.portal-demo-child span,
.portal-demo-payment span {
  color: #647287;
  font-size: 0.72rem;
}

.portal-demo-next {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  margin-top: 15px;
  padding: 17px;
  border: 1px solid #ced9e8;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
}

.portal-demo-next > div {
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--white);
  background: var(--blue);
  line-height: 1;
}

.portal-demo-next > div span {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 850;
}

.portal-demo-next > div small {
  margin-top: 5px;
  color: #dce5ff;
  text-transform: uppercase;
}

.portal-demo-next p,
.portal-demo-list p,
.portal-demo-child p,
.portal-demo-payment p {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.portal-demo-next > b,
.portal-demo-list > article > b,
.portal-demo-payment > b {
  padding: 5px 9px;
  border-radius: 4px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.65rem;
}

.portal-demo-list {
  display: grid;
  gap: 10px;
}

.portal-demo-list article,
.portal-demo-child,
.portal-demo-payment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 15px;
  border: 1px solid #d6deea;
  border-radius: 6px;
  background: var(--white);
}

.portal-demo-list i,
.portal-demo-child > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--cobalt-pale);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
}

.portal-demo-list i.green {
  color: var(--green);
  background: var(--mint);
}

.portal-demo-progress {
  border: 1px solid #d6deea;
  border-radius: 6px;
  background: var(--white);
}

.portal-demo-progress article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1.3fr) 46px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 17px 19px;
  border-bottom: 1px solid #e1e7f0;
}

.portal-demo-progress article:last-child { border-bottom: 0; }

.portal-demo-progress p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.portal-demo-progress p span {
  color: #6f7c8f;
  font-size: 0.7rem;
}

.portal-demo-progress article > div {
  height: 7px;
  overflow: hidden;
  border-radius: 7px;
  background: #e4e9f0;
}

.portal-demo-progress article > div i {
  height: 100%;
  display: block;
  border-radius: 7px;
  background: var(--green);
}

.portal-demo-progress article > b {
  color: var(--green);
  font-size: 0.78rem;
  text-align: right;
}

.portal-demo-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-demo-materials article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid #d6deea;
  border-top: 4px solid var(--warm);
  border-radius: 6px;
  background: var(--white);
}

.portal-demo-materials article > span {
  color: var(--blue-dark);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-demo-materials article > strong { margin-top: 12px; }
.portal-demo-materials article > small { color: #68768a; }

.portal-demo-materials button,
.portal-demo-payment button {
  min-height: 34px;
  margin-top: auto;
  padding: 6px 11px;
  border: 1px solid #b8c8e2;
  border-radius: 4px;
  color: var(--blue-dark);
  background: #f6f8ff;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.portal-demo-inline-preview {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d9e3ef;
  background: #f7faff;
  color: #172033;
}

.portal-demo-inline-preview[hidden] { display: none; }

.portal-demo-inline-preview b,
.portal-demo-inline-preview p { display: block; }

.portal-demo-inline-preview p {
  margin: 5px 0 0;
  color: #5f6d80;
  font-size: 0.78rem;
  line-height: 1.5;
}

.portal-demo-child {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

.portal-demo-child > i {
  width: 52px;
  height: 52px;
  color: var(--green);
  background: var(--mint);
}

.portal-demo-child > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.portal-demo-child > div b {
  color: var(--green);
  font-size: 0.76rem;
}

.portal-demo-payment {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 10px;
}

.portal-demo-payment p strong { font-size: 1rem; }
.portal-demo-payment button { margin-top: 0; }

.portal-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

.portal-preview {
  min-width: 0;
  margin: 0;
}

.portal-preview-wide {
  grid-column: 1 / -1;
}

.portal-preview figcaption {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 2px 14px;
  border-bottom: 1px solid #cfd8e7;
}

.portal-preview figcaption span,
.portal-preview figcaption strong {
  display: block;
}

.portal-preview figcaption span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portal-preview figcaption strong {
  max-width: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.portal-preview-image {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #cfd8e7;
  border-radius: 7px;
  background: #f7f9fc;
  box-shadow: 0 18px 38px rgba(14, 26, 49, 0.1);
}

.portal-preview-image img {
  display: block;
  width: 100%;
  height: auto;
}

.portal-showcase-note {
  margin: 22px 0 0;
  color: #718096;
  font-size: 0.76rem;
  text-align: right;
}

.subject-section {
  background: #f6f8fc;
}

.subject-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.subject-heading .section-intro {
  margin-bottom: 0;
}

.subject-summary {
  display: grid;
  grid-template-columns: repeat(3, 106px);
  border-top: 1px solid #cfd8e7;
  border-bottom: 1px solid #cfd8e7;
}

.subject-summary div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px 14px;
  border-left: 1px solid #cfd8e7;
}

.subject-summary div:last-child {
  border-right: 1px solid #cfd8e7;
}

.subject-summary strong {
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
}

.subject-summary span {
  color: #58677d;
  font-size: 0.68rem;
  font-weight: 750;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.subject {
  position: relative;
  min-height: 244px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.subject:hover {
  box-shadow: 0 18px 40px rgba(17, 28, 51, 0.14);
  transform: translateY(-3px);
}

.subject-code {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.82;
}

.subject-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.subject-watermark {
  position: absolute;
  right: 22px;
  bottom: -30px;
  color: currentColor;
  font-size: 8rem;
  font-weight: 850;
  line-height: 1;
  opacity: 0.65;
}

.subject-maths {
  grid-column: span 7;
  background: #2948d8;
  color: var(--white);
}

.subject-english {
  grid-column: span 5;
  background: #dff3ea;
  color: #123f32;
}

.subject-physics {
  grid-column: span 4;
  background: #e7edf8;
  color: #1d3251;
}

.subject-chemistry {
  grid-column: span 4;
  background: #fff0c9;
  color: #684b0e;
}

.subject-biology {
  grid-column: span 4;
  background: #17483a;
  color: var(--white);
}

.subject-computing {
  grid-column: span 12;
  min-height: 204px;
  background: var(--navy);
  color: var(--white);
}

.subject-computing .subject-content {
  max-width: 720px;
}

.subject-range {
  margin-bottom: 12px;
  color: currentColor;
  font-size: 0.7rem;
  opacity: 0.86;
}

.subject h3 {
  margin-bottom: 10px;
  color: currentColor;
  font-size: 1.75rem;
}

.subject p {
  max-width: 470px;
  margin-bottom: 26px;
  color: currentColor;
  font-size: 0.92rem;
  opacity: 0.8;
}

.subject-chemistry p {
  opacity: 0.92;
}

.subject-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
}

.subject-topics span {
  min-width: 72px;
  padding-top: 8px;
  border-top: 1px solid currentColor;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
  opacity: 0.86;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-feature {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.split-media-frame {
  position: relative;
  margin: 0;
  padding: 0 34px 34px 0;
}

.split-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #dce3ee;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  border: 2px solid #c7d5ff;
}

.split-media-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 64px;
  width: min(310px, 76%);
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.split-media-frame figcaption span,
.split-media-frame figcaption strong {
  display: block;
}

.split-media-frame figcaption span {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split-media-frame figcaption strong {
  font-size: 0.9rem;
  line-height: 1.45;
}

.tutor-standard-section {
  background: var(--white);
}

.check-list,
.plain-list {
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
}

.enquiry-next {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.enquiry-next > strong {
  display: block;
  margin-bottom: 14px;
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.enquiry-next ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enquiry-next li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.enquiry-next .enquiry-step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.enquiry-next p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.enquiry-next p > span {
  display: block;
}

.enquiry-next b { color: var(--ink); }

.check-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.section-dark .eyebrow { color: #b8c7ff; }

.page-hero {
  padding-block: 88px 72px;
  background: var(--navy);
  color: var(--white);
}

.page-hero .container {
  max-width: var(--content);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 4.55rem;
}

.page-hero p {
  max-width: 750px;
  margin-bottom: 0;
  color: #cbd4e3;
  font-size: 1.12rem;
}

.page-hero-image {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
}

.page-hero-media,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-work .page-hero-media img { object-position: 60% center; }
.page-hero-safeguarding .page-hero-media img { object-position: center 68%; }

.page-hero-shade {
  background: rgba(7, 16, 34, 0.76);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 104px 68px;
}

.page-hero-copy {
  max-width: 820px;
}

.page-hero-image .eyebrow { color: #c2ceff; }

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-hero-meta span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  background: rgba(7, 16, 34, 0.48);
  color: #edf2fb;
  font-size: 0.78rem;
  font-weight: 750;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: start;
}

.form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-panel-heading {
  margin: -4px 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-panel-heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-panel-heading h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.35rem;
}

.form-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.enquiry-section {
  background: #13213c;
  color: var(--white);
}

.enquiry-section .form-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 76px;
}

.enquiry-copy {
  padding-top: 12px;
}

.enquiry-copy .eyebrow { color: #b7c6ff; }
.enquiry-copy > p { color: #c5cede; }

.enquiry-section .enquiry-copy h2 {
  max-width: 520px;
  font-size: 3rem;
  line-height: 1.04;
}

.enquiry-section .enquiry-copy > p {
  max-width: 570px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.quick-enquiry-panel {
  padding: 38px;
  border-top: 4px solid var(--blue);
}

.quick-enquiry-panel .form-panel-heading {
  margin-bottom: 24px;
}

.quick-enquiry-panel .form-grid {
  gap: 20px;
}

.quick-enquiry-optional {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-enquiry-optional summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.quick-enquiry-optional summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.quick-enquiry-optional summary span::after {
  content: " +";
}

.quick-enquiry-optional[open] summary span::after {
  content: " -";
}

.quick-enquiry-optional-fields {
  display: grid;
  gap: 18px;
  padding: 2px 0 20px;
}

.quick-enquiry-optional textarea {
  min-height: 92px;
}

.quick-enquiry-action {
  display: flex;
  align-items: center;
  gap: 18px;
}

.quick-enquiry-action .button {
  flex: 0 0 auto;
}

.quick-enquiry-action .form-help {
  margin: 0;
}

.enquiry-assurances {
  display: grid;
  gap: 0;
  margin: 34px 0 30px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.enquiry-assurances li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.enquiry-assurances li > span {
  color: #8da8ff;
  font-size: 0.78rem;
  font-weight: 850;
}

.enquiry-assurances p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.enquiry-assurances b {
  color: var(--white);
  font-size: 0.95rem;
}

.enquiry-assurances small {
  color: #aebbd0;
  font-size: 0.87rem;
  line-height: 1.45;
}

.enquiry-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #aebbd0;
  font-size: 0.88rem;
}

.enquiry-contact > span {
  width: 100%;
  color: #8fa0bc;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enquiry-contact a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-list {
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list span {
  color: #8fa0bc;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.enquiry-section .enquiry-next {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.enquiry-section .enquiry-next p { color: #aebbd0; }
.enquiry-section .enquiry-next b { color: var(--white); }
.enquiry-section .enquiry-next .enquiry-step-number { background: var(--blue); }

.application-section {
  background: #eef3f9;
}

.application-copy,
.enquiry-copy {
  position: sticky;
  top: 112px;
}

.role-section {
  background: var(--white);
}

.steps-hiring {
  gap: 14px;
}

.steps-hiring .step {
  min-height: 240px;
  padding: 26px;
  border: 1px solid #d7dfeb;
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(21, 34, 59, 0.06);
}

.steps-hiring .step:nth-child(2) { border-top-color: var(--mint-deep); }
.steps-hiring .step:nth-child(3) { border-top-color: var(--warm); }
.steps-hiring .step:nth-child(4) { border-top-color: var(--navy); }

.steps-hiring .step-number {
  margin-bottom: 28px;
  border: 0;
  background: var(--cobalt-pale);
}

.steps-hiring .step:nth-child(2) .step-number { background: var(--mint); color: var(--mint-deep); }
.steps-hiring .step:nth-child(3) .step-number { background: #fff4d9; color: #855f12; }
.steps-hiring .step:nth-child(4) .step-number { background: #e7edf8; color: #29405f; }

.tutor-expectations-section {
  background: var(--ice);
}

.work-balance {
  gap: 0;
  align-items: stretch;
}

.expectation-panel,
.support-panel {
  min-width: 0;
  padding: 48px;
  border-radius: 6px;
}

.expectation-panel {
  position: relative;
  z-index: 1;
  margin: 26px -18px 26px 0;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.support-panel {
  padding-left: 66px;
  border: 1px solid #d3dce8;
  background: var(--white);
}

.panel-index {
  display: block;
  margin-bottom: 48px;
  color: #8796af;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.expectation-panel .eyebrow { color: #b9c8ff; }
.expectation-panel .check-list li { border-bottom-color: rgba(255, 255, 255, 0.16); }
.expectation-panel .check-list li::before { border-color: #7ed7bc; }

.policy-section {
  background: #f5f8fc;
}

.policy-section .legal-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
}

.policy-nav {
  padding: 0;
  border: 0;
}

.policy-nav > span {
  display: block;
  margin-bottom: 14px;
  color: #6e7b8f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-nav a {
  padding: 10px 0 10px 15px;
  border-left: 2px solid #d2dae7;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  border-left-color: var(--blue);
  color: var(--blue-dark);
}

.safeguarding-content {
  max-width: 860px;
}

.safeguarding-content a {
  color: var(--blue-dark);
}

.policy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid #d5deea;
  border-radius: 6px;
  background: var(--white);
}

.policy-meta span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-meta strong { font-size: 0.85rem; }

.policy-alert {
  margin-bottom: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--warm);
  background: #fff8e9;
}

.policy-alert strong {
  display: block;
  margin-bottom: 5px;
}

.policy-alert p {
  margin: 0;
  color: #5f5233;
}

.policy-block {
  position: relative;
  margin: 0;
  padding: 38px 38px 38px 98px;
  border-top: 1px solid #d9e1ec;
  background: var(--white);
}

.policy-block + .policy-block { margin-top: 14px; }

.policy-block h2 {
  margin: 0 0 14px;
  font-size: 1.75rem;
}

.policy-block p:last-child,
.policy-block ul:last-child { margin-bottom: 0; }

.policy-number {
  position: absolute;
  top: 42px;
  left: 34px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.safeguarding-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.safeguarding-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
}

.safeguarding-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.report-block {
  border-top-color: #2f4b84;
  background: var(--navy);
  color: var(--white);
}

.report-block .policy-number { color: #aebfff; }
.report-block p { color: #c2ccdc; }
.report-block a { color: var(--white); }

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

.report-contacts a {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  text-decoration: none;
}

.report-contacts a:hover { border-color: #aebfff; }

.report-contacts span {
  color: #93a4bf;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-contacts strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.policy-review {
  border-bottom: 4px solid var(--blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field,
.field-full {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 730;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #b7c0ce;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(246, 183, 60, 0.58);
  outline-offset: 2px;
}

.checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 0;
  border: 0;
}

.check-option,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 520;
}

.check-option input,
.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--blue);
}

.form-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  display: none;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #9fd0c2;
  border-radius: 5px;
  background: #edf9f4;
  color: #125541;
}

.notice.is-visible {
  display: block;
}

.notice.is-error {
  border-color: #e7afa7;
  background: #fff3f1;
  color: var(--danger);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 72px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 104px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 1.65rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content li {
  margin-bottom: 7px;
}

.breadcrumb {
  margin-bottom: 34px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: currentColor;
  opacity: 0.55;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.78;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.seo-hero-media,
.seo-hero-shade {
  position: absolute;
  inset: 0;
}

.seo-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-hero-shade {
  background: rgba(7, 16, 34, 0.8);
}

.seo-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 42px 0;
}

.seo-hero .breadcrumb {
  color: #d9e2f1;
}

.seo-hero-copy {
  max-width: 790px;
  padding-bottom: 42px;
}

.seo-hero-copy .eyebrow {
  color: #c7d3ff;
}

.seo-hero-copy h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 3.85rem;
  line-height: 1.04;
}

.seo-hero-copy > p:last-of-type {
  max-width: 720px;
  margin-bottom: 28px;
  color: #edf2fb;
  font-size: 1.08rem;
}

.seo-hero .hero-actions {
  margin-top: 6px;
}

.seo-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 16, 34, 0.72);
}

.seo-fact-strip div {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.seo-fact-strip div:last-child {
  border-right: 0;
}

.seo-fact-strip dt,
.seo-fact-strip dd {
  margin: 0;
}

.seo-fact-strip dt {
  margin-bottom: 4px;
  color: #acbad0;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-fact-strip dd {
  color: var(--white);
  font-size: 1rem;
  font-weight: 750;
}

.seo-answer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.seo-answer-layout h2 {
  max-width: 480px;
  margin-bottom: 0;
  font-size: 2.45rem;
}

.seo-prose {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.seo-prose p:last-child {
  margin-bottom: 0;
}

.seo-outcomes-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #cbd5e4;
  border-bottom: 1px solid #cbd5e4;
}

.seo-outcome {
  min-width: 0;
  padding: 28px 24px 30px;
  border-right: 1px solid #cbd5e4;
}

.seo-outcome:last-child {
  border-right: 0;
}

.seo-outcome > span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.seo-outcome h3 {
  font-size: 1.08rem;
}

.seo-outcome p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.seo-detail-layout {
  display: block;
}

.seo-detail-layout-with-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 54px;
  align-items: start;
}

.seo-detail-layout-with-proof .seo-detail-copy {
  max-width: 560px;
}

.seo-detail-copy {
  max-width: 980px;
}

.seo-detail-copy h2 {
  max-width: 820px;
  font-size: 2.55rem;
}

.seo-detail-copy p:not(.eyebrow) {
  max-width: 900px;
  color: var(--muted);
  font-size: 1.02rem;
}

.seo-portal-proof {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 48px rgba(14, 26, 49, 0.09);
}

.seo-portal-proof img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: center;
  background: #f7f9fc;
}

.seo-portal-proof figcaption {
  display: grid;
  gap: 5px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.seo-portal-proof figcaption strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.seo-portal-proof figcaption span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.seo-lesson-section .section-intro {
  max-width: 760px;
}

.seo-lesson-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.seo-lesson-steps li {
  min-width: 0;
  padding: 30px 24px 6px 0;
}

.seo-lesson-steps li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.seo-lesson-steps > li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid #7183a2;
  border-radius: 50%;
  color: #c7d3ff;
  font-weight: 800;
}

.seo-lesson-steps h3 {
  color: var(--white);
}

.seo-lesson-steps p {
  margin-bottom: 0;
  color: #bdc8da;
  font-size: 0.9rem;
}

.seo-fit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
}

.seo-fit-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.seo-fit-list li {
  position: relative;
  padding: 18px 16px 18px 36px;
  border-bottom: 1px solid var(--line);
  color: #344054;
}

.seo-fit-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.seo-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 72px;
  align-items: start;
}

.seo-faq-layout > div:first-child > p:last-child {
  color: var(--muted);
}

.seo-faq-list {
  border-top: 1px solid #cbd5e4;
}

.seo-faq {
  border-bottom: 1px solid #cbd5e4;
}

.seo-faq summary {
  position: relative;
  padding: 20px 46px 20px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 4px;
  color: var(--blue-dark);
  font-size: 1.55rem;
  font-weight: 500;
}

.seo-faq[open] summary::after {
  content: "−";
}

.seo-faq p {
  max-width: 760px;
  margin: -4px 44px 20px 0;
  color: var(--muted);
}

.seo-related-section h2 {
  max-width: 720px;
}

.seo-related-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-related-links a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 86px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  grid-column: span 2;
}

.seo-related-links.related-count-4 a {
  grid-column: span 3;
}

.seo-related-links.related-count-5 a:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.seo-related-links:not(.related-count-4) a:nth-child(3n),
.seo-related-links.related-count-4 a:nth-child(even),
.seo-related-links a:last-child {
  border-right: 0;
}

.seo-related-links a:hover,
.seo-related-links a:focus-visible {
  color: var(--blue-dark);
  background: var(--surface);
}

.seo-related-links a span {
  color: var(--blue);
  font-size: 1.3rem;
}

.seo-cta {
  padding-block: 58px;
  background: var(--blue);
  color: var(--white);
}

.seo-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.seo-cta .eyebrow {
  color: var(--white);
}

.seo-cta h2 {
  margin-bottom: 8px;
  font-size: 2.4rem;
}

.seo-cta p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #e4eaff;
}

.seo-cta .button {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--blue-dark);
}

.guide-hero,
.guide-index-hero {
  padding-block: 78px 72px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.guide-hero .breadcrumb,
.guide-index-hero .breadcrumb {
  color: var(--muted);
}

.guide-hero h1,
.guide-index-hero h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: 3.55rem;
  line-height: 1.05;
}

.guide-standfirst,
.guide-index-hero > .container > p:last-child {
  max-width: 820px;
  color: #344054;
  font-size: 1.2rem;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-meta span,
.guide-meta time {
  position: relative;
}

.guide-meta > * + *::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: -13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 82px;
  align-items: start;
  padding-block: 68px 88px;
}

.guide-aside {
  position: sticky;
  top: 102px;
  padding-top: 16px;
  border-top: 2px solid var(--blue);
}

.guide-aside strong,
.guide-aside a {
  display: block;
}

.guide-aside strong {
  margin-bottom: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.guide-aside a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.guide-aside a:hover,
.guide-aside a:focus-visible {
  color: var(--blue-dark);
}

.guide-content {
  min-width: 0;
}

.guide-quick-answer {
  margin-bottom: 56px;
  padding: 28px 30px;
  border-left: 4px solid var(--blue);
  background: var(--cobalt-pale);
}

.guide-quick-answer p:last-child {
  margin-bottom: 0;
  color: #22345a;
  font-size: 1.08rem;
  font-weight: 650;
}

.guide-section {
  position: relative;
  scroll-margin-top: 100px;
  padding: 8px 0 56px 62px;
}

.guide-section + .guide-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.guide-section-number {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.guide-section + .guide-section .guide-section-number {
  top: 53px;
}

.guide-section h2 {
  font-size: 2.2rem;
}

.guide-section p,
.guide-section li {
  color: #3f4d5f;
}

.guide-section ul {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.guide-section li {
  position: relative;
  padding: 11px 8px 11px 28px;
  border-bottom: 1px solid var(--line);
}

.guide-section li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 4px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.guide-source-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.guide-source-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.guide-source-links a:hover,
.guide-source-links a:focus-visible {
  border-color: #9aadee;
  background: var(--surface);
}

.guide-questions .seo-faq-list {
  margin-top: 26px;
}

.guide-next {
  padding: 38px;
  border: 1px solid #c7d3ff;
  border-radius: 6px;
  background: var(--surface);
}

.guide-next h2 {
  font-size: 2rem;
}

.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-index-item {
  min-width: 0;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-index-item > span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.guide-index-item .eyebrow {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.guide-index-item h2 {
  font-size: 1.65rem;
}

.guide-index-item h2 a {
  text-decoration: none;
}

.guide-index-item h2 a:hover,
.guide-index-item h2 a:focus-visible {
  color: var(--blue-dark);
}

.guide-index-item p:not(.eyebrow) {
  color: var(--muted);
}

.guide-index-link {
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.resource-callout {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #c7d3ff;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--cobalt-pale);
}

.resource-callout .eyebrow {
  margin-bottom: 8px;
}

.resource-callout h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.resource-callout p:not(.eyebrow) {
  color: #344054;
}

.resource-callout a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.resource-hero-actions,
.resource-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.resource-hero {
  padding-block: 58px 54px;
}

.resource-hero h1 {
  max-width: 860px;
  font-size: 3.75rem;
  line-height: 1.05;
  text-wrap: balance;
}

.resource-hero .guide-standfirst {
  max-width: 780px;
  font-size: 1.06rem;
  line-height: 1.65;
}

.resource-privacy {
  padding-block: 32px;
  border-bottom: 1px solid #c7d3ff;
  background: var(--cobalt-pale);
}

.resource-privacy .container {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  gap: 44px;
  align-items: start;
}

.resource-privacy h2 {
  margin: 0;
  font-size: 1.8rem;
}

.resource-privacy p:last-child {
  margin: 0;
  color: #344054;
}

.resource-layout {
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: start;
  gap: 58px;
}

.resource-field-grid,
.resource-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.resource-field-grid article,
.resource-code-grid article {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.resource-field-grid strong,
.resource-field-grid span,
.resource-code-grid strong,
.resource-code-grid span {
  display: block;
}

.resource-field-grid strong,
.resource-code-grid strong {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 0.88rem;
}

.resource-field-grid span,
.resource-code-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.resource-week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.resource-week-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.resource-week-grid span {
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-week-grid h3 {
  margin: 7px 0 8px;
  font-size: 1.25rem;
}

.resource-week-grid p {
  margin: 0;
  font-size: 0.88rem;
}

.resource-prompt-list,
.resource-routine,
.resource-decision-list {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.resource-prompt-list li,
.resource-routine li,
.resource-decision-list li {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}

.resource-prompt-list li::before,
.resource-routine li::before,
.resource-decision-list li::before {
  display: none;
}

.resource-routine strong,
.resource-routine span,
.resource-decision-list strong,
.resource-decision-list span {
  display: block;
}

.resource-routine strong,
.resource-decision-list strong {
  color: var(--blue-dark);
}

.resource-download-panel {
  margin-top: 12px;
}

.resource-index-hero {
  padding-block: 64px;
  background: var(--navy);
  color: var(--white);
}

.resource-index-hero .breadcrumb {
  color: #b8c3d7;
}

.resource-index-hero .breadcrumb a {
  color: inherit;
}

.resource-index-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.resource-index-hero h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 3.65rem;
  line-height: 1.05;
  text-wrap: balance;
}

.resource-index-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #c5cede;
  font-size: 1.14rem;
}

.resource-index-principles {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.resource-index-principles strong,
.resource-index-principles span {
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.resource-index-principles strong {
  color: #a9c0ff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-index-principles span {
  color: var(--white);
  font-weight: 700;
}

.resource-library {
  padding-block: 76px 88px;
  background: var(--surface);
}

.resource-library-intro {
  display: block;
  max-width: 820px;
}

.resource-library-intro h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: 2.75rem;
  line-height: 1.08;
  text-wrap: balance;
}

.resource-library-intro > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid #cbd5e4;
  border-left: 1px solid #cbd5e4;
}

.resource-library-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid #cbd5e4;
  border-bottom: 1px solid #cbd5e4;
  background: var(--white);
}

.resource-library-card .resource-card-number {
  position: absolute;
  top: 30px;
  right: 32px;
  color: #aeb9ca;
  font-size: 1.8rem;
  font-weight: 750;
}

.resource-library-card .eyebrow {
  max-width: calc(100% - 58px);
  margin-bottom: 24px;
}

.resource-library-card h3 {
  max-width: 440px;
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.resource-library-card h3 a {
  text-decoration: none;
}

.resource-library-card > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.resource-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.resource-card-footer > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.resource-card-footer a {
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.quiz-resource-hero {
  padding-block: 66px 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.quiz-resource-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 4.4rem;
  line-height: 1.02;
  text-wrap: balance;
}

.quiz-resource-hero > .container > p:not(.eyebrow) {
  max-width: 770px;
  color: var(--muted);
  font-size: 1.12rem;
}

.quiz-resource-facts {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid #cbd5e4;
  border-left: 1px solid #cbd5e4;
}

.quiz-resource-facts div {
  padding: 16px 18px;
  border-right: 1px solid #cbd5e4;
  border-bottom: 1px solid #cbd5e4;
  background: var(--white);
}

.quiz-resource-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-resource-facts dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.quiz-resource-body {
  padding-block: 72px 88px;
}

.quiz-resource-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 780px);
  gap: 72px;
  align-items: start;
}

.quiz-resource-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.quiz-resource-aside h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.quiz-resource-aside > p:not(.eyebrow) {
  color: var(--muted);
}

.quiz-resource-aside .button {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.quiz-privacy-note {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: var(--mint);
}

.quiz-privacy-note strong {
  color: var(--green);
}

.quiz-privacy-note span {
  color: #36574d;
  font-size: 0.84rem;
}

.resource-quiz {
  min-width: 0;
}

.resource-quiz-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.resource-quiz-heading h2 {
  margin: 0;
  font-size: 2.15rem;
}

.resource-quiz-heading > span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--cobalt-pale);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.resource-quiz-question {
  min-width: 0;
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.resource-quiz-question legend {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 760;
}

.resource-quiz-question legend > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt-pale);
  color: var(--blue-dark);
  font-size: 0.82rem;
}

.math-fraction {
  display: inline-grid;
  grid-template-rows: auto auto;
  min-width: 1.2em;
  margin: 0 0.08em;
  vertical-align: -0.42em;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.math-fraction__numerator,
.math-fraction__denominator {
  display: block;
  padding-inline: 0.08em;
}

.math-fraction__numerator {
  padding-bottom: 0.08em;
  border-bottom: 0.075em solid currentColor;
}

.math-fraction__denominator {
  padding-top: 0.08em;
}

.resource-quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0 54px;
}

.resource-quiz-options label {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.resource-quiz-options label:has(input:checked) {
  border-color: var(--blue);
  background: #f3f6ff;
}

.resource-quiz-options input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.resource-quiz-question.is-correct {
  border-left: 4px solid var(--green);
  padding-left: 18px;
}

.resource-quiz-question.is-incorrect {
  border-left: 4px solid var(--danger);
  padding-left: 18px;
}

.resource-quiz-explanation {
  margin: 16px 0 0 54px;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
  background: var(--mint);
  color: #294d42;
  font-size: 0.9rem;
}

.resource-quiz-question.is-incorrect .resource-quiz-explanation {
  border-left-color: var(--danger);
  background: #fff2ee;
  color: #6f3127;
}

.resource-quiz-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.resource-quiz-result {
  margin-top: 20px;
  padding: 22px;
  border-left: 4px solid var(--blue);
  background: var(--cobalt-pale);
  color: #22325e;
  font-weight: 750;
}

.quiz-resource-next {
  padding-block: 58px;
  background: var(--navy);
  color: var(--white);
}

.quiz-resource-next-inner {
  display: flex;
  justify-content: space-between;
  gap: 52px;
  align-items: center;
}

.quiz-resource-next h2 {
  margin-bottom: 8px;
  font-size: 2.4rem;
}

.quiz-resource-next p:last-child {
  max-width: 760px;
  margin: 0;
  color: #c5cede;
}

.quiz-resource-next .button {
  flex: 0 0 auto;
}

@media (max-width: 1160px) and (min-width: 981px) {
  .brand {
    min-width: 164px;
  }

  .brand small {
    display: none;
  }

  .nav-wrap {
    gap: 18px;
  }

  .nav-links {
    gap: 11px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .nav-portal,
  .nav-trial {
    padding-inline: 14px;
  }
}

.footer-grid.footer-grid-expanded {
  grid-template-columns: 1.25fr 0.8fr 0.8fr 0.9fr;
  gap: 38px;
}

.site-footer {
  padding-block: 54px 28px;
  background: #091326;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 50px;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: #b8c3d7;
  font-size: 0.9rem;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #909db3;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  h1 { font-size: 4.25rem; }
  h2 { font-size: 2.7rem; }
  .page-hero h1 { font-size: 3.85rem; }
  .mission-quote { font-size: 1.12rem; }

  .hero-copy {
    width: min(540px, 100%);
  }

  .hero-shade::before {
    width: 74%;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .nav-links {
    position: absolute;
    z-index: 2;
    top: 100%;
    right: 0;
    bottom: auto;
    width: min(360px, 92vw);
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom));
    border-left: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 13px 6px;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
  }

  .nav-links > a:not(.nav-portal):not(.nav-trial)::after {
    display: none;
  }

  .nav-links .nav-portal,
  .nav-links .nav-trial {
    margin-top: 14px;
    justify-content: center;
    text-align: center;
  }

  .nav-links .nav-trial {
    order: -1;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .trust-grid,
  .qualifications,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .mission,
  .form-layout,
  .portal-showcase-intro {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .portal-showcase-intro { gap: 26px; }
  .portal-showcase-summary { max-width: 720px; }

  .enquiry-section .form-layout {
    grid-template-columns: 1fr;
  }

  .subject-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .subject-summary {
    width: max-content;
  }

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

  .subject-maths,
  .subject-english,
  .subject-physics,
  .subject-chemistry,
  .subject-biology {
    grid-column: span 1;
  }

  .subject-computing {
    grid-column: span 2;
  }

  .application-copy,
  .enquiry-copy {
    position: static;
  }

  .policy-section .legal-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 48px;
  }

  .seo-hero-copy h1,
  .guide-hero h1,
  .guide-index-hero h1 {
    font-size: 3.2rem;
  }

  .seo-outcomes,
  .seo-lesson-steps,
  .seo-related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-related-links a,
  .seo-related-links.related-count-4 a,
  .seo-related-links.related-count-5 a:nth-last-child(-n + 2) {
    grid-column: span 1;
  }

  .seo-related-links a:nth-child(odd) {
    border-right: 1px solid #cbd5e4;
  }

  .seo-related-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .seo-outcome:nth-child(2),
  .seo-related-links a:nth-child(even) {
    border-right: 0;
  }

  .seo-outcome:nth-child(-n + 2),
  .seo-related-links a:nth-child(-n + 2) {
    border-bottom: 1px solid #cbd5e4;
  }

  .seo-lesson-steps li:nth-child(3) {
    border-left: 0;
  }

  .seo-lesson-steps li:nth-child(n + 3) {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .guide-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 54px;
  }

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

  .resource-index-hero-inner,
  .quiz-resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-index-hero-inner {
    gap: 42px;
  }

  .resource-index-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-index-principles strong {
    grid-column: 1 / -1;
  }

  .resource-index-principles strong,
  .resource-index-principles span {
    padding-inline: 10px;
  }

  .quiz-resource-layout {
    gap: 44px;
  }

  .quiz-resource-aside {
    position: static;
    max-width: 720px;
  }

  .quiz-resource-aside .button {
    width: auto;
  }
}

@media (max-width: 840px) {
  .split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .split-media {
    aspect-ratio: 16 / 10;
  }

  .expectation-panel {
    margin: 0;
  }

  .support-panel {
    padding-left: 48px;
  }

  .seo-answer-layout,
  .seo-detail-layout,
  .seo-fit-layout,
  .seo-faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .seo-detail-layout-with-proof {
    grid-template-columns: 1fr;
  }

  .seo-detail-layout-with-proof .seo-detail-copy {
    max-width: 720px;
  }

  .seo-detail-copy {
    max-width: 720px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }

  .guide-aside strong {
    flex: 0 0 100%;
  }

  .resource-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .resource-library-grid {
    grid-template-columns: 1fr;
  }

  .resource-library-card {
    min-height: 0;
  }

  .quiz-resource-next-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .quiz-resource-next .button {
    flex: 0 0 auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  .page-hero h1 { font-size: 3rem; }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .resource-hero {
    padding-block: 42px 40px;
  }

  .resource-hero h1,
  .resource-index-hero h1,
  .quiz-resource-hero h1 {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }

  .resource-index-hero,
  .resource-library,
  .quiz-resource-body {
    padding-block: 48px;
  }

  .resource-index-principles {
    grid-template-columns: 1fr;
  }

  .resource-library-grid {
    margin-top: 32px;
  }

  .resource-library-card {
    padding: 27px 24px;
  }

  .resource-library-card .resource-card-number {
    top: 24px;
    right: 24px;
  }

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

  .quiz-resource-facts {
    grid-template-columns: 1fr;
  }

  .resource-quiz-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .resource-quiz-heading h2 {
    font-size: 1.75rem;
  }

  .resource-quiz-question {
    padding-block: 22px;
  }

  .resource-quiz-question legend {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .resource-quiz-question legend > span:first-child {
    width: 32px;
    height: 32px;
  }

  .resource-quiz-options {
    grid-template-columns: 1fr;
    margin-left: 45px;
  }

  .resource-quiz-explanation {
    margin-left: 45px;
  }

  .resource-quiz-question.is-correct,
  .resource-quiz-question.is-incorrect {
    padding-left: 12px;
  }

  .resource-quiz-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-quiz-actions .button {
    width: 100%;
  }

  .quiz-resource-next h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 74svh;
    align-items: end;
  }

  .hero-media img {
    object-position: 82% center;
  }

  .hero-shade {
    background: rgba(8, 18, 38, 0.64);
  }

  .hero-shade::before {
    display: none;
  }

  .hero-content {
    min-height: 0;
    align-items: flex-end;
    padding-block: 72px 38px;
  }

  .hero-content h1 {
    margin-bottom: 18px;
    font-size: 3.25rem;
  }

  .hero-lead {
    max-width: 500px;
    margin-bottom: 24px;
    font-size: 1.06rem;
    line-height: 1.5;
  }

  .hero-actions .button,
  .action-row .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    margin-top: 20px;
    padding-top: 15px;
    font-size: 0.75rem;
  }

  .hero-proof span:last-child {
    grid-column: 1 / -1;
  }

  .section {
    padding-block: 66px;
  }

  .section-compact {
    padding-block: 48px;
  }

  .portal-demo-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .portal-demo-role-tabs {
    align-self: flex-start;
  }

  .portal-demo-workspace {
    min-height: 660px;
    display: block;
  }

  .portal-demo-sidebar {
    padding: 13px;
  }

  .portal-demo-brand {
    padding: 0 0 12px;
  }

  .portal-demo-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 11px;
  }

  .portal-demo-sidebar nav button {
    min-height: 44px;
    padding: 7px 6px;
    font-size: 0.68rem;
    text-align: center;
  }

  .portal-demo-sidebar nav button.is-active {
    box-shadow: inset 0 -3px 0 #7195ff;
  }

  .portal-demo-main { padding: 24px 18px; }

  .portal-demo-progress article {
    grid-template-columns: minmax(150px, 1fr) minmax(120px, 1fr) 42px;
    gap: 12px;
  }

  .trust-grid,
  .qualifications,
  .steps,
  .subject-grid,
  .split,
  .form-grid,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child {
    min-height: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .qualification,
  .qualification:last-child {
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 20px;
    border: 1px solid #d7dfeb;
    border-top: 4px solid var(--blue);
  }

  .qualification:nth-child(2) { border-top-color: var(--mint-deep); }
  .qualification:nth-child(3) { border-top-color: var(--warm); }
  .qualification:nth-child(4) { border-top-color: var(--navy); }

  .mission-visual {
    min-height: 450px;
    box-shadow: 12px 12px 0 #0b1428;
  }

  .mission-statement h2 { font-size: 2.55rem; }
  .mission-quote { font-size: 1.05rem; }

  .subject-summary {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-process {
    gap: 28px;
  }

  .steps-process::before {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 21px;
    width: 1px;
    height: auto;
  }

  .steps-process .step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 18px;
  }

  .steps-process .step-number {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .steps-process .step h3 { margin-top: 2px; }

  .portal-showcase-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portal-preview-wide { grid-column: 1; }

  .portal-preview figcaption {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
  }

  .portal-preview figcaption strong {
    font-size: 0.92rem;
    text-align: left;
  }

  .portal-showcase-note { text-align: left; }

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

  .subject-maths,
  .subject-english,
  .subject-physics,
  .subject-chemistry,
  .subject-biology,
  .subject-computing {
    grid-column: 1;
  }

  .subject {
    min-height: 230px;
  }

  .split-media-frame {
    padding: 0;
  }

  .split-media-frame::after {
    display: none;
  }

  .split-media {
    aspect-ratio: 4 / 3;
  }

  .split-media-frame figcaption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: -24px 0 0 20px;
  }

  .form-panel {
    padding: 20px;
  }

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

  .legal-nav {
    position: static;
  }

  .page-hero-image {
    min-height: 520px;
  }

  .page-hero-inner {
    padding-block: 82px 48px;
  }

  .page-hero-meta {
    gap: 7px;
  }

  .page-hero-meta span {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 0.7rem;
  }

  .steps-hiring .step {
    min-height: 0;
  }

  .expectation-panel,
  .support-panel {
    padding: 30px 24px;
  }

  .panel-index {
    margin-bottom: 32px;
  }

  .policy-section .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .policy-nav > span {
    grid-column: 1 / -1;
  }

  .policy-block {
    padding: 32px 22px 32px 64px;
  }

  .policy-number {
    top: 36px;
    left: 22px;
  }

  .report-contacts {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .breadcrumb {
    margin-bottom: 24px;
  }

  .seo-hero {
    min-height: 620px;
  }

  .seo-hero-media img {
    object-position: 72% center;
  }

  .seo-hero-inner {
    padding-top: 38px;
  }

  .seo-hero-copy {
    padding-bottom: 34px;
  }

  .seo-hero-copy h1,
  .guide-hero h1,
  .guide-index-hero h1 {
    font-size: 2.45rem;
  }

  .seo-hero-copy > p:last-of-type {
    font-size: 1rem;
  }

  .seo-fact-strip {
    grid-template-columns: 1fr;
  }

  .seo-fact-strip div,
  .seo-fact-strip div:last-child {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .seo-fact-strip div:last-child {
    border-bottom: 0;
  }

  .seo-fact-strip dt {
    margin: 0;
  }

  .seo-answer-layout h2 {
    font-size: 2.2rem;
  }

  .seo-outcomes,
  .seo-lesson-steps,
  .seo-related-links,
  .guide-index-grid {
    grid-template-columns: 1fr;
  }

  .seo-outcome,
  .seo-outcome:nth-child(2),
  .seo-related-links a,
  .seo-related-links a:nth-child(2),
  .seo-related-links a:nth-child(odd) {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid #cbd5e4;
  }

  .seo-outcome:last-child,
  .seo-related-links a:last-child,
  .seo-related-links a:last-child:nth-child(odd) {
    grid-column: 1;
    border-bottom: 0;
  }

  .seo-lesson-steps li,
  .seo-lesson-steps li + li,
  .seo-lesson-steps li:nth-child(n + 3) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    margin: 0;
    padding: 22px 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .seo-lesson-steps li:last-child {
    border-bottom: 0;
  }

  .seo-lesson-steps > li > span {
    grid-row: 1;
    width: 38px;
    height: 38px;
    margin: 0;
  }

  .seo-lesson-steps li > div {
    grid-column: 2;
  }

  .seo-cta-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .seo-cta .button {
    width: 100%;
  }

  .guide-hero,
  .guide-index-hero {
    padding-block: 56px 52px;
  }

  .guide-layout {
    padding-block: 46px 64px;
  }

  .guide-aside {
    display: none;
  }

  .guide-section {
    padding: 8px 0 44px 42px;
  }

  .guide-section + .guide-section {
    padding-top: 40px;
  }

  .guide-section + .guide-section .guide-section-number {
    top: 45px;
  }

  .guide-section h2 {
    font-size: 1.8rem;
  }

  .guide-next {
    padding: 26px 22px;
  }

  .guide-index-item {
    padding: 28px 22px;
    border-left: 0;
  }

  .footer-grid.footer-grid-expanded {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }
  .page-hero h1 { font-size: 2.55rem; }

  .site-header,
  .nav-wrap {
    min-height: 68px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .nav-links {
    right: 0;
    left: 0;
    width: 100%;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-block: 64px 34px;
  }

  .hero-content h1 {
    font-size: 2.9rem;
  }

  .portal-demo-role-tabs {
    width: 100%;
  }

  .portal-demo-role-tabs button {
    flex: 1 1 0;
    padding-inline: 8px;
  }

  .portal-demo-workspace { min-height: 720px; }
  .portal-demo-brand img { width: 38px; height: 38px; }

  .portal-demo-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-demo-main { padding: 22px 14px; }
  .portal-demo-heading h3 { font-size: 1.35rem; }

  .portal-demo-metrics,
  .portal-demo-materials {
    grid-template-columns: 1fr;
  }

  .portal-demo-metrics article { min-height: 104px; }

  .portal-demo-next {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }

  .portal-demo-next > div { width: 50px; height: 54px; }
  .portal-demo-next > b { grid-column: 2; justify-self: start; }

  .portal-demo-progress article {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .portal-demo-progress article > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .portal-demo-progress article > b {
    grid-column: 2;
    grid-row: 1;
  }

  .portal-demo-child {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .portal-demo-child > i { width: 46px; height: 46px; }
  .portal-demo-child > div { grid-column: 2; align-items: flex-start; }

  .portal-demo-payment {
    grid-template-columns: 1fr;
  }

  .portal-demo-payment > b,
  .portal-demo-payment button {
    justify-self: start;
  }

  .section-intro {
    margin-bottom: 30px;
  }

  .qualification,
  .subject {
    padding: 22px 18px;
  }

  .mission-visual {
    min-height: 420px;
    padding: 26px 22px;
  }

  .mission-ratio {
    gap: 12px;
    margin-block: 48px 22px;
    font-size: 5.4rem;
  }

  .mission-ratio span { font-size: 3.4rem; }
  .mission-visual > p { font-size: 1.12rem; }
  .mission-path { gap: 8px; }
  .mission-path strong { font-size: 0.68rem; }
  .mission-statement h2 { font-size: 2.2rem; }

  .subject-summary div {
    min-height: 78px;
    padding-inline: 10px;
  }

  .subject-code {
    top: 20px;
    right: 18px;
    width: 36px;
    height: 26px;
    font-size: 0.66rem;
  }

  .subject-watermark { font-size: 6.5rem; }
  .subject h3 { font-size: 1.55rem; }
  .subject-topics { gap: 12px; }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-block {
    padding: 66px 20px 28px;
  }

  .policy-number {
    top: 28px;
    left: 20px;
  }

  .policy-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .seo-hero-copy h1,
  .guide-hero h1,
  .guide-index-hero h1 {
    font-size: 2.25rem;
  }

  .seo-hero {
    min-height: 620px;
  }

  .seo-hero .hero-actions {
    display: grid;
  }

  .seo-fact-strip div,
  .seo-fact-strip div:last-child {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .seo-answer-layout h2,
  .seo-cta h2 {
    font-size: 2rem;
  }

  .seo-outcome {
    padding-inline: 16px;
  }

  .guide-meta > * {
    flex: 0 0 100%;
  }

  .guide-meta > * + *::before {
    display: none;
  }

  .guide-quick-answer {
    padding: 22px 20px;
  }

  .guide-section {
    padding-left: 0;
  }

  .guide-section-number,
  .guide-section + .guide-section .guide-section-number {
    position: static;
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) and (max-height: 700px) {
  .hero-content {
    padding-block: 38px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.diagnostic-hero {
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.diagnostic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 64px;
  align-items: end;
}

.diagnostic-hero h1 {
  max-width: 760px;
  margin: 22px 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 3.55rem;
  font-weight: 780;
  line-height: 1.04;
}

.diagnostic-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.diagnostic-disclaimer {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.diagnostic-value {
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.diagnostic-value > span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.diagnostic-value ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnostic-value li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.diagnostic-value li b {
  color: var(--green);
  font-size: 12px;
}

.diagnostic-value li p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.diagnostic-value li strong {
  font-size: 15px;
}

.diagnostic-value li small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.diagnostic-shell {
  max-width: 960px;
}

.diagnostic-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.diagnostic-intro h2,
.diagnostic-ready h2,
.diagnostic-result h2,
.diagnostic-evidence h2 {
  margin: 10px 0 14px;
  font-family: inherit;
  font-size: 2.55rem;
  font-weight: 760;
  line-height: 1.08;
}

.diagnostic-intro > p:last-child,
.diagnostic-ready > p,
.diagnostic-result-heading > p:last-child,
.diagnostic-evidence p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.diagnostic-progress {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}

.diagnostic-progress > span {
  color: #b7dcca;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostic-progress-areas {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.diagnostic-progress-areas span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #eef3fb;
  font-size: 0.72rem;
  font-weight: 700;
}

.diagnostic-quiz {
  display: grid;
  gap: 16px;
}

.diagnostic-quiz fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 24px 22px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.diagnostic-quiz legend {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 0 15px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.diagnostic-quiz legend > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.diagnostic-quiz fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fbfcfb;
  cursor: pointer;
  font-size: 14px;
}

.diagnostic-quiz fieldset label:hover {
  border-color: var(--green);
}

.diagnostic-quiz fieldset input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}

.diagnostic-quiz > .button {
  justify-self: start;
  margin-top: 10px;
}

.diagnostic-error {
  min-height: 20px;
  color: #a43f32;
  font-size: 13px;
  font-weight: 700;
}

.diagnostic-capture,
.diagnostic-result {
  scroll-margin-top: 100px;
}

.diagnostic-ready {
  margin-bottom: 26px;
  padding: 26px;
  border-left: 4px solid var(--green);
  background: var(--mint);
}

.diagnostic-ready > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.diagnostic-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.diagnostic-preview article {
  display: grid;
  align-content: space-between;
  min-height: 108px;
  padding: 18px;
  border-left: 1px solid var(--line);
}

.diagnostic-preview article:first-child {
  border-left: 0;
  background: var(--ink);
}

.diagnostic-preview span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.diagnostic-preview strong {
  margin-top: 14px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.diagnostic-preview article:first-child span {
  color: #b9c5d6;
}

.diagnostic-preview article:first-child strong {
  color: var(--white);
}

.diagnostic-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid #c7d3ff;
  border-left: 4px solid var(--blue);
  background: var(--cobalt-pale);
}

.diagnostic-resource .eyebrow {
  margin-bottom: 7px;
}

.diagnostic-resource h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.diagnostic-resource p:not(.eyebrow) {
  margin: 0;
  color: #344054;
  font-size: 0.9rem;
  line-height: 1.6;
}

.diagnostic-resource-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.diagnostic-resource-actions .button {
  min-height: 44px;
  padding: 11px 15px;
  font-size: 0.78rem;
}

.diagnostic-result-heading {
  max-width: 760px;
}

.diagnostic-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.diagnostic-score-grid article {
  display: grid;
  align-content: space-between;
  min-height: 124px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.diagnostic-score-grid article:first-child {
  border-left: 0;
}

.diagnostic-score-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.diagnostic-score-grid strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.diagnostic-plan {
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.diagnostic-plan h3 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.diagnostic-plan ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnostic-plan li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.diagnostic-plan li span {
  color: #b7dcca;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostic-plan li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.diagnostic-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
}

.diagnostic-result-actions p {
  flex-basis: 100%;
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.diagnostic-evidence {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
}

.diagnostic-page-notice {
  margin-bottom: 20px;
}

@media (max-width: 840px) {
  .diagnostic-hero {
    padding: 58px 0 48px;
  }

  .diagnostic-hero-grid,
  .diagnostic-evidence,
  .diagnostic-resource {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .diagnostic-resource-actions {
    justify-content: flex-start;
  }

  .diagnostic-hero h1 {
    font-size: 3rem;
  }

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

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

  .diagnostic-preview article {
    border-top: 1px solid var(--line);
  }

  .diagnostic-score-grid article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .diagnostic-hero h1 {
    font-size: 2.35rem;
  }

  .diagnostic-lead {
    font-size: 17px;
  }

  .diagnostic-intro h2,
  .diagnostic-ready h2,
  .diagnostic-result h2,
  .diagnostic-evidence h2 {
    font-size: 2.05rem;
  }

  .diagnostic-progress {
    grid-template-columns: 1fr;
  }

  .diagnostic-progress-areas {
    justify-content: flex-start;
  }

  .diagnostic-quiz fieldset,
  .diagnostic-score-grid,
  .diagnostic-preview {
    grid-template-columns: 1fr;
  }

  .diagnostic-score-grid article,
  .diagnostic-score-grid article:nth-child(3) {
    min-height: 90px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .diagnostic-score-grid article:first-child {
    border-top: 0;
  }

  .diagnostic-preview article {
    min-height: 86px;
    border-left: 0;
  }

  .diagnostic-plan li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.gap-check-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.gap-check-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.gap-check-strip h2 {
  margin: 4px 0 6px;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
}

.gap-check-strip p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 840px) {
  .gap-check-strip .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

.match-hero .seo-hero-media img {
  object-position: center 42%;
}

.match-request-section {
  scroll-margin-top: 92px;
}

.match-request-section .form-layout {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
}

.match-request-section .enquiry-copy {
  position: static;
  max-width: 540px;
}

.match-request-section .enquiry-copy h2 {
  font-size: 2.55rem;
  line-height: 1.1;
}

.match-form-panel {
  min-width: 0;
}

.match-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.match-step > legend {
  width: 100%;
  margin-bottom: 22px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.match-step > legend span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.match-form-actions .form-help {
  flex-basis: 100%;
}

.match-back-button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.match-back-button:hover,
.match-back-button:focus-visible {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.match-privacy-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 4px solid #82d0ae;
  background: rgba(255, 255, 255, .05);
}

.match-privacy-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
}

.match-privacy-note p {
  margin: 0;
  color: #c5cede;
  font-size: .9rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .match-request-section .form-layout {
    grid-template-columns: 1fr;
  }

  .match-request-section .enquiry-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .match-form-actions {
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .match-form-actions .button {
    width: 100%;
  }
}

@media (max-width: 840px) {
  .resource-privacy .container,
  .resource-field-grid,
  .resource-code-grid,
  .resource-week-grid {
    grid-template-columns: 1fr;
  }

  .resource-privacy .container {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .resource-hero-actions,
  .resource-next-actions,
  .diagnostic-resource-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-hero-actions .button,
  .resource-next-actions .button,
  .diagnostic-resource-actions .button {
    width: 100%;
  }

  .resource-prompt-list li,
  .resource-routine li,
  .resource-decision-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 720px) {
  .enquiry-section .enquiry-copy h2 {
    font-size: 2.55rem;
  }

  .quick-enquiry-panel {
    padding: 24px 20px;
  }

  .quick-enquiry-action {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-enquiry-action .button {
    width: 100%;
  }
}

.field-guidance {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.privacy-acknowledgement {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.privacy-acknowledgement a {
  color: var(--blue-dark);
  font-weight: 700;
}

.pricing-band-section {
  scroll-margin-top: calc(var(--header-height) + 20px);
  background: var(--soft);
}

.pricing-band-intro {
  max-width: 760px;
}

.pricing-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.pricing-band-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  background: var(--white);
}

.pricing-band-card h3 {
  min-height: 48px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.pricing-band-card p {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
}

.pricing-band-card strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.pricing-band-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-inclusions {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.pricing-inclusions h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pricing-inclusions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-inclusions li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-inclusions li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-trial-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  background: var(--mint);
  color: #24463c;
}

.pricing-trial-note strong {
  color: var(--mint-deep);
}

.pricing-trial-note a {
  margin-left: auto;
  color: var(--blue-dark);
  font-weight: 750;
}

.quick-enquiry-action,
.match-form-actions {
  align-items: flex-start;
}

.quick-enquiry-action .privacy-acknowledgement,
.match-form-actions .privacy-acknowledgement {
  flex-basis: 100%;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.founder-portrait {
  width: min(100%, 270px);
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 17%;
}

.founder-copy {
  max-width: 720px;
}

.founder-copy h2 {
  margin-bottom: 5px;
}

.founder-role {
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-weight: 750;
}

.match-contact-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid #82d0ae;
  background: rgba(255, 255, 255, 0.05);
}

.match-contact-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
}

.match-contact-note p {
  margin: 0;
  color: #c5cede;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 840px) {
  .resource-library-intro h2 {
    font-size: 2.2rem;
  }

  .pricing-band-grid,
  .pricing-inclusions {
    grid-template-columns: 1fr;
  }

  .pricing-band-card h3 {
    min-height: 0;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    width: min(100%, 228px);
  }
}

@media (max-width: 560px) {
  .pricing-band-card,
  .pricing-inclusions {
    padding: 22px 20px;
  }

  .pricing-trial-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-trial-note a {
    margin-left: 0;
  }
}

/* Responsive polish is deliberately isolated from laptop and desktop layouts. */
@media (max-width: 980px) {
  .nav-toggle {
    flex: 0 0 44px;
    touch-action: manipulation;
  }

  .nav-links a,
  .button,
  button,
  summary {
    touch-action: manipulation;
  }

  .nav-links {
    padding-top: 16px;
  }

  .nav-links .nav-portal,
  .nav-links .nav-trial {
    min-height: 50px;
  }
}

@media (max-width: 720px) {
  h1,
  h2,
  .resource-hero h1,
  .resource-index-hero h1,
  .quiz-resource-hero h1,
  .seo-hero-copy h1,
  .guide-hero h1,
  .guide-index-hero h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }

  input,
  select,
  textarea,
  button {
    font-size: 1rem;
  }

  input,
  select {
    min-height: 50px;
  }

  textarea {
    min-height: 132px;
  }

  .breadcrumb {
    margin-bottom: 18px;
  }

  .breadcrumb li:not(:first-child) {
    display: none;
  }

  .breadcrumb li:first-child::after {
    display: none;
  }

  .breadcrumb a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .resource-hero-actions,
  .resource-next-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-hero-actions .button,
  .resource-next-actions .button {
    width: 100%;
  }

  .resource-library-card {
    min-height: 0;
  }

  .resource-card-footer a,
  .resource-callout a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .resource-quiz-options label,
  .seo-faq summary,
  .quick-enquiry-optional summary {
    min-height: 48px;
  }

  .seo-fact-strip div,
  .seo-fact-strip div:last-child {
    grid-template-columns: minmax(82px, 0.4fr) minmax(0, 1fr);
  }

  .seo-hero {
    min-height: auto;
  }

  .seo-hero-inner {
    min-height: 590px;
  }

  .guide-hero,
  .guide-index-hero,
  .resource-index-hero,
  .quiz-resource-hero {
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .form-panel-heading {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .form-grid {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .hero-content h1 {
    max-width: 11ch;
  }

  .seo-hero-inner {
    min-height: 560px;
  }

  .seo-hero-copy h1,
  .guide-hero h1,
  .guide-index-hero h1,
  .resource-hero h1,
  .resource-index-hero h1,
  .quiz-resource-hero h1 {
    font-size: 2.25rem;
  }

  .seo-fact-strip div,
  .seo-fact-strip div:last-child {
    grid-template-columns: minmax(74px, 0.38fr) minmax(0, 1fr);
    gap: 10px;
    padding: 11px 13px;
  }

  .resource-quiz-options,
  .resource-quiz-explanation {
    margin-left: 0;
  }

  .resource-quiz-question legend {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .form-panel,
  .quick-enquiry-panel {
    padding: 18px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .guide-aside,
  .resource-hero-actions,
  .resource-next-actions,
  .resource-download-panel,
  .seo-cta,
  .quiz-resource-aside .button,
  .quiz-resource-next {
    display: none !important;
  }

  body {
    color: #111827;
    background: #fff;
    font-size: 10.5pt;
  }

  .container {
    width: 100%;
  }

  .resource-hero,
  .quiz-resource-hero,
  .resource-privacy,
  .resource-index-hero {
    padding: 18pt 0;
    color: #111827;
    background: #fff;
    border-bottom: 1pt solid #ccd5e2;
  }

  .resource-hero h1,
  .quiz-resource-hero h1,
  .resource-index-hero h1 {
    max-width: none;
    font-size: 26pt;
  }

  .resource-layout,
  .quiz-resource-layout {
    display: block;
    margin: 0;
  }

  .guide-content,
  .resource-quiz {
    max-width: none;
  }

  .guide-section,
  .resource-quiz-question,
  .resource-week-grid article,
  .resource-field-grid article,
  .resource-code-grid article {
    break-inside: avoid;
  }

  .guide-section {
    padding-block: 18pt;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
