* { box-sizing: border-box; }
:root {
  --navy: #082f60;
  --navy-deep: #06264b;
  --blue: #1677f8;
  --text: #0a3268;
  --muted: #4d6890;
  --line: #e5edf7;
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito Sans", Arial, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 3.2%; background: #fff; position: relative; z-index: 5; box-shadow: 0 2px 12px #0a32680d; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 390px; }
.brand-mark { font-size: 39px; line-height: 1; }
.brand-name { font-size: 34px; font-weight: 900; letter-spacing: -.8px; color: #0750a4; }
.brand-description { border-left: 2px solid #b9cce5; padding-left: 12px; margin-left: 3px; font-size: 12px; line-height: 1.25; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); font-size: 14px; font-weight: 700; }
.main-nav > a:not(.login-button) { padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav > a.active, .main-nav > a:not(.login-button):hover { color: var(--blue); border-bottom-color: var(--blue); }
.login-button { background: var(--navy); color: white; padding: 13px 25px; border-radius: 30px; white-space: nowrap; box-shadow: 0 5px 14px #082f6020; }
.login-button:hover { background: #0b4c91; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 27px; color: var(--navy); cursor: pointer; }
.hero { min-height: 450px; position: relative; display: flex; align-items: center; overflow: hidden; background: #073665 url("agaes-hero.png") center 46% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,39,77,.97) 0%, rgba(3,47,91,.88) 31%, rgba(3,47,91,.35) 53%, rgba(3,47,91,0) 76%); }
.hero-content { position: relative; z-index: 1; color: white; max-width: 650px; padding: 44px 5.5%; }
.eyebrow { display: inline-block; border-radius: 25px; background: #58a5ff; padding: 5px 21px; font-size: 15px; font-weight: 800; }
.hero h1 { font-size: clamp(52px, 5vw, 78px); line-height: 1; letter-spacing: -2px; margin: 10px 0 12px; font-weight: 900; }
.hero h2 { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.3; margin: 0 0 14px; font-weight: 900; }
.hero p { font-size: 16px; line-height: 1.55; margin: 0 0 7px; max-width: 530px; }
.hero .hero-small { font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 32px; padding: 15px 25px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; min-width: 218px; }
.button-primary:hover { background: #0565df; }
.button-primary span { font-size: 20px; margin-left: 8px; }
.button-outline { border: 1.5px solid white; color: white; min-width: 210px; }
.button-outline:hover { background: #ffffff1c; }
.play-icon { font-size: 13px; }
.section-wrap { padding: 28px 4.5% 22px; }
.section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.section-heading > span { width: 7px; height: 23px; background: var(--blue); border-radius: 6px; }
.section-heading h2 { margin: 0; font-size: 20px; font-weight: 900; }
.feature-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.feature-card { text-align: center; padding: 0 13px 9px; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 16px; font-size: 29px; font-weight: 900; }
.blue { background: #b8d4ff; color: #0870e8; } .green { background: #baf4d9; color: #058f70; }
.purple { background: #dfcaff; color: #7542d7; } .orange { background: #ffd08a; color: #df7b00; }
.red { background: #ffb2b7; color: #d82d37; } .sky { background: #b9ddff; color: #0768ad; } .teal { background: #a8e9e2; color: #078f82; }
.feature-card h3 { font-size: 14px; margin: 0 0 8px; font-weight: 900; }
.feature-card p { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }
.about { background: linear-gradient(100deg, #eef7ff, #f8fbff); padding: 24px 4.5%; }
.about-inner { display: flex; align-items: center; gap: 30px; max-width: 1500px; margin: auto; }
.school-symbol { font-size: 52px; padding-right: 28px; border-right: 2px solid #1677f8; }
.about-copy { flex: 1; }
.about-copy h2 { font-size: clamp(22px, 2vw, 29px); line-height: 1.25; margin: 0 0 10px; font-weight: 900; }
.about-copy p { font-size: 14px; line-height: 1.5; margin: 0; max-width: 560px; }
.handwritten { color: #1677f8; font-family: cursive; font-size: 24px; font-style: italic; text-align: center; transform: rotate(-7deg); margin: 0 4%; }
.books-art { font-size: 60px; background: #d8eaff; border-radius: 50%; width: 150px; height: 110px; display: grid; place-items: center; flex-shrink: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: linear-gradient(100deg, #06264b, #0a3d76); color: white; padding: 18px 5%; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand > span { font-size: 30px; }
.footer-brand strong { font-size: 22px; }
.footer-brand small { border-left: 1px solid #a9c0dd; padding-left: 12px; margin-left: 5px; line-height: 1.4; }
.footer-nav { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav i { font-style: normal; opacity: .65; }
.copyright { text-align: right; line-height: 1.6; margin: 0; white-space: nowrap; }
@media (max-width: 1100px) {
  .brand { min-width: auto; } .brand-description { display: none; }
  .main-nav { gap: 18px; }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 25px; }
  .feature-card:nth-child(4) { border-right: 0; }
  .feature-card:nth-child(5), .feature-card:nth-child(6), .feature-card:nth-child(7) { border-top: 1px solid var(--line); padding-top: 20px; }
  .site-footer { flex-wrap: wrap; } .copyright { margin-left: auto; }
}
@media (max-width: 720px) {
  .site-header { min-height: 70px; padding: 10px 5%; }
  .brand-mark { font-size: 31px; } .brand-name { font-size: 28px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px 5% 22px; box-shadow: 0 12px 18px #092e5c1c; flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.login-button) { padding: 10px 0; }
  .login-button { text-align: center; margin-top: 7px; }
  .hero { min-height: 550px; background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,39,77,.96), rgba(3,47,91,.77)); }
  .hero-content { padding: 42px 6%; }
  .hero h1 { font-size: 58px; }
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 290px; }
  .button { width: 100%; }
  .section-wrap { padding: 26px 5%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .feature-card { padding: 0 10px 14px; }
  .feature-card:nth-child(2n) { border-right: 0; }
  .feature-card:nth-child(4) { border-right: 0; }
  .feature-card:nth-child(5), .feature-card:nth-child(6), .feature-card:nth-child(7) { border-top: 0; padding-top: 0; }
  .feature-card:last-child { grid-column: 1 / -1; border-right: 0; }
  .about-inner { flex-wrap: wrap; gap: 18px; }
  .school-symbol { font-size: 40px; padding-right: 15px; }
  .about-copy { min-width: 60%; }
  .handwritten { flex: 1; margin: 5px; }
  .books-art { width: 85px; height: 75px; font-size: 42px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 5%; gap: 18px; }
  .footer-nav { flex-wrap: wrap; gap: 9px; }
  .copyright { text-align: left; margin-left: 0; white-space: normal; }
}
