/* Entry point for CSS so Reroute picks it up on hot reload. */
/* ./theme/index.css */
/* Tokens first (the only file with raw values), then base, then components. */
/* ./tokens.css */
/*
 * Tokens: every raw value (px, ms, hex, rgba) lives here; everything else uses
 * var(--token). Based on UserPath's src/ui/theme/tokens/core.css with a
 * violet accent and Instrument Serif for display type.
 * Light is the base; [data-theme='dark'] overrides colours only.
 */
:root,
[data-theme='light'] {
	color-scheme: light;

	/* Color */
	--color-page: #ffffff;
	--color-panel: #f0f0f0;
	--color-hover: #e5e5e5;
	--color-ink: #2c2c2c;
	--color-muted: #6e6e6e;
	--color-border: rgba(0, 0, 0, 0.1);
	--color-accent: #6a4fd0;
	--color-accent-ink: var(--color-accent);
	--color-accent-hover: color-mix(in srgb, var(--color-accent) 88%, #000000);
	--color-on-accent: #ffffff;
	--color-live: #1b8a4a;
	--color-focus: color-mix(in srgb, var(--color-accent-ink) 60%, transparent);
	--color-selection: color-mix(in srgb, var(--color-accent) 24%, transparent);

	/* Type */
	--font-ui: Inter, system-ui, sans-serif;
	--font-display: 'Instrument Serif', Georgia, serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
	--font-size-xs: 11px;
	--font-size-sm: 12px;
	--font-size-md: 13px;
	--font-size-lg: 14px;
	--font-size-xl: 15px;
	--font-size-lead: 16px;
	--font-size-h1: 65px;
	--font-size-h1-phone: 42px;
	--font-size-h2: 28px;
	--font-size-h2-phone: 25px;
	--font-size-title: 28px;
	--font-size-wordmark-nav: 19px;
	--font-size-wordmark-nav-phone: 20px;
	--font-size-wordmark-footer: 25px;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--leading-none: 1;
	--leading-tight: 1.06;
	--leading-tight-phone: 1.08;
	--leading-base: 1.35;
	--leading-prose: 1.45;
	--leading-relaxed: 1.5;
	--leading-code: 1.6;
	--tracking-display: -0.035em;
	--tracking-serif: -0.01em;
	--tracking-caps: 0.01em;

	/* Space (2px grid) */
	--space-2: 2px;
	--space-4: 4px;
	--space-6: 6px;
	--space-8: 8px;
	--space-10: 10px;
	--space-12: 12px;
	--space-14: 14px;
	--space-16: 16px;
	--space-20: 20px;
	--space-24: 24px;
	--space-32: 32px;
	--space-40: 40px;
	--space-48: 48px;
	--space-56: 56px;
	--space-64: 64px;
	--space-88: 88px;
	--space-96: 96px;
	--space-112: 112px;

	/* Size */
	--content-width: 880px;
	--hero-width: 760px;
	--lead-width: 560px;
	--topbar-height: 44px;
	--topbar-height-phone: 52px;
	--control-height-xs: 21px;
	--control-height-sm: 22px;
	--control-height: 32px;
	--touch-target: 44px;
	--row-height-product: 56px;
	--row-height-product-phone: 60px;
	--panel-header-height: 36px;
	--footer-height: 56px;
	--product-list-width: 320px;
	--tile-size: 28px;
	--tile-size-phone: 32px;
	--dot-size: 6px;
	--reveal-max: 160px;
	--kbd-size: 18px;
	--popover-width: 232px;

	/* Shape */
	--border-width: 1px;
	--border-width-strong: 2px;
	--radius-sm: 2px;
	--radius-md: 4px;
	--radius-full: 999px;
	--focus-offset: 2px;
	--focus-offset-inset: -2px;
	--shadow-popover: 0 8px 24px rgba(0, 0, 0, 0.12);
	--z-popover: 200;

	/* Motion */
	--duration-fast: 120ms;
	--duration-base: 180ms;
	--duration-slow: 240ms;
	--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
	--rotate-open: 90deg;
}

[data-theme='dark'] {
	color-scheme: dark;
	--color-page: #1f1f1f;
	--color-panel: #2a2a2a;
	--color-hover: #333333;
	--color-ink: #e8e8e8;
	--color-muted: #9a9a9a;
	--color-border: #3e3e3e;
	--color-accent-ink: #a392e2;
	--color-accent-hover: color-mix(in srgb, var(--color-accent) 88%, #ffffff);
	--color-live: #3dcc6f;
	--shadow-popover: 0 12px 32px rgba(0, 0, 0, 0.5);
}


/* ./base.css */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	background: var(--color-page);
	color: var(--color-ink);
	font-family: var(--font-ui);
	font-size: var(--font-size-md);
	line-height: var(--leading-base);
	-webkit-font-smoothing: antialiased;
	transition:
		background var(--duration-base) var(--ease-out),
		color var(--duration-base) var(--ease-out);
}

html {
	scroll-behavior: smooth;
}

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

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
pre {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

:focus-visible {
	outline: var(--border-width-strong) solid var(--color-focus);
	outline-offset: var(--focus-offset);
}

::selection {
	background: var(--color-selection);
}

.muted {
	color: var(--color-muted);
}

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

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* Read by screen readers, not shown. */
.visually-hidden {
	position: absolute;
	width: var(--border-width);
	height: var(--border-width);
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}


/* ./components/logo.css */
.logo {
	display: inline-flex;
	align-items: center;
	gap: var(--space-8);
	color: var(--color-ink);
}

.logo-dot {
	fill: var(--color-accent-ink);
}

.logo-word {
	font-family: var(--font-display);
	font-weight: var(--font-weight-regular);
	letter-spacing: var(--tracking-serif);
	line-height: var(--leading-none);
}

.logo-word em {
	font-style: italic;
}

.logo-nav .logo-word {
	font-size: var(--font-size-wordmark-nav);
}

.logo-footer .logo-word {
	font-size: var(--font-size-wordmark-footer);
}

/* Breakpoints can't use var(); phone < 640px everywhere. */
@media (max-width: 639px) {
	.logo-nav .logo-word {
		font-size: var(--font-size-wordmark-nav-phone);
	}
}


/* ./components/controls.css */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-6);
	height: var(--control-height);
	padding: 0 var(--space-14);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--color-ink);
	font-size: var(--font-size-md);
	font-weight: var(--font-weight-medium);
	transition:
		background var(--duration-fast) var(--ease-out),
		border-color var(--duration-fast) var(--ease-out);
}

