:root {
  --font-inter: "Inter";
  --font-manrope: "Manrope";
  --font-poppins: "Poppins";
  --font-roboto-condensed: "Roboto Condensed";
  --font-instrument-serif: "Instrument Serif";
  --blue-page: #1778cc;
  --blue: #0690dc;
  --blue-wordmark: #108ed5;
  --navy: #054162;
  --navy-deep: #02314b;
  --ink: #002c43;
  --surface: #f5fbfe;
  --gray: #4f4f4f;
  --green: #008d63;
  --border-blue: rgba(6, 144, 220, 0.19);
}

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

html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

html:has(dialog[open]) {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--blue-page);
  color: var(--navy);
  font-family: var(--font-inter), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: none;
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The design ships different copy per breakpoint in a few places. */
.mobile-only {
  display: none;
}

@media (max-width: 1099px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline;
  }
}

/* ---------- Page ---------- */

.page-top {
  position: relative;
  height: 720px;
}

/* The grid tile is 20 cells wide, so it repeats seamlessly on screens wider than the design. */
.page-grid {
  position: absolute;
  inset: 0 0 auto;
  height: 783px;
  pointer-events: none;
  background: url("../assets/images/hero-grid.svg") center top repeat-x;
}

.page-panel {
  position: relative;
  margin-inline: 8px 9px;
  padding-bottom: 74px;
  background: #fff;
  border-radius: 30px;
  overflow: clip;
}

@media (max-width: 1099px) {
  .page-top {
    height: auto;
  }

  .page-grid {
    display: none;
  }

  .page-panel {
    margin-inline: 4px;
    padding-bottom: 24px;
    border-radius: 20px;
  }
}

/* ---------- Logo ---------- */

/* Sized by the parent through --logo-mark (mark height), --logo-text and --logo-overlap. */
.logo {
  display: flex;
  align-items: center;
  width: fit-content;
  font-family: var(--font-roboto-condensed), "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: var(--logo-text, 28.738px);
  line-height: 1.3;
  color: var(--blue-wordmark);
  white-space: nowrap;
}

.logo--white {
  color: #fff;
}

.logo__mark {
  width: auto;
  height: var(--logo-mark, 52px);
  margin-right: var(--logo-overlap, -3px);
}

.logo__word {
  display: block;
}

/* ---------- Buttons ---------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(7px * var(--btn-scale, 1));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10px * var(--btn-scale, 1));
  width: calc(186px * var(--btn-scale, 1));
  height: calc(48px * var(--btn-scale, 1));
  border-radius: 999px;
  border: 0;
  font-family: var(--font-poppins), system-ui, sans-serif;
  font-weight: 600;
  font-size: calc(16px * var(--btn-scale, 1));
  line-height: calc(24px * var(--btn-scale, 1));
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #fc6d2f, #f53855);
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(245, 56, 85, 0.3);
}

.btn--demo {
  color: var(--blue);
  background: #fff;
  border: calc(1px * var(--btn-scale, 1)) solid rgba(255, 255, 255, 0.42);
}

.btn--demo:hover {
  box-shadow: 0 6px 18px rgba(0, 44, 67, 0.18);
}

.btn--demo-outlined {
  border-color: var(--blue);
}

.btn__play {
  width: calc(17.0989px * var(--btn-scale, 1));
  height: calc(18px * var(--btn-scale, 1));
}

/* ---------- Notification stack ---------- */

/*
  Decorative preview of the app's notifications. Everything is sized in em so the stack scales as
  one piece: font-size 10px on the root equals the design's 322px-wide layout.
  js/main.js moves each card to its next data-slot; the rules below animate that move.
*/
.notif-stack {
  --notif-speed: 700ms;
  --notif-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Rear cards use a smaller avatar, and their text closes up the space it leaves. */
  --rear-avatar-scale: 0.625;
  --rear-text-shift: -2.1em;
  position: absolute;
  width: 32.2em;
  height: 15.47em;
  font-family: var(--font-manrope), system-ui, sans-serif;
}

.notif-stack__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 32.2em;
  height: 7.3em;
  overflow: hidden;
  background: #fff;
  border: 0.1em solid rgba(0, 0, 0, 0.05);
  border-radius: 1em 1em 0 1em;
  transform-origin: 0 0;
  transition:
    transform var(--notif-speed) var(--notif-ease),
    border-radius var(--notif-speed) var(--notif-ease),
    box-shadow var(--notif-speed) var(--notif-ease);
}

/* Slots paint front > bottom > top so the card looping round to the top travels behind the others. */
.notif-stack__card[data-slot="front"] {
  z-index: 3;
  transform: translate(0, 3.9em);
  box-shadow: 0 0 0.4em rgba(23, 120, 204, 0.31);
}

