/* ===========================================
   1. CSS VARIABLES & BREAKPOINTS
   =========================================== */
:root {
	--mobile-menu-width: 320px;
	--hamburger-bar-height: 3px;
	--touch-target-min: 44px;
	--mobile-padding: 1rem;
	--tablet-padding: 1.5rem;
}

/* ===========================================
   2. HAMBURGER BUTTON STYLES
   =========================================== */
.hamburger-btn {
	display: none; /* Hidden on desktop, shown on mobile via media query */
	flex-direction: column;
	justify-content: space-around;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
	position: relative;
}

.hamburger-btn:focus {
	outline: 2px solid var(--color-highlight);
	outline-offset: 2px;
}

.hamburger-bar {
	width: 24px;
	height: var(--hamburger-bar-height);
	background-color: #000;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

/* Animated hamburger to X transformation */
.mobile-menu-open .hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-menu-open .hamburger-bar:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px);
}

.mobile-menu-open .hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   3. MOBILE MENU DRAWER & NAVIGATION
   =========================================== */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	display: none;
}

.mobile-menu-open .mobile-menu-overlay {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu-drawer {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 1000;
	overflow-y: auto;
	transform: translateY(-100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-open .mobile-menu-drawer {
	transform: translateY(0);
}

/* Prevent body scroll when menu is open */
.mobile-menu-open {
	overflow: hidden;
}

/* Mobile menu header */
.mobile-menu-header {
	padding: 1.5rem 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-menu-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #fff;
	text-decoration: none;
	flex: 1;
	justify-content: center;
}

.mobile-menu-logo svg {
	height: 40px;
	width: auto;
}

.mobile-menu-logo span {
	font-family: "United Sans Condensed", sans-serif;
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1;
}

.mobile-menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-size: 1.25rem;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.mobile-menu-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Mobile navigation items */
.mobile-menu-nav {
	padding: 1rem 0;
}

.mobile-menu-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-menu-nav > ul > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-nav a,
.mobile-menu-nav button.mobile-nav-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	color: #fff;
	text-decoration: none;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	min-height: var(--touch-target-min);
	transition: background 0.2s ease;
	background: none;
	border: none;
	width: 100%;
	cursor: pointer;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus,
.mobile-menu-nav button.mobile-nav-toggle:hover,
.mobile-menu-nav button.mobile-nav-toggle:focus {
	background: rgba(237, 194, 56, 0.1);
	color: var(--color-highlight);
}

/* Mobile dropdown accordion */
.mobile-nav-item--has-dropdown > .mobile-nav-toggle {
	cursor: pointer;
}

.mobile-nav-item--has-dropdown .nav-caret {
	transition: transform 0.25s ease;
}

.mobile-nav-item--has-dropdown.mobile-dropdown-open .nav-caret {
	transform: rotate(180deg);
}

.mobile-nav-submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-item--has-dropdown.mobile-dropdown-open .mobile-nav-submenu {
	max-height: 500px;
}

.mobile-nav-submenu li a {
	padding-left: 2.5rem;
	font-size: 0.95rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.mobile-nav-submenu li a span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-highlight);
	flex-shrink: 0;
}

.mobile-nav-submenu li a:hover span {
	background: rgba(237, 194, 56, 0.2);
}

/* Mobile menu footer with partner links */
.mobile-menu-footer {
	padding: 1.5rem 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: auto;
}

.mobile-menu-footer .logo--partners {
	display: none;
}

.mobile-menu-footer .logo--partners a i {
	color: var(--color-highlight);
}

.mobile-menu-cta {
	margin-top: 1rem;
}

.mobile-menu-cta .btn {
	width: 100%;
	justify-content: center;
	min-height: var(--touch-target-min);
}

/* ===========================================
   4. HEADER RESPONSIVE
   =========================================== */
@media (max-width: 1023px) {
	/* Show hamburger, hide desktop nav */
	.hamburger-btn {
		display: flex;
	}

	.main-nav {
		display: none;
	}

	.mobile-menu-overlay,
	.mobile-menu-drawer {
		display: block;
		pointer-events: none;
	}

	.mobile-menu-open .mobile-menu-overlay,
	.mobile-menu-open .mobile-menu-drawer {
		pointer-events: auto;
	}

	/* Header adjustments */
	.header__inner {
		padding-block: 1rem;
		min-height: 80px;
		padding-inline: var(--tablet-padding);
	}

	/* Logo adjustments */
	.logo-icon {
		height: 65px;
	}

	.logo span {
		font-size: 2rem;
	}

	.logo--partners {
		display: none;
	}

	/* Hide decorative background element on mobile */
	.site-header::before {
		display: none;
	}
}

@media (max-width: 767px) {
	html,
	body {
		overflow-x: hidden;
		max-width: 100%;
	}

	.header__inner {
		padding-inline: var(--mobile-padding);
	}

	.logo-icon {
		height: 45px;
		fill: #fff; /* Dark mode for mobile header */
	}

	.logo-icon circle {
		fill: #fff; /* Dark mode for mobile header */
	}

	.logo span {
		font-size: 1.65rem;
		color: #fff; /* Dark mode for mobile header */
	}

	.logo--partners {
		display: none;
	}

	.hamburger-bar {
		background-color: #fff; /* Dark mode for mobile header */
	}

	.site-header {
		background-color: #000; /* Dark mode for mobile header */
	}
}

/* ===========================================
   5. HERO SECTION RESPONSIVE
   =========================================== */
@media (max-width: 1023px) {
	.hero {
		margin-top: 1rem;
		margin-inline: max(0.5rem, var(--tablet-padding));
		border-radius: 15px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		padding-block: 3rem;
		gap: 2rem;
	}

	.hero__content {
		text-align: center;
		align-items: center;
		order: 2;
		padding-right: 0;
	}

	.hero__content-wrap {
		justify-content: center;
		order: 2;
	}

	.hero__image {
		order: 1;
		justify-content: center;
	}

	.hero__image img {
		margin-left: 0;
		max-width: 300px;
	}

	.hero__content p {
		font-size: 1rem;
	}

	.hero__button {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.hero {
		margin-inline: 0;
		border-radius: 0;
		margin-top: 0;
	}

	.hero__inner {
		padding-block: 3rem;
		padding-inline: var(--mobile-padding);
		gap: 1.5rem;
	}

	.title-smaller {
		font-size: 1.5rem !important;
	}

	.hero__content p {
		font-size: 0.95rem;
		line-height: 1.6;
	}

	.hero__image img {
		max-width: 220px;
	}
}

/* ===========================================
   6. FEATURES GRID RESPONSIVE
   =========================================== */
@media (max-width: 1023px) {
	.section-lead {
		padding: 4em var(--tablet-padding) 0 var(--tablet-padding);
	}

	.features__grid {
		grid-template-columns: repeat(2, 1fr);
		padding: 3rem var(--tablet-padding) 6rem var(--tablet-padding);
		gap: 2rem;
	}

	.feature__icon {
		margin-top: -60px;
	}

	.feature__icon img {
		max-width: 120px;
	}

	.bg--feature {
		padding: 1.5rem 2rem 2.5rem 2rem;
	}

	.feature__title {
		font-size: 1.75rem;
	}

	.feature__description {
		font-size: 0.95rem;
	}
}

@media (max-width: 767px) {
	.section-lead {
		padding: 3em 0 0 0;
	}

	.section-title {
		max-width: 100%;
	}

	.section-description {
		font-size: 1rem;
	}

	.features__grid {
		grid-template-columns: 1fr;
		padding: 2.5rem 0 4rem 0;
		gap: 2.5rem;
	}

	.feature__icon {
		margin-top: -50px;
	}

	.feature__icon img {
		max-width: 100px;
	}

	.bg--feature {
		padding: 1.5rem 1.5rem 2rem 1.5rem;
	}

	.feature__title {
		font-size: 1.5rem;
	}
}

/* ===========================================
   6b. SHOWCASE (Tabbed Cluster Display) RESPONSIVE
   =========================================== */
@media (max-width: 1023px) {
	.showcase {
		margin-inline: var(--tablet-padding);
		margin-bottom: 4rem;
	}

	.showcase__tab {
		padding: 1rem 1.25rem;
		font-size: 1rem;
		gap: 0.5rem;
	}

	.showcase__tab-icon {
		width: 26px;
		height: 26px;
	}

	.showcase__panel {
		grid-template-columns: 1fr 1fr;
	}

	.showcase__panel-main {
		padding: 2.5rem 2.5rem;
	}

	.showcase__panel-sidebar {
		padding: 2.5rem 2rem;
	}

	.cluster-flow__heading-icon {
		width: 44px;
		height: 44px;
	}

	.cluster-flow__title {
		font-size: 2.1rem;
	}

	.cluster-flow__desc {
		font-size: 1rem;
	}
}

@media (max-width: 767px) {
	.showcase {
		margin-inline: 0;
		margin-top: -2px;
		margin-bottom: 3rem;
		border-radius: 0;
		grid-template-columns: 1fr;
	}

	.showcase__tabs {
		flex-direction: row;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.showcase__tab {
		flex: 1;
		padding: 0.9rem 0.75rem;
		font-size: 1.25rem;
		gap: 0.4rem;
		border-radius: 0 !important;
		flex-direction: column;
		justify-content: center;
	}

	.showcase__tab-icon {
		width: 28px;
		height: 28px;
	}

	.showcase__tab:not(:last-child) {
		border-right: 1px solid rgba(0, 0, 0, 0.06);
		border-bottom: none;
	}

	.showcase__timer {
		display: none;
	}

	.showcase__tab-progress {
		display: none;
	}

	.showcase__panel {
		grid-template-columns: 1fr;
	}

	.showcase__panel-main {
		padding: 2rem 1.5rem;
	}

	.showcase__panel-sidebar {
		padding: 3rem 1.5rem;
		border-radius: 0;
	}

	.cluster-flow__heading {
		gap: 0.75rem;
	}

	.cluster-flow__heading-icon {
		width: 80px;
		height: 80px;
	}

	.cluster-flow__title {
		font-size: 1.95rem;
	}

	.cluster-flow__desc {
		font-size: 0.95rem;
		font-weight: 500;
		color: 111;
		line-height: 1.7;
	}

	.showcase__panel-main .btn {
		align-self: stretch;
		justify-content: center;
	}
}

/* ===========================================
   7. PARTNERSHIP & ABOUT SECTIONS
   =========================================== */
@media (max-width: 1023px) {
	.partnership {
		padding-inline: var(--tablet-padding);
	}

	.partnership__inner {
		grid-template-columns: 1fr;
		padding-block: 4rem 6rem;
		gap: 2rem;
	}

	.partnership__content {
		padding-right: 0;
		padding-top: 0;
		order: 2;
	}

	.partnership__image {
		order: 1;
	}

	.partnership__image img {
		max-width: 400px;
	}

	.partnership__buttonholder {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	/* About hero sections */
	.about-hero__grid {
		grid-template-columns: 1fr;
	}

	.about-hero__inner {
		padding: 3rem;
		grid-template-columns: 1fr;
	}

	.about-section-title {
		font-size: 2.5rem !important;
	}

	.about-hero__graphic {
		display: none;
	}

	.about-hero__sidebar {
		padding: 2rem 1.5rem;
	}

	/* FAQ sections */
	.faq__list {
		flex-direction: column;
		gap: 1rem;
	}

	.faq__cta-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 2rem;
	}

	.faq__cta-actions {
		width: 100%;
		flex-direction: column;
	}

	.faq__cta-actions .btn {
		width: 100%;
		justify-content: center;
	}

	/* Team cards - tablet */
	.team-cards__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.team-card__body {
		padding: 1.75rem 1.5rem;
	}

	/* Docs - tablet */
	.docs-layout {
		grid-template-columns: 1fr;
	}

	.docs-layout__graphic {
		position: static;
		min-height: 220px;
	}

	.docs__page-title {
		font-size: 2.1rem;
	}

	/* Partners - tablet */
	.partners__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.partner-card {
		padding: 2rem;
	}

	.disclaimer__card {
		padding: 2rem;
	}
}

@media (max-width: 767px) {
	.hero {
		border-radius: 0;
		box-shadow: none !important;
	}
	.hero__content h1 {
		font-size: 2.5rem !important;
	}
	.hero__badges {
		display: none;
	}
	.partnership {
		padding-inline: 0;
		margin-top: -50px;
	}

	.partnership__inner {
		padding-block: 3rem 4rem;
		gap: 1.5rem;
	}

	.partnership__content {
		padding-right: 0;
	}

	.partnership__content p {
		font-size: 0.95rem;
		font-weight: 500;
		line-height: 1.7;
		color: #444;
	}

	.partnership__image img {
		max-width: 60%;
	}

	.partnership__image {
		display: none;
	}

	.partnership__buttonholder {
		flex-direction: column;
		gap: 0.75rem;
	}

	.partnership__buttonholder .btn {
		width: 100%;
		justify-content: center;
	}

	/* About sections */
	.about-hero .container {
		padding-block: 0;
		padding-inline: 0 !important;
		margin-inline: 0;
		position: relative;
		z-index: 99;
	}

	.about-hero {
		padding-block: 0 1.5rem;
	}

	.about-hero__box {
		border-radius: 0;
	}

	.about-hero__main {
		padding-block: 1rem 1.5rem;
	}

	.about-hero__inner {
		padding: 2rem 1.5rem;
	}

	.about-section-title {
		font-size: 2rem !important;
	}

	.about-hero__breadcrumb {
		display: none;
	}

	.about-hero__content p {
		font-size: 1rem;
	}

	.about-hero__sidebar {
		padding: 0;
		background-color: transparent;
		border: none;
		overflow: hidden;
		position: relative;
		z-index: 9;
	}

	/* Slide animation wrapper */
	.about-hero__sidebar-drawer {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.about-hero__sidebar.open .about-hero__sidebar-drawer {
		grid-template-rows: 1fr;
	}

	.about-hero__sidebar-drawer > .about-hero__nav {
		overflow: hidden;
		min-height: 0;
		display: flex;
		flex-direction: column;
		gap: 0.35rem;
		padding: 0 1rem;
		background-color: #fff;
		border-radius: 0;
		margin-top: 0;
	}

	.about-hero__sidebar.open .about-hero__sidebar-drawer > .about-hero__nav {
		padding: 1rem;
	}

	.about-hero__sidebar-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 2.5rem;
		background: #232323;
		border: none;
		cursor: pointer;
		font-size: 0.9rem;
		color: #ccc;
		gap: 0.5rem;
	}

	.about-hero__sidebar-toggle i {
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.about-hero__sidebar.open .about-hero__sidebar-toggle i {
		transform: rotate(180deg);
	}

	.about-body__inner {
		padding-block: 2rem 3rem;
		padding-inline: 0 !important;
	}

	.about-body__grid {
		grid-template-columns: 1fr;
		gap: 0;
		margin-top: -50px;
	}

	.about-body__card {
		padding: 0 1.5rem 4rem 1.5rem;
		border-radius: 0;
		box-shadow: none !important;
	}

	.about-body__card:first-child {
		padding-top: 2rem;
	}

	.about-body__card-icon--img img {
		max-width: 80px;
		margin-left: -2rem;
	}

	.about-body__card h3 {
		font-size: 1.75rem;
		margin-top: -1rem;
	}

	.contact {
		gap: 1.5rem;
	}

	.contact__form {
		padding: 1.5rem 1.5rem 2.5rem 1.5rem;
		gap: 1rem;
		border-radius: 0;
		margin-top: -50px;
		box-shadow: none !important;
	}

	.contact__info {
		padding-inline: 1.5rem;
		padding-block: 1rem;
	}

	.contact__heading {
		font-size: 1.85rem;
		margin-bottom: 0.75rem;
	}

	.contact__desc {
		font-size: 0.95rem;
		line-height: 1.7;
		margin-bottom: 1.5rem;
	}

	.contact__details {
		gap: 1rem;
	}

	.contact__detail {
		gap: 0.85rem;
	}

	.contact__detail-icon {
		width: 38px;
		height: 38px;
		border-radius: 10px;
		font-size: 0.9rem;
	}

	.contact__detail strong,
	.contact__link {
		font-size: 0.95rem;
	}

	.contact__field label {
		font-size: 0.95rem;
	}

	.contact__field input,
	.contact__field textarea,
	.contact__field select {
		padding: 0.8rem 0.9rem;
		font-size: 1rem;
		border-radius: 10px;
	}

	.contact__field textarea {
		min-height: 140px;
	}

	.contact__captcha {
		overflow: hidden;
	}

	.contact__captcha .g-recaptcha {
		transform: scale(0.92);
		width: 280px;
	}

	.contact__submit {
		width: 100%;
		justify-content: center;
		align-self: stretch;
		margin-top: 0.25rem;
	}

	.contact__status {
		gap: 0.75rem;
		padding: 1rem 1rem 1rem 1rem;
		padding-right: 2.75rem;
	}

	.contact__status-icon {
		width: 40px;
		height: 40px;
	}

	.contact__status-body strong,
	.contact__status-body p {
		font-size: 0.95rem;
	}

	.team__grid {
		gap: 2rem;
	}

	.team-cards__grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding-bottom: 2rem;
	}

	.team-card {
		padding: 0;
		margin: 1rem;
		border-width: 12px;
		border-radius: 20px;
	}

	.team-card__body {
		padding: 1.5rem 1.25rem;
	}

	.partners {
		padding-top: 2rem;
		padding-inline: var(--mobile-padding);
	}

	.disclaimer {
		padding-top: 2rem;
		padding-inline: var(--mobile-padding);
	}

	/* Docs - mobile */
	.docs {
		padding-inline: var(--mobile-padding);
	}

	.docs-layout__graphic {
		display: none;
	}

	.docs-layout__graphic-inner {
		padding: 1.25rem;
	}

	.docs-layout__image {
		max-width: 200px;
	}

	.docs__page-title {
		font-size: 1.75rem;
	}

	.docs__intro {
		border-left: none;
		border-radius: 0 0 16px 16px;
		margin-top: -55px;
		font-size: 0.95rem;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		margin: -65px -1rem 0 -1rem;
	}

	.docs__entry {
		gap: 1rem;
		padding: 1.5rem 0;
	}

	.docs__entry-text {
		font-size: 0.9rem;
		font-weight: 500;
	}

	.docs__entry-heading {
		flex-direction: column;
		gap: 0.35rem;
	}

	.docs__entry-abbr {
		width: fit-content;
	}

	/* Partners & Disclaimer - mobile */
	.partners__grid {
		grid-template-columns: 1fr;
	}

	.partner-card {
		padding: 1.75rem 1.5rem;
		border-radius: 20px;
	}

	.disclaimer__card {
		padding: 2rem 1.5rem;
		grid-template-columns: 1fr;
		gap: 2.5rem;
		border-radius: 20px;
	}

	.disclaimer__divider {
		width: 100%;
		height: 1px;
		margin: 1.5rem 0;
	}

	/* FAQ */
	.faq {
		padding-inline: 0;
	}

	.faq__inner {
		padding-inline: var(--mobile-padding) !important;
		padding-block: 0.5rem 3rem;
	}

	.faq__question {
		padding: 1.25rem 1rem 1rem;
		font-size: 1rem;
	}

	.faq__answer {
		padding: 1rem 1rem 1.5rem 3.5rem;
		font-size: 0.95rem;
	}

	.faq__number {
		width: 36px;
		height: 36px;
		font-size: 0.9rem;
	}
}

/* ===========================================
   7b. DESKTOP-ONLY DASHBOARD ALERT
   =========================================== */
.desktop-alert {
	display: none;
}

@media screen and (max-width: 1370px) {
	.embed__inner {
		min-width: auto;
	}

	.embed__frame {
		width: 100%;
	}

	.embed__frame-border {
		overflow-x: auto;
	}

	.sticky-scrollbar {
		position: fixed;
		bottom: 0;
		z-index: 900;
		overflow-x: auto;
		overflow-y: hidden;
		height: 14px;
		background: rgba(245, 245, 245, 0.95);
		border-top: 1px solid #ddd;
		transition: opacity 0.2s ease;
	}

	.sticky-scrollbar--hidden {
		opacity: 0;
		pointer-events: none;
	}

	.sticky-scrollbar__inner {
		height: 1px;
	}
}

@media screen and (max-width: 1350px) {
	.embed__inner {
		flex-direction: column;
	}

	.desktop-alert {
		display: block;
		width: 100%;
		margin-top: 4.5rem;
	}

	.desktop-alert + .embed__frame {
		margin-top: 1.25rem;
	}

	.desktop-alert__box {
		display: flex;
		align-items: center;
		gap: 1rem;
		padding: 0.85rem 1.25rem;
		background: #fffdf0;
		border: 1px solid #e0d9a8;
		border-left: 4px solid var(--color-highlight, #edc238);
		border-radius: 6px;
	}

	.desktop-alert__box i {
		font-size: 1.1rem;
		color: var(--color-highlight, #edc238);
		flex-shrink: 0;
	}

	.desktop-alert__box p {
		margin: 0;
		font-family: "Inter", sans-serif;
		font-size: 0.875rem;
		line-height: 1.5;
		color: #555;
	}
}

/* ===========================================
   8. DASHBOARD & EMBEDS
   =========================================== */
@media (max-width: 1023px) {
	.cluster-hero {
		gap: 1rem;
	}

	.cluster-hero__arrow {
		width: 40px;
		height: 40px;
		font-size: 0.95rem;
	}

	.page-section-header {
		padding-top: 4rem;
		padding-bottom: 0;
		margin-bottom: -3rem;
	}

	.dashboard__icon {
		margin-top: -2rem;
	}

	.dashboard__icon img {
		width: 180px;
	}

	/* Embed frames */
	.embed__inner {
		min-width: auto;
		padding-block: 2rem 3rem;
	}

	.embed__frame {
		margin-top: 2rem;
		border-radius: 15px;
	}

	.embed__frame-header {
		padding: 1rem 1.25rem;
		font-size: 0.9rem;
	}

	.embed__menubar {
		padding: 0 0.5rem;
	}

	.menubar__trigger {
		padding: 0.45rem 0.7rem;
	}

	.embed__frame-content {
		padding: 0.75rem;
	}
}

@media (max-width: 767px) {
	.cluster-hero {
		gap: 0.5rem;
	}

	.cluster-hero__arrow {
		width: 44px;
		height: 44px;
		font-size: 0.85rem;
	}

	.page-section-header {
		padding-top: 3rem;
		margin-bottom: -2rem;
	}

	.dashboard__icon {
		margin-top: -1.5rem;
		margin-bottom: 0.75rem;
	}

	.dashboard__icon img {
		width: 150px;
	}

	.dashboard__maincontrol {
		max-width: 100%;
		border-radius: 12px;
		margin-inline: 0.5rem;
	}

	.dashboard__maincontrol[style*="--active-index: 0"]::before {
		border-radius: 12px 0 0 12px;
	}
	.dashboard__maincontrol[style*="--active-index: 1"]::before {
		border-radius: 0;
	}
	.dashboard__maincontrol[style*="--active-index: 2"]::before {
		border-radius: 0 12px 12px 0;
	}

	.maincontrol__button {
		min-height: 90px;
		min-width: auto;
	}

	.maincontrol__button:first-child {
		border-radius: 12px 0 0 12px;
	}

	.maincontrol__button:last-child {
		border-radius: 0 12px 12px 0;
	}

	.maincontrol__button a {
		padding: 0.85rem 1.25rem;
	}

	.maincontrol__button a span {
		font-size: 0.95rem;
	}

	.maincontrol__button img {
		width: 55px;
	}

	/* Embed frames - enable horizontal scroll for Tableau */
	.embed__content {
		padding-inline: 0;
		min-height: 600px;
	}

	.embed__inner {
		min-width: auto;
		padding-block: 1.5rem 2rem;
		overflow-x: auto;
	}

	.embed__frame {
		margin-top: 1.5rem;
		border-radius: 0;
	}

	.embed__frame-header {
		padding: 1rem 1rem;
		border-radius: 10px 10px 0 0;
		font-size: 0.85rem;
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.embed__menubar {
		display: none;
	}

	.embed__frame-content {
		padding: 0.5rem;
	}

	.desktop-alert__box {
		border: none;
	}
}

/* ===========================================
   9. FOOTER & GLOBAL ELEMENTS
   =========================================== */
@media (max-width: 1023px) {
	.container {
		padding-inline: var(--tablet-padding);
	}

	.site-footer {
		padding-block: 4rem;
		margin-inline: var(--tablet-padding);
		border-radius: 15px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		text-align: center;
	}

	.col-center,
	.col-right {
		align-items: center;
	}

	.footer__col ul {
		text-align: center;
	}

	/* Touch-optimized buttons */
	.btn {
		min-height: var(--touch-target-min);
		padding: 0.45rem 1.4rem;
		font-size: 0.9rem;
	}

	.btn::after {
		font-size: 1rem;
	}
}

@media (max-width: 767px) {
	.container {
		padding-inline: var(--mobile-padding);
	}

	.site-footer {
		padding-block: 3rem;
		padding-inline: 0;
		margin-inline: 0;
		border-radius: 0;
	}
	.footer__col p:not(.logo-text) {
		font-size: 0.9rem;
		line-height: 1.7;
	}

	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem 1.25rem;
		text-align: left;
		padding-inline: 2rem !important;
	}

	.footer__col--wide {
		grid-column: 1 / -1;
	}

	.col-center,
	.col-right {
		align-items: flex-start;
	}

	.footer__col ul {
		text-align: left;
	}

	.footer__col h4 {
		font-size: 1.25rem;
	}

	.footer__col ul li {
		line-height: 2.2;
	}

	.footer__col a {
		font-size: 0.9rem;
	}

	/* Smaller button text on mobile */
	.btn,
	.btn--primary,
	.btn--secondary,
	.btn--outline,
	.btn--outline-dark,
	.btn--outline-gray,
	.btn--text {
		font-size: 0.85rem !important;
	}

	.btn::after {
		font-size: 1rem;
	}

	/* Global typography scaling */
	body {
		font-size: 16px;
		line-height: 1.7rem;
	}

	/* News Spotlight responsive */
	.news-spotlight {
		padding-block: 0 0.5rem;
	}

	.news-spotlight__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-inline: var(--mobile-padding);
	}

	.news-spotlight__graphic {
		display: none;
	}

	.news-spotlight__card {
		display: block;
	}

	.news-spotlight__title {
		font-size: 1.15rem;
	}

	/* Resources page responsive */
	.resources {
		padding-inline: 0;
	}

	.resources__table-wrap {
		border-radius: 0;
	}

	.resources__inner {
		padding-block: 2.5rem 4rem;
		padding-inline: 0 !important;
		padding-bottom: 0 !important;
	}

	.resources__layout {
		grid-template-columns: 1fr;
	}

	.resources__filters {
		position: static;
	}

	.table__header {
		padding: 1.5rem 1rem;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		border-radius: 0;
	}

	.table__header-left {
		justify-content: flex-start;
	}

	.table__filter-wrap {
		position: static;
	}

	.table__filter-panel {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-height: 70vh;
		overflow-y: auto;
		border-radius: 16px 16px 0 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(100%);
		transition:
			opacity 0.25s ease,
			transform 0.25s ease,
			visibility 0.25s;
		z-index: 100;
	}

	.table__filter-panel.open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.table__search {
		max-width: 100%;
	}

	/* Vertical card-style table on mobile */
	.resources__table {
		display: block;
		overflow-x: visible;
		white-space: normal;
	}

	.resources__table thead {
		display: none;
	}

	.resources__table tbody {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
	}

	.resources__table tbody tr {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
		padding: 1.5rem;
		border: 1px solid #e8e8e8;
		border-radius: 12px;
		background: #fafafa;
	}

	.resources__table tbody tr:hover {
		background: #f5f4f7;
	}

	.resources__table tbody td {
		display: block;
		padding: 0;
		border: none;
		font-size: 0.9rem;
	}

	.resources__table tbody td:first-child {
		width: auto;
		order: -1;
	}

	.resources__table tbody td:nth-child(2) {
		width: auto;
	}

	.resource-title {
		gap: 0.25rem;
	}

	.resource-title strong {
		font-size: 1rem;
		line-height: 1.4;
	}

	.resource-title span {
		font-size: 0.85rem;
	}

	/* Size & date as labeled row */
	.resources__table tbody td:nth-child(3),
	.resources__table tbody td:nth-child(4) {
		display: inline-block;
		padding-left: 0;
	}

	.resources__table tbody td:nth-child(3) {
		margin-right: 1.5rem;
	}

	.resource-size,
	.resource-date {
		font-size: 0.85rem;
		color: #555;
	}

	.resource-size::before {
		content: "Size: ";
		font-weight: 600;
		color: #333;
	}

	.resource-date::before {
		content: "Uploaded: ";
		font-weight: 600;
		color: #333;
	}

	.resource-size::after {
		content: none;
	}

	.resources__table tbody td:last-child {
		padding-top: 0.5rem;
		text-align: left !important;
		border-top: 1px solid #e8e8e8;
		margin-top: 0.25rem;
		padding-top: 0.75rem;
	}

	.dl-btn {
		width: 100%;
		justify-content: center;
		padding: 0.6rem 1.25rem;
	}

	.table__footer {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	/* Kill all load-in animations on mobile */
	.news-spotlight__graphic img,
	.news-spotlight__graphic::before,
	.news-spotlight__graphic::after,
	.news-spotlight__cards > *,
	.showcase__panel--active .cluster-flow__heading,
	.showcase__panel--active .cluster-flow__label,
	.showcase__panel--active .cluster-flow__desc,
	.showcase__panel--active .cluster-flow__keywords,
	.showcase__panel--active .cluster-flow__sources,
	.showcase__panel--active .showcase__panel-sidebar .btn,
	.showcase__panel--active .showcase__sidebar-title,
	.showcase__panel--active .showcase__expect-list li {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.showcase__sidebar-title {
		font-weight: 600 !important;
		font-size: 1.5rem !important;
	}

	.showcase__expect-list li {
		font-size: 0.95rem !important;
	}

	.showcase__panel-sidebar .btn {
		margin-top: 1.5rem;
	}

	.resources__table-wrap {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ===========================================
   10. TABLET OPTIMIZATIONS
   =========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
	/* Tablet-specific optimizations */
	.hero__inner {
		padding-block: 4rem;
	}

	.features__grid {
		padding: 3.5rem 0.5rem 7rem 0.5rem;
	}

	.partnership__inner {
		padding-block: 5rem 7rem;
	}

	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
		text-align: left;
	}

	.col-center {
		align-items: flex-start;
	}

	.footer__col ul {
		text-align: left;
	}
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
@media (max-width: 767px) {
	.mobile-hide {
		display: none !important;
	}

	.mobile-text-center {
		text-align: center !important;
	}

	.mobile-full-width {
		width: 100% !important;
	}
}

/* ===========================================
   HELP GUIDE RESPONSIVE
   =========================================== */
@media (max-width: 1023px) {
	.guide-layout {
		flex-direction: column;
	}

	.guide-section__image {
		width: 100%;
		margin-left: 0;
		max-width: 100%;
	}

	.guide-sidebar {
		position: static;
		width: 100%;
	}

	.guide-sidebar__nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.guide-sidebar__heading {
		margin-bottom: 0.5rem;
	}

	.guide-toc__list {
		columns: 2;
	}

	.guide-hero__title {
		font-size: 2.25rem;
	}
}

@media (max-width: 767px) {
	.guide-hero {
		padding-block: 0;
		padding-inline: 0 !important;
	}

	.guide-hero__breadcrumb {
		display: none;
	}

	.guide-mobile-nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		position: static;
		z-index: 1;
		margin: 0;
		padding: 0.5rem 0.85rem;
		border: none;
		border-radius: 8px;
		background: #111;
		color: #fff;
		font-family: "Inter", sans-serif;
		font-size: 0.82rem;
		font-weight: 700;
		line-height: 1.1;
		box-shadow: var(--shadow-sm);
	}

	.guide-mobile-nav-toggle i {
		color: var(--color-highlight);
		font-size: 0.8rem;
	}

	.guide-hero__actions {
		display: none;
	}

	.guide-mobile-actionbar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		background: #fff;
		margin: 0 -1rem 1.25rem -1rem;
		border-top: 1px solid #e7e7e7;
		border-bottom: 1px solid #e7e7e7;
	}

	.guide-mobile-actionbar--menu-only {
		grid-template-columns: 1fr;
	}

	.guide-mobile-actionbar .guide-hero__download,
	.guide-mobile-actionbar .guide-mobile-nav-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		width: 100%;
		min-height: 50px;
		padding: 0.75rem 0.6rem;
		margin: 0;
		border-radius: 0;
		background: transparent;
		color: #111;
		box-shadow: none;
		font-size: 0.86rem;
		font-weight: 700;
		line-height: 1.1;
		text-decoration: none;
	}

	.guide-mobile-actionbar .guide-mobile-nav-toggle {
		border-left: 1px solid #e7e7e7;
	}

	.guide-mobile-actionbar--menu-only .guide-mobile-nav-toggle {
		border-left: none;
	}

	.guide-mobile-actionbar .guide-hero__download i,
	.guide-mobile-actionbar .guide-mobile-nav-toggle i {
		color: var(--color-highlight);
		font-size: 0.9rem;
	}

	.guide-hero__download {
		padding: 0.5rem 0.85rem;
		font-size: 0.82rem;
		border-radius: 8px;
		line-height: 1.1;
	}

	.guide-mobile-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease;
		z-index: 1002;
	}

	.guide-mobile-nav-backdrop.is-active {
		opacity: 1;
		pointer-events: auto;
	}

	body.guide-mobile-nav-open {
		overflow: hidden;
	}

	.guide-sidebar {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(88vw, 360px);
		z-index: 1003;
		margin: 0;
		padding: 1rem 1rem 2rem;
		border-radius: 0;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 220ms ease;
		box-shadow: var(--shadow-lg);
	}

	.guide-sidebar--mobile-open {
		transform: translateX(0);
	}

	.guide-sidebar__nav {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
	}

	.guide-hero__inner {
		padding: 2rem;
		border-radius: 0;
	}

	.guide-hero__title {
		font-size: 2rem;
	}

	.guide-hero__subtitle {
		font-size: 0.9rem;
		padding-top: 0.75rem;
	}

	.guide-section {
		padding-bottom: 2rem;
		margin-bottom: 2rem;
	}

	.guide-section__title {
		font-size: 1.5rem;
	}

	.guide-section p,
	.guide-section ul {
		font-size: 1rem;
	}

	.guide-intro {
		border-left: none;
		border-radius: 0;
		font-size: 0.95rem;
		margin: -48px -1rem 0 -1rem;
		position: relative;
		z-index: 1;
		box-shadow: none !important;
	}

	.guide-callout {
		flex-direction: column;
		gap: 0.5rem;
		font-size: 1rem;
	}

	.guide-toc__list {
		columns: 1;
	}

	.guide-toc {
		padding: 0;
		margin-top: 2rem;
		margin-bottom: 2rem;
	}

	.guide-toc__list a {
		font-size: 0.85rem;
	}
}

@media (max-width: 389px) {
	.contact__captcha .g-recaptcha {
		transform: scale(0.84);
		width: 255px;
	}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.hamburger-bar,
	.mobile-menu-drawer,
	.mobile-menu-overlay,
	.mobile-nav-submenu,
	.guide-mobile-nav-backdrop,
	.guide-sidebar {
		transition: none !important;
	}
}
