:root {
	--ink: #0d0d0d;
	--ink2: #3a3a3a;
	--mute: #868686;
	--line: #e4e4e2;
	--soft: #f4f4f2;
	--soft2: #ececea;
	--glass: #0b0b0b;
	--led: #ff3b30;
	--ghost: #2a0f0d;
}
* {
	box-sizing: border-box;
	min-width: 0;
}
html {
	scroll-padding-top: 80px;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	overflow-x: clip;
	font:
		16px / 1.5 Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		"Segoe UI",
		sans-serif;
	-webkit-font-smoothing: antialiased;
	color: var(--ink);
	background: #fff;
}
button {
	font: inherit;
	color: inherit;
}
.w {
	max-width: 1240px;
	padding-inline: max(5vw, 20px);
	margin: 0 auto;
}
nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(1.4) blur(14px);
}
nav .w {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
nav b {
	font-weight: 650;
	letter-spacing: -0.01em;
}
nav .links {
	display: flex;
	gap: 4px;
	overflow-x: auto;
}
nav a {
	flex: none;
	padding: 8px 14px;
	font-size: 14px;
	color: var(--ink2);
	text-decoration: none;
	border-radius: 999px;
}
nav a:hover {
	background: var(--soft);
}
section {
	padding-block: clamp(64px, 9vw, 128px);
}
h1 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 650;
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
h2 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 650;
	line-height: 1.05;
	letter-spacing: -0.03em;
}
.lede {
	max-width: 36ch;
	margin: 18px 0 0;
	font-size: clamp(17px, 1.6vw, 20px);
	color: var(--mute);
}
.head {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 40px;
}
/* hero */
.hero {
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: 0;
}
.stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding: clamp(20px, 4vw, 56px);
	margin-top: clamp(40px, 5vw, 64px);
	background: var(--soft);
	border-radius: 36px;
}
.stovebox {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}
.stovebox svg {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	overflow: visible;
}
.tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.chip {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	font-size: 14px;
	cursor: pointer;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.chip[aria-pressed="true"] {
	color: #fff;
	background: var(--ink);
	border-color: var(--ink);
}
.chip:disabled {
	cursor: default;
	opacity: 0.4;
}
.chip:focus-visible,
.seg button:focus-visible,
.ph button:focus-visible,
.part:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}
.hint {
	display: flex;
	gap: 6px;
	align-items: center;
	font-size: 13px;
	color: var(--mute);
}
/* stove svg */
.mi {
	color: #3d3d3d;
	transition: color 0.2s;
}
.mi.lit {
	color: var(--led);
}
.pb {
	color: #5a5a5a;
}
.blk {
	cursor: pointer;
	outline: none;
}
.blk .face {
	fill: #f8f8f6;
	stroke: #cfcfcb;
	stroke-width: 0.04;
	transition: fill 0.15s;
}
.blk:hover .face,
.blk:focus-visible .face {
	fill: #fff;
	stroke: #0d0d0d;
}
.blk .cap {
	transform-origin: center;
	transform-box: fill-box;
	transition: transform 0.12s;
}
.blk.press .cap {
	transform: scale(0.86);
}
.blk .rip {
	opacity: 0;
	fill: none;
	stroke: #0d0d0d;
	stroke-width: 0.08;
	transform-origin: center;
	transform-box: fill-box;
}
.blk.press .rip {
	animation: rip 0.55s ease-out;
}
@keyframes rip {
	0% {
		opacity: 0.7;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(2.1);
	}
}
#scan {
	opacity: 0;
	transition: opacity 0.15s;
}
#scan.on {
	opacity: 1;
}
.sg .on {
	fill: var(--led);
}
.sg .off {
	fill: var(--ghost);
}
.dim text {
	font-size: 1.05px;
	font-weight: 500;
	fill: var(--mute);
}
.dim line,
.dim path {
	fill: none;
	stroke: #a9a9a6;
	stroke-width: 0.05;
}
#dims {
	transition: opacity 0.2s;
}
#strip {
	transition: opacity 0.25s;
}
.off-strip #strip {
	pointer-events: none;
	opacity: 0;
}
.off-dims #dims {
	opacity: 0;
}
/* phone */
.ph {
	justify-self: center;
	width: 340px;
	height: 700px;
	padding: 10px;
	background: #0d0d0d;
	border-radius: 56px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}
