/* Kadstar theme layer. The approved layout remains in Tailwind utilities. */

html,
body {
	margin: 0;
	padding: 0;
}

body {
	overscroll-behavior: none;
	overflow-x: hidden;
}

h1,
h2,
h3,
p,
li,
a {
	overflow-wrap: break-word;
}

/* Home hero title only. Manrope matches body and labels and stays readable at display size. */
.home-hero-heading {
	font-family: "Manrope", sans-serif !important;
	font-weight: 800 !important;
}

::-webkit-scrollbar {
	display: none;
}

main > :first-child {
	margin-top: 0 !important;
}

main > :last-child {
	margin-bottom: 0 !important;
}

.kadstar-nav,
.kadstar-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kadstar-footer-nav {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.kadstar-footer-nav a {
	color: inherit;
	text-decoration: none;
}

.kadstar-footer-nav a:hover {
	color: #ffffff;
}

.site-header {
	position: relative;
	transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease;
}

body.kadstar-sticky-header .site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
}

.kadstar-header-bar {
	min-height: calc(var(--kadstar-header-logo, 6rem) + 1.25rem);
	height: auto;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.site-header img.logo-dark,
.site-header img.logo-light,
footer img.footer-logo {
	height: var(--kadstar-header-logo, 6rem);
	max-width: min(70vw, 28rem);
}

footer img.footer-logo {
	height: var(--kadstar-footer-logo, 6rem);
	max-width: min(70vw, 24rem);
	background: transparent;
	padding: 0;
}

body.kadstar-sticky-header main {
	padding-top: calc(var(--kadstar-header-logo, 6rem) + 1.25rem);
}

.site-header.header--white {
	background-color: rgba(255, 255, 255, 0.94);
	border-color: #e9e8e5;
	color: #000000;
}

.site-header.header--grey {
	background-color: rgba(247, 247, 247, 0.94);
	border-color: #e3e2df;
	color: #000000;
}

.site-header.header--black {
	background-color: #000000;
	border-color: #2a2a2a;
	color: #ffffff;
}

.site-header .logo-light {
	display: none;
}

.site-header.header--black .logo-dark {
	display: none;
}

.site-header.header--black .logo-light {
	display: block;
}

.kadstar-wordmark {
	border-color: #e9e8e5;
	color: #1b1c1a;
}

.kadstar-wordmark-sub {
	color: #4c4546;
}

.site-header.header--black .kadstar-wordmark {
	border-color: #333333;
	color: #ffffff;
}

.site-header.header--black .kadstar-wordmark-sub {
	color: #d0d0d0;
}

.site-header.header--white .kadstar-nav a,
.site-header.header--grey .kadstar-nav a {
	color: #4c4546;
}

.site-header.header--white .kadstar-nav a[aria-current="page"],
.site-header.header--grey .kadstar-nav a[aria-current="page"],
.site-header.header--white .kadstar-nav .current-menu-item > a,
.site-header.header--grey .kadstar-nav .current-menu-item > a {
	color: #000000;
	font-weight: 700;
}

.site-header.header--black .kadstar-nav a,
.site-header.header--black .kadstar-menu-btn {
	color: #ffffff;
}

.site-header.header--black .kadstar-nav a[aria-current="page"] {
	color: #ffffff;
}

.site-header.header--black .kadstar-cta {
	background-color: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

.kadstar-menu-icon,
.kadstar-menu-icon::before,
.kadstar-menu-icon::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	content: "";
	position: relative;
}

.kadstar-menu-icon::before {
	position: absolute;
	top: -6px;
}

.kadstar-menu-icon::after {
	position: absolute;
	top: 6px;
}

.kadstar-menu-btn {
	position: relative;
	flex: 0 0 auto;
}

.kadstar-menu-btn.is-open .kadstar-menu-icon {
	background: transparent;
}

.kadstar-menu-btn.is-open .kadstar-menu-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.kadstar-menu-btn.is-open .kadstar-menu-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 1023px) {
	.kadstar-header-cta,
	.kadstar-wordmark {
		display: none !important;
	}
}

.kadstar-mobile-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: calc(100% - 2.5rem);
	margin: 0 1.25rem 1.25rem;
	min-height: 3rem;
	padding: 0.75rem 1.25rem;
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 700;
	font-size: 11px;
	line-height: 1.3;
	text-align: center;
}

.site-header.header--black .kadstar-mobile-cta {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

.kadstar-arrow {
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-left: 0.35em;
	flex: 0 0 auto;
	vertical-align: -0.05em;
}

.material-symbols-outlined {
	font-family: "Material Symbols Outlined" !important;
	font-weight: normal !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	white-space: nowrap !important;
	word-wrap: normal !important;
	direction: ltr;
	display: inline-block;
	font-feature-settings: "liga" !important;
	-webkit-font-feature-settings: "liga" !important;
	font-variant-ligatures: common-ligatures !important;
	font-variant-emoji: normal !important;
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.kadstar-mobile-panel {
	background: inherit;
	border-top: 1px solid currentColor;
}

.kadstar-nav--mobile {
	display: flex;
}

.kadstar-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.site-section.section--white {
	background-color: #ffffff !important;
}

.site-section.section--grey {
	background-color: #f7f7f7 !important;
}

.site-section.section--black {
	background-color: #000000 !important;
}

.theme-adapt.section--black,
.theme-adapt.section--black :is(h1, h2, h3, h4, p, li, blockquote, label) {
	color: #f2f2f2;
}

.theme-adapt.section--black :is(h1, h2, h3, h4, blockquote) {
	color: #ffffff !important;
}

.theme-adapt.section--black .bg-surface-container-lowest,
.theme-adapt.section--black .bg-surface-container-low,
.theme-adapt.section--black .bg-surface-container,
.theme-adapt.section--black .bg-surface-container-high,
.theme-adapt.section--black .bg-surface {
	background-color: #141414 !important;
	color: #f2f2f2;
}

.theme-adapt.section--black .bg-primary {
	background-color: #ffffff !important;
	color: #000000 !important;
}

.theme-adapt.section--white :is(h1, h2, h3, h4, blockquote),
.theme-adapt.section--grey :is(h1, h2, h3, h4, blockquote) {
	color: #000000 !important;
}

.theme-adapt.section--white .text-on-primary,
.theme-adapt.section--grey .text-on-primary,
.theme-adapt.section--white .text-tertiary-fixed-dim,
.theme-adapt.section--grey .text-tertiary-fixed-dim,
.theme-adapt.section--white .text-primary-fixed,
.theme-adapt.section--grey .text-primary-fixed {
	color: #1b1c1a !important;
}

.theme-adapt.section--white .bg-primary-container,
.theme-adapt.section--grey .bg-primary-container,
.theme-adapt.section--white .bg-tertiary-container,
.theme-adapt.section--grey .bg-tertiary-container {
	background-color: #f7f7f7 !important;
	color: #111111 !important;
}

body.admin-bar.kadstar-sticky-header .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.kadstar-sticky-header .site-header {
		top: 46px;
	}
}

.legal-copy .legal-kicker {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

.legal-copy .legal-updated {
	color: #5c5c5c;
	margin-bottom: 2rem;
}

.legal-copy h2 {
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 2rem 0 0.75rem;
}

.legal-copy p {
	margin: 0 0 1rem;
}

.legal-copy ul {
	list-style: disc;
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.legal-copy li {
	margin: 0.3rem 0;
}

.legal-copy a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