.notif-stack__card[data-slot="bottom"] {
  z-index: 2;
  transform: translate(1.1em, 8.649em) scale(0.9348);
  border-bottom-right-radius: 1em;
}

.notif-stack__card[data-slot="top"] {
  z-index: 1;
  transform: translate(1.1em, 0) scale(0.9348);
}

/* The two rear cards sit behind a 57% white wash in the design. */
.notif-stack__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.57);
  transition: opacity var(--notif-speed) var(--notif-ease);
}

.notif-stack__card[data-slot="front"]::after {
  opacity: 0;
}

.notif-stack__row {
  position: absolute;
  top: 0.7em;
  left: 1.5em;
  display: flex;
  align-items: center;
  gap: 1em;
  height: 5.8em;
}

.notif-stack__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 5.6em;
  height: 5.6em;
  border-radius: 50%;
  background: rgba(6, 144, 220, 0.1);
  transform: scale(var(--rear-avatar-scale));
  transform-origin: left center;
  transition: transform var(--notif-speed) var(--notif-ease);
}

.notif-stack__avatar img {
  width: 90.3%;
  height: auto;
}

.notif-stack__text {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  align-self: stretch;
  width: 23.8em;
  transform: translateX(var(--rear-text-shift));
  transition: transform var(--notif-speed) var(--notif-ease);
}

[data-slot="front"] .notif-stack__avatar,
[data-slot="front"] .notif-stack__text {
  transform: none;
}

.notif-stack__title {
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.667;
  color: #000;
}

.notif-stack__body {
  width: 20em;
  font-weight: 500;
  font-size: 1em;
  line-height: 1.6;
  color: var(--gray);
}

.notif-stack__time {
  position: absolute;
  top: 1.6em;
  left: 28.45em;
  font-weight: 500;
  color: var(--blue);
}

.notif-stack__time-now,
.notif-stack__time-past {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: opacity calc(var(--notif-speed) * 0.4) linear;
}

/* One label fades out before the other fades in, so the two never overlap. */
.notif-stack__time-now {
  font-size: 1em;
  line-height: 1.6;
  opacity: 0;
}

.notif-stack__time-past {
  font-size: 1.2em;
  line-height: 1.333;
  transition-delay: calc(var(--notif-speed) * 0.4);
}

[data-slot="front"] .notif-stack__time-now {
  opacity: 1;
  transition-delay: calc(var(--notif-speed) * 0.4);
}

[data-slot="front"] .notif-stack__time-past {
  opacity: 0;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .notif-stack__card,
  .notif-stack__card::after,
  .notif-stack__avatar,
  .notif-stack__text,
  .notif-stack__time-now,
  .notif-stack__time-past {
    transition: none;
  }
}

/* The phone layout keeps one avatar size for every slot. */
@media (max-width: 1099px) {
  .notif-stack {
    --rear-avatar-scale: 1;
    --rear-text-shift: 0em;
  }

  .notif-stack__row {
    top: 0.805em;
    left: 1.593em;
  }

  .notif-stack__avatar {
    width: 3.505em;
    height: 3.505em;
  }
}

/* ---------- Audience icons ---------- */

.audience-icon {
  flex: none;
}

.audience-icon--teachers {
  width: 50.511px;
  height: 57.125px;
}

.audience-icon--parents {
  width: 39.765px;
  height: 46.875px;
}

.audience-icon--students {
  width: 46.753px;
  height: 52.875px;
}

.audience-icon--clubs {
  width: 49.125px;
  height: 49.125px;
}

.audience-icon--ptos {
  width: 47.125px;
  height: 47.125px;
}

.audience-icon--sport-team {
  width: 41.125px;
  height: 41.125px;
}

.audience-icon--schools {
  width: 43px;
  height: 43px;
}

.why-love__card .audience-icon--teachers {
  width: 40px;
  height: 45.238px;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  width: calc(100% - 40px);
  max-width: 1240px;
  margin-inline: auto;
  padding-top: 46px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1236px;
  height: 82px;
  padding: 0 23px 0 39px;
  background: #fff;
  border: 1px solid rgba(6, 144, 220, 0.18);
  border-radius: 999px;
  filter: drop-shadow(0 0 2px rgba(6, 144, 220, 0.11));
}

.site-header__brand {
  display: block;
  width: 179px;
  flex: none;
  margin-right: clamp(8px, calc((100vw - 1100px) * 0.24 + 12px), 94px);
}

.site-header__links {
  display: flex;
  gap: clamp(14px, calc((100vw - 1100px) * 0.1 + 14px), 28px);
  font-family: var(--font-poppins), system-ui, sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: var(--ink);
  white-space: nowrap;
}

.site-header__link {
  transition: color 0.15s ease;
}

