:root {
  --ink: #0b1e3a;
  --ink-soft: #334a68;
  --navy: #07182f;
  --navy-2: #0c2853;
  --blue: #1b4fa3;
  --aqua: #55d8c1;
  --gold: #f4c85b;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: rgba(12, 40, 83, .13);
  --shadow: 0 24px 70px rgba(4, 17, 42, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.ambient { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .23; pointer-events: none; z-index: -1; }
.ambient-one { width: 520px; height: 520px; background: #2a67da; top: -220px; right: -180px; }
.ambient-two { width: 420px; height: 420px; background: #6ee6c6; left: -220px; top: 48vh; opacity: .14; }
.site-header { width: min(1280px, calc(100% - 48px)); margin: 22px auto 0; height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 18px 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; color: #eef5ff; background: rgba(6, 23, 47, .92); backdrop-filter: blur(20px); box-shadow: 0 12px 32px rgba(3, 16, 39, .22); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; padding: 5px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(213,226,244,.82)); box-shadow: inset -5px -6px 12px rgba(7,31,62,.14), 0 10px 22px rgba(1,15,38,.25); transform: rotate(-4deg) perspective(300px) rotateY(-8deg); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(7,24,49,.22)); transform: rotate(4deg); }
.brand strong { font: 800 19px/1 Manrope, sans-serif; display: block; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 4px; color: #9cb1cf; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: 8px; }
nav a { padding: 10px 13px; border-radius: 10px; color: #b9c9dd; font-size: 14px; font-weight: 600; }
nav a:hover { color: white; background: rgba(255,255,255,.07); }
.header-cta { padding: 12px 15px; border-radius: 13px; color: #09203d; background: #eef5ff; font-size: 13px; font-weight: 800; }
.header-cta span { color: var(--blue); margin-left: 8px; }
main { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 570px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 30px; padding: 44px 10px 32px; }
.eyebrow, .section-index { display: flex; align-items: center; gap: 10px; color: #315178; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--aqua); box-shadow: 0 0 14px var(--aqua); }
.hero-title-row { display: flex; align-items: center; gap: 16px; width: max-content; perspective: 1000px; }
.hero-ultra-mark { width: 72px; height: 72px; flex: 0 0 auto; display: grid; place-items: center; padding: 8px; border: 1px solid rgba(16,60,109,.12); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(218,229,242,.8)); box-shadow: inset -7px -8px 16px rgba(13,49,88,.12), 0 18px 30px rgba(9,36,73,.15); transform: rotateY(-13deg) rotateZ(-4deg); animation: logoLift 6s ease-in-out infinite; }
.hero-ultra-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 7px rgba(7,26,53,.22)); }
.edusys-word { margin: 15px 0 11px; width: max-content; font: 800 clamp(70px, 9vw, 128px)/.86 Manrope, sans-serif; letter-spacing: -.085em; perspective: 900px; transform-style: preserve-3d; filter: drop-shadow(0 18px 17px rgba(5,24,54,.18)); animation: wordLift 6s ease-in-out infinite; }
.edusys-word span { display: inline-block; -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; transform: rotateX(7deg) rotateY(-5deg); text-shadow: 1px 1px 0 rgba(255,255,255,.35); background-size: 190% 190%; animation: wordLight 7s ease-in-out infinite; }
.edusys-word .edu { background-image: linear-gradient(125deg, #071a35 8%, #164b92 35%, #5aa0ec 50%, #164b92 67%, #071a35 100%); }
.edusys-word .sys { background-image: linear-gradient(125deg, #14678a 5%, #35bea4 34%, #f1d36f 50%, #35bea4 68%, #14678a 100%); margin-left: .035em; animation-delay: -.7s; }
.product-title { display: block; margin: 0 0 14px 91px; color: #3f6387; font-size: 10px; font-weight: 800; letter-spacing: .24em; }
@keyframes wordLift { 0%,100% { transform: translateY(0) rotateX(0); } 50% { transform: translateY(-6px) rotateX(2deg); } }
@keyframes wordLight { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes logoLift { 0%,100% { transform: translateY(0) rotateY(-13deg) rotateZ(-4deg); } 50% { transform: translateY(-6px) rotateY(-5deg) rotateZ(-2deg); } }
.hero-lead { max-width: 610px; margin: 0; color: #405675; font-size: clamp(18px, 2vw, 22px); line-height: 1.56; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 15px; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(110deg, #0c2f6d, #1763b8); box-shadow: 0 14px 28px rgba(17,71,149,.28); }
.button-primary span { margin-left: 25px; color: #74e7ce; }
.button-quiet { background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 30px; color: #5e718d; font-size: 12px; font-weight: 700; }
.trust-row i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 5px; border-radius: 50%; color: #0a5448; background: #c9f6ea; font-style: normal; }
.hero-stage { height: 430px; position: relative; display: grid; place-items: center; perspective: 1000px; transform: scale(.92); }
.hero-stage::before { content: ""; position: absolute; inset: 9% 5%; border-radius: 44px; background: linear-gradient(145deg, rgba(7,27,58,.97), rgba(14,52,96,.9)); box-shadow: var(--shadow); transform: rotateY(-7deg) rotateX(3deg); }
.dot-field { position: absolute; inset: 13%; opacity: .19; background-image: radial-gradient(#bce8ff 1px, transparent 1px); background-size: 20px 20px; transform: rotateY(-7deg) rotateX(3deg); }
.orbit { position: absolute; border: 1px solid rgba(103,221,204,.35); border-radius: 50%; z-index: 2; animation: orbit 15s linear infinite; }
.orbit-one { width: 250px; height: 250px; }
.orbit-two { width: 330px; height: 170px; transform: rotate(58deg); animation-direction: reverse; animation-duration: 20s; }
.orbit::after { content: ""; width: 10px; height: 10px; border-radius: 50%; position: absolute; top: 17%; right: 10%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.system-core { z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.core-glow { position: absolute; width: 210px; height: 210px; border-radius: 50%; background: rgba(65,217,191,.17); filter: blur(30px); }
.core-cube { width: 92px; height: 92px; position: relative; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(34deg); animation: float 5s ease-in-out infinite; }
.cube-face { position: absolute; width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); font: 800 42px Manrope, sans-serif; color: white; background: linear-gradient(145deg, rgba(48,130,220,.9), rgba(18,69,137,.88)); box-shadow: inset 0 0 25px rgba(255,255,255,.08); }
.face-front { transform: translateZ(46px); }
.face-right { transform: rotateY(90deg) translateZ(46px); background: linear-gradient(145deg, #1a8a89, #0e556d); }
.face-top { transform: rotateX(90deg) translateZ(46px); background: linear-gradient(145deg, #f0c85d, #977028); }
.core-label { color: white; text-align: center; }
.core-label strong { display: block; font: 700 18px Manrope, sans-serif; }
.core-label span { color: #9fb5cf; font-size: 11px; letter-spacing: .07em; }
.float-card { position: absolute; z-index: 6; min-width: 165px; display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: white; background: rgba(13,39,76,.76); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(1,11,31,.25); animation: float 6s ease-in-out infinite; }
.float-card .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #082440; background: linear-gradient(145deg,#8eeed6,#f3d270); font-weight: 800; }
.float-card strong, .float-card small { display: block; }
.float-card strong { font: 700 13px Manrope, sans-serif; }
.float-card small { color: #9eb4d0; font-size: 10px; margin-top: 3px; }
.fc-one { top: 50px; left: 18px; }
.fc-two { bottom: 45px; left: 40px; animation-delay: -2s; }
.fc-three { top: 136px; right: -4px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotateX(-16deg) rotateY(34deg); } 50% { transform: translateY(-10px) rotateX(-13deg) rotateY(39deg); } }
.float-card { animation-name: cardfloat; }
@keyframes cardfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orbit { to { rotate: 360deg; } }
.platform-section, .schools-section, .assurance-section { padding: 62px 0; }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 70px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.section-heading h2, .school-intro h2, .assurance-copy h2 { margin: 10px 0 0; font: 800 clamp(34px, 4vw, 58px)/1.05 Manrope, sans-serif; letter-spacing: -.045em; }
.section-heading p { max-width: 560px; margin: 0; color: #566b87; font-size: 17px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 18px; }
.capability-grid article { min-height: 225px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); transition: transform .25s ease, box-shadow .25s ease; }
.capability-grid article:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(8,30,66,.09); }
.capability-grid article > span { color: #6d829d; font-size: 11px; font-weight: 800; }
.capability-grid h3 { margin: auto 0 12px; font: 700 20px Manrope, sans-serif; }
.capability-grid p { margin: 0; color: #60738d; font-size: 14px; line-height: 1.6; }
.schools-section { padding-left: 36px; padding-right: 36px; border-radius: 38px; color: white; background: linear-gradient(145deg, #06162f, #0a3261 70%, #104d68); box-shadow: var(--shadow); }
.school-intro { text-align: center; }
.school-intro .section-index { justify-content: center; color: #74dcc8; }
.school-intro p { color: #abc0d8; font-size: 17px; }
.school-picker { max-width: 1060px; margin: 25px auto 0; }
.search-box { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.search-box > span { font-size: 25px; color: #75e1cc; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: white; background: transparent; font-size: 15px; }
.search-box input::placeholder { color: #aebdd0; }
.search-box kbd { border: 0; padding: 7px 10px; border-radius: 9px; color: #aec3da; background: rgba(255,255,255,.08); font-family: inherit; font-size: 11px; }
.school-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 14px; }
.school-card { min-height: 148px; display: grid; grid-template-columns: 78px 1fr 38px; align-items: center; gap: 17px; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.075); transition: transform .2s ease, background .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.school-card::before { content:""; position:absolute; width: 130px; height: 130px; right:-70px; top:-80px; border-radius:50%; background: var(--school-accent,#78dfcc); filter:blur(15px); opacity:.16; }
.school-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.school-card.apgss { --school-accent: #557adb; }
.school-card.tti { --school-accent: #7fbd88; }
.school-card.shama { --school-accent: #dc8e54; }
.school-card.marisco { --school-accent: #e4c05f; }
.crest { width: 78px; height: 88px; display: grid; place-items: center; padding: 8px; border-radius: 15px; background: rgba(255,255,255,.94); }
.crest img { max-width: 100%; max-height: 100%; object-fit: contain; }
.school-meta > span { color: #7de2ce; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.school-meta h3 { margin: 5px 0 6px; font: 700 17px/1.3 Manrope, sans-serif; }
.school-meta p { margin: 0; color: #a7bad0; font-size: 12px; }
.school-arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #0b2549; background: white; font-weight: 800; }
.empty-state { padding: 24px; text-align: center; color: #bbcade; }
.assurance-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: start; }
.assurance-points { border-top: 1px solid var(--line); }
.assurance-points div { display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.assurance-points strong { font: 700 15px Manrope, sans-serif; }
.assurance-points span { color: #60738d; font-size: 14px; line-height: 1.6; }
footer { width: min(1280px, calc(100% - 48px)); margin: 0 auto 24px; padding: 26px; display: grid; grid-template-columns: 1fr auto auto; gap: 35px; align-items: center; border-radius: 24px; color: white; background: #06162e; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark.small { width: 38px; height: 38px; border-radius: 11px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font: 800 18px Manrope, sans-serif; }
.footer-brand span { color: #8ea5c2; font-size: 11px; margin-top: 3px; }
.powered { color: #8da4c0; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.powered a { display: flex; align-items: center; gap: 7px; margin-top: 5px; color: white; text-transform: none; letter-spacing: 0; }
.powered img { width: 26px; height: 26px; object-fit: contain; }
footer > p { color: #8298b4; font-size: 11px; }

/* School detail pages */
.school-page { min-height: 100vh; color: white; background: #07182f; }
.school-page .ambient { z-index: 0; }
.school-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.school-nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.back-link { color: #b8c9dc; font-size: 13px; font-weight: 700; }
.back-link:hover { color: white; }
.school-hero { min-height: calc(100vh - 110px); display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 72px; padding: 35px 0 80px; }
.school-kicker { display: inline-flex; align-items: center; gap: 9px; color: #7ee4cf; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.school-kicker::before { content:""; width: 25px; height: 2px; background: currentColor; }
.school-hero h1 { margin: 18px 0; font: 800 clamp(44px, 6vw, 82px)/1.02 Manrope, sans-serif; letter-spacing: -.055em; }
.school-hero-copy > p { max-width: 590px; margin: 0 0 29px; color: #adc0d6; font-size: 18px; line-height: 1.65; }
.school-hero .button-primary { background: linear-gradient(115deg, var(--accent, #286dcc), var(--accent2, #39bfa7)); }
.school-identity { min-height: 500px; display: grid; place-items: center; position: relative; perspective: 1000px; }
.identity-card { width: min(390px, 90%); min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; text-align: center; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); backdrop-filter: blur(20px); box-shadow: 0 35px 80px rgba(0,0,0,.35); transform: rotateY(-8deg) rotateX(3deg); }
.identity-card::before { content:""; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.08); border-radius:25px; pointer-events:none; }
.identity-card img { max-width: 170px; max-height: 190px; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.22)); animation: logohover 5s ease-in-out infinite; }
.identity-card strong { margin-top: 28px; font: 800 19px Manrope, sans-serif; }
.identity-card span { margin-top: 8px; color: #91a9c4; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.identity-ring { position:absolute; width: 470px; height: 220px; border:1px solid rgba(105,226,203,.25); border-radius:50%; transform:rotate(-25deg); }
@keyframes logohover { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
.school-apgss { --accent:#254e9a; --accent2:#d4c638; }
.school-tti { --accent:#8d351d; --accent2:#3b8b60; }
.school-shama { --accent:#c25c31; --accent2:#d9b251; }
.school-marisco { --accent:#1667a1; --accent2:#ddaf38; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .edusys-word { font-size: clamp(78px, 20vw, 132px); }
  .hero-stage { margin-top: -15px; }
  .section-heading, .assurance-section, .school-hero { grid-template-columns: 1fr; gap: 38px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .school-hero { padding-top: 70px; text-align: center; }
  .school-hero-copy { display:flex; flex-direction:column; align-items:center; }
  .school-identity { order: -1; min-height: 390px; }
  .identity-card { min-height: 360px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1/-1; margin: 0; }
}
@media (max-width: 680px) {
  .site-header, main, footer { width: min(100% - 24px, 1280px); }
  .site-header { margin-top: 12px; height: 64px; border-radius: 18px; }
  .header-cta { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; padding: 68px 2px 55px; }
  .hero-title-row { width: 100%; justify-content: center; gap: 8px; }
  .hero-ultra-mark { width: 54px; height: 54px; padding: 6px; border-radius: 16px; }
  .edusys-word { font-size: clamp(52px, 18vw, 76px); }
  .product-title { margin-left: 0; text-align: center; }
  .hero-lead { font-size: 17px; }
  .hero-stage { height: 390px; transform: scale(.9); margin-left:-20px; margin-right:-20px; }
  .fc-one { left: 0; top: 30px; }
  .fc-two { left: 10px; bottom: 20px; }
  .fc-three { right: -6px; top: 145px; }
  .platform-section, .schools-section, .assurance-section { padding-top: 68px; padding-bottom: 68px; }
  .section-heading { gap: 24px; }
  .capability-grid, .school-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 220px; }
  .schools-section { padding-left: 14px; padding-right: 14px; border-radius: 26px; }
  .school-card { grid-template-columns: 64px 1fr 34px; min-height: 130px; padding: 14px; gap: 12px; }
  .crest { width:64px; height:74px; }
  .school-meta h3 { font-size:14px; }
  .assurance-points div { grid-template-columns:1fr; gap:8px; }
  footer { grid-template-columns:1fr; }
  .powered { margin-top:8px; }
  .school-shell { width: min(100% - 28px, 1180px); }
  .school-hero h1 { font-size: 42px; }
  .identity-ring { width:360px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
