@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* Colours and base styles */
:root {
  --bg: #070A12;
  --surface: #101525;
  --purple: #8B5CF6;
  --blue: #38BDF8;
  --soft: #C4B5FD;
  --text: #F8FAFC;
  --muted: #9da8bf;
  --line: #ffffff1c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

::selection {
  background: #8b5cf66b;
}

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

h1,
h2,
h3,
.wordmark {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 500;
}

h2 {
  font-size: clamp(36px, 4.4vw, 64px);
}

p {
  color: var(--muted);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    filter 0.75s ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[hidden] {
  display: none !important;
}

/* Scroll progress */
.scroll-progress {
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  z-index: 100;
}

/* Navigation */
.header {
  height: 96px;
  padding: 0 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.wordmark span {
  color: var(--soft);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

nav > a:hover {
  color: var(--soft);
}

.nav-cta {
  border: 1px solid #8b5cf680;
  padding: 10px 18px;
  background: #8b5cf611;
}

.nav-cta span {
  margin-left: 28px;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #070a12 0%,
    #070a12f0 21%,
    #070a1280 51%,
    transparent 76%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 186px 5.2% 30px;
  pointer-events: none;
}

.hero-content a {
  pointer-events: auto;
}

.eyebrow,
.label {
  font: 500 12px "DM Sans", sans-serif;
  letter-spacing: 2px;
  color: var(--soft);
}

.tiny-cross {
  color: var(--blue);
  font-size: 20px;
  margin-right: 10px;
}

.hero h1 {
  font-size: clamp(64px, 7.3vw, 108px);
  margin: 28px 0;
  max-width: 850px;
}

.hero h1 > span,
.gradient {
  background: linear-gradient(
    105deg,
    #e5ddff 5%,
    #b9a0ff 42%,
    #60bdfb 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  color: #e0e3ed;
  font-size: 18px;
  font-weight: 500;
  max-width: 540px;
}

.hero-sub {
  font-size: 17px;
  max-width: 530px;
  margin-top: 8px;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 33px;
}

/* Buttons */
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 17px 23px;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 0 36px #8b5cf624;
}

.button.primary:hover {
  background: #9970f7;
  box-shadow: 0 0 35px #8b5cf64d;
}

.button.secondary {
  border-color: #ffffff40;
  background: #10152599;
}

.button span {
  font-size: 18px;
}

/* Hero details */
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 111px;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #8893a9;
}

.hero-foot a {
  font-size: 10px;
}

.hero-foot b {
  font-size: 20px;
  margin-left: 20px;
}

.network-label {
  position: absolute;
  right: 8%;
  top: 66%;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--soft);
  pointer-events: none;
}

.network-label small {
  display: block;
  font-size: 9px;
  margin: 8px 0 0 17px;
  color: #6f7f9e;
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 10px;
  box-shadow: 0 0 10px var(--blue);
}

/* Animated progression strip */
.path-strip {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 2px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #0a0d18;
}

.path-strip i {
  font-style: normal;
  color: #736993;
  font-size: 27px;
}

.traveller {
  position: absolute;
  bottom: 0;
  width: 130px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    transparent
  );
  animation: travel 8s linear infinite;
}

@keyframes travel {
  from {
    left: -130px;
  }

  to {
    left: 100%;
  }
}

/* Shared section layout */
.section {
  padding: 100px 5.2%;
  scroll-margin-top: 0;
}

.section-meta {
  font-size: 11px;
  letter-spacing: 1.7px;
  color: #8e96ac;
  display: flex;
  justify-content: space-between;
  margin-bottom: 43px;
}

.section-meta > span:first-child {
  color: var(--soft);
}

.intro-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 28px 0 45px;
}

.intro-row p {
  max-width: 420px;
  font-size: 16px;
}

