/* Hypersphere public site: the landing page, the guide and the 404 page.
   Every color, radius, space, blur, shadow and duration comes from
   tokens.css (generated from design/tokens.json); mixes of tokens use
   color-mix. Only marketing-scale type sizes and the site's glass recipe,
   which have no token, are defined here, with Inter/SF Pro optical
   tracking (−0.0223 + 0.185·e^(−0.1745·size) em), tightened a little at
   display sizes. The site follows the system's light or dark appearance;
   the navigation, the hero, the video stage, the missions stage and the
   closing call to action are always dark (data-theme="dark"), as the
   workstation is. */

:root {
	--site-max: 1200px;
	--site-wide: 1280px;
	--site-narrow: 720px;
	--site-gutter: clamp(16px, 4.5vw, 48px);
	/* Pages are laid out edge to edge (viewport-fit=cover): text keeps clear
	   of the sensor housing and rounded corners of phones held sideways. */
	--site-gutter-left: max(var(--site-gutter), env(safe-area-inset-left));
	--site-gutter-right: max(var(--site-gutter), env(safe-area-inset-right));
	--site-nav-height: 52px;
	--site-section-space: clamp(96px, 12vw, 176px);
	/* Display type: hero, section, step and tile headlines. */
	--site-display-hero: 700 clamp(44px, 6.6vw, 96px) / 1.02 var(--hs-font-family-display);
	--site-display-hero-tracking: -0.034em;
	--site-display-1: 600 clamp(34px, 4.9vw, 68px) / 1.05 var(--hs-font-family-display);
	--site-display-1-tracking: -0.03em;
	--site-display-2: 600 clamp(28px, 3.3vw, 46px) / 1.08 var(--hs-font-family-display);
	--site-display-2-tracking: -0.026em;
	--site-display-3: 600 clamp(22px, 2.1vw, 30px) / 1.16 var(--hs-font-family-display);
	--site-display-3-tracking: -0.02em;
	--site-lede: 400 clamp(18px, 1.65vw, 22px) / 1.45 var(--hs-font-family-text);
	--site-lede-tracking: -0.014em;
	--site-reading: 400 17px/1.6 var(--hs-font-family-text);
	--site-reading-tracking: -0.012em;
	--site-small: 400 15px/1.45 var(--hs-font-family-text);
	--site-small-tracking: -0.009em;
}

/* The glass recipe, resolved in each appearance: themed subtrees
   (data-theme) recompute it from their own tokens. White is
   --hs-color-text-on-accent, white in every appearance. */
:root,
[data-theme] {
	--site-page: var(--hs-color-surface-base);
	--site-white: var(--hs-color-text-on-accent);
	--site-glass: color-mix(in oklab, var(--hs-color-surface-raised) 64%, transparent);
	--site-glass-strong: color-mix(in oklab, var(--hs-color-surface-raised) 82%, transparent);
	--site-glass-wash: color-mix(in oklab, var(--hs-color-text-primary) 6%, transparent);
	--site-hairline: var(--hs-color-glass-border);
	/* Specular edge: bright at the top-left corner, a soft return at the bottom-right. */
	--site-rim: color-mix(in srgb, var(--site-white) 34%, transparent);
	--site-rim-soft: color-mix(in srgb, var(--site-white) 10%, transparent);
	--site-sheen: color-mix(in srgb, var(--site-white) 6%, transparent);
	--site-depth: 0 1px 2px color-mix(in srgb, var(--hs-color-glass-shadow) 60%, transparent), 0 24px 64px -24px var(--hs-color-glass-shadow);
	--site-glow: color-mix(in oklab, var(--hs-color-accent-default) 30%, transparent);
	--site-glow-faint: color-mix(in oklab, var(--hs-color-accent-default) 12%, transparent);
}

@media (prefers-color-scheme: light) {
	:root:not([data-theme]) {
		--site-page: var(--hs-color-surface-base);
		--site-rim: color-mix(in srgb, var(--site-white) 90%, transparent);
		--site-rim-soft: color-mix(in srgb, var(--site-white) 50%, transparent);
		--site-sheen: color-mix(in srgb, var(--site-white) 55%, transparent);
	}
}

[data-theme="light"] {
	--site-page: var(--hs-color-surface-base);
	--site-rim: color-mix(in srgb, var(--site-white) 90%, transparent);
	--site-rim-soft: color-mix(in srgb, var(--site-white) 50%, transparent);
	--site-sheen: color-mix(in srgb, var(--site-white) 55%, transparent);
}

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

html {
	scroll-padding-top: calc(var(--site-nav-height) + var(--hs-space-16));
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--site-page);
	color: var(--hs-color-text-primary);
	font: var(--site-reading);
	letter-spacing: var(--site-reading-tracking);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

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

img {
	height: auto;
}

a {
	color: var(--hs-color-accent-text);
	text-underline-offset: 0.18em;
}

:focus-visible {
	outline: var(--hs-focus-width) solid var(--hs-color-focus-ring);
	outline-offset: var(--hs-focus-offset);
	border-radius: var(--hs-radius-xs);
}

code,
kbd,
pre,
samp {
	font-family: var(--hs-font-family-mono);
	font-size: 0.88em;
}

kbd {
	display: inline-block;
	min-width: 1.6em;
	padding: 0 0.4em;
	border: 1px solid var(--hs-color-border-default);
	border-bottom-width: 2px;
	border-radius: var(--hs-radius-xs);
	background: var(--hs-color-surface-raised);
	color: var(--hs-color-text-primary);
	font-size: 0.8em;
	line-height: 1.6;
	text-align: center;
	white-space: nowrap;
}

