:root {
  --primary-dark: var(--primary, #106040);
  --navy: var(--primary, #106040);
  --navy-deep: #0b382b;
  --orange: var(--primary, #106040);
  --orange-dark: var(--primary, #106040);
  --college-gold: #efd176;
}

body { font-size: 17px; }
.brand img { width: 76px; height: 86px; flex-shrink: 0; object-fit: contain; }
.footer-main .brand img { width: 190px; height: auto; display: block; }
.site-header .brand { flex-shrink: 0; }
.site-header .brand img { width: 190px; height: auto; display: block; }
.hero {
  background-color: #0b382b;
  background-image: radial-gradient(ellipse at 78% 23%, rgba(255,255,255,.08), transparent 38%), linear-gradient(125deg, #0b382b, #106040 58%, #0b382b);
}
.hero-eyebrow { color: var(--college-gold); }
.hero-eyebrow span { background: var(--college-gold); }
.hero h1 em, .closing h2 em, .hero-highlight { color: var(--college-gold); }
.hero-highlight { display: grid; width: fit-content; max-width: 100%; font-style: normal; white-space: normal; }
.hero-highlight::before { content: attr(data-typewriter); visibility: hidden; grid-area: 1 / 1; padding-right: 8px; }
.hero-typed-text { grid-area: 1 / 1; min-width: 0; overflow-wrap: anywhere; }
.hero-highlight.is-typing .hero-typed-text::after { display: inline-block; width: 2px; height: .82em; margin-left: 3px; vertical-align: -.04em; content: ""; background: var(--college-gold); animation: typing-caret .8s steps(2, start) infinite; }
.button-orange { background: var(--primary, #106040); border-color: var(--primary, #106040); }
.button-orange:hover { background: var(--primary-dark, #96292c); border-color: var(--primary-dark, #96292c); }
.service-ticker { background: var(--primary, #106040); }
.section-kicker, .benefit-list article > span, .service-copy > a span, .audience-list article > a { color: var(--primary-dark, #96292c); }
.audience-section { background: var(--primary, #106040); }
.audience-heading .section-kicker, .closing .section-kicker { color: var(--college-gold); }
.closing { background: #0b382b; }
.panel-foot { background: var(--primary, #106040); }
.portal-choice:hover strong { color: var(--primary-dark, #96292c); }

/* Keep the transparent portrait and decorative shapes behind readable content. */
.hero::after { background: linear-gradient(0deg, rgba(4, 30, 21, .24), transparent 45%); }
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; display: block; animation: hero-shape-float 12s ease-in-out infinite alternate; }
.hero-shape-ring { width: 360px; height: 360px; top: -180px; left: 38%; border: 1px solid rgba(239,209,118,.25); border-radius: 50%; }
.hero-shape-disc { width: 180px; height: 180px; bottom: -80px; left: 32%; background: rgba(239,209,118,.08); border-radius: 50%; animation-delay: -4s; }
.hero-shape-square { width: 64px; height: 64px; top: 20%; right: 3%; border: 2px solid rgba(239,209,118,.3); border-radius: 16px; animation-delay: -7s; }
.hero .button-orange { color: #173d2e; background: var(--college-gold); border-color: var(--college-gold); }
.hero .button-orange:hover { color: #173d2e; background: #f7df98; border-color: #f7df98; }
.hero .button:focus-visible { outline-color: var(--college-gold); }
.hero .button-white-outline { color: #fff; }
.hero .button-white-outline:hover { color: #0b382b; }
.portal-panel { background: #fffef8; box-shadow: 0 20px 55px rgba(0,28,17,.3); }
.portal-panel h2, .portal-choice strong { color: #173d2e; }
.portal-panel > p, .portal-choice small, .panel-live { color: #52675b; }
.portal-choice { border-color: #dde6dc; border-radius: 5px; transition: background .2s; }
.portal-choice:hover { background: #edf4eb; }
.portal-choice:focus-visible { outline-color: #106040; }
.admin-icon { color: #155338; background: #e0edde; }
.student-icon { color: #695019; background: #f6ebc5; }
.panel-foot { color: #f5f2de; background: #164c36; }
.hero-student-photo { position: relative; height: 260px; margin: -28px -25px 20px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #e2ecd9, #f7edc9); border-radius: 7px 7px 0 0; }
.hero-student-photo::before { position: absolute; z-index: -1; width: 220px; height: 220px; top: 24px; left: calc(50% - 110px); content: ""; border-radius: 50%; background: #efd176; box-shadow: 0 0 0 18px rgba(255,255,255,.32); animation: hero-shape-float 9s ease-in-out infinite alternate; }
.hero-student-photo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; transform-origin: center bottom; animation: hero-photo-enter .9s cubic-bezier(.2,.75,.25,1) both, hero-student-float 6s .9s ease-in-out infinite; }
.hero-student-photo::after { position: absolute; inset: 72% 0 0; content: ""; background: linear-gradient(0deg,rgba(5,45,30,.85),transparent); pointer-events: none; }
.hero-student-photo figcaption { position: absolute; left: 17px; right: 17px; bottom: 13px; z-index: 1; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }

nav { font-size: 13px; }
.hero-points { font-size: 13px; }
.portal-panel > p { font-size: 14px; }
.portal-choice strong { font-size: 13px; }
.portal-choice small { font-size: 11px; }
.panel-live { font-size: 10px; }
.section-heading > p { font-size: 15px; }
.section-kicker { font-size: 11px; }
.service-copy h3 { min-height: 0; font-size: 16px; }
.service-copy p { min-height: 104px; font-size: 13px; }
.service-copy > a { font-size: 12px; }
.service-photo > span, .hero-image-note, .service-ticker .wrap { font-size: 9px; }
.visibility-copy > p:not(.section-kicker) { font-size: 15px; }
.benefit-list h3 { font-size: 14px; }
.benefit-list p, .process-grid p { font-size: 13px; }
.audience-heading > p:last-child, .audience-list p { font-size: 14px; }
.audience-list h3 { font-size: 15px; }
.faq-grid > div:first-child > p:not(.section-kicker) { font-size: 15px; }
.faq-list summary { font-size: 14px; }
.faq-list details p { font-size: 13px; }
.closing-inner > div:first-child > p:last-child { font-size: 14px; }
.closing-login, .footer-main > p { font-size: 12px; }
.footer-links { font-size: 11px; }

.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.role-panel { padding: 26px; color: var(--ink); background: #fff; border: 1px solid rgba(16,96,64,.16); border-radius: 6px; }
.student-role-panel { background: #f4f7f2; }
.role-panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.role-panel-heading span { color: var(--primary-dark, #96292c); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; }
.role-panel-heading h3 { margin: 5px 0 0; color: var(--primary, #106040); font: 800 22px/1.25 'Manrope', sans-serif; }
.role-panel-heading > a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 10px; color: #fff; background: var(--primary, #106040); border-radius: 4px; font-size: 10px; font-weight: 800; }
.role-panel-heading > a:hover { background: var(--primary-dark, #96292c); }
.role-panel-heading > a b { font-size: 14px; }
.role-intro { margin: 15px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.role-feature { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.role-feature > span { color: var(--primary-dark, #96292c); font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.role-feature p { margin: 0; color: #566c62; font-size: 12px; line-height: 1.65; }

.service-graphic { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 16 / 9; min-height: 180px; margin: 0; overflow: hidden; isolation: isolate; color: #fff; background: #173d2e; }
.service-graphic img { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-graphic img { transform: scale(1.04); }
.service-graphic::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(180deg, rgba(8,30,21,.12) 20%, rgba(8,30,21,.84) 100%); pointer-events: none; }
.service-graphic figcaption { position: absolute; inset: auto 16px 14px; z-index: 2; display: grid; gap: 4px; color: #fff; }
.service-graphic figcaption span { color: rgba(255,255,255,.82); font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }
.service-graphic figcaption strong { font: 800 14px 'Manrope', sans-serif; letter-spacing: .5px; }
.service-graphic figcaption small { color: rgba(255,255,255,.84); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.academics-graphic { background: #174d3a; }
.finance-graphic { background: var(--primary-dark, #96292c); }
.services-graphic { background: #285d4a; }
.visibility-graphic { position: relative; min-height: 490px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 24px; color: #fff; background: radial-gradient(ellipse at 50% 45%, #1f7250, transparent 58%), linear-gradient(145deg, #0b382b, #106040); border-radius: 6px; }
.visibility-graphic::before, .visibility-graphic::after { position: absolute; content: ""; pointer-events: none; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.visibility-graphic::before { width: 410px; height: 410px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.visibility-graphic::after { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.workflow-topline, .workflow-caption, .workflow-nodes, .workflow-center { position: relative; z-index: 1; }
.workflow-topline { display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }
.workflow-status { display: inline-flex; align-items: center; gap: 6px; }
.workflow-status i { width: 7px; height: 7px; background: #9ae2ac; border-radius: 50%; }
.workflow-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.workflow-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; color: var(--primary, #106040); background: #fff; border-radius: 14px; font: 800 15px 'Manrope',sans-serif; }
.workflow-center strong { font: 800 25px/1.25 'Manrope',sans-serif; }
.workflow-center small { margin-top: 9px; color: rgba(255,255,255,.86); font-size: 12px; }
.workflow-nodes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.workflow-nodes span { padding: 10px 8px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .6px; text-align: center; }
.workflow-caption { display: flex; align-items: center; justify-content: center; gap: 9px; color: rgba(255,255,255,.86); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.workflow-caption b { width: 25px; height: 1px; background: var(--college-gold); }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-enter { from { opacity: 0; transform: scale(1.07); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-student-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(.6deg); }
}
@keyframes hero-shape-float { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(20px) rotate(10deg); } }
@keyframes typing-caret { to { visibility: hidden; } }
.hero-copy { animation: hero-enter .7s cubic-bezier(.2,.75,.25,1) both; }
.portal-panel { animation: hero-enter .7s .12s cubic-bezier(.2,.75,.25,1) both; }
.motion-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.75,.25,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .role-panel { padding: 20px; }
  .role-feature { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 780px) {
  .brand img { width: 60px; height: 68px; }
  .site-header .brand img { width: 170px; max-width: 55vw; height: auto; }
  .footer-main .brand img { width: 170px; height: auto; }
  .role-grid { grid-template-columns: 1fr; }
  .role-panel { max-width: 650px; }
  .hero-student-photo { height: 280px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .service-copy p { min-height: 0; }
  .role-panel { padding: 20px 17px; }
  .role-panel-heading h3 { font-size: 19px; }
  .role-panel-heading > a { padding: 8px; font-size: 9px; }
  .role-feature { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .role-feature > span { font-size: 9px; }
  .role-feature p { font-size: 12px; }
  .service-ticker .wrap { font-size: 7px; }
  .hero-student-photo { height: 250px; margin: -22px -18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .portal-panel { animation: none; }
  .hero-student-photo img, .hero-student-photo::before, .hero-shape { animation: none; }
  .hero-highlight.is-typing .hero-typed-text::after { animation: none; }
  .motion-ready .reveal, .motion-ready .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
/* Local context and detailed platform information. */
.local-section { background: #f1f5eb; }
.local-grid, .detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.local-card, .detail-card { min-width: 0; padding: 28px; border: 1px solid #dce5d8; border-radius: 8px; background: #fff; }
.local-card { border-top: 3px solid #c8ac54; }
.detail-label { color: #346044; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.local-card h3, .detail-card h3 { margin: 14px 0 12px; color: #173d2e; font: 800 20px/1.35 'Manrope', sans-serif; }
.local-card p, .detail-card p, .detail-card li, .local-contact p { color: #52675b; font-size: 14px; line-height: 1.8; }
.local-card p, .detail-card p { margin: 0; }
.detail-card ul { margin: 20px 0 0; padding-left: 19px; }
.detail-card li + li { margin-top: 8px; }
.detail-card li::marker { color: #106040; }
.local-contact { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 26px; }
.local-contact p { max-width: 690px; margin: 0; }
.local-contact strong { display: block; color: #173d2e; }
.local-contact .button { flex-shrink: 0; }
.local-contact .button:hover { color: #fff; background: #0b382b; border-color: #0b382b; }
.audience-section .section-heading h2 { color: #fff; }
.audience-section .section-heading .section-kicker { color: var(--college-gold); }
.audience-section .section-heading > p { color: #e0ebe4; }
@media (max-width: 1080px) {
  .local-card, .detail-card { padding: 22px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .local-grid { grid-template-columns: 1fr; }
  .local-contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.student-functions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) {
  .student-functions { grid-template-columns: 1fr; }
}

/* Shared website navigation. */
.site-header #site-nav { gap: 20px; }
.site-header #site-nav > a { white-space: nowrap; }
.site-header #site-nav > a:not(.button) { min-height: 40px; padding: 9px 10px; color: #385244; border-radius: 5px; font-size: 11px; transition: color .18s ease, background .18s ease; }
.site-header #site-nav > a:not(.button):hover { color: #0b382b; background: #edf4e9; }
.site-header #site-nav > a[aria-current="page"] { color: #0b382b; background: #edf4e9; text-decoration: none; }
.site-header .nav-cta:hover { color: #fff; background: #0b382b; border-color: #0b382b; }
.site-header { box-shadow: 0 8px 25px rgba(17,55,37,.055); }
.header-utility { color: #355442; background: #f0f5ec; border-bottom: 1px solid #e0e9dc; }
.header-reading-progress { position: absolute; right: 0; bottom: -1px; left: 0; z-index: 2; height: 3px; overflow: hidden; background: rgba(16,96,64,.08); pointer-events: none; }
.header-reading-progress > span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #106040, #c8ac54); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.utility-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-message, .utility-links { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .15px; }
.utility-message i { width: 7px; height: 7px; background: #b7953c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(183,149,60,.13); }
.utility-links { gap: 19px; }
.utility-links a { color: #315142; transition: color .2s ease; }
.utility-links a:hover { color: #0b382b; }
.utility-links a span { margin-left: 3px; color: #9c7d2d; }
.site-header .nav-row { min-height: 80px; gap: 20px; }
.site-header #site-nav { gap: 5px; }
.site-header #site-nav > a[href="#payment-methods"] { position: relative; }
.site-header #site-nav > a.is-current-section:not([aria-current="page"]) { color: #106040; background: #eff5ec; }
.site-header .nav-cta { padding-inline: 14px; border-radius: 5px; box-shadow: 0 6px 16px rgba(16,96,64,.15); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.site-header .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(16,96,64,.2); }
.site-header .nav-cta span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.site-header .nav-cta:hover span { transform: translate(2px,-2px); }
.header-dropdown { position: relative; display: flex; align-items: center; }
.header-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 10px; color: #435d4d; background: transparent; border: 0; border-radius: 5px; font: 700 12px 'DM Sans',sans-serif; cursor: pointer; transition: color .2s ease, background .2s ease; }
.header-dropdown-toggle:hover, .header-dropdown.is-open .header-dropdown-toggle { color: #106040; background: #f0f5ed; }
.header-dropdown-toggle > span { display: inline-block; color: #106040; font-size: 15px; transition: transform .2s ease; }
.header-dropdown.is-open .header-dropdown-toggle > span { transform: rotate(180deg); }
.header-dropdown-menu { position: absolute; top: calc(100% + 7px); left: 0; z-index: 30; display: grid; width: 245px; gap: 4px; padding: 8px; visibility: hidden; opacity: 0; transform: translateY(7px); background: #fff; border: 1px solid #dfe8dc; border-radius: 9px; box-shadow: 0 16px 40px rgba(10,48,31,.16); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.header-dropdown.is-open .header-dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.header-dropdown-menu a { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 8px 10px; color: #315142; border-radius: 6px; font-size: 11px; font-weight: 700; transition: background .18s ease, color .18s ease; }
.header-dropdown-menu a:hover, .header-dropdown-menu a:focus-visible { color: #0b382b; background: #eef5eb; }
.header-dropdown-menu a > span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; color: #176143; background: #e8f1e5; border-radius: 6px; font: 800 9px 'Manrope',sans-serif; }
.header-dropdown-menu a > b { margin-left: auto; color: #a18435; }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.header-search { position: relative; display: flex; align-items: center; width: 118px; height: 36px; padding: 0 7px 0 9px; color: #627568; background: #f4f7f1; border: 1px solid #e1e9de; border-radius: 6px; transition: width .22s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.header-search:focus-within, .header-search.has-query { width: 190px; background: #fff; border-color: #9ebba2; box-shadow: 0 0 0 3px rgba(16,96,64,.08); }
.header-search-icon { flex: 0 0 auto; font-size: 19px; line-height: 1; }
.header-search input { width: 100%; min-width: 0; padding: 0 5px; color: #173d2e; background: transparent; border: 0; outline: 0; font: 600 11px 'DM Sans',sans-serif; }
.header-search input::placeholder { color: #718278; opacity: 1; }
.header-search kbd { flex: 0 0 auto; padding: 2px 4px; color: #728177; background: #e8eee6; border-radius: 3px; font: 600 8px 'DM Sans',sans-serif; }
.header-search-results { position: absolute; top: calc(100% + 9px); right: 0; z-index: 35; display: none; width: 290px; max-height: min(65vh, 370px); overflow-y: auto; padding: 7px; background: #fff; border: 1px solid #dfe8dc; border-radius: 9px; box-shadow: 0 18px 42px rgba(10,48,31,.17); }
.header-search.is-open .header-search-results { display: grid; gap: 3px; animation: search-panel-enter .16s ease both; }
.header-search-results a, .header-search-empty { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 8px 10px; color: #315142; border-radius: 6px; font-size: 11px; font-weight: 700; }
.header-search-results a:hover, .header-search-results a[aria-selected="true"] { color: #0b382b; background: #eef5eb; }
.header-search-results a span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; color: #176143; background: #e8f1e5; border-radius: 6px; font: 800 9px 'Manrope',sans-serif; }
.header-search-results a small { margin-left: auto; color: #819085; font-size: 9px; font-weight: 600; }
.header-search-empty { color: #758278; font-weight: 500; }
@keyframes search-panel-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1200px) {
  .site-header .nav-row { min-height: 72px; flex-wrap: wrap; gap: 0 16px; padding-block: 9px; }
  .site-header .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #173d2e; background: #f1f5ed; border: 1px solid #dce5d8; border-radius: 5px; font-size: 22px; cursor: pointer; }
  .site-header #site-nav { display: none; flex: 0 0 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 12px 0 4px; }
  .site-header #site-nav.is-open { display: flex; }
  .site-header #site-nav > a:not(.button) { min-height: 44px; padding: 10px 12px; }
  .site-header .header-dropdown { display: block; width: 100%; }
  .site-header .header-dropdown-toggle { width: 100%; justify-content: space-between; padding-inline: 12px; text-align: left; }
  .site-header .header-dropdown-menu { position: static; display: none; width: 100%; margin: 0 0 7px; box-shadow: none; transform: none; }
  .site-header .header-dropdown.is-open .header-dropdown-menu { display: grid; visibility: visible; opacity: 1; }
  .site-header #site-nav .nav-cta { justify-content: center; margin-top: 10px; }
  .site-header .header-search { order: -1; width: 100%; height: 43px; margin: 0 0 8px; }
  .site-header .header-search:focus-within, .site-header .header-search.has-query { width: 100%; }
  .site-header .header-search input { font-size: 13px; }
  .site-header .header-search kbd { margin-left: auto; }
  .site-header .header-search-results { position: static; display: none; width: 100%; max-height: 250px; margin-top: 7px; box-shadow: none; }
  .site-header .header-search.is-open { height: auto; flex-wrap: wrap; }
  .site-header .header-search.is-open .header-search-results { display: grid; }
}
@media (max-width: 1080px) {
  .site-header .nav-row { min-height: 74px; flex-wrap: wrap; gap: 0 16px; padding-block: 10px; }
  .site-header .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #173d2e; background: #f1f5ed; border: 1px solid #dce5d8; border-radius: 5px; font-size: 22px; cursor: pointer; }
  .site-header #site-nav { display: none; flex: 0 0 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 12px 0 4px; }
  .site-header #site-nav.is-open { display: flex; }
  .site-header #site-nav > a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 5px; }
  .site-header #site-nav > a:not(.button):hover { background: #edf3e8; }
  .site-header .header-dropdown { display: block; width: 100%; }
  .site-header .header-dropdown-toggle { width: 100%; justify-content: space-between; padding-inline: 12px; text-align: left; }
  .site-header .header-dropdown-menu { position: static; display: none; width: 100%; margin: 0 0 7px; box-shadow: none; transform: none; }
  .site-header .header-dropdown.is-open .header-dropdown-menu { display: grid; visibility: visible; opacity: 1; }
  .site-header #site-nav .nav-cta { justify-content: center; margin-top: 10px; }
  .site-header .header-search { order: -1; width: 100%; height: 43px; margin: 0 0 8px; }
  .site-header .header-search:focus-within, .site-header .header-search.has-query { width: 100%; }
  .site-header .header-search input { font-size: 13px; }
  .site-header .header-search kbd { margin-left: auto; }
  .site-header .header-search-results { position: static; display: none; width: 100%; max-height: 250px; margin-top: 7px; box-shadow: none; }
  .site-header .header-search.is-open { height: auto; flex-wrap: wrap; }
  .site-header .header-search.is-open .header-search-results { display: grid; }
}
@media (max-width: 520px) {
  .utility-row { min-height: 31px; justify-content: center; }
  .utility-message { font-size: 8px; }
  .utility-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-cta, .site-header .nav-cta span, .utility-links a, .header-dropdown-toggle, .header-dropdown-toggle > span, .header-dropdown-menu, .header-dropdown-menu a, .header-search, .header-search-results, .header-search-results a { transition: none; }
  .site-header .nav-cta:hover { transform: none; }
  .header-dropdown.is-open .header-dropdown-menu { transform: none; }
  .header-reading-progress > span { will-change: auto; }
  .header-search.is-open .header-search-results { animation: none; }
}

/* Reserve the complete typed line and keep the heading inside its grid column. */
.hero-grid > * { min-width: 0; }
.hero-copy { max-width: 100%; }
.hero h1 { font-size: clamp(30px, 4.4vw, 64px); overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .hero h1 { font-size: clamp(28px, 7.8vw, 52px); }
}

.payment-section { background: #fff; border-top: 1px solid #e0e8dc; }
.payment-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.payment-logo { margin: 0; padding: 20px 12px 14px; text-align: center; background: #fff; border: 1px solid #dce5d8; border-radius: 10px; }
.payment-logo > div { height: 90px; display: grid; place-items: center; }
.payment-logo img { display: block; width: 100%; max-width: 155px; height: 80px; object-fit: contain; }
.payment-logo figcaption { margin-top: 16px; color: #173d2e; font-size: 13px; font-weight: 700; }
.payment-availability { max-width: 820px; margin: 20px 0 0; color: #52675b; font-size: 13px; line-height: 1.7; }
.payment-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; padding-top: 26px; border-top: 1px solid #dce5d8; }
.payment-benefits h3 { margin: 0 0 8px; color: #173d2e; font: 800 17px/1.4 'Manrope', sans-serif; }
.payment-benefits p { margin: 0; color: #52675b; font-size: 14px; line-height: 1.7; }
@media (max-width: 1080px) { .payment-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .payment-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .payment-benefits { grid-template-columns: 1fr; gap: 20px; } }

/* Fast capability overview between the hero and detailed platform sections. */
.at-a-glance { position: relative; z-index: 2; padding: 0 0 18px; background: #f6f8f1; }
.glance-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: stretch; border: 1px solid #dfe8dc; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(16, 58, 38, .09); }
.glance-intro, .glance-item { position: relative; display: flex; min-height: 124px; flex-direction: column; justify-content: center; padding: 22px 25px; }
.glance-intro { overflow: hidden; color: #fff; background: linear-gradient(135deg, #0b382b, #146443); border-radius: 11px 0 0 11px; }
.glance-intro::after { position: absolute; width: 140px; height: 140px; right: -50px; bottom: -85px; content: ""; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 38px rgba(255,255,255,.025); }
.glance-intro p { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #efd176; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.glance-pulse { width: 7px; height: 7px; background: #9be2ad; border-radius: 50%; box-shadow: 0 0 0 4px rgba(155,226,173,.15); }
.glance-intro strong { z-index: 1; font: 800 17px/1.35 'Manrope', sans-serif; }
.glance-item { gap: 5px; border-left: 1px solid #e6ece3; transition: background .25s ease, transform .25s ease; }
.glance-item:hover { z-index: 1; transform: translateY(-5px); background: #f6f9f2; }
.glance-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 3px; color: #176143; background: #e9f2e7; border-radius: 8px; font: 800 10px 'Manrope', sans-serif; }
.glance-item strong { color: #173d2e; font: 800 13px 'Manrope', sans-serif; }
.glance-item small { color: #6a7d70; font-size: 10px; line-height: 1.5; }
.service-card, .payment-logo, .payment-benefits article, .local-card, .detail-card, .faq-list details { transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease; }
.service-card:hover, .payment-logo:hover, .payment-benefits article:hover, .local-card:hover, .detail-card:hover, .faq-list details:hover { transform: translateY(-5px); border-color: rgba(16,96,64,.34); box-shadow: 0 16px 34px rgba(16,58,38,.1); }
.payment-logo img { transition: transform .3s ease; }
.payment-logo:hover img { transform: scale(1.06); }
.detail-card li { transition: transform .2s ease; }
.detail-card:hover li { transform: translateX(2px); }
@media (max-width: 900px) {
  .glance-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .glance-intro { grid-column: 1 / -1; min-height: 94px; border-radius: 11px 11px 0 0; }
  .glance-item { min-height: 112px; padding: 17px; }
  .glance-item:first-of-type { border-left: 0; }
}
@media (max-width: 600px) {
  .at-a-glance { padding: 0 0 10px; }
  .glance-grid { grid-template-columns: 1fr; }
  .glance-intro { min-height: 86px; padding: 17px 20px; }
  .glance-item { min-height: auto; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; column-gap: 9px; padding: 13px 18px; border-left: 0; border-top: 1px solid #e6ece3; }
  .glance-icon { grid-row: 1 / 3; margin: 0; }
  .glance-item small { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .glance-item, .service-card, .payment-logo, .payment-benefits article, .local-card, .detail-card, .faq-list details, .payment-logo img, .detail-card li { transition: none; }
  .glance-item:hover, .service-card:hover, .payment-logo:hover, .payment-benefits article:hover, .local-card:hover, .detail-card:hover, .faq-list details:hover, .payment-logo:hover img, .detail-card:hover li { transform: none; }
}

/* Header motion uses transforms so the text and card keep their layout. */
.hero-shapes::before { position: absolute; inset: 5% 0 0 45%; content: ""; background: radial-gradient(ellipse, rgba(239,209,118,.12), transparent 65%); pointer-events: none; }
.hero-shapes::after { position: absolute; left: 7%; bottom: 8%; width: 92px; height: 92px; content: ""; opacity: .3; background-image: radial-gradient(#efd176 1.5px, transparent 1.5px); background-size: 14px 14px; pointer-events: none; }
.hero .portal-choice b { transition: transform .25s ease; }
.hero .portal-choice:hover b, .hero .portal-choice:focus-visible b { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: none; }
  .hero-copy > .hero-eyebrow { animation: hero-enter .65s .1s both; }
  .hero-copy > h1 { animation: hero-enter .75s .2s both; }
  .hero-description { animation: hero-enter .75s .35s both; }
  .hero-actions { animation: hero-enter .75s .5s both; }
  .hero-points li { animation: hero-enter .65s both; }
  .hero-points li:nth-child(1) { animation-delay: .65s; }
  .hero-points li:nth-child(2) { animation-delay: .8s; }
  .hero-points li:nth-child(3) { animation-delay: .95s; }
  .hero-shapes::before { animation: hero-glow-drift 14s ease-in-out infinite alternate; }
  .hero-shapes::after { animation: hero-shape-float 10s ease-in-out infinite alternate; }
  .hero-shape-square { animation: hero-square-turn 24s linear infinite; }
  .hero .panel-live > span { animation: hero-status-pulse 3s ease-out infinite; }
  .hero .portal-panel { animation: hero-enter .85s .25s both; }
  .hero .hero-student-photo figcaption { animation: hero-enter .8s .7s both; }
  .hero-actions .button > span { animation: hero-arrow-nudge 3.5s 1.5s ease-in-out infinite; }
}
@keyframes hero-glow-drift {
  from { opacity: .5; transform: translate(-3%, -2%) scale(.95); }
  to { opacity: 1; transform: translate(3%, 4%) scale(1.08); }
}
@keyframes hero-square-turn { to { transform: rotate(360deg); } }
@keyframes hero-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,168,115,0); }
  35% { box-shadow: 0 0 0 6px rgba(57,168,115,.18); }
  70% { box-shadow: 0 0 0 10px rgba(57,168,115,0); }
}
@keyframes hero-arrow-nudge {
  0%, 75%, 100% { transform: translateY(0); }
  85% { transform: translateY(3px); }
}