.button:hover {
	background: var(--color-panel);
}

.button-primary {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-on-accent);
}

.button-primary:hover {
	border-color: var(--color-accent-hover);
	background: var(--color-accent-hover);
}

.button-block {
	display: flex;
	width: 100%;
	height: var(--touch-target);
	background: var(--color-page);
	font-size: var(--font-size-lg);
}

.button-xs {
	display: inline-flex;
	align-items: center;
	gap: var(--space-4);
	height: var(--control-height-sm);
	padding: 0 var(--space-8);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-page);
	color: var(--color-ink);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
}

.segmented {
	display: inline-flex;
	gap: var(--space-2);
	padding: var(--space-2);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-panel);
}

.segmented button {
	height: var(--control-height-xs);
	padding: 0 var(--space-8);
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--color-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
}

.segmented button[aria-pressed='true'] {
	background: var(--color-page);
	color: var(--color-ink);
}

[data-theme='dark'] .segmented button[aria-pressed='true'] {
	background: var(--color-hover);
}

.segmented button:hover,
.segmented button:focus-visible {
	color: var(--color-ink);
}

/* Pill links: first letter only, the rest slides out on hover or focus. */
.pill-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--control-height-xs);
	height: var(--control-height-xs);
	padding: 0 var(--space-8);
	border-radius: var(--radius-sm);
	color: var(--color-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
	transition:
		background var(--duration-fast) var(--ease-out),
		color var(--duration-fast) var(--ease-out);
}

/*
 * Reveal: `.reveal-rest` text slides out of a `.reveal` element on hover,
 * keyboard focus or a shortcut flash. `.reveal-touch` shows it on touch
 * screens; `.reveal-tap` opens it when tapped (focused) instead.
 */
.reveal-rest {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	white-space: nowrap;
	vertical-align: bottom;
	transition:
		max-width var(--duration-slow) var(--ease-out),
		opacity var(--duration-slow) var(--ease-out);
}

.reveal:hover .reveal-rest,
.reveal:focus-visible .reveal-rest,
.reveal[data-flash] .reveal-rest,
.reveal-tap:focus .reveal-rest {
	max-width: var(--reveal-max);
	opacity: 1;
}