.site-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.site-skip {
	position: absolute;
	top: var(--hs-space-8);
	left: max(var(--hs-space-8), env(safe-area-inset-left));
	z-index: var(--hs-z-overlay);
	padding: var(--hs-space-8) var(--hs-space-16);
	border-radius: var(--hs-radius-md);
	background: var(--hs-color-accent-default);
	color: var(--hs-color-text-on-accent);
	font: var(--hs-type-body-strong);
	transform: translateY(-200%);
}

.site-skip:focus {
	transform: none;
}

.site-wrap {
	width: 100%;
	max-width: var(--site-max);
	margin: 0 auto;
	padding: 0 var(--site-gutter-right) 0 var(--site-gutter-left);
}

.site-num {
	font-variant-numeric: var(--hs-numeric-tabular);
}

.site-icon {
	flex: none;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ----- glass ------------------------------------------------------------------------------------
   A translucent fill with a faint top sheen, a hairline, a specular rim
   (bright at the top-left corner, a soft return at the bottom-right) and
   soft depth. Backdrop blur only where something shows through. */

.site-glass {
	position: relative;
	border: 1px solid var(--site-hairline);
	border-radius: 28px;
	background: linear-gradient(180deg, var(--site-sheen), transparent 42%), var(--site-glass);
	box-shadow: var(--site-depth);
}

.site-glass::before {
	content: "";
	position: absolute;
	inset: -1px;
	padding: 1px;
	border-radius: inherit;
	background: linear-gradient(150deg, var(--site-rim), transparent 26%, transparent 72%, var(--site-rim-soft));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}

/* ----- navigation ---------------------------------------------------------------------------
   A dark glass bar over every page: the brand, the section links (hidden
   on narrow screens), the showcase (the call to action) and the guide. */

.site-nav {
	position: sticky;
	top: 0;
	z-index: var(--hs-z-sticky);
	height: var(--site-nav-height);
	border-bottom: 1px solid var(--site-hairline);
	background: color-mix(in oklab, var(--hs-color-surface-canvas) 84%, transparent);
	-webkit-backdrop-filter: blur(var(--hs-blur-overlay)) saturate(1.8);
	backdrop-filter: blur(var(--hs-blur-overlay)) saturate(1.8);
	color: var(--hs-color-text-primary);
}

.site-nav .site-wrap {
	display: flex;
	align-items: center;
	gap: var(--hs-space-16);
	max-width: var(--site-wide);
	height: 100%;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--hs-space-8);
	margin-right: auto;
	color: var(--hs-color-text-primary);
	font: 600 17px/1 var(--hs-font-family-display);
	letter-spacing: -0.02em;
	text-decoration: none;
	white-space: nowrap;
}

.site-brand img {
	width: 26px;
	height: 26px;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: var(--hs-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav ul a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 var(--hs-space-12);
	border-radius: var(--hs-radius-full);
	color: var(--hs-color-text-secondary);
	font: 400 13px/1 var(--hs-font-family-text);
	letter-spacing: -0.003em;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--hs-duration-fast) var(--hs-easing-standard), background-color var(--hs-duration-fast) var(--hs-easing-standard);
}

.site-nav ul a:hover {
	color: var(--hs-color-text-primary);
}

.site-nav ul a[aria-current="page"] {
	color: var(--hs-color-text-primary);
}

.site-nav .site-nav-cta a {
	margin: 0 var(--hs-space-4) 0 var(--hs-space-8);
	padding: 0 var(--hs-space-16);
	background: var(--hs-color-accent-default);
	color: var(--hs-color-text-on-accent);
	font-weight: 600;
}

.site-nav .site-nav-cta a:hover {
	background: var(--hs-color-accent-hover);
	color: var(--hs-color-text-on-accent);
}

/* ----- buttons ------------------------------------------------------------------------------ */

.site-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hs-space-12);
	margin-top: var(--hs-space-32);
}

/* Who can open what: the showcase is public, opening a mission in the hosted workstation asks for a password. */
.site-access-note {
	max-width: 460px;
	margin: var(--hs-space-16) 0 0;
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	letter-spacing: var(--hs-type-caption-tracking);
	text-wrap: pretty;
}

.site-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--hs-space-8);
	min-height: 48px;
	padding: 0 var(--hs-space-24);
	border: 1px solid transparent;
	border-radius: var(--hs-radius-full);
	font: 600 17px/1 var(--hs-font-family-text);
	letter-spacing: -0.012em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--hs-duration-fast) var(--hs-easing-standard), border-color var(--hs-duration-fast) var(--hs-easing-standard), transform var(--hs-duration-fast) var(--hs-easing-standard);
}

.site-button:active {
	transform: scale(0.98);
}

.site-button.is-primary {
	background: var(--hs-color-accent-default);
	box-shadow: inset 0 1px 0 var(--site-rim-soft), 0 8px 24px -10px var(--site-glow);
	color: var(--hs-color-text-on-accent);
}

.site-button.is-primary:hover {
	background: var(--hs-color-accent-hover);
}

.site-button.is-primary:active {
	background: var(--hs-color-accent-pressed);
}

.site-button.is-secondary {
	border-color: var(--site-hairline);
	background: linear-gradient(180deg, var(--site-sheen), transparent 60%), var(--site-glass-wash);
	-webkit-backdrop-filter: var(--hs-backdrop-subtle);
	backdrop-filter: var(--hs-backdrop-subtle);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
	color: var(--hs-color-text-primary);
}

.site-button.is-secondary:hover {
	border-color: var(--hs-color-border-strong);
}

.site-link {
	display: inline-flex;
	align-items: center;
	gap: var(--hs-space-4);
	color: var(--hs-color-accent-text);
	font-weight: 600;
	text-decoration: none;
}

