/* Shared public-site presentation. Deliberately scoped away from ERP portals. */
:is(.public-school-page, .marketing-page) { --public-blue: #023e9c; font-family: Roboto, sans-serif; }
:is(.public-school-page, .marketing-page) :is(h1,h2,h3,h4,h5,h6) { font-family: Raleway, sans-serif; letter-spacing: -.025em; }
:is(.public-school-page, .marketing-page) .max-w-7xl { max-width: 1200px; }
:is(.public-school-page, .marketing-page) :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #e67e22; outline-offset: 4px; }
:is(.public-school-page, .marketing-page) :is(a,button).bg-indigo-600,
:is(.public-school-page, .marketing-page) :is(a,button).bg-purple-600,
:is(.public-school-page, .marketing-page) :is(a,button).bg-violet-600 { background: var(--public-blue); color: #fff; }
:is(.public-school-page, .marketing-page) :is(a,button).bg-indigo-600:hover,
:is(.public-school-page, .marketing-page) :is(a,button).bg-purple-600:hover { background: #032f76; }
:is(.public-school-page, .marketing-page) :is(a,button)[class*="bg-indigo-"],
:is(.public-school-page, .marketing-page) :is(a,button)[class*="bg-purple-"] { border-radius: 0; }
:is(.public-school-page, .marketing-page) [class*="ae-"] { visibility: visible; opacity: 1; }
.public-school-page > nav { box-shadow: 0 3px 18px #0433530d; font-family: Raleway, sans-serif; }
.public-school-page > nav > div > div:first-child { min-height: 92px; }
.public-school-page > nav a { border-radius: 0; }
.public-school-page > nav, .public-school-page > nav *:not(i) { border-radius: 0 !important; }
.public-school-page > nav .text-indigo-600 { color: var(--public-blue); }
.public-school-page > nav .bg-indigo-600 { background: var(--public-blue); color: white; padding: 16px 22px; }
.public-school-page > .bg-slate-900 { background: var(--public-blue); padding-block: 12px; }
.public-school-page main > div:first-child { padding-block: 72px !important; background: #f2f5f9 !important; }
.public-school-page main > section { padding-block: 88px !important; scroll-margin-top: 105px; }
.public-school-page main h1 { font-weight: 700 !important; }
.public-school-page .portal-card { border-radius: 0 !important; border-bottom: 4px solid var(--public-blue) !important; }
.public-school-page > footer { background: #042b45 !important; }
.marketing-page > div > nav > div { background: #043353 !important; backdrop-filter: none !important; }
/* Pages with a dark full-bleed hero (@section('nav_overlay')) keep the navbar transparent until scrolled; the scrolled bar and mobile menu carry shadow-2xl. */
.marketing-page.nav-overlay > div > nav > div:not(.shadow-2xl) { background: transparent !important; }
.marketing-page > div > nav { font-family: Raleway, sans-serif; }
/* Sharp corners throughout the central navbar, its Product mega menu and the mobile menu. */
.marketing-page > div > nav, .marketing-page > div > nav *:not(i) { border-radius: 0 !important; }
/* Sharp corners on every central marketing page: cards, tabs, tiles, forms, chat widget and footer. */
.marketing-page *:not(i) { border-radius: 0 !important; }
.marketing-page > div > nav :is(a,button)[class*="from-orange"] { background: var(--public-blue) !important; color: white !important; }
.marketing-page main > section { scroll-margin-top: 110px; }
.marketing-page main > section:first-child h1 { font-weight: 700 !important; text-shadow: none !important; }
.marketing-page main > section:first-child a { border-radius: 0 !important; }
.marketing-page main :is(article,.pricing-card) { border-radius: 0 !important; }
.marketing-page .public-site-footer { background: #042b45; color: #c5d8e4; }
.marketing-page .public-site-footer :is(.text-slate-400,.text-slate-500,.text-slate-600) { color: #c5d8e4; }
.marketing-page .public-site-footer a:hover { color: #fff; }
.marketing-page .public-site-footer input { color: #fff; }
.marketing-page .public-site-footer input::placeholder { color: #b8cedb; }
@media (max-width: 1023px) {
    .public-school-page > nav > div > div:first-child { min-height: 76px; }
}
@media (max-width: 639px) {
    .public-school-page main > div:first-child { padding-block: 48px !important; }
    .public-school-page main > section { padding-block: 56px !important; }
    .public-school-page > nav > div > div:first-child > a { min-width: 0; max-width: calc(100% - 48px); }
    .public-school-page > nav > div > div:first-child > a > .hidden { display: block; }
    .public-school-page > nav > div > div:first-child > a p { font-size: 12px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.public-school-page,.marketing-page) *, :is(.public-school-page,.marketing-page) *::before,
    :is(.public-school-page,.marketing-page) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Pricing comparison table: app.css forced `padding: inherit !important` on marketing table cells, which resolves to 0 (the row's padding) and
   beat the px-5/py-3.5 utilities. Restore the intended spacing until the next asset build carries the app.css fix. */
body.marketing-page table thead tr th { padding: 1.25rem !important; }
body.marketing-page table tbody tr td { padding: .875rem 1.25rem !important; }
body.marketing-page table tbody tr td[colspan] { padding: .75rem 1.25rem !important; }
