@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #29324b; --muted: #68718a; --blue: #718be8; --lavender: #eeeaff;
  --pink: #ffe8ef; --yellow: #fff3cf; --mint: #e3f5ed; --paper: #fbfcff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Nunito', 'Trebuchet MS', sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { max-width: 1180px; margin: auto; padding: 22px 28px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; white-space: nowrap; }
.brand b { color: #7186dc; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: white; background: linear-gradient(145deg,#91a4f4,#b69ae9); font-size: 23px; }
.main-nav { display: flex; gap: 30px; margin-left: auto; color: #626c83; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: #7186dc; }
.header-button, .primary-button { border-radius: 14px; background: #748ce7; color: white; padding: 13px 19px; font-size: 14px; font-weight: 800; box-shadow: 0 7px 18px #748ce733; }
.header-button span, .primary-button span { padding-left: 10px; }
.menu-toggle { display: none; border: 0; background: #eeeaff; color: var(--ink); border-radius: 10px; padding: 9px 12px; font-size: 20px; }
.hero { max-width: 1180px; min-height: 515px; margin: 18px auto 62px; padding: 48px 28px 38px 56px; display: grid; grid-template-columns: 1fr 0.92fr; align-items: center; gap: 20px; background: linear-gradient(115deg,#f0f3ff 0%,#f5f1ff 58%,#fff4ed 100%); border-radius: 34px; overflow: hidden; }
.eyebrow { color: #8492d7; letter-spacing: 1.7px; font-size: 10px; font-weight: 900; }
.sparkle { color: #eabf59; font-size: 17px; margin-right: 5px; }
h1 { font-size: clamp(38px,5vw,57px); line-height: 1.12; letter-spacing: -1.8px; margin: 18px 0; font-weight: 900; }
h1 span { color: #788ce1; }
.hero-text { color: #69738b; font-size: 16px; line-height: 1.8; max-width: 490px; margin: 0 0 28px; }
.primary-button { display: inline-flex; align-items: center; padding: 15px 22px; }
.hero-note { margin-top: 22px; font-size: 12px; color: #788198; font-weight: 700; }
.note-icon { color: #e7b84e; font-size: 18px; vertical-align: -2px; margin-right: 7px; }
.hero-art { position: relative; min-height: 420px; display: flex; align-items: end; justify-content: center; }
.art-blob { position: absolute; width: min(390px,90%); height: 350px; bottom: 0; border-radius: 48% 52% 43% 57% / 47% 45% 55% 53%; background: #dce7d6; }
.sasha-hero { position: relative; z-index: 1; display: block; height: 425px; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 12px #43523b22); }
.art-sun { position: absolute; right: 10%; top: 8px; color: #e8bd5c; font-size: 42px; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 15px; background: white; box-shadow: 0 9px 25px #53618b1c; font-size: 11px; color: #606b82; }
.floating-card span { font-size: 21px; }.card-top { top: 70px; left: 0; transform: rotate(-4deg); }.card-bottom { bottom: 34px; right: -3px; transform: rotate(3deg); }
.section { max-width: 1124px; margin: 0 auto 76px; padding: 0 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
h2 { margin: 8px 0 0; font-size: 32px; letter-spacing: -.8px; line-height: 1.2; }
.section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 3px; }
.subject-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.subject-card { min-height: 225px; position: relative; padding: 22px 19px; border-radius: 22px; transition: transform .2s, box-shadow .2s; border: 1px solid #ffffff; }
.subject-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px #52618b14; }
.math { background: #eef0ff; }.russian { background: #fff0f3; }.world { background: #eaf6ee; }.english { background: #fff5df; }
.subject-icon { font-size: 30px; margin-bottom: 13px; }
.subject-tag { display: block; color: #7b86a0; font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.subject-card h3 { margin: 5px 0 7px; font-size: 18px; }
.subject-card p { margin: 0; color: #707990; font-size: 12px; line-height: 1.6; max-width: 210px; }
.card-arrow { position: absolute; right: 17px; bottom: 15px; font-size: 20px; color: #788ce1; }
.how { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: center; background: #f4f1ff; border-radius: 30px; padding: 40px 55px; }
.how-illustration { min-height: 250px; border-radius: 25px; background: linear-gradient(145deg,#dfe8ff,#fce8ef); display: grid; place-items: center; position: relative; overflow: hidden; }
.book-stack { font-size: 105px; filter: drop-shadow(0 12px 8px #5d5b8a22); transform: rotate(-8deg); }
.big-star { position: absolute; top: 22px; right: 45px; color: #e8bd5c; font-size: 48px; }.tiny-star { position: absolute; left: 35px; bottom: 30px; color: #8d9be5; font-size: 35px; }
.how-copy > p { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 560px; }
.steps { display: flex; gap: 18px; margin-top: 23px; }
.steps div { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; }
.steps span { grid-row: span 2; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: white; color: #7b8de0; font-weight: 900; }
.steps b { font-size: 12px; }.steps small { color: #7b8499; font-size: 10px; }
.achievement { display: flex; align-items: center; gap: 22px; padding: 26px 34px; border-radius: 23px; background: #fff5dc; }
.achievement-icon { font-size: 48px; }.achievement h2 { font-size: 23px; }.achievement p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }.stars { margin-left: auto; display: flex; gap: 8px; color: #e5b74e; font-size: 33px; }
.site-footer { max-width: 1124px; margin: auto; border-top: 1px solid #edf0f6; padding: 23px 28px 32px; display: flex; align-items: center; justify-content: space-between; }
.site-footer p { color: #8991a5; font-size: 11px; }.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%,20px); opacity: 0; pointer-events: none; background: #303951; color: white; padding: 12px 18px; border-radius: 12px; font-size: 13px; transition: .25s; box-shadow: 0 8px 25px #0002; }.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 850px) {
  .site-header { gap: 15px; }.main-nav { gap: 15px; }.header-button { display: none; }
  .hero { margin: 8px 16px 50px; padding: 38px 28px 0; grid-template-columns: 1fr .8fr; min-height: 450px; }.sasha-hero { height: 360px; }.hero-art { min-height: 360px; }.art-blob { height: 290px; }
  .subject-grid { grid-template-columns: repeat(2,1fr); }.how { gap: 30px; padding: 32px; }
}
@media (max-width: 600px) {
  .site-header { padding: 14px 18px; flex-wrap: wrap; justify-content: space-between; }.menu-toggle { display: block; }
  .main-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding: 8px 0; }.main-nav.open { display: flex; }.main-nav a { padding: 11px 4px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; margin: 4px 10px 48px; padding: 32px 23px 0; border-radius: 25px; gap: 8px; }
  h1 { font-size: 39px; }.hero-text { font-size: 14px; }.hero-art { min-height: 310px; margin-top: 8px; }.sasha-hero { height: 320px; }.art-blob { height: 260px; width: 85%; }.card-top { top: 28px; left: -4px; }.card-bottom { bottom: 20px; right: -4px; }
  .section { padding: 0 18px; margin-bottom: 52px; }.section-heading { display: block; }.section-heading > p { margin-top: 10px; }.desktop-only { display: none; } h2 { font-size: 27px; }
  .subject-grid { gap: 11px; }.subject-card { min-height: 215px; padding: 17px 14px; border-radius: 18px; }.subject-card h3 { font-size: 16px; }.subject-card p { font-size: 11px; }
  .how { display: flex; flex-direction: column; padding: 20px; gap: 23px; }.how-illustration { width: 100%; min-height: 170px; }.book-stack { font-size: 78px; }.steps { flex-direction: column; gap: 13px; }
  .achievement { align-items: flex-start; flex-wrap: wrap; padding: 22px; gap: 12px; }.achievement-icon { font-size: 37px; }.achievement > div:nth-child(2) { flex: 1; min-width: 190px; }.achievement h2 { font-size: 20px; }.stars { width: 100%; margin: 0; justify-content: flex-end; font-size: 27px; }
  .site-footer { flex-direction: column; gap: 8px; text-align: center; }.site-footer p { margin: 0; }
}
