/* Layout: navy hero band with a live gate log beside the product, then light sections on a 1120px grid; the brand's own tokens (design/tokens.json). */
/* Colors, radii and shadows come from tokens.css (generated from design/tokens.json). Landing-only aliases: */
:root {
	--navy: var(--sidebar-bg);
	--navy-ink: var(--sidebar-ink);
	--navy-ink-soft: var(--sidebar-ink-soft);
	--navy-line: rgba(232, 237, 245, 0.14);
	--shadow-sm: var(--ds-shadow-sm);
	--shadow-md: var(--ds-shadow-md);
	--shadow-lg: var(--ds-shadow-lg);
	--font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
	box-sizing: border-box;
}
html {
	scroll-padding-top: 72px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body::before {
	content: '';
	position: fixed;
	inset: 0 0 auto;
	height: env(safe-area-inset-top, 0px);
	z-index: 10;
	background: var(--navy);
}
a {
	color: var(--brand);
}
img {
	max-width: 100%;
}
[hidden] {
	display: none !important;
}
.skip {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 20;
	background: var(--surface);
	color: var(--ink);
	padding: 10px 14px;
	border-radius: var(--r-md);
}
.skip:focus {
	top: 12px;
}
h1,
h2,
h3 {
	text-wrap: balance;
	margin: 0;
	line-height: 1.15;
}
p {
	margin: 0;
}
.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mono {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
}
:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Header */
.site-header {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 9;
	background: var(--navy);
	border-bottom: 1px solid var(--navy-line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
}
.logo svg {
	width: 38px;
	height: auto;
}
.logo b {
	display: block;
	font-weight: 800;
	letter-spacing: 0.04em;
	font-size: 18px;
	line-height: 1;
}
.logo small {
	display: block;
	font-size: 9px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--navy-ink-soft);
	margin-top: 3px;
}
.nav {
	display: flex;
	gap: 24px;
	align-items: center;
}
.nav a {
	color: var(--navy-ink-soft);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}
.nav a:hover {
	color: #fff;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: 600 15px/1 var(--font-sans);
	padding: 14px 20px;
	border-radius: var(--r-md);
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
}
.btn-primary {
	background: var(--brand);
	color: var(--brand-ink);
}
.btn-primary:hover {
	filter: brightness(1.08);
}
.btn-primary[disabled] {
	opacity: 0.6;
	cursor: progress;
}
.btn-outline {
	border-color: var(--line-2);
	color: var(--ink);
	background: var(--surface);
}
.btn-outline:hover {
	background: var(--surface-2);
}
.btn-ghost-dark {
	color: var(--navy-ink);
	border-color: var(--navy-line);
	background: transparent;
}
.btn-ghost-dark:hover {
	background: rgba(255, 255, 255, 0.06);
}
.btn-sm {
	padding: 10px 14px;
	font-size: 14px;
}
.site-header .btn-primary,
.hero .btn-primary {
	background: #005eb8;
	color: #fff;
}
.nav .enter {
	color: var(--navy-ink);
	font-weight: 600;
}
@media (max-width: 860px) {
	.nav .link {
		display: none;
	}
}

/* Hero */
.hero {
	background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 94, 184, 0.45), transparent 60%), var(--navy);
	color: var(--navy-ink);
}
.hero .wrap {
	padding-block: 64px 72px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
}
.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--success-bright);
}
.hero h1 {
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	margin-top: 14px;
}
.hero h1 em {
	font-style: normal;
	color: var(--success-bright);
}
.hero .lead {
	margin-top: 20px;
	font-size: 18px;
	color: var(--navy-ink-soft);
	max-width: 34em;
}
.hero .ctas {
	margin-top: 28px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.hero .facts {
	margin-top: 32px;
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--navy-ink-soft);
}
.hero .facts b {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

/* Gate log (hero visual) */
.gate {
	min-width: 0;
	position: relative;
}
.gate-card {
	background: rgba(7, 17, 31, 0.6);
	border: 1px solid var(--navy-line);
	border-radius: var(--r-xl);
	padding: 18px;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
}
.gate-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 4px 6px 14px;
	border-bottom: 1px solid var(--navy-line);
}
.gate-head .t {
	font-weight: 700;
	color: #fff;
	font-size: 14px;
}
.gate-head .s {
	font-size: 12px;
	color: var(--navy-ink-soft);
}
.live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--success-bright);
}
.live i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success-bright);
	box-shadow: 0 0 0 0 rgba(94, 196, 99, 0.6);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(94, 196, 99, 0.55);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(94, 196, 99, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(94, 196, 99, 0);
	}
}
.log-track {
	list-style: none;
	margin: 0;
	padding: 0;
}
.log {
	height: 312px;
	overflow: hidden;
	position: relative;
}
.log::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 60px;
	background: linear-gradient(transparent, rgba(7, 17, 31, 0.95));
	pointer-events: none;
}
.log-track {
	animation: scroll 24s linear infinite;
}
@keyframes scroll {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-50%);
	}
}
.log li {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 11px 6px;
	border-bottom: 1px solid var(--navy-line);
	font-size: 13px;
}
.log time {
	font-family: var(--font-mono);
	color: var(--navy-ink-soft);
	font-size: 12px;
}
.log .who {
	min-width: 0;
}
.log .who b {
	display: block;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.log .who span {
	display: block;
	color: var(--navy-ink-soft);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pill {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	white-space: nowrap;
}
.pill.in {
	color: #7fd483;
	background: rgba(94, 196, 99, 0.14);
}
.pill.out {
	color: #9cc8f3;
	background: rgba(90, 166, 236, 0.14);
}
.gate-foot {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 14px;
}
.gate-foot div {
	background: rgba(255, 255, 255, 0.04);
	border-radius: var(--r-md);
	padding: 10px 12px;
}
.gate-foot small {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy-ink-soft);
}
.gate-foot b {
	font-family: var(--font-mono);
	font-size: 20px;
	color: #fff;
	font-weight: 500;
}
.sample-note {
	margin-top: 10px;
	font-size: 11px;
	color: var(--navy-ink-soft);
	text-align: right;
}
@media (prefers-reduced-motion: reduce) {
	.log-track,
	.live i {
		animation: none;
	}
}
@media (max-width: 900px) {
	.hero .wrap {
		grid-template-columns: 1fr;
		padding-block: 44px 56px;
	}
}

/* Sections */
section {
	padding-block: 88px;
}
.sec-head {
	max-width: 720px;
	display: grid;
	gap: 14px;
	margin-bottom: 44px;
}
.sec-head .eyebrow {
	color: var(--brand);
}
.sec-head h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.015em;
}
.sec-head p {
	color: var(--ink-2);
	font-size: 17px;
}

