:root {
  --navy-primary: #0a192f; --navy-blue: #202a60;
  --royal-purple: #7c3aed; --royal-purple-dark: #6d28d9;
  --royal-purple-light: #f5f3ff; --royal-purple-border: #ddd6fe;
  --charcoal-body: #334155; --charcoal-muted: #64748b; --pearl-border: #e2e8f0;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--charcoal-body); background: #fdfcfe; font-family: var(--font-body); line-height: 1.6; }
h1,h2,h3,h4 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button,a,input { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 3px solid #7c3aed; outline-offset: 4px; }
.container { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 8px 16px; background: white; color: #202a60; }
.skip-link:focus { top: 12px; }
.public-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 30; padding: 3.5px 0; background: #fff; border-bottom: 1px solid #eeebf2; }
.public-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.isct-logo { display: inline-flex; align-items: center; }
.isct-logo img { display: block; width: auto; height: 48px; max-width: 170px; object-fit: contain; }
.public-header nav { display: flex; align-items: center; gap: 32px; font-size: .88rem; font-weight: 600; }
.catalog-link { color: #673ab7; }
.student-login, .course-enquiry { display: inline-flex; gap: 24px; align-items: center; padding: 11px 20px; background: #673ab7; color: white; border-radius: 10px; }
.student-login:hover, .course-enquiry:hover { background: #532a9f; }
.login-dropdown { position: relative; }
.login-dropdown > .student-login { list-style: none; cursor: pointer; }
.login-dropdown > .student-login::-webkit-details-marker { display: none; }
.login-dropdown > .student-login:focus-visible { outline: 3px solid #7c3aed; outline-offset: 4px; }
.login-chevron { transition: transform .18s ease; }
.login-dropdown[open] .login-chevron { transform: rotate(180deg); }
.login-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: 260px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 1px solid #e5deef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(32, 42, 96, .16);
}
.student-access-warning {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--pearl-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(10 25 47 / .22);
  color: var(--charcoal-body);
  font-size: 1rem;
  font-weight: 400;
}
.student-access-warning::backdrop { background: rgb(10 25 47 / .6); }
.student-access-warning h2 { margin: 0; color: var(--navy-primary); }
.student-access-warning a { color: var(--royal-purple-dark); font-weight: 600; text-decoration: underline; }
.student-access-warning .student-login { border: 0; cursor: pointer; }
.section-pill { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #ddd6fe; border-radius: 50px; background: #f5f3ff; color: #6d28d9; font-size: .7rem; font-weight: 600; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #7c3aed; }
.text-purple { color: #7c3aed; }
.hero-search-wrapper { display: flex; align-items: center; border: 1px solid; border-radius: 12px; background: #fff; }
.hero-search-input { width: 100%; padding: 10px 0; background: none; border: 0; color: #17234d; }
.hero-search-btn { border: 0; border-radius: 8px; background: #673ab7; color: white; cursor: pointer; }
.public-footer { border-top: 1px solid #e8e4ee; padding: 24px 0; background: #fff; color: #64748b; font-size: .75rem; }
.public-footer .container { display: flex; justify-content: space-between; gap: 16px; }
.eyebrow { color: #673ab7; font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.login-main { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; min-height: calc(100vh - 69px); padding-block: 150px 80px; max-width: 1100px; }
.login-intro h1 { margin: 24px 0; color: #17234d; font-size: clamp(2.8rem, 5vw, 4.3rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.12; }
.login-intro em { color: #673ab7; }
.login-intro p { color: #64748b; line-height: 1.9; }
.login-line { width: 44px; height: 3px; background: #673ab7; margin: 36px 0 20px; }
.login-signoff { font-size: .78rem; color: #64748b; }
.login-card { background: #fff; border: 1px solid #e5deef; padding: 40px; border-radius: 24px; box-shadow: 0 24px 70px -40px #5d447e; }
.login-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #f0e9fb; color: #673ab7; font-size: 1.6rem; }
.login-card h2 { margin: 24px 0 4px; color: #17234d; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.login-card > p { font-size: .85rem; color: #64748b; }
.provider-buttons { display: grid; gap: 12px; margin-block: 32px 24px; }
.provider-button { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid #d8dce6; border-radius: 10px; color: #17234d; font-weight: 600; font-size: .85rem; }
.provider-button { width: 100%; background: #fff; text-align: left; }
.provider-button:enabled { cursor: pointer; }
.provider-button:enabled:hover { background: #f8f5fd; border-color: #b49adf; }
.provider-button:disabled { color: #64748b; }
.login-dropdown-panel form { margin-top: 8px; }
.provider-arrow { margin-left: auto; color: #727c93; }
.google-mark { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; background: #fff; }
.microsoft-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 19px; height: 19px; }
.microsoft-mark i { background: #3564ab; }
.demo-note { padding: 16px; border-radius: 10px; background: #f5f3fa; font-size: .75rem !important; line-height: 1.7; }
.demo-note strong { display: block; margin-bottom: 4px; color: #4e3677; font-weight: 600; }
.back-link { display: inline-block; margin-top: 16px; font-size: .78rem; color: #673ab7; }
.noscript-note { padding: 20px; }
@media(max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .public-header nav { gap: 14px; font-size: .75rem; }
  .isct-logo img { height: 36px; max-width: 110px; }
  .student-login, .course-enquiry { padding: 10px 12px; gap: 10px; }
  .login-main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 120px 48px; max-width: 480px; }
  .login-intro h1 { font-size: 2.8rem; }
  .login-line,.login-signoff { display: none; }
  .login-card { padding: 28px 22px; }
  .public-footer .container { flex-direction: column; gap: 4px; }
}