.site-header__link:last-child {
  margin-left: -4px;
}

.site-header__link:hover {
  color: var(--blue);
}

.site-header__cta {
  flex: none;
  margin-left: auto;
}

.site-header__menu-button {
  display: none;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header__sheet {
  display: none;
}

@media (max-width: 1099px) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 17px 0 20px;
  }

  .site-header__bar {
    max-width: none;
    height: 57px;
    padding: 0 17px 0 24px;
  }

  .site-header__brand {
    width: auto;
    margin-right: 0;
    --logo-mark: 33px;
    --logo-text: 18.303px;
    --logo-overlap: 1.83px;
  }

  .site-header__links,
  .site-header__cta {
    display: none;
  }

  .site-header__menu-button {
    display: block;
    margin-left: auto;
  }

  .site-header__sheet {
    position: absolute;
    top: 26px;
    left: 20px;
    right: 17px;
    z-index: 1;
    display: block;
    padding: 16.81px 21px 21px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  }

  .site-header__sheet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    margin-inline: 3px -4px;
  }

  .site-header__sheet-brand {
    display: block;
    --logo-mark: 27.385px;
    --logo-text: 20.711px;
    --logo-overlap: 2.07px;
  }

  .site-header__close-button {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .site-header__sheet-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 35.19px;
  }

  .site-header__sheet-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 999px;
    background: #fbf9f9;
    font-family: var(--font-poppins), system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink);
  }

  .site-header__sheet-ctas {
    --btn-scale: 0.8786;
    justify-content: center;
    margin-top: 22px;
    margin-inline: -8px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1240px;
  margin-inline: auto;
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 70px 0 0 9px;
  color: #fff;
}

.hero__title {
  font-weight: 700;
  font-size: min(3.82vw, 55px);
  line-height: 1.4;
  text-transform: capitalize;
  white-space: nowrap;
  margin-bottom: 12px;
}

.hero__accent {
  font-family: var(--font-instrument-serif), Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  max-width: min(629px, 46vw);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
}

.hero__body {
  max-width: min(610px, 46vw);
  margin-top: 22px;
  font-size: 16px;
  line-height: 24px;
}

.hero__checks {
  display: flex;
  gap: 46px;
  margin-top: 15px;
}

.hero__check {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  line-height: 24px;
  text-transform: capitalize;
}

.hero__check-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
}

.hero__ctas {
  margin-top: 38px;
}

.hero__art {
  position: absolute;
  top: 73px;
  left: calc(50% + min(12.29vw, 177px));
  width: min(27.76vw, 399.74px);
}

.hero__photo {
  width: 100%;
  height: auto;
}

.hero__stack {
  left: -23.27%;
  top: 39.87%;
  font-size: min(0.6944vw, 10px);
}

@media (min-width: 1100px) {
  /* Pin the photo to the white panel whatever its scaled height is. */
  .hero {
    height: 592px;
  }

  .hero__art {
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 1099px) {
  .hero {
    width: 100%;
    max-width: none;
    padding-top: 125px;
  }

  .hero__copy {
    padding: 0 18px;
    text-align: center;
  }

  .hero__title {
    margin-bottom: 0;
    font-size: min(30px, 7.4vw);
    line-height: 1.4;
  }

  .hero__lead {
    max-width: 365px;
    margin: 25px auto 0;
    font-size: 14px;
    line-height: 24px;
  }

  .hero__body {
    max-width: 357px;
    margin: 15px auto 0;
    font-size: 12px;
    line-height: 24px;
  }

  .hero__checks {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 23px;
    padding-right: 14px;
  }

  .hero__check {
    gap: 3px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero__ctas {
    --btn-scale: 0.8786;
    justify-content: center;
    margin-top: 33px;
  }

  .hero__art {
    position: relative;
    top: 0;
    left: auto;
    width: 282px;
    /* The photo tucks 8px behind the white panel. */
    margin-top: 49.83px;
    margin-bottom: -8px;
    margin-left: calc(50% - 132px);
    z-index: 0;
  }

  .hero__stack {
    /* Keep the card on screen on phones narrower than the 402px design. */
    left: max(-34px, calc(136px - 50vw));
    top: 149px;
    font-size: 5.963px;
  }
}

@media (max-width: 379px) {
  .hero__checks {
    padding-right: 0;
  }
}

/* ---------- Communities ---------- */

.communities {
  padding-top: 20px;
}

.communities__title {
  font-weight: 400;
  font-size: 15.767px;
  line-height: 1.5;
  color: var(--gray);
  text-align: center;
  text-transform: uppercase;
}

.communities__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4.6vw, 66px);
  height: 57px;
  margin-top: 35px;
  transform: translateX(-2px);
}

