

:root {
	--ground: #15403F;
	--surface: #1A4D4C;
	--surface-2: #225E5C;
	--line: #447E7C;
	--ink-soft: #9BC0BE;
	--ink: #DDF8F7;
	--accent: #C49A4A;
	--accent-ink: #111111;


	--jego-e83: 'Space Grotesk', 'Space Grotesk Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--jego-d24: 'EB Garamond', 'EB Garamond Fallback', Garamond, 'Times New Roman', Georgia, serif;
	--jego-6dd: 'JetBrains Mono', 'JetBrains Mono Fallback', 'SF Mono', Menlo, Monaco, Consolas, monospace;


	--text-2xs: clamp(0.6875rem, 0.65rem + 0.18vw, 0.75rem);
	--text-xs: clamp(0.75rem, 0.71rem + 0.2vw, 0.8125rem);
	--text-sm: clamp(0.875rem, 0.82rem + 0.28vw, 0.9375rem);
	--text-base: clamp(1.125rem, 1.05rem + 0.38vw, 1.25rem);
	--text-md: clamp(1.25rem, 1.15rem + 0.5vw, 1.4375rem);
	--text-lg: clamp(1.4375rem, 1.28rem + 0.78vw, 1.75rem);
	--text-xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
	--text-2xl: clamp(2.125rem, 1.75rem + 1.88vw, 2.875rem);

	--text-3xl: clamp(2.5rem, 1.95rem + 2.75vw, 3.625rem);
	--text-hero: clamp(2rem, 1.625rem + 1.88vw, 3.5rem);


	--lh-tight: 1.12;
	--lh-snug: 1.25;
	--lh-reading: 1.55;
	--lh-loose: 1.75;


	--space-4xs: 2px;
	--space-3xs: 4px;
	--space-2xs: 8px;
	--space-xs: 12px;
	--space-sm: 16px;
	--space-md: 24px;
	--space-lg: 32px;
	--space-xl: 48px;
	--space-2xl: 64px;
	--space-3xl: 96px;
	--space-4xl: 128px;


	--gutter: clamp(16px, 3.5vw, 56px);
	--section-space: clamp(48px, 8vw, 112px);
	--shell-max: 1360px;
	--rail-width: 88px;
	--dock-height: 64px;


	--radius-none: 0px;
	--border-width: 1px;
	--border-thick: 2px;


	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--ease-press: cubic-bezier(0.4, 0, 0.2, 1);
	--dur-fast: 140ms;
	--dur-med: 240ms;
	--dur-slow: 420ms;
	--dur-settle: 700ms;


	--shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
	--shadow-panel: 0 12px 40px rgba(0, 0, 0, 0.45);
}


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


html {
	font-size: 100%;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 16px;
	background-color: var(--ground);
	color: var(--ink);
	accent-color: var(--accent);
}


body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background-color: var(--ground);
	color: var(--ink);
	font-family: var(--jego-d24);
	font-size: var(--text-base);
	font-weight: 400;
	line-height: var(--lh-reading);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px));
}


@media (min-width: 1024px) {
	body { padding-bottom: 0; }
}


@media (min-width: 1280px) {
	body { padding-left: var(--rail-width); }
}


input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}


img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}


svg { fill: currentColor; }


table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--jego-e83);
	font-weight: 700;
	line-height: var(--lh-tight);
	color: var(--ink);
	text-wrap: balance;
	margin-top: 0;
	margin-bottom: var(--space-xs);
	letter-spacing: -0.02em;
}


h1 {
	font-size: var(--text-hero);
	font-weight: 700;
}


h2 {
	font-size: var(--text-2xl);
	font-weight: 700;
}


h3 {
	font-size: var(--text-xl);
	font-weight: 700;
}


h4 {
	font-size: var(--text-lg);
	font-weight: 500;
}


h5 {
	font-size: var(--text-md);
	font-weight: 500;
}


h6 {
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


p {
	margin-top: 0;
	margin-bottom: var(--space-md);
	max-width: 65ch;
	color: var(--ink);
}


p.lead {
	font-size: var(--text-md);
	line-height: var(--lh-snug);
	color: var(--ink);
	max-width: 58ch;
}


p.caption {
	font-size: var(--text-sm);
	line-height: var(--lh-reading);
	color: var(--ink-soft);
	max-width: 48ch;
	margin-bottom: 0;
}


small {
	font-size: var(--text-sm);
	color: var(--ink-soft);
}


strong,
b {
	font-weight: 500;
	color: var(--ink);
}


em,
i { font-style: italic; }


a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-press), border-color var(--dur-fast) var(--ease-press);
}


@media (pointer: coarse) {
	a.footer-legal-link,
	.footer-legal-link,
	.licensing-box a,
	.licensing-box-item a {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
}


ul,
ol {
	margin-top: 0;
	margin-bottom: var(--space-md);
	padding-left: var(--space-lg);
	max-width: 65ch;
}


li { margin-bottom: var(--space-2xs); }


hr {
	border: 0;
	height: var(--border-width);

	background-color: var(--line);
	margin-block: var(--space-xl);
}


blockquote {
	margin: 0;
	padding-left: var(--space-md);
	border-left: var(--border-thick) solid var(--line);
	color: var(--ink);
	font-style: italic;
}


code,
kbd,
samp,
pre {
	font-family: var(--jego-6dd);
	font-size: var(--text-sm);
}


.tabular-nums,
[data-num],
.price-tag,
.num-stat,
.currency {
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
}


.shell {
	width: 100%;
	max-width: var(--shell-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}


.shell-narrow {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}


.grid {
	display: grid;
	gap: var(--gutter);
}


.grid > * { min-width: 0; }


.flow > * + * { margin-top: var(--space-md); }


.prose {
	color: var(--ink);
	font-size: var(--text-base);
	line-height: var(--lh-reading);
}


.prose > * + * { margin-top: var(--space-md); }


.prose p { max-width: 65ch; }


.prose h2 {
	margin-top: var(--space-xl);
	margin-bottom: var(--space-xs);
}


.prose h3 {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-2xs);
}


.prose a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
	transition: text-decoration-color var(--dur-fast) var(--ease-press), color var(--dur-fast) var(--ease-press);
}


.prose a:hover {
	color: var(--accent);
	text-decoration-color: var(--accent);

}


.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}


:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}


@supports (animation-timeline: view()) {
	@keyframes hero-rule-draw {
		from {
			transform: scaleX(0);
			opacity: 0.2;
		}
		to {
			transform: scaleX(1);
			opacity: 1;
		}
	}


	@keyframes hero-text-settle {
		from { transform: translateY(0); }
		to { transform: translateY(-8px); }
	}


	[data-scene] .hero-rule,
	[data-opening] [data-scene] .hero-rule,
	[data-opening] .hero-rule {
		transform-origin: left center;
		animation: hero-rule-draw linear both;
		animation-timeline: view();
		animation-range: entry 0% exit 100%;
	}


	[data-scene] .hero-caption-inner,
	[data-opening] [data-scene] .hero-caption-inner,
	[data-opening] .hero-caption-inner {
		animation: hero-text-settle linear both;
		animation-timeline: view();
		animation-range: entry 0% exit 80%;
	}
}


@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}


	[data-opening] .hero-rule,
	[data-opening] .hero-caption-inner {
		animation: none !important;
		transform: none !important;
	}
}
