/* The home page is drawn to one reference, 1024 units wide, and from desktop up
   it keeps that composition exactly: --u is one reference unit, so every size
   below reads as the number measured off the reference. It stops growing at
   1920, where the art is at its sharpest, and the page centres from there.

   Below desktop --u is simply a pixel and each section stacks; the sizes there
   are set for reading on the device in hand, not derived from the reference. */
.vamora-home {
	container-type: inline-size;

	--home-font: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--home-ink: #070425;
	--home-text: #0b0930;
	--home-soft: #241d5c;
	--home-violet: #6a1fe0;
	--home-violet-ink: #3a0ccf;
	--home-icon: #7a22f0;
	--home-rule: rgb(122 60 235 / 0.4);
	--home-page: #f9f6fd;
	--home-white: #fff;

	--home-word: linear-gradient(176deg, #4a08d2 8%, #6306e3 32%, #8f06ed 58%, #c609f1 92%);
	--home-word-wide: linear-gradient(100deg, #b00cf0 0%, #a50aee 42%, #6d07e2 82%, #4a08d2 100%);
	--home-word-reverse: linear-gradient(100deg, #b00cf0 0%, #8a08ea 55%, #4a08d2 100%);
	--home-word-momentum: linear-gradient(100deg, #4a08d2 0%, #7d07e8 45%, #b60df2 100%);
	--home-stroke: linear-gradient(90deg, #8d2cf0, #b57af5);
	--home-rule-bar: linear-gradient(90deg, #5a10dc, #c23cf0);

	--home-button: linear-gradient(180deg, #a03ff8 0%, #7f1ae8 42%, #5a09c6 100%);
	--home-button-glow: rgb(122 40 235 / 0.38);
	--home-button-edge: rgb(255 255 255 / 0.42);
	--home-button-rim: rgb(236 190 255 / 0.85);
	--home-glass: rgb(255 255 255 / 0.58);
	--home-glass-strong: rgb(255 255 255 / 0.9);
	--home-glass-edge: rgb(255 255 255 / 0.92);
	--home-glass-shadow: rgb(120 70 220 / 0.2);
	--home-eyebrow-bg: rgb(236 226 252 / 0.82);
	--home-eyebrow-edge: rgb(190 165 240 / 0.48);

	--home-track-tight: -0.03em;
	--home-track-snug: -0.015em;

	background: var(--home-page);
	font-family: var(--home-font);
	color: var(--home-text);
}

/* The pricing reference sits on a lighter page than the others. */
.vamora-price {
	--home-page: #fcf9fe;
}

.vamora-home,
.vamora-home h1,
.vamora-home h2,
.vamora-home h3 {
	font-family: var(--home-font);
}

.vamora-home h1,
.vamora-home h2,
.vamora-home h3 {
	color: var(--home-ink);
	font-weight: 850;
}

/* A reference line break is part of the design, so it holds from desktop up. */
.vamora-home-line {
	display: block;
}

/* The gradient italic word. It runs larger than the line it sits in, by a scale
   each heading sets. The padding keeps its slant and its ascenders inside the box
   the gradient paints in, and the matching margin keeps that out of the layout. */
.vamora-home-word {
	position: relative;
	display: inline-block;
	padding: 0.16em 0.1em 0.16em 0;
	margin: -0.16em -0.1em -0.16em 0;
	background: var(--home-word);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: calc(var(--word-scale, 1) * 1em);
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.012em;
}

.vamora-home-word--wide {
	background-image: var(--home-word-wide);
}

.vamora-home-word--reverse {
	background-image: var(--home-word-reverse);
}

.vamora-home-word--momentum {
	background-image: var(--home-word-momentum);
}

.vamora-home-stroke {
	position: absolute;
	top: calc(100% - 0.17em);
	left: 0.02em;
	width: 34%;
	height: 0.13em;
	overflow: visible;
}

.vamora-home-stroke__path {
	fill: none;
	stroke: var(--home-violet);
	stroke-width: 2.4;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}

/* Buttons */
.vamora-home-button {
	--icon-size: 1.1em;

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 2.75rem;
	padding-inline: 1.5em;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.022em;
	white-space: nowrap;
}

.vamora-home-button--primary {
	background: var(--home-button);
	box-shadow: 0 0.5em 1.2em var(--home-button-glow), inset 0 0.08em 0 var(--home-button-edge), 0 0 0 0.06em var(--home-button-rim);
	color: var(--home-white);
}

.vamora-home-button--outline {
	border: 0.09em solid #4a25b5;
	background: rgb(255 255 255 / 0.32);
	color: #1a0f5e;
}

.vamora-home-button--outline .vamora-icon {
	color: var(--home-violet);
}

.vamora-home-button--light {
	background: var(--home-white);
	box-shadow: 0 0.4em 1em rgb(60 20 140 / 0.28);
	color: #35169f;
}

@media (min-width: 64em) {
	.vamora-home-button {
		min-height: 0;
		padding-inline: 0;
		font-size: calc(12.6 * var(--u));
	}
}
