:root {
  color-scheme: light;
  --deep: #102f46;
  --blue: #215f86;
  --gold: #d9ad65;
  --ink: #20384a;
  --muted: #637482;
  --line: #dce5eb;
  --paper: #f3f6f8;
}
@font-face { font-family: "Portal Icons"; src: url("fontawesome-webfont.woff2") format("woff2"); font-style: normal; font-weight: normal; font-display: block; }
.fa-icon { font-family: "Portal Icons"; font-weight: normal; font-style: normal; line-height: 1; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #a46912; outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: #fff; }
.skip-link:focus { width: auto; height: auto; clip-path: none; padding: 12px 16px; }
.header-inner, .content-inner, .footer-inner { width: min(100% - 64px, 1160px); margin-inline: auto; }
.site-header { background: #fff; border-top: 4px solid var(--deep); }
.header-inner { min-height: 96px; display: flex; align-items: center; }
.identity { display: flex; align-items: center; gap: 16px; }
.identity > img { flex: none; object-fit: contain; }
.identity-text strong { display: block; font-size: 17px; font-weight: 650; line-height: 1.4; }
.welcome-banner { position: relative; min-height: 340px; overflow: hidden; background: var(--deep); }
.campus-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; animation: campus-arrive 1.4s ease-out both; }
.welcome-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 44, .92), rgba(7, 28, 44, .38) 58%, rgba(7, 28, 44, .12)), linear-gradient(0deg, rgba(7, 28, 44, .48), transparent 60%); }
.main-content { position: relative; z-index: 2; flex: 1; margin-top: -44px; padding-bottom: 58px; }
.systems-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.system-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(18, 47, 67, .08); animation: enter 650ms ease-out backwards; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.system-card::before { position: absolute; content: ""; top: 0; left: 26px; width: 44px; height: 3px; background: var(--blue); transition: width 220ms ease; }
.admission-card::before { background: var(--gold); }
.lms-card::before { background: var(--deep); }
.system-card:nth-child(2) { animation-delay: 90ms; }
.system-card:nth-child(3) { animation-delay: 180ms; }
.system-card:hover, .system-card:focus-within { transform: translateY(-6px); border-color: #afc6d5; box-shadow: 0 20px 40px rgba(18, 47, 67, .13); }
.system-card:hover::before, .system-card:focus-within::before { width: 78px; }
.card-brand { display: flex; align-items: center; min-height: 76px; margin-bottom: 25px; }
.card-brand img { width: 88px; height: 74px; object-fit: contain; }
.admission-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #f0e2c9; border-radius: 16px; background: #fbf5e9; color: #926726; font-size: 29px; }
.system-card h3 { min-height: 60px; max-width: 300px; margin: 0; color: var(--deep); font-size: 25px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.system-card p { margin: 14px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.access-button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 48px; margin-top: auto; padding: 12px 16px; border: 1px solid transparent; border-radius: 6px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background 200ms ease, box-shadow 200ms ease; }
.access-button > span { font-size: 20px; transition: transform 200ms ease; }
.access-button:hover > span { transform: translateX(4px); }
.access-button:hover { background: var(--deep); box-shadow: 0 4px 12px #102f4622; }
.admission-card .access-button { background: #f3e4c9; color: #61451e; border-color: #e5cfaa; }
.admission-card .access-button:hover { background: #ead3ac; }
.lms-card .access-button { background: var(--deep); }
.lms-card .access-button:hover { background: #215578; }
.fallback-logins { display: grid; gap: 8px; font-size: 13px; }
.login-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); box-shadow: 0 24px 80px #061b3455; }
.login-dialog[open] { animation: enter 200ms ease-out; }
.login-dialog::backdrop { background: rgba(9, 29, 44, .58); }
body:has(.login-dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-dialog h2 { margin: 0; color: var(--deep); font-size: 28px; letter-spacing: -.03em; }
.dialog-close { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--deep); font-size: 25px; cursor: pointer; }
.dialog-close:hover { background: var(--paper); }
.login-options { display: grid; gap: 12px; margin-top: 22px; }
.login-options a { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; min-height: 72px; padding: 16px; border: 1px solid #cbdbe6; border-radius: 7px; background: #f6f9fb; text-decoration: none; color: var(--deep); transition: border-color 180ms ease, background 180ms ease; }
.login-options a:hover { border-color: var(--blue); background: #eaf3f9; }
.login-options strong { font-size: 15px; font-weight: 650; }
.login-options .fa-icon { font-size: 21px; color: var(--blue); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-contact { display: grid; gap: 7px; line-height: 1.5; }
.footer-contact a { width: fit-content; text-decoration: none; color: var(--blue); }
.footer-contact a:hover { text-decoration: underline; }
.footer-credit { white-space: nowrap; font-size: 11px; }
.footer-credit strong { color: var(--deep); font-weight: 650; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes campus-arrive { from { opacity: .6; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 950px) {
  .systems-list { gap: 16px; }
  .system-card { padding: 26px 20px 22px; }
  .system-card h3 { font-size: 22px; }
}
@media (max-width: 700px) {
  .header-inner, .content-inner, .footer-inner { width: calc(100% - 36px); }
  .header-inner { min-height: 82px; }
  .identity { gap: 12px; }
  .identity > img { width: 46px; height: 46px; }
  .identity-text strong { font-size: 13px; }
  .welcome-banner { min-height: 260px; }
  .campus-photo { object-position: 62% center; }
  .main-content { margin-top: -32px; padding-bottom: 32px; }
  .systems-list { grid-template-columns: 1fr; gap: 18px; }
  .system-card { padding: 24px; }
  .card-brand { margin-bottom: 18px; }
  .system-card h3 { min-height: 0; font-size: 24px; }
  .system-card p { margin: 12px 0 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; min-height: 0; padding-block: 23px; gap: 18px; }
  .login-dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr);
  gap: 48px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid #d2dfe7;
}
.faq-heading h2 {
  max-width: 240px;
  margin: 5px 0 0;
  color: var(--deep);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.faq-list details { border-bottom: 1px solid #d2dfe7; }
.faq-list details:first-child { border-top: 1px solid #d2dfe7; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 65px;
  padding: 18px 0;
  color: var(--deep);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 24px; text-align: center; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq-answer { padding: 0 36px 22px 0; animation: enter 180ms ease-out; }
.faq-answer p { margin: 0; color: #536775; font-size: 14px; line-height: 1.75; }
@media (max-width: 700px) {
  .faq-section { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; padding-top: 28px; }
  .faq-heading h2 { max-width: none; font-size: 25px; }
  .faq-list summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .faq-answer { animation: none; } }

.footer-credit { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.footer-credit a { display: inline-flex; align-items: center; gap: 9px; color: var(--deep); text-decoration: none; }
.footer-credit a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.footer-credit img { display: block; width: 64px; height: 18px; max-width: 64px; max-height: 18px; object-fit: contain; }