/* Shared NUSA platform typography, controls and responsive spacing. */
:root {
  --navy: #153b75;
  --ink: #19324f;
  --orange: #f39545;
  --muted: #586b84;
  --blue: #153b75;
  --line: #dce5f0;
}
html { scroll-padding-top: 88px; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, .btn, .hubbtn { min-height: 44px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #ed913e;
  outline-offset: 3px;
}
h1, h2, h3 { letter-spacing: -.025em; }
.login-app {
  min-height: 100dvh;
  padding: 32px 16px;
  background: radial-gradient(ellipse at 10% 0%, #e7efff, transparent 55%), linear-gradient(135deg, #f5f8fd, #fff6ed);
}
.login-app .panel { width: min(480px, 100%); padding: 36px; border: 1px solid #dce5f0; box-shadow: 0 24px 70px #17396710; }
.login-app .login-brand { margin: 28px 0; }
.login-app h1 { font-size: 32px; color: #19324f; }
.login-app .tabs { margin: 24px 0; }
.login-app #submit { min-height: 50px; background: #153b75; }
.login-app .muted { font-size: 13px; line-height: 1.65; }
.login-help { border-top: 1px solid #e3eaf3; padding-top: 18px; margin-top: 20px; }
.login-app #msg:not(:empty) { padding: 14px; background: #fff1eb; border-radius: 10px; }
.trial-app { background: #f3f6fc; color: #19324f; }
.trial-app main { margin: 32px auto 56px; }
.trial-app header { padding: 18px 22px; background: white; border: 1px solid #dce5f0; border-radius: 16px; }
.trial-app .card { border-radius: 20px; padding: 30px; }
.trial-app .hero { padding: 14px 0 14px 20px; margin: 26px 0; }
.trial-app .badge { background: #fff0e1; color: #8d4719; }
.trial-app button { border-radius: 10px; }
.trial-app label.field { line-height: 1.6; }
.mentor-app .workspaceNav { gap: 8px; padding-bottom: 12px; }
.mentor-app .workspaceNav button { min-height: 46px; }
.mentor-app .liveFields { box-shadow: 0 8px 28px #17396706; }
.mentor-app .saveState { line-height: 1.65; }
@media (max-width: 640px) {
  .login-app { padding: 20px 16px; }
  .login-app .panel { padding: 24px; }
  .trial-app .card { padding: 20px; }
  .trial-app header { flex-wrap: wrap; padding: 16px; }
  .trial-app .badge { margin-left: 0; }
  .trial-app main { width: calc(100% - 28px); margin-top: 20px; }
  .mentor-app .top { gap: 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Clear section boundaries and compact mobile hero. */
#about, #featured { background: #fff8ef; }
#programme, #educators, #reviews { background: #ffffff; }
#family-account { background: #edf3fc; }
#booking { background: #fff8ef; border-top: 1px solid #eadfce; }
@media(max-width: 700px) {
  #home.hero { min-height: 0; padding-bottom: 40px; }
  main > section:not(#home) { padding-top: 48px; padding-bottom: 48px; }
}

img.nusa-mark, img[src$="nusa-logo-transparent.png"] { background: transparent !important; object-fit: contain; }

/* One clear Trustpilot destination beneath parent feedback. */
#reviews .trustpilot-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 460px);
  margin: 28px auto 0;
  padding: 18px 22px;
  border: 1px solid #d6e7df;
  border-radius: 14px;
  background: #f5faf7;
  color: #173e30;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .18s ease, border-color .18s ease;
}
#reviews .trustpilot-profile:hover {
  background: #eaf5ee;
  border-color: #77ab91;
}
#reviews .trustpilot-profile:focus-visible {
  outline: 3px solid #1b477e;
  outline-offset: 4px;
}
.trustpilot-profile-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
}
.trustpilot-profile-star { color: #00a878; font-size: 28px; line-height: 1; }
.trustpilot-profile-action { font-size: 14px; font-weight: 600; }
@media (max-width: 380px) {
  #reviews .trustpilot-profile { padding: 16px; gap: 12px; }
  .trustpilot-profile-brand { font-size: 18px; }
  .trustpilot-profile-action { font-size: 13px; }
}
