
body img.academy-lockup,#nusa-identity img.academy-lockup,header img.academy-lockup,.login-brand img.academy-lockup,.brand img.academy-lockup{display:block!important;width:var(--logo-width,155px)!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.login-brand{--logo-width:190px}.sidebar .brand,.side .brand{--logo-width:145px;padding:0}.mentor-app .top .brand{--logo-width:135px}.mentor-app .top{flex-wrap:wrap;gap:12px}.mentor-app .actions{display:flex;flex-wrap:wrap;gap:8px}
body #credentials,body #environment,body #reviews,body #faq,body .section.pale{background:#f2f6fb!important}
body #about,body #community,body #educators,body #booking{background:#fff!important}
body #programme,body #featured,body #getting-started{background:#fff7ed!important}
body #why-ai-matters,body #family-account{background:#eaf1fc!important}
section[id]{scroll-margin-top:98px}.student-app .content,.mentor-app main{min-width:0}.student-app .nav button,.mentor-app button,.tabs button{min-height:44px}
:focus-visible{outline:3px solid #1966c4;outline-offset:3px}
@media(max-width:720px){body{--logo-width:133px}.login-brand{--logo-width:168px}.sidebar .brand,.side .brand,.mentor-app .top .brand{--logo-width:119px}.mentor-app .top{position:static}.mentor-app .top .tag{display:none}.mentor-app .actions{margin-left:auto}.mentor-app input:not([type=checkbox]):not([type=radio]),.mentor-app select,.mentor-app textarea,input[type=text],input[type=email],input[type=password],textarea,select{font-size:16px}.student-app .nav{overflow-x:auto;scroll-padding:8px}.topbar .menu{min-width:44px;min-height:44px}.mentor-app .hubtabs{flex-wrap:wrap}.nusa-unified-header{min-height:72px}.qr-holder img{max-width:100%;height:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

#home.hero-photo{background-image:linear-gradient(90deg,rgba(4,17,44,.94),rgba(4,17,44,.78) 45%,rgba(4,17,44,.20)),url('nusa-hero-selected.webp')!important;background-size:cover}
#register-plan{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;background:#173d78;color:white;border-radius:10px;font-weight:700;text-decoration:none}
@media(max-width:640px){#home.hero-photo{background-image:linear-gradient(100deg,rgba(4,17,44,.91),rgba(4,17,44,.68)),url('nusa-hero-selected.webp')!important}#preview-amount{font-size:clamp(20px,6vw,34px)}}


#programme .programme-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
#programme .programme-intro p { max-width: 48ch; }
#programme .programme-intro img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 20px;
}
#programme .programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(1.5rem, 4vw, 3rem) 0 1.5rem;
}
#programme .programme-grid article {
  background: #fff;
  border: 1px solid #e5dfd5;
  border-top: 3px solid #c76029;
  border-radius: 14px;
  padding: clamp(1rem, 2.5vw, 1.6rem);
}
#programme .programme-grid h3 { margin: 0 0 .55rem; }
#programme .programme-grid p { margin: 0; line-height: 1.55; }
@media (max-width: 700px) {
  #programme .programme-intro, #programme .programme-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Customer-facing layouts on phones */
@media (max-width: 700px) {
  body {
    -webkit-text-size-adjust: 100%;
    overflow-wrap: anywhere;
  }

  section[id] { scroll-margin-top: 76px; }

  #home.hero-photo {
    padding: clamp(38px, 8vh, 68px) 0;
    background-image: linear-gradient(100deg, rgba(4,17,44,.94), rgba(4,17,44,.71)), url('hero-classroom-mobile.webp') !important;
    background-position: center 42% !important;
  }

  #home h1 {
    font-size: clamp(2rem, 8.4vw, 3.4rem);
    line-height: 1.1;
  }

  #home .actions, #programme .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }

  #home .actions a, #programme .actions a, #booking button[type="submit"] {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .topbar #nav.open {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .topbar #nav a, main details > summary {
    min-height: 44px;
    align-content: center;
  }

  #programme { padding-block: clamp(36px, 8vw, 54px); }
  #programme .programme-intro { gap: .95rem; }
  #programme .programme-intro img { aspect-ratio: 16 / 8; }
  #programme .programme-grid { gap: .65rem; margin-block: 1rem; }
  #programme .programme-grid article { padding: 1rem; }
  #programme .programme-grid h3 { font-size: 1.125rem; }
  #programme .programme-grid p { font-size: 1rem; }

  form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px !important;
  }

  .qr-holder img { display: block; margin-inline: auto; }
  .nusa-whatsapp-float { width: 48px; height: 48px; padding: 11px; }
  .nusa-whatsapp-float svg { width: 24px; height: 24px; }
  body:has(#booking :focus-within) .nusa-whatsapp-float,
  body:has(#formWrap :focus-within) .nusa-whatsapp-float { visibility: hidden; }
}

/* Give the project outcome a clear place in the programme. */
#programme .programme-grid article {
  border-top: 1px solid #e5dfd5;
  padding: clamp(1.125rem, 2.5vw, 1.65rem);
}
#programme .programme-grid .programme-project {
  grid-column: 1 / -1;
  background: #10295a;
  border-color: #10295a;
  color: #f3f6ff;
}
#programme .programme-project h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
}
#programme .programme-project p { max-width: 68ch; color: inherit; }
@media (min-width: 901px) {
  #programme .programme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 900px) {
  #programme .programme-grid .programme-project { grid-column: auto; }
}
