/* New Schooligio pages: the same human-first palette and typography as the homepage. */
.page-main { overflow: hidden; }
.page-main h1, .page-main h2, .page-main h3 { font-family: var(--display); letter-spacing: -.05em; }
.page-main h1, .page-main h2 { line-height: 1.1; }
.page-main p { color: var(--muted); line-height: 1.7; }
.page-main .eyebrow { color: #7666a6; }
.audience-hero { background: #f9f8f5; position: relative; }
.audience-hero:before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #eee8fa; filter: blur(3px); top: -160px; right: -100px; opacity: .7; }
.audience-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; min-height: 625px; padding-top: 80px; padding-bottom: 90px; position: relative; }
.audience-hero-copy { max-width: 590px; }
.audience-hero h1 { font-size: clamp(46px, 4.7vw, 66px); margin: 22px 0 23px; font-weight: 800; }
.audience-hero h1 em { color: #806bc8; font-style: normal; }
.audience-hero-copy > p { font-size: 18px; max-width: 520px; margin: 0; }
.page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.page-actions .text-link { padding: 12px 0; }
.audience-hero-note { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px; color: #858091; font-size: 13px; font-weight: 700; }
.audience-hero-note span:before { content: '✳'; color: #9d89d4; margin-right: 7px; }
.hero-preview-wrap { position: relative; padding: 42px 25px; }
.hero-preview-wrap:before { content: ''; position: absolute; inset: 5% 1%; background: #e8e1f7; border-radius: 48% 52% 55% 45% / 45% 51% 49% 55%; transform: rotate(-7deg); }
.school-hero .hero-preview-wrap:before { background: #e2eee4; }
.hero-preview-window { position: relative; background: #fff; border: 1px solid #eeebf0; border-radius: 14px; box-shadow: 0 25px 55px rgba(61, 48, 103, .13); transform: rotate(-2deg); padding: 20px; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #f0edf2; color: #8a8494; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.preview-brand { font-family: var(--display); color: #5e5291; font-size: 13px; font-weight: 800; letter-spacing: -.05em; }
.preview-brand b { color: #9b83d4; font-size: 18px; margin-right: 3px; }
.preview-head { padding: 24px 5px 18px; }
.preview-head small { color: #9c8bc6; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.preview-head strong { display: block; margin-top: 7px; font-family: var(--display); font-size: 21px; letter-spacing: -.04em; }
.preview-head p { margin: 6px 0 0; font-size: 11px; }
.preview-tiles { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.preview-tile { min-height: 130px; background: #f5f1fb; border-radius: 10px; padding: 16px; }
.preview-tile:nth-child(2) { background: #fbf4e4; }
.preview-tile small { display: block; font-size: 9px; font-weight: 800; color: #8f81aa; letter-spacing: .08em; }
.preview-tile strong { display: block; font-family: var(--display); font-size: 14px; letter-spacing: -.03em; margin: 12px 0 5px; }
.preview-tile p { font-size: 10px; margin: 0; }
.preview-lines { display: grid; gap: 7px; margin-top: 17px; }
.preview-lines i { height: 5px; border-radius: 4px; background: #e3d9f1; width: 100%; }
.preview-lines i:nth-child(2) { width: 68%; }
.preview-list { margin-top: 10px; border: 1px solid #f1eff2; border-radius: 10px; padding: 12px 15px; display: flex; align-items: center; gap: 10px; }
.preview-list > span { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #e7f2e7; color: #7ca77e; }
.preview-list strong, .preview-list small { display: block; }
.preview-list strong { font-size: 11px; }
.preview-list small { font-size: 10px; color: #aaa6b1; margin-top: 3px; }
.preview-caption { position: absolute; right: 30px; bottom: 14px; color: #978ca9; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.preview-float { position: absolute; z-index: 2; left: 0; bottom: 65px; background: #fff; border: 1px solid #f1edf4; box-shadow: 0 10px 28px rgba(66, 50, 109, .12); border-radius: 10px; padding: 13px 17px; font-size: 12px; font-weight: 800; transform: rotate(4deg); }
.preview-float span { color: #a48dd7; margin-right: 6px; font-size: 18px; }
.audience-proof { border-bottom: 1px solid #efeded; background: #fff; }
.audience-proof-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding: 30px 0; }
.audience-proof-item { display: flex; align-items: center; gap: 13px; }
.audience-proof-item > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #eee8f8; color: #806bb9; font-size: 20px; flex: none; }
.audience-proof-item:nth-child(2) > span { background: #faeed1; color: #ae8b48; }
.audience-proof-item:nth-child(3) > span { background: #e5f0e6; color: #76a07a; }
.audience-proof-item strong, .audience-proof-item small { display: block; }
.audience-proof-item strong { font: 800 14px var(--display); letter-spacing: -.03em; }
.audience-proof-item small { margin-top: 5px; color: #92909e; font-size: 12px; }
.page-section { padding: 105px 0; }
.page-section.soft { background: #faf9f6; }
.page-section-heading { max-width: 760px; margin-bottom: 44px; }
.page-section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.page-section-heading h2 { font-size: clamp(37px, 3.6vw, 50px); margin: 17px 0 16px; font-weight: 800; }
.page-section-heading p { font-size: 17px; max-width: 650px; margin: 0; }
.page-section-heading.center p { margin: 0 auto; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.benefit-card { padding: 31px; border-radius: 15px; background: #f9e4d9; min-height: 230px; }
.benefit-card:nth-child(3n+2) { background: #ece6f8; }
.benefit-card:nth-child(3n) { background: #f8eecf; }
.benefit-card:nth-child(4) { background: #e7f0e6; }
.benefit-card:nth-child(5) { background: #f7eee5; }
.benefit-card:nth-child(6) { background: #e9e8f7; }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.72); color: #7562ae; font-size: 21px; }
.benefit-card h3 { font-size: 22px; margin: 23px 0 10px; line-height: 1.2; }
.benefit-card p { font-size: 14px; margin: 0; }
.editorial-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.editorial-photo { position: relative; }
.editorial-photo:before { content: ''; position: absolute; inset: 15px -15px -15px 15px; background: #e7e0f4; border-radius: 18px; }
.editorial-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.editorial-copy h2 { font-size: clamp(37px, 3.6vw, 50px); margin: 18px 0 18px; }
.editorial-copy > p { font-size: 17px; margin: 0 0 21px; }
.editorial-list { list-style: none; margin: 25px 0 0; padding: 0; }
.editorial-list li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #e9e6e8; color: #5b5b6e; line-height: 1.55; font-size: 15px; }
.editorial-list li:before { content: '✳'; color: #927bc9; flex: none; }
.section-note { color: #85818f !important; font-size: 12px !important; margin: 22px 0 0; }
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; }
.step-item { border-top: 1px solid #dfdbe6; padding-top: 24px; }
.step-number { color: #917ec7; font: 800 11px var(--display); letter-spacing: .12em; }
.step-item h3 { font-size: 21px; margin: 17px 0 10px; }
.step-item p { margin: 0; font-size: 15px; }
.page-cta { background: #7564b6; color: #fff; text-align: center; position: relative; overflow: hidden; }
.page-cta .container { position: relative; padding-top: 85px; padding-bottom: 90px; }
.page-cta .eyebrow { color: #ded5f5; }
.page-cta h2 { font-size: clamp(39px,4vw,56px); max-width: 750px; margin: 20px auto 15px; }
.page-cta p { color: #ebe4f8; font-size: 17px; max-width: 650px; margin: 0 auto; }
.page-cta .page-actions { justify-content: center; margin-top: 28px; }
.page-cta .cta-decoration { position: absolute; color: #c9b8eb; font-size: 58px; top: 52px; left: 3%; }
.page-cta .cta-decoration.right { left: auto; right: 5%; top: auto; bottom: 55px; color: #f5d998; font-size: 38px; }
/* Pricing page */
.pricing-hero { background: #f9f8f5; padding: 82px 0 72px; text-align: center; }
.pricing-hero h1 { font-size: clamp(48px,5vw,68px); font-weight: 800; max-width: 850px; margin: 20px auto 18px; }
.pricing-hero h1 em { font-style: normal; color: #806bc8; }
.pricing-hero p { font-size: 18px; max-width: 680px; margin: 0 auto; }
.pricing-hero .page-actions { justify-content: center; margin-top: 28px; }
.pricing-section { padding: 80px 0 100px; }
.pricing-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.pricing-intro h2 { font-size: 38px; margin: 12px 0 0; }
.pricing-intro > p { max-width: 390px; margin: 0; font-size: 15px; }
.plans-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; align-items: stretch; }
.plan-card { border: 1px solid #e9e5ea; border-radius: 15px; padding: 23px 18px 19px; display: flex; flex-direction: column; background: #fff; min-width: 0; }
.plan-card.highlight { background: #f1ecfa; border-color: #ddd3f3; }
.plan-topline { min-height: 23px; display: flex; justify-content: space-between; gap: 5px; align-items: flex-start; }
.plan-topline h3 { margin: 0; font-size: 15px; line-height: 1.2; }
.plan-badge { background: #e5dbf5; color: #6955aa; border-radius: 20px; padding: 5px 7px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.plan-price { font: 800 37px var(--display); letter-spacing: -.06em; margin-top: 27px; }
.plan-period { font-size: 12px; color: #777183; min-height: 34px; line-height: 1.4; margin: 3px 0 14px; }
.plan-compare { font-size: 12px; color: #8e8998; min-height: 39px; line-height: 1.5; margin-bottom: 14px; }
.plan-compare s { color: #aaa5ae; }
.plan-card .button { width: 100%; padding: 16px 8px; margin-top: auto; }
.pricing-note { margin-top: 18px; font-size: 12px; color: #807b89; line-height: 1.7; }
.included-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.included-layout h2 { font-size: clamp(36px,3.3vw,48px); margin: 16px 0; }
.included-layout p { font-size: 16px; }
.included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.included-list li { background: #fff; border: 1px solid #ece9ed; border-radius: 10px; padding: 18px; font-size: 14px; font-weight: 700; line-height: 1.45; display: flex; gap: 10px; }
.included-list li:before { content: '✓'; color: #8067bc; font-weight: 800; }
.school-pricing { background: #ece6f8; border-radius: 18px; padding: 48px 55px; display: flex; gap: 35px; align-items: center; justify-content: space-between; }
.school-pricing h2 { font-size: 33px; margin: 12px 0; }
.school-pricing p { max-width: 670px; margin: 0; }
.school-pricing .button { flex: none; }
.pricing-faq { max-width: 850px; margin: 0 auto; }
.pricing-faq details { border-bottom: 1px solid #e7e5e5; }
.pricing-faq details:first-of-type { border-top: 1px solid #e7e5e5; }
.pricing-faq summary { list-style: none; cursor: pointer; padding: 21px 0; display: flex; gap: 15px; justify-content: space-between; font: 700 16px var(--display); letter-spacing: -.03em; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary span { color: #8f79c5; font-size: 22px; }
.pricing-faq details p { margin: 0 0 22px; font-size: 15px; }
@media (max-width: 1050px) {
  .audience-hero-grid { gap: 35px; }
  .plans-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .editorial-layout { gap: 50px; }
}
@media (max-width: 800px) {
  .audience-hero-grid { grid-template-columns: 1fr; gap: 25px; min-height: 0; padding-top: 65px; padding-bottom: 65px; }
  .audience-hero-copy { max-width: 680px; }
  .hero-preview-wrap { max-width: 600px; width: 100%; margin: 0 auto; }
  .audience-proof-inner { grid-template-columns: 1fr; gap: 17px; }
  .page-section { padding: 75px 0; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .editorial-layout { grid-template-columns: 1fr; gap: 45px; }
  .editorial-photo { max-width: 640px; }
  .steps-row { gap: 22px; }
  .pricing-intro { display: block; }
  .pricing-intro > p { margin-top: 15px; }
  .included-layout { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 520px) {
  .audience-hero-grid { padding-top: 48px; padding-bottom: 55px; }
  .audience-hero h1, .pricing-hero h1 { font-size: 43px; }
  .audience-hero-copy > p, .pricing-hero p { font-size: 16px; }
  .page-actions { gap: 15px; }
  .hero-preview-wrap { padding: 35px 10px; }
  .hero-preview-window { padding: 15px; }
  .preview-head strong { font-size: 17px; }
  .preview-tile { padding: 12px; min-height: 125px; }
  .preview-float { left: -3px; bottom: 42px; font-size: 10px; }
  .preview-caption { right: 12px; bottom: 5px; font-size: 8px; }
  .page-section { padding: 66px 0; }
  .page-section-heading h2, .editorial-copy h2 { font-size: 36px; }
  .page-section-heading p, .editorial-copy > p { font-size: 16px; }
  .benefit-grid, .steps-row { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; padding: 25px; }
  .benefit-card h3 { margin-top: 18px; }
  .page-cta .container { padding-top: 70px; padding-bottom: 72px; }
  .page-cta h2 { font-size: 38px; }
  .page-cta .cta-decoration { font-size: 30px; top: 30px; }
  .pricing-hero { padding: 60px 0; }
  .pricing-section { padding: 65px 0 75px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 24px; }
  .plan-price { margin-top: 15px; }
  .plan-period, .plan-compare { min-height: 0; }
  .included-list { grid-template-columns: 1fr; }
  .school-pricing { padding: 32px 25px; flex-direction: column; align-items: flex-start; }
  .school-pricing h2 { font-size: 29px; }
}

/* Keep important plan details readable and links identifiable. */
.page-main .section-note, .pricing-note, .plan-compare { color: #625d6c !important; }
.plan-compare s { color: #6a6573; }
.pricing-faq details p a { color: #59458f; text-decoration: underline; text-underline-offset: 3px; }
