/* Volumetrix landing page.
   Standalone: no bundler, no framework, no JS required to render.

   Fonts come from website/assets/fonts/ rather than the app's build output —
   the bundler hashes its font file names, so a landing page pointing at them
   would break on the next build. Same Inter release either way. */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
	src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
	src: url('/assets/fonts/inter-cyrillic-400-normal.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
	src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
	src: url('/assets/fonts/inter-cyrillic-500-normal.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
	src: url('/assets/fonts/inter-cyrillic-600-normal.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Same palette as the viewer, so landing and app read as one product. */
:root
{
	--ink: #16223f;
	--muted: #6b7a96;
	--bg: #ffffff;
	--surface: #f4f7fc;
	--border: #e2e8f2;
	--accent: #2a5cc4;
	--accent-hover: #1e4499;
	--accent-soft: #e7eefc;
	--on-accent: #ffffff;
	--deep: #131c33;
	--deep-ink: #e6ecf7;
	--deep-muted: #93a2bf;
	--deep-border: #263352;
	--shadow: 0 24px 60px rgba(22, 34, 63, 0.16);
	--radius: 14px;
	--radius-lg: 22px;
	--max: 1120px;
}

@media (prefers-color-scheme: dark)
{
	:root
	{
		--ink: #e6ecf7;
		--muted: #8d9ab4;
		--bg: #151b28;
		--surface: #1b2334;
		--border: #28324a;
		--accent: #4d8ef0;
		--accent-hover: #6ba4f6;
		--accent-soft: #1e2b45;
		--on-accent: #0c1220;
		--deep: #0f1626;
		--deep-border: #24304b;
		--shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	}
}

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

html { scroll-behavior: smooth; }

body
{
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header -- */
.site_header
{
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.site_header .wrap
{
	display: flex;
	align-items: center;
	gap: 28px;
	height: 68px;
}

.logo img { height: 30px; width: auto; }
.logo_dark { display: none; }

.nav
{
	display: flex;
	gap: 26px;
	margin-left: auto;
	font-size: 15px;
	color: var(--muted);
}

.nav a { transition: color 140ms ease; }
.nav a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- buttons - */
.btn
{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn_primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn_primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn_ghost { border-color: var(--border); color: var(--ink); }
.btn_ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn:active { transform: translateY(1px); }

.btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ hero -- */
.hero { padding: 92px 0 0; text-align: center; }

.eyebrow
{
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	margin-bottom: 24px;
}

.hero h1
{
	margin: 0 0 20px;
	font-size: 58px;
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.hero h1 .accent { color: var(--accent); }

.lead
{
	max-width: 640px;
	margin: 0 auto 34px;
	font-size: 19px;
	color: var(--muted);
}

.hero_actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero_note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* The product shot sits in a plain window frame: it is a real screenshot, and
   the frame keeps it from reading as a floating rectangle of UI. */
.shot
{
	margin: 62px auto 0;
	max-width: 1040px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.shot_bar
{
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
}

.shot_bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--border); }

.shot_bar span
{
	margin-left: 10px;
	font-size: 12px;
	color: var(--muted);
}

.shot img { width: 100%; height: auto; }

/* --------------------------------------------------------------- sections - */
section { padding: 96px 0; }

.section_head { max-width: 660px; margin: 0 auto 52px; text-align: center; }

.section_head h2
{
	margin: 0 0 14px;
	font-size: 38px;
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.section_head p { margin: 0; font-size: 18px; color: var(--muted); }

.grid
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card
{
	padding: 30px 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.card_icon
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
	margin-bottom: 18px;
}

.card_icon svg { width: 21px; height: 21px; }

.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* --------------------------------------------------------------- formats -- */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.formats_col
{
	padding: 30px 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.formats_col h3
{
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.formats_col .count { font-size: 15px; color: var(--muted); margin: 0 0 18px; }

.pills { display: flex; flex-wrap: wrap; gap: 7px; }

.pills span
{
	padding: 5px 13px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
}

/* ------------------------------------------------------------------ band -- */
.band
{
	background: var(--deep);
	color: var(--deep-ink);
	border-top: 1px solid var(--deep-border);
	border-bottom: 1px solid var(--deep-border);
}

.band .section_head h2 { color: var(--deep-ink); }
.band .section_head p { color: var(--deep-muted); }

.band .card
{
	background: transparent;
	border-color: var(--deep-border);
}

.band .card h3 { color: var(--deep-ink); }
.band .card p { color: var(--deep-muted); }
.band .card_icon { background: rgba(109, 160, 255, 0.14); color: #7fb0f7; }

/* ----------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }

.step { padding-top: 22px; border-top: 2px solid var(--border); }

.step::before
{
	counter-increment: step;
	content: counter(step);
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 10px;
}

.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------------- cta -- */
.cta { text-align: center; }

.cta_box
{
	padding: 64px 40px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--border);
}

.cta_box h2
{
	margin: 0 0 14px;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.cta_box p { margin: 0 auto 28px; max-width: 620px; color: var(--muted); font-size: 18px; }
.cta_box p a { color: var(--accent); }
.cta_box p a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- footer -- */
.site_footer
{
	border-top: 1px solid var(--border);
	padding: 44px 0;
	font-size: 14px;
	color: var(--muted);
}

.footer_row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }

.footer_row .grant { max-width: 560px; }

.footer_row a { color: var(--accent); }
.footer_row a:hover { text-decoration: underline; }

.footer_bottom
{
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------- adaptive - */
@media (prefers-color-scheme: dark)
{
	.logo_light { display: none; }
	.logo_dark { display: block; }
}

@media (max-width: 900px)
{
	.hero { padding-top: 64px; }
	.hero h1 { font-size: 40px; }
	.lead { font-size: 17px; }
	.section_head h2 { font-size: 30px; }
	section { padding: 68px 0; }
	.grid, .steps { grid-template-columns: 1fr; }
	.formats { grid-template-columns: 1fr; }
	.nav { display: none; }
	.cta_box { padding: 44px 24px; }
	.cta_box h2 { font-size: 26px; }
}

/* --- pricing ------------------------------------------------------------- */

.price_card { display: flex; flex-direction: column; }

.price_name
{
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.price_value
{
	font-size: 36px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.price_period { font-size: 17px; font-weight: 500; color: var(--muted); }

.price_note { margin: 8px 0 20px; font-size: 14px; color: var(--muted); }

.price_list
{
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	/* Pushes the button to the bottom of every card, so three cards with
	   different numbers of lines still line their buttons up. */
	flex: 1 1 auto;
}

.price_list li
{
	position: relative;
	padding-left: 22px;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.5;
}

.price_list li::before
{
	content: '';
	position: absolute;
	left: 4px;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--accent);
}

.price_card_accent { border-color: var(--accent); }

.price_payment
{
	max-width: 660px;
	margin: 36px auto 0;
	text-align: center;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

@media (max-width: 900px)
{
	.price_value { font-size: 30px; }
}

/* --- live hero ------------------------------------------------------------ */
/* The landing's own hero: copy on the left, the real viewer on the right.
   Pricing and business keep the centred .hero above. */

.hero_live
{
	position: relative;
	padding: 72px 0 48px;
	overflow: hidden;
}

/* Two soft spots of the accent behind the stage, slowly drifting. Dark mode
   gets the same spots at lower strength through the variables. */
.hero_live::before,
.hero_live::after
{
	content: '';
	position: absolute;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
	pointer-events: none;
	z-index: 0;
	animation: drift 18s ease-in-out infinite alternate;
}

.hero_live::before { top: -200px; right: -120px; }
.hero_live::after { bottom: -300px; left: -220px; animation-delay: -9s; }

@keyframes drift
{
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

.hero_grid
{
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: center;
}

.hero_copy h1
{
	margin: 0 0 18px;
	font-size: 50px;
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.hero_copy h1 .accent { color: var(--accent); }

.hero_copy .lead { margin: 0 0 28px; font-size: 18px; color: var(--muted); }

.hero_copy .hero_actions { justify-content: flex-start; }

.hero_facts
{
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	font-size: 14px;
	color: var(--muted);
}

.hero_facts b { color: var(--ink); font-weight: 600; margin-right: 4px; }

/* The stage: a window with the viewer inside. It is the product itself, so
   it gets the shadow and the frame, and nothing else on the page competes. */
.stage
{
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.stage_drag
{
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
}

.stage_bar
{
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--border);
}

.stage_bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--border); flex: 0 0 auto; }

.stage_title
{
	margin-left: 10px;
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.stage_open
{
	margin-left: auto;
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 500;
	color: var(--accent);
}

.stage_open:hover { text-decoration: underline; }

.stage_view
{
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--bg);
}

.stage_view iframe
{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* The screenshot covers the frame until the real model has drawn, so the
   first thing anybody sees is a model and not a white square. */
.stage_poster
{
	position: absolute;
	inset: 0;
	margin: 0;
	transition: opacity 600ms ease;
	pointer-events: none;
}

.stage_poster img { width: 100%; height: 100%; object-fit: cover; }

.stage_ready .stage_poster,
.stage_own .stage_poster { opacity: 0; }

.stage_drop
{
	position: absolute;
	inset: 10px;
	display: none;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--accent);
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--accent-soft) 85%, transparent);
	color: var(--accent);
	font-weight: 500;
	pointer-events: none;
}

.stage_drag .stage_drop { display: flex; }

.stage_hint
{
	padding: 12px 16px;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
}

.stage_hint span { color: var(--accent); cursor: pointer; }
.stage_hint span:hover { text-decoration: underline; }

/* --- numbers -------------------------------------------------------------- */
.numbers { padding: 0 0 72px; }

.numbers_grid
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 28px 0 0;
	border-top: 1px solid var(--border);
}

.num b
{
	display: block;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--accent);
	line-height: 1.1;
	min-height: 44px;
}

.num span { font-size: 14px; color: var(--muted); }

/* --- formats that open in place ------------------------------------------- */
.pills [data-model]
{
	cursor: pointer;
	transition: border-color 140ms ease, color 140ms ease, background 140ms ease, transform 140ms ease;
}

.pills [data-model]:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.pills [data-model].active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* --- reveal on scroll ----------------------------------------------------- */
.reveal
{
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in { opacity: 1; transform: none; }

.grid .card.reveal:nth-child(2), .steps .step.reveal:nth-child(2) { transition-delay: 90ms; }
.grid .card.reveal:nth-child(3), .steps .step.reveal:nth-child(3) { transition-delay: 180ms; }
.grid .card.reveal:nth-child(4) { transition-delay: 90ms; }
.grid .card.reveal:nth-child(5) { transition-delay: 180ms; }
.grid .card.reveal:nth-child(6) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce)
{
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero_live::before, .hero_live::after { animation: none; }
	.stage_poster { transition: none; }
}

@media (max-width: 1000px)
{
	.hero_live { padding-top: 48px; }
	.hero_grid { grid-template-columns: 1fr; gap: 32px; }
	.hero_copy h1 { font-size: 38px; }
	.hero_copy .lead { font-size: 17px; }
	.numbers_grid { grid-template-columns: repeat(2, 1fr); }
	.num b { font-size: 32px; }
	.stage_open { display: none; }
}