.site-link::after {
	content: "›";
	font-size: 1.2em;
	line-height: 1;
	transition: transform var(--hs-duration-fast) var(--hs-easing-standard);
}

.site-link:hover {
	text-decoration: underline;
}

.site-link:hover::after {
	transform: translateX(2px);
}

/* ----- hero ---------------------------------------------------------------------------------
   Centred copy over deep space, then the workstation itself, large, with a
   faint accent light behind it. */

.site-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 8vw, 112px);
	background:
		radial-gradient(56% 42% at 50% 78%, var(--site-glow), transparent 72%),
		radial-gradient(80% 50% at 50% 0%, var(--site-glow-faint), transparent 70%),
		var(--hs-color-surface-canvas);
	color: var(--hs-color-text-primary);
	text-align: center;
	isolation: isolate;
}

.site-hero-copy > * {
	margin-right: auto;
	margin-left: auto;
}

.site-eyebrow {
	margin-top: 0;
	margin-bottom: var(--hs-space-16);
	color: var(--hs-color-accent-text);
	font: 600 clamp(15px, 1.4vw, 19px) / 1.3 var(--hs-font-family-text);
	letter-spacing: -0.01em;
}

.site-hero h1 {
	max-width: 13em;
	margin-top: 0;
	margin-bottom: 0;
	background: linear-gradient(180deg, var(--hs-color-text-primary) 40%, var(--hs-color-text-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: var(--hs-color-text-primary);
	-webkit-text-fill-color: transparent;
	font: var(--site-display-hero);
	letter-spacing: var(--site-display-hero-tracking);
	text-wrap: balance;
}

.site-lede {
	max-width: 36em;
	margin-top: var(--hs-space-24);
	margin-bottom: 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
	letter-spacing: var(--site-lede-tracking);
	text-wrap: pretty;
}

.site-hero .site-actions {
	justify-content: center;
}

.site-hero .site-hero-shot {
	max-width: var(--site-wide);
	margin: clamp(56px, 7vw, 96px) auto 0;
}

.site-hero-shot picture {
	border-radius: clamp(10px, 1.4vw, 18px);
	box-shadow: 0 0 0 1px var(--site-hairline), inset 0 1px 0 var(--site-rim-soft), 0 60px 140px -40px var(--hs-color-glass-shadow), 0 30px 90px -50px var(--site-glow);
}

@media (prefers-reduced-motion: no-preference) {
	.site-hero-shot picture {
		animation: site-rise 1100ms var(--hs-easing-decelerate) both;
	}
}

@keyframes site-rise {
	from {
		transform: translateY(40px) scale(0.985);
	}

	to {
		transform: none;
	}
}

/* ----- sections --------------------------------------------------------------------------------- */

.site-section {
	position: relative;
	padding: var(--site-section-space) 0;
	background: var(--site-page);
	color: var(--hs-color-text-primary);
}

/* A dark stage for space imagery, with a faint accent glow. */
.site-section.is-stage {
	overflow: hidden;
	background:
		radial-gradient(60% 40% at 50% 0%, var(--site-glow-faint), transparent 72%),
		radial-gradient(40% 30% at 85% 60%, var(--site-glow-faint), transparent 70%),
		var(--hs-color-surface-canvas);
}

.site-head {
	max-width: 820px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.site-head.is-centered {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.site-kicker {
	margin: 0 0 var(--hs-space-16);
	color: var(--hs-color-accent-text);
	font: 600 clamp(15px, 1.3vw, 19px) / 1.3 var(--hs-font-family-text);
	letter-spacing: -0.01em;
}

.site-section h2 {
	margin: 0;
	font: var(--site-display-1);
	letter-spacing: var(--site-display-1-tracking);
	text-wrap: balance;
}

.site-head p:not(.site-kicker) {
	max-width: 40em;
	margin: var(--hs-space-24) auto 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
	letter-spacing: var(--site-lede-tracking);
	text-wrap: pretty;
}

.site-mini-head {
	margin: 0 0 var(--hs-space-20);
	color: var(--hs-color-text-secondary);
	font: 600 15px/1.3 var(--hs-font-family-text);
	letter-spacing: -0.009em;
}

/* ----- product screenshots ----------------------------------------------------------------------- */

.site-shot {
	margin: 0;
}

.site-shot picture {
	display: block;
	overflow: hidden;
	border-radius: clamp(10px, 1.2vw, 16px);
	background: var(--hs-color-surface-canvas);
	box-shadow: 0 0 0 1px var(--site-hairline), 0 40px 100px -40px var(--hs-color-glass-shadow), 0 12px 32px -16px var(--hs-color-glass-shadow);
}

.site-shot img {
	display: block;
	width: 100%;
}

.site-shot figcaption {
	max-width: var(--site-narrow);
	margin: var(--hs-space-20) auto 0;
	/* Secondary, not tertiary: the shot's shadow falls under the caption,
	   and tertiary text there drops below 4.5:1 in the light theme. */
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	letter-spacing: var(--hs-type-caption-tracking);
	text-align: center;
	text-wrap: pretty;
}

/* ----- the problem: the questions ------------------------------------------------------------------ */

.site-questions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hs-space-20);
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.site-questions li {
	display: flex;
	flex-direction: column;
	gap: var(--hs-space-16);
	padding: clamp(24px, 3vw, 36px);
}

.site-question {
	margin: 0;
	font: var(--site-display-3);
	letter-spacing: var(--site-display-3-tracking);
	text-wrap: balance;
}

.site-answer {
	margin: 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
	text-wrap: pretty;
}

.site-answer span {
	color: var(--hs-color-accent-text);
	font-weight: 600;
}

/* ----- how it works: the steps ------------------------------------------------------------------------
   An ordered list with a rail: on wide screens each step's number sits on
   a hairline that runs down the left of the steps. */

.site-steps {
	position: relative;
	display: grid;
	gap: clamp(96px, 11vw, 160px);
	margin: 0;
	padding: 0 0 0 96px;
	list-style: none;
}

.site-steps::before {
	content: "";
	position: absolute;
	top: 32px;
	bottom: 0;
	left: 31px;
	width: 1px;
	background: linear-gradient(180deg, var(--hs-color-accent-text), var(--site-hairline) 30%, var(--site-hairline) 80%, transparent);
	opacity: 0.6;
}

.site-step {
	position: relative;
	display: grid;
	gap: clamp(32px, 4vw, 48px);
}

.site-step-text {
	position: relative;
	max-width: 760px;
}

.site-step-number {
	position: absolute;
	top: -6px;
	left: -96px;
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	border: 1px solid var(--site-hairline);
	border-radius: var(--hs-radius-full);
	background: linear-gradient(180deg, var(--site-sheen), transparent 60%), var(--site-glass-strong);
	box-shadow: inset 0 1px 0 var(--site-rim-soft), 0 0 0 6px var(--site-page), 0 10px 30px -12px var(--site-glow);
	color: var(--hs-color-accent-text);
	font: 600 26px/1 var(--hs-font-family-display);
	font-variant-numeric: var(--hs-numeric-tabular);
}

.site-step h3 {
	margin: 0;
	font: var(--site-display-2);
	letter-spacing: var(--site-display-2-tracking);
	text-wrap: balance;
}

.site-step-text > p {
	margin: var(--hs-space-20) 0 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
	letter-spacing: var(--site-lede-tracking);
	text-wrap: pretty;
}

.site-step-text > .site-step-note {
	margin-top: var(--hs-space-20);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
}

.site-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hs-space-8);
	margin: var(--hs-space-24) 0 0;
	padding: 0;
	list-style: none;
}

.site-chips li {
	padding: var(--hs-space-6) var(--hs-space-12);
	border: 1px solid var(--site-hairline);
	border-radius: var(--hs-radius-full);
	background: var(--site-glass-wash);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
	color: var(--hs-color-text-primary);
	font: 400 14px/1.3 var(--hs-font-family-text);
	letter-spacing: -0.006em;
}

/* The nine analyses: compact tiles under step 2, three by three. */
.site-analyses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hs-space-12);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-analyses li {
	display: flex;
	flex-direction: column;
	gap: var(--hs-space-6);
	padding: var(--hs-space-20);
	border: 1px solid var(--site-hairline);
	border-radius: 20px;
	background: linear-gradient(180deg, var(--site-sheen), transparent 50%), var(--site-glass);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
}

