/*
Theme Name: HDZero Demo
Description: Concept redesign of the HDZero home page, prepared for a proposal. Not the official HDZero theme.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hdzero-demo
*/

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("assets/fonts/jetbrains-mono-var.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--red: #d6252b;
	--red-deep: #b51c22;
	--red-bright: #ff4d54;
	--bg: #09090b;
	--surface: #111114;
	--surface-2: #18181c;
	--text: #ececee;
	--muted: #a0a2a9;
	--line: rgb(255 255 255 / 0.09);
	--line-strong: rgb(255 255 255 / 0.16);

	--font: "Archivo", "Helvetica Neue", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

	/* Shape rule: cards are a 36px shell around a 28px core, small tiles are 24px, controls are pills. */
	--r-shell: 36px;
	--r-core: 28px;
	--r-tile: 24px;
	--bezel: 8px;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(96px, 13vw, 176px);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

	/* layers */
	--z-header: 50;
	--z-skip: 60;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	background: var(--bg);
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img,
video,
svg,
canvas {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
	margin: 0;
}
ul {
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	color: inherit;
}
::selection {
	background: var(--red);
	color: #fff;
}
:focus-visible {
	outline: 2px solid var(--red-bright);
	outline-offset: 3px;
}
.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow {
	max-width: 760px;
}
.section {
	padding-block: var(--section);
}
.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: var(--z-skip);
	padding: 10px 16px;
	background: #fff;
	color: #000;
	border-radius: 999px;
}
.skip-link:focus {
	top: 12px;
}

/* ---------- Type ---------- */
.h-display {
	color: #fff;
	font-size: clamp(2.1rem, 5vw, 4rem);
	font-weight: 800;
	font-stretch: 120%;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.lede {
	max-width: 56ch;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	line-height: 1.55;
}
.eyebrow {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--red-bright);
	font-family: var(--mono);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.footnote {
	max-width: 70ch;
	margin-top: 20px;
	color: var(--muted);
	font-size: 0.86rem;
}
.price {
	color: #fff;
	font-family: var(--mono);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}
.price--sm {
	font-size: 1rem;
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 650;
	border-bottom: 1px solid var(--red-bright);
	padding-bottom: 3px;
	transition: gap 0.3s var(--ease-out), color 0.2s ease;
}
.section__head {
	max-width: 1000px;
	margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head .eyebrow + .h-display {
	margin-top: 22px;
}
.section__head .lede {
	margin-top: 22px;
}

/* ---------- Double bezel ---------- */
.bezel {
	padding: var(--bezel);
	border: 1px solid var(--line);
	border-radius: var(--r-shell);
	background: rgb(255 255 255 / 0.025);
}
.core {
	position: relative;
	height: 100%;
	border-radius: var(--r-core);
	background: var(--surface);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
	overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 54px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-stretch: 108%;
	font-size: 1rem;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out);
}
.btn:has(.btn__icon) {
	padding-right: 8px;
}
.btn:active {
	transform: scale(0.97);
}
.btn__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(0 0 0 / 0.22);
	transition: transform 0.35s var(--ease-out);
}
.btn--sm {
	min-height: 40px;
	padding: 0 20px;
	font-size: 0.92rem;
}
.btn--primary {
	background: var(--red);
	color: #fff;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22);
}
.btn--dark {
	background: #0c0c0e;
	color: #fff;
}
.btn--dark .btn__icon {
	background: rgb(255 255 255 / 0.12);
}
.btn--light {
	background: #f1f1f2;
	color: #0c0c0e;
}
.btn--light .btn__icon {
	background: rgb(0 0 0 / 0.08);
}
.btn--glass {
	border-color: rgb(255 255 255 / 0.3);
	background: rgb(9 9 11 / 0.45);
	color: #fff;
}
.chip {
	align-self: flex-start;
	padding: 10px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out);
}
.chip:active {
	transform: scale(0.97);
}

