.story-section {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
}

.story-section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.story-heading {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.story-heading--center {
  margin-inline: auto;
  text-align: center;
}

.story-heading h2 {
  margin: 0.65rem 0 1rem;
  color: #071a3d;
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.story-heading > p:not(.public-section-label) {
  margin: 0;
  color: #52627a;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.public-section-label {
  margin: 0;
  color: #0756bd;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.audience-grid,
.automation-grid,
.competition-grid {
  display: grid;
  gap: 1.25rem;
}

.audience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.audience-card {
  min-height: 245px;
  padding: 2rem;
  border: 1px solid #dfe7f2;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, #fff, #f7faff);
  box-shadow: 0 18px 50px rgba(18, 46, 91, 0.08);
}

.audience-card__number,
.step-card__number {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: #e9f3ff;
  color: #0756bd;
  font-weight: 900;
}

.audience-card h3,
.automation-card h3,
.competition-card h3,
.step-card h3 {
  margin: 1.5rem 0 0.65rem;
  color: #071a3d;
  font-size: 1.4rem;
}

.audience-card p,
.automation-card p,
.competition-card p,
.step-card p {
  margin: 0;
  color: #5e6c80;
  line-height: 1.65;
}

.story-section--teachers {
  background:
    radial-gradient(circle at 90% 0%, rgba(19, 116, 255, 0.24), transparent 34rem),
    #061733;
}

.story-section--teachers .public-section-label,
.story-section--experience .public-section-label {
  color: #6eb9ff;
}

.story-section--teachers .story-heading h2,
.story-section--teachers .story-heading > p:not(.public-section-label),
.story-section--experience .story-heading h2,
.story-section--experience .story-heading > p:not(.public-section-label) {
  color: #fff;
}

.story-section--teachers .story-heading > p:not(.public-section-label),
.story-section--experience .story-heading > p:not(.public-section-label) {
  color: #c9d7ea;
}

.automation-grid {
  grid-template-columns: repeat(3, 1fr);
}

.automation-card {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.automation-card h3 {
  margin-top: 0;
  color: #fff;
}

.automation-card p {
  color: #b9c9df;
}

.automation-card__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffd43b, #ffb700);
  color: #071a3d;
  font-size: 1.25rem;
  font-weight: 950;
}

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

.competition-card {
  display: grid;
  min-height: 310px;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid #dce6f3;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 20px 55px rgba(19, 46, 89, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.competition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 65px rgba(19, 46, 89, 0.14);
}

.competition-card__mark {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 1rem;
  border: 1px solid #dce6f3;
  border-radius: 1.3rem;
  background: #f7faff;
  text-align: center;
}

.competition-card__mark img {
  display: block;
  width: 100%;
  max-height: 125px;
  object-fit: contain;
}

.competition-card__pending {
  color: #67758b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.competition-card h3 {
  margin-top: 0;
}

.competition-card__eyebrow {
  color: #0756bd;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.competition-disclosure {
  margin: 1.5rem auto 0;
  color: #6c788a;
  font-size: 0.88rem;
  text-align: center;
}

.story-section--student {
  background: linear-gradient(180deg, #f1f6fc 0%, #fff 100%);
}

.student-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.student-story__copy h2 {
  max-width: 650px;
  margin: 0.7rem 0 1rem;
  color: #071a3d;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.student-story__copy > p:not(.public-section-label) {
  max-width: 620px;
  color: #52627a;
  font-size: 1.12rem;
  line-height: 1.65;
}

.student-feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.student-feature-list li {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: #13284b;
  font-weight: 750;
}

.student-feature-list li::before {
  content: "✓";
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #daf3e5;
  color: #08763e;
}

.trophy-preview {
  position: relative;
  padding: 2rem 1.4rem 1.2rem;
  border: 12px solid #15345c;
  border-radius: 1.75rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.06)),
    #081d3b;
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.45), 0 32px 70px rgba(9, 32, 67, 0.22);
}

.trophy-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.14) 36%, transparent 49%);
}

