/* Public landing page. Motion uses transforms and opacity; forms stay in document flow. */
:root {
  --ink: #152747;
  --muted: #64728a;
  --blue: #3159d9;
  --blue-deep: #2143b0;
  --line: #e3e8f1;
  --paper: #f4f6fb;
  --heading: Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.landing-body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.landing-body [hidden] { display: none !important; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: wait; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
:focus-visible { outline: 3px solid #416aed; outline-offset: 4px; }
.skip-link { position: fixed; left: 18px; top: 12px; padding: 12px 18px; border-radius: 9px; background: #fff; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; box-shadow: 0 3px 14px #1d355011; }
.brand-copy strong { display: block; font: 800 23px/1.2 var(--heading); letter-spacing: -.9px; }
.brand-copy strong span { font-weight: 500; }
.brand-copy small { display: block; margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: 1.9px; color: #6e7d96; }
.header-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.nav-link { color: var(--muted); padding-block: 12px; }
.nav-link:hover { color: var(--blue); }
.nav-signin { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 10px 17px; border: 1px solid #dce3ef; border-radius: 9px; background: #fff; }
.nav-signin .icon { width: 17px; height: 17px; transition: transform .2s; }
.nav-signin:hover .icon { transform: translateX(3px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(370px, .94fr); gap: clamp(38px, 6vw, 94px); align-items: center; padding-block: 58px 68px; }
.hero-copy { min-width: 0; animation: enter-up .7s both; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: #52668b; font-size: 10px; font-weight: 700; letter-spacing: 1.55px; }
.eyebrow-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #3159d910; }
h1 { margin: 24px 0 22px; font: 800 clamp(46px, 4.8vw, 66px)/1.12 var(--heading); letter-spacing: -.055em; }
.hero-accent { position: relative; display: inline-block; color: var(--blue); white-space: nowrap; }
.hero-accent > svg { position: absolute; width: 99%; height: 14px; left: 0; bottom: -13px; fill: none; stroke: #91aadf; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 430; stroke-dashoffset: 430; animation: draw-line .9s .5s ease forwards; }
.hero-description { margin: 28px 0 16px; max-width: 435px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; color: #36558e; }
.text-link .icon { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.campus-visual { position: relative; max-width: 515px; margin-top: 34px; }
.visual-art { position: relative; height: 254px; overflow: hidden; border-radius: 20px; background: #15346e; isolation: isolate; box-shadow: 0 12px 25px #17387713; }
.visual-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 25px 25px; }
.visual-heading { position: absolute; top: 23px; left: 25px; right: 25px; display: flex; align-items: center; gap: 8px; color: #c8d7f5; font-size: 8px; font-weight: 700; letter-spacing: 1.7px; }
.visual-heading .icon { margin-left: auto; color: #92b4ff; width: 16px; }
.visual-dot { width: 5px; height: 5px; border-radius: 50%; background: #90d3bd; }
.visual-orbit { position: absolute; border: 1px solid #628bdd38; border-radius: 50%; width: 330px; height: 330px; left: -80px; top: 90px; }
.orbit-two { width: 380px; height: 380px; left: auto; right: -140px; top: -150px; }
.orbit-two::before { content: ''; position: absolute; width: 7px; height: 7px; background: #b6caff; border-radius: 50%; left: 52px; bottom: 52px; }
.visual-glow { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, #3261bd70, transparent 70%); left: 36%; top: 17%; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #ffffff7a; border-radius: 13px; background: #fff; box-shadow: 0 10px 24px #071b4328; animation: card-float 7s ease-in-out infinite; }
.floating-card strong { display: block; font: 700 12px/1.4 var(--heading); letter-spacing: -.2px; }
.floating-card small { display: block; margin-top: 3px; color: #75839b; font-size: 9px; }
.art-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #e9f0ff; color: #3460bb; }
.art-icon .icon { width: 20px; height: 20px; }
.card-attendance { z-index: 3; top: 70px; left: 27px; width: 260px; transform: rotate(-4deg); --card-rotation: -4deg; }
.art-check { display: grid; place-items: center; width: 21px; height: 21px; margin-left: auto; border-radius: 50%; color: #238970; background: #e4f6ee; font-size: 12px; }
.card-documents { z-index: 2; top: 132px; left: auto; right: 25px; width: 265px; transform: rotate(4deg); --card-rotation: 4deg; animation-delay: -2s; }
.card-documents .art-icon { background: #e5f5f0; color: #28836e; }
.card-documents > .icon { width: 16px; height: 16px; margin-left: auto; color: #96a1b5; }
.card-payments { z-index: 1; top: 182px; left: 40px; width: 248px; transform: rotate(-3deg); --card-rotation: -3deg; animation-delay: -4s; background: #e9effb; padding-block: 13px; }
.card-payments .art-icon { color: #8a6245; background: #f7ecdd; }
.visual-spark { position: absolute; color: #87aeff; font-size: 27px; }
.spark-one { right: 37px; top: 66px; animation: star-turn 14s linear infinite; }
.spark-two { left: 15px; top: 156px; font-size: 16px; color: #b5decf; }
.visual-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; color: #79879c; font-size: 9px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 2px 5px; border: 0; border-radius: 5px; background: transparent; color: #657892; font-size: 9px; }
.motion-toggle:hover { background: #e8edf7; }
.motion-symbol { font-weight: 700; font-size: 11px; }
.campus-visual.is-paused .floating-card, .campus-visual.is-paused .visual-spark { animation-play-state: paused; }
.login-area { min-width: 0; width: 100%; max-width: 450px; justify-self: end; scroll-margin-top: 20px; animation: enter-up .8s .12s both; }
.login-area:focus { outline: none; }
.login-card { position: relative; padding: 32px 34px 0; border: 1px solid #e2e8f3; border-radius: 23px; background: #fff; box-shadow: 0 24px 65px -20px #243e7424, 0 4px 14px #1f3c6810; overflow: hidden; }
.login-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; background: linear-gradient(90deg, #3159d9, #789ced, #b5ded9); border-radius: 0 0 8px 8px; }
.login-card-header { position: relative; }
.login-emblem { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #e0e8fe; border-radius: 12px; background: #edf2ff; color: var(--blue); }
.login-emblem .icon { width: 24px; height: 24px; }
.card-eyebrow { margin: 0 0 8px; color: #7b8bab; font-size: 9px; letter-spacing: 1.6px; font-weight: 700; }
.login-card-header h2 { margin: 0; font: 800 29px/1.25 var(--heading); letter-spacing: -1.1px; }
.login-card-header > p:last-child { margin: 9px 0 25px; color: var(--muted); font-size: 12px; }
.portal-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 25px; border: 1px solid #e9edf4; border-radius: 11px; background: #f1f4f9; isolation: isolate; }
.portal-indicator { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 2); background: #fff; border: 1px solid #e0e5ef; border-radius: 8px; box-shadow: 0 2px 5px #173b6720; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.portal-toggle[data-active='officer'] .portal-indicator { transform: translateX(100%); }
.portal-toggle button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: #78859b; font-size: 12px; font-weight: 700; transition: color .2s; }
.portal-toggle button .icon { width: 18px; height: 18px; }
.portal-toggle button[aria-selected='true'] { color: #2e53b6; }
.portal-toggle button:disabled { opacity: .7; }
.login-panel:not([hidden]) { animation: panel-in .25s ease both; }
.login-form label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 600; color: #384963; }
.input-control { position: relative; margin-bottom: 18px; }
.input-control input { display: block; width: 100%; height: 50px; padding: 0 44px; border: 1px solid #dce3ed; border-radius: 10px; outline: none; background: #fafbfd; color: var(--ink); font-size: 14px; transition: border-color .18s, box-shadow .18s, background .18s; }
.input-control input::placeholder { color: #97a3b6; font-size: 12px; opacity: 1; }
.input-control input:focus { border-color: #537be5; box-shadow: 0 0 0 3px #3159d912; background: #fff; }
.input-control .input-icon { position: absolute; left: 15px; top: 16px; width: 18px; height: 18px; color: #9aa8bd; pointer-events: none; transition: color .18s; }
.input-control:focus-within .input-icon { color: #4169cf; }
.password-label { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; }
.password-label label { margin-bottom: 7px; }
.forgot-link { border: 0; border-radius: 4px; background: none; color: #496ac0; font-size: 11px; font-weight: 500; padding: 5px 0; margin: -4px 0 3px; min-height: 28px; }
.forgot-link:hover { text-decoration: underline; }
.password-visibility { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 7px; background: transparent; color: #8d9bb2; }
.password-visibility:hover { background: #eef2fa; color: var(--blue); }
.password-visibility .icon { width: 18px; height: 18px; }
.eye-slash { display: none; }
.password-visibility[aria-pressed='true'] .eye-slash { display: block; }
.portal-error { margin: -8px 0 14px; color: #b02b40; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.portal-error:empty { display: none; }
.portal-error.success { color: #167253; }
.btn-signin { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 50px; margin-top: 5px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 13px #3159d922; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-signin:hover:not(:disabled) { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 8px 18px #3159d930; }
.btn-signin:active:not(:disabled) { transform: translateY(0); }
.btn-signin .icon { width: 17px; height: 17px; }
.btn-signin:disabled { background: #5776d7; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 19px 0 15px; color: #95a1b2; font-size: 10px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #e9edf4; }
.login-card .passkey-login { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; min-height: 46px; margin: 0; padding: 10px 14px; border: 1px solid #dfe5ee; border-radius: 10px; color: #4b5d7a; background: #fff; font: 500 13px 'DM Sans', system-ui, sans-serif; transition: border-color .2s, background .2s; }
.login-card .passkey-login:hover:not(:disabled) { border-color: #96aee9; background: #f5f8ff; }
.passkey-login .icon { color: #5b78ba; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: login-spin .75s linear infinite; }
.is-loading .button-spinner { display: inline-block; }
.is-loading .button-arrow { display: none; }
.login-help { margin: 19px 0 23px; color: #65748d; font-size: 11px; line-height: 1.5; text-align: center; }
.login-trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin-inline: -34px; padding: 14px 18px; border-top: 1px solid #edf0f6; background: #fbfcfe; color: #687b97; font-size: 10px; }
.login-trust .icon { width: 14px; height: 14px; color: #8197b9; }
.portal-caption { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: #71809a; font-size: 10px; }
.portal-caption > span { width: 4px; height: 4px; border-radius: 50%; background: #9eacc6; }
.noscript-notice { font-size: 12px; color: #b02b40; }
.suite-section { padding-block: 39px 54px; border-top: 1px solid var(--line); scroll-margin-top: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 25px; margin-bottom: 25px; }
.section-heading .eyebrow { font-size: 9px; color: #8290a7; }
.section-heading h2 { margin: 0; font: 700 23px/1.4 var(--heading); letter-spacing: -.8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; padding: 24px 25px; border: 1px solid #e3e8f1; border-radius: 15px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px #2b4a7b0a; border-color: #ced9ee; }
.feature-number { position: absolute; top: 20px; right: 22px; font: 600 11px var(--heading); color: #b8c3d3; }
.feature-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 18px; border-radius: 11px; }
.feature-icon.blue { background: #ecf1ff; color: #4c70c6; }
.feature-icon.mint { background: #e8f4ef; color: #438a73; }
.feature-icon.peach { background: #fbf0e5; color: #b4814f; }
.feature-icon .icon { width: 20px; height: 20px; }
.feature-card h3 { margin: 0 0 7px; font: 700 15px/1.5 var(--heading); letter-spacing: -.4px; }
.feature-card p { margin: 0 0 20px; max-width: 290px; font-size: 12px; line-height: 1.75; color: #65748a; }
.feature-tag { color: #5d7297; font-size: 10px; font-weight: 500; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px 30px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.site-footer strong { display: block; font: 800 13px var(--heading); letter-spacing: -.3px; }
.site-footer p span { display: block; margin-top: 6px; color: #6f7f98; font-size: 10px; }
.site-footer > a { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; color: #6580b1; white-space: nowrap; }
.site-footer > a .icon { width: 15px; height: 15px; }
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(var(--card-rotation, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--card-rotation, 0deg)); } }
@keyframes star-turn { to { transform: rotate(360deg); } }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (min-width: 1450px) { .hero-grid { padding-block: 75px 86px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: 38px; }
  h1 { font-size: clamp(38px, 4.9vw, 53px); }
  .hero-description { font-size: 13px; }
  .text-link { font-size: 10px; gap: 6px; }
  .card-attendance { left: 18px; width: 244px; }
  .card-documents { right: 13px; width: 241px; }
  .card-payments { left: 22px; }
  .login-card { padding: 28px 26px 0; }
  .login-trust { margin-inline: -26px; }
  .login-card-header > p:last-child { font-size: 11px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
}
@media (max-width: 800px) {
  .page-width { width: calc(100% - 44px); }
  .site-header { min-height: 84px; }
  .header-nav .nav-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 36px 42px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; font-size: 9px; }
  h1 { margin: 18px 0; font-size: clamp(40px, 7.4vw, 56px); }
  .hero-description { max-width: 440px; margin: 25px auto 0; font-size: 13px; }
  .text-link, .campus-visual { display: none; }
  .login-area { justify-self: center; max-width: 440px; }
  .login-card { padding: 29px 30px 0; border-radius: 19px; }
  .login-trust { margin-inline: -30px; }
  .login-emblem { width: 37px; height: 37px; border-radius: 11px; }
  .login-card-header h2 { font-size: 27px; }
  .login-card-header > p:last-child { margin-bottom: 21px; font-size: 12px; }
  .portal-toggle { margin-bottom: 21px; }
  .input-control input { font-size: 16px; }
  .section-heading { display: block; text-align: center; }
  .section-heading .eyebrow { justify-content: center; margin-bottom: 8px; }
  .feature-grid { gap: 12px; }
  .feature-card { padding: 21px 17px; }
  .feature-card h3 { font-size: 13px; }
  .feature-card p { font-size: 11px; }
}
@media (max-width: 520px) {
  .page-width { width: calc(100% - 36px); }
  .site-header { min-height: 77px; gap: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 6px; letter-spacing: 1.3px; }
  .nav-signin { gap: 7px; min-height: 44px; padding: 9px 11px; font-size: 11px; }
  .nav-signin .icon { width: 14px; height: 14px; }
  .hero-grid { gap: 26px; padding-top: 30px; }
  .hero-copy .eyebrow { font-size: 7px; letter-spacing: 1.3px; }
  h1 { font-size: 41px; line-height: 1.13; }
  .hero-accent > svg { bottom: -10px; height: 11px; }
  .hero-description { max-width: 335px; margin-top: 21px; font-size: 12px; line-height: 1.7; }
  .login-card { padding: 25px 22px 0; }
  .login-card::before { left: 22px; right: 22px; }
  .login-trust { margin-inline: -22px; font-size: 9px; }
  .card-eyebrow { font-size: 8px; }
  .login-card-header h2 { font-size: 26px; }
  .login-card-header > p:last-child { font-size: 11px; }
  .login-help { font-size: 10px; }
  .portal-caption { font-size: 9px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 21px 22px 21px 82px; min-height: 132px; }
  .feature-icon { position: absolute; left: 21px; top: 24px; }
  .feature-number { font-size: 9px; right: 17px; top: 16px; }
  .feature-card h3 { padding-right: 16px; }
  .feature-card p { margin-bottom: 8px; }
  .section-heading h2 { font-size: 22px; }
  .site-footer { display: block; text-align: center; }
  .site-footer p span { max-width: 280px; margin-inline: auto; line-height: 1.6; }
  .site-footer > a { margin-top: 16px; }
  .suite-section { padding-block: 30px 35px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 28px); }
  .brand-copy strong { font-size: 17px; }
  .brand img { width: 33px; height: 33px; }
  .brand-copy small { font-size: 5px; }
  .nav-signin { padding-inline: 8px; font-size: 9px; }
  h1 { font-size: 36px; }
  .login-card { padding-inline: 18px; }
  .login-trust { margin-inline: -18px; }
  .forgot-link { font-size: 10px; }
  .login-form label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-accent > svg { stroke-dashoffset: 0; }
  .motion-toggle { display: none; }
  .btn-signin:hover:not(:disabled), .feature-card:hover { transform: none; }
}
/* A restrained glow adds warmth without reducing text contrast. */
body.landing-body{background:radial-gradient(ellipse 490px 400px at 2% 27%,#f7af5630,transparent 70%),radial-gradient(ellipse 520px 450px at 96% 16%,#5769df21,transparent 73%),radial-gradient(ellipse 440px 370px at 70% 69%,#7854ca16,transparent 72%),#f4f6fb}
.hero-accent{background:linear-gradient(104deg,#244eae,#654ab9);background-clip:text;-webkit-text-fill-color:transparent}
.visual-art{background:radial-gradient(circle at 90% 22%,#e9984435,transparent 37%),radial-gradient(circle at 20% 95%,#6d52bb68,transparent 55%),#15346e}
.login-card::before{background:linear-gradient(90deg,#3159d9,#7557ca,#f0a94e)}