/* ---------- Floating island header ---------- */
.site-header {
	position: fixed;
	top: 46px;
	left: 0;
	right: 0;
	z-index: var(--z-header);
	display: flex;
	justify-content: center;
	padding-inline: 12px;
	pointer-events: none;
}
.admin-bar .site-header {
	top: 78px;
}
.island {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2.4vw, 32px);
	height: 60px;
	padding: 0 10px 0 22px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgb(14 14 17 / 0.72);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	backdrop-filter: blur(20px) saturate(160%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 40px -24px rgb(0 0 0 / 0.8);
	pointer-events: auto;
}
.island__logo img {
	width: 124px;
}
.island__list {
	display: flex;
	gap: 2px;
}
.island__list a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: rgb(255 255 255 / 0.78);
	font-size: 0.94rem;
	font-weight: 550;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.island__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.island__cart {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.25rem;
	transition: background-color 0.2s ease;
}
.burger {
	position: relative;
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	cursor: pointer;
}
.burger span {
	position: absolute;
	left: 12px;
	right: 12px;
	top: 50%;
	height: 1.5px;
	background: #fff;
	transition: transform 0.35s var(--ease-drawer);
}
.burger span:first-child {
	transform: translateY(-4px);
}
.burger span:last-child {
	transform: translateY(4px);
}
.burger[aria-expanded="true"] span:first-child {
	transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
	transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: calc(100dvh - 46px);
	margin: 38px 8px 0;
	border-radius: var(--r-shell);
	overflow: hidden;
	background: #000;
	color: #fff;
}
.admin-bar .hero {
	min-height: calc(100dvh - 78px);
}
.hero__media {
	position: absolute;
	inset: 0;
}
.hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgb(9 9 11 / 0.92) 0%, rgb(9 9 11 / 0.25) 55%, rgb(9 9 11 / 0.35) 100%),
		linear-gradient(to right, rgb(9 9 11 / 0.45), transparent 60%);
}
.hero__content {
	position: relative;
	padding-block: 96px clamp(40px, 6vw, 80px);
}
.hero__title {
	font-size: clamp(2.5rem, min(7.2vw, 13vh), 6.4rem);
	font-weight: 850;
	font-stretch: 123%;
	line-height: 0.96;
	letter-spacing: -0.035em;
}
.hero__title .line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
}
.hero__title .line > span {
	display: block;
}
.hero__title em {
	color: var(--red-bright);
	font-style: italic;
	padding-right: 0.06em;
}
.hero__lede {
	max-width: 46ch;
	margin-top: 22px;
	color: rgb(255 255 255 / 0.84);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.5;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

/* ---------- Stats ---------- */
.stats {
	padding-top: clamp(48px, 7vw, 88px);
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.stat {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--r-tile);
	background: var(--surface);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
.stat__value {
	color: #fff;
	font-family: var(--mono);
	font-size: clamp(2.6rem, 5.4vw, 4.6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.06em;
	font-variant-numeric: tabular-nums;
}
.stat__value b {
	font-weight: inherit;
}
.stat__value span {
	margin-left: 8px;
	color: var(--red-bright);
	font-size: 0.36em;
	letter-spacing: 0;
}
.stat__label {
	max-width: 24ch;
	margin-top: 14px;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.4;
}

/* ---------- Range inputs ---------- */
.range {
	display: block;
}
.range__top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 0.95rem;
}
.range output {
	color: #fff;
	font-family: var(--mono);
	font-size: 1.05rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.range input {
	--fill: 50%;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	cursor: pointer;
	touch-action: pan-y;
}
.range input::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to right, var(--red) var(--fill), rgb(255 255 255 / 0.14) var(--fill));
}
.range input::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to right, var(--red) var(--fill), rgb(255 255 255 / 0.14) var(--fill));
}
.range input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 26px;
	height: 26px;
	margin-top: -10px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 6px rgb(214 37 43 / 0.28), 0 4px 12px rgb(0 0 0 / 0.5);
	transition: transform 0.16s var(--ease-out);
}
.range input::-moz-range-thumb {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 6px rgb(214 37 43 / 0.28), 0 4px 12px rgb(0 0 0 / 0.5);
}
.range input:active::-webkit-slider-thumb {
	transform: scale(1.12);
}