.trophy-preview__title {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.trophy-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  min-height: 195px;
  padding: 1rem 0.5rem 0.75rem;
  border-bottom: 10px solid #31547b;
  box-shadow: 0 7px 0 #06142b;
}

.trophy {
  display: grid;
  justify-items: center;
  color: #f7c735;
}

.trophy__cup {
  position: relative;
  width: 64px;
  height: 78px;
  border-radius: 9px 9px 32px 32px;
  background: linear-gradient(100deg, #a56c00, #ffe276 44%, #d99b0c);
}

.trophy__cup::before,
.trophy__cup::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 22px;
  height: 32px;
  border: 7px solid #d99b0c;
  border-radius: 50%;
}

.trophy__cup::before {
  left: -20px;
  border-right: 0;
}

.trophy__cup::after {
  right: -20px;
  border-left: 0;
}

.trophy__stem {
  width: 13px;
  height: 28px;
  background: #e3a714;
}

.trophy__base {
  width: 70px;
  height: 19px;
  border-radius: 4px;
  background: #a56c00;
}

.trophy--silver {
  transform: scale(0.82);
}

.trophy--silver .trophy__cup {
  background: linear-gradient(100deg, #79889a, #edf4fa 44%, #a9b6c4);
}

.trophy--silver .trophy__cup::before,
.trophy--silver .trophy__cup::after {
  border-color: #a9b6c4;
}

.trophy--silver .trophy__stem {
  background: #b9c5d0;
}

.trophy--silver .trophy__base {
  background: #68788c;
}

.trophy--locked {
  filter: grayscale(1);
  opacity: 0.34;
  transform: scale(0.72);
}

.trophy-preview__caption {
  margin: 1.35rem 0 0;
  color: #b7c8df;
  font-size: 0.88rem;
  text-align: center;
}

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

.step-card {
  position: relative;
  padding: 1.75rem;
  border-top: 3px solid #0b63ce;
  background: #fff;
}

.step-card h3 {
  margin-top: 1.2rem;
}

.story-section--demo {
  background: #f2f6fb;
}

.demo-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.demo-story__copy h2 {
  margin: 0.7rem 0 1rem;
  color: #071a3d;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.demo-story__copy p:not(.public-section-label) {
  color: #536279;
  font-size: 1.08rem;
  line-height: 1.65;
}

.school-console {
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 45, 89, 0.14);
}

.school-console__bar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #071a3d;
  color: #fff;
  font-weight: 850;
}

.school-console__status {
  color: #7de4a8;
  font-size: 0.85rem;
}

.school-console__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dfe7f1;
}

.school-console__metric {
  padding: 1.5rem;
  background: #fff;
}

.school-console__metric strong {
  display: block;
  color: #0756bd;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.school-console__metric span {
  color: #66758a;
  font-size: 0.85rem;
}

.school-console__feed {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem;
}

.school-console__feed div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: #f4f7fb;
  color: #1b3153;
  font-weight: 700;
}

.story-section--experience {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 75% 35%, rgba(21, 111, 235, 0.42), transparent 28rem),
    linear-gradient(135deg, #06142f, #082c69);
}

.experience-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 3rem;
  align-items: center;
}

.experience-story .story-heading {
  margin-bottom: 2rem;
}

.experience-story__nex {
  position: relative;
  justify-self: center;
}

.experience-story__nex::before {
  content: "";
  position: absolute;
  inset: 18% -12%;
  border-radius: 50%;
  background: rgba(63, 161, 255, 0.2);
  filter: blur(38px);
}

.experience-story__nex img {
  position: relative;
  width: min(270px, 100%);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.3));
}

.experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.story-section--contact {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: #fff;
}

