/**
 * SchoolCanvas theme styles. Loaded after Bootstrap on the front end and in the block editor.
 * Brand colours come from the Customizer as CSS variables (see inc/customizer.php).
 */

/* Layout ----------------------------------------------------------------- */

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

.sc-narrow {
	max-width: 32rem;
}

.sc-reading {
	max-width: 48rem;
}

.skip-link:focus {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1100;
	padding: 0.5rem 1rem;
	background: #fff;
	border-radius: 0.375rem;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}

/* Admin bar offset for the sticky header. */
.admin-bar .site-header.sticky-top {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header.sticky-top {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header.sticky-top {
		top: 0;
	}
}

/* Logo ------------------------------------------------------------------- */

.site-logo {
	display: inline-flex;
	align-items: center;
	padding: 0;
}

.site-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-height: 40px;
	max-width: 240px;
}

/* Show the logo in white on the dark footer and dark header. */
.site-logo--footer .site-logo-img.is-recolor,
.site-logo--light .site-logo-img.is-recolor {
	filter: brightness(0) invert(1);
}

/* Header ----------------------------------------------------------------- */

.site-header .nav-link {
	font-weight: 500;
}

.site-header .dropdown-menu {
	border: 0;
	box-shadow: 0 0.5rem 1.5rem rgba(15, 27, 51, 0.12);
}

@media (min-width: 992px) {
	.site-header .navbar-nav .nav-link {
		padding-inline: 0.875rem;
	}
}

/* Mega menu (top-level menu item with CSS class "sc-mega") -----------------
 * Markup: inc/class-schoolcanvas-nav-walker.php. Products adds .sc-mega--products:
 * ERP suite cards on the left, the Assist feature panel on the right, a slim footer bar.
 * Card colours: --c (accent), --tint, --deep.
 */