/* ---------- Reflex test ---------- */
.react__core {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 56px);
	align-items: center;
	padding: clamp(14px, 2vw, 24px);
	padding-right: clamp(20px, 4vw, 56px);
}
.react__pad {
	display: grid;
	place-content: center;
	gap: 10px;
	min-height: clamp(260px, 32vw, 400px);
	padding: 24px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-tile);
	background: var(--surface-2);
	color: #fff;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.16s var(--ease-out), border-color 0.2s ease;
}
.react__pad:active {
	transform: scale(0.985);
}
.react__pad[data-state="wait"] {
	background: #26262b;
}
.react__pad[data-state="go"] {
	border-color: transparent;
	background: var(--red);
}
.react__pad[data-state="early"] {
	border-color: var(--red-bright);
}
.react__big {
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	font-weight: 850;
	font-stretch: 120%;
	line-height: 1;
	letter-spacing: -0.03em;
}
.react__small {
	min-height: 1.5em;
	color: rgb(255 255 255 / 0.72);
	font-size: 1rem;
}
.react__result {
	display: grid;
	gap: 26px;
}
.react__row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 6px 16px;
}
.react__label {
	color: var(--muted);
	font-size: 1rem;
	font-weight: 600;
}
.react__value {
	color: #fff;
	font-family: var(--mono);
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.06em;
	font-variant-numeric: tabular-nums;
}
.react__value b {
	font-weight: inherit;
}
.react__value span {
	margin-left: 6px;
	color: var(--red-bright);
	font-size: 0.4em;
	letter-spacing: 0;
}
.react__bar {
	grid-column: 1 / -1;
	height: 14px;
	border-radius: 999px;
	transform-origin: left center;
	transition: transform 0.9s var(--ease-out);
}
.react__bar--you {
	background: rgb(255 255 255 / 0.55);
	transform: scaleX(0.012);
}
.react__bar--hd {
	background: var(--red-bright);
	transform: scaleX(0.012);
}
.react__verdict {
	color: var(--text);
	font-size: 1.08rem;
	line-height: 1.5;
}
@media (max-width: 1023px) {
	.react__core {
		grid-template-columns: 1fr;
		padding-right: clamp(14px, 2vw, 24px);
	}
	.react__result {
		padding: 8px 10px 16px;
	}
}

/* ---------- Signal demo ---------- */
.signal {
	padding-top: 0;
}
.signal__stage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.signal__stage canvas {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	background: #000;
}
.signal__stage .core {
	height: auto;
}
.signal__stage figcaption {
	padding: 14px 12px 8px;
	color: var(--muted);
	font-size: 0.95rem;
}
.signal__stage figcaption strong {
	margin-right: 10px;
	color: #fff;
	font-weight: 700;
}
.signal__range {
	grid-column: 1 / -1;
	max-width: 720px;
	width: 100%;
	margin: 20px auto 0;
}

/* ---------- Technology ---------- */
.tech__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.tech__figure {
	position: sticky;
	top: 104px;
}
.tech__figure .core {
	height: auto;
}
.tech__figure img {
	width: 100%;
	aspect-ratio: 4 / 4.2;
	object-fit: cover;
}
.tech__figure figcaption {
	padding: 14px 12px 8px;
	color: var(--muted);
	font-size: 0.92rem;
}
.tech__body .lede {
	margin-top: 22px;
}
.accordion {
	display: grid;
	gap: 10px;
	margin-top: 44px;
}
.accordion__item {
	padding-inline: 24px;
	border: 1px solid var(--line);
	border-radius: var(--r-tile);
	background: rgb(255 255 255 / 0.025);
	transition: border-color 0.3s ease, background-color 0.3s ease;
}
.accordion__item.is-open {
	border-color: var(--line-strong);
	background: var(--surface);
}
.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 22px 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: clamp(1.1rem, 1.7vw, 1.35rem);
	font-weight: 700;
	font-stretch: 112%;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease;
}
.accordion__trigger .icon {
	color: var(--red-bright);
	transition: transform 0.3s var(--ease-out);
}
.accordion__item.is-open .accordion__trigger .icon {
	transform: rotate(45deg);
}
.accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	opacity: 0;
	transition: grid-template-rows 0.4s var(--ease-drawer), opacity 0.3s ease, visibility 0.4s;
}
.accordion__item.is-open .accordion__panel {
	grid-template-rows: 1fr;
	visibility: visible;
	opacity: 1;
}
.accordion__inner {
	overflow: hidden;
}
.accordion__inner p {
	max-width: 54ch;
	color: var(--muted);
}
.accordion__inner .text-link {
	margin: 18px 0 28px;
	font-size: 0.95rem;
}