.communities__item {
  display: flex;
  align-items: center;
  flex: none;
  gap: 6px;
  font-weight: 500;
  font-size: 17.737px;
  line-height: 1.4;
  color: var(--navy);
}

@media (max-width: 1099px) {
  .communities {
    padding-top: 32px;
  }

  .communities__title {
    width: 178px;
    margin-inline: auto;
    font-size: 14px;
  }

  .communities__row {
    justify-content: safe center;
    gap: 28px;
    margin-top: 17.74px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    transform: none;
  }

  .communities__row::-webkit-scrollbar {
    display: none;
  }
}

/* ---------- Zero Chaos ---------- */

.zero-chaos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(347px, 31%);
  align-items: center;
  column-gap: 20px;
  width: calc(100% - 40px);
  max-width: 1259px;
  min-height: 456px;
  margin: 52.35px auto 0;
  padding: 0 67px 0 59px;
  background: var(--surface);
  border-radius: 25px;
}

.zero-chaos__copy {
  align-self: start;
  padding-top: 49.5px;
}

.zero-chaos__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: var(--blue);
  text-transform: capitalize;
}

.zero-chaos__subtitle {
  margin-top: 3.5px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--navy);
  text-transform: capitalize;
}

.zero-chaos__problems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  column-gap: clamp(12px, 2.15vw, 31px);
  row-gap: 8px;
  margin-top: 34px;
}

.zero-chaos__problem {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38.5px;
  padding-inline: clamp(14px, 1.94vw, 28px);
  background: #fff;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
  text-transform: capitalize;
  white-space: nowrap;
}

.zero-chaos__problem-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
}

.zero-chaos__answer {
  margin-top: 39.5px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}

.zero-chaos__answer-lead {
  font-weight: 500;
}

.zero-chaos__illustration {
  width: 100%;
  height: auto;
}

@media (max-width: 1099px) {
  .zero-chaos {
    display: block;
    width: calc(100% - 25px);
    max-width: 560px;
    min-height: 0;
    margin-top: 21.26px;
    margin-left: 13px;
    padding: 32px 11.5px 25px;
    border: 1px solid rgba(6, 144, 220, 0.09);
    border-radius: 15px;
  }

  @media (min-width: 586px) {
    .zero-chaos {
      margin-inline: auto;
    }
  }

  .zero-chaos__copy {
    padding: 0;
    text-align: center;
  }

  .zero-chaos__title {
    font-size: 22px;
  }

  .zero-chaos__subtitle {
    margin-top: 5px;
    padding-inline: 8px;
    font-size: 14px;
  }

  .zero-chaos__problems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 4.5px;
    margin-top: 19px;
    text-align: left;
  }

  .zero-chaos__problem {
    gap: 5.667px;
    height: 21.533px;
    padding-inline: 15.867px;
    font-size: 9.067px;
    line-height: 13.6px;
  }

  .zero-chaos__problem-icon {
    width: 10.767px;
    height: 10.767px;
  }

  .zero-chaos__problem-icon img {
    width: 10.45px;
    height: auto;
  }

  .zero-chaos__answer {
    margin-top: 18.5px;
    padding-inline: 7.5px;
    font-size: 12px;
  }

  .zero-chaos__illustration {
    display: block;
    width: calc(100% - 25px);
    max-width: 340px;
    margin: 30px auto 0;
  }
}

@media (max-width: 379px) {
  .zero-chaos__problems {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Real School Life ---------- */

.school-life {
  width: calc(100% - 40px);
  max-width: 1269px;
  margin: 80px auto 0;
}

.school-life__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
  text-transform: capitalize;
}

.school-life__subtitle {
  margin-top: 14px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--navy);
  text-align: center;
  text-transform: capitalize;
}

.school-life__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 379px));
  justify-content: space-between;
  column-gap: 20px;
  margin: 64px 0 0 18px;
}

.school-life__card {
  display: flex;
  flex-direction: column;
  height: 510px;
  overflow: hidden;
  background: rgba(0, 181, 127, 0.12);
  border-radius: 15px;
  box-shadow: 0 0 4px rgba(5, 65, 98, 0.15);
}

.school-life__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
}

.school-life__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--navy);
}

.school-life__text--teachers {
  padding: 21px 16px 0 20px;
}

.school-life__text--parents {
  padding: 35px 16px 0 30px;
}

.school-life__text--students {
  padding: 6px 16px 0 28px;
}

.school-life__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 27px;
  padding-inline: 10px;
  background: var(--surface);
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  color: var(--blue);
}

.school-life__card-title {
  margin-top: 16px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  text-transform: capitalize;
}

.school-life__card-copy {
  max-width: 343px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}

.school-life__phone {
  flex: none;
  height: auto;
}

.school-life__phone--teachers {
  width: 72%;
  margin: auto auto 0;
}