/* Learning pathways */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path-card {
  background: linear-gradient(140deg, #14192a, #0c101c);
  border: 1px solid var(--line);
  padding: 28px 28px 26px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.path-card:hover {
  border-color: #8b5cf688;
  box-shadow:
    inset 0 0 60px #8b5cf60c,
    0 0 30px #8b5cf60d;
}

.card-top {
  font-size: 12px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  color: var(--soft);
}

.card-top > span:last-child {
  color: #73829e;
}

.path-card h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-top: 20px;
}

.path-card p {
  font-size: 15px;
  margin: 15px 0 27px;
  min-height: 48px;
}

.path-link {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #a4aac0;
}

/* Pathway diagrams */
.mini-diagram {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  width: 175px;
  margin-top: 29px;
  opacity: 0.8;
}

.mini-diagram::before {
  content: "";
  height: 1px;
  position: absolute;
  width: 100%;
  background: linear-gradient(90deg, #8b5cf6aa, #38bdf888);
}

.mini-diagram i {
  display: block;
  width: 12px;
  height: 12px;
  background: #1b1a39;
  border: 1px solid #aa8aff;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 0 12px #8b5cf630;
}

.flow i {
  border-radius: 2px;
  transform: rotate(45deg);
  width: 19px;
  height: 19px;
}

.complex {
  flex-wrap: wrap;
  gap: 20px;
  width: 100px;
  height: 77px;
  transform: rotate(-15deg);
}

.complex::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #8b5cf65c;
  transform: rotate(45deg);
}

/* Courses section */
.courses {
  border-top: 1px solid var(--line);
  background: radial-gradient(
    ellipse at 10% 50%,
    #16102966,
    transparent 60%
  );
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.section-heading p {
  font-size: 15px;
  padding-bottom: 5px;
}

/* Course filters */
.filters {
  display: flex;
  gap: 8px;
  margin: 38px 0 25px;
  flex-wrap: wrap;
}

.filters button {
  background: transparent;
  color: #a3acc0;
  border: 1px solid transparent;
  padding: 10px 17px;
  font-size: 13px;
}

.filters button.active {
  background: #19172e;
  border-color: #8b5cf65c;
  color: #dfd4ff;
}

.filters button:hover {
  color: white;
}

.filters span {
  font-size: 10px;
  margin-left: 12px;
  opacity: 0.6;
}

/* Course cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: #101525b3;
  border: 1px solid #ffffff16;
  color: white;
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.course-card:hover {
  border-color: #8b5cf680;
  box-shadow: 0 0 45px #8b5cf617;
  transform: translateY(-4px);
}

.course-card > * {
  position: relative;
  z-index: 1;
}

.course-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(
      ellipse at right bottom,
      #2c1d5066,
      transparent
    ),
    #111526;
}

.course-card .level {
  color: #a3b6d0;
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
}

.level em {
  font-style: normal;
  color: var(--soft);
  font-size: 9px;
}

.course-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.22;
  margin-top: 35px;
  max-width: 290px;
}

.course-card.featured h3 {
  font-size: 36px;
  max-width: 360px;
}

.course-card p {
  font-size: 13px;
  margin: 15px 0 28px;
  max-width: 300px;
}

.course-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ffffff15;
  font-size: 10px;
  letter-spacing: 1.1px;
}

.course-bottom > span:first-child {
  color: #9ca8bf;
}

.course-bottom b {
  font-weight: 500;
  color: #dbceff;
}

/* Course card network animation */
.card-network {
  position: absolute;
  inset: 40px -10px 20px 40%;
  width: 60%;
  height: 80%;
  opacity: 0.14;
  z-index: 0;
  transition: opacity 0.4s;
  stroke: var(--soft);
  fill: #0e1426;
  stroke-width: 1;
}

.course-card:hover .card-network {
  opacity: 0.55;
}

.course-card:hover .card-network circle {
  animation: nodepulse 2s infinite alternate;
}

.featured .card-network {
  opacity: 0.45;
  left: 48%;
  width: 55%;
}

@keyframes nodepulse {
  to {
    fill: #8b5cf6;
    filter: drop-shadow(0 0 5px #8b5cf6);
  }
}

.course-note {
  font-size: 12px;
  margin-top: 26px;
}

/* Experience section */
.experience {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience .section-meta {
  text-align: left;
}

.experience-intro {
  max-width: 630px;
  margin: 25px auto 50px;
}

.orgs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 35px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #c2c7d4;
}

.bbc {
  display: flex;
  gap: 4px;
}

.bbc b {
  background: #c2c7d4;
  color: #080c15;
  font-size: 27px;
  padding: 0 7px;
  line-height: 1.3;
  font-family: Arial, sans-serif;
}

.rolls {
  font-family: Georgia, serif;
  font-size: 21px;
  letter-spacing: 2px;
}

.jlr {
  font-size: 17px;
  letter-spacing: 2px;
}

.lloyds {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.lloyds span {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}

.experience-end {
  margin-top: 35px;
  font-size: 14px;
}

.experience-end strong {
  font-weight: 400;
  color: #e6e7ef;
}

/* Business section */
.business-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
}

.business h2 {
  margin-top: 20px;
  font-size: clamp(34px, 4vw, 56px);
}

.business p {
  margin-top: 22px;
  max-width: 500px;
}

.business .button {
  margin-top: 30px;
}

.business-list article {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.business-list article:first-child {
  padding-top: 0;
}

.business-list article > span {
  font: 12px "Space Grotesk", sans-serif;
  color: var(--soft);
  padding-top: 6px;
}

.business-list h3 {
  font-size: 21px;
  font-weight: 500;
}

.business-list p {
  margin-top: 8px;
  font-size: 15px;
}

/* About section */
.about {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
  align-items: center;
  background: #0b0f1a;
}

.about-brand {
  background: #f4f4f4;
  border-radius: 2px;
  overflow: hidden;
}

.about-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.about h2 {
  font-size: clamp(34px, 3.8vw, 52px);
}

.about .section-meta {
  margin-bottom: 25px;
}

.about p {
  margin-top: 22px;
  font-size: 16px;
}

/* Insights */
.insights h2 {
  margin-bottom: 42px;
}

.insights details {
  border-top: 1px solid var(--line);
}

.insights details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  font-size: 20px;
  font-family: "Space Grotesk", sans-serif;
}

summary::-webkit-details-marker {
  display: none;
}

summary > span {
  font: 10px "DM Sans", sans-serif;
  letter-spacing: 1px;
  color: #959eb5;
  width: 240px;
  flex-shrink: 0;
}

summary > b {
  margin-left: auto;
  color: var(--soft);
  font-weight: 400;
}

details[open] summary > b {
  transform: rotate(45deg);
}

details p {
  max-width: 750px;
  margin: 0 0 28px 280px;
}

/* Contact section */
.contact {
  text-align: center;
  background: radial-gradient(
    ellipse at center bottom,
    #31205080,
    transparent 67%
  );
  border-top: 1px solid var(--line);
  padding: 104px 5.2% 110px;
}

.contact h2 {
  font-size: clamp(54px, 6vw, 86px);
  margin-top: 22px;
}

.contact p {
  margin: 24px 0 28px;
}

.contact .button {
  min-width: 215px;
}

.contact-small {
  display: block;
  font-size: 11px;
  color: #8790a6;
  margin-top: 25px;
}

/* Footer */
footer {
  padding: 36px 5.2%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

footer > .wordmark {
  font-size: 17px;
}

footer > span {
  font-size: 12px;
  color: #8d96aa;
}

footer > a:last-of-type {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 1px;
}

footer small {
  width: 100%;
  font-size: 11px;
  color: #727d95;
}

/* Dialogs */
dialog {
  background: #101525;
  color: var(--text);
  border: 1px solid #8b5cf66b;
  padding: 42px;
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: 90vh;
  box-shadow: 0 30px 100px #0008;
}

dialog::backdrop {
  background: #040711cc;
  backdrop-filter: blur(10px);
}

dialog .close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 30px;
}

dialog h2 {
  font-size: 36px;
  letter-spacing: -1px;
  margin: 20px 0;
}

dialog h3 {
  font-size: 18px;
  margin-top: 25px;
}

dialog p,
dialog li {
  font-size: 15px;
}

dialog ul {
  padding-left: 20px;
  color: #b7c1d4;
}

dialog li {
  padding: 5px 0;
}

dialog .button {
  margin-top: 24px;
}

/* Enquiry form */
form label {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: #c4cddd;
}

input,
textarea {
  display: block;
  width: 100%;
  background: #070a12;
  border: 1px solid #ffffff30;
  color: white;
  padding: 10px;
  margin-top: 5px;
  border-radius: 0;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--purple);
}

#form-status {
  margin-top: 15px;
  color: var(--soft);
}

/* Large screens */
@media (min-width: 1500px) {
  .section,
  .header,
  .hero-content {
    padding-left: max(5.2%, calc((100% - 1380px) / 2));
    padding-right: max(5.2%, calc((100% - 1380px) / 2));
  }
}

/* Tablet and smaller laptops */
@media (max-width: 1000px) {
  nav {
    gap: 20px;
  }

  .header {
    padding: 0 4%;
  }

  .wordmark {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 80px;
  }

  .hero-content {
    padding-top: 180px;
  }

  .hero {
    min-height: 770px;
  }

  .network-label {
    display: none;
  }

  .path-card {
    padding: 22px;
  }

  .path-card h3 {
    font-size: 23px;
  }

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

  .course-card.featured {
    grid-column: span 2;
  }

  .orgs {
    flex-wrap: wrap;
  }

  .orgs > span {
    min-width: 35%;
  }

  .bbc {
    justify-content: center;
  }

  .business-grid {
    gap: 6%;
  }

  .section-meta > span:last-child {
    font-size: 9px;
  }

  summary > span {
    width: 190px;
  }

  details p {
    margin-left: 230px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .header {
    height: 78px;
    padding: 0 6%;
  }

  .wordmark {
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
    color: #d9d0ff;
    background: transparent;
    border: 0;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .menu-toggle span {
    font-size: 17px;
    margin-left: 8px;
  }

  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #0d1222;
    border-bottom: 1px solid var(--line);
    padding: 24px 6%;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    min-height: 740px;
  }

  .hero-content {
    padding: 152px 6% 25px;
  }

  .hero h1 {
    font-size: clamp(54px, 11.7vw, 80px);
    margin-top: 28px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .tiny-cross {
    font-size: 16px;
    margin-right: 5px;
  }

  .hero-lead {
    font-size: 17px;
    max-width: 340px;
  }

  .hero-sub {
    font-size: 15px;
    max-width: 310px;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      #070a12f5,
      #070a12a0 60%,
      #070a1240
    );
  }

  .hero-foot {
    margin-top: 86px;
    gap: 20px;
    align-items: flex-end;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hero-foot > span {
    max-width: 185px;
  }

  .hero-foot > a {
    font-size: 8px;
    max-width: 100px;
  }

  .hero-foot b {
    margin-left: 0;
    display: block;
  }

  .actions {
    gap: 10px;
  }

  .button {
    padding: 15px;
    font-size: 10px;
    gap: 14px;
  }

  .path-strip {
    gap: 17px;
    height: 72px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .path-strip i {
    font-size: 20px;
  }

  .section {
    padding: 65px 6%;
  }

  .section-meta {
    font-size: 10px;
    margin-bottom: 30px;
  }

  .section-meta > span:last-child {
    display: none;
  }

  h2 {
    font-size: 37px;
  }

  .intro-row,
  .section-heading {
    display: block;
  }

  .intro-row p + p,
  .section-heading p {
    margin-top: 20px;
  }

  .path-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    padding: 26px;
  }

  .path-card h3 {
    font-size: 28px;
  }

  .mini-diagram {
    height: 45px;
    margin-top: 22px;
  }

  .path-card p {
    min-height: 0;
  }

  .path-card .complex {
    height: 67px;
  }

  .course-card.featured {
    grid-column: auto;
  }

  .course-card.featured h3 {
    font-size: 30px;
  }

  .course-card {
    min-height: 315px;
  }

  .course-card h3 {
    font-size: 27px;
  }

  .filters {
    gap: 2px;
  }

  .filters button {
    font-size: 12px;
    padding: 9px 10px;
  }

  .filters span {
    display: none;
  }

  .orgs {
    gap: 35px 15px;
  }

  .orgs > span {
    min-width: 42%;
  }

  .rolls {
    font-size: 16px;
  }

  .jlr {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .lloyds {
    font-size: 20px;
  }

  .business-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .business-list {
    margin-top: 40px;
  }

  .about-brand {
    order: 2;
    margin-top: 30px;
  }

  .about {
    gap: 0;
  }

  .about-brand img {
    max-height: 240px;
    object-fit: contain;
  }

  .insights summary {
    font-size: 19px;
    gap: 15px;
    flex-wrap: wrap;
    padding: 23px 0;
  }

  .insights summary > span {
    width: 100%;
  }

  details p {
    margin-left: 0;
  }

  .contact h2 {
    font-size: 55px;
  }

  footer {
    padding: 30px 6%;
    gap: 20px;
  }

  footer > span {
    width: 100%;
    order: 2;
  }

  footer > .wordmark {
    font-size: 14px;
  }

  footer > a:last-of-type {
    font-size: 9px;
  }

  footer small {
    order: 3;
  }

  dialog {
    padding: 30px 24px;
  }

  dialog h2 {
    font-size: 30px;
  }
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* No coding required badge */

.course-code-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  padding: 6px 11px;
  margin-top: 12px;

  color: #d8c7ff;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 4px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;

  position: relative;
  z-index: 1;
}

.course-card:hover .course-code-badge {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.55);
}

@media (max-width: 600px) {
  .course-code-badge {
    font-size: 9px;
    padding: 5px 9px;
  }
}


/* Copilot and ChatGPT logos */

.course-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.course-tools img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.course-card:hover .course-tools img {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .course-tools img {
    width: 26px;
    height: 26px;
  }
}


/* Improve ICO logo visibility on dark cards */

.course-tools .ico-logo {
  width: 60px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.course-card:hover .course-tools .ico-logo {
  opacity: 1;
}


/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}