.contact-finale {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.contact-finale h2 {
  margin: 0.55rem 0 0;
  color: #071a3d;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
}

.contact-finale__link {
  color: #0756bd;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 850;
  text-decoration: none;
}

.contact-finale__link:hover {
  text-decoration: underline;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
  background: #06142f;
  color: #aabbd2;
  font-size: 0.85rem;
}

.public-footer a {
  color: #fff;
}

@media (max-width: 72rem) {
  .automation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .competition-card {
    grid-template-columns: 120px 1fr;
  }

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

@media (max-width: 48rem) {
  .story-section {
    padding: 4.5rem 1.1rem;
  }

  .audience-grid,
  .automation-grid,
  .competition-grid,
  .steps-grid,
  .student-story,
  .demo-story,
  .experience-story {
    grid-template-columns: 1fr;
  }

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

  .competition-card {
    min-height: 0;
    grid-template-columns: 95px 1fr;
    padding: 1.25rem;
  }

  .competition-card__mark {
    min-height: 105px;
  }

  .student-story {
    gap: 3rem;
  }

  .trophy-preview {
    border-width: 8px;
  }

  .trophy-shelf {
    gap: 0.4rem;
  }

  .school-console__body {
    grid-template-columns: 1fr;
  }

  .school-console__metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .experience-story__nex {
    order: -1;
  }

  .experience-story__nex img {
    width: 185px;
  }

  .contact-finale,
  .public-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .competition-card {
    transition: none;
  }

  .competition-card:hover {
    transform: none;
  }
}

/* Homepage story components */
.story-intro {
  background: #f7faff;
}

.story-heading--split,
.teacher-automation__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.story-heading--split {
  max-width: none;
}

.story-heading--split > p:last-child {
  padding-top: 2.5rem;
}

.audience-index {
  color: #0756bd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.teacher-automation {
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(23, 117, 255, 0.26), transparent 32rem),
    #061733;
}

.teacher-automation .story-heading {
  position: sticky;
  top: 8rem;
}

.teacher-automation .story-heading h2,
.teacher-automation .story-heading > p:not(.public-section-label) {
  color: #fff;
}

.teacher-automation .story-heading > p:not(.public-section-label) {
  color: #c4d1e4;
}

.teacher-promise {
  display: inline-flex;
  margin-top: 1.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 212, 59, 0.42);
  border-radius: 999px;
  color: #ffd43b;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.automation-grid > article {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.07);
}

.automation-grid > article span {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.85rem;
  background: #ffd43b;
  color: #071a3d;
  font-weight: 950;
}

.automation-grid > article h3 {
  margin: 1.1rem 0 0.55rem;
  font-size: 1.2rem;
}

.automation-grid > article p {
  margin: 0;
  color: #becce0;
  line-height: 1.55;
}

.flagship-section {
  background: #fff;
}

.story-heading--centred {
  margin-inline: auto;
  text-align: center;
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.flagship-card {
  display: grid;
  min-height: 280px;
  grid-template-columns: 145px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid #dce6f3;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 20px 55px rgba(19, 46, 89, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 65px rgba(19, 46, 89, 0.14);
}

.competition-logo-slot {
  display: grid;
  min-height: 145px;
  place-items: center;
  padding: 1rem;
  border: 1px solid #dce6f3;
  border-radius: 1.25rem;
  background: #f5f8fc;
  text-align: center;
}

.competition-logo-slot img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.competition-logo-slot span {
  color: #68778c;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.flagship-card p {
  margin: 0;
  color: #0756bd;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flagship-card h3 {
  margin: 0.55rem 0;
  color: #071a3d;
  font-size: 1.45rem;
}

.flagship-card > div:last-child > span {
  color: #5d6b7e;
  line-height: 1.6;
}

.logo-disclosure {
  margin: 1.4rem 0 0;
  color: #68778c;
  font-size: 0.85rem;
  text-align: center;
}

.student-story__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.story-section.student-story {
  display: block;
}

.student-trophy-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 1rem;
  border: 12px solid #15345c;
  border-radius: 1.8rem;
  background: #31547b;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.45), 0 32px 70px rgba(9, 32, 67, 0.22);
}

