/* Homepage slideshow; no changes to ERP or contact-page styles. */
.landing-page:has(.hero-carousel) .masthead{background:linear-gradient(125deg,#edf9f8 0%,#f5f9fd 52%,#e8f0ff 100%)}
.landing-page .hero-carousel{padding-block:54px 25px}
.hero-slides{display:grid;isolation:isolate}
.hero-slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(30px,4.5vw,68px);align-items:center;min-width:0;opacity:1;visibility:visible;transition:opacity .45s ease,visibility .45s}
.hero-slide[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none}
.hero-carousel .hero-copy{width:100%;max-width:none;margin:0;text-align:left;padding-block:22px}
.hero-carousel .hero-copy .eyebrow{font-size:12px;letter-spacing:1.15px;margin:0;color:#086e79}
.hero-carousel :is(h1,.hero-slide-title){margin:22px 0 0;font-size:clamp(42px,4.15vw,62px);line-height:1.08;letter-spacing:-.047em;font-weight:650;text-wrap:balance}
.hero-carousel :is(h1,.hero-slide-title) span{color:#007c9a}
.hero-carousel .hero-copy :is(#hero-description,.hero-slide-description){font-size:17px;line-height:1.8;margin:24px 0 0;max-width:550px;color:#496572}
.hero-carousel .hero-actions{justify-content:flex-start;margin-top:30px;gap:12px}
.hero-carousel .hero-actions .button{font-size:14px;padding:15px 20px;min-height:52px}
.hero-carousel .hero-actions .button:not(.outline){background:#007c98;border-color:#007c98;box-shadow:0 5px 15px #007c981b;color:white}
.hero-carousel .hero-actions .button:not(.outline):hover{background:#005e76;border-color:#005e76}
.hero-carousel .hero-note{justify-content:flex-start;font-size:13px;margin-top:22px;color:#45616e;gap:7px}
.hero-carousel .dashboard-screenshot{margin:0;width:100%;max-width:none;border:1px solid #b7d3df;box-shadow:0 24px 65px #1b4d7020;transform:none;border-radius:14px}
.hero-carousel .dashboard-screenshot .preview-browser{min-height:45px;font-size:12px;background:#103d4b;color:#def3fa;border:0;padding:10px 15px}
.hero-carousel .dashboard-screenshot .sample-tag{font-size:11px;color:#d6f7f6;background:#ffffff0b;border-color:#ffffff35}
.hero-carousel .browser-controls{display:none}
.hero-carousel .hero-dashboard-image{width:100%;height:auto;aspect-ratio:1899/944}
.hero-carousel .dashboard-screenshot figcaption{padding:15px;font-size:12px;flex-wrap:wrap;background:#fff}
.hero-carousel .dashboard-screenshot figcaption>span:first-child{font-size:12px}
.hero-visual{background:#fff;border:1px solid #b7d3df;box-shadow:0 24px 65px #1b4d701b;border-radius:16px;overflow:hidden;min-width:0;color:#123947}
.hero-visual-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:#103d4b;color:#eefaff;font-size:14px;font-weight:600}
.hero-visual-top>span:first-child{display:flex;align-items:center;gap:10px}
.hero-sample{font-size:12px;font-weight:400;color:#c7e0e9;white-space:nowrap}
.hero-receipt{padding:25px 30px 0;background:linear-gradient(140deg,#f0fbfa,#fff 55%)}
.hero-document-heading{display:flex;align-items:center;gap:14px;padding-bottom:22px}
.hero-visual-icon{display:grid;place-items:center;width:44px;height:48px;border-radius:9px;background:#d9f2ed;color:#087869;flex-shrink:0}
.hero-document-heading small,.hero-classroom-heading>small{display:block;font-size:11px;font-weight:650;letter-spacing:1.2px;color:#53727d}
.hero-document-heading h3{font-size:19px;margin-top:5px;letter-spacing:-.4px}
.hero-student-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #dbe9ed;font-size:16px}
.hero-student-row small{display:block;font-size:13px;color:#607782;margin-top:3px}
.hero-receipt-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 0;border-top:1px solid #b7d9d9;font-size:15px}
.hero-receipt-total small{display:block;color:#607782;font-size:12px;margin-top:2px}
.hero-receipt-total>strong{font-size:33px;letter-spacing:-1px;color:#087869}
.hero-receipt-confirm{display:flex;gap:9px;align-items:center;padding:14px 0;color:#0a7361;border-top:1px dashed #bad7cf;font-size:13px}
.hero-visual-footer{display:flex;gap:8px;align-items:center;border-top:1px solid #dce7ec;padding:14px 20px;color:#52707e;font-size:12px;background:#f8fbfd}
.hero-visual-footer svg{width:17px;height:17px}
.hero-classroom{padding:26px 28px;background:linear-gradient(130deg,#f2f0fc,#fff 60%)}
.hero-classroom-heading h3{margin-top:8px;font-size:25px;letter-spacing:-.7px}
.hero-classroom-heading p{font-size:13px;color:#607382;margin:7px 0 18px}
.hero-class-task{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #e0e4ef}
.hero-class-task>div{flex:1;min-width:0}
.hero-class-task strong{font-size:15px}
.hero-class-task small{display:block;font-size:13px;color:#61717e;margin-top:2px}
.hero-task-icon{display:grid;place-items:center;background:#ece8ff;color:#6752b3;width:38px;height:38px;border-radius:9px;flex-shrink:0}
.hero-class-task>svg{width:17px;color:#19756d}
.hero-carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:22px;border-top:1px solid #c9dfe6;margin-top:30px;padding-top:19px}
.hero-slide-selectors{display:flex;gap:25px;align-items:center}
.hero-slide-selectors button{position:relative;border:0;background:none;padding:12px 0 16px;font-size:14px;line-height:1.4;font-weight:600;color:#59717d}
.hero-slide-selectors button:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:transparent;transition:background .25s}
.hero-slide-selectors button[aria-current=true]{color:#006e86}
.hero-slide-selectors button[aria-current=true]:after{background:#008baa}
.hero-slide-selectors button:hover{color:#006e86}
.hero-playback{display:flex;gap:8px;align-items:center}
.hero-playback>span{font-size:12px;color:#52717e;margin-right:8px;font-variant-numeric:tabular-nums}
.hero-playback button{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid #bfd4df;border-radius:50%;background:#ffffffc7;color:#1a5368;font-size:16px}
.hero-playback button:hover{background:#e1f4f7;border-color:#5fa6b8}
@media(min-width:1600px){.landing-page .hero-carousel{padding-block:65px 28px}}
@media(max-width:1100px){.hero-slide{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.hero-carousel :is(h1,.hero-slide-title){font-size:43px}.hero-carousel .hero-copy :is(#hero-description,.hero-slide-description){font-size:16px}.hero-carousel .hero-actions .button{padding-inline:14px;font-size:13px}.hero-carousel .hero-note{font-size:12px}.hero-visual-top{padding:14px}.hero-receipt{padding:20px 22px 0}.hero-classroom{padding:22px}.hero-classroom-heading h3{font-size:22px}}
@media(max-width:850px){.landing-page .hero-carousel{padding-top:32px}.hero-slide{grid-template-columns:minmax(0,1fr);gap:28px;align-content:start}.hero-carousel .hero-copy{text-align:center;padding:0;max-width:700px;margin-inline:auto}.hero-carousel :is(h1,.hero-slide-title){font-size:clamp(38px,6.1vw,54px)}.hero-carousel .hero-copy :is(#hero-description,.hero-slide-description){margin-inline:auto;max-width:590px}.hero-carousel .hero-actions,.hero-carousel .hero-note{justify-content:center}.hero-carousel .dashboard-screenshot,.hero-visual{max-width:660px;margin:0 auto;width:100%;align-self:center}.hero-carousel .hero-actions{display:flex}.hero-carousel-controls{margin-top:27px}.hero-slide-selectors{gap:20px}}
@media(max-width:540px){.hero-carousel :is(h1,.hero-slide-title){font-size:clamp(34px,8.9vw,46px);letter-spacing:-.045em;margin-top:18px}.hero-carousel .hero-copy .eyebrow{font-size:10px;letter-spacing:.8px}.hero-carousel .hero-copy :is(#hero-description,.hero-slide-description){margin-top:19px;font-size:16px;line-height:1.7}.hero-carousel .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);max-width:390px;margin-top:24px;margin-inline:auto}.hero-carousel .hero-actions .button{font-size:14px;min-height:49px}.hero-carousel .hero-note{font-size:12px;gap:5px;margin-top:18px}.hero-carousel .hero-note>span{margin-inline:4px}.hero-slide{gap:26px}.hero-carousel-controls{flex-wrap:wrap;justify-content:center;gap:15px;padding-top:12px}.hero-slide-selectors{justify-content:space-between;gap:16px;width:100%}.hero-slide-selectors button{font-size:12px;padding:12px 0}.hero-playback{gap:12px}.hero-carousel .dashboard-screenshot .preview-browser{font-size:10px;gap:6px;padding:10px}.hero-carousel .dashboard-screenshot .sample-tag{font-size:10px}.hero-carousel .dashboard-screenshot figcaption,.hero-carousel .dashboard-screenshot figcaption>span:first-child{font-size:11px}.hero-visual-top{font-size:13px}.hero-sample{font-size:10px}.hero-document-heading h3{font-size:17px}.hero-receipt{padding:20px 18px 0}.hero-classroom{padding:21px 18px}.hero-document-heading{gap:11px}.hero-receipt-total>strong{font-size:30px}.hero-visual-footer{padding:13px 16px;font-size:11px}.hero-class-task{gap:10px}.hero-class-task small{font-size:12px}.hero-classroom-heading h3{font-size:23px}}
/* Keep phone illustrations compact so slide controls stay close to the content. */
@media(max-width:540px){
  .hero-carousel .hero-document-heading,.hero-carousel .hero-visual-footer,.hero-carousel .hero-student-row small,.hero-carousel .hero-classroom-heading>small,.hero-carousel .hero-classroom-heading>p,.hero-carousel .hero-class-task small{display:none}
  .hero-carousel .hero-receipt{padding:8px 18px 0}
  .hero-carousel .hero-student-row{padding:12px 0;font-size:14px}
  .hero-carousel .hero-student-row:first-of-type{border-top:0}
  .hero-carousel .hero-receipt-total{padding:12px 0}
  .hero-carousel .hero-receipt-confirm{padding:12px 0}
  .hero-carousel .hero-classroom{padding:18px}
  .hero-carousel .hero-classroom-heading h3{font-size:20px;margin:0 0 12px}
  .hero-carousel .hero-class-task{padding:10px 0}
  .hero-carousel .hero-class-task strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide-selectors button:after{transition:none}}