/* ---------- Community bento ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}
.bento__cell .core {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 40px);
}
.bento__cell h3 {
	color: #fff;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	font-weight: 800;
	font-stretch: 116%;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.bento__cell p {
	max-width: 44ch;
	margin-top: 12px;
	color: var(--muted);
}
.bento__icon {
	width: 34px;
	height: 34px;
	margin-bottom: 20px;
	color: #fff;
}
.bento__cell--race {
	grid-column: span 7;
}
.bento__cell--race .core {
	min-height: 460px;
	justify-content: flex-end;
}
.bento__cell--race img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}
.bento__cell--race .core::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(9 9 11 / 0.94), rgb(9 9 11 / 0.05) 70%);
}
.bento__text {
	position: relative;
	z-index: 1;
}
.bento__cell--race p {
	color: rgb(255 255 255 / 0.82);
}
.bento__cell--open {
	grid-column: span 5;
}
.bento__cell--open .btn {
	align-self: flex-start;
	margin-top: auto;
}
.bento__cell--open p {
	margin-bottom: 32px;
}
.bento__cell--friends {
	grid-column: span 4;
}
.bento__cell--friends .core {
	justify-content: flex-end;
	min-height: 280px;
	background: var(--red);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.bento__cell--friends h3 {
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}
.bento__cell--friends p {
	color: #fff;
}
.bento__cell--talk {
	grid-column: span 8;
}
.channels {
	margin-top: 18px;
}
.channels li + li {
	border-top: 1px solid var(--line);
}
.channels a {
	display: grid;
	grid-template-columns: 28px minmax(0, auto) 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 17px 0;
	color: #fff;
}
.channels__brand {
	width: 24px;
	height: 24px;
}
.channels__name {
	font-weight: 700;
	font-size: 1.1rem;
}
.channels__note {
	color: var(--muted);
	font-size: 0.95rem;
}
.channels__arrow {
	color: var(--muted);
	transition: transform 0.3s var(--ease-out), color 0.2s ease;
}

/* ---------- Products ---------- */
.feature {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 72px);
	align-items: center;
}
.feature__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 0.9;
	perspective: 1100px;
}
.feature__glow {
	position: absolute;
	inset: 12% 6%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(214 37 43 / 0.5), rgb(214 37 43 / 0.12) 55%, transparent 75%);
}
.feature__stage img {
	position: relative;
	width: 118%;
	max-width: none;
	will-change: transform;
}
.feature__body .h-display {
	margin-top: 22px;
}
.feature__body .lede {
	margin-top: 20px;
}
.specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 28px;
	margin-top: 36px;
}
.specs dt {
	color: #fff;
	font-family: var(--mono);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}
.specs dd {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.4;
}
.feature__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 28px;
	margin-top: 40px;
}
.product-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: clamp(56px, 8vw, 112px);
}
.product {
	display: block;
}
.product .bezel {
	margin-bottom: 18px;
	transition: border-color 0.3s ease;
}
.product__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: radial-gradient(circle at 50% 60%, #2a2a30, var(--surface) 70%);
}
.product__media img {
	width: 86%;
	transition: transform 0.6s var(--ease-out);
}
.product__kind {
	color: var(--muted);
	font-size: 0.9rem;
}
.product__name {
	margin: 2px 0 6px;
	color: #fff;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
}
.products__more {
	margin-top: 44px;
}

/* ---------- CTA ---------- */
.cta {
	margin: 0 8px;
	padding-block: clamp(64px, 9vw, 128px);
	border-radius: var(--r-shell);
	background:
		radial-gradient(90% 120% at 100% 0%, rgb(255 255 255 / 0.16), transparent 55%),
		var(--red);
	color: #fff;
}
.cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}
.cta .h-display {
	max-width: 15ch;
	font-size: clamp(2.3rem, 6vw, 5rem);
}
.cta p {
	max-width: 44ch;
	font-size: 1.15rem;
}
.cta .btn {
	margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
	padding-top: clamp(56px, 7vw, 96px);
	font-size: 0.95rem;
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 40px 32px;
}
.site-footer__brand img {
	width: 150px;
}
.site-footer__brand p {
	max-width: 30ch;
	margin-top: 14px;
	color: var(--muted);
}
.site-footer__col h2 {
	margin-bottom: 14px;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}
.site-footer__col li + li {
	margin-top: 8px;
}
.site-footer__col a {
	color: var(--muted);
	transition: color 0.2s ease;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	margin-top: clamp(40px, 5vw, 64px);
	padding-block: 24px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.88rem;
}
.site-footer__notice {
	max-width: 62ch;
}