/* Closed again after an action, until the pointer or focus moves away. */
.reveal[data-settled] .reveal-rest {
	max-width: 0;
	opacity: 0;
}

.pill-link:hover,
.pill-link:focus-visible,
.pill-link[data-flash] {
	background: var(--color-page);
	color: var(--color-ink);
}

[data-theme='dark'] .pill-link:hover,
[data-theme='dark'] .pill-link:focus-visible,
[data-theme='dark'] .pill-link[data-flash] {
	background: var(--color-hover);
}

/* Keyboard keys: shortcut hints and the shortcuts list. */
kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--kbd-size);
	height: var(--kbd-size);
	padding: 0 var(--space-4);
	border: var(--border-width) solid var(--color-border);
	border-bottom-width: var(--border-width-strong);
	border-radius: var(--radius-sm);
	background: var(--color-page);
	color: var(--color-ink);
	font-family: var(--font-ui);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	line-height: var(--leading-none);
}

.shortcut-hint {
	color: var(--color-muted);
}

.shortcuts {
	position: relative;
}

.shortcuts-trigger {
	display: inline-flex;
	align-items: center;
	gap: var(--space-6);
	height: var(--control-height-sm);
	padding: 0 var(--space-6) 0 var(--space-4);
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--color-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	transition: color var(--duration-fast) var(--ease-out);
}

.shortcuts-trigger:hover,
.shortcuts-trigger:focus-visible,
.shortcuts-trigger[aria-expanded='true'] {
	background: var(--color-panel);
	color: var(--color-ink);
}

/*
 * Controls packed side by side (pill groups, the theme switch, product rows)
 * draw the ring inside themselves so it never overlaps a neighbour.
 */
.segmented :focus-visible,
.product-row:focus-visible {
	outline-offset: var(--focus-offset-inset);
}

.shortcuts-panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + var(--space-8));
	z-index: var(--z-popover);
	width: var(--popover-width);
	padding: var(--space-10) var(--space-12);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-panel);
	box-shadow: var(--shadow-popover);
	text-align: left;
}

.shortcuts-panel ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.shortcuts-panel li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-12);
	color: var(--color-ink);
	font-size: var(--font-size-sm);
}

.shortcut-keys {
	display: inline-flex;
	gap: var(--space-4);
}

/* No hover or keyboard on touch screens: full labels, no shortcut hints. */
@media (hover: none) {
	.reveal-touch .reveal-rest {
		max-width: none;
		opacity: 1;
	}

	.shortcut-hint,
	.shortcuts {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pill-link,
	.reveal-rest {
		transition: none;
	}
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--touch-target);
	height: var(--touch-target);
	border: 0;
	background: transparent;
	color: var(--color-ink);
}

.live-dot {
	display: inline-block;
	width: var(--dot-size);
	height: var(--dot-size);
	border-radius: var(--radius-full);
	background: var(--color-live);
}


/* ./components/layout.css */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header */
/* Header and footer rules span the window; their content sits in the page container. */
.site-header {
	flex-shrink: 0;
	border-bottom: var(--border-width) solid var(--color-border);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--topbar-height);
}

.site-brand {
	display: inline-flex;
	border-radius: var(--radius-md);
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-8);
}

.site-nav {
	display: flex;
}

.theme-icon {
	display: none;
}

/* Page */
.container {
	width: 100%;
	max-width: calc(var(--content-width) + 2 * var(--space-24));
	margin: 0 auto;
	padding: 0 var(--space-24);
}

.hero,
.not-found {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	padding: var(--space-112) 0 var(--space-88);
}

.eyebrow {
	color: var(--color-accent-ink);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	letter-spacing: var(--tracking-caps);
}

/* "Hello there" is also the contact link; the reply slides out on hover. */
.eyebrow-link {
	display: inline-flex;
	align-self: flex-start;
	border-radius: var(--radius-sm);
	white-space: nowrap;
}

/* CNPJ in the footer: the number slides out on hover, focus or tap. */
.registration {
	display: inline-flex;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: inherit;
	cursor: copy;
}

.registration:hover,
.registration:focus-visible,
.registration[data-flash] {
	color: var(--color-ink);
}