/* Pain → answer */
.pains {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.pain {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 24px;
	display: grid;
	gap: 14px;
	align-content: start;
	box-shadow: var(--shadow-sm);
}
.pain .before {
	font-size: 14px;
	color: var(--ink-3);
	text-decoration: line-through;
	text-decoration-color: var(--line-2);
}
.pain h3 {
	font-size: 19px;
	font-weight: 700;
}
.pain p {
	color: var(--ink-2);
	font-size: 15px;
}
@media (max-width: 860px) {
	.pains {
		grid-template-columns: 1fr;
	}
}

/* Flow: one invitation, start to finish */
.flow-band {
	background: var(--surface);
	border-block: 1px solid var(--line);
}
.flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	position: relative;
	counter-reset: step;
}
.step {
	padding: 0 20px 0 0;
	display: grid;
	gap: 10px;
	align-content: start;
	position: relative;
}
.step .dot {
	transition:
		background 0.4s,
		color 0.4s,
		transform 0.4s,
		box-shadow 0.4s;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand);
	font: 600 15px var(--font-mono);
	position: relative;
	z-index: 1;
}
.step::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 40px;
	right: 0;
	height: 2px;
	background: var(--line);
}
.step::after {
	content: '';
	position: absolute;
	top: 20px;
	left: 40px;
	right: 0;
	height: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
}
.step:last-child::before,
.step:last-child::after {
	display: none;
}
.flow.playing .step h3,
.flow.playing .step p,
.flow.playing .step .who,
.flow.playing .step .demo,
.flow.playing .step .qr-chip {
	transition: opacity 0.4s;
	opacity: 0.45;
}
.flow.playing .step.active h3,
.flow.playing .step.active p,
.flow.playing .step.active .who,
.flow.playing .step.active .demo,
.flow.playing .step.active .qr-chip,
.flow.playing .step.done h3,
.flow.playing .step.done p,
.flow.playing .step.done .who,
.flow.playing .step.done .demo,
.flow.playing .step.done .qr-chip {
	opacity: 1;
}
.step.active .dot {
	background: var(--brand);
	color: var(--brand-ink);
	transform: scale(1.12);
	box-shadow: 0 0 0 6px var(--brand-soft);
}
.step.done .dot {
	background: var(--success-soft);
	color: var(--success);
}
.step.active::after {
	transform: scaleX(1);
	transition: transform 2.4s linear;
}
.step.done::after {
	transform: scaleX(1);
	background: var(--success);
	transition: background 0.4s;
}
.demo {
	margin-top: 6px;
}
.sync {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-2);
}
.sync .node {
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--bg);
}
.sync .wire {
	display: flex;
	gap: 5px;
}
.sync .wire i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--line-2);
}
.step.active .sync .wire i {
	animation: hop 1s infinite;
}
.step.active .sync .wire i:nth-child(2) {
	animation-delay: 0.2s;
}
.step.active .sync .wire i:nth-child(3) {
	animation-delay: 0.4s;
}
@keyframes hop {
	0%,
	100% {
		background: var(--line-2);
		transform: none;
	}
	40% {
		background: var(--brand);
		transform: translateY(-3px);
	}
}
.state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	transition:
		background 0.4s,
		color 0.4s;
}
.state::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.state.door {
	background: var(--success-soft);
	color: var(--success);
}
.state.exit {
	background: var(--brand-soft);
	color: var(--brand);
}
.state.off {
	background: var(--surface-2);
	color: var(--ink-3);
}
.step.active .state.door:not(.off) {
	animation: pop 0.5s ease-out;
}
@keyframes pop {
	0% {
		transform: scale(0.85);
	}
	60% {
		transform: scale(1.08);
	}
	100% {
		transform: none;
	}
}
.qr-chip code .caret {
	display: inline-block;
	width: 2px;
	height: 1em;
	background: var(--brand);
	vertical-align: -2px;
	margin-left: 2px;
	animation: blink 0.8s steps(1) infinite;
}
@keyframes blink {
	50% {
		opacity: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.step.active::after {
		transition: none;
	}
	.step.active .sync .wire i,
	.step.active .state.door,
	.qr-chip code .caret {
		animation: none;
	}
}
.step h3 {
	font-size: 17px;
	font-weight: 700;
	margin-top: 6px;
}
.step p {
	font-size: 14px;
	color: var(--ink-2);
}
.step .who {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-3);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.qr-chip {
	margin-top: 6px;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--bg);
	width: fit-content;
}
.qr-chip code {
	font: 500 15px var(--font-mono);
	letter-spacing: 0.12em;
	color: var(--ink);
}
@media (max-width: 860px) {
	.flow {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.step {
		grid-template-columns: 40px 1fr;
		column-gap: 16px;
		padding: 0;
	}
	.step > :not(.dot) {
		grid-column: 2;
	}
	.step .dot {
		grid-row: 1 / span 5;
	}
	.step::before,
	.step::after {
		top: 40px;
		bottom: -28px;
		left: 19px;
		right: auto;
		width: 2px;
		height: auto;
	}
	.step::after {
		transform: scaleY(0);
		transform-origin: top;
	}
	.step.active::after,
	.step.done::after {
		transform: scaleY(1);
	}
}

/* Features */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.feat {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 24px;
	display: grid;
	gap: 10px;
	align-content: start;
}
.feat .ico {
	width: 40px;
	height: 40px;
	border-radius: var(--r-sm);
	background: var(--brand-soft);
	color: var(--brand);
	display: grid;
	place-items: center;
}
.feat .ico svg {
	width: 22px;
	height: 22px;
}
.feat h3 {
	font-size: 18px;
	font-weight: 700;
	margin-top: 4px;
}
.feat p {
	color: var(--ink-2);
	font-size: 15px;
}
.feat ul {
	margin: 4px 0 0;
	padding-left: 18px;
	color: var(--ink-2);
	font-size: 14px;
	display: grid;
	gap: 4px;
}
.feat .mod {
	font-size: 12px;
	color: var(--ink-3);
	font-weight: 600;
	margin-top: 4px;
}
@media (max-width: 960px) {
	.features {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 620px) {
	.features {
		grid-template-columns: 1fr;
	}
}

/* Credentials strip */
.creds {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}
.cred {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}
.cred i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
}

/* Dashboard showcase */
.show {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 48px;
	align-items: center;
}
.show-copy {
	display: grid;
	gap: 18px;
	min-width: 0;
}
.show-copy ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}
.show-copy li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	color: var(--ink-2);
	font-size: 15px;
}
.show-copy li svg {
	width: 20px;
	height: 20px;
	color: var(--success);
	margin-top: 2px;
}
.show-copy li b {
	color: var(--ink);
}
.dash {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	padding: 20px;
	display: grid;
	gap: 14px;
	min-width: 0;
}
.dash-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.dash-top b {
	font-size: 17px;
}
.dash-top span {
	font-size: 12px;
	color: var(--ink-3);
}
.kpis {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.kpi {
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 12px;
	min-width: 0;
}
.kpi small {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kpi b {
	display: block;
	font: 500 20px var(--font-mono);
	margin-top: 4px;
}
.kpi span {
	font-size: 11px;
	color: var(--ink-3);
}
.dash-row {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 10px;
}
.panel {
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 12px;
	min-width: 0;
}
.panel h4 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
}
.legend {
	display: flex;
	gap: 12px;
	font-size: 11px;
	color: var(--ink-3);
	margin-bottom: 6px;
}
.legend i {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}
.chart {
	width: 100%;
	height: auto;
	display: block;
}
.debt {
	display: grid;
	gap: 8px;
}
.debt div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 8px;
	font-size: 12px;
}
.debt .bar {
	grid-column: 1 / -1;
	height: 5px;
	border-radius: 3px;
	background: var(--surface-2);
	overflow: hidden;
}
.debt .bar i {
	display: block;
	height: 100%;
	background: var(--danger);
	border-radius: 3px;
}
.debt .mono {
	color: var(--ink-2);
}
@media (max-width: 960px) {
	.show {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 560px) {
	.kpis {
		grid-template-columns: 1fr 1fr;
	}
	.dash-row {
		grid-template-columns: 1fr;
	}
}

/* Offline band */
.offline {
	background: var(--navy);
	color: var(--navy-ink);
}
.offline .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.offline h2 {
	color: #fff;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.015em;
}
.offline .eyebrow {
	color: var(--success-bright);
}
.offline p {
	color: var(--navy-ink-soft);
	font-size: 17px;
}
.offline .copy {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.topo {
	min-width: 0;
	overflow-x: auto;
}
.topo svg {
	width: 100%;
	min-width: 420px;
	height: auto;
	display: block;
}
.topo-cap {
	margin-top: 10px;
	font-size: 14px;
	color: var(--navy-ink-soft);
	min-height: 4.8em;
}
#topo .uplink {
	stroke: rgba(156, 200, 243, 0.7);
	transition: stroke 0.4s;
}
#topo .badge {
	fill: rgba(90, 166, 236, 0.16);
	transition: fill 0.4s;
}
#topo .badge-t {
	fill: #9cc8f3;
}
#topo .cut,
#topo .sync-dots,
#topo .queue {
	opacity: 0;
	transition: opacity 0.4s;
}
#topo.ph-down .uplink {
	stroke: rgba(236, 122, 112, 0.7);
	stroke-dasharray: 2 10;
}
#topo.ph-down .cut {
	opacity: 1;
}
#topo.ph-down .up-dots {
	opacity: 0;
}
#topo.ph-down .badge {
	fill: rgba(236, 122, 112, 0.18);
}
#topo.ph-down .badge-t {
	fill: #ec7a70;
}
#topo.ph-down .queue {
	opacity: 1;
}
#topo.ph-sync .up-dots {
	opacity: 0;
}
#topo.ph-sync .sync-dots,
#topo.ph-sync .queue {
	opacity: 1;
}
#topo.ph-sync .uplink {
	stroke: rgba(127, 212, 131, 0.8);
}
#topo.ph-sync .badge {
	fill: rgba(94, 196, 99, 0.16);
}
#topo.ph-sync .badge-t {
	fill: #7fd483;
}
#topo .up-dots {
	transition: opacity 0.4s;
}
#topo.still .up-dots,
#topo.still .sync-dots,
#topo.still .lan-dots {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	#topo .up-dots,
	#topo .sync-dots,
	#topo .lan-dots {
		display: none;
	}
}
@media (max-width: 900px) {
	.offline .wrap {
		grid-template-columns: 1fr;
	}
}