.scr {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: 47px;
}
.isl {
	position: absolute;
	top: 12px;
	left: 50%;
	z-index: 3;
	width: 96px;
	height: 28px;
	margin-left: -48px;
	background: #0d0d0d;
	border-radius: 20px;
}
.view {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	gap: 12px;
	padding: 58px 20px 0;
}
.view.on {
	display: flex;
}
.ptop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
}
.ptop h3 {
	margin: 0;
	font-size: 28px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.pill {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 500;
	background: var(--soft);
	border-radius: 999px;
}
.pill i {
	width: 7px;
	height: 7px;
	background: var(--mute);
	border-radius: 50%;
}
.pill.cook i {
	background: var(--led);
}
.pill.cool i {
	background: #0d0d0d;
}
.dcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: center;
	height: 124px;
	background: var(--glass);
	border-radius: 24px;
}
.dcard svg.sg {
	width: 186px;
	height: auto;
}
.dcard .modes {
	display: flex;
	gap: 10px;
}
.dcard .fan {
	position: absolute;
	top: 12px;
	right: 14px;
	display: none;
	color: #8a8a8a;
}
.dcard .fan.on {
	display: block;
}
.conf {
	display: flex;
	gap: 8px;
	align-items: center;
	height: 20px;
	padding-left: 2px;
	font-size: 13px;
	color: var(--mute);
}
.conf.ok {
	color: var(--ink);
}
.card {
	padding: 14px;
	background: var(--soft);
	border-radius: 20px;
}
.row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
}
.row span:last-child {
	font-variant-numeric: tabular-nums;
	color: var(--mute);
}
.bars {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 5px;
}
.bars button {
	height: 40px;
	padding: 0;
	cursor: pointer;
	background: #e1e1de;
	border: 0;
	border-radius: 10px;
}
.bars button.f {
	background: var(--ink);
}
.bars button:disabled {
	cursor: default;
}
.tchips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}
.tchips button {
	height: 36px;
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	background: #e1e1de;
	border: 0;
	border-radius: 12px;
}
.tchips button.f {
	color: #fff;
	background: var(--ink);
}
.keys {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 6px;
}
.keys button {
	display: grid;
	place-items: center;
	height: 44px;
	cursor: pointer;
	background: var(--soft);
	border: 0;
	border-radius: 14px;
	transition: transform 0.08s;
}
.keys button:active,
.bars button:active,
.tchips button:active,
.big:active {
	transform: scale(0.96);
}
.big {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	background: var(--ink);
	border: 0;
	border-radius: 18px;
}
.big.lt {
	color: var(--ink);
	background: var(--soft);
}
.tabs {
	display: flex;
	justify-content: space-around;
	padding: 8px 0 18px;
	margin-top: auto;
	background: #fff;
	border-top: 1px solid #f0f0ee;
}
.tabs button {
	display: grid;
	place-items: center;
	width: 64px;
	height: 44px;
	color: #b9b9b5;
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 12px;
}
.tabs button.on {
	color: var(--ink);
}
.rc {
	display: flex;
	gap: 14px;
	align-items: center;
	width: 100%;
	padding: 14px;
	text-align: left;
	cursor: pointer;
	background: var(--soft);
	border: 0;
	border-radius: 20px;
}
.rc:hover {
	background: var(--soft2);
}
.rc .ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	background: #fff;
	border-radius: 14px;
}
.rc b {
	display: block;
	font-size: 16px;
	font-weight: 600;
}
.rc small {
	font-size: 13px;
	color: var(--mute);
}
.rc .go {
	margin-left: auto;
	color: var(--mute);
}
.ring {
	position: relative;
	display: grid;
	place-items: center;
	height: 200px;
	margin-top: 6px;
}
.ring .n {
	position: absolute;
	text-align: center;
}
.ring .n b {
	display: block;
	font-size: 64px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.04em;
}
.ring .n small {
	font-size: 14px;
	color: var(--mute);
}
.wave {
	display: flex;
	gap: 4px;
	align-items: center;
	justify-content: center;
	height: 36px;
}
.wave i {
	width: 4px;
	height: 6px;
	background: var(--ink);
	border-radius: 2px;
	animation: bar 1s ease-in-out infinite;
}
.wave.idle i {
	background: #d8d8d4;
	animation: none;
}
@keyframes bar {
	0%,
	100% {
		height: 6px;
	}
	50% {
		height: 28px;
	}
}
.kv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
.kv div {
	padding: 12px 14px;
	background: var(--soft);
	border-radius: 16px;
}
.kv small {
	display: block;
	font-size: 12px;
	color: var(--mute);
}
.kv b {
	font-size: 20px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.log {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-inline: 6px;
	margin-inline: -6px;
	overflow-y: auto;
}
.log .e {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 4px;
}
.log .e .ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--soft);
	border-radius: 12px;
}
.log .e b {
	display: block;
	font-size: 14px;
	font-weight: 600;
}
.log .e small {
	font-size: 12px;
	color: var(--mute);
}
.log .e time {
	margin-left: auto;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: var(--mute);
}
.empty {
	padding-top: 80px;
	font-size: 14px;
	color: var(--mute);
	text-align: center;
}
.dimmer {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: none;
	background: rgba(13, 13, 13, 0.32);
}
.sheet {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: 8px;
	z-index: 5;
	display: none;
	flex-direction: column;
	gap: 14px;
	padding: 24px 20px 20px;
	text-align: center;
	background: #fff;
	border-radius: 36px;
}
.alerted .dimmer {
	display: block;
}
.alerted .sheet {
	display: flex;
}
.sheet .ai {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto;
	background: var(--soft);
	border-radius: 50%;
}
.sheet b {
	font-size: 22px;
	letter-spacing: -0.01em;
}
.sheet small {
	margin-top: -10px;
	font-size: 14px;
	color: var(--mute);
}
.snap {
	position: relative;
	display: grid;
	place-items: center;
	height: 78px;
	background: var(--glass);
	border-radius: 18px;
}
.snap svg.sg {
	width: 120px;
	height: auto;
}
.snap .c {
	position: absolute;
	top: 10px;
	left: 12px;
	color: #777;
}
.proto {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 18px;
}
.phcol {
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* loop */
.loop {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 28px;
}
.st {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	color: var(--mute);
}
.st::before {
	position: absolute;
	top: 32px;
	left: -50%;
	z-index: 0;
	width: 100%;
	height: 2px;
	content: "";
	background: var(--line);
}
.st:first-child::before {
	display: none;
}
.st .o {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: #b0b0ac;
	background: #fff;
	border: 2px solid var(--line);
	border-radius: 50%;
	transition: all 0.2s;
}
.st.done .o {
	color: var(--ink);
	border-color: var(--ink);
}
.st.done::before,
.st.on::before {
	background: var(--ink);
}
.st.on .o {
	color: #fff;
	background: var(--ink);
	border-color: var(--ink);
	transform: scale(1.06);
}
.st.on,
.st.done {
	color: var(--ink);
}
.fail {
	display: flex;
	gap: 28px;
	justify-content: center;
	margin-top: 28px;
}
.fail .st::before {
	display: none;
}
.fail .st .o {
	width: 48px;
	height: 48px;
}
.st.bad .o {
	color: #fff;
	background: var(--ink);
	border-color: var(--ink);
}
.stagebot {
	padding-block: clamp(32px, 4vw, 48px) 0;
}
.loopcard {
	padding: clamp(20px, 3vw, 36px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 28px;
}
.loopcard .row {
	margin: 0;
	font-size: 15px;
}
/* placement */
.seg {
	display: inline-flex;
	gap: 2px;
	padding: 4px;
	background: var(--soft);
	border-radius: 999px;
}
.seg button {
	height: 40px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink2);
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 999px;
}
.seg button[aria-pressed="true"] {
	color: var(--ink);
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.place {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.draw {
	padding: clamp(16px, 3vw, 40px);
	background: var(--soft);
	border-radius: 32px;
}
.draw svg {
	display: block;
	width: 100%;
	height: auto;
}
.draw svg text {
	font-family: inherit;
}
.parts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.part {
	display: flex;
	gap: 14px;
	align-items: center;
	width: 100%;
	padding: 14px;
	text-align: left;
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 20px;
}
.part:hover,
.part.on {
	background: var(--soft);
}
.part .bd {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--ink);
	border-radius: 50%;
}
.part b {
	display: block;
	font-size: 16px;
	font-weight: 600;
}
.part small {
	font-size: 13px;
	color: var(--mute);
}
.part .pi {
	margin-left: auto;
	color: var(--ink2);
}
.foot {
	margin-top: 16px;
	font-size: 13px;
	color: var(--mute);
}
[data-p] {
	transition: opacity 0.2s;
}
.focus [data-p] {
	opacity: 0.12;
}
.focus [data-p].hl {
	opacity: 1;
}
.badge circle {
	fill: var(--ink);
}
.badge text {
	font-weight: 600;
	dominant-baseline: central;
	text-anchor: middle;
	fill: #fff;
}
/* block */
.blockgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.ph-hand,
.ph-app {
	opacity: 0;
	transition: opacity 0.25s;
}
.mode-hand .ph-hand,
.mode-app .ph-app {
	opacity: 1;
}
.flow {
	stroke-dasharray: 2 2;
	animation: flow 0.6s linear infinite;
}
@keyframes flow {
	to {
		stroke-dashoffset: -4;
	}
}
#lever {
	transform-origin: 82px 42.5px;
	transform-box: view-box;
	transition: transform 0.3s;
}
.mode-app #lever {
	transform: rotate(26.6deg);
}
.lbl {
	font-size: 3.4px;
	font-weight: 500;
	fill: var(--ink);
}
.lbl2 {
	font-size: 3px;
	fill: var(--mute);
}
.specs {
	display: grid;
	gap: 6px;
}
.specs div {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 14px 18px;
	font-size: 15px;
	background: var(--soft);
	border-radius: 16px;
}
.specs span {
	color: var(--mute);
}
.specs b {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
/* safety */
.rules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.rule {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 240px;
	padding: 32px 28px;
	background: var(--soft);
	border-radius: 28px;
}
.rule .ics {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--ink);
}
.rule .ics .c {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: #fff;
	border-radius: 50%;
}
.rule .ics .ln {
	width: 28px;
	height: 2px;
	background: #cfcfcb;
}
.rule b {
	margin-top: auto;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.rule small {
	margin-top: -10px;
	font-size: 15px;
	color: var(--mute);
}
.spin {
	transform-origin: center;
	transform-box: fill-box;
	animation: spin 1.1s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
/* the unit */
.zones {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.zone {
	padding: 28px;
	background: var(--soft);
	border-radius: 28px;
}
.zt {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 20px;
}
.zt .c,
.who .c {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	background: #fff;
	border-radius: 50%;
}
.zt b {
	display: block;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.zt small {
	font-size: 14px;
	color: var(--mute);
}
.zone ul {
	display: grid;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.zone li {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	font-size: 15px;
	background: #fff;
	border-radius: 14px;
}
.zone li span {
	display: inline-flex;
	color: var(--ink2);
}
.btnrow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin-top: 16px;
}
.btnrow div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 18px;
	background: var(--soft);
	border-radius: 16px;
}
.btnrow span {
	font-size: 13px;
	color: var(--mute);
}
.btnrow b {
	font-size: 17px;
	font-weight: 600;
}
/* alerts */
.picks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.picks .chip .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.astage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.acol {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	background: #fff;
	border-radius: 28px;
}
.acap {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink2);
}
.acol .specs div {
	font-size: 14px;
}
.acol .specs b {
	text-align: right;
	white-space: normal;
}
.unitbox svg {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
	margin: 0 auto;
}
#unitS {
	--lc: #34c759;
}
#unitS.lv1 {
	--lc: #ff9f0a;
}
#unitS.lv2 {
	--lc: #ff3b30;
}
#unitS .ring {
	stroke: var(--lc);
}
#unitS.lv0 .ring {
	animation: pulse 2.4s ease-in-out 2;
}
#unitS.lv2 .ring {
	animation: flash 0.5s steps(2) infinite;
}
#unitS .waves {
	opacity: 0;
}
#unitS.snd0 .waves {
	animation: chirp 0.5s 1;
}
#unitS.snd1 .waves {
	animation: chirp 0.45s 3;
}
#unitS.snd2 .waves {
	animation: chirp 0.4s infinite;
}
#unitS .stopb {
	cursor: pointer;
}
#unitS .stopb:focus-visible {
	outline: 2px solid var(--ink);
}
@keyframes pulse {
	50% {
		opacity: 0.15;
	}
}
@keyframes flash {
	50% {
		opacity: 0.1;
	}
}
@keyframes chirp {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
.lock {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 520px;
	padding: 48px 14px 14px;
	overflow: hidden;
	color: #fff;
	background: #1c1c1e;
	border: 8px solid #0d0d0d;
	border-radius: 44px;
}
.lt {
	font-size: 64px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.03em;
}
.ld {
	margin-top: 6px;
	font-size: 14px;
	opacity: 0.7;
}
.note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	width: 100%;
	padding: 14px;
	margin-top: auto;
	color: var(--ink);
	background: rgba(255, 255, 255, 0.92);
	border-radius: 22px;
	transform: translateY(0);
	transition:
		transform 0.3s,
		opacity 0.3s;
}
.note.in {
	animation: drop 0.35s ease-out;
}
@keyframes drop {
	from {
		opacity: 0;
		transform: translateY(-16px);
	}
}
.note .ni {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	color: #fff;
	background: var(--ink);
	border-radius: 10px;
}
.note b {
	display: block;
	font-size: 15px;
}
.note small {
	display: block;
	font-size: 13px;
	color: var(--ink2);
}
.note .nh {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--mute);
}
.full {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: center;
	padding: 28px;
	text-align: center;
	background: #b3261e;
}
.full.on {
	display: flex;
	animation: drop 0.3s ease-out;
}
.full .fi {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 50%;
}
.full b {
	font-size: 24px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.full small {
	font-size: 15px;
	opacity: 0.85;
}
.full .fb {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
}
.full button {
	height: 52px;
	font-weight: 600;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
}
.full .sil {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
}
.full .opn {
	color: #b3261e;
	background: #fff;
}
.full button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.levels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.lvc {
	padding: 24px;
	background: #fff;
	border-radius: 28px;
	transition: box-shadow 0.2s;
}
.lvc.on {
	box-shadow: 0 0 0 2px var(--ink);
}
.lvc h3 {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.lvc h3 i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.lvc .specs div {
	padding: 10px 14px;
	font-size: 14px;
}
.lvc .specs b {
	text-align: right;
	white-space: normal;
}
.who {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.who div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	background: #fff;
	border-radius: 24px;
}
.who .c {
	margin-bottom: 10px;
	background: var(--soft);
}
.who b {
	font-size: 17px;
	font-weight: 600;
}
.who small {
	font-size: 14px;
	color: var(--mute);
}
/* spec tables */
.tables {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.tables h3 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink2);
}
footer {
	padding-block: 48px 64px;
	font-size: 13px;
	color: var(--mute);
}
@media (max-width: 1020px) {
	.stage,
	.astage {
		grid-template-columns: minmax(0, 1fr);
	}
	.lock {
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}
	.zones,
	.levels {
		grid-template-columns: minmax(0, 1fr);
	}
	.who,
	.btnrow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.place,
	.blockgrid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 760px) {
	.rules,
	.tables {
		grid-template-columns: minmax(0, 1fr);
	}
	.loop .st {
		font-size: 12px;
	}
	.loop .st .o {
		width: 48px;
		height: 48px;
	}
	.st::before {
		top: 24px;
	}
	nav .links {
		display: none;
	}
}
@media (max-width: 380px) {
	.ph {
		width: 100%;
		max-width: 340px;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
	}
}
/* ---------- v4: pages ---------- */
nav .brand {
	font-weight: 650;
	color: var(--ink);
	letter-spacing: -0.01em;
	text-decoration: none;
}
nav a[aria-current="page"] {
	color: var(--ink);
	background: var(--soft);
}
.phead {
	padding-block: clamp(48px, 7vw, 96px) 0;
}
.phead + section {
	padding-top: clamp(40px, 5vw, 64px);
}
.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin-top: 40px;
}
.stats div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 20px;
	background: var(--soft);
	border-radius: 18px;
}
.stats span {
	font-size: 13px;
	color: var(--mute);
}
.stats b {
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.cardl {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 220px;
	padding: 28px;
	color: inherit;
	text-decoration: none;
	background: var(--soft);
	border-radius: 28px;
	transition: background 0.2s;
}
.cardl:hover {
	background: var(--soft2);
}
.cardl:focus-visible,
.nextp a:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}
.cardl .c,
.stepc .n {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: #fff;
	border-radius: 50%;
}
.cardl b {
	margin-top: auto;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.cardl small {
	margin-top: -8px;
	font-size: 15px;
	color: var(--mute);
}
.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.stepc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: var(--soft);
	border-radius: 24px;
}
.stepc .n {
	width: 36px;
	height: 36px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--ink);
}
.stepc.done .n {
	color: var(--ink);
	background: #fff;
}
.stepc b {
	font-size: 17px;
	font-weight: 600;
}
.stepc small {
	font-size: 14px;
	color: var(--mute);
}
.specs a {
	color: inherit;
}
/* Own top space, so the Next card never sits flush on the last section
   (the live hero has no bottom padding, and some last sections are tinted). */