.student-trophy-visual .trophy-shelf {
  display: grid;
  min-height: 175px;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  justify-items: center;
  align-content: end;
  padding: 1.2rem 0.75rem;
  border: 0;
  background:
    linear-gradient(112deg, transparent 20%, rgba(255,255,255,.09) 42%, transparent 58%),
    #081d3b;
  box-shadow: inset 0 -9px 0 #274b73;
  color: #fff;
}

.student-trophy-visual .trophy-shelf strong {
  margin-top: 0.6rem;
  font-size: 0.84rem;
}

.student-trophy-visual .trophy-shelf small {
  color: #9fb2ca;
}

.trophy-cup {
  position: relative;
  width: 58px;
  height: 70px;
  border-radius: 8px 8px 28px 28px;
  background: linear-gradient(100deg, #9c6700, #ffe37d 44%, #d69a09);
}

.trophy-cup::before,
.trophy-cup::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 20px;
  height: 28px;
  border: 6px solid #d69a09;
  border-radius: 50%;
}

.trophy-cup::before {
  left: -18px;
  border-right: 0;
}

.trophy-cup::after {
  right: -18px;
  border-left: 0;
}

.medal {
  width: 62px;
  height: 62px;
  border: 9px solid #f5c738;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe98d, #c98b00);
}

.medal--silver {
  border-color: #b9c6d2;
  background: radial-gradient(circle, #f4f7fa, #8997a6);
}

.profile-history {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  background: #06142b;
  color: #fff;
}

.profile-history span {
  color: #9fb2ca;
  font-size: 0.82rem;
}

.how-section {
  background: #fff;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-steps li {
  padding: 1.7rem;
  border-top: 3px solid #0b63ce;
  background: #f5f8fc;
}

.how-steps li > span {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: #e1efff;
  color: #0756bd;
  font-weight: 950;
}

.how-steps strong,
.how-steps small {
  display: block;
}

.how-steps strong {
  margin-top: 1.2rem;
  color: #071a3d;
  font-size: 1.1rem;
}

.how-steps small {
  margin-top: 0.45rem;
  color: #66758a;
  line-height: 1.5;
}

.demo-school {
  background: #f2f6fb;
}

.demo-school__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.demo-console {
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 45, 89, 0.14);
}

.demo-console header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: #071a3d;
  color: #fff;
}

.demo-console header strong {
  color: #7de4a8;
  font-size: 0.8rem;
}

.demo-console > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #dfe7f1;
}

.demo-console article {
  padding: 1.4rem 1rem;
  background: #fff;
}

.demo-console article small,
.demo-console article strong {
  display: block;
}

.demo-console article small {
  color: #68778c;
}

.demo-console article strong {
  margin-top: 0.3rem;
  color: #0756bd;
  font-size: 2rem;
}

.demo-console ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 1.3rem;
  list-style: none;
}

.demo-console li {
  padding: 0.8rem;
  border-radius: 0.75rem;
  background: #f3f7fb;
  color: #1b3153;
  font-weight: 750;
}

.experience-cta {
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 20% 40%, rgba(21, 111, 235, 0.38), transparent 28rem),
    linear-gradient(135deg, #06142f, #082c69);
}

.experience-cta__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.5fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.experience-cta img {
  width: min(320px, 100%);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.3));
}