.school-life__phone--parents {
  width: 77.76%;
  margin-inline: auto;
}

.school-life__phone--students {
  width: 87.87%;
  margin-left: auto;
}

.school-life__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 5px;
  height: 30px;
  font-size: 12px;
  line-height: 16px;
  color: var(--green);
  text-transform: capitalize;
}

@media (max-width: 1099px) {
  .school-life {
    width: calc(100% - 50px);
    margin-top: 48px;
  }

  .school-life__title {
    font-size: 22px;
  }

  .school-life__subtitle {
    margin-top: 14px;
    font-size: 14px;
    color: #384e5a;
  }

  .school-life__cards {
    grid-template-columns: repeat(auto-fit, minmax(0, 344px));
    justify-content: center;
    gap: 33px;
    margin: 25px 0 0;
  }

  .school-life__card {
    height: 453px;
    border-radius: 13.34px;
  }

  .school-life__card--students {
    height: 463px;
  }

  .school-life__body {
    border-radius: 13.34px;
  }

  .school-life__text {
    align-items: center;
    text-align: center;
  }

  .school-life__text--teachers {
    padding: 19px 16px 0;
  }

  .school-life__text--parents {
    padding: 32px 16px 0;
  }

  .school-life__text--students {
    padding: 6px 16px 0;
  }

  .school-life__badge {
    gap: 1.8px;
    height: 24px;
    padding-inline: 8.9px;
    font-size: 14.227px;
    line-height: 21.34px;
  }

  .school-life__card-title {
    margin-top: 14.2px;
    font-size: 16px;
    line-height: 21.34px;
  }

  .school-life__card-copy {
    max-width: 273px;
    margin-top: 7.1px;
    font-size: 12.449px;
    line-height: 17.784px;
  }

  .school-life__phone--teachers {
    margin-bottom: -4px;
  }

  .school-life__phone--parents {
    width: 76.16%;
  }

  .school-life__foot {
    height: 26px;
    font-size: 10.67px;
    line-height: 14.23px;
  }
}

/* ---------- Event sections ---------- */

.event-sections {
  width: calc(100% - 40px);
  max-width: 1213px;
  margin: 130px auto 0;
  transform: translateX(-1px);
}

.event-sections__row {
  display: grid;
  align-items: start;
}

.event-sections__row--distribution {
  grid-template-columns: minmax(0, 618fr) minmax(0, 479fr);
  column-gap: clamp(24px, 7.9vw, 114px);
}

.event-sections__row--extraction {
  grid-template-columns: minmax(0, 479fr) minmax(0, 600fr);
  column-gap: clamp(24px, 9.3vw, 134px);
  margin-top: 73px;
}

.event-sections__row--extraction .event-sections__copy {
  grid-column: 2;
  grid-row: 1;
}

.event-sections__row--extraction .event-sections__illustration {
  grid-column: 1;
  grid-row: 1;
  margin-top: 2px;
}

.event-sections__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 10px;
  min-width: 174px;
  background: var(--surface);
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  color: var(--blue);
}

.event-sections__title {
  margin-top: 17px;
  font-weight: 600;
  font-size: 28.95px;
  line-height: 1.5;
  color: var(--navy);
  text-transform: capitalize;
}

.event-sections__description {
  margin-top: 13px;
  font-size: 17.37px;
  line-height: 1.5;
  color: var(--navy);
}

.event-sections__title--two-line + .event-sections__description--extraction {
  max-width: 571px;
  margin-top: 3px;
}

.event-sections__steps {
  margin-top: 21px;
}

.event-sections__step {
  position: relative;
  display: grid;
  grid-template-columns: 26px auto;
  column-gap: 9.65px;
  align-items: start;
  height: 49.104px;
}

.event-sections__step:last-child {
  height: 25.09px;
}

.event-sections__description--extraction + .event-sections__steps {
  margin-top: 17px;
}

.event-sections__step-dot,
.event-sections__step-dot-image {
  width: 26px;
  height: 25px;
}

.event-sections__step-dot {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 500;
  font-size: 11.58px;
  line-height: 1.5;
  color: #fff;
}

.event-sections__step-label {
  align-self: start;
  font-weight: 500;
  font-size: 13.51px;
  line-height: 25px;
  color: var(--navy);
  text-transform: capitalize;
}

/* The connector asset is drawn horizontally and rotated into place, as in the design. */
.event-sections__step-line {
  position: absolute;
  top: 37px;
  left: 1px;
  width: 24.0139px;
  height: 1.25449px;
  transform: rotate(90deg);
}

.event-sections__illustration {
  width: 100%;
  height: auto;
}