.site-footer-contact {
	color: var(--color-ink);
	text-decoration: underline;
	text-decoration-color: var(--color-border);
	text-underline-offset: var(--space-2);
	transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

.site-footer-contact:hover {
	text-decoration-color: currentColor;
}

.hero h1,
.not-found h1 {
	max-width: var(--hero-width);
	font-family: var(--font-display);
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-regular);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-display);
}

.hero-lead {
	max-width: var(--lead-width);
	color: var(--color-muted);
	font-size: var(--font-size-lead);
	line-height: var(--leading-relaxed);
}

.hero-actions {
	display: flex;
	gap: var(--space-8);
	padding-top: var(--space-12);
}

.section {
	display: flex;
	flex-direction: column;
	gap: var(--space-20);
}

.section h2 {
	font-family: var(--font-display);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-regular);
	letter-spacing: var(--tracking-serif);
	line-height: var(--leading-base);
}

/* Home sections below the hero; visitors can reorder them. */
.section-stack {
	display: flex;
	flex-direction: column;
	gap: var(--space-88);
	padding-bottom: var(--space-96);
}

.section-slot {
	scroll-margin-top: var(--space-24);
}

/* Headings take focus when their section is brought up; no ring needed. */
.section h2:focus {
	outline: none;
}

/* Principles */
/*
 * Same split as the products panel: the second column starts on the
 * list/details boundary and its text lines up with the product title.
 */
.principle-grid {
	display: grid;
	/* The panel's outer border shifts its details column by one border width. */
	grid-template-columns:
		calc(var(--product-list-width) + var(--border-width))
		minmax(0, 1fr);
	row-gap: var(--space-32);
}

.principle {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	padding-top: var(--space-14);
	border-top: var(--border-width) solid var(--color-border);
}

.principle:nth-child(odd) {
	padding-right: var(--space-24);
}

.principle:nth-child(even) {
	padding-left: var(--space-24);
}

.principle h3 {
	font-size: var(--font-size-md);
	font-weight: var(--font-weight-semibold);
}

.principle p {
	line-height: var(--leading-prose);
}

/* Footer */
.site-footer {
	margin-top: auto;
	border-top: var(--border-width) solid var(--color-border);
	color: var(--color-muted);
	font-size: var(--font-size-sm);
}

.site-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-24);
	min-height: var(--footer-height);
	padding-block: var(--space-12);
}

.site-footer-brand {
	display: flex;
	align-items: center;
	gap: var(--space-12);
}

.site-footer-brand .logo-mark {
	color: var(--color-ink);
}

.site-footer-actions {
	display: flex;
	align-items: center;
	gap: var(--space-12);
}

/* Breakpoints can't use var(); phone < 640px everywhere. */
@media (max-width: 639px) {
	.site-header-inner {
		height: var(--topbar-height-phone);
	}

	.site-nav,
	.theme-segmented {
		display: none;
	}

	/* Icon on the right edge of its touch target, so it lines up with the page. */
	.theme-icon {
		display: inline-flex;
		justify-content: flex-end;
	}

	.container {
		padding: 0 var(--space-16);
	}

	.hero,
	.not-found {
		gap: var(--space-14);
		padding: var(--space-56) 0 var(--space-48);
	}

	.hero h1,
	.not-found h1 {
		font-size: var(--font-size-h1-phone);
		line-height: var(--leading-tight-phone);
	}

	.hero-lead {
		font-size: var(--font-size-xl);
	}

	.hero-actions {
		flex-direction: column;
		padding-top: var(--space-10);
	}

	.hero-actions .button {
		height: var(--touch-target);
		font-size: var(--font-size-lg);
	}

	.section h2 {
		font-size: var(--font-size-h2-phone);
	}

	.section-stack {
		gap: var(--space-56);
		padding-bottom: var(--space-56);
	}

	.principle-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--space-16);
	}

	.principle:nth-child(odd),
	.principle:nth-child(even) {
		padding-right: 0;
		padding-left: 0;
	}

	.principle h3 {
		font-size: var(--font-size-lg);
	}

	.principle p {
		font-size: var(--font-size-lg);
	}

	.site-footer-inner {
		flex-direction: column;
		align-items: center;
		gap: var(--space-12);
		padding-block: var(--space-20) var(--space-32);
		text-align: center;
	}

	.site-footer-brand {
		flex-direction: column;
		gap: var(--space-8);
	}
}


/* ./components/products.css */
.products {
	gap: var(--space-16);
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-16);
}