/* ---------- Inner pages ---------- */
.prose-page {
	padding-top: 160px;
}
.prose-page .lede,
.prose {
	margin-top: 24px;
}
.prose > * + * {
	margin-top: 1em;
}
.prose a,
.prose-page .lede a {
	color: var(--red-bright);
	text-decoration: underline;
}

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover {
		background: var(--red-deep);
	}
	.btn--dark:hover {
		background: #1d1d21;
	}
	.btn--light:hover {
		background: #fff;
	}
	.btn--glass:hover {
		border-color: #fff;
		background: rgb(9 9 11 / 0.7);
	}
	.btn:hover .btn__icon {
		transform: translateX(3px) scale(1.06);
	}
	.chip:hover {
		border-color: var(--red-bright);
		background: rgb(214 37 43 / 0.14);
	}
	.text-link:hover {
		gap: 12px;
		color: var(--red-bright);
	}
	.island__list a:hover {
		background: rgb(255 255 255 / 0.08);
		color: #fff;
	}
	.island__cart:hover {
		background: rgb(255 255 255 / 0.08);
	}
	.accordion__trigger:hover {
		color: var(--red-bright);
	}
	.bento__cell--race:hover img {
		transform: scale(1.05);
	}
	.channels a:hover .channels__arrow {
		color: var(--red-bright);
		transform: translate(3px, -3px);
	}
	.product:hover .bezel {
		border-color: var(--line-strong);
	}
	.product:hover .product__media img {
		transform: scale(1.08) rotate(-2deg);
	}
	.site-footer__col a:hover {
		color: #fff;
	}
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal {
		opacity: 0;
		transform: translateY(28px);
		filter: blur(8px);
		transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
		transition-delay: calc(var(--i, 0) * 70ms);
	}
	.js .reveal.is-in {
		opacity: 1;
		transform: none;
		filter: none;
	}
	.hero__title .line > span {
		animation: line-up 1s var(--ease-out) both;
	}
	.hero__title .line:nth-child(2) > span {
		animation-delay: 0.09s;
	}
	.hero__lede,
	.hero__actions {
		animation: rise 0.9s var(--ease-out) 0.28s both;
	}
	.hero__actions {
		animation-delay: 0.38s;
	}
	.island {
		animation: drop 0.8s var(--ease-out) 0.1s both;
	}
}
@keyframes line-up {
	from {
		transform: translateY(105%);
	}
}
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}
@keyframes drop {
	from {
		opacity: 0;
		transform: translateY(-16px);
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.tech__grid,
	.feature {
		grid-template-columns: 1fr;
	}
	.tech__figure {
		position: static;
	}
	.feature__stage img {
		width: 100%;
	}
	.tech__figure img {
		aspect-ratio: 16 / 10;
	}
	.bento__cell--race,
	.bento__cell--open {
		grid-column: span 12;
	}
	.bento__cell--race .core {
		min-height: 360px;
	}
	.bento__cell--friends {
		grid-column: span 5;
	}
	.bento__cell--talk {
		grid-column: span 7;
	}
	.site-footer__top {
		grid-template-columns: repeat(4, 1fr);
	}
	.site-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 860px) {
	.burger {
		display: block;
	}
	.island {
		width: 100%;
		justify-content: space-between;
		padding-left: 18px;
		/* A backdrop filter or transform animation would trap the full-screen menu inside the pill. */
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		animation: none !important;
		background: rgb(14 14 17 / 0.94);
	}
	.island__logo img {
		width: 112px;
	}
	/* The open menu covers the page; the island keeps its place above it. */
	.island__nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: flex;
		align-items: center;
		padding: 96px 28px 40px;
		background: rgb(9 9 11 / 0.94);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s;
	}
	.island__nav.is-open {
		opacity: 1;
		visibility: visible;
	}
	.island__list {
		flex-direction: column;
		gap: 4px;
		width: 100%;
	}
	.island__list a {
		padding: 10px 0;
		color: #fff;
		font-size: clamp(2rem, 9vw, 2.8rem);
		font-weight: 800;
		font-stretch: 118%;
		letter-spacing: -0.03em;
	}
	.island__list li {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}
	.island__nav.is-open li {
		opacity: 1;
		transform: none;
		transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
		transition-delay: calc(80ms + var(--i, 0) * 50ms);
	}
}
@media (max-width: 767px) {
	body {
		font-size: 16px;
	}
	.admin-bar .site-header {
		top: 92px;
	}
	.admin-bar .demo-bar {
		top: 46px;
	}
	.hero__actions .btn {
		flex: 1 1 auto;
		justify-content: space-between;
	}
	.hero__actions .btn--glass {
		justify-content: center;
	}
	.stats__grid,
	.product-row {
		grid-template-columns: repeat(2, 1fr);
	}
	.signal__stage {
		grid-template-columns: 1fr;
	}
	.bento__cell--friends,
	.bento__cell--talk {
		grid-column: span 12;
	}
	.bento__cell--friends .core {
		min-height: 200px;
	}
	.channels a {
		grid-template-columns: 28px 1fr auto;
	}
	.channels__note {
		display: none;
	}
	.specs {
		gap: 22px 18px;
	}
	.site-footer__top {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Cart count ---------- */
.island__cart {
	position: relative;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.island__count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
/* ---------- Product page ---------- */
.pdp {
	padding-top: 128px;
}
.admin-bar .pdp {
	padding-top: 160px;
}
.pdp__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 600;
	transition: color 0.2s ease;
}
.pdp__back .icon {
	transform: rotate(180deg);
}
.pdp__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 72px);
	align-items: center;
}
.pdp__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 0.86;
	perspective: 1100px;
}
.pdp__stage img {
	position: relative;
	width: 100%;
	max-height: 100%;
	object-fit: contain;
	will-change: transform;
	transition: opacity 0.2s ease;
}
.pdp__stage img.is-swapping {
	opacity: 0;
}
.pdp__gallery,
.pdp__buy {
	min-width: 0;
}
.pdp__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 84px));
	gap: 10px;
	margin-top: 12px;
}
.pdp__thumb {
	width: 100%;
	aspect-ratio: 1;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.16s var(--ease-out);
}
.pdp__thumb:active {
	transform: scale(0.97);
}
.pdp__thumb.is-active {
	border-color: var(--red-bright);
}
.pdp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.pdp__kind {
	margin-bottom: 14px;
	color: var(--red-bright);
	font-family: var(--mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.pdp__buy .h-display {
	font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}
.pdp__tagline {
	margin-top: 18px;
	color: #fff;
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 600;
	line-height: 1.35;
}
.pdp__buy .lede {
	margin-top: 14px;
}
.pdp__option {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	border: 0;
}
.pdp__option legend {
	margin-bottom: 10px;
	padding: 0;
	color: var(--muted);
	font-size: 0.9rem;
}
.chip.is-active {
	border-color: var(--red-bright);
	background: rgb(214 37 43 / 0.18);
	color: #fff;
}
.pdp__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 32px;
}
.btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}
.stat__value--text {
	font-size: clamp(1.9rem, 3.6vw, 3.2rem);
	letter-spacing: -0.05em;
}
.pdp__features {
	padding-bottom: 0;
}
.h-display--sm {
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.feature-grid > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
.feature-card {
	padding: clamp(24px, 3vw, 40px);
}
.feature-card h3 {
	color: #fff;
	font-size: clamp(1.2rem, 1.9vw, 1.5rem);
	font-weight: 800;
	font-stretch: 114%;
	letter-spacing: -0.015em;
}
.feature-card ul,
.pdp__box ul {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}
.feature-card li,
.pdp__box li {
	position: relative;
	padding-left: 22px;
	color: var(--muted);
	line-height: 1.5;
}
.feature-card li::before,
.pdp__box li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 10px;
	height: 2px;
	background: var(--red-bright);
}
.pdp__details-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.pdp__details-grid--single {
	grid-template-columns: minmax(0, 880px);
}
.spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 32px;
	margin-top: 36px;
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-shell);
	background: var(--surface);
}
.spec-table dt {
	color: var(--muted);
	font-size: 0.88rem;
}
.spec-table dd {
	margin-top: 4px;
	color: #fff;
	font-family: var(--mono);
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.pdp__box .core {
	padding: clamp(24px, 3vw, 40px);
}
.pdp__box h2 {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	font-stretch: 114%;
}
.pdp__more {
	padding-top: 0;
}
.pdp__more .product-row,
.products .product-row {
	margin-top: 0;
}
.products .product-row {
	margin-top: clamp(56px, 8vw, 112px);
}
.product-row--five {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (hover: hover) and (pointer: fine) {
	.pdp__back:hover {
		color: #fff;
	}
	.pdp__thumb:hover {
		border-color: var(--line-strong);
	}
	.pdp__thumb.is-active:hover {
		border-color: var(--red-bright);
	}
}
@media (max-width: 1023px) {
	.pdp__top,
	.pdp__details-grid {
		grid-template-columns: 1fr;
	}
	.product-row--five {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.pdp {
		padding-top: 132px;
	}
	.feature-grid,
	.spec-table {
		grid-template-columns: 1fr;
	}
	.spec-table {
		gap: 20px;
	}
	.product-row--five {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.product-row--five .product:first-child:nth-last-child(odd) {
		grid-column: span 2;
	}
	.pdp__cta .btn {
		flex: 1 1 auto;
		justify-content: space-between;
	}
}

/* ---------- Rounded media ---------- */
.specs > div {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-tile);
	background: rgb(255 255 255 / 0.025);
}
.specs {
	gap: 12px;
}
.channels a {
	margin-inline: -14px;
	padding-inline: 14px;
	border-radius: 18px;
	transition: background-color 0.2s ease;
}
.channels li + li {
	border-top: 0;
}
@media (hover: hover) and (pointer: fine) {
	.channels a:hover {
		background: rgb(255 255 255 / 0.05);
	}
}

/* ---------- Cart drawer ---------- */
.cart {
	position: fixed;
	inset: 0;
	z-index: var(--z-skip);
	visibility: hidden;
	transition: visibility 0.4s;
}
.cart.is-open {
	visibility: visible;
}
.cart__scrim {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.6);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.cart.is-open .cart__scrim {
	opacity: 1;
	transition-duration: 0.4s;
}
.cart__panel {
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 8px;
	display: flex;
	flex-direction: column;
	width: min(440px, calc(100vw - 16px));
	border: 1px solid var(--line-strong);
	border-radius: var(--r-shell);
	background: var(--surface);
	box-shadow: -30px 0 80px -30px rgb(0 0 0 / 0.9);
	outline: 0;
	transform: translateX(calc(100% + 16px));
	transition: transform 0.25s var(--ease-out);
}
.admin-bar .cart__panel {
	top: 40px;
}
.cart.is-open .cart__panel {
	transform: none;
	transition: transform 0.45s var(--ease-drawer);
}
.cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 22px 18px 28px;
}
.cart__head h2 {
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	font-stretch: 114%;
}
.cart__close {
	position: relative;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.16s var(--ease-out);
}
.cart__close:active {
	transform: scale(0.94);
}
.cart__close span {
	position: absolute;
	left: 12px;
	right: 12px;
	top: 50%;
	height: 1.5px;
	background: #fff;
	transform: rotate(45deg);
}
.cart__close span:last-child {
	transform: rotate(-45deg);
}
.cart__items {
	flex: 1;
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 4px 14px 14px;
	overflow-y: auto;
}
.cart__item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-tile);
	background: rgb(255 255 255 / 0.025);
}
.cart__thumb {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 16px;
	background: radial-gradient(circle at 50% 60%, #2a2a30, var(--surface-2) 70%);
}
.cart__thumb img {
	width: 88%;
}
.cart__name {
	color: #fff;
	font-weight: 700;
	line-height: 1.25;
}
.cart__variant {
	color: var(--muted);
	font-size: 0.88rem;
}
.cart__qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	padding: 3px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
}
.cart__qty button {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.cart__qty span {
	min-width: 22px;
	font-family: var(--mono);
	font-size: 0.92rem;
	text-align: center;
}
.cart__side {
	display: grid;
	gap: 8px;
	justify-items: end;
	padding-right: 8px;
}
.cart__price {
	color: #fff;
	font-family: var(--mono);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.cart__remove {
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font-size: 0.85rem;
	text-decoration: underline;
	cursor: pointer;
}
.cart__empty {
	flex: 1;
	padding: 24px 28px;
	color: var(--muted);
}
.cart__empty[hidden],
.cart__foot[hidden] {
	display: none;
}
.cart__empty:not([hidden]) ~ .cart__foot,
.cart__items:empty {
	display: none;
}
.cart__foot {
	padding: 20px 22px 24px;
	border-top: 1px solid var(--line);
}
.cart__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 16px;
	color: var(--muted);
}
.cart__total b {
	color: #fff;
	font-family: var(--mono);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}
.cart__checkout {
	width: 100%;
	justify-content: space-between;
}
.cart__note {
	margin-top: 14px;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.45;
}
.cart__note.is-alert {
	color: #fff;
}
@media (hover: hover) and (pointer: fine) {
	.cart__close:hover,
	.cart__qty button:hover {
		background: rgb(255 255 255 / 0.14);
	}
	.cart__remove:hover {
		color: #fff;
	}
}

/* ---------- Demo notice ---------- */
.demo-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--z-header);
	display: grid;
	place-items: center;
	height: 30px;
	padding-inline: 12px;
	background: #f1f1f2;
	color: #0c0c0e;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.1;
	text-align: center;
}
.admin-bar .demo-bar {
	top: 32px;
}
@media (max-width: 480px) {
	.demo-bar {
		font-size: 0.7rem;
	}
}