@media (max-width: 1099px) {
  .event-sections {
    width: calc(100% - 36px);
    max-width: 480px;
    margin-top: 52px;
    transform: none;
  }

  .event-sections__row,
  .event-sections__row--distribution,
  .event-sections__row--extraction {
    display: block;
  }

  .event-sections__row--extraction {
    margin-top: 55px;
  }

  .event-sections__row--extraction .event-sections__illustration {
    margin-top: 40px;
  }

  .event-sections__copy {
    text-align: center;
  }

  .event-sections__title {
    font-size: 22px;
  }

  .event-sections__description {
    margin-top: 23px;
    font-size: 14px;
  }

  .event-sections__description--extraction {
    text-transform: capitalize;
  }

  .event-sections__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .event-sections__description--extraction + .event-sections__steps {
    margin-top: 13px;
  }

  .event-sections__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 82.09px;
  }

  .event-sections__step:last-child {
    height: 48.09px;
  }

  .event-sections__step-label {
    align-self: center;
    height: 17px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .event-sections__step-line {
    top: 65px;
    left: 50%;
    width: 14px;
    margin-left: -7px;
    object-fit: none;
    object-position: left center;
  }

  .event-sections__illustration {
    display: block;
    margin-top: 38px;
  }
}

/* ---------- Every School Day ---------- */

.school-day {
  position: relative;
  width: calc(100% - 69px);
  max-width: 1240px;
  margin: 74px auto 0;
  padding: 54px 55px;
  background-color: var(--surface);
  background-image: url("../assets/images/tab-pattern.svg");
  background-repeat: no-repeat;
  background-position: center top;
  border-radius: 25px;
}

.school-day__anchor {
  position: absolute;
  top: 0;
}

.school-day__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.school-day__intro {
  min-width: 0;
}

.school-day__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: var(--navy);
  text-transform: capitalize;
}

.school-day__subtitle {
  margin-top: 13px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
  text-transform: capitalize;
}

.school-day__picker {
  display: flex;
  width: 343px;
  height: 48px;
  margin-top: 24px;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(5, 65, 98, 0.17);
  border-radius: 999px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.school-day__option {
  flex: 1 0 0;
  min-width: 0;
  padding: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
  font-family: var(--font-manrope), system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.school-day__option--active {
  background: var(--blue);
  border-color: rgba(6, 144, 220, 0.41);
  color: #fff;
  filter: drop-shadow(0 0 2.5px rgba(6, 144, 220, 0.1));
}

.school-day__aside {
  flex: none;
  width: min(360px, 32%);
  margin-top: 22px;
  margin-right: -2px;
}

.school-day__aside-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: var(--navy);
  text-transform: capitalize;
  white-space: nowrap;
}

.school-day__aside-copy {
  margin-top: 14px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
  text-transform: capitalize;
}

.school-day__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 551px));
  justify-content: space-between;
  column-gap: 28px;
  row-gap: 29px;
  margin-top: 61px;
}

.school-day__cards:focus-visible {
  outline-offset: 8px;
}

.school-day__card {
  display: flex;
  flex-direction: column;
  height: 459px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 144, 220, 0.26);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(6, 144, 220, 0.02);
}

.school-day__card-text {
  padding: 19px 21px 0;
}

.school-day__card--last .school-day__card-text {
  padding-top: 16px;
}

.school-day__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  background: rgba(6, 144, 220, 0.1);
  border-radius: 50%;
}

.school-day__icon--bare {
  background: none;
}

.school-day__card-title {
  margin-top: 15px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy-deep);
  text-transform: capitalize;
}

.school-day__card-copy {
  max-width: calc(var(--copy-width, 397) * 1px);
  margin-top: 3px;
  font-size: 14px;
  line-height: 20px;
  color: var(--navy);
}

.school-day__phone {
  flex: none;
  width: calc(var(--w) * 1px);
  max-width: 100%;
  height: auto;
  margin: auto auto 0;
}

@media (max-width: 1099px) {
  .school-day {
    width: calc(100% - 30px);
    max-width: 760px;
    margin-top: 49px;
    padding: 29px 15px 18px;
    background-image: none;
    border: 1px solid rgba(6, 144, 220, 0.16);
    border-radius: 20px;
  }

  .school-day__header {
    display: block;
    text-align: center;
  }

  .school-day__title {
    font-size: 22px;
  }

  .school-day__subtitle {
    max-width: 332px;
    margin: 16px auto 0;
    font-size: 14px;
    text-transform: none;
  }

  .school-day__picker {
    width: min(302px, 100%);
    margin: 21px auto 0;
  }

  .school-day__aside {
    width: auto;
    margin: 31.5px 0 0;
  }

  .school-day__aside-title {
    font-size: 16px;
    white-space: normal;
  }

  .school-day__aside-copy {
    max-width: 338px;
    margin: 14px auto 0;
    font-size: 12px;
    text-transform: none;
  }

  .school-day__cards {
    grid-template-columns: repeat(auto-fit, minmax(0, 332px));
    justify-content: center;
    gap: 30px;
    margin-top: 28.5px;
  }

  .school-day__card {
    height: 365px;
  }

  .school-day__card-copy {
    max-width: 291px;
    font-size: 12px;
  }

  .school-day__phone {
    width: calc(var(--mw) / 332 * 100%);
    margin: 19px auto 0;
  }
}

