:root {
  --blue: #06265d;
  --blue-2: #0b4fe8;
  --green: #5bb33b;
  --yellow: #ffc400;
  --orange: #ff4b19;
  --purple: #6548d9;
  --cyan: #159aa7;
  --soft: #f7f9ff;
  --shadow: 0 18px 50px rgba(8, 34, 83, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--blue);
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw 12px;
  gap: 35px;
  background: #fff;
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 330px; }
.logo-mark {
  width: 82px; height: 62px; border: 7px solid var(--blue); border-top: 0;
  border-radius: 0 0 18px 18px; position: relative;
}
.logo-mark:before { content: "★"; position: absolute; left: 36px; top: -28px; color: var(--yellow); font-size: 18px; }
.logo-mark span { position: absolute; bottom: 8px; width: 17px; height: 36px; background: var(--green); border-radius: 18px 18px 4px 4px; }
.logo-mark span:nth-child(1){ left: 16px; transform: rotate(-28deg); }
.logo-mark span:nth-child(2){ left: 32px; height: 45px; }
.logo-mark span:nth-child(3){ left: 50px; transform: rotate(28deg); }
.logo-text strong { display: block; font-size: clamp(34px, 3vw, 56px); letter-spacing: 5px; line-height: .9; }
.logo-text small { display: block; color: var(--green); font-weight: 700; font-size: clamp(18px, 1.5vw, 28px); letter-spacing: 12px; margin-top: 8px; }
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 34px; font-weight: 800; text-transform: uppercase; font-size: clamp(13px, 1.05vw, 19px); }
.nav span { width: 1px; height: 30px; background: #1b2e64; opacity: .5; }
.nav a { white-space: nowrap; padding-bottom: 12px; }
.nav .active { border-bottom: 5px solid var(--blue-2); }

.hero {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: 45% 55%;
  position: relative;
  padding: 46px 5vw 110px;
}
.hero:before, .hero:after { content: "+"; position: absolute; font-weight: 900; color: var(--cyan); font-size: 32px; }
.hero:before { left: 18px; top: 310px; }
.hero:after { right: 70px; top: 90px; color: var(--yellow); }
.paper-plane { position: absolute; left: 48%; top: 75px; transform: rotate(-12deg); font-size: 78px; color: var(--blue); }
.hero-copy { position: relative; z-index: 2; }
.mini-lines { position: absolute; left: -22px; top: 35px; font-size: 75px; margin: 0; transform: rotate(-30deg); color: var(--blue); }
h1 { margin: 80px 0 22px; line-height: .94; letter-spacing: 5px; }
h1 span { display: block; font-size: clamp(58px, 6.4vw, 126px); font-weight: 900; color: var(--blue); }
h1 strong {
  display: block;
  font-size: clamp(54px, 5.9vw, 115px);
  font-weight: 900;
  background: linear-gradient(90deg, #236dff 0 16%, #57b640 16% 33%, #ffc400 33% 48%, #ff4b19 48% 62%, #7448d9 62% 78%, #159aa7 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle { max-width: 760px; font-size: clamp(22px, 1.65vw, 32px); line-height: 1.28; margin: 0 0 32px; }
.subtitle b, .subtitle strong { color: var(--blue-2); }

.class-card, .features {
  background: rgba(255,255,255,.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.class-card { width: min(760px, 100%); padding: 18px 58px 28px; }
.class-card h2 { margin: 0 0 8px; text-align: center; text-transform: uppercase; font-size: 24px; letter-spacing: .5px; }
.mode-buttons { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: 42px; }
.mode-buttons:before { content: ""; grid-column: 2; height: 58px; background: #d9deea; }
.mode { min-height: 78px; border: 1px solid #e3e7ef; border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 22px; font-weight: 900; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(0,0,0,.02); }
.mode.green { color: var(--green); grid-column: 1; }
.mode.blue { color: var(--blue-2); grid-column: 3; }
.icon { font-size: 43px; line-height: 1; }
.features { width: min(780px, 100%); margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 16px; }
.features article { text-align: center; min-height: 110px; display: grid; place-items: center; border-right: 1px solid #d7ddea; }
.features article:last-child { border: 0; }
.feature-icon { font-size: 41px; line-height: 1; }
.feature-icon.blue { color: #1d63ff; } .feature-icon.green { color: var(--green); } .feature-icon.purple { color: var(--purple); } .feature-icon.orange { color: var(--orange); }
.features p { margin: 2px 0 0; font-size: 14px; font-weight: 900; text-transform: uppercase; line-height: 1.25; }

.hero-art {
  position: relative;
  min-height: 675px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob {
  display: none;
}

.teacher-image {
  position: relative;

  width: 880px !important;
  max-width: 880px !important;
  height: auto !important;

  top: -100px;

  z-index: 10;

  object-fit: contain;
}

.students {
  display: none !important;
}
.blob { position: absolute; inset: 0 0 auto 3%; height: 650px; background: radial-gradient(circle at 55% 30%, #063479, #03184b 66%); border-radius: 47% 53% 41% 59% / 36% 35% 65% 64%; }
.blob:after { content: ""; position: absolute; inset: 42px; border: 2px dashed rgba(255,255,255,.75); border-left: 0; border-bottom: 0; border-radius: inherit; }
.doodle { position: absolute; z-index: 2; color: #fff; font-size: 44px; }
.star { right: 37%; top: 80px; }
.chat { left: 10%; top: 230px; }
.bulb, .pencil { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.bulb { left: 22%; top: 30px; background: var(--yellow); color: #fff; }
.pencil { right: 6%; top: 110px; background: var(--green); color: #fff; }
.students { position: absolute; left: 22%; right: 6%; bottom: 95px; height: 510px; display: flex; align-items: end; justify-content: center; gap: 0; }
.student { width: 230px; height: 470px; background: linear-gradient(#f3c9a7 0 22%, #f6f6f6 22% 36%, #14355d 36%); border-radius: 110px 110px 28px 28px; box-shadow: 0 18px 45px rgba(0,0,0,.18); position: relative; }
.student:before { content: ""; position: absolute; top: 25px; left: 50%; transform: translateX(-50%); width: 105px; height: 105px; border-radius: 50%; background: #ffd6b5; box-shadow: inset 0 11px #7b461f; }
.student:after { content: ""; position: absolute; left: 52px; right: 52px; bottom: 100px; height: 150px; border-radius: 10px; background: var(--green); transform: rotate(-8deg); box-shadow: 0 8px 16px rgba(0,0,0,.16); }
.s2 { z-index: 3; height: 500px; margin-left: -28px; margin-right: -28px; background: linear-gradient(#f4c49f 0 22%, #fff7ef 22% 62%, #fff 62%); }
.s2:before { box-shadow: inset 0 12px #7b411c; }
.s2:after { background: var(--yellow); transform: rotate(5deg); }
.s3 { background: linear-gradient(#f2c4a2 0 22%, #eee 22% 56%, #d9dce3 56%); }
.s3:before { box-shadow: inset 0 16px #d99a39; }
.s3:after { background: #144cec; transform: rotate(-1deg); }
.support-badge { position: absolute; left: 21%; right: 8%; bottom: 76px; min-height: 112px; background: linear-gradient(90deg, #594fe5, #4c43c7); color: #fff; border-radius: 36px; display: flex; align-items: center; gap: 24px; padding: 24px 38px; box-shadow: var(--shadow); z-index: 6; }
.support-badge span { width: 64px; height: 64px; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; font-size: 42px; }
.support-badge p { margin: 0; font-size: clamp(18px, 1.45vw, 28px); line-height: 1.25; }
.cta-bubble { position: absolute; left: 31%; right: 10%; bottom: -88px; background: #fff; border-radius: 44px; text-align: center; padding: 24px; box-shadow: var(--shadow); z-index: 6; }
.cta-bubble strong { text-transform: uppercase; font-size: 26px; }
.cta-bubble p { margin: 10px 0 0; font-size: 23px; }
.hero:after { pointer-events: none; }

.hero:global, .brushes { pointer-events: none; }
.hero::selection { background: #dce9ff; }
.about, .join { padding: 80px 7vw; background: var(--soft); text-align: center; }
.about h2, .join h2 { font-size: 42px; margin: 0 0 16px; text-transform: uppercase; }
.about p, .join p { max-width: 850px; margin: 0 auto; font-size: 22px; line-height: 1.45; }
.join { background: #fff; }
.join a { display: inline-block; margin-top: 24px; background: var(--green); color: #fff; font-weight: 900; text-transform: uppercase; padding: 18px 28px; border-radius: 18px; }
.footer { min-height: 78px; background: var(--blue); color: #fff; display: flex; justify-content: center; align-items: center; gap: 7vw; padding: 20px; text-transform: uppercase; font-weight: 700; font-size: 18px; }
.footer span { margin-right: 12px; font-size: 32px; color: var(--orange); }
.footer a { text-transform: none; }

@media (max-width: 1050px) {
  .header { height: auto; flex-direction: column; padding: 20px; }
  .brand { min-width: 0; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .nav span { display: none; }
  .hero { grid-template-columns: 1fr; padding: 22px 20px 120px; }
  h1 { margin-top: 40px; }
  .hero-art {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob {
  position: absolute;
  width: 95%;
  height: 90%;
  background: #052a78;
  border-radius: 45% 55% 50% 50%;
  z-index: 1;
}

.teacher-image {
  position: absolute;

  right: 80px;
  top: 50%;

  transform: translateY(-50%);

  width: 280px;
  height: auto;

  z-index: 10;
}

.students {
  display: none;
}

.support-badge {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;

  background: linear-gradient(
    90deg,
    #5a4de7,
    #4a44d4
  );

  color: white;

  border-radius: 50px;

  padding: 20px 35px;

  display: flex;
  align-items: center;
  gap: 15px;

  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.support-badge span {
  font-size: 38px;
}

.support-badge p {
  margin: 0;
  font-size: 20px;
}

.cta-bubble {
  position: absolute;
  bottom: -20px;
  right: 20px;
  z-index: 5;

  background: white;

  border-radius: 40px;

  padding: 25px 35px;

  box-shadow: 0 12px 25px rgba(0,0,0,.08);
}

.cta-bubble strong {
  color: #052a78;
  font-size: 28px;
}

.cta-bubble p {
  margin-top: 8px;
  color: #444;
}
  .paper-plane { display: none; }
}

@media (max-width: 650px) {
  .logo-mark { width: 58px; height: 46px; border-width: 5px; }
  .logo-text strong { font-size: 30px; }
  .logo-text small { font-size: 14px; letter-spacing: 7px; }
  .nav { font-size: 12px; }
  .class-card { padding: 18px; border-radius: 26px; }
  .mode-buttons { grid-template-columns: 1fr; gap: 12px; }
  .mode-buttons:before { display: none; }
  .mode.green, .mode.blue { grid-column: 1; }
  .features { grid-template-columns: 1fr 1fr; }
  .features article:nth-child(2) { border-right: 0; }
  .hero-art { min-height: 560px; }
  .blob { left: -8%; right: -8%; height: 470px; }
  .students { left: 2%; right: 2%; height: 360px; bottom: 110px; }
  .student { width: 125px; height: 310px; }
  .student:before { width: 70px; height: 70px; }
  .student:after { left: 28px; right: 28px; height: 90px; bottom: 70px; }
  .bulb, .pencil { width: 70px; height: 70px; font-size: 32px; }
  .support-badge { left: 0; right: 0; bottom: 64px; padding: 18px; border-radius: 24px; }
  .support-badge span { width: 48px; height: 48px; font-size: 32px; }
  .cta-bubble { left: 4%; right: 4%; bottom: -72px; }
  .footer { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .header {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    gap: 18px;
  }

  .brand {
    min-width: auto !important;
    justify-content: center;
    text-align: center;
  }

  .logo-text strong {
    font-size: 34px;
    letter-spacing: 4px;
  }

  .logo-text small {
    font-size: 16px;
    letter-spacing: 8px;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    text-align: center;
  }

  .nav span {
    display: none;
  }

  .nav a {
    padding-bottom: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 20px 18px 90px;
    min-height: auto;
  }

  .paper-plane,
  .mini-lines {
    display: none;
  }

  h1 {
    margin: 30px 0 18px;
    text-align: center;
  }

  h1 span {
    font-size: 52px;
  }

  h1 strong {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .subtitle {
    text-align: center;
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 24px;
  }

  .class-card {
    width: 100%;
    padding: 18px;
    border-radius: 26px;
  }

  .class-card h2 {
    font-size: 20px;
  }

  .mode-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mode-buttons:before {
    display: none;
  }

  .mode.green,
  .mode.blue {
    grid-column: 1;
  }

  .mode {
    min-height: 66px;
    font-size: 18px;
  }

  .features {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    padding: 18px 10px;
  }

  .features article {
    min-height: 100px;
  }

  .features article:nth-child(2) {
    border-right: none;
  }

  .hero-art {
    min-height: 520px;
    margin-top: 20px;
  }

  .teacher-image {
    width: 100% !important;
    max-width: 390px !important;
    height: auto !important;

   transform: translate(75px, -220px) !important;
}

  .support-badge {
    left: 50% !important;
    right: auto !important;
    bottom: 70px !important;
    transform: translateX(-50%);
    width: 92%;
    min-height: auto;
    padding: 16px;
    border-radius: 28px;
    gap: 12px;
  }

  .support-badge span {
    width: 48px;
    height: 48px;
    font-size: 30px;
    flex-shrink: 0;
  }

  .support-badge p {
    font-size: 15px;
    line-height: 1.3;
  }

  .cta-bubble {
    left: 50% !important;
    right: auto !important;
    bottom: -45px !important;
    transform: translateX(-50%);
    width: 90%;
    padding: 18px;
    border-radius: 30px;
  }

  .cta-bubble strong {
    font-size: 20px;
  }

  .cta-bubble p {
    font-size: 16px;
    margin-top: 6px;
  }

  .about,
  .join {
    padding: 55px 20px;
  }

  .about h2,
  .join h2 {
    font-size: 30px;
  }

  .about p,
  .join p {
    font-size: 18px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 15px;
  }
}