.experience-cta h2 {
  margin: 0.6rem 0 1rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.experience-cta p:not(.public-section-label) {
  max-width: 700px;
  color: #c7d5e8;
  font-size: 1.12rem;
  line-height: 1.65;
}

.experience-cta__inner > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-finale {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background: #fff;
}

.contact-finale > .public-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.contact-finale > .public-container > div:last-child {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.contact-finale > .public-container > div:last-child > a:last-child {
  color: #0756bd;
  font-weight: 800;
}

@media (max-width: 72rem) {
  .flagship-card {
    grid-template-columns: 110px 1fr;
  }

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

@media (max-width: 48rem) {
  .app-header__public-sign-in,
  .app-menu__panel a {
    min-height: 44px;
  }

  .story-heading--split,
  .teacher-automation__layout,
  .flagship-grid,
  .student-story__layout,
  .demo-school__layout,
  .experience-cta__inner {
    grid-template-columns: 1fr;
  }

  .story-heading--split > p:last-child {
    padding-top: 0;
  }

  .teacher-automation .story-heading {
    position: static;
  }

  .flagship-card {
    min-height: 0;
    grid-template-columns: 90px 1fr;
    padding: 1.25rem;
  }

  .competition-logo-slot {
    min-height: 100px;
  }

  .student-trophy-visual {
    border-width: 8px;
  }

  .how-steps,
  .demo-console > div {
    grid-template-columns: 1fr;
  }

  .demo-console article {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .experience-cta img {
    width: 190px;
  }

  .experience-cta__inner > div {
    text-align: center;
  }

  .experience-cta__inner > div > div {
    justify-content: center;
  }

  .contact-finale > .public-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-finale > .public-container > div:last-child {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flagship-card {
    transition: none;
  }

  .flagship-card:hover {
    transform: none;
  }
}

/* Focused championship hero refinement */
.public-hero {
  background:
    radial-gradient(ellipse at 73% 42%, rgba(32, 151, 232, 0.2), transparent 30rem),
    linear-gradient(120deg, #021139 0%, #052760 58%, #064786 100%);
}

.public-hero__stadium {
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 70% 88%, transparent 0 39%, rgba(255, 255, 255, 0.2) 39.2% 39.5%, transparent 39.8%),
    linear-gradient(180deg, transparent 58%, rgba(0, 9, 39, 0.34));
}

.public-hero__stadium::before,
.public-hero__stadium::after {
  display: none;
}

.public-hero__lights {
  opacity: 0.62;
  animation-duration: 12s;
}

.public-hero__grid {
  grid-template-columns: minmax(24rem, 0.76fr) minmax(34rem, 1.24fr);
  gap: clamp(2.25rem, 4vw, 4.75rem);
}

.public-hero h1 {
  max-width: 11.5ch;
  font-size: clamp(3.15rem, 5.45vw, 5.35rem);
  line-height: 0.94;
  text-transform: none;
}

.public-hero__lead {
  max-width: 35rem;
}

.public-hero__actions .public-button--gold {
  min-height: 3.35rem;
  padding-inline: 1.55rem;
  box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.28);
}

.public-hero__actions .public-button--outline {
  min-height: 2.85rem;
  align-self: center;
  padding-inline: 1rem;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  font-size: 0.88rem;
}

.public-hero__assurance {
  color: #f6d46a;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.public-hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem;
  align-items: end;
  padding-right: 0;
}

.live-match-card {
  z-index: 2;
  border-color: rgba(255, 202, 74, 0.72);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 80% 12%, rgba(14, 101, 205, 0.3), transparent 18rem),
    linear-gradient(155deg, #03143a, #061f52);
  box-shadow:
    0 2rem 4.5rem rgba(0, 7, 34, 0.52),
    0 0 0 0.35rem rgba(255, 255, 255, 0.09);
  color: #fff;
}

.live-match-card__header {
  min-height: 4rem;
  border-bottom: 1px solid rgba(245, 202, 85, 0.4);
  background: rgba(1, 13, 45, 0.72);
}

.live-match-title {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
}

.live-match-title strong {
  color: #ffd35c;
}

.live-match-fixture {
  padding-block: clamp(1.15rem, 2.8vh, 1.8rem);
  background: transparent;
}

.live-team-badge {
  width: 3.15rem;
  height: 3.15rem;
}

.live-match-fixture > div {
  min-height: 7.4rem;
  align-content: center;
  padding: 0.8rem;
  border: 1px solid rgba(49, 139, 255, 0.5);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(11, 76, 170, 0.62), rgba(4, 34, 86, 0.62));
}

.live-match-fixture > div:last-child {
  border-color: rgba(255, 202, 74, 0.65);
  background: linear-gradient(145deg, rgba(183, 119, 0, 0.68), rgba(87, 55, 0, 0.7));
}

.live-match-fixture > span {
  color: #ffd35c;
  font-size: 0.78rem;
}

.live-match-fixture strong {
  color: #fff;
}

.live-question-card {
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 2.4vh, 1.45rem);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(0, 10, 34, 0.58);
}

.live-question-card > p {
  margin-block: clamp(0.8rem, 2vh, 1.2rem);
  color: #fff;
}

.live-question-card > div:first-child {
  color: #b9c8e3;
}

.live-answer-state {
  border-color: #e7ae23;
  background: rgba(2, 20, 54, 0.8);
  color: #fff;
}

.live-answer-state strong {
  color: #ffd35c;
}

.public-nex-host {
  position: relative;
  right: auto;
  bottom: -2.5rem;
  z-index: 3;
  width: clamp(17rem, 21vw, 21rem);
  margin-left: -5.5rem;
  filter: drop-shadow(0 1.5rem 1.5rem rgba(0, 6, 28, 0.45));
}

.public-nex-host img {
  width: 100%;
  height: auto;
}

.public-feature-strip .public-container {
  grid-template-columns: repeat(3, 1fr);
}

.public-feature-strip .public-container > div {
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
  align-items: flex-start;
  padding-inline: 1.3rem;
}

.public-feature-strip span {
  color: #f5ca55;
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-feature-strip strong {
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
}

.teacher-promise {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.3rem;
  border-radius: 1rem;
  line-height: 1.45;
  text-transform: none;
}

.teacher-promise strong {
  font-size: 1rem;
}

.teacher-promise span {
  max-width: 35rem;
  color: #d7e2f1;
  font-weight: 700;
  letter-spacing: 0;
}

#results {
  scroll-margin-top: 6rem;
}

@media (max-width: 80rem) and (min-width: 72.01rem) {
  .public-hero__grid {
    grid-template-columns: minmax(22rem, 0.72fr) minmax(31rem, 1.28fr);
    gap: 2rem;
  }

  .public-hero h1 {
    font-size: clamp(3.1rem, 5.1vw, 4.2rem);
  }

  .public-hero__lead {
    font-size: 0.96rem;
  }

  .app-nav--public {
    gap: 0.18rem;
  }

  .app-nav--public .app-nav__link {
    padding-inline: 0.55rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 72rem) {
  .public-hero__grid {
    grid-template-columns: 1fr;
  }

  .public-hero h1 {
    margin-inline: auto;
  }

  .public-hero-visual {
    display: block;
    width: min(40rem, 100%);
    padding-right: 9rem;
  }

  .public-nex-host {
    position: absolute;
    right: -1rem;
    bottom: -2.7rem;
    width: 14rem;
    margin: 0;
  }
}

@media (max-width: 46rem) {
  .public-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
  }

  .public-hero__actions .public-button--outline {
    min-height: 3rem;
  }

  .public-feature-strip .public-container {
    grid-template-columns: 1fr;
  }

  .public-feature-strip .public-container > div {
    min-height: 3.7rem;
  }

  .public-hero-visual {
    padding-right: 3.2rem;
  }

  .public-nex-host {
    right: -1.5rem;
    bottom: -3.2rem;
    width: 9.5rem;
  }

  .live-match-fixture > div {
    min-height: 6.2rem;
    padding: 0.55rem 0.25rem;
  }

  .live-question-card > div:first-child {
    font-size: 0.65rem;
  }
}
.public-contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
