:root {
	--bg: #0a0b0d;
	--surface: #12151a;
	--surface-2: #181c22;
	--line: #242931;
	--text: #e8edf3;
	--dim: #8a93a0;
	--amber: #ffb020;
	--green: #3ee07a;
	--red: #ff4d4d;
	--display: "Bahnschrift", "DIN Alternate", "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--max: 1120px;
	--gutter: 24px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc95c; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top {
	position: sticky; top: 0; z-index: 10;
	background: rgba(10, 11, 13, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 20px/1 var(--display); letter-spacing: 0.01em; }
.brand:hover { color: var(--text); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font: 600 13px/1.4 var(--display); letter-spacing: 0.06em; }
.nav .lang { color: var(--text); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; letter-spacing: 0; }
p { margin: 0; }
.kicker { font: 600 13px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; display: block; }
.kicker::before { content: ""; display: inline-block; vertical-align: 0.1em; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #c3cad3; max-width: 36em; }
.dim { color: var(--dim); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px; border-radius: 10px;
	font: 600 17px/1 var(--display); letter-spacing: 0.02em;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--amber); color: #15100a; }
.btn-primary:hover { background: #ffc24d; color: #15100a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: #3a414b; color: var(--text); }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--dim); border-color: var(--line); cursor: default; }
.note { font-size: 14px; color: var(--dim); }

/* ---------- hero ---------- */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; isolation: isolate; }
/* Night highway art behind the hero, darkened so text stays readable. */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: url("/assets/hero-road.svg") center bottom / cover no-repeat;
	opacity: 0.85;
	/* Soft focus: the art is mood, the text on top must stay sharp at every size. */
	filter: blur(6px) saturate(1.1);
	inset: -24px;
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 11, 13, 0.75) 0%, rgba(10, 11, 13, 0.35) 45%, rgba(10, 11, 13, 0.25) 100%),
		linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0.1) 70%, rgba(10, 11, 13, 0) 90%, var(--bg) 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }
.hero .note { margin-top: 16px; }