/* Hardware */
.hw {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.hw-item {
	border-top: 3px solid var(--brand);
	background: var(--surface);
	border-radius: 0 0 var(--r-lg) var(--r-lg);
	padding: 22px;
	display: grid;
	gap: 8px;
	align-content: start;
	border-inline: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.hw-item .model {
	font: 500 13px var(--font-mono);
	color: var(--ink-3);
}
.hw-item h3 {
	font-size: 17px;
	font-weight: 700;
}
.hw-item p {
	font-size: 14px;
	color: var(--ink-2);
}
.hw-note {
	margin-top: 20px;
	font-size: 14px;
	color: var(--ink-3);
	max-width: 60em;
}
@media (max-width: 860px) {
	.hw {
		grid-template-columns: 1fr;
	}
}

/* FAQ */
.faq {
	display: grid;
	gap: 10px;
	max-width: 820px;
}
.faq details {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 0 20px;
}
.faq summary {
	cursor: pointer;
	padding: 18px 0;
	font-weight: 700;
	font-size: 16px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '+';
	font: 500 20px var(--font-mono);
	color: var(--brand);
	line-height: 1;
}
.faq details[open] summary::after {
	content: '–';
}
.faq details p {
	padding: 0 0 18px;
	color: var(--ink-2);
	font-size: 15px;
	max-width: 65ch;
}

/* Contact */
.contact .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.contact .copy {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.contact .copy h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.015em;
}
.contact .copy p {
	color: var(--ink-2);
	font-size: 17px;
}
.contact .addr {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 15px;
}
.contact .addr code {
	font: 500 15px var(--font-mono);
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 6px 10px;
	border-radius: var(--r-sm);
	user-select: all;
}
form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	padding: 28px;
	display: grid;
	gap: 16px;
	box-shadow: var(--shadow-md);
	min-width: 0;
}
.field {
	display: grid;
	gap: 6px;
}
.field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
	font: 500 15px var(--font-sans);
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-2);
	border-radius: var(--r-md);
	padding: 12px 14px;
	width: 100%;
}
.field textarea {
	min-height: 96px;
	resize: vertical;
}
.row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.checks {
	border: 0;
	padding: 0;
	margin: 0;
}
.checks legend {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
	margin-bottom: 6px;
	padding: 0;
}
.checks label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
	padding: 6px 0;
	cursor: pointer;
}
.checks input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--brand);
	flex: none;
}
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.field .err {
	font-size: 13px;
	color: var(--danger);
}
.field [aria-invalid='true'] {
	border-color: var(--danger);
}
.form-error {
	background: var(--danger-soft);
	color: var(--danger);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 14px;
	border-radius: var(--r-md);
}
.consent {
	font-size: 13px;
	color: var(--ink-3);
}
.form-ok {
	background: var(--success-soft);
	color: var(--success);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 14px;
	border-radius: var(--r-md);
}
@media (max-width: 860px) {
	.contact .wrap {
		grid-template-columns: 1fr;
	}
	.row2 {
		grid-template-columns: 1fr;
	}
}

footer {
	border-top: 1px solid var(--line);
}
footer .wrap {
	padding-block: 28px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--ink-3);
}
footer .wrap > div {
	display: flex;
	gap: 10px;
	align-items: center;
}
footer a {
	color: inherit;
}
footer svg {
	width: 26px;
	height: auto;
	color: var(--mark);
}

/* Legal pages (aviso de privacidad) */
.legal .wrap {
	max-width: 760px;
	padding-block: 56px 72px;
	display: grid;
	gap: 14px;
}
.legal h1 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.015em;
}
.legal h2 {
	font-size: 19px;
	font-weight: 700;
	margin-top: 18px;
}
.legal p {
	color: var(--ink-2);
}
.legal .updated {
	font-size: 14px;
	color: var(--ink-3);
}