/* ---------- Why Love ---------- */

.why-love {
  width: calc(100% - 40px);
  max-width: 1269px;
  margin: 92px auto 0;
}

.why-love__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: var(--navy-deep);
  text-align: center;
  text-transform: capitalize;
}

.why-love__accent {
  color: var(--blue);
}

.why-love__subtitle {
  max-width: 573px;
  margin: 9px auto 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--navy);
  text-align: center;
}

.why-love__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 278px));
  column-gap: clamp(16px, 3.1vw, 45px);
  align-items: start;
  margin-top: 38px;
}

.why-love__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 173px;
  padding: 6px 10px 6px 22px;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  scroll-margin-top: 80px;
}

.why-love__card:nth-child(n + 3) {
  min-height: 169px;
}

.why-love__card-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--navy);
}

.why-love__points {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: -7px;
}

.why-love__point {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  line-height: 20px;
  color: var(--navy);
  text-transform: capitalize;
}

.why-love__point-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
}

@media (max-width: 1099px) {
  .why-love {
    width: calc(100% - 50px);
    margin-top: 46px;
  }

  .why-love__title {
    max-width: 315px;
    margin-inline: auto;
    font-size: 22px;
  }

  .why-love__subtitle {
    max-width: 283px;
    margin-top: 11px;
    font-weight: 600;
    font-size: 14px;
  }

  .why-love__cards {
    grid-template-columns: repeat(auto-fit, minmax(0, 322px));
    justify-content: center;
    gap: 20.67px;
    margin-top: 25px;
  }
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1269px;
  height: 369px;
  margin: 80px auto 0;
  overflow: hidden;
  background: var(--blue-page);
  border-radius: 25px;
}

.final-cta__photo {
  position: absolute;
  top: -15px;
  right: 0;
  width: 814px;
  height: 458px;
}

.final-cta__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__fade {
  position: absolute;
  top: 0;
  right: 254px;
  width: 560px;
  height: 383px;
  background: linear-gradient(to left, rgba(6, 144, 220, 0) 11.801%, var(--blue-page));
}

.final-cta__watermark {
  position: absolute;
  top: -299px;
  left: -117px;
  width: 932px;
  height: 932px;
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: min(666px, 52.5%);
  padding-left: 69px;
  color: #fff;
}

.final-cta__title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  text-transform: capitalize;
}

.final-cta__copy {
  margin-top: 13.5px;
  font-size: 16px;
  line-height: 24px;
}

.final-cta__buttons {
  --btn-scale: 0.868;
  margin-top: 35px;
}