.site-header .dropdown-menu.sc-mega {
	--sc-mega-ink: #0f1b33;
	--sc-mega-body: #3b4457;
	--sc-mega-muted: #6b7385;
	--sc-mega-line: rgba(15, 27, 51, 0.08);
	--bs-dropdown-bg: transparent;
	color: var(--sc-mega-ink);
	background:
		radial-gradient(50% 90% at 0% 0%, rgba(40, 103, 178, 0.2), transparent 62%),
		radial-gradient(40% 70% at 100% 0%, rgba(91, 42, 134, 0.1), transparent 60%),
		radial-gradient(45% 80% at 60% 100%, rgba(236, 179, 45, 0.18), transparent 60%),
		linear-gradient(180deg, #e1eaf7 0%, #eceff6 50%, #f5eee3 100%);
}

/* Faint dot pattern across the panel. */
.site-header .dropdown-menu.sc-mega::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(23, 70, 127, 0.12) 1px, transparent 1px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
	mask-image: linear-gradient(180deg, #000, transparent 80%);
	pointer-events: none;
}

.sc-mega-inner {
	position: relative;
	z-index: 1;
}

/* Product labels above the two groups. */
.sc-mega-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.625rem 0.125rem;
	color: var(--sc-mega-muted);
	font-family: var(--sc-font-heading);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sc-mega-label::before {
	content: "";
	width: 0.875rem;
	height: 2px;
	border-radius: 2px;
	background: #2867b2;
}

.sc-mega-side .sc-mega-label::before {
	background: linear-gradient(90deg, #5b2a86, #c2185b);
}

.sc-mega-grid {
	display: grid;
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Card colours (Products order: Student, Communication, Finance, Academics, Admissions, Transport, HR, Add-ons). */
.sc-mega-item { --c: #2867b2; --tint: #e6effa; --deep: #17467f; }
.sc-mega-item--2 { --c: #1f9d68; --tint: #def5ea; --deep: #11704a; }
.sc-mega-item--3 { --c: #d99a0b; --tint: #fdf2d6; --deep: #8a5d00; }
.sc-mega-item--4 { --c: #4c5fd5; --tint: #e8ebfb; --deep: #2f3d99; }
.sc-mega-item--5 { --c: #e01c5a; --tint: #fde4ec; --deep: #a3123f; }
.sc-mega-item--6 { --c: #e8690c; --tint: #fdebdc; --deep: #a44705; }
.sc-mega-item--7 { --c: #0e8f8f; --tint: #dcf3f2; --deep: #086363; }
.sc-mega-item--8 { --c: #42506b; --tint: #e9edf3; --deep: #2a3448; }

.sc-mega-item {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sc-mega-line);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 27, 51, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Accent line that grows along the top edge on hover. */
.sc-mega-item::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
	height: 3px;
	background: var(--c);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.sc-mega-item:hover,
.sc-mega-item:focus-within,
.sc-mega-item.is-current {
	border-color: color-mix(in srgb, var(--c) 30%, transparent);
	box-shadow: 0 16px 32px -18px rgba(15, 27, 51, 0.35);
}

.sc-mega-item:hover::before,
.sc-mega-item:focus-within::before,
.sc-mega-item.is-current::before {
	transform: scaleX(1);
}

.sc-mega-card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.125rem;
	border-radius: inherit;
	color: inherit;
	text-decoration: none;
}

.sc-mega-card:hover,
.sc-mega-card:focus {
	color: inherit;
}

.sc-mega-card-head {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.sc-mega-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background: var(--tint);
	transition: background-color 0.18s ease;
}

.sc-mega-glyph {
	display: block;
	width: 1.3rem;
	height: 1.3rem;
	background: var(--c);
	-webkit-mask: var(--sc-glyph) center / contain no-repeat;
	mask: var(--sc-glyph) center / contain no-repeat;
	transition: background-color 0.18s ease;
}

.sc-mega-item:hover .sc-mega-icon,
.sc-mega-item:focus-within .sc-mega-icon {
	background: var(--c);
}

.sc-mega-item:hover .sc-mega-glyph,
.sc-mega-item:focus-within .sc-mega-glyph {
	background: #fff;
}

.sc-mega-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.sc-mega-title {
	color: var(--sc-mega-ink);
	font-family: var(--sc-font-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.sc-mega-desc {
	color: var(--sc-mega-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.sc-mega-arrow {
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--c);
	font-weight: 600;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.sc-mega-item:hover .sc-mega-arrow,
.sc-mega-item:focus-within .sc-mega-arrow {
	opacity: 1;
	transform: none;
}

/* Link lists (Solutions). */
.sc-mega-links {
	margin: 0;
	padding: 0 0.5rem 0.5rem;
	list-style: none;
}

.sc-mega-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.55rem 0.6rem;
	border-radius: 0.5rem;
	color: var(--sc-mega-body);
	font-family: var(--sc-font-heading);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sc-mega-foot::after {
	content: "\2192";
	color: var(--c);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.sc-mega-foot:hover,
.sc-mega-foot:focus {
	background: var(--tint);
	color: var(--deep);
}

.sc-mega-foot:hover::after,
.sc-mega-foot:focus::after {
	opacity: 1;
	transform: none;
}

/* Assist feature panel (Products, right). */
.sc-mega-assist {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.125rem 1.25rem 1.25rem;
	overflow: hidden;
	border-radius: 0.75rem;
	background:
		radial-gradient(70% 55% at 100% 100%, rgba(194, 24, 91, 0.75), transparent 70%),
		radial-gradient(60% 45% at 0% 0%, rgba(255, 255, 255, 0.12), transparent 70%),
		linear-gradient(165deg, #3a1a60 0%, #5b2a86 50%, #8a2378 100%);
	box-shadow: 0 24px 44px -24px rgba(91, 42, 134, 0.8);
	color: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Faint dot texture. */
.sc-mega-assist::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(200deg, #000, transparent 55%);
	mask-image: linear-gradient(200deg, #000, transparent 55%);
	pointer-events: none;
}

.sc-mega-assist:hover,
.sc-mega-assist:focus-within,
.sc-mega-assist.is-current {
	box-shadow: 0 28px 52px -24px rgba(91, 42, 134, 0.95);
}

.sc-mega-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffd36e, #ff8fc1);
	box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.35);
	color: #36185a;
	font-family: var(--sc-font-heading);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* Official logo on a white card. */
.sc-mega-assist-logo {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.5);
}

.sc-mega-assist-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 4.75rem;
}

.sc-mega-assist-line {
	position: relative;
	z-index: 1;
	margin: 0.125rem 0 0;
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.sc-mega-assist-facts {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8125rem;
}

.sc-mega-assist-facts li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.sc-mega-assist-facts li::before {
	content: "\2713";
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
}

.sc-mega-assist-actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin-top: auto;
	text-align: center;
}

.sc-mega-assist-cta {
	padding: 0.65rem 1.25rem;
	border-radius: 0.5rem;
	background: #fff;
	color: #5b2a86;
	font-family: var(--sc-font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

/* The whole panel is clickable through "Explore Assist". */
.sc-mega-assist-cta::after {
	content: "";
	position: absolute;
	inset: -100vh -100vw;
}

.sc-mega-assist {
	isolation: isolate;
}

.sc-mega-assist-cta:hover,
.sc-mega-assist-cta:focus,
.sc-mega-assist:hover .sc-mega-assist-cta {
	background: #fde4f0;
	color: #5b2a86;
}

.sc-mega-assist-link {
	position: relative;
	z-index: 3;
	align-self: center;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 0.2em;
}

.sc-mega-assist-link:hover,
.sc-mega-assist-link:focus {
	color: #fff;
	text-decoration-color: #fff;
}

/* Footer bar (Products). */
.sc-mega-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-top: 0.875rem;
	padding: 0 0.25rem;
}

.sc-mega-bar-link {
	color: #2867b2;
	font-family: var(--sc-font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
}

.sc-mega-bar-link + .sc-mega-bar-link {
	color: var(--sc-mega-body);
}

.sc-mega-bar-link:hover,
.sc-mega-bar-link:focus {
	color: #17467f;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Keyboard focus. */
.sc-mega a:focus-visible {
	outline: 3px solid #2867b2;
	outline-offset: 2px;
	border-radius: 0.375rem;
}

.sc-mega .sc-mega-card:focus-visible {
	outline-offset: -3px;
	border-radius: 0.75rem;
}

.sc-mega .sc-mega-assist a:focus-visible {
	outline-color: #ffd36e;
}

.sc-mega .sc-mega-assist-cta:focus-visible {
	border-radius: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.sc-mega *,
	.sc-mega *::before {
		transition: none !important;
	}
}

@media (min-width: 992px) {
	/* Full-width panel under the header. */
	.site-header .navbar {
		position: static;
	}

	.site-header .sc-mega-parent {
		position: static;
	}

	.site-header .dropdown-menu.sc-mega {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		width: 100%;
		max-height: calc(100vh - 6rem);
		margin: 0;
		padding: 1.5rem 0 1.25rem;
		overflow-y: auto;
		border: 0;
		border-top: 1px solid var(--sc-mega-line);
		border-radius: 0 0 1rem 1rem;
		box-shadow: 0 32px 64px -24px rgba(15, 27, 51, 0.4);
	}

	.sc-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.sc-mega--products .sc-mega-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: 1fr;
		gap: 0.875rem;
	}

	.sc-mega-item:hover,
	.sc-mega-item:focus-within {
		transform: translateY(-2px);
	}

	/* Solutions cards: heading, then its links. */
	.sc-mega:not(.sc-mega--products) .sc-mega-card {
		flex: 0 0 auto;
		padding-bottom: 0.5rem;
	}

	/* Two products: ERP grid (left, about 70%) and the Assist panel (right). */
	.sc-mega-layout {
		display: grid;
		grid-template-columns: minmax(0, 72fr) minmax(0, 28fr);
		gap: 1.5rem;
		align-items: stretch;
	}

	.sc-mega-side {
		display: flex;
		flex-direction: column;
	}

	/* ERP cards: icon on top, title, one line – tall, airy tiles. */
	.sc-mega--products .sc-mega-card {
		padding: 1.375rem 1.125rem;
	}

	.sc-mega--products .sc-mega-card-head {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.sc-mega--products .sc-mega-icon {
		width: 3rem;
		height: 3rem;
		border-radius: 0.75rem;
	}

	.sc-mega--products .sc-mega-glyph {
		width: 1.4rem;
		height: 1.4rem;
	}

	.sc-mega--products .sc-mega-title {
		font-size: 1.0625rem;
	}

	.sc-mega--products .sc-mega-desc {
		font-size: 0.84375rem;
	}

	.sc-mega--products .sc-mega-arrow {
		position: absolute;
		top: 0.75rem;
		right: 0;
	}

	.sc-mega-assist:hover {
		transform: translateY(-2px);
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	/* Narrower desktops: ERP grid full width, Assist as a wide band below it. */
	.sc-mega-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.sc-mega-assist {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		column-gap: 1.25rem;
		row-gap: 0.5rem;
		align-items: center;
	}

	.sc-mega-assist-logo {
		grid-row: 1 / span 2;
	}

	.sc-mega-badge {
		top: 0.5rem;
		right: auto;
		left: 0.5rem;
	}

	.sc-mega-assist-logo img {
		height: 3.5rem;
	}

	.sc-mega-assist-facts {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.25rem 1rem;
	}

	.sc-mega-assist-actions {
		grid-row: 1 / span 2;
		grid-column: 3;
		margin-top: 0;
	}
}

@media (max-width: 991.98px) {
	/* Inside the collapsed mobile menu: a clean vertical list. */
	.site-header .dropdown-menu.sc-mega {
		position: relative;
		margin: 0.25rem 0 0.75rem;
		padding: 0.625rem;
		border: 0;
		border-radius: 0.75rem;
		box-shadow: none;
	}

	.sc-mega .container {
		padding: 0;
	}

	.sc-mega-layout {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	/* Assist first: a prominent coloured card. */
	.sc-mega-side {
		order: -1;
	}

	.sc-mega-label {
		margin-bottom: 0.4rem;
	}

	.sc-mega-desc,
	.sc-mega-arrow,
	.sc-mega-assist-facts {
		display: none;
	}

	.sc-mega-grid {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.sc-mega-item {
		border-color: transparent;
		border-radius: 0.75rem;
		background: rgba(255, 255, 255, 0.72);
		box-shadow: none;
	}

	.sc-mega-item::before {
		display: none;
	}

	.sc-mega-card {
		padding: 0.5rem 0.625rem;
	}

	.sc-mega-icon {
		width: 2.125rem;
		height: 2.125rem;
		border-radius: 0.625rem;
	}

	.sc-mega-glyph {
		width: 1.05rem;
		height: 1.05rem;
	}

	.sc-mega-title {
		font-size: 0.9375rem;
	}

	.sc-mega-links {
		padding: 0 0.5rem 0.375rem 3.25rem;
	}

	.sc-mega-foot {
		padding: 0.4rem 0.5rem;
		font-size: 0.875rem;
	}

	.sc-mega-assist {
		gap: 0.625rem;
		padding: 0.875rem;
		border-radius: 0.75rem;
	}

	.sc-mega-assist-logo {
		justify-content: flex-start;
		padding: 0.5rem 0.75rem;
		border-radius: 0.625rem;
	}

	.sc-mega-assist-logo img {
		height: 2.75rem;
	}

	.sc-mega-assist-line {
		font-size: 0.875rem;
	}

	.sc-mega-assist-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5rem 1rem;
	}

	.sc-mega-assist-cta {
		padding: 0.5rem 1rem;
		font-size: 0.875rem;
	}

	.sc-mega-bar {
		margin-top: 0.625rem;
		padding: 0.25rem 0.5rem;
	}
}

/* Header layouts (inc/header-footer.php) ----------------------------------- */

.sc-header {
	border-bottom: 1px solid rgba(15, 27, 51, 0.08);
	background: #fff;
}

.sc-header:not(.sticky-top) {
	position: relative;
	z-index: 1020;
}

.sc-login-link {
	color: var(--sc-color-heading);
	font-family: var(--sc-font-heading);
	font-size: var(--sc-fs-nav);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.sc-login-link:hover,
.sc-login-link:focus {
	color: var(--bs-primary);
}

.sc-tier-top .sc-utility-menu a {
	color: var(--sc-color-body);
	text-decoration: none;
}

.sc-tier-top .sc-utility-menu a:hover {
	color: var(--bs-primary);
}

.sc-utility-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-utility-menu li {
	display: inline-block;
	margin: 0 1.25rem 0 0;
}

/* H3 utility strip (markup: schoolcanvas_utility_strip(); behaviour: initUtilityStrip in theme.js).
 * Deep navy band, brand-colour hairline at the bottom, live support status, proof ticker, DPDP badge. */
.sc-ustrip {
	--sc-ustrip-h: 38px;
	--sc-ustrip-ink: rgba(255, 255, 255, 0.9);
	--sc-ustrip-soft: rgba(255, 255, 255, 0.72);
	position: relative;
	z-index: 2;
	color: var(--sc-ustrip-ink);
	font-family: var(--sc-font-heading);
	font-size: 0.78125rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.005em;
	background:
		radial-gradient(40% 180% at 0% 0%, rgba(40, 103, 178, 0.55), transparent 70%),
		radial-gradient(30% 160% at 100% 100%, rgba(91, 42, 134, 0.35), transparent 70%),
		linear-gradient(90deg, #123a6a 0%, #17467f 50%, #163f74 100%);
}

/* Fine hairline in the logo colours. */
.sc-ustrip::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(40, 103, 178, 0) 0%, #2867b2 18%, #3fb37f 40%, #ecb32d 60%, #ec2f92 82%, rgba(236, 47, 146, 0) 100%);
	opacity: 0.85;
}

/* Three columns, proof line truly centred. */
.sc-ustrip-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1.5rem;
	min-height: var(--sc-ustrip-h);
}

.sc-ustrip-left,
.sc-ustrip-right {
	display: flex;
	align-items: center;
	gap: 1rem;
	white-space: nowrap;
}

.sc-ustrip-right {
	justify-content: flex-end;
}

.sc-ustrip a {
	color: var(--sc-ustrip-ink);
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.sc-ustrip a:hover {
	color: #fff;
}

.sc-ustrip a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 999px;
}

/* "New: Assist" pill (Assist magenta). */
.sc-ustrip .sc-ustrip-new {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.2rem 0.65rem 0.2rem 0.2rem;
	border: 1px solid rgba(236, 47, 146, 0.45);
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(236, 47, 146, 0.18), rgba(236, 47, 146, 0.04));
	color: #fff;
	font-weight: 500;
}

.sc-ustrip .sc-ustrip-new:hover {
	border-color: rgba(236, 47, 146, 0.8);
	background: linear-gradient(90deg, rgba(236, 47, 146, 0.3), rgba(236, 47, 146, 0.08));
}

.sc-ustrip-new-tag {
	padding: 0.22rem 0.5rem;
	border-radius: 999px;
	background: #c2185b;
	color: #fff;
	font-size: 0.65625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sc-ustrip-new-text {
	font-weight: 600;
}

.sc-ustrip-arrow {
	width: 0.8rem;
	height: 0.8rem;
	transition: transform 0.15s ease;
}

.sc-ustrip-new:hover .sc-ustrip-arrow {
	transform: translateX(2px);
}

/* "Learn app" link before Log in (Schoolcanvas Learn soft launch, client 8 Oct 2026). */
.sc-learn-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #3a1648;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.sc-learn-link span {
	padding: 0.15rem 0.4rem;
	border-radius: 0.25rem;
	background: linear-gradient(95deg, #6e1f78, #d3236e);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sc-learn-link:hover {
	color: #c21e6b;
}

/* Proof line: static by default, vertical ticker once JS adds .is-ticking. */
.sc-ustrip-proof {
	justify-content: center;
	min-width: 0;
	color: var(--sc-ustrip-ink);
	font-weight: 500;
}

.sc-ustrip-proof-static {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.sc-ustrip-pf + .sc-ustrip-pf::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 0.7rem;
	border-radius: 50%;
	background: #ecb32d;
	vertical-align: middle;
}

@media (max-width: 1199.98px) {
	.sc-ustrip-pf--wide {
		display: none;
	}
}

.sc-ustrip-ticker {
	display: none;
	height: var(--sc-ustrip-h);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
}

.sc-ustrip-track {
	display: flex;
	flex-direction: column;
	transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sc-ustrip-track.is-resetting {
	transition: none;
}

.sc-ustrip-fact {
	display: inline-flex;
	flex: 0 0 var(--sc-ustrip-h);
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: var(--sc-ustrip-h);
	color: var(--sc-ustrip-ink);
	white-space: nowrap;
}

.sc-ustrip-tick {
	width: 0.7rem;
	height: 0.7rem;
	color: #ecb32d;
}

.sc-ustrip-proof.is-ticking .sc-ustrip-ticker {
	display: block;
}

.sc-ustrip-proof.is-ticking .sc-ustrip-proof-static {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* DPDP-ready badge. */
.sc-ustrip .sc-ustrip-dpdp {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem 0.7rem 0.28rem 0.45rem;
	border: 1px solid rgba(110, 231, 183, 0.38);
	border-radius: 999px;
	background: rgba(52, 211, 153, 0.1);
	color: #fff;
	font-weight: 600;
}

.sc-ustrip .sc-ustrip-dpdp:hover {
	border-color: rgba(110, 231, 183, 0.7);
	background: rgba(52, 211, 153, 0.2);
}

.sc-ustrip-shield {
	width: 1rem;
	height: 1rem;
	color: #6ee7b7;
}

/* Partners as the highlighted pill with a handshake icon (client, 11 Oct 2026). */
.sc-ustrip .sc-utility-menu li:last-child a, .sc-ustrip .sc-ustrip-partners { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.75rem 0.28rem 0.5rem !important; border: 1px solid rgba(255, 211, 110, 0.45); border-radius: 999px; background: rgba(255, 211, 110, 0.12); color: #fff; font-weight: 600; text-decoration: none !important; }
.sc-ustrip .sc-utility-menu li:last-child a:hover, .sc-ustrip .sc-ustrip-partners:hover { border-color: rgba(255, 211, 110, 0.8); background: rgba(255, 211, 110, 0.22); }
.sc-ustrip .sc-utility-menu li:last-child a::before, .sc-ustrip .sc-ustrip-partners::before { content: ""; width: 1rem; height: 1rem; flex: none; background: #ffd36e; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 17l2 2a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='M14 14l2.5 2.5a1.4 1.4 0 0 0 2-2l-3.9-3.9a2.1 2.1 0 0 0-3 0l-.9.9a1.4 1.4 0 0 1-2-2l2.8-2.8a5.1 5.1 0 0 1 6.2-.8l.5.3a3 3 0 0 0 2.1.4L22 6'/%3E%3Cpath d='M21 3l1 11h-2'/%3E%3Cpath d='M3 3L2 14l6.5 6.5a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 17l2 2a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='M14 14l2.5 2.5a1.4 1.4 0 0 0 2-2l-3.9-3.9a2.1 2.1 0 0 0-3 0l-.9.9a1.4 1.4 0 0 1-2-2l2.8-2.8a5.1 5.1 0 0 1 6.2-.8l.5.3a3 3 0 0 0 2.1.4L22 6'/%3E%3Cpath d='M21 3l1 11h-2'/%3E%3Cpath d='M3 3L2 14l6.5 6.5a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E") center / contain no-repeat; }
.sc-ustrip .sc-ustrip-partners { border-color: rgba(255, 211, 110, 0.45) !important; background: rgba(255, 211, 110, 0.12) !important; }

/* Contact · Partners. */
.sc-ustrip .sc-utility-menu {
	display: flex;
	align-items: center;
}

.sc-ustrip .sc-utility-menu li {
	display: flex;
	align-items: center;
	margin: 0;
}

.sc-ustrip .sc-utility-menu li + li::before {
	content: "";
	width: 3px;
	height: 3px;
	margin: 0 0.75rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
}

.sc-ustrip .sc-utility-menu a {
	padding: 0.25rem 0;
}

.sc-ustrip .sc-utility-menu a:hover {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.5);
	text-underline-offset: 0.3em;
}

@media (prefers-reduced-motion: reduce) {
	.sc-ustrip-track,
	.sc-ustrip-arrow {
		transition: none;
	}
}

/* Phones and tablets: compact strip with the Assist pill and the DPDP badge. */
@media (max-width: 991.98px) {
	.sc-ustrip {
		--sc-ustrip-h: 36px;
	}

	.sc-ustrip-inner {
		display: flex;
		justify-content: space-between;
		gap: 0.75rem;
	}
}

/* Logo row (H3): comfortable height, everything on one centre line, shadow once scrolled. */
.sc-header--utility {
	transition: box-shadow 0.2s ease;
}

.sc-header--utility.is-scrolled {
	border-bottom-color: rgba(15, 27, 51, 0.1);
	box-shadow: 0 10px 28px -16px rgba(15, 27, 51, 0.35);
}

.site-header .site-header-cta .btn {
	white-space: nowrap;
}

@media (min-width: 992px) {
	.sc-header--utility > .navbar {
		min-height: 4.5rem;
		padding-block: 0.625rem;
	}

	.sc-header--utility > .navbar > .container {
		flex-wrap: nowrap;
	}

	.sc-header--utility .navbar-brand {
		margin-right: 0;
	}

	.sc-header--utility .navbar-nav .nav-link {
		padding-block: 0.5rem;
	}

	.sc-header--utility .sc-header-actions {
		flex: 0 0 auto;
	}
}

/* 992–1199px: tighter menu so "Book a free demo" stays on one line. */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.sc-header--utility .site-logo-img {
		max-width: 170px;
	}

	.sc-header--utility .navbar-nav {
		margin-left: 1rem !important;
	}

	.sc-header--utility .navbar-nav .nav-link {
		padding-inline: 0.55rem;
		font-size: 0.875rem;
	}

	.sc-header--utility .sc-header-actions {
		gap: 0.875rem !important;
	}

	.sc-header--utility .sc-login-link {
		font-size: 0.875rem;
	}

	.sc-header--utility .site-header-cta .btn {
		padding-inline: 0.9rem;
		font-size: 0.875rem;
	}
}

/* H4 dark. */
.sc-header--dark {
	border-bottom-color: rgba(255, 255, 255, 0.08);
	background: #0f1b33;
}

.sc-header--dark .navbar {
	--bs-navbar-color: rgba(255, 255, 255, 0.8);
	--bs-navbar-hover-color: #fff;
	--bs-navbar-active-color: #fff;
}

.sc-header--dark .sc-login-link {
	color: rgba(255, 255, 255, 0.85);
}

.sc-header--dark .sc-login-link:hover {
	color: #fff;
}

.sc-cta-accent .btn-primary {
	--bs-btn-color: #0f1b33;
	--bs-btn-bg: #ecb32d;
	--bs-btn-border-color: #ecb32d;
	--bs-btn-hover-color: #0f1b33;
	--bs-btn-hover-bg: #f3c54f;
	--bs-btn-hover-border-color: #f3c54f;
	--bs-btn-active-bg: #d9a21f;
	--bs-btn-active-border-color: #d9a21f;
	--bs-btn-active-color: #0f1b33;
}

/* H5 two-tier. */
.sc-header--twotier {
	border-bottom: 0;
}

.sc-tier-top {
	padding: 0.625rem 0;
	background: #fff;
}

.sc-tier-top .sc-utility-menu a {
	font-family: var(--sc-font-heading);
	font-size: var(--sc-fs-nav);
}

.site-header .sc-tier-bar.navbar {
	--bs-navbar-color: rgba(255, 255, 255, 0.88);
	--bs-navbar-hover-color: #fff;
	--bs-navbar-active-color: #fff;
	padding-block: 0.25rem;
	background: var(--bs-primary);
}

.sc-tier-bar .btn-primary {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
	--bs-btn-hover-color: var(--bs-primary);
	--bs-btn-hover-bg: #e8f0fa;
	--bs-btn-hover-border-color: #e8f0fa;
}

.sc-tier-bar .sc-login-link {
	color: #fff;
}

/* Announcement bar. */
.sc-announce {
	position: relative;
	padding: 0.55rem 2.5rem;
	background: #0f1b33;
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--sc-fs-small);
	text-align: center;
}

.sc-announce a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.sc-announce-close {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	display: inline-flex;
	padding: 0.35rem;
	border: 0;
	background: none;
	color: inherit;
	transform: translateY(-50%);
}

.sc-announce-close svg {
	width: 0.75rem;
	height: 0.75rem;
}

.sc-announce[hidden] {
	display: none;
}

/* Footer layouts ------------------------------------------------------------ */

.sc-footer {
	flex-shrink: 0;
	padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
	font-size: var(--sc-fs-small);
}

.sc-footer--dark {
	background: var(--bs-dark);
	color: rgba(255, 255, 255, 0.7);
}

.sc-footer--light {
	border-top: 1px solid rgba(15, 27, 51, 0.08);
	background: #fff;
	color: var(--sc-color-body);
}

.sc-footer a {
	color: inherit;
	text-decoration: none;
}

.sc-footer--dark a:hover,
.sc-footer--dark a:focus {
	color: #fff;
}

.sc-footer--light a:hover,
.sc-footer--light a:focus {
	color: var(--bs-primary);
}

/* Footer menu: top-level items become column headings, children become links. */
.footer-menu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.footer-nav--mega .footer-menu {
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
}

.footer-menu > li > a {
	display: inline-block;
	margin-bottom: 0.875rem;
	color: var(--sc-color-heading);
	font-family: var(--sc-font-heading);
	font-size: var(--sc-fs-small);
	font-weight: 600;
}

.sc-footer--dark .footer-menu > li > a {
	color: #fff;
}

.footer-menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu .sub-menu li {
	margin-bottom: 0.6rem;
}

.sc-footer-bottom {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(127, 137, 160, 0.25);
}

.sc-footer-apps {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(127, 137, 160, 0.25);
}

.sc-footer-apps + .sc-footer-bottom {
	margin-top: 2rem;
}

.legal-menu li {
	display: inline-block;
	margin-right: 1.25rem;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid rgba(127, 137, 160, 0.35);
	border-radius: 50%;
	color: inherit;
}

.social-link svg {
	width: 1rem;
	height: 1rem;
}

.sc-footer .social-link:hover,
.sc-footer .social-link:focus {
	border-color: var(--bs-primary);
	background: var(--bs-primary);
	color: #fff;
}

/* App store buttons. */
.sc-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: 0.5rem;
	font-family: var(--sc-font-heading);
	font-weight: 600;
	line-height: 1.15;
}

.sc-store-badge svg {
	width: 1.375rem;
	height: 1.375rem;
}

.sc-store-badge small {
	display: block;
	font-size: 0.625rem;
	font-weight: 500;
	opacity: 0.8;
}

/* F3 CTA band. */
.sc-footer-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 0.75rem;
	background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--sc-fs-body);
}

.sc-footer-cta-title {
	margin-bottom: 0.35rem;
	color: #fff;
	font-family: var(--sc-font-heading);
	font-size: var(--sc-fs-h3);
	font-weight: 700;
	line-height: 1.2;
}

.sc-footer-cta .btn-primary {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
	--bs-btn-hover-color: var(--bs-primary);
	--bs-btn-hover-bg: #e8f0fa;
	--bs-btn-hover-border-color: #e8f0fa;
}

.sc-footer-cta a.btn {
	color: var(--bs-primary);
}

/* F4 card. */
.sc-footer--card {
	border-top: 0;
	background: #f4f7fb;
}

.sc-footer-card {
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 0.5rem 2rem rgba(15, 27, 51, 0.06);
}

/* F5 big wordmark. */
.sc-footer--wordmark {
	overflow: hidden;
	padding-bottom: 0;
}

.sc-footer-wordmark {
	margin: 2.5rem 0 -0.12em;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--sc-font-heading);
	font-size: min(12.5vw, 10.5rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	text-align: center;
	white-space: nowrap;
	user-select: none;
}

/* F6 minimal. */
.sc-footer--minimal {
	padding: 1.75rem 0;
}

.sc-footer--minimal .legal-menu {
	margin: 0;
}

/* WordPress core classes -------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 5px;
	left: 5px;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: #fff;
	color: var(--sc-color-heading);
}

.alignleft {
	float: left;
	margin: 0.35rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.35rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 0.5rem;
	color: var(--sc-color-muted);
	font-size: var(--sc-fs-caption);
}

.bypostauthor > .comment-body .fn::after {
	content: " (author)";
	color: var(--sc-color-muted);
	font-size: var(--sc-fs-caption);
	font-weight: 400;
}

/* Content ---------------------------------------------------------------- */

.entry-content img {
	max-width: 100%;
	height: auto;
}

/* Full-width section pages: sections stack flush, each manages its own spacing. */
.sc-full-width .entry-content > * {
	margin-block: 0;
}

.sc-full-width .entry-content > .alignfull {
	width: 100%;
	max-width: none;
}

/* Phones and tablets (responsive QA 2 Oct) ------------------------------------ */
@media (max-width: 991.98px) {
	/* The header is sticky, so an open menu taller than the screen would hide its last links:
	 * the menu scrolls inside itself instead (≈7rem = utility strip + logo row). */
	.site-header .navbar-collapse {
		max-height: calc(100vh - 7rem);
		max-height: calc(100dvh - 7rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
}

/* Phones: footer links get 44px tap targets (spacing moves from the list margin into the link). */
@media (max-width: 767.98px) {
	.footer-menu .sub-menu li {
		margin-bottom: 0;
	}

	.footer-menu .sub-menu a,
	.sc-footer .legal-menu a {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		overflow-wrap: anywhere;
	}

	.footer-menu > li > a {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		margin-bottom: 0;
	}

	.sc-footer .social-link {
		width: 2.75rem;
		height: 2.75rem;
	}
}

@media (max-width: 399.98px) {
	/* 320–399: keep the hamburger on the logo row. */
	.site-header .site-logo-img {
		max-width: calc(100vw - 7.5rem);
	}

	/* Footer: the "Get started" column (phone, email) gets the full width so the email never pushes the page sideways. */
	.footer-menu > li {
		min-width: 0;
	}

	.footer-menu > li:last-child {
		grid-column: 1 / -1;
	}
}

/* Large screens and smart boards ---------------------------------------------
 * Demos run on 75–86" boards (3840 × 2160 at 100%, or 1920 × 1080 at 200%). Instead of a 1240px strip,
 * the root font size grows from 1600px up, so everything sized in rem (Bootstrap, header, footer, v2
 * sections, page styles) scales together and the page keeps its 1440 proportions:
 * 16px ≤1600 · 18px at 1920 · 24px at 2560 · 36px at 3840 (capped at 40px).
 * rem inside the root font-size refers to the browser default, so a user's font-size preference still counts. */
@media (min-width: 1600px) {
	html {
		font-size: clamp(1rem, 0.375rem + 0.625vw, 1.125rem);
	}

	/* Bootstrap containers are px-capped (1320px); 82.5rem = 1320px at 16px, then grows with the root. */
	.container,
	.container-lg,
	.container-xl,
	.container-xxl {
		max-width: 82.5rem;
	}

	.site-logo-img {
		max-height: 2.5rem;
		max-width: 15rem;
	}

	.sc-ustrip {
		--sc-ustrip-h: 2.375rem;
	}

	.sc-ustrip-pf + .sc-ustrip-pf::before,
	.sc-ustrip .sc-utility-menu li + li::before {
		width: 0.1875rem;
		height: 0.1875rem;
	}

	.sc-ustrip::after {
		height: 0.125rem;
	}
}

@media (min-width: 1920px) {
	html {
		font-size: clamp(1.125rem, 0.9375vw, 2.5rem);
	}
}

/* ==========================================================================
   SUITE ICONS – "new" set (inc/suite-icons.php). Only used when the set is
   'new' (or ?icons=new); classic markup never carries .sc-si / .sc-si-tile.
   ========================================================================== */

.sc-si {
	display: block;
	flex: 0 0 auto;
	overflow: visible;
}

.sc-si .sci-b {
	opacity: var(--sci-b, 0.3);
}

/* v2 tiles (solid suite colour, white duotone glyph): soft gradient, inner highlight, shadow. */
.v2-icon.sc-si-tile {
	--sci-b: 0.34;
	color: #fff;
	background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0.1) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 6px 14px -8px rgba(15, 27, 51, 0.45);
}

.v2-icon.sc-si-tile > .sc-si {
	width: 58%;
	height: 58%;
}

/* Mega menu Products cards (tint tile, glyph in the card colour). */
.sc-mega-icon.sc-si-tile {
	--sci-b: 0.28;
	color: var(--c);
	background: linear-gradient(150deg, #fff -15%, var(--tint) 58%, color-mix(in srgb, var(--tint) 82%, var(--c)) 100%);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 14%, transparent), inset 0 1px 0 #fff, 0 6px 12px -8px color-mix(in srgb, var(--c) 55%, transparent);
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sc-mega-icon.sc-si-tile > .sc-si {
	width: 64%;
	height: 64%;
}

.sc-mega-item:hover .sc-mega-icon.sc-si-tile,
.sc-mega-item:focus-within .sc-mega-icon.sc-si-tile {
	--sci-b: 0.34;
	color: #fff;
	background: linear-gradient(150deg, color-mix(in srgb, var(--c) 72%, #fff) 0%, var(--c) 55%, var(--deep) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 16px -8px color-mix(in srgb, var(--c) 70%, transparent);
}
/* End SUITE ICONS ========================================================== */

/* Phone numbers never break in the middle (footer "Call" link and elsewhere). */
a[href^="tel:"] { white-space: nowrap; }

/* "School bell" footer (preview ?footer=school, 2 Oct 2026) ------------------ */
.scf {
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
	padding: clamp(2.25rem, 4vw, 3.25rem) 0 0;
	background: radial-gradient(60rem 22rem at 85% 0%, rgba(40, 103, 178, 0.22), transparent 70%), #0b1428;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.875rem;
	line-height: 1.6;
}
.scf a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.scf a:hover, .scf a:focus-visible { color: #fff; }
.scf a:focus-visible { outline: 2px solid #ecb32d; outline-offset: 2px; border-radius: 0.25rem; }

/* Trust ribbon: one quiet line of proof, gold ticks. */
.scf-ribbon {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin: 0 0 clamp(2rem, 3.5vw, 2.75rem);
	padding: 0 0 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	list-style: none;
	color: #fff;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.scf-ribbon li { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.scf-ribbon svg { flex: none; color: #ecb32d; }

.scf-grid {
	display: grid;
	grid-template-columns: minmax(15rem, 1.5fr) repeat(4, minmax(0, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 2.75rem);
}
.scf-brand .custom-logo-link img, .scf-brand img { max-height: 2.1rem; width: auto; }
.scf-tag { margin: 0.9rem 0 0.75rem; color: #fff; font-weight: 600; font-family: Poppins, system-ui, sans-serif; line-height: 1.45; }
.scf-addr { margin: 0 0 1.1rem; font-style: normal; font-size: 0.8125rem; max-width: 19rem; }
.scf-addr b { display: block; color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.scf .sc-store-badges { margin-bottom: 1rem; }
.scf .sc-store-badge { border-color: rgba(255, 255, 255, 0.28); color: #fff; padding: 0.35rem 0.75rem; }
.scf .sc-store-badge:hover { border-color: #fff; }
.scf-social .social-link { color: rgba(255, 255, 255, 0.7); }

.scf-h {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 1.6rem;
	margin: 0 0 0.9rem;
	color: #fff;
	font-family: Poppins, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.scf-col ul { margin: 0; padding: 0; list-style: none; }
.scf-col li + li { margin-top: 0.5rem; }

/* Assist gets its own column and colour, as a product equal to the ERP. */
.scf-col--assist { position: relative; padding-left: 1.25rem; }
.scf-col--assist::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, #8e2d8f, #c2185b 60%, transparent);
}
.scf-col--assist .scf-h img { height: 1.35rem; width: auto; }
.scf-col--assist .scf-h span { padding: 0.1rem 0.45rem; border-radius: 0.3rem; background: rgba(194, 24, 91, 0.22); color: #ffb3cf; font-size: 0.6875rem; letter-spacing: 0.04em; }
.scf .scf-assist-cta { color: #ff8fb8; font-weight: 600; }
.scf .scf-assist-cta:hover { color: #fff; }

.scf-legal {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(2rem, 3.5vw, 2.75rem);
	padding: 1.1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
}
.scf-legal p { margin: 0; }
.scf-top { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: #fff !important; font-weight: 600; }
.scf-top:hover { border-color: #ecb32d; }

/* Giant faint wordmark: the brand "signs" the bottom of every page. */
.scf-wordmark {
	margin: -0.5rem 0 -0.14em;
	color: transparent;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015));
	-webkit-background-clip: text;
	background-clip: text;
	font-family: Poppins, system-ui, sans-serif;
	font-size: clamp(3.25rem, 13.4vw, 19rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}

@media (max-width: 1199.98px) {
	.scf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.scf-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 2.5rem; align-items: start; }
	.scf-brand > * { grid-column: 1; }
	.scf-brand .scf-offices { grid-column: 2; grid-row: 1 / span 2; margin: 0.25rem 0 0; }
}
@media (max-width: 767.98px) {
	.scf-ribbon { justify-content: flex-start; gap: 0.5rem 1.1rem; }
	.scf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
	.scf-brand { display: block; }
	.scf-col--assist { padding-left: 0.9rem; }
}
@media (max-width: 379.98px) {
	.scf-grid { grid-template-columns: 1fr; }
}

/* Footer offices (city names only) + pan-India service line. */
.scf-offices { margin: 0 0 1.1rem; }
.scf-offices-h, .scf-route-h { margin: 0 0 0.5rem; color: rgba(255, 255, 255, 0.85); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.scf-offices ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; max-width: 20rem; }
.scf-offices li { padding: 0.15rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; font-size: 0.75rem; line-height: 1.5; }
.scf-offices li.is-hq, .scf-route li.is-hq { color: #fff; font-weight: 600; }
.scf-offices li.is-hq { border-color: rgba(236, 179, 45, 0.6); }
.scf-offices small, .scf-route small { margin-left: 0.2rem; color: #ecb32d; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; }
.scf-service { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0.6rem 0 0; color: #fff; font-size: 0.8125rem; font-weight: 600; }
.scf-service svg { color: #ecb32d; flex: none; }
.scf-love { color: #ff5a8a; }

/* ?loc=b: offices as stops on a dashed "bus route" line. */
.scf-route { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; margin-top: clamp(2rem, 3.5vw, 2.75rem); padding: 1.1rem 1.4rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.75rem; background: rgba(255, 255, 255, 0.03); }
.scf-route-h { margin: 0; }
.scf-route ol { position: relative; display: flex; flex: 1 1 32rem; justify-content: space-between; gap: 0.5rem 1rem; margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; }
.scf-route ol::before { content: ""; position: absolute; top: 0.4rem; left: 0.4rem; right: 0.4rem; border-top: 2px dashed rgba(236, 179, 45, 0.4); }
.scf-route li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; white-space: nowrap; }
.scf-stop { width: 0.8rem; height: 0.8rem; border: 2px solid #ecb32d; border-radius: 50%; background: #0b1428; }
.scf-route li.is-hq .scf-stop { background: #ecb32d; box-shadow: 0 0 0 4px rgba(236, 179, 45, 0.18); }
.scf-route .scf-service { margin: 0; }
@media (max-width: 767.98px) {
	.scf-route ol { flex-wrap: wrap; justify-content: flex-start; flex-basis: 100%; }
	.scf-route ol::before { display: none; }
	.scf-route li { flex-direction: row; align-items: center; }
}

/* App badges + socials live under the right-hand column (client, 2 Oct 2026). */
.scf-apps { margin-top: 1.75rem; }
.scf-apps .sc-store-badges { flex-direction: column; align-items: flex-start; margin-bottom: 0.9rem; }
.scf-apps .sc-store-badge { min-width: 9.5rem; }
.scf-apps .social-link { width: 2rem; height: 2rem; }
@media (max-width: 767.98px) {
	.scf-apps .sc-store-badges { flex-direction: row; flex-wrap: wrap; }
}

/* ?loc=b: app badges + socials stay in the left brand column, pushed to its bottom (client, 2 Oct 2026). */
@media (min-width: 1200px) {
	.scf--loc-b .scf-brand { display: flex; flex-direction: column; }
	.scf--loc-b .scf-brand .scf-apps { margin-top: auto; padding-top: 1.5rem; }
	.scf--loc-b .scf-apps .sc-store-badges { flex-direction: row; flex-wrap: nowrap; gap: 0.5rem !important; }
	.scf--loc-b .scf-apps .sc-store-badge { min-width: 0; padding: 0.35rem 0.65rem; gap: 0.45rem; white-space: nowrap; }
}
.scf-col--assist .scf-h img { height: 1.15rem; }