.site-analyses .site-icon {
	margin-bottom: var(--hs-space-6);
	color: var(--hs-color-accent-text);
}

.site-analyses h4 {
	margin: 0;
	font: 600 17px/1.25 var(--hs-font-family-text);
	letter-spacing: -0.012em;
}

.site-analyses p {
	margin: 0;
	color: var(--hs-color-text-secondary);
	font: 400 14px/1.4 var(--hs-font-family-text);
	letter-spacing: -0.006em;
	text-wrap: pretty;
}

/* ----- every kind of mission ------------------------------------------------------------------------------ */

.site-regimes {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--hs-space-10);
	margin: 0 0 clamp(40px, 5vw, 64px);
	padding: 0;
	list-style: none;
}

.site-regimes li {
	display: flex;
	flex-direction: column;
	gap: var(--hs-space-4);
	padding: var(--hs-space-12) var(--hs-space-16);
	border: 1px solid var(--site-hairline);
	border-radius: 18px;
	background: linear-gradient(180deg, var(--site-sheen), transparent 60%), var(--site-glass-wash);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
}

.site-regimes strong {
	font: 600 17px/1.2 var(--hs-font-family-display);
	letter-spacing: -0.015em;
}

.site-regimes span {
	color: var(--hs-color-text-secondary);
	font: 400 13px/1.35 var(--hs-font-family-text);
	letter-spacing: -0.003em;
}

.site-bento {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hs-space-20);
}

.site-tile {
	display: flex;
	flex-direction: column;
	gap: var(--hs-space-24);
	min-width: 0;
	padding: clamp(20px, 2.6vw, 32px);
	border-radius: 32px;
	-webkit-backdrop-filter: blur(var(--hs-blur-hud)) saturate(1.4);
	backdrop-filter: blur(var(--hs-blur-hud)) saturate(1.4);
}

.site-tile.is-wide {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	align-items: center;
	gap: clamp(24px, 3.5vw, 48px);
}

/* Every other row puts its picture first. */
.site-tile.is-wide.is-flipped {
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.site-tile.is-wide.is-flipped .site-tile-text {
	order: 2;
}

.site-tile-text {
	padding: 0 var(--hs-space-4);
}

.site-tile-kicker {
	margin: 0 0 var(--hs-space-8);
	color: var(--hs-color-accent-text);
	font: 600 15px/1.3 var(--hs-font-family-text);
	letter-spacing: -0.009em;
}

.site-tile h3 {
	margin: 0;
	font: var(--site-display-3);
	letter-spacing: var(--site-display-3-tracking);
	text-wrap: balance;
}

.site-tile-text > p:not(.site-tile-kicker) {
	margin: var(--hs-space-12) 0 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
	text-wrap: pretty;
}

.site-tile .site-shot {
	margin-top: auto;
}

.site-tile .site-shot picture {
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--site-hairline), 0 24px 60px -30px var(--hs-color-glass-shadow);
}

.site-tile .site-shot figcaption {
	margin-top: var(--hs-space-12);
}

/* ----- trust ----------------------------------------------------------------------------------------- */

