@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Caveat";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/caveat-latin-500.woff2") format("woff2");
}

:root {
	--font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-script: "Caveat", "Segoe Script", cursive;

	--color-navy: #0b1049;
	--color-text: #37447a;
	--color-muted: #55638e;
	--color-primary: #6431f0;
	--color-primary-deep: #4a2be0;
	--color-lavender: #f3eefe;
	--color-page: #f9faff;
	--color-surface: var(--color-white);
	--color-border: #e8eafb;
	--color-success: #087f4f;
	--color-danger: #d10f45;
	--color-white: #fff;
	--color-focus: #7c3aed;
	--color-navy-lift: #0a1a5c;

	/* Sampled off the brand lockup: the ring runs violet to blue to cyan.
	   Shop level only — a product landing re-themes --color-primary. */
	--brand-violet: var(--color-primary);
	--brand-blue: #1273fa;
	--brand-cyan: #21d8fc;
	--rgb-brand-blue: 18 115 250;
	--rgb-brand-cyan: 33 216 252;
	--color-hero-tint: #f0e6fd;
	--color-device-edge: #474747;
	--rgb-primary: 100 49 240;
	--rgb-focus: 124 58 237;
	--rgb-ink: 20 24 90;
	--rgb-shadow: 50 30 120;
	--rgb-white: 255 255 255;

	--gradient-primary: linear-gradient(135deg, #7a35f5 0%, #5a33f7 100%);
	--gradient-accent: linear-gradient(90deg, #5b2af0 0%, #7a35f5 100%);
	--gradient-tint: linear-gradient(135deg, #f5f1ff 0%, #eef1fd 100%);
	--gradient-tint-strong: linear-gradient(90deg, #e3d7fd 0%, #e8edfd 100%);
	--gradient-line: linear-gradient(90deg, #d9c9fb, #b9a0f8 50%, #d9c9fb);
	--gradient-brand: linear-gradient(100deg, var(--brand-violet) 0%, var(--brand-blue) 55%, var(--brand-cyan) 100%);

	--fs-xs: 0.75rem;
	--fs-sm: 0.8125rem;
	--fs-base: 0.875rem;
	--fs-md: 1rem;
	--fs-lg: 1.125rem;
	--fs-xl: 1.375rem;
	--fs-2xl: 1.75rem;
	--fs-3xl: clamp(1.875rem, 1.1rem + 2.2vw, 2.5rem);

	--lh-tight: 1.2;
	--lh-snug: 1.4;
	--lh-body: 1.6;
	--lh-relaxed: 1.7;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;

	--radius-sm: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1rem;
	--radius-xl: 1.25rem;

	--shadow-card: 0 1px 2px rgb(var(--rgb-ink) / 0.04), 0 8px 24px rgb(52 40 160 / 0.06);

	--fs-section-title: var(--fs-2xl);
	--fs-section-lead: var(--fs-base);
	--fs-eyebrow: var(--fs-sm);
	--head-title-max: none;
	--head-title-wrap: wrap;
	--head-lead-max: none;
	--head-lead-wrap: wrap;
	--head-gap: var(--space-5);

	--container: 75rem;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section-space: var(--space-8);

	--tap-min: 2.75rem;
	--section-nav-height: 3.25rem;
	--mask-fade-end: linear-gradient(90deg, #000 85%, transparent);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

html:has(.vamora-section-nav) {
	scroll-padding-top: calc(var(--chrome-height) + var(--section-nav-height) + var(--space-4));
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.vamora-button,
	.vamora-faq__toggle-icon {
		transition: none;
	}

	.vamora-button:hover {
		transform: none;
	}
}

/* Column layout keeps the footer at the window's foot on a short page. */
body {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	color: var(--color-text);
	background: var(--color-page);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body > main {
	flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

h1,
h2,
h3,
h4 {
	color: var(--color-navy);
	font-weight: 700;
	line-height: var(--lh-tight);
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vamora-skip-link {
	position: fixed;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 100;
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-sm);
	background: var(--color-navy);
	color: var(--color-white);
	font-weight: 600;
	transform: translateY(-200%);
}

.vamora-skip-link:focus {
	transform: none;
}

.vamora-container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.vamora-icon {
	flex: none;
	width: var(--icon-size, 1.25rem);
	height: var(--icon-size, 1.25rem);
}

.vamora-card {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	box-shadow: var(--shadow-card);
}

.vamora-section {
	padding-block: calc(var(--section-space) / 2);
}

.vamora-section-head {
	margin-bottom: var(--head-gap);
	text-align: center;
}

.vamora-eyebrow {
	color: var(--eyebrow-color, var(--color-primary));
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: var(--lh-snug);
	text-transform: uppercase;
}

.vamora-section-head__eyebrow {
	margin-bottom: var(--space-2);
}

.vamora-section-head__title {
	max-width: var(--head-title-max);
	margin-inline: auto;
	color: var(--head-title, var(--color-navy));
	font-size: var(--fs-section-title);
	text-wrap: var(--head-title-wrap);
}

.vamora-section-head__lead {
	max-width: var(--head-lead-max);
	margin: var(--space-2) auto 0;
	color: var(--head-lead, var(--color-muted));
	font-size: var(--fs-section-lead);
	text-wrap: var(--head-lead-wrap);
}

.vamora-section-head--start {
	text-align: left;
}

.vamora-section-head--start .vamora-section-head__title,
.vamora-section-head--start .vamora-section-head__lead {
	margin-inline: 0;
}

.vamora-section-head--start .vamora-section-head__title {
	font-size: var(--fs-xl);
}

.vamora-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	min-height: 3.5rem;
	padding: 0 var(--space-6);
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	font-family: inherit;
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.vamora-button:hover {
	transform: translateY(-1px);
}

.vamora-button--compact {
	min-height: 2.75rem;
	border-radius: var(--radius-sm);
	font-size: var(--fs-base);
}

.vamora-button--primary {
	background: var(--gradient-primary);
	color: var(--color-white);
	box-shadow: 0 8px 20px rgb(var(--rgb-primary) / 0.28);
}

.vamora-button--outline {
	border-color: var(--color-primary);
	background: var(--color-surface);
	color: var(--color-primary);
}

.vamora-button--ghost {
	border-color: rgb(var(--rgb-white) / 0.28);
	background: rgb(var(--rgb-white) / 0.04);
	color: var(--color-white);
}

.vamora-button--ghost:hover {
	border-color: rgb(var(--rgb-white) / 0.5);
	background: rgb(var(--rgb-white) / 0.1);
}

.vamora-button__badge {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--color-white);
	color: var(--color-primary);
	--icon-size: 0.875rem;
}

.vamora-button__play {
	--icon-size: 1.5rem;
}

/* Section nav — the landing anchors, sticky under the shop chrome. Drawn from
   the product's own tokens, so each landing keeps its palette. */
.vamora-section-nav {
	position: sticky;
	top: var(--chrome-height);
	z-index: 40;
	border-bottom: 1px solid var(--color-border);
	background: rgb(var(--rgb-white) / 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.admin-bar .vamora-section-nav {
	top: calc(var(--chrome-height) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .vamora-section-nav {
		top: calc(var(--chrome-height) + 46px);
	}
}

.vamora-section-nav__inner {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	min-height: var(--section-nav-height);
	overflow-x: auto;
	scrollbar-width: none;
}

/* Below tablet the anchors scroll sideways; the fade says so, and the end
   padding lets the last link scroll clear of it. */
@media (max-width: 47.99em) {
	.vamora-section-nav__inner {
		padding-inline-end: var(--space-10);
		-webkit-mask-image: var(--mask-fade-end);
		mask-image: var(--mask-fade-end);
	}
}

.vamora-section-nav__inner::-webkit-scrollbar {
	display: none;
}

.vamora-section-nav__back {
	--icon-size: 1rem;

	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--space-2);
	min-height: var(--tap-min);
	padding-right: var(--space-4);
	border-right: 1px solid var(--color-border);
	color: var(--color-primary);
	font-size: var(--fs-sm);
	font-weight: 700;
	white-space: nowrap;
}

.vamora-section-nav__back:hover {
	text-decoration: underline;
}

.vamora-section-nav__list {
	display: flex;
	flex: none;
	gap: var(--space-5);
}

.vamora-section-nav__link {
	display: inline-block;
	padding-block: var(--space-3);
	color: var(--color-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
}

.vamora-section-nav__link:hover {
	color: var(--color-primary);
}

/* Parent-brand line — makes the Vamora Systems hierarchy explicit on the page a
   buyer actually lands on. */
.vamora-brand-line {
	margin-bottom: var(--space-2);
	color: var(--color-muted);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: var(--lh-snug);
	text-transform: uppercase;
}