/* ---------- Stand-alone pages ---------- */
.shop {
	padding-block: 140px var(--section);
}
.admin-bar .shop {
	padding-top: 172px;
}
.shop .h-display {
	font-size: clamp(2.6rem, 7vw, 5.5rem);
}
.react__more {
	margin-top: 22px;
}
.shop__goggles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.shop__hero {
	display: block;
	transition: border-color 0.3s ease;
}
.shop__hero .core {
	display: flex;
	flex-direction: column;
}
.shop__hero-media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 11;
	background: radial-gradient(circle at 50% 60%, rgb(214 37 43 / 0.28), transparent 62%);
}
.shop__hero-media img {
	width: 78%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.7s var(--ease-out);
}
.shop__hero-body {
	padding: 4px clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px);
}
.shop__hero-body h2 {
	margin-top: 4px;
	color: #fff;
	font-size: clamp(1.6rem, 2.8vw, 2.3rem);
	font-weight: 800;
	font-stretch: 118%;
	line-height: 1.08;
	letter-spacing: -0.025em;
}
.shop__tagline {
	max-width: 40ch;
	margin-top: 10px;
	color: var(--muted);
}
.shop__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
}
.shop .shop__rest {
	margin-top: 16px;
}
.shop .shop__rest .product {
	padding-bottom: 12px;
}
@media (hover: hover) and (pointer: fine) {
	.shop__hero:hover {
		border-color: var(--line-strong);
	}
	.shop__hero:hover .shop__hero-media img {
		transform: scale(1.05) rotate(-1.5deg);
	}
}