.section-title {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.live-count {
	display: inline-flex;
	align-items: center;
	gap: var(--space-6);
	flex-shrink: 0;
	white-space: nowrap;
	color: var(--color-muted);
	font-size: var(--font-size-sm);
}

/* Split panel: list on the left, inspector on the right */
.products-panel {
	display: grid;
	grid-template-columns: var(--product-list-width) minmax(0, 1fr);
	overflow: hidden;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
}

.product-list {
	border-right: var(--border-width) solid var(--color-border);
	background: var(--color-page);
}

.panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--panel-header-height);
	padding: 0 var(--space-12);
	border-bottom: var(--border-width) solid var(--color-border);
	color: var(--color-muted);
	font-size: var(--font-size-xs);
}

.product-item {
	border-bottom: var(--border-width) solid var(--color-border);
	transition: background var(--duration-fast) var(--ease-out);
}

.product-item[data-selected='true'] {
	background: var(--color-panel);
}

.product-item:has(.product-row:hover),
.product-item:has(.product-row:focus-visible) {
	background: var(--color-panel);
}

.product-row {
	display: flex;
	align-items: center;
	gap: var(--space-10);
	width: 100%;
	height: var(--row-height-product);
	padding: 0 var(--space-12);
	border: 0;
	background: transparent;
	text-align: left;
}

.product-tile {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: var(--tile-size);
	height: var(--tile-size);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-panel);
	color: var(--color-ink);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-semibold);
}

.product-item[data-selected='true'] .product-tile {
	background: var(--color-ink);
	color: var(--color-page);
}

.product-row-text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: var(--space-2);
}

.product-row-name {
	font-size: var(--font-size-md);
	font-weight: var(--font-weight-semibold);
}

.product-row-kind {
	color: var(--color-muted);
	font-size: var(--font-size-sm);
}

.product-row-chevron {
	color: var(--color-muted);
	transition: transform var(--duration-base) var(--ease-out);
}

.product-item[data-selected='true'] .product-row-chevron {
	color: var(--color-ink);
}

.product-inline {
	display: none;
}

/* Inspector */
.inspector {
	display: flex;
	flex-direction: column;
	background: var(--color-panel);
}

/* Same inset as the body, so the host lines up with the title below it. */
.inspector .panel-header {
	padding: 0 var(--space-24);
}

.inspector-body {
	display: flex;
	flex-direction: column;
	gap: var(--space-14);
	padding: var(--space-20) var(--space-24);
}

.inspector-intro {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.product-title {
	font-family: var(--font-display);
	font-size: var(--font-size-title);
	font-weight: var(--font-weight-regular);
	letter-spacing: var(--tracking-serif);
	line-height: var(--leading-base);
}

.product-line {
	max-width: var(--lead-width);
	color: var(--color-muted);
	font-size: var(--font-size-xl);
	line-height: var(--leading-prose);
}

.product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
	color: var(--color-muted);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
}

.fact-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-8) var(--space-20);
	padding-top: var(--space-14);
	border-top: var(--border-width) solid var(--color-border);
}

.fact-list li {
	display: flex;
	align-items: center;
	gap: var(--space-6);
}

.fact-icon {
	flex-shrink: 0;
	color: var(--color-accent-ink);
}

.code-block {
	padding: var(--space-10) var(--space-14);
	overflow-x: auto;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-page);
	font-family: var(--font-mono);
	font-size: var(--font-size-sm);
	line-height: var(--leading-code);
}

/* Accordion below 800px: the inspector folds into the selected row. */
@media (max-width: 799px) {
	.products-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.product-list {
		border-right: 0;
	}

	.product-list-header,
	.inspector {
		display: none;
	}

	.product-item:last-child {
		border-bottom: 0;
	}

	.product-row {
		height: var(--row-height-product-phone);
	}

	.product-tile {
		width: var(--tile-size-phone);
		height: var(--tile-size-phone);
		font-size: var(--font-size-md);
	}

	.product-row-name {
		font-size: var(--font-size-lg);
	}

	.product-item[data-selected='true'] .product-row-chevron {
		transform: rotate(var(--rotate-open));
	}

	.product-inline {
		display: flex;
		flex-direction: column;
		gap: var(--space-14);
		padding: 0 var(--space-12) var(--space-16);
	}

	.product-inline .product-line {
		font-size: var(--font-size-lg);
	}

	.fact-list {
		flex-direction: column;
	}
}