.site-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hs-space-20);
	max-width: 880px;
	margin: 0 auto clamp(20px, 2vw, 24px);
	padding: 0;
}

.site-stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: var(--hs-space-8);
	padding: clamp(24px, 3vw, 36px);
	text-align: center;
}

.site-stat dt {
	color: var(--hs-color-text-secondary);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
}

.site-stat dd {
	margin: 0;
	color: var(--hs-color-accent-text);
	font: 700 clamp(48px, 6vw, 80px) / 1 var(--hs-font-family-display);
	letter-spacing: -0.04em;
	white-space: nowrap;
	font-variant-numeric: var(--hs-numeric-tabular);
}

.site-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--hs-space-20);
	margin: clamp(40px, 5vw, 64px) 0 0;
	padding: 0;
	list-style: none;
}

.site-trust li {
	padding: clamp(24px, 2.4vw, 32px);
}

.site-trust .site-icon {
	width: 28px;
	height: 28px;
	margin-bottom: var(--hs-space-16);
	color: var(--hs-color-accent-text);
}

.site-trust h3 {
	margin: 0 0 var(--hs-space-8);
	font: 600 19px/1.25 var(--hs-font-family-display);
	letter-spacing: -0.016em;
}

.site-trust p {
	margin: 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
	text-wrap: pretty;
}

.site-examples-block {
	margin-top: clamp(64px, 8vw, 112px);
}

.site-examples-block .site-mini-head {
	margin-bottom: var(--hs-space-8);
	text-align: center;
}

/* Where the examples open: the hosted workstation's showcase (app/). */
.site-examples-note {
	max-width: 36em;
	margin: 0 auto var(--hs-space-24);
	color: var(--hs-color-text-secondary);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
	text-align: center;
	text-wrap: pretty;
}

.site-examples {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 var(--hs-space-32);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-examples li {
	display: flex;
	flex-direction: column;
	gap: var(--hs-space-4);
	padding: var(--hs-space-16) 0;
	border-top: 1px solid var(--site-hairline);
}

.site-examples strong {
	font: 600 16px/1.3 var(--hs-font-family-text);
	letter-spacing: -0.011em;
}

.site-examples span {
	color: var(--hs-color-text-secondary);
	font: 400 14px/1.4 var(--hs-font-family-text);
	letter-spacing: -0.006em;
	text-wrap: pretty;
}

/* ----- see it in action: the featured video -------------------------------------------------------
   The video (tools/site/videos.py writes the element) in a rounded window
   wider than the text, its text alternative under it as a caption, and the
   play and pause button of scripts/video.js in its corner. */

/* It follows the dark hero straight on: less space above than between other sections. */
.site-section.site-see {
	padding-top: clamp(32px, 4vw, 64px);
	padding-bottom: clamp(80px, 9vw, 136px);
}

.site-see .site-head {
	margin-bottom: clamp(40px, 5vw, 64px);
}

.site-video {
	max-width: var(--site-wide);
	margin: 0 auto;
}

/* How it works opens on the workstation taken apart, then the steps. */
.site-flow-video {
	margin-bottom: clamp(96px, 11vw, 160px);
}

.site-video-media {
	position: relative;
	overflow: hidden;
	border-radius: clamp(12px, 1.4vw, 20px);
	background: var(--hs-color-surface-canvas);
	box-shadow: 0 0 0 1px var(--site-hairline), inset 0 1px 0 var(--site-rim-soft), 0 60px 140px -40px var(--hs-color-glass-shadow), 0 30px 90px -50px var(--site-glow);
	isolation: isolate;
}

/* The poster, a lazily loaded picture (tools/site/videos.py), sets the
   frame's size from its width and height before anything loads; the video
   lies over it, painting nothing until its first frame (its own poster is a
   transparent pixel), so the picture shows through until then, and stays if
   the video cannot play. */
.site-video-poster,
.site-video-poster img {
	display: block;
	width: 100%;
	height: auto;
}

.site-video-player {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: transparent;
}

/* With scripts/video.js the video is a button too: a click plays or pauses it. */
.site-video-media[data-video] .site-video-player {
	cursor: pointer;
}

.site-video-toggle {
	position: absolute;
	right: clamp(10px, 1.6vw, 20px);
	bottom: clamp(10px, 1.6vw, 20px);
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--site-hairline);
	border-radius: var(--hs-radius-full);
	background: color-mix(in oklab, var(--hs-color-surface-canvas) 72%, transparent);
	-webkit-backdrop-filter: blur(var(--hs-blur-hud)) saturate(1.4);
	backdrop-filter: blur(var(--hs-blur-hud)) saturate(1.4);
	box-shadow: inset 0 1px 0 var(--site-rim-soft), 0 8px 24px -12px var(--hs-color-glass-shadow);
	color: var(--hs-color-text-primary);
	cursor: pointer;
	transition: background-color var(--hs-duration-fast) var(--hs-easing-standard);
}

.site-video-toggle:hover {
	background: color-mix(in oklab, var(--hs-color-surface-canvas) 88%, transparent);
}

.site-video-toggle svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Paused for good (reduced motion, Save-Data, the visitor's choice or a
   browser that refused to play), the button grows into an invitation to
   play, in the middle. Paused only while out of view, it stays small. */
.site-video-media[data-video="paused"] .site-video-toggle {
	right: calc(50% - 36px);
	bottom: calc(50% - 36px);
	width: 72px;
	height: 72px;
	border-color: transparent;
	background: var(--hs-color-accent-default);
	box-shadow: inset 0 1px 0 var(--site-rim-soft), 0 12px 40px -12px var(--site-glow);
	color: var(--hs-color-text-on-accent);
}

.site-video-media[data-video="paused"] .site-video-toggle:hover {
	background: var(--hs-color-accent-hover);
}