/* ---------- Latency simulator ---------- */
.sim__core {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(28px, 5vw, 72px);
	padding: clamp(24px, 4vw, 56px);
	background:
		radial-gradient(120% 90% at 100% 0%, rgb(214 37 43 / 0.16), transparent 60%),
		var(--surface);
}
.sim__controls {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.sim__number {
	color: #fff;
	font-family: var(--mono);
	font-size: clamp(4rem, 11vw, 9.5rem);
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.07em;
	font-variant-numeric: tabular-nums;
}
.sim__number b {
	font-weight: inherit;
}
.sim__number span {
	margin-left: 12px;
	color: var(--red-bright);
	font-size: 0.28em;
	letter-spacing: 0;
}
.sim__caption {
	margin-top: 14px;
	color: var(--muted);
	font-size: 1.1rem;
}
.sim__track {
	grid-column: 1 / -1;
}
.sim__lane {
	position: relative;
	height: 56px;
	border-radius: 999px;
	background:
		repeating-linear-gradient(to right, rgb(255 255 255 / 0.1) 0 1px, transparent 1px 5%),
		rgb(255 255 255 / 0.04);
	overflow: hidden;
}
.sim__gap {
	position: absolute;
	left: 28px;
	right: 28px;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	border-radius: 999px;
	background: linear-gradient(to right, rgb(255 255 255 / 0.5), var(--red-bright));
	transform-origin: left center;
	transform: scaleX(0.05);
}
.sim__dot {
	position: absolute;
	top: 50%;
	left: 28px;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border-radius: 50%;
}
.sim__dot--seen {
	border: 2px solid rgb(255 255 255 / 0.75);
	background: var(--surface);
}
.sim__dot--real {
	background: var(--red-bright);
	box-shadow: 0 0 0 6px rgb(255 77 84 / 0.22);
}
.sim__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 0.9rem;
}
.key {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 8px;
	border-radius: 50%;
	vertical-align: -1px;
}
.key--seen {
	border: 2px solid rgb(255 255 255 / 0.75);
}
.key--real {
	background: var(--red-bright);
}
@media (max-width: 1023px) {
	.sim__core {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 767px) {
	.shop {
		padding-top: 132px;
	}
	.shop__goggles {
		grid-template-columns: 1fr;
	}
}

.demo-bar a,
.site-footer__bottom a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.site-footer__bottom a {
	color: #fff;
}

/* Products page on phones: the two goggle cards become compact rows. */
@media (max-width: 767px) {
	.shop .h-display {
		font-size: 2.4rem;
	}
	.shop .section__head {
		margin-bottom: 24px;
	}
	.shop__goggles {
		gap: 12px;
	}
	.shop__hero .core {
		flex-direction: row;
		align-items: center;
	}
	.shop__hero-media {
		flex: 0 0 40%;
		aspect-ratio: 1;
	}
	.shop__hero-media img {
		width: 92%;
	}
	.shop__hero-body {
		flex: 1;
		min-width: 0;
		padding: 14px 16px 14px 4px;
	}
	.shop__hero-body h2 {
		font-size: 1.15rem;
		line-height: 1.15;
	}
	.shop__tagline {
		display: none;
	}
	.shop__foot {
		margin-top: 10px;
	}
	.shop__foot .price {
		font-size: 1.05rem;
	}
	.shop__foot .btn {
		display: none;
	}
	.shop .shop__rest {
		margin-top: 12px;
		gap: 12px;
	}
}