.nextp {
	padding-block: clamp(48px, 6vw, 80px) 24px;
}
.nextp a {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 28px 32px;
	color: inherit;
	text-decoration: none;
	background: var(--soft);
	border-radius: 28px;
}
.nextp small {
	display: block;
	font-size: 13px;
	color: var(--mute);
}
.nextp b {
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
@media (max-width: 1020px) {
	.cards,
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	/* v3 hid the links on phones because it was one page. With one page per
	   job the links are the way around, so they stay and scroll sideways,
	   and the brand link gives way to them. */
	nav .links {
		display: flex;
	}
	nav .brand {
		display: none;
	}
	.cards,
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Button groups are fieldsets (a real group for screen readers); drop the
   browser's fieldset frame so they look like the plain rows they replace. */
fieldset.picks,
fieldset.seg {
	min-width: 0;
	margin: 0;
	border: 0;
}
fieldset.picks {
	padding: 0;
}

/* ---------- Freehand: name and type ----------
   Freehand is the name of the whole home automation project; the stove is
   its first piece, so the wordmark reads "freehand" with "/stove" after it
   like a path. Doto (a dot-matrix face, locked 5 Dec 2026 from round 2 of
   font-options) sets the wordmark and the number readouts: the stove's own
   display is made of dots, so the name and the figures look like they come
   off the same kind of screen. Headings and body stay Inter, so reading is
   never hard. Round 1 used Geist here; it is in git history (e4c2828). */
:root {
	--display: Inter, ui-sans-serif, system-ui, sans-serif;
	--dot: Doto, ui-monospace, "SF Mono", Consolas, monospace;
}
nav .brand {
	display: inline-flex;
	align-items: baseline;
	padding-inline: 0;
}
nav .brand:hover {
	background: none;
}
.wm {
	font-family: var(--dot);
	font-weight: 900;
	color: var(--ink);
	letter-spacing: 0;
}
nav .wm {
	font-size: 25px;
}
.tag {
	margin-left: 0.06em;
	font-family: var(--dot);
	font-weight: 600;
	color: var(--mute);
}
nav .tag {
	font-size: 25px;
}
.stats b {
	font-family: var(--dot);
	font-size: 28px;
	font-weight: 900;
	letter-spacing: 0;
}
@media (max-width: 760px) {
	/* The wordmark now earns its place on phones too: it stays, and the
	   page links scroll sideways beside it. */
	nav .brand {
		display: inline-flex;
		flex: none;
	}
}