.site-video-media[data-video="paused"] .site-video-toggle svg {
	width: 30px;
	height: 30px;
	margin-left: 3px;
}

.site-video figcaption {
	max-width: var(--site-narrow);
	margin: var(--hs-space-20) auto 0;
}

.site-video-text {
	margin: 0;
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	letter-spacing: var(--hs-type-caption-tracking);
	text-align: center;
	text-wrap: pretty;
}

/* A link under a section that leads on to the showcase. */
.site-section-link {
	margin: clamp(40px, 5vw, 56px) 0 0;
	text-align: center;
}

/* ----- the closing call to action ---------------------------------------------------------------------- */

.site-section.site-closing {
	background:
		radial-gradient(50% 60% at 50% 100%, var(--site-glow), transparent 72%),
		radial-gradient(60% 40% at 50% 0%, var(--site-glow-faint), transparent 72%),
		var(--hs-color-surface-canvas);
}

.site-cta {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.site-cta > .site-cta-text {
	margin: var(--hs-space-20) auto 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
	letter-spacing: var(--site-lede-tracking);
	text-wrap: pretty;
}

.site-cta .site-actions {
	justify-content: center;
}

.site-cta > .site-access-note {
	margin-right: auto;
	margin-left: auto;
}

.site-cta > .site-dev-note {
	max-width: 560px;
	margin: clamp(48px, 6vw, 72px) auto 0;
	padding-top: var(--hs-space-24);
	border-top: 1px solid var(--site-hairline);
	font: var(--site-small);
	letter-spacing: var(--site-small-tracking);
}

.site-dev-note strong {
	color: var(--hs-color-text-primary);
	font-weight: 600;
}

/* ----- not found ------------------------------------------------------------------------------- */

.site-notfound {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: var(--hs-space-48) 0;
	text-align: center;
}

.site-notfound h1 {
	margin: 0;
	font: var(--site-display-1);
	letter-spacing: var(--site-display-1-tracking);
}

.site-notfound p:not(.site-kicker) {
	margin: var(--hs-space-20) 0 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
}

.site-notfound .site-actions {
	justify-content: center;
}

/* ----- footer ------------------------------------------------------------------------------------- */

.site-footer {
	padding: var(--hs-space-48) 0 var(--hs-space-64);
	border-top: 1px solid var(--site-hairline);
	background: var(--site-page);
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	letter-spacing: var(--hs-type-caption-tracking);
}

.site-footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hs-space-16);
	padding-bottom: var(--hs-space-32);
}

.site-footer-top .site-brand {
	margin: 0;
}

.site-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hs-space-20);
	margin: 0;
	padding: 0;
	list-style: none;
	font: var(--hs-type-body);
}

.site-footer-links a {
	color: var(--hs-color-text-secondary);
	text-decoration: none;
}

.site-footer-links a:hover {
	color: var(--hs-color-text-primary);
	text-decoration: underline;
}

.site-footer h2 {
	margin: 0 0 var(--hs-space-12);
	color: var(--hs-color-text-primary);
	font: var(--hs-type-headline);
	letter-spacing: var(--hs-type-headline-tracking);
}

/* Two flowing columns, so credits of different lengths leave no gaps. */
.site-credits {
	columns: 2;
	column-gap: var(--hs-space-32);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-credits li {
	margin-bottom: var(--hs-space-12);
	line-height: 18px;
	break-inside: avoid;
}

.site-credits strong {
	display: block;
	color: var(--hs-color-text-primary);
	font-weight: var(--hs-font-weight-semibold);
}

.site-credits a {
	color: var(--hs-color-accent-text);
}

.site-footer-note {
	margin: var(--hs-space-32) 0 0;
}

/* ----- code (the guide) ------------------------------------------------------------------------------ */

.site-code {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--site-hairline);
	border-radius: 18px;
	background: var(--hs-color-surface-sunken);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
}

.guide-code-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hs-space-8);
	min-height: 40px;
	padding: 0 var(--hs-space-8) 0 var(--hs-space-16);
	border-bottom: 1px solid var(--hs-color-border-subtle);
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	letter-spacing: var(--hs-type-caption-tracking);
}

.site-code pre {
	margin: 0;
	padding: var(--hs-space-16) var(--hs-space-20) var(--hs-space-20);
	overflow-x: auto;
	color: var(--hs-color-syntax-variable);
	font: var(--hs-type-mono);
	font-size: 13px;
	line-height: 21px;
	tab-size: 4;
}

.site-code pre:focus-visible {
	outline-offset: -2px;
}

.tok-k { color: var(--hs-color-syntax-keyword); }
.tok-s { color: var(--hs-color-syntax-string); }
.tok-n { color: var(--hs-color-syntax-number); }
.tok-c { color: var(--hs-color-syntax-comment); }
.tok-f { color: var(--hs-color-syntax-function); }
.tok-p { color: var(--hs-color-syntax-property); }
.tok-o { color: var(--hs-color-syntax-punctuation); }

/* ----- guide --------------------------------------------------------------------------------------- */

.guide-hero {
	padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px);
	background:
		radial-gradient(60% 120% at 0% 0%, var(--site-glow-faint), transparent 70%),
		var(--site-page);
}

.guide-hero h1 {
	margin: 0;
	font: var(--site-display-1);
	letter-spacing: var(--site-display-1-tracking);
}

.guide-hero p:not(.site-kicker) {
	max-width: 40em;
	margin: var(--hs-space-20) 0 0;
	color: var(--hs-color-text-secondary);
	font: var(--site-lede);
	letter-spacing: var(--site-lede-tracking);
	text-wrap: pretty;
}

.guide-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	padding-top: var(--hs-space-16);
	padding-bottom: var(--hs-space-64);
}

