*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#18202b;line-height:1.6}

header{
  height:72px;
  padding:0 7%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e7e8ea;
  background:#fff;
  position:sticky;
  top:0;
  z-index:5
}

.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;font-size:1.35rem;font-weight:850}
.brand img{height:50px;width:auto;display:block}
.brand-text span{color:#5967d9}

nav{display:flex;gap:25px}
nav a{text-decoration:none;color:#4e5867;font-size:1rem}

.hero{
  padding:90px 10%;
  min-height:570px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  align-items:center;
  background:linear-gradient(135deg,#f6f7ff,#fff)
}

.eyebrow{
  font-size:.82rem;
  font-weight:850;
  letter-spacing:.16em;
  color:#5967d9;
  margin-bottom:15px
}

.hero h1{
  font-size:clamp(3rem,6vw,5.6rem);
  line-height:1;
  letter-spacing:-.06em;
  margin:0
}

.hero h1 em{font-style:normal;color:#5967d9}

.hero p{
  font-size:1.15rem;
  color:#626d7c;
  max-width:650px;
  margin:25px 0 30px
}

.buttons{display:flex;gap:12px;flex-wrap:wrap}

.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:9px;
  text-decoration:none;
  font-weight:750;
  border:0;
  cursor:pointer;
  font-size:.95rem
}

.dark{background:#18202b;color:#fff}
.dark:hover{background:#5967d9}

.light{
  border:1px solid #d2d6dd;
  color:#18202b;
  background:#fff
}

.hero-box{
  background:#18202b;
  color:#fff;
  border-radius:22px;
  padding:38px;
  min-height:320px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-shadow:0 25px 70px #18202b22
}

.number{font-size:3rem;font-weight:850;color:#aeb5ff}

.hero-box h3{font-size:1.8rem;margin:8px 0}

.hero-box p{
  font-size:1rem;
  margin:0;
  color:#c4cad5
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:28px
}

.mini-grid span{
  padding:10px;
  background:#ffffff12;
  border-radius:8px;
  font-size:.92rem
}

.section{
  padding:90px 10%;
  max-width:1400px;
  margin:auto
}

.section h2,.register h2{
  font-size:clamp(2.1rem,4vw,3.5rem);
  line-height:1.1;
  letter-spacing:-.045em;
  margin:0;
  max-width:850px
}


/* =========================
   PARTNER BAR
   ========================= */
.partner-bar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding:6px 7%;
  background:#f6f7ff;
  border-bottom:1px solid #e7e8ea;
  font-size:.85rem;
  font-weight:600;
  color:#4e5867
}
.partner-bar img{height:30px;width:auto;display:block}
@media(max-width:850px){
  .partner-bar{padding:6px 5%;justify-content:center;font-size:.78rem}
  .partner-bar img{height:24px}
}

/* =========================
   PROGRAM CARDS
   ========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  margin-top:42px;
  align-items:stretch;
}

.cards article{
  border:1px solid #e3e5e9;
  border-radius:18px;
  padding:30px;
  min-height:285px;
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
}

.cards b{
  font-size:.78rem;
  color:#5967d9;
  letter-spacing:.12em
}

.cards h3{
  font-size:1.65rem;
  line-height:1.2;
  margin:12px 0
}

.cards p{
  color:#687282;
  font-size:1.05rem;
  line-height:1.65;
  flex-grow:1;
  margin:0 0 24px;
}

.cards a{
  color:#5967d9;
  font-size:1rem;
  font-weight:750;
  text-decoration:none;
  margin-top:auto;
}


/* =========================
   OTHER SECTIONS
   ========================= */

.pale{
  max-width:none;
  background:#f5f6fa
}

.features{
  max-width:1200px;
  margin:45px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px
}

.features strong{
  font-size:2rem;
  color:#5967d9
}

.features h3{font-size:1.2rem;margin:8px 0}
.features p{color:#687282;font-size:1.02rem;line-height:1.65}

.schedule{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin-top:35px
}

.schedule div{
  border-left:3px solid #5967d9;
  padding:18px;
  background:#f6f7f9
}

.schedule span,.schedule small{
  display:block;
  color:#697385;
  font-size:1rem
}

.schedule b{
  display:block;
  font-size:1.3rem;
  margin:5px 0
}

.note{
  font-size:.9rem;
  color:#8b93a0;
  margin-top:15px
}


/* =========================
   REGISTRATION
   ========================= */

.register{
  background:#eef0ff
}

.register form{
  max-width:850px;
  margin-top:35px;
  background:#fff;
  padding:30px;
  border-radius:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  box-shadow:0 15px 45px #18202b0d
}

.register label{
  font-weight:700;
  font-size:.98rem
}

.register label:nth-of-type(7){
  grid-column:1/-1
}

.register input,
.register select,
.register textarea{
  display:block;
  width:100%;
  margin-top:7px;
  border:1px solid #d9dde4;
  border-radius:8px;
  padding:11px;
  font:inherit;
  background:#fff
}

.register button{width:max-content}

 .form-note{
  grid-column:1/-1;
  font-size:.9rem;
  color:#7d8794;
  margin:0
}

.register .intro{
  max-width:750px
}


/* =========================
   ABOUT
   ========================= */

#about{
  scroll-margin-top:72px
}

.about-wrap{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:60px;
  align-items:start;
  margin-top:0
}

.about-lead .lede{
  font-size:1.15rem;
  color:#626d7c;
  margin:22px 0 0;
  max-width:460px
}

.about-body p{
  color:#687282;
  line-height:1.75;
  margin:0 0 18px;
  max-width:62ch
}

.about-body p:last-child{
  margin-bottom:0
}

.about-close{
  margin-top:50px;
  background:#18202b;
  color:#fff;
  border-radius:22px;
  padding:30px 38px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:10px 40px;
  box-shadow:0 25px 70px #18202b22
}

.about-close .motto{
  font-size:1.7rem;
  font-weight:850;
  letter-spacing:-.02em;
  color:#aeb5ff;
  margin:0
}

.about-close .sub{
  color:#c4cad5;
  margin:0
}


/* =========================
   RESPONSIVE
   ========================= */

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

@media(max-width:850px){

  header{
    padding:0 5%
  }

  nav{
    gap:10px
  }

  .brand{font-size:1.05rem;gap:8px}
  .brand img{height:40px}

  nav a:nth-child(-n+3){
    display:none
  }

  .hero{
    grid-template-columns:1fr;
    padding:70px 7%
  }

  .section{
    padding:70px 7%
  }

  .cards,
  .features,
  .schedule{
    grid-template-columns:1fr
  }

  .register form{
    grid-template-columns:1fr
  }

  .register label:nth-of-type(7){
    grid-column:auto
  }

  .about-wrap{
    grid-template-columns:1fr;
    gap:24px
  }

  .about-close{
    padding:26px
  }

  .form-note{
    grid-column:auto
  }

  footer{
    padding:25px 7%;
    display:block
  }

  footer div+div{
    margin-top:10px
  }
}

/* =========================
   PRIVACY & CONSENT
   ========================= */
.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: #4e5867;
}
.consent a { color: #5967d9; text-decoration: none; }
.g-recaptcha { grid-column: 1 / -1; }
.policy p { color: #687282; font-size: 1.02rem; line-height: 1.7; max-width: 75ch; }
