/* Chalk & Clover public pages. Loaded after the shared application theme. */
.clover-home,
.clover-features { color: #1b2320; background: #fbfaf7; font-family: Figtree, system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
.clover-home :is(h1, h2, h3),
.clover-features :is(h1, h2, h3) { margin: 0; color: #1b2320; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.clover-home p { margin: 0; }
.clover-home a { text-decoration: none; }
.clover-home a:hover { color: #0e4433; }
.clover-home :focus-visible,
.clover-features :focus-visible { outline: 2px solid #135640; outline-offset: 3px; }
.page-home main#main-content,
.page-features main#main-content { padding: 0; }
.page-home .app-footer { display: none; }
.clover-home-hero { max-width: 960px; margin: 0 auto; padding: 104px 40px 76px; text-align: center; }
.clover-home-hero h1 { font-size: 68px; line-height: 1.01; letter-spacing: -.045em; }
.clover-home-hero h1 span,
.clover-feature-hero h1 span { color: #135640; }
.clover-home-hero > p { max-width: 56ch; margin: 26px auto 0; color: #47534d; font-size: 20px; line-height: 1.5; }
.clover-home-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.clover-home-actions > span { color: #5c6862; font-size: 15.5px; }
.clover-home .button,
.clover-features .button { min-height: 50px; padding: 16px 32px; border: 1px solid #135640; border-radius: 12px; background: #135640; color: #fff; font-size: 16.5px; font-weight: 600; line-height: 1.3; text-decoration: none; box-shadow: none; transform: none; }
.clover-home .button:hover,
.clover-features .button:hover { background: #0e4433; color: #fff; transform: none; box-shadow: none; }
.clover-home .button.secondary,
.clover-features .button.secondary { border-color: #d5cfc2; background: transparent; color: #135640; }
.clover-home .button.secondary:hover,
.clover-features .button.secondary:hover { border-color: #a8cbba; background: #f3f1eb; color: #0e4433; }
.clover-home-roles { max-width: 1000px; padding: 0 40px 48px; margin: 0 auto; }
.clover-home-roles h2 { margin-bottom: 20px; color: #5c6862; font-size: 15px; font-weight: 400; letter-spacing: 0; text-align: center; }
.clover-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.clover-role-card { display: flex; align-items: flex-start; gap: 17px; padding: 24px; border: 1px solid #e6e2d8; border-radius: 16px; background: #fff; }
.clover-role-card:hover { border-color: #a8cbba; }
.clover-role-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #e4efe9; color: #135640; }
.clover-role-icon .material-symbols-rounded { font-size: 26px; }
.clover-role-teacher .clover-role-icon { background: #fbf0dc; color: #7a5210; }
.clover-role-learner .clover-role-icon { background: #ede7f5; color: #5b4b8a; }
.clover-role-parent .clover-role-icon { background: #e8f1f7; color: #2a6f97; }
.clover-role-office .clover-role-icon { background: #f5ebe6; color: #9c5b3a; }
.clover-role-district .clover-role-icon { background: #f3f1eb; color: #47534d; }
.clover-role-card strong { display: block; color: #1b2320; font-size: 18.5px; font-weight: 600; letter-spacing: -.02em; }
.clover-role-description { display: block; margin-top: 6px; color: #47534d; font-size: 15px; line-height: 1.5; }
.clover-role-link { display: inline-block; margin-top: 12px; color: #135640; font-size: 14.5px; font-weight: 600; }
.clover-home .clover-other-roles { margin-top: 22px; color: #5c6862; font-size: 13.5px; text-align: center; }
.clover-other-roles a { color: #135640; text-decoration: underline; text-underline-offset: 3px; }
.clover-family-band { padding: 80px 40px; }
.clover-band-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; max-width: 1000px; margin: 0 auto; }
.clover-home .clover-eyebrow,
.clover-eyebrow { color: #7a5210; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
.clover-home h2 { font-size: 38px; }
.clover-home .clover-home-roles h2 { font-size: 15px; }
.clover-family-band h2 { max-width: 20ch; margin-top: 14px; }
.clover-home .clover-section-copy { max-width: 50ch; margin-top: 16px; color: #47534d; font-size: 17px; }
.clover-check-list { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.clover-check-list li { display: flex; gap: 11px; align-items: center; font-size: 15.5px; }
.clover-check-list li > span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e4efe9; color: #135640; }
.clover-phone-figure { justify-self: center; margin: 0; text-align: center; }
.clover-phone { display: flex; flex-direction: column; position: relative; width: 280px; min-height: 525px; padding: 18px 18px 30px; overflow: hidden; border: 1px solid #d5cfc2; border-radius: 32px; background: #fbfaf7; text-align: left; box-shadow: 0 10px 30px rgba(27,35,32,.07); }
.clover-phone-speaker { width: 58px; height: 5px; margin: 0 auto 22px; border-radius: 999px; background: #d5cfc2; }
.clover-phone-brand { display: flex; align-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid #e6e2d8; font-size: 14px; font-weight: 600; }
.clover-phone-brand > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #135640; color: white; font-size: 13px; }
.clover-phone-brand > span:last-child { margin-left: auto; font-size: 20px; }
.clover-home .clover-phone-eyebrow { margin-top: 22px; color: #5c6862; font: 400 13px/1.5 'IBM Plex Mono', monospace; }
.clover-phone h3 { margin-top: 8px; font-size: 24px; }
.clover-phone-next { display: grid; grid-template-columns: 24px 1fr; gap: 7px; margin-top: 18px; padding: 14px; border: 1px solid #bbd3c6; border-radius: 12px; background: #e4efe9; color: #135640; }
.clover-phone-next > strong { font-size: 14px; }
.clover-phone-next > p { grid-column: 1 / -1; color: #2e463c; font-size: 13px; }
.clover-phone-row { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid #e6e2d8; }
.clover-phone-row > .material-symbols-rounded { color: #5b4b8a; font-size: 20px; }
.clover-phone-row strong { display: block; font-size: 13px; font-weight: 600; }
.clover-phone-row small { display: block; color: #5c6862; font-size: 13px; }
.clover-phone-row > span:last-child { margin-left: auto; }
.clover-phone-home { width: 70px; height: 4px; margin: 20px auto 0; border-radius: 999px; background: #1b2320; }
.clover-phone-figure figcaption { max-width: 280px; margin-top: 16px; color: #5c6862; font-size: 13px; }
.clover-assurance-band { padding: 76px 40px; background: #e4efe9; }
.clover-assurance-band .clover-band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clover-assurance-band h2 { max-width: 17ch; }
.clover-assurance-band .clover-section-copy { color: #2e463c; }
.clover-assurance-list { display: grid; gap: 1px; overflow: hidden; margin: 0; padding: 0; border: 1px solid #bbd3c6; border-radius: 16px; background: #bbd3c6; list-style: none; }
.clover-assurance-list li { display: flex; align-items: center; gap: 13px; padding: 17px 20px; background: #f4f9f6; font-size: 15.5px; }
.clover-assurance-list .material-symbols-rounded { flex: none; color: #135640; font-size: 21px; }
.clover-closing { padding: 88px 40px; text-align: center; }
.clover-closing > p { max-width: 56ch; margin: 16px auto 0; color: #47534d; font-size: 17.5px; }
.clover-closing .clover-home-actions { gap: 12px; margin-top: 28px; }
.clover-school-contact { max-width: 700px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid #e6e2d8; }
.clover-school-contact > strong,
.clover-school-contact > span { display: block; }
.clover-school-contact > span { color: #5c6862; font-size: 14px; }
.clover-school-contact > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 14px; }
.clover-school-contact a { color: #135640; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.clover-home-footer { padding: 44px 40px 34px; background: #12241d; color: #c6d4cc; }
.clover-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.clover-footer-brand > a { display: inline-flex; align-items: center; gap: 10px; color: white; }
.clover-footer-brand > a > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; color: #12241d; font-weight: 800; }
.clover-footer-brand strong { font-size: 17px; font-weight: 600; }
.clover-home .clover-footer-brand p { margin-top: 16px; color: #a9bdb1; font-size: 14px; }
.clover-home-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.clover-home-footer nav h2 { margin-bottom: 8px; color: #a9bdb1; font: 500 13px/1.4 'IBM Plex Mono', monospace; letter-spacing: .09em; text-transform: uppercase; }
.clover-home-footer nav a { color: #c6d4cc; font-size: 14px; }
.clover-home-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.clover-home .clover-footer-bottom { max-width: 1000px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #34483d; color: #a9bdb1; font-size: 13px; }
/* Features uses the same paper, type and card language as the landing page. */
.clover-feature-hero { max-width: 960px; margin: 0 auto; padding: 88px 40px 56px; text-align: center; }
.clover-feature-hero h1 { margin-top: 16px; font-size: 58px; letter-spacing: -.045em; }
.clover-feature-hero > div > p:not(.clover-eyebrow) { max-width: 56ch; margin: 22px auto 0; color: #47534d; font-size: 20px; }
.clover-features .clover-feature-content { width: min(1080px, 100%); max-width: 1080px; margin: 0 auto; padding: 0 40px 76px; }
.clover-features .feature-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.clover-features .clover-feature-card { padding: 26px; border: 1px solid #e6e2d8; border-radius: 16px; background: #fff; box-shadow: none; }
.clover-features .clover-feature-card:hover { border-color: #a8cbba; transform: none; }
.clover-feature-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 24px; border-radius: 12px; background: #e4efe9; color: #135640; font: 500 14px/1 'IBM Plex Mono', monospace; }
.clover-feature-card h2 { font-size: 22px; }
.clover-feature-card p { margin-top: 12px; color: #47534d; font-size: 15.5px; }
.clover-features .school-band { margin: 32px 0; padding: 26px; border: 1px solid #bbd3c6; border-radius: 16px; background: #e4efe9; color: #1b2320; }
.clover-features .school-band :is(strong, small, .mini-label) { color: #2e463c; }
.clover-features .school-band .button { min-height: 44px; padding: 12px 18px; font-size: 14px; }
.clover-features .panel { padding: 26px; border: 1px solid #e6e2d8; border-radius: 16px; background: #fff; box-shadow: none; }
.clover-features .panel h2 { font-size: 24px; }
.clover-features .feature-list { margin-top: 20px; }
.clover-features .feature-list > span { border-color: #e6e2d8; color: #47534d; }
/* Authentication and recovery share a calm, accessible card layout. */
.auth-shell { display: grid; justify-items: center; gap: 32px; width: 100%; max-width: 1100px; margin: 0 auto; padding: 64px 24px 80px; }
.auth-shell .auth-card { width: 100%; max-width: 470px; padding: 40px; border: 1px solid #e6e2d8; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(27,35,32,.04); }
.clover-auth-mark { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 26px; border-radius: 12px; background: #135640; color: #fff; font-size: 23px; font-weight: 800; }
.auth-shell .auth-intro { margin-bottom: 28px; padding: 0; border: 0; text-align: left; }
.page-login .auth-intro { text-align: center; }
.auth-shell .auth-intro h1 { max-width: none; margin: 12px 0; color: #1b2320; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.auth-shell .auth-intro p:not(.clover-eyebrow) { color: #5c6862; font-size: 15px; }
.auth-shell .auth-form { gap: 20px; margin-top: 0; }
.auth-shell .auth-form label { margin: 0; color: #47534d; font-size: 14px; font-weight: 600; }
.auth-shell .auth-form input { min-height: 48px; border: 1px solid #d5cfc2; border-radius: 9px; background: #fbfaf7; color: #1b2320; font-size: 16px; }
.auth-shell .auth-form button { min-height: 48px; border: 1px solid #135640; border-radius: 10px; background: #135640; color: #fff; font-size: 16px; }
.auth-shell .auth-form button:hover { background: #0e4433; transform: none; }
.auth-shell .auth-help { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e6e2d8; color: #5c6862; font-size: 14px; scroll-margin-top: 100px; }
.auth-shell .auth-help a { color: #135640; text-decoration: underline; text-underline-offset: 3px; }
.auth-shell .demo-switcher { width: 100%; padding: 26px; border: 1px solid #e6e2d8; border-radius: 16px; background: #f3f1eb; }
.auth-shell .quick-login-button { min-height: 112px; border: 1px solid #e6e2d8; border-radius: 12px; background: white; color: #1b2320; box-shadow: none; }
.auth-shell .quick-login-button:hover { border-color: #a8cbba; transform: none; }
/* Public school websites retain their configured identity and published content. */
.school-site-body { background: #fbfaf7; color: #1b2320; font-family: Figtree, system-ui, sans-serif; }
.school-site-body .school-site-header { background: rgba(251,250,247,.94); border-color: #e6e2d8; backdrop-filter: blur(8px); }
.school-site-body .school-site-header-inner { max-width: 1240px; }
.school-site-body .school-site-brand-copy strong { letter-spacing: -.025em; }
.school-site-body .school-site-nav-links a { color: #47534d; }
.school-site-body .school-site-nav-links a:hover { background: #f3f1eb; color: #135640; }
.school-site-body .school-site-hero { min-height: 540px; }
.school-site-body .school-site-hero h1 { font-family: Figtree, system-ui, sans-serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.school-site-body .school-site-hero-card { border: 1px solid rgba(255,255,255,.3); border-radius: 16px; box-shadow: none; }
.school-site-body .school-site-section h2 { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.school-site-body .school-site-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: .07em; }
.school-site-body :is(.school-site-performance, .school-site-contact, .school-site-member-section) { background: #f3f1eb; }
.school-site-body :is(.school-site-kpi, .school-site-chart-card, .school-site-content-card, .school-site-post-card, .school-site-contact-card, .school-site-empty-state, .school-site-member-panel) { border-color: #e6e2d8; border-radius: 16px; box-shadow: none; }
.school-site-body :is(.school-site-button, .school-site-menu-toggle) { min-height: 44px; border-radius: 10px; font-family: Figtree, system-ui, sans-serif; font-weight: 600; }
.school-site-body .school-site-button:hover { transform: none; box-shadow: none; }
.school-site-body :is(input, select, textarea) { border-color: #d5cfc2; border-radius: 9px; }
.school-site-body .school-site-footer { background: #12241d; color: #c6d4cc; }
@media (max-width: 900px) {
  .clover-home-hero { padding-top: 76px; }
  .clover-home-hero h1 { font-size: 56px; }
  .clover-band-inner { gap: 32px; }
  .clover-home h2 { font-size: 34px; }
  .clover-features .feature-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clover-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .clover-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .clover-home-hero { padding: 56px 24px 48px; }
  .clover-home-hero h1 { font-size: 44px; }
  .clover-home-hero > p { margin-top: 22px; font-size: 18px; }
  .clover-home-actions { gap: 16px; margin-top: 28px; }
  .clover-home-roles { padding: 0 20px 32px; }
  .clover-role-grid { grid-template-columns: 1fr; gap: 12px; }
  .clover-role-card { padding: 20px; gap: 14px; }
  .clover-role-card strong { font-size: 18px; }
  .clover-other-roles a { display: inline-block; padding: 6px 0; }
  .clover-family-band,
  .clover-assurance-band { padding: 52px 24px; }
  .clover-band-inner,
  .clover-assurance-band .clover-band-inner { grid-template-columns: 1fr; gap: 36px; }
  .clover-home h2 { font-size: 32px; }
  .clover-family-band h2,
  .clover-assurance-band h2 { max-width: none; }
  .clover-home .clover-section-copy { font-size: 16px; }
  .clover-check-list li { align-items: flex-start; font-size: 15px; }
  .clover-phone { width: 264px; }
  .clover-assurance-list li { padding: 16px; font-size: 15px; }
  .clover-closing { padding: 56px 24px; }
  .clover-closing > p { font-size: 16px; }
  .clover-closing .button { width: 100%; }
  .clover-home-footer { padding: 36px 24px 28px; }
  .clover-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .clover-home-footer nav { gap: 0; }
  .clover-home-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .clover-feature-hero { padding: 56px 24px 36px; }
  .clover-feature-hero h1 { font-size: 40px; }
  .clover-feature-hero > div > p:not(.clover-eyebrow) { font-size: 18px; }
  .clover-features .clover-feature-content { padding: 0 20px 52px; }
  .clover-features .feature-showcase { grid-template-columns: 1fr; }
  .clover-features .school-band { align-items: stretch; }
  .clover-features .school-band .hero-actions { flex-wrap: wrap; }
  .auth-shell { padding: 36px 20px 56px; }
  .auth-shell .auth-card { padding: 28px 24px; }
  .auth-shell .auth-intro h1 { font-size: 28px; }
  .school-site-body .school-site-section h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .clover-home *, .clover-features *, .auth-shell *, .school-site-body * { scroll-behavior: auto; transition: none; }
}