@media (max-width: 1099px) {
  .final-cta {
    width: calc(100% - 37px);
    max-width: 560px;
    height: 473px;
    margin-top: 58px;
    border-radius: 21.168px;
  }

  .final-cta__photo {
    top: 205px;
    left: 0;
    right: 0;
    width: 100%;
    height: 283px;
  }

  .final-cta__photo img {
    object-position: right top;
  }

  .final-cta__fade {
    top: 205px;
    left: 0;
    right: 0;
    width: 100%;
    height: 248px;
    background: linear-gradient(to bottom, var(--blue-page), rgba(6, 144, 220, 0) 88.2%);
  }

  .final-cta__watermark {
    display: none;
  }

  .final-cta__content {
    align-items: center;
    justify-content: flex-start;
    max-width: none;
    height: auto;
    padding: 48px 39px 0;
    text-align: center;
  }

  .final-cta__title {
    max-width: 220px;
    font-size: 20px;
  }

  .final-cta__copy {
    margin-top: 9px;
    font-size: 13.548px;
    line-height: 20.322px;
  }

  .final-cta__buttons {
    --btn-scale: 0.735;
    justify-content: center;
    margin-top: 30px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  height: 171px;
  padding: 43px 20px 0;
  color: #fff;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  max-width: 1304px;
  margin-inline: auto;
}

.site-footer__brand {
  flex: none;
  width: clamp(250px, calc((100vw - 1100px) * 0.2 + 250px), 313px);
}

.site-footer__tagline {
  margin-top: 13px;
  font-size: 14px;
  line-height: 20px;
  text-transform: capitalize;
}

.site-footer__links {
  display: flex;
  gap: clamp(24px, calc((100vw - 1100px) * 0.06 + 24px), 42px);
  margin: 34px 0 0 clamp(24px, calc((100vw - 1100px) * 0.22 + 24px), 99px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__social {
  display: flex;
  gap: 24.5px;
  margin: 20px 0 0 auto;
}

.site-footer__social-link {
  position: relative;
  display: block;
  transition: opacity 0.15s ease;
}

.site-footer__social-link:hover {
  opacity: 0.8;
}

.site-footer__social-image {
  width: 44.1176px;
  height: 44.1176px;
}

.site-footer__linkedin-glyph {
  position: absolute;
  top: 35.56%;
  left: 35.56%;
  width: 30%;
  height: 30%;
}

@media (max-width: 1099px) {
  .site-footer {
    height: auto;
    padding: 20px 16px 25px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__logo {
    margin-inline: auto;
  }

  .site-footer__brand {
    width: auto;
    text-align: center;
    --logo-mark: 34.058px;
    --logo-text: 18.822px;
    --logo-overlap: -1.965px;
  }

  .site-footer__tagline {
    margin-top: 10px;
    font-size: 10.869px;
    line-height: 15.527px;
  }

  .site-footer__social {
    order: 1;
    gap: 18.1px;
    margin: 16px 0 0;
  }

  .site-footer__social-image {
    width: 32.595px;
    height: 32.595px;
  }

  .site-footer__links {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 29px;
    margin: 32px 0 0;
    font-size: 12px;
    font-weight: 500;
  }
}

/* ---------- Early Access modal ---------- */

.modal {
  width: min(506px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8.74px;
  background: #fff;
  overflow-y: auto;
}

.modal::backdrop {
  background: rgba(0, 44, 67, 0.5);
}

.modal__sheet {
  position: relative;
  padding: 30.31px clamp(20px, 12vw, 62px) 40px clamp(20px, 11vw, 56px);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 18.97px;
  right: 15.99px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40.385px;
  margin-bottom: 12.3px;
  border-radius: 50%;
  /* The sheet's side paddings differ; the badge centres on the sheet, the form on its column. */
  transform: translateX(3px);
  background: rgba(6, 144, 220, 0.12);
}

.modal__form,
.modal__confirmation {
  display: flex;
  flex-direction: column;
}

.modal__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #003d5f;
}

.modal__intro {
  margin-top: 9px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(30, 30, 30, 0.88);
}

.modal__fields {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 26px;
}

.modal__field {
  display: block;
}

.modal__input {
  display: block;
  width: 100%;
  height: 43.698px;
  padding: 0 27.6px;
  border: 0.874px solid rgba(209, 209, 209, 0.4);
  border-radius: 8.74px;
  background: rgba(237, 241, 245, 0.46);
  font-size: 14px;
  line-height: 20px;
  color: rgba(55, 71, 79, 0.96);
}

.modal__input::placeholder {
  color: rgba(55, 71, 79, 0.9);
  opacity: 1;
}

.modal__input:focus {
  outline: 0;
  border-color: var(--blue);
  background: #fff;
}

.modal__question {
  max-width: 368px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(55, 71, 79, 0.96);
  text-align: justify;
}

.modal__consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin-top: 18px;
  padding: 9px 12.13px;
  border: 0.874px solid rgba(6, 144, 220, 0.19);
  border-radius: 8.74px;
  background: rgba(6, 144, 220, 0.05);
  font-size: 14px;
  line-height: 20px;
  color: var(--blue);
  text-align: justify;
  cursor: pointer;
}

.modal__consent span {
  max-width: 304px;
}

.modal__checkbox {
  flex: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 19px;
  height: 18px;
  margin: 0;
  border: 0.874px solid #d1d1d1;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.modal__checkbox:checked {
  border-color: var(--blue);
  background: var(--blue);
}

.modal__checkbox:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.modal__error {
  margin-top: 14px;
  font-size: 13px;
  line-height: 18px;
  color: #c62840;
}

.modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8.74px;
  width: 100%;
  height: 44px;
  margin-top: 18px;
  padding: 8.74px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.modal__submit:hover {
  filter: brightness(1.08);
}

.modal__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Demo video modal ---------- */

/* The height limit leaves room for the title bar, so the whole 16:9 player always fits on screen. */
.modal--video {
  --video-bar-height: 56px;
  width: min(960px, calc(100vw - 24px), calc((100dvh - 24px - var(--video-bar-height)) * 16 / 9));
  overflow: hidden;
}

.modal__video-bar {
  display: flex;
  align-items: center;
  height: var(--video-bar-height);
  padding: 0 56px 0 20px;
}

.modal__video-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #003d5f;
}

.modal--video .modal__close {
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
}

.modal__video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