.guide-toc {
	position: sticky;
	top: calc(var(--site-nav-height) + var(--hs-space-24));
	align-self: start;
	max-height: calc(100vh - var(--site-nav-height) - var(--hs-space-48));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--hs-space-16) var(--hs-space-12);
	border: 1px solid var(--site-hairline);
	border-radius: 22px;
	background: linear-gradient(180deg, var(--site-sheen), transparent 30%), var(--site-glass);
	box-shadow: inset 0 1px 0 var(--site-rim-soft);
	font: var(--hs-type-body);
	letter-spacing: var(--hs-type-body-tracking);
}

.guide-toc h2 {
	margin: 0 0 var(--hs-space-8) var(--hs-space-8);
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	font-weight: 600;
}

.guide-toc details > summary {
	display: none;
}

.guide-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-toc ol ol {
	margin: var(--hs-space-2) 0 var(--hs-space-6) var(--hs-space-12);
	padding-left: var(--hs-space-8);
	border-left: 1px solid var(--hs-color-border-subtle);
}

.guide-toc a {
	display: block;
	padding: var(--hs-space-4) var(--hs-space-8);
	border-radius: var(--hs-radius-md);
	color: var(--hs-color-text-secondary);
	text-decoration: none;
}

.guide-toc ol ol a {
	font: var(--hs-type-caption);
	line-height: 18px;
}

.guide-toc a:hover {
	color: var(--hs-color-text-primary);
	background: var(--hs-color-selection-hover);
}

.guide-toc a[aria-current="true"] {
	color: var(--hs-color-text-primary);
	background: var(--hs-color-accent-subtle);
}

.guide-article {
	min-width: 0;
	max-width: 800px;
}

.guide-article section {
	padding-bottom: var(--hs-space-48);
}

.guide-article section + section {
	padding-top: var(--hs-space-40);
	border-top: 1px solid var(--hs-color-border-subtle);
}

.guide-article h2 {
	margin: 0 0 var(--hs-space-16);
	font: var(--site-display-3);
	font-size: clamp(26px, 2.4vw, 34px);
	letter-spacing: -0.022em;
}

.guide-article h3 {
	margin: var(--hs-space-40) 0 var(--hs-space-12);
	font: var(--hs-type-title2);
	letter-spacing: var(--hs-type-title2-tracking);
}

.guide-article h4 {
	margin: var(--hs-space-24) 0 var(--hs-space-8);
	font: var(--hs-type-headline);
	letter-spacing: var(--hs-type-headline-tracking);
}

.guide-article h3 code {
	font-size: 0.9em;
}

.guide-article p,
.guide-article li,
.guide-article dd {
	color: var(--hs-color-text-emphasis);
	text-wrap: pretty;
}

.guide-article p {
	margin: 0 0 var(--hs-space-16);
}

.guide-article ul,
.guide-article ol {
	margin: 0 0 var(--hs-space-16);
	padding-left: var(--hs-space-24);
}

.guide-article li + li {
	margin-top: var(--hs-space-6);
}

/* Inline code is a raised chip with a hairline, visible on every surface
   (its padding must never read as a space before punctuation). */
