:root{--ink:#183b32;--cream:#f4f1e9;--gold:#e9bf7e;--muted:#78857b;--border:rgba(255,255,255,.2);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#183b32}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:5px}a{color:inherit;text-decoration:none}button{border:0}button,select{min-height:44px}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;vertical-align:middle}button span{display:inline-block}button:hover{filter:brightness(1.06)}[hidden]{display:none!important}#scene{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}#home{position:relative}.wrap{width:min(1380px,calc(100% - 112px));margin:auto}.hero{position:relative;min-height:940px;height:100svh;max-height:1400px;display:flex;flex-direction:column}.hero-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(9,27,24,.76) 0,rgba(9,27,24,.58) 27%,rgba(9,27,24,.13) 62%,rgba(9,27,24,.15)),linear-gradient(0deg,rgba(9,27,24,.94),transparent 43%,transparent 80%,rgba(9,27,24,.38));z-index:0}.nav{display:flex;align-items:center;justify-content:space-between;height:110px;z-index:2;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px}.brand>svg{width:48px;stroke:var(--gold);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.brand>span{font-weight:760;font-size:25px;letter-spacing:-1px}.brand-light{font-weight:350}.brand small{display:block;font-size:8px;letter-spacing:3.5px;font-weight:450;margin-top:6px}.nav nav{display:flex;align-items:center;gap:34px;font-size:13px;color:#ecede7}.link-button{background:none;color:inherit;padding:0}.nav-tools{display:flex;gap:16px;align-items:center}.icon-button{width:44px;height:44px;color:white;background:none;border:1px solid transparent;border-radius:50%}.icon-button[aria-pressed=false]{opacity:.6}.pill-button{color:white;border:1px solid var(--border);border-radius:30px;padding:0 18px;background:rgba(32,49,43,.16);font-size:12px}.pill-button span{margin-left:15px}.hero-copy{z-index:1;position:relative;padding-top:66px;pointer-events:none}.hero-copy button,.hero-copy a{pointer-events:auto}.eyebrow{font-size:10px;letter-spacing:2.8px;font-weight:650;display:flex;gap:12px;align-items:center}.eyebrow i{width:29px;height:1px;background:var(--gold)}.hero-copy h1{font-size:clamp(74px,7.6vw,112px);line-height:.99;letter-spacing:-6px;font-weight:500;margin:27px 0 23px}.hero-copy h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--gold)}.hero-copy>p{font-size:15px;line-height:1.85;color:#e5e5d9;font-weight:350;margin:0}.hero-actions{display:flex;gap:12px;margin-top:29px}.button{min-height:54px;padding:0 25px;border-radius:5px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:16px;transition:background .2s,transform .2s}.button:active{transform:translateY(1px)}.primary{background:var(--gold);color:#26382d}.primary span{font-size:22px;margin-left:16px}.glass{color:white;background:rgba(22,48,41,.30);border:1px solid rgba(255,255,255,.42);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.hero-copy .hero-footnote{font-size:10px;display:flex;align-items:center;gap:8px;margin-top:18px;color:#d3dccf}.status-dot{width:5px;height:5px;border-radius:50%;background:#d8c796;display:inline-block}.environment-label{position:absolute;right:56px;top:48%;width:280px;z-index:1;padding:23px 0 0;text-shadow:0 1px 8px #233b3850}.live-badge{font-size:8px;letter-spacing:2px;display:flex;gap:8px;align-items:center}.live-badge i{width:5px;height:5px;border-radius:100%;background:var(--gold);box-shadow:0 0 0 4px #e9bf7e16}.environment-label h2{font-size:29px;font-weight:480;letter-spacing:-.7px;margin:15px 0 8px}.environment-label>p{font-size:11px;line-height:1.7;color:#f0f1e8;margin:0 0 12px}.environment-label>div{font-size:9px;display:flex;gap:14px;padding:12px 0;border-top:1px solid #ffffff36}.mode-label{font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffff36}.mode-label select{border:0;background:transparent;color:white;font-size:11px;max-width:150px;outline-offset:0}.mode-label option{color:var(--ink);background:var(--cream)}.terrain-shelf{position:relative;z-index:2;margin-top:auto;padding-top:30px}.section-kicker{display:flex;justify-content:space-between;font-size:8px;letter-spacing:2px;margin-bottom:15px;color:#c5cdbf}.section-kicker span:first-child{color:#f5eee1;font-weight:650}.terrain-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.terrain-card{position:relative;height:122px;min-width:0;border:1px solid #ffffff2b;padding:0;border-radius:5px;overflow:hidden;text-align:left;color:white;background:#506d62;transition:border-color .2s,transform .2s}.terrain-card:hover{transform:translateY(-3px)}.terrain-card[aria-pressed=true]{border:2px solid var(--gold)}.terrain-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#102820dd,transparent 85%);z-index:1}.terrain-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .35s}.terrain-card:hover img{transform:scale(1.08)}.terrain-card .terrain-num{position:absolute;top:12px;left:12px;font-size:9px;color:#fffc;z-index:2}.terrain-card .terrain-text{position:absolute;bottom:12px;left:12px;right:10px;z-index:2;font-size:15px;font-weight:550;display:flex;justify-content:space-between;align-items:center}.terrain-card .check{display:none;background:var(--gold);color:var(--ink);width:18px;height:18px;border-radius:100%;font-size:10px;line-height:18px;text-align:center}.terrain-card[aria-pressed=true] .check{display:inline-block}.hero-bottom{z-index:1;position:relative;display:flex;justify-content:space-between;align-items:center;padding:25px 0 24px;font-size:8px;letter-spacing:1.5px;color:#b9c4b7}.hero-bottom a{font-size:10px;letter-spacing:.1px;color:#dfdfd3}.hero-bottom a span{margin-left:20px}.experience{position:relative;background:var(--cream);color:var(--ink);padding:100px 0}.experience-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;align-items:center}.dark{color:#7a846c}.experience h2{font-size:48px;line-height:1.13;letter-spacing:-2px;font-weight:480;margin:19px 0}.experience h2 em{font-family:Georgia,serif;font-weight:400;color:#798b63}.experience-heading>p{font-size:16px;line-height:1.8;color:#68736a;max-width:390px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:54px;margin-top:58px}.feature-grid article{border-top:1px solid #bcc5b8;padding-top:23px}.feature-number{font-size:9px;letter-spacing:2px;color:#7a8572}.feature-grid h3{font-size:22px;letter-spacing:-.6px;font-weight:550;margin:24px 0 12px}.feature-grid p{font-size:13px;line-height:1.9;color:#68736a}.spatial-note{margin-top:65px;display:flex;align-items:center;justify-content:space-between;gap:50px;border:1px solid #cbd2c5;padding:32px}.spatial-note h3{font-size:20px;font-weight:500;margin:0 0 10px}.spatial-note p{font-size:12px;line-height:1.7;margin:5px 0}.spatial-note .small{max-width:740px;font-size:11px;color:#788172}.dark-button{background:var(--ink);color:white;white-space:nowrap}.footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:36px 0;font-size:10px;color:#bcc9ba}.footer-brand{font-size:22px;font-weight:700;letter-spacing:-.8px;color:white}.footer-brand span{font-weight:300}
/* In-ride interface */
body.riding{overflow:hidden}#hud{position:fixed;inset:0;pointer-events:none;color:#fff}#hud button{pointer-events:auto}.hud-top{display:flex;gap:12px;align-items:center;margin:24px}.hud-chip{display:flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 15px;border-radius:5px;background:#143a32c9;border:1px solid #dbe6c83a;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);font-size:11px;color:#f6f3e7}.route-hud{display:flex;flex-direction:column;gap:5px;margin-left:8px;text-shadow:0 1px 12px #172c26}.route-hud>span{font-size:8px;letter-spacing:2.5px;color:#f7ddb0}.route-hud>b{font-size:17px;font-weight:500}.ride-time{position:absolute;left:50%;transform:translateX(-50%);text-align:center;background:#15382cad;border:1px solid #ddd9b82b;padding:10px 35px;top:20px;border-radius:5px;backdrop-filter:blur(12px)}.ride-time>span{font-size:23px;font-weight:500;letter-spacing:1px;font-variant-numeric:tabular-nums;display:block}.ride-time>small{font-size:7px;letter-spacing:2px;display:block;margin-top:4px;color:#dbc69c}#pause{margin-left:auto}.route-progress{height:3px;position:absolute;top:0;left:0;right:0;background:#11281e40}#progress-fill{height:100%;width:0;background:var(--gold)}.map-box{position:absolute;top:95px;right:25px;width:150px;background:#15382cc4;border:1px solid #ddd9b829;border-radius:6px;overflow:hidden;backdrop-filter:blur(12px);text-align:center;padding-bottom:12px}.map-box canvas{width:100%;height:115px;display:block}.map-box>span{font-size:9px;color:#cdd5c6}.map-box b{color:white;font-weight:600}.toast{position:absolute;top:115px;left:50%;transform:translateX(-50%) translateY(-8px);background:#173c31df;backdrop-filter:blur(15px);border:1px solid #ead4a649;border-radius:30px;padding:12px 25px;font-size:12px;opacity:0;transition:opacity .3s,transform .3s;text-align:center;max-width:80vw}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.telemetry{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:80px 118px 80px;align-items:center;text-align:center;background:#14392ee8;border:1px solid #dae3c643;box-shadow:0 8px 40px #142b2735;border-radius:8px;padding:16px 13px 12px;backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}.speed>b{font-size:57px;font-weight:400;line-height:1;letter-spacing:-2px;font-variant-numeric:tabular-nums}.speed>small{display:block;font-size:7px;letter-spacing:2px;margin-top:7px;color:#decba7}.telemetry-detail>small{display:block;font-size:7px;letter-spacing:1.3px;color:#b4c5b3;margin-bottom:9px}.telemetry-detail>b{font-size:19px;font-weight:450}.telemetry-detail em{font-size:10px;font-style:normal;color:#b8c6b2}.telemetry-bottom{grid-column:1/-1;display:flex;justify-content:space-around;border-top:1px solid #e4e8cc22;margin-top:14px;padding:12px 0 10px;font-size:8px;color:#afc2ae}.telemetry-bottom b{font-size:10px;color:#f1efdc;font-weight:500}.energy-line{grid-column:1/-1;height:2px;background:#617e60}.energy-line i{display:block;height:2px;background:var(--gold);width:100%}.energy-caption{grid-column:1/-1;font-size:6px;letter-spacing:1.3px;text-align:left;margin-top:7px;color:#b4c7af}.energy-caption span{float:right}.ride-hints{position:absolute;bottom:35px;left:26px;font-size:10px;line-height:2.5;text-shadow:0 1px 5px #0c2115;color:#eff0df}.ride-hints div{display:flex;align-items:center;gap:5px}kbd{font:inherit;font-size:10px;display:inline-flex;justify-content:center;align-items:center;min-width:21px;min-height:22px;padding:0 5px;border:1px solid #b8c8ac70;border-radius:3px;background:#12372ca3;color:#f1efdf;margin-right:2px}.ride-actions{position:absolute;bottom:32px;right:25px;display:flex;gap:8px}#cruise[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.touch-controls{display:none;position:absolute;left:16px;right:16px;bottom:25px;justify-content:space-between;pointer-events:none}.touch-controls>div{display:flex;gap:9px}.touch-controls button{pointer-events:auto;min-width:56px;height:58px;padding:0 16px;background:#193e34df;border:1px solid #fff6;color:#fff;border-radius:8px;font-size:12px;touch-action:none;user-select:none}.touch-controls button.active{background:#e7b877;color:#1c392d}.touch-controls .pedal-button{background:#e7b877;color:#1c392d}.touch-controls [data-touch=left],.touch-controls [data-touch=right]{font-size:23px}
/* Accessible native dialogs */
.dialog{border:0;border-radius:10px;background:var(--cream);color:var(--ink);padding:42px;max-width:460px;width:calc(100vw - 36px);box-shadow:0 20px 120px #031c1966;max-height:calc(100svh - 40px);overflow:auto}.dialog.wide{max-width:620px}.dialog::backdrop{background:#06231ec4;backdrop-filter:blur(8px)}.dialog-x{position:absolute;right:14px;top:9px;background:transparent;font-size:27px;color:#778776;width:44px}.dialog h2{font-size:35px;letter-spacing:-1.5px;font-weight:500;margin:17px 0}.dialog h3{font-size:15px;font-weight:650;margin:25px 0 10px}.dialog p{font-size:13px;line-height:1.8;color:#6b786c}.dialog .eyebrow{font-size:9px}.dialog .small{font-size:10px;line-height:1.75}.full{width:100%;margin-top:20px}.pause-summary{display:flex;justify-content:space-around;font-size:27px;border-block:1px solid #c4cfc0;padding:22px 0;margin:25px 0 5px;font-variant-numeric:tabular-nums}.dialog-secondary{display:flex;justify-content:space-between;margin-top:14px;gap:16px}.dialog-secondary button,.text-action{color:#6b7e67;background:transparent;font-size:11px}.setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #ccd3c3}.setting b{font-size:12px;font-weight:600}.setting small{display:block;font-size:10px;margin-top:7px;color:#7c8875;line-height:1.6}.setting input[type=checkbox]{appearance:none;-webkit-appearance:none;width:40px;height:24px;min-width:40px;border-radius:20px;background:#c7cebf;cursor:pointer;position:relative;transition:.2s}.setting input[type=checkbox]:after{content:"";position:absolute;background:white;width:18px;height:18px;top:3px;left:3px;border-radius:50%;transition:.2s}.setting input[type=checkbox]:checked{background:#54745a}.setting input[type=checkbox]:checked:after{left:19px}.setting select{border:1px solid #bcc8b4;border-radius:4px;background:#eff0e7;color:var(--ink);font-size:11px;padding:0 9px;min-width:110px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.dialog kbd{background:#e5e8dc;color:#355740;border-color:#b7c5ad;margin:2px}.compatibility-result{background:#e2e7d8;padding:16px;border-left:3px solid #9ca879}.result-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:25px 0;border-block:1px solid #cbd2c0;margin:25px 0 5px}.result-stats small{display:block;font-size:9px;color:#7b8873;margin-bottom:8px}.result-stats strong{font-size:25px;font-weight:500}.text-action{display:block;width:100%;margin-top:10px}#loading{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#183b32;transition:opacity .4s;pointer-events:none}.loader-mark{font-size:25px;font-weight:450;letter-spacing:-2px;color:var(--gold);border:1px solid #e9bf7e6b;width:64px;height:64px;display:grid;place-items:center;border-radius:50%}#loading p{font-size:11px;letter-spacing:1px;color:#c4d1bc}.dots{animation:pulse 1.1s ease-in-out infinite}#fatal,.noscript{position:fixed;inset:0;background:#183b32;z-index:90;padding:10vh 10vw;color:white}#fatal h1{font-weight:450;font-size:45px}#fatal p{max-width:600px;line-height:1.8}#fatal button{background:var(--gold);color:var(--ink);padding:15px 30px;border-radius:5px}@keyframes pulse{50%{opacity:.2}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Shared sizing: preserve browser zoom and keep controls clear of display cutouts. */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
html{scroll-padding-top:20px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.riding{position:fixed;inset:0;overscroll-behavior:none}
#hud{overflow:hidden;user-select:none;-webkit-user-select:none}
.hud-top{margin:calc(20px + var(--safe-top)) calc(20px + var(--safe-right)) 0 calc(20px + var(--safe-left))}
.hud-chip{min-height:44px;min-width:44px;font-size:12px;background:#143a32ed;backdrop-filter:none;-webkit-backdrop-filter:none}
.route-hud{min-width:0}.route-hud>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ride-time{top:calc(20px + var(--safe-top));max-width:240px}
.map-box{right:calc(20px + var(--safe-right));top:calc(92px + var(--safe-top))}
.telemetry{bottom:calc(24px + var(--safe-bottom))}
.ride-hints{left:calc(24px + var(--safe-left));bottom:calc(30px + var(--safe-bottom))}
.ride-actions{right:calc(20px + var(--safe-right));bottom:calc(24px + var(--safe-bottom))}
.telemetry-detail>small,.speed>small,.telemetry-bottom,.energy-caption{font-size:9px;letter-spacing:.7px}
.ride-time>small{font-size:9px;letter-spacing:1px;line-height:1.5}.map-box>span{font-size:11px}
.touch-sprint,.touch-gears,.mobile-help{display:none}
[data-touch]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
[data-touch].active{background:var(--gold);color:var(--ink);box-shadow:inset 0 0 0 2px #fff6}
.touch-controls button{font-size:14px;font-weight:600;min-height:60px;min-width:56px;background:#193e34f2}
.touch-controls .pedal-button{background:var(--gold);color:var(--ink)}
.dialog{width:min(620px,calc(100% - 32px - var(--safe-left) - var(--safe-right)));max-height:calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom));overscroll-behavior:contain;scrollbar-gutter:stable}
.dialog .eyebrow{padding-right:24px}.dialog h2{padding-right:10px}
.setting{min-width:0}.setting>span{min-width:0}.setting b{font-size:14px}.setting small{font-size:12px;color:#64725f}.setting select{max-width:46%;font-size:16px;min-width:112px;min-height:48px}
.setting input{flex-shrink:0}.dialog .small{font-size:12px}.dialog-secondary button,.text-action{font-size:13px}
.mode-label select{font-size:16px;min-height:48px;max-width:170px}.mode-label{font-size:12px}
.footer a,.nav nav a{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:1600px){.environment-label{right:max(56px,calc((100vw - 1380px)/2));top:47%}.hero-copy{padding-top:90px}}
@media(max-height:860px) and (min-width:901px){.hero{min-height:800px}.hero-copy{padding-top:26px}.hero-copy h1{font-size:85px}.environment-label{top:42%}.terrain-card{height:108px}.nav{height:90px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.nav nav{gap:22px}.environment-label{right:32px;width:260px}.hero-copy h1{font-size:88px}.terrain-card{height:112px}.terrain-card .terrain-text{font-size:13px}.terrain-cards{gap:8px}.ride-hints{font-size:10px;max-width:245px}.ride-hints div{gap:3px;flex-wrap:wrap}.experience-heading{gap:40px}}
/* The landing page flows naturally on compact screens; no fixed-height gaps. */
@media(max-width:900px){
 .wrap{width:calc(100% - 40px - var(--safe-left) - var(--safe-right))}
 .nav{height:auto;min-height:84px;padding-top:var(--safe-top);gap:12px}.nav nav{display:none}.nav-tools{gap:4px}.mobile-help{display:block;border-color:var(--border);font-size:19px}.brand>span{font-size:23px}.brand>svg{width:39px}
 .hero{height:auto;min-height:100svh;max-height:none;padding-bottom:8px}.hero-copy{padding-top:30px}.hero-copy h1{font-size:84px;letter-spacing:-5px;margin:24px 0 20px}.hero-copy>p{font-size:14px}.hero-copy .hero-footnote{font-size:12px;line-height:1.6}
 .hero-shade{background:linear-gradient(90deg,#0d2d26bb,transparent),linear-gradient(0deg,#0b2823 0%,#0b2823ba 32%,transparent 76%,#0b28234d 100%)}
 .environment-label{position:relative;top:auto;bottom:auto;left:auto;right:auto;width:calc(100% - 40px - var(--safe-left) - var(--safe-right));max-width:none;margin:32px auto 0;padding:20px 0 0;border-top:1px solid #ffffff36}
 .environment-label h2{font-size:24px;margin:12px 0 8px}.environment-label>p{font-size:13px;max-width:540px}.environment-label>div{font-size:12px;gap:16px;flex-wrap:wrap;padding:12px 0}.live-badge{font-size:10px}
 .mode-label{max-width:440px}.mode-label select{max-width:190px}
 .terrain-shelf{padding-top:24px;margin-top:0}.section-kicker{font-size:10px;letter-spacing:1.4px}.section-kicker span:last-child{display:none}.terrain-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.terrain-card{height:110px}.terrain-card .terrain-text{font-size:15px}
 .hero-bottom{padding:12px 0 0;gap:16px;font-size:9px;letter-spacing:.5px;flex-wrap:wrap}.hero-bottom a{font-size:12px;min-height:44px;display:flex;align-items:center}
 .experience{padding:52px 0}.experience-heading{display:block}.experience h2{font-size:37px}.experience-heading>p{font-size:15px;max-width:100%}.feature-grid{gap:24px;margin-top:32px}.feature-grid h3{font-size:20px}.feature-grid p{font-size:13px}.feature-number{font-size:10px}
 .spatial-note{padding:24px;display:block;margin-top:32px}.spatial-note .button{margin-top:16px}.spatial-note p,.spatial-note .small{font-size:13px}.footer{flex-wrap:wrap;padding:24px 0;gap:12px}.footer>span{display:none}.footer>a:last-child{font-size:12px}
}
/* Touch controls also remain available on tablets with an attached trackpad. */
@media(max-width:900px),(any-pointer:coarse){
 .hud-top{margin:calc(12px + var(--safe-top)) calc(12px + var(--safe-right)) 0 calc(12px + var(--safe-left));gap:8px}
 .hud-top .hud-chip{padding:0 10px}.hud-top .hud-chip span{display:none}.route-hud{margin-left:0;flex:1}.route-hud>b{font-size:14px}.route-hud>span{font-size:9px;letter-spacing:1.5px}#pause{margin-left:0}
 .ride-time{top:calc(68px + var(--safe-top));left:calc(12px + var(--safe-left));transform:none;padding:8px 12px;max-width:190px;text-align:left}.ride-time>span{font-size:20px}.ride-time>small{font-size:9px;letter-spacing:.6px}
 .map-box{top:calc(68px + var(--safe-top));right:calc(12px + var(--safe-right));width:104px;padding-bottom:8px}.map-box canvas{height:80px}.map-box>span{font-size:10px}
 .ride-hints{display:none}.telemetry{bottom:calc(144px + var(--safe-bottom));left:50%;grid-template-columns:56px 82px 56px;padding:12px 10px 10px;backdrop-filter:none;-webkit-backdrop-filter:none}.speed>b{font-size:43px}.telemetry-detail>b{font-size:18px}.telemetry-detail>small{font-size:8px}.telemetry-bottom{margin-top:8px;padding:8px 0;font-size:9px}.energy-caption{font-size:8px;letter-spacing:.6px}
 .ride-actions{left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));bottom:calc(84px + var(--safe-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:380px;margin-left:auto}.ride-actions .hud-chip{padding:0 8px;min-height:48px;font-size:13px}.ride-actions kbd{display:none}.touch-sprint{display:flex}
 .touch-controls{display:flex;left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));bottom:calc(12px + var(--safe-bottom));gap:12px}.touch-controls>div{gap:8px}.touch-controls button{padding:0 14px}
 .touch-gears{position:absolute;display:flex;flex-direction:column;gap:8px;left:calc(12px + var(--safe-left));bottom:calc(144px + var(--safe-bottom));pointer-events:none}.touch-gears button:disabled{cursor:default}.touch-gears button{font-size:22px;padding:0;width:44px;height:44px}
 .toast{top:calc(188px + var(--safe-top));padding:10px 14px;font-size:12px;line-height:1.5;width:max-content;max-width:min(420px,calc(100% - 32px));border-radius:10px}
}
@media(max-width:600px){
 .nav-tools .sound-toggle{display:none}.nav-tools .pill-button{padding:0 12px;font-size:12px}.pill-button span{display:none}.brand{gap:8px}.brand>span{font-size:21px}.brand>svg{width:34px}.brand small{font-size:7px;letter-spacing:2.8px}
 .hero-copy{padding-top:20px}.hero-copy h1{font-size:clamp(64px,17vw,84px)}.hero-actions{gap:10px;flex-wrap:wrap}.hero-actions .button{flex:1 1 150px;min-height:52px;padding:0 14px;font-size:13px;gap:10px}.hero-actions .primary span{margin-left:4px}.hero-copy .hero-footnote{align-items:baseline}.status-dot{flex-shrink:0}
 .feature-grid{grid-template-columns:1fr;gap:20px}.feature-grid article{padding-top:18px}.feature-grid h3{font-size:22px;margin-top:18px}.feature-grid p{font-size:14px}.help-grid{grid-template-columns:1fr;gap:0}
 .terrain-card{height:96px}.terrain-card .terrain-text{font-size:13px;left:8px;right:8px}.terrain-card .terrain-num{left:8px;top:8px;font-size:10px}.terrain-card .check{position:absolute;right:0;bottom:42px}.terrain-cards{gap:8px}.environment-label>div{font-size:11px;gap:12px}
 .dialog{padding:30px 20px 22px}.dialog h2{font-size:30px}.dialog p{font-size:14px}.setting{gap:12px;padding:16px 0}.setting b{font-size:13px}.setting small{font-size:12px}.setting select{min-width:106px;padding:0 5px}.dialog-secondary{gap:8px}.result-stats strong{font-size:22px}
}
@media(max-width:359px){
 .wrap,.environment-label{width:calc(100% - 32px - var(--safe-left) - var(--safe-right))}.brand>svg{width:29px}.brand>span{font-size:20px}.nav{gap:6px}.nav-tools .pill-button{padding:0 8px}.hero-copy>p{font-size:13px}.hero-copy .hero-footnote{font-size:11px}.terrain-card .terrain-text{font-size:12px}.environment-label>div{gap:10px}
 .telemetry{grid-template-columns:49px 76px 49px;padding-inline:9px}.touch-controls button{min-width:52px;padding:0 12px}.touch-controls>div{gap:6px}.touch-controls{gap:8px}.route-hud>b{font-size:12px}.route-hud>span{font-size:8px}
 .toast{top:calc(182px + var(--safe-top));font-size:11px}.ride-time{max-width:180px}
}
/* Keep both thumb zones free in short landscape windows. */
@media(max-height:600px) and (orientation:landscape){
 .hud-top{margin-top:calc(10px + var(--safe-top));gap:8px}.route-hud>b{font-size:13px}.ride-time{top:calc(66px + var(--safe-top));left:calc(12px + var(--safe-left));transform:none;padding:6px 10px;max-width:180px}.ride-time>span{font-size:18px}.ride-time>small{font-size:8px}
 .map-box{top:calc(66px + var(--safe-top));width:90px}.map-box canvas{height:64px}.map-box>span{font-size:9px}
 .telemetry{bottom:calc(12px + var(--safe-bottom));grid-template-columns:40px 64px 40px;padding:8px;text-align:center}.telemetry .speed>b{font-size:32px}.telemetry-detail>b{font-size:15px}.telemetry-detail>small{font-size:7px;margin-bottom:5px}.speed>small{font-size:7px;margin-top:4px}.telemetry-bottom,.energy-caption{display:none}.energy-line{margin-top:8px}
 .ride-actions{left:auto;right:calc(12px + var(--safe-right));bottom:calc(84px + var(--safe-bottom));width:190px;gap:6px}.ride-actions .hud-chip{padding:0 4px;font-size:11px;min-height:44px}
 .touch-gears{bottom:calc(84px + var(--safe-bottom));flex-direction:row;gap:8px}.touch-controls{bottom:calc(12px + var(--safe-bottom))}.touch-controls button{min-height:56px;height:56px}.toast{top:calc(120px + var(--safe-top));max-width:230px;font-size:11px;padding:8px 12px}.ride-hints{display:none}
 .dialog{max-height:calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));padding-top:24px;padding-bottom:20px}
}
@media(max-height:360px) and (orientation:landscape){.map-box canvas{display:none}.map-box{padding:10px;width:112px}.toast{top:calc(80px + var(--safe-top));max-width:210px}.ride-time{max-width:156px}.ride-time>small{font-size:7px}}

/* Browser zoom can produce very short, narrow windows. Keep core controls usable. */
@media(max-width:500px) and (max-height:500px){
 .hud-top{margin-top:calc(8px + var(--safe-top))}
 .telemetry{top:calc(60px + var(--safe-top));bottom:auto;left:50%;display:block;padding:4px 8px;min-width:64px}
 .telemetry-detail,.telemetry-bottom,.energy-line,.energy-caption{display:none}.telemetry .speed>b{font-size:23px;letter-spacing:-1px}.speed>small{display:inline;margin-left:5px;font-size:8px;letter-spacing:0}
 .ride-time{top:calc(62px + var(--safe-top));max-width:80px;padding:4px 8px}.ride-time>span{font-size:14px}.ride-time>small{display:none}
 .map-box{top:calc(62px + var(--safe-top));padding:8px 4px;width:96px}.map-box canvas{display:none}.map-box>span{font-size:9px}
 .ride-actions{left:auto;right:calc(12px + var(--safe-right));width:190px;bottom:calc(84px + var(--safe-bottom));gap:6px}.ride-actions .hud-chip{min-height:44px;padding:0 4px;font-size:11px}
 .touch-gears{bottom:calc(84px + var(--safe-bottom));flex-direction:row}.touch-controls button{height:56px;min-height:56px}
 .toast{width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* Readable type and a terrain-first setup flow. */
:root {
 --muted: #344d40;
 font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.hero {
 height: auto;
 min-height: min(100svh, 1080px);
 max-height: none;
 padding-bottom: 0;
}
.hero-shade {
 background: linear-gradient(90deg, #081e194d 0%, #081e191f 34%, #081e1900 66%),
  linear-gradient(0deg, #0c2822cc 0%, #0c282236 18%, #0c282200 44%, #0c282200 84%, #0c282226 100%);
}
.nav { height: 96px; padding-top: var(--safe-top); }
.nav .brand { min-height: 44px; }
.nav nav { font-size: 14px; font-weight: 500; color: #f7f6ee; }
.brand small { font-size: 9px; letter-spacing: 2.5px; color: #e5eadf; }
.pill-button { background: #102c25e8; border-color: #b5c8b966; font-size: 13px; }
.hero-copy { padding-top: 32px; padding-bottom: 40px; }
.eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: 1.8px; color: #f2e3c6; }
.hero-copy h1 {
 font-size: clamp(72px, 7.2vw, 104px);
 line-height: 1.02;
 letter-spacing: -.055em;
 font-weight: 600;
 margin: 22px 0;
 color: #fffaf0;
}
.hero-copy > .hero-description {
 width: fit-content;
 max-width: 100%;
 margin: 0;
 padding: 14px 18px;
 border-left: 3px solid var(--gold);
 border-radius: 0 8px 8px 0;
 background: #102c25;
 color: #fffaf0;
 font-size: 18px;
 line-height: 1.75;
 font-weight: 500;
 text-wrap: pretty;
}
.hero-copy h1 { text-shadow: 0 2px 3px #081e19cc, 0 4px 18px #081e19b3; -webkit-text-stroke: .5px #183b3266; }
.hero-copy .eyebrow { width: fit-content; padding: 6px 10px; border-radius: 4px; background: #102c25e6; }
.nav .brand, .nav nav { text-shadow: 0 1px 3px #081e19, 0 2px 10px #081e19; }
.terrain-shelf { margin-top: auto; padding-top: 10px; }
.section-kicker { align-items: center; gap: 20px; margin-bottom: 16px; padding: 10px 14px; border-radius: 6px; background: #102c25; color: #e5eee1; font-size: 11px; letter-spacing: 1.5px; }
.section-kicker h2 { margin: 0; color: #fffaf0; font-size: 18px; font-weight: 600; letter-spacing: -.2px; }
.terrain-card { height: 126px; border-radius: 8px; border-color: #bacab65c; }
.terrain-card::before { background: linear-gradient(0deg, #0b241ffc 0%, #0b241fd9 25%, #0b241f00 80%); }
.terrain-card .terrain-num {
 top: 10px; left: 10px; padding: 4px 6px;
 border-radius: 4px; background: #102c25ed;
 font-size: 11px; line-height: 1; font-weight: 600; color: #fff8e8;
}
.terrain-card .terrain-text { bottom: 12px; left: 12px; right: 12px; font-size: 16px; font-weight: 600; color: #fff; }
.terrain-card[aria-pressed=true] { border-color: #f3cd8c; box-shadow: 0 0 0 2px #f3cd8c33; }
.terrain-card .check { font-size: 12px; font-weight: 700; }
.ride-setup {
 display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
 gap: 32px; margin-top: 20px; padding: 24px;
 background: #102c25; border: 1px solid #b5c8b93d; border-radius: 10px;
}
.environment-label {
 position: static; width: auto; max-width: none; margin: 0; padding: 0;
 border: 0; text-shadow: none; min-width: 0;
}
.live-badge { font-size: 10px; line-height: 1.5; letter-spacing: 1.6px; color: #dbe6d9; }
.environment-label h2 { margin: 9px 0 6px; color: #fffaf0; font-size: 26px; font-weight: 600; letter-spacing: -.6px; }
.environment-label > p { max-width: 540px; font-size: 14px; line-height: 1.6; color: #eef4e9; margin-bottom: 10px; }
.environment-label > .route-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0 0; font-size: 12px; line-height: 1.5; color: #e5eee1; border-color: #b5c8b933; }
.ride-launch { align-self: center; min-width: 0; }
.mode-label { border: 0; max-width: none; font-size: 14px; font-weight: 500; color: #eef3e9; }
.mode-label select {
 min-width: 176px; max-width: 220px; padding: 0 12px; border: 1px solid #c3d0bf80;
 border-radius: 6px; background: #1b3d32; color: #fffaf0; font-size: 16px;
}
.hero-actions { margin-top: 16px; gap: 12px; }
.hero-actions .button { flex: 1 1 0; padding: 0 16px; min-height: 54px; font-size: 14px; gap: 8px; }
.hero-actions .primary span { margin-left: 4px; }
.primary { background: #efc88b; color: #173529; }
.glass { background: #1b3d32; border-color: #c3d0bf80; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-footnote { display: flex; align-items: baseline; gap: 8px; margin: 13px 0 0; font-size: 12px; line-height: 1.6; color: #e5eee1; }
.status-dot { flex-shrink: 0; }
.hero-bottom { padding: 14px 0 20px; font-size: 10px; line-height: 1.5; letter-spacing: 1.2px; color: #d3dfd2; }
.hero-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #f1f2e8; }
.experience { padding: 80px 0; }
.experience .dark, .dialog .dark { color: #3b5130; }
.experience h2 { font-weight: 600; letter-spacing: -.035em; }
.experience h2 em { color: #405b31; }
.experience-heading > p, .feature-grid p { font-size: 16px; line-height: 1.75; color: #304b3d; }
.feature-number { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: #3b5130; }
.feature-grid h3 { font-weight: 600; }
.spatial-note h3 { font-weight: 600; }
.spatial-note p { font-size: 15px; color: #304b3d; }
.spatial-note .small { font-size: 13px; color: #344d40; }
.dialog h2 { font-weight: 600; letter-spacing: -.035em; }
.dialog p, .setting small { color: #344d40; }
.dialog p { font-size: 15px; }
.dialog .small, .setting small { font-size: 13px; }
.dialog .eyebrow { font-size: 11px; color: #3b5130; }
.dialog-secondary button, .text-action, .dialog-x { color: #304b3d; }
.hud-chip, .ride-time, .map-box, .telemetry { background-color: #102c25; }
.route-hud { background: #102c25f2; border-radius: 4px; box-shadow: 0 0 0 5px #102c25f2; }
.map-box > span, .telemetry-detail > small, .telemetry-detail em, .telemetry-bottom, .energy-caption { color: #edf3e7; }
.ride-hints { background: #102c25; color: #fffaf0; border-radius: 6px; box-shadow: 0 0 0 8px #102c25; text-shadow: none; font-size: 11px; }
kbd { background: #1b3d32; color: #fffaf0; }
.dialog kbd { font-size: 12px; color: #183b32; }
.toast { background: #102c25; color: #fffaf0; }
.touch-controls button { background-color: #102c25; }
.result-stats small { color: #344d40; font-size: 12px; }
.dialog :is(button, a, input, select):focus-visible { outline-color: #183b32; }
.route-hud > span, .ride-time > small, .telemetry-detail > small, .speed > small, .energy-caption, .map-box > span { font-size: 10px; letter-spacing: .6px; }

@media (max-height: 600px) and (orientation: landscape) {
 .telemetry-detail > small, .speed > small { font-size: 9px; letter-spacing: 0; }
}

@media (min-width: 1600px) {
 .hero-copy { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 1100px) {
 .hero-copy h1 { font-size: 84px; }
 .ride-setup { gap: 24px; padding: 20px; grid-template-columns: minmax(0, 1fr) 380px; }
 .hero-actions .button { padding-inline: 12px; font-size: 13px; }
 .terrain-card .terrain-text { font-size: 14px; }
}
@media (max-width: 900px) {
 .nav { min-height: 88px; height: auto; }
 .hero-shade { background: linear-gradient(180deg, #0a241d33 0%, #0a241d1a 28%, #0c28221f 52%, #0c282299 85%, #0c2822cc 100%); }
 .nav-tools { gap: 8px; }
 .mobile-help { width: auto; min-width: 78px; padding: 0 12px; border-radius: 24px; font-size: 13px; font-weight: 500; background: #102c25e8; border-color: #b5c8b966; }
 .hero-copy { padding-top: 26px; padding-bottom: 32px; }
 .hero-copy h1 { font-size: 78px; }
 .hero-copy > .hero-description { font-size: 17px; }
 .terrain-shelf { padding-top: 0; }
 .section-kicker span:last-child { display: block; }
 .terrain-card { height: 116px; }
 .terrain-card .terrain-text { font-size: 16px; }
 .ride-setup { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
 .environment-label h2 { font-size: 24px; }
 .ride-launch { border-top: 1px solid #b5c8b933; padding-top: 16px; }
 .hero-actions .button { font-size: 15px; }
 .hero-bottom { gap: 4px 16px; }
 .experience { padding: 52px 0; }
 .experience-heading { display: block; }
 .experience h2 { font-size: 38px; }
 .feature-grid { gap: 24px; }
 .feature-grid p { font-size: 15px; }
 .spatial-note { padding: 24px; }
}
@media (max-width: 600px) {
 .nav { gap: 12px; flex-wrap: wrap; padding-top: calc(16px + var(--safe-top)); padding-bottom: 12px; }
 .brand { gap: 8px; }
 .brand > span { font-size: 23px; }
 .brand > svg { width: 36px; }
 .brand small { font-size: 8px; letter-spacing: 2px; }
 .nav-tools { gap: 8px; }
 .nav-tools .pill-button { font-size: 13px; padding: 0 13px; }
 .hero-copy { padding-top: 18px; padding-bottom: 30px; }
 .hero-copy h1 { font-size: clamp(64px, 16vw, 78px); margin: 19px 0; }
 .hero-copy > .hero-description { padding: 13px 14px; font-size: 16px; }
 .hero-copy > p br { display: none; }
 .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
 .section-kicker { margin-bottom: 12px; }
 .section-kicker h2 { font-size: 18px; }
 .section-kicker span:last-child { display: none; }
 .terrain-card { height: 104px; }
 .terrain-card .terrain-text { left: 8px; right: 8px; bottom: 10px; font-size: 13px; }
 .terrain-card .terrain-num { top: 8px; left: 8px; font-size: 10px; }
 .terrain-card .check { right: 0; bottom: 58px; }
 .ride-setup { margin-top: 16px; padding: 18px; gap: 16px; }
 .environment-label h2 { font-size: 23px; }
 .environment-label > p { font-size: 14px; }
 .environment-label > .route-facts { gap: 6px 14px; font-size: 12px; }
 .mode-label { font-size: 14px; }
 .mode-label select { min-width: 0; width: 172px; max-width: 65%; }
 .hero-actions { flex-direction: column; gap: 10px; }
 .hero-actions .button { flex: auto; width: 100%; min-height: 52px; }
 .hero-footnote { font-size: 12px; }
 .hero-bottom { padding-top: 12px; }
 .experience h2 { font-size: 34px; }
 .experience-heading > p, .feature-grid p { font-size: 15px; }
 .spatial-note { padding: 20px; }
}
@media (max-width: 430px) {
 .nav-tools { width: 100%; justify-content: flex-start; }
 .nav-tools .mobile-help, .nav-tools .pill-button { min-height: 44px; }
 .hero-copy { padding-top: 12px; }
 .hero-copy h1 { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .terrain-card, .terrain-card img { transition: none; }
}
