/* =================================================================
   Light theme overrides (variables + high-traffic surfaces)
================================================================= */
[data-theme="light"] {
	--bg-deep: #F5F8FF;
	--bg-mid: #E7EEFB;
	--text-primary: #0A1B3D;
	--text-secondary: #3A4D75;
	--text-muted: #6B7E9F;
	--surface-panel: rgba(11, 42, 74, 0.04);
	--surface-border: rgba(11, 42, 74, 0.10);
	--glass-bg: rgba(255, 255, 255, 0.70);
	--glass-border: rgba(45, 125, 255, 0.22);
}

body, .topbar, .footer, .glass-panel, .flow__step, .why-ms__card,
.security-card, .module-card, .cta-band, .platform-snapshot__visual,
.cookie-banner, .isv-band__copy, .platform-starter {
	transition: background 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

/* =================================================================
   Eyebrow (used in many sections)
================================================================= */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 0.75rem; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--brand-cyan-glow);
}
.eyebrow::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; box-shadow: 0 0 8px currentColor;
}
[data-theme="light"] .eyebrow { color: var(--brand-electric-azure); }

/* =================================================================
   Buttons
================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 0.9375rem;
	text-decoration: none;
	transition: filter 150ms ease, transform 150ms ease, border-color 150ms ease, background 150ms ease;
	border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
	background: var(--brand-electric-azure); color: #fff;
	box-shadow: 0 8px 24px rgba(45, 125, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
	background: rgba(255,255,255,0.03); color: var(--text-primary);
	border-color: rgba(157, 178, 206, 0.20);
}
.btn-ghost:hover { border-color: rgba(32, 227, 255, 0.45); background: rgba(32, 227, 255, 0.05); }
[data-theme="light"] .btn-ghost {
	background: rgba(11, 42, 74, 0.04);
	border-color: rgba(11, 42, 74, 0.20);
	color: var(--text-primary);
}
[data-theme="light"] .btn-ghost:hover {
	border-color: rgba(45, 125, 255, 0.45);
	background: rgba(45, 125, 255, 0.06);
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 11px 18px; font-size: 0.875rem; border-radius: 8px; }

/* =================================================================
   Skip link (a11y)
================================================================= */
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	padding: 12px 16px; background: var(--brand-electric-azure); color: #fff;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =================================================================
   Cookie consent banner
================================================================= */
.cookie-banner {
	position: fixed;
	left: 24px; right: 24px; bottom: 24px;
	z-index: 200;
	max-width: 1240px;
	margin: 0 auto;
	padding: 22px 26px;
	background: rgba(11, 42, 74, 0.92);
	border: 1px solid rgba(32, 227, 255, 0.30);
	border-radius: 16px;
	backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
	box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	transform: translateY(0);
	opacity: 1;
	transition: transform 280ms ease, opacity 280ms ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-hiding { transform: translateY(20px); opacity: 0; pointer-events: none; }
.cookie-banner__content { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cookie-banner__title { font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.005em; }
.cookie-banner__text { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--text-secondary); }
.cookie-banner__text a {
	color: var(--brand-cyan-glow); text-decoration: none;
	border-bottom: 1px solid rgba(32, 227, 255, 0.35);
	transition: border-color 150ms ease;
}
.cookie-banner__text a:hover { border-color: var(--brand-cyan-glow); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btn {
	padding: 11px 18px; border-radius: 8px;
	font-size: 0.875rem; font-weight: 600;
	border: 1px solid transparent; cursor: pointer;
	white-space: nowrap;
	transition: filter 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
	font-family: inherit;
}
.cookie-btn--primary {
	background: var(--brand-electric-azure); color: #fff;
	box-shadow: 0 6px 18px rgba(45, 125, 255, 0.30);
}
.cookie-btn--primary:hover { filter: brightness(1.08); }
.cookie-btn--ghost {
	background: rgba(255,255,255,0.04); color: var(--text-primary);
	border-color: rgba(157, 178, 206, 0.22);
}
.cookie-btn--ghost:hover { border-color: rgba(32, 227, 255, 0.45); background: rgba(32, 227, 255, 0.06); }
.cookie-btn--text { background: transparent; color: var(--text-secondary); padding: 11px 12px; }
.cookie-btn--text:hover { color: var(--brand-cyan-glow); }
[data-theme="light"] .cookie-banner {
	background: rgba(255, 255, 255, 0.94);
	border-color: rgba(45, 125, 255, 0.28);
	box-shadow: 0 24px 60px rgba(11, 42, 74, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
}
[data-theme="light"] .cookie-banner__text a {
	color: var(--brand-electric-azure);
	border-bottom-color: rgba(45, 125, 255, 0.35);
}
[data-theme="light"] .cookie-btn--ghost {
	background: rgba(11, 42, 74, 0.04);
	border-color: rgba(11, 42, 74, 0.20);
	color: var(--text-primary);
}
[data-theme="light"] .cookie-btn--ghost:hover {
	border-color: rgba(45, 125, 255, 0.45);
	background: rgba(45, 125, 255, 0.06);
}
[data-theme="light"] .cookie-btn--text:hover { color: var(--brand-electric-azure); }

@media (max-width: 820px) {
	.cookie-banner { grid-template-columns: 1fr; left: 16px; right: 16px; bottom: 16px; padding: 20px 22px; }
	.cookie-banner__actions { justify-content: stretch; }
	.cookie-btn { flex: 1; }
}

/* =================================================================
   Container utilities
================================================================= */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* =================================================================
   Section header (used in why-ms etc.)
================================================================= */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-header { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 {
	margin: 0 0 16px;
	font-size: clamp(2.25rem, 3.5vw + 1rem, 3rem);
	line-height: 1.1; font-weight: 600; letter-spacing: -0.025em;
}
.section-header p { margin: 0; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.6; }