.guide-article :not(pre) > code {
	padding: 0.1em 0.35em;
	overflow-wrap: anywhere;
	border-radius: var(--hs-radius-sm);
	background: var(--hs-color-surface-raised);
	box-shadow: inset 0 0 0 1px var(--hs-color-border-subtle);
	color: var(--hs-color-text-primary);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Words of inline code with a hyphen never break at it (`--release`;
   build.py wraps them). */
.site-nowrap {
	white-space: nowrap;
}

.guide-article .site-code {
	margin: 0 0 var(--hs-space-20);
}

.guide-article .site-shot {
	margin: var(--hs-space-8) 0 var(--hs-space-32);
}

.guide-article .site-shot figcaption {
	margin-left: 0;
	text-align: left;
}

.guide-copy {
	min-height: var(--hs-size-control-md);
	padding: 0 var(--hs-space-12);
	border: 1px solid var(--hs-color-border-default);
	border-radius: var(--hs-radius-full);
	background: transparent;
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	cursor: pointer;
}

.guide-copy:hover {
	color: var(--hs-color-text-primary);
	background: var(--hs-color-selection-hover);
}

.guide-note {
	margin: 0 0 var(--hs-space-20);
	padding: var(--hs-space-16) var(--hs-space-20);
	border: 1px solid var(--hs-color-border-subtle);
	border-left: 3px solid var(--hs-color-status-info);
	border-radius: var(--hs-radius-lg);
	background: var(--hs-color-status-info-background);
}

.guide-note p:last-child {
	margin-bottom: 0;
}

.guide-table-wrap {
	margin: 0 0 var(--hs-space-20);
	overflow-x: auto;
	border: 1px solid var(--site-hairline);
	border-radius: 16px;
	background: var(--site-glass);
}

.guide-table {
	width: 100%;
	border-collapse: collapse;
	font: var(--hs-type-body);
	letter-spacing: var(--hs-type-body-tracking);
	line-height: 20px;
}

.guide-table th,
.guide-table td {
	padding: var(--hs-space-10) var(--hs-space-12);
	border-bottom: 1px solid var(--hs-color-border-subtle);
	text-align: left;
	vertical-align: top;
}

.guide-table thead th {
	background: var(--site-glass-wash);
	color: var(--hs-color-text-secondary);
	font: var(--hs-type-caption);
	font-weight: var(--hs-font-weight-semibold);
}

.guide-table tr:last-child td,
.guide-table tr:last-child th {
	border-bottom: 0;
}

/* Code in a table breaks only between its words: kept on one line, a long
   command squeezed the column beside it to a word per line on phones, and
   broken anywhere, a narrow column split names mid-word. Hyphenated words
   stay whole (.site-nowrap). */
.guide-table td code {
	overflow-wrap: normal;
}

.guide-table td:first-child {
	color: var(--hs-color-text-primary);
}

/* ----- reveal (motion) ----------------------------------------------------------------------------------
   Sections below the fold rise in once as they arrive; nothing is hidden
   without JavaScript or under reduced motion (scripts/reveal.js). */

.site-reveal.is-pending {
	opacity: 0;
	transform: translateY(28px);
}

.site-reveal {
	transition: opacity 700ms var(--hs-easing-decelerate), transform 900ms var(--hs-easing-decelerate);
}

@media (prefers-reduced-motion: reduce) {
	.site-reveal,
	.site-reveal.is-pending {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ----- responsive ------------------------------------------------------------------------------------ */

@media (max-width: 1180px) {
	.site-nav .site-nav-section {
		display: none;
	}

	.site-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-regimes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.site-steps {
		padding-left: 0;
	}

	.site-steps::before {
		display: none;
	}

	.site-step-number {
		position: static;
		width: 44px;
		height: 44px;
		margin-bottom: var(--hs-space-20);
		box-shadow: inset 0 1px 0 var(--site-rim-soft), 0 10px 30px -12px var(--site-glow);
		font-size: 20px;
	}

	.site-analyses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Two columns: an odd last tile takes the whole row instead of leaving a hole. */
	.site-analyses li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.site-bento,
	.site-tile.is-wide,
	.site-tile.is-wide.is-flipped {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-tile.is-wide.is-flipped .site-tile-text {
		order: 0;
	}

	.site-examples {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-credits {
		columns: 1;
	}

	.guide-layout {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 0;
	}

	.guide-toc {
		position: static;
		max-height: none;
		padding: var(--hs-space-4) var(--hs-space-12);
	}

	.guide-toc details > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		color: var(--hs-color-text-primary);
		font: var(--hs-type-headline);
		cursor: pointer;
		list-style: none;
	}

	.guide-toc details > summary::-webkit-details-marker {
		display: none;
	}

	.guide-toc details > summary::after {
		content: "";
		width: 8px;
		height: 8px;
		margin-right: var(--hs-space-4);
		border-right: 2px solid var(--hs-color-text-secondary);
		border-bottom: 2px solid var(--hs-color-text-secondary);
		transform: rotate(45deg) translateY(-2px);
		transition: transform var(--hs-duration-base) var(--hs-easing-standard);
	}

	.guide-toc details[open] > summary::after {
		transform: rotate(-135deg) translateY(-2px);
	}

	.guide-toc h2 {
		display: none;
	}

	.guide-toc details[open] > ol {
		padding-bottom: var(--hs-space-8);
	}
}

@media (max-width: 640px) {
	.site-nav ul a {
		padding: 0 var(--hs-space-8);
	}

	.site-nav .site-nav-cta a {
		margin: 0 var(--hs-space-2) 0 var(--hs-space-4);
		padding: 0 var(--hs-space-12);
	}

	.site-questions,
	.site-trust,
	.site-examples {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-stats {
		gap: var(--hs-space-12);
	}

	.site-stat {
		padding: var(--hs-space-20) var(--hs-space-12);
	}

	.site-stat dd {
		font-size: clamp(40px, 13vw, 56px);
	}

	/* Screenshots and videos run edge to edge on a phone, where every pixel of them counts. */
	.site-hero .site-hero-shot,
	.site-step > .site-shot,
	.site-step > .site-video,
	.site-flow-video {
		margin-right: calc(-1 * var(--site-gutter-right));
		margin-left: calc(-1 * var(--site-gutter-left));
	}

	.site-hero .site-hero-shot,
	.site-video {
		padding: 0;
	}

	.site-hero-shot picture,
	.site-step > .site-shot picture,
	.site-video-media {
		border-radius: 0;
	}

	.site-hero-shot figcaption,
	.site-step > .site-shot figcaption,
	.site-video figcaption {
		padding: 0 var(--site-gutter-right) 0 var(--site-gutter-left);
	}

	.site-analyses {
		gap: var(--hs-space-8);
	}

	.site-analyses p {
		font-size: 13px;
	}

	.site-regimes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-analyses li {
		padding: var(--hs-space-16);
	}

	.site-tile {
		border-radius: 24px;
	}

	.site-actions .site-button {
		flex: 1 1 100%;
	}

	.site-hero .site-actions {
		max-width: 420px;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (max-width: 400px) {
	.site-brand {
		gap: var(--hs-space-6);
		font-size: 16px;
	}

	.site-nav ul a {
		padding: 0 var(--hs-space-6);
	}
}

@media (max-width: 359px) {
	.site-analyses {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ----- preferences ----------------------------------------------------------------------------------- */

@media (prefers-reduced-transparency: reduce) {
	.site-nav {
		background: var(--hs-color-glass-part-solid);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-glass,
	.site-tile,
	.site-button.is-secondary,
	.site-analyses li,
	.site-regimes li,
	.site-chips li,
	.site-video-toggle,
	.site-step-number,
	.guide-toc,
	.guide-table-wrap {
		background: var(--hs-color-glass-card-solid);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

@media (forced-colors: active) {
	.site-hero h1 {
		-webkit-text-fill-color: currentColor;
		background: none;
	}

	.site-glass,
	.site-code,
	.site-button,
	.site-shot picture,
	.site-video-media,
	.site-video-toggle,
	.site-analyses li,
	.site-regimes li,
	.site-chips li,
	.site-step-number {
		border: 1px solid CanvasText;
	}

	.site-glass::before {
		display: none;
	}
}
