:root {
  color-scheme: dark;
  --bg: #181a17;
  --panel: #232722;
  --panel-2: #2a302b;
  --line: #474d43;
  --text: #faf6e9;
  --muted: #c5c9bd;
  --accent: #ffc47e;
  --accent-ink: #27190d;
  --paper: #f0eddf;
  --ink: #202822;
  --edge: clamp(20px, 6vw, 100px);
  --display: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
}
body { background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, sans-serif; }
.wrap { max-width: none; padding: 0; }
.top { padding: 15px var(--edge); min-height: 62px; color: var(--text); background: #191c18; }
.wordmark { display: flex; align-items: center; gap: 9px; font: 740 1.05rem var(--display); letter-spacing: .13em; }
.wordmark span { font-weight: 430; letter-spacing: .01em; }
.wordmark i { width: 16px; height: 16px; border: 4px solid #ffbd70; border-radius: 50%; }
.nav-demo { margin-left: auto; color: #ffd198; font: 650 1rem var(--display); text-underline-offset: 4px; }
.top .lang { margin-left: 12px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(540px,44vw,710px); background: #201e17 url('/screens/approach.webp') 50% 53% / cover; }
.hero::before, .voice-story::before { content: ""; pointer-events: none; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #100f0cf0, #100f0cd6 24%, #100f0c61 54%, transparent 78%), linear-gradient(0deg,#11110e8a,transparent 45%); }
.hero-inner { padding: clamp(40px,5vw,80px) var(--edge); width: 100%; }
.kicker { margin: 0 0 12px; font: 700 .88rem/1.5 Consolas, monospace; letter-spacing: .095em; text-transform: uppercase; color: #ffd197; }
.kicker i { display: inline-block; width: 26px; height: 2px; vertical-align: middle; background: currentColor; margin-right: 10px; }
.hero h1, main h2, .workbench h3 { font-family: var(--display); text-wrap: balance; }
.hero h1 { font-size: clamp(3.6rem,7.4vw,7.9rem); font-weight: 670; line-height: .94; max-width: 11ch; margin: 15px 0 22px; letter-spacing: -.055em; overflow-wrap: break-word; }
.hero-copy { font-size: clamp(1.13rem,1.45vw,1.45rem); max-width: 49ch; line-height: 1.48; color: #f5f1e6; }
.actions { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; margin-top: 27px; }
.primary, .demo-launch { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 5px; }
.btn { border-radius: 5px; }
.primary:hover, #submit:hover { background: #ffdaa1; }
/* The tour is a full inline player between the introduction and the panel demo. */
.tour-section { padding: clamp(48px,6vw,92px) var(--edge); background: #e4e8dd; color: #19291e; border-top: 6px solid #ffca83; }
.tour-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px 25px; margin: 0 auto 22px; }
.tour-heading, .tour-player, .tour-links { max-width: 1320px; }
.tour-section .tour-heading h2 { color: #19291e; font-size: clamp(2.25rem,4.5vw,4.8rem); margin: 0; }
.tour-heading p { color: #455949; font: 650 1rem/1.5 var(--display); margin: 0; }
.tour-player { position: relative; margin: auto; overflow: hidden; border: 1px solid #666450; border-radius: 12px; background: #060907; }
#tour-film { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.tour-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 13px; padding: 15px 24px; width: max-content; max-width: 88%; border: 2px solid #fff0cb; border-radius: 40px; color: #20180d; background: #ffca83; box-shadow: 0 4px 28px #0009; cursor: pointer; font: 650 clamp(1rem,2vw,1.45rem)/1.2 var(--display); }
.tour-play:hover { background: #ffdfa7; }
.tour-play[hidden] { display: none; }
.tour-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 14px auto 0; justify-content: space-between; }
.tour-links a { color: #224a35; text-underline-offset: 4px; }
main h2 { font-size: clamp(2.3rem,4.05vw,4.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 630; margin: 0 0 18px; }
.reading p, .demo-info p { font-size: clamp(1.09rem,1.3vw,1.36rem); line-height: 1.6; max-width: 54ch; margin: 0; }
.showroom { background: #f2e3c8; color: var(--ink); }
.demo-poster { display: grid; align-items: center; grid-template-columns: .72fr 1.28fr; gap: 4vw; padding: clamp(40px,5vw,88px) var(--edge); color: inherit; text-decoration: none; background: radial-gradient(ellipse at 77% 40%, #e4b17b, transparent 55%), repeating-linear-gradient(125deg,transparent 0 36px,#ac8d5e12 37px 38px); }
.demo-info { position: relative; z-index: 1; }
.demo-info .demo-kicker { font: 700 .88rem/1.5 Consolas,monospace; letter-spacing: .09em; color: #674222; text-transform: uppercase; margin-bottom: 12px; }
.demo-launch { margin-top: 20px; padding: 14px 18px; background: #234239; color: #fff9ea; font-size: 1.09rem; }
.demo-poster:hover .demo-launch, .demo-poster:focus-visible .demo-launch { background: #12654c; }
.finish-wall { aspect-ratio: 1.65; position: relative; }
.finish-wall img, .rig-devices img, .context-images img, .telemetry-screen img, .workbench > img { border-radius: 9px; border: 3px solid #252925; box-shadow: 0 16px 28px #201c142e; }
.finish-wall img, .rig-devices img { position: absolute; height: auto; }
.finish-rear { right: 2%; top: 0; width: 68%; transform: rotate(4deg); }
.finish-front { left: 0; top: 12%; width: 72%; transform: rotate(-4deg); }
.finish-small { right: 0; bottom: 0; width: 49%; transform: rotate(1deg); }
.story { padding: clamp(40px,5vw,86px) var(--edge); display: grid; align-items: center; gap: clamp(25px,4.8vw,84px); grid-template-columns: .9fr 1.1fr; }
.context-story { background: #e9eee4; color: var(--ink); }
.context-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; position: relative; }
.context-images img, .telemetry-screen img, .workbench > img { width: 100%; height: auto; display: block; }
.context-images img:first-child { transform: translateY(-9%); }
.context-images img:last-child { transform: translateY(9%); }
.context-images span { position: absolute; background: #d5ffb8; color: #1b402c; z-index: 1; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.telemetry-story { background: #18372f; grid-template-columns: 1.1fr .9fr; }
.telemetry-screen small { display: block; color: #bed4c4; margin-top: 9px; font-size: .92rem; }
.wallet { color: #d3f2bc; display: inline-block; margin-top: 17px; font-size: 1.05rem; text-underline-offset: 3px; }
.voice-story { isolation: isolate; position: relative; grid-template-columns: 1fr; min-height: clamp(340px,34vw,570px); background: #201c15 url('/screens/headset.webp') 58% center / cover; }
.voice-story .reading { max-width: min(50vw,720px); }
.voice-story .kicker { font: 700 .88rem/1.5 Consolas,monospace; margin-bottom: 18px; }
.voice-story::before { background: linear-gradient(90deg,#0d100ef2,#10130fe0 35%,transparent 77%); }
.rig-story { background: #e8ebe2; color: var(--ink); }
.rig-devices { position: relative; aspect-ratio: 1.6; }
.rig-desktop { width: 83%; right: 0; top: 0; }
.rig-tablet { width: 57%; bottom: 0; left: 0; }
.rig-phone { width: 16%; right: 3%; bottom: 0; }
.workbench { background: #263028; grid-template-columns: 1.1fr .9fr; }
.workbench h2 { font-size: clamp(2rem,3vw,3.4rem); }
.workbench h3 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; color: #ffcd89; margin: 1.4em 0 .3em; }
.support-call {
  background: #ffca83;
  color: #241e15;
  padding: clamp(52px,7vw,110px) var(--edge);
  border-top: 6px solid #ffe1b7;
}
.support-call > div { max-width: 1070px; margin: auto; }
.support-call h2 { max-width: 18ch; font-size: clamp(2.75rem,5.6vw,6rem); }
.support-call p { max-width: 55ch; font-size: clamp(1.16rem,1.6vw,1.5rem); line-height: 1.5; }
.support-button { display: inline-flex; gap: 26px; align-items: center; margin-top: 16px; padding: 16px 24px; background: #183b30; color: white; text-decoration: none; border-radius: 5px; font-weight: 700; font-size: 1.2rem; }
.support-button:hover { background: #0a503b; }
.survey-page .wordmark, .thanks a { color: inherit; }
.survey-page .wordmark { text-decoration: none; }
.survey-sheet { max-width: 960px; margin: auto; padding: 0 clamp(18px,4vw,52px) 18px; }
.survey-intro { padding-top: clamp(38px,5vw,70px); }
.survey-intro h1 { font: 650 clamp(2.5rem,5vw,4.9rem)/1 var(--display); letter-spacing: -.045em; margin: 0 0 16px; }
.survey-intro > p:not(.kicker) { max-width: 60ch; font-size: 1.15rem; }
.survey-jumps { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 10px 0 20px; }
.survey-jumps a { color: #ffd394; text-underline-offset: 4px; }
.answer-block { border-top: 1px solid var(--line); padding: 26px 0 12px; scroll-margin-top: 10px; }
.answer-block h2 { font-size: clamp(1.55rem,3vw,2.3rem); }
.answer-block .toolbar { background: var(--bg); position: static; }
.opt:has(input:checked) { border-color: var(--accent); background: #433523; }
.survey-sheet #bar { position: sticky; bottom: 0; z-index: 8; background: #181a17f5; border-top: 1px solid var(--line); padding: 10px 0 max(10px,env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.survey-sheet #status { margin: 0; }
.survey-page { scroll-padding-bottom: 100px; }
.thanks a { display: inline-block; margin: 18px; }
.pick-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
#bar { margin-top: 15px; }
:focus-visible { outline: 3px solid #78bbff; outline-offset: 3px; }
footer { margin: 0; border-top: 1px solid var(--line); padding: 22px var(--edge); }
@media (min-width:1780px) {
  :root { --edge: max(100px,calc((100vw - 1520px) / 2)); }
}
@media (max-width:760px) {
  .hero { min-height: 565px; background-position: 63% center; }
  .hero::before { background: linear-gradient(0deg,#10120efc,#12140fd9 45%,transparent 89%); }
  .hero-inner { padding-top: 150px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(3.1rem,10.8vw,5rem); }
  .top { min-height: 58px; padding-block: 10px; }
  .demo-poster, .story { grid-template-columns: 1fr; }
  .finish-wall { margin: 5px 1%; }
  .telemetry-story .reading, .workbench .reading { grid-row: 1; }
  .voice-story { padding-top: 190px; background-position: 72% top; }
  .voice-story .reading { max-width: none; }
  .voice-story::before { background: linear-gradient(0deg,#12120cf7,#12120cee 42%,transparent 92%); }
  .context-images { margin: 12px 0; }
}
@media (max-width:380px) {
  .top { gap: 6px; flex-wrap: wrap; }
  .wordmark { font-size: .9rem; }
  .top .lang { margin-left: 0; }
  .actions { gap: 10px; }
  .primary { padding-inline: 14px; }
}