/* the device */
.deck {
	background: linear-gradient(180deg, #1b1e23, #0f1114);
	border: 1px solid #2a2f37;
	border-radius: 26px;
	padding: 22px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.deck .keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.key { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0c0e11; box-shadow: 0 0 0 1px #000, 0 2px 0 #050607; position: relative; }
.key img { width: 100%; height: 100%; }
.deck .dials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 16px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #000; }
.deck .dials img { width: 100%; height: auto; }
.deck .knobs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.knob { width: 54%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: repeating-conic-gradient(#20242a 0 4deg, #171a1f 4deg 8deg); box-shadow: inset 0 0 0 5px #121418, 0 4px 10px rgba(0, 0, 0, 0.6); }

/* blinking turn signal */
.blink { position: absolute; inset: 0; animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- sections ---------- */
section { padding: 96px 0; border-top: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 52px; }
.head h2 { margin-bottom: 16px; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.card h3 { margin: 18px 0 8px; }
.card p { color: #b3bbc5; font-size: 16px; }
.card .chips { display: flex; gap: 8px; }
.card .chips .key { width: 72px; border-radius: 9px; }

/* key strip */
.strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }

/* Muavin */
.muavin { background: radial-gradient(900px 500px at 15% 0%, rgba(62, 224, 122, 0.08), transparent 60%); }
.muavin .split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.muavin .kicker { color: var(--green); }
.states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 34px 0 28px; max-width: 420px; }
.states figure { margin: 0; }
.states figcaption { font-size: 12px; color: var(--dim); text-align: center; margin-top: 8px; }
.states .key { animation: focus 8s infinite; opacity: 0.35; }
.states figure:nth-child(2) .key { animation-delay: 2s; }
.states figure:nth-child(3) .key { animation-delay: 4s; }
.states figure:nth-child(4) .key { animation-delay: 6s; }
@keyframes focus { 0%, 25% { opacity: 1; } 30%, 100% { opacity: 0.35; } }

/* hero link to the co-driver */
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 10px 16px 10px 10px; border-radius: 12px; background: rgba(62, 224, 122, 0.08); border: 1px solid rgba(62, 224, 122, 0.28); color: #d6f7e2; text-decoration: none; font-size: 15px; line-height: 1.4; }
.hero-tag:hover { color: #fff; border-color: rgba(62, 224, 122, 0.5); }
.hero-tag svg { width: 22px; height: 22px; flex: none; color: var(--green); }
.hero-tag strong { color: var(--green); }

.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font: 600 15px/1.2 var(--display); letter-spacing: 0.01em; }
.badges svg { width: 18px; height: 18px; color: var(--green); }

/* Pro: the paid half of the page */
.pro-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 4px 9px; border-radius: 6px; background: linear-gradient(135deg, #ffcf5c, #ffb020 55%, #e8890c); color: #1a1206; font: 700 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.pro-pill.big { font-size: 18px; padding: 10px 16px; border-radius: 10px; }
section.pro { border-top: 0; padding-top: 0; background: linear-gradient(180deg, rgba(255, 176, 32, 0.06), transparent 320px), radial-gradient(900px 500px at 15% 240px, rgba(62, 224, 122, 0.07), transparent 60%); }
.pro-banner { display: flex; align-items: center; gap: 20px; padding: 26px 28px; margin-bottom: 72px; border-radius: 0 0 18px 18px; border: 1px solid rgba(255, 176, 32, 0.4); border-top: 3px solid var(--amber); background: linear-gradient(120deg, rgba(255, 176, 32, 0.14), rgba(255, 176, 32, 0.03)); }
.pro-banner > div:nth-child(2) { flex: 1; }
.pro-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 300px; }
.pro-buy .note { text-align: right; font-size: 13px; }
.no-paypal { font-size: 14px; color: #ffcf7a; }
.no-paypal:hover { color: #fff; }
.pro-banner .pro-title { font: 600 22px/1.2 var(--display); color: var(--text); margin-bottom: 4px; }
.pro-banner p { color: #c3cad3; }
.pro .split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.pro .kicker { color: var(--green); }

/* spoken conversation */
.voice { background: linear-gradient(180deg, #121a15, #0e1210); border: 1px solid rgba(62, 224, 122, 0.18); border-radius: 20px; padding: 26px 26px 10px; }
.voice-title { font: 600 13px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.line { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.who-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1d232b; color: var(--text); }
.who-icon svg { width: 20px; height: 20px; }
.line.co .who-icon, .line.auto .who-icon { background: rgba(62, 224, 122, 0.14); color: var(--green); }
.who { font: 600 12px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 3px 0 8px; }
.line.co .who, .line.auto .who { color: var(--green); }
.said { font-size: 17px; line-height: 1.5; color: #dfe4ea; }
.line.co .said, .line.auto .said { color: #fff; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-bottom: 6px; color: #4a525d; }
.line.co .wave, .line.auto .wave { color: var(--green); }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: center; animation: wave 1.3s ease-in-out infinite; animation-delay: calc(var(--d) + var(--i, 0) * -0.09s); }
.wave i:nth-child(3n) { --i: 3; } .wave i:nth-child(3n+1) { --i: 7; } .wave i:nth-child(4n) { --i: 11; } .wave i:nth-child(5n) { --i: 5; }
@keyframes wave { 0%, 100% { transform: scaleY(0.18); } 50% { transform: scaleY(1); } }
.mini { display: flex; gap: 8px; margin-top: 10px; }
.mini .key { width: 56px; border-radius: 8px; }

/* voice commands + free key */
/* Same columns as the conversation row above, so the boxes line up with it. */
.duo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; margin-top: 64px; align-items: stretch; }
.band { border-radius: 18px; padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.band h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.band p { color: #c3cad3; }
.band p + p { margin-top: 16px; }
.says { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.says li { padding: 7px 13px; border-radius: 999px; background: #1a2019; border: 1px solid rgba(62, 224, 122, 0.22); color: #d6f7e2; font-size: 15px; }
.band-free { background: linear-gradient(160deg, rgba(255, 176, 32, 0.16), rgba(255, 176, 32, 0.03) 60%), var(--surface); border-color: rgba(255, 176, 32, 0.35); }
.free-tag { display: inline-block; font: 600 13px/1 var(--display) !important; letter-spacing: 0.14em; text-transform: uppercase; color: #15100a !important; background: var(--amber); padding: 6px 10px; border-radius: 6px; margin-bottom: 16px; }
.band-free a { font-weight: 600; }

.list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.list span { color: #b3bbc5; font-size: 16px; }

.callout { margin-top: 40px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; color: #c3cad3; }
.callout strong { color: var(--text); }

/* dials */
.dialrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dialrow figure { margin: 0; }
.dialrow img { border-radius: 10px; width: 100%; height: auto; box-shadow: 0 0 0 1px #000; }
.dialrow figcaption { margin-top: 12px; font-size: 15px; color: #b3bbc5; }
.dialrow figcaption strong { color: var(--text); display: block; font-family: var(--display); font-weight: 600; font-size: 18px; }

/* specs */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.specs div { padding: 24px; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; }
.specs dt { font: 600 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.specs dd { margin: 0; font-size: 16px; }

/* languages: same columns as the conversation row in the Pro section */
.lang-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.lang-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 176, 32, 0.07); border: 1px solid rgba(255, 176, 32, 0.28); font-size: 16px; color: #c3cad3; }
.lang-note strong { color: var(--text); }
.lang-note .pro-pill { margin-top: 2px; }
.langs { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 16px; }
.langs th, .langs td { padding: 11px 20px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.langs tbody tr:last-child th, .langs tbody tr:last-child td { border-bottom: 0; }
.langs thead th { font: 600 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding-top: 16px; padding-bottom: 14px; }
.langs thead th:not(:first-child), .langs td { text-align: center; width: 104px; }
.langs tbody th .dim { margin-left: 6px; font-size: 14px; }
.langs .yes { display: inline-flex; color: var(--green); vertical-align: middle; }
.langs .yes svg { width: 18px; height: 18px; }
.langs .no { color: #566070; }
.langs-more th { color: var(--text); font-weight: 600; }
.langs-more th, .langs-more td { background: rgba(62, 224, 122, 0.06); }

/* FAQ */
.faq { width: 100%; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative; font: 600 20px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; color: var(--dim); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: #b3bbc5; }

/* launch band */
.launch { text-align: center; }
.launch h2 { margin-bottom: 16px; }
.launch .lede { margin: 0 auto 32px; }
.launch .actions { justify-content: center; }

/* ---------- docs pages ---------- */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 16px; }
.doc h2 { font-size: 28px; margin: 52px 0 14px; }
.doc p, .doc li { color: #c3cad3; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc code { font: 15px/1 Consolas, "Cascadia Mono", monospace; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; color: var(--text); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 18px 52px; margin: 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font: 600 17px/1 var(--display); color: var(--amber); }
.steps strong { color: var(--text); }
.updated { font-size: 14px; color: var(--dim); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; font-size: 13px; color: #6b737e; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.duo { grid-template-columns: minmax(0, 1fr); }
	.pro-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
	.pro-buy { align-items: flex-start; max-width: none; }
	.pro-buy .note { text-align: left; }
	.hero .wrap, .pro .split, .muavin .split, .lang-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.specs div:nth-child(2) { border-right: 0; }
	.specs div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.dialrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.top .wrap { gap: 12px; }
	.nav { gap: 14px; }
	.nav .hide-sm { display: none; }
	.hero { padding: 44px 0 64px; }
	section { padding: 68px 0; }
	.grid3, .list { grid-template-columns: minmax(0, 1fr); }
	.voice, .band { padding: 20px; }
	.deck { padding: 12px; border-radius: 18px; }
	.deck .keys { gap: 7px; }
	.key { border-radius: 8px; }
	.specs { grid-template-columns: minmax(0, 1fr); }
	.specs div { border-right: 0; border-bottom: 1px solid var(--line); }
	.specs div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.blink, .states .key, .wave i { animation: none; }
	.states .key { opacity: 1; }
	html { scroll-behavior: auto; }
}
@media (max-width: 640px) {
	.langs th, .langs td { padding: 10px 12px; }
	.langs thead th:not(:first-child), .langs td { width: 72px; }
	.langs thead th { letter-spacing: 0.06em; font-size: 11px; }
	.langs tbody th .dim { display: block; margin-left: 0; }
}
