@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root { --bg: #1e1f22; --bg-deep: #191a1d; --panel: #26282c; --panel-2: #2f3237; --text: #e6e7e9; --muted: #9aa0a6; --accent: #4f7cff; --accent-dark: #3a63dd; --border: #3a3d43; --section-rgb: 79, 124, 255; --header-height: 64px; --footer-height: 48px; --page-width: 1240px; --gutter: 40px; --page-edge: max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))); --radius: 10px; --radius-large: 14px; --raised: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 0 rgba(0, 0, 0, 0.5), 0 6px 24px rgba(0, 0, 0, 0.45); --raised-high: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 0 rgba(0, 0, 0, 0.5), 0 14px 34px rgba(0, 0, 0, 0.5); }

[data-section="render"] { --section-rgb: 79, 124, 255; }
[data-section="save-editing"] { --section-rgb: 46, 204, 154; }
[data-section="local-modding"] { --section-rgb: 179, 107, 255; }
[data-section="fleet"] { --section-rgb: 255, 160, 70; }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-height); scroll-padding-bottom: var(--footer-height); background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; color: var(--text); font: 18px/1.55 "Barlow", "Segoe UI", system-ui, sans-serif; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: Consolas, monospace; font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: "Barlow Condensed", "Segoe UI", sans-serif; font-weight: 700; line-height: 1; text-transform: uppercase; }
h2 { font-size: 64px; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 10px; border-radius: 2px; background: rgb(var(--section-rgb)); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
h3 { font-size: 30px; }

.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: var(--raised); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.card:hover { border-color: rgba(var(--section-rgb), 0.5); box-shadow: var(--raised-high); transform: translateY(-3px); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg-deep); border-bottom: 1px solid var(--border); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); padding: 0 var(--page-edge); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; text-decoration: none; }
.brand em { color: var(--accent); font-style: normal; }
.nav-toggle { display: none; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 16px; }
.nav-links a:not(.button) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.button):hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active { box-shadow: 0 3px 0 var(--accent); }

.button { display: inline-block; padding: 12px 24px 11px; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 3px 0 var(--accent-dark), 0 8px 18px rgba(0, 0, 0, 0.35); transition: transform 0.1s, box-shadow 0.1s, filter 0.15s; }
.button:hover { filter: brightness(1.08); }
.button:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 0 var(--accent-dark), 0 3px 8px rgba(0, 0, 0, 0.35); }
.button-small { padding: 6px 14px 5px; font-size: 15px; }
.text-link { font-weight: 600; text-underline-offset: 3px; }
.text-link:hover { color: rgb(var(--section-rgb)); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.hero { position: relative; min-height: clamp(640px, calc(100vh - var(--header-height) - var(--footer-height) - 54px), 860px); padding: 36px var(--page-edge) 48px; overflow: hidden; background: url("../images/road.svg?v=12") bottom / 100% 15% no-repeat, linear-gradient(120deg, rgba(79, 124, 255, 0.16), transparent 60%), var(--bg); }
.hero-copy { position: relative; z-index: 1; max-width: 520px; }
.hero h1 { font-size: clamp(84px, 8.4vw, 132px); line-height: 0.9; text-shadow: 0 1px 0 #c5c7cb, 0 2px 0 #9aa0a6, 0 3px 0 #5d6168, 0 8px 14px rgba(0, 0, 0, 0.5); }
.hero h1 span { color: var(--accent); text-shadow: 0 1px 0 #3f68e6, 0 2px 0 #3358c4, 0 3px 0 #27449a, 0 8px 14px rgba(0, 0, 0, 0.5); }
.lead { max-width: 440px; margin: 22px 0; color: #c5c7cb; font-size: 19px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.hero-trucks { position: absolute; z-index: 2; right: max(-70px, calc((100vw - 1500px) / 2)); bottom: 2.5%; width: min(58vw, 880px); transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0); transition: transform 0.3s ease-out; animation: roll-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes roll-in { from { opacity: 0; translate: 90px 0; } }

.ticker { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-deep); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: flex; align-items: center; gap: 10px; padding: 11px 24px; color: var(--muted); font-size: 16px; font-weight: 600; white-space: nowrap; }
.ticker span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--section-rgb)); }
@keyframes ticker { to { transform: translateX(-50%); } }

.live-band[hidden], .live-stats[hidden], .discord-widget[hidden] { display: none; }
.live-band { padding: 18px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.live-inner { display: flex; gap: 14px; padding: 0 var(--page-edge); }
.live-stats { flex: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.live-stats div { display: flex; flex-direction: column-reverse; justify-content: center; padding: 12px 16px; }
.live-stats dt { color: var(--muted); font-size: 15px; }
.live-stats dd { font-family: "Barlow Condensed", sans-serif; font-size: 38px; font-weight: 700; line-height: 1.05; }
.discord-widget { flex: 2; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-color: rgba(88, 101, 242, 0.55); background: linear-gradient(120deg, rgba(88, 101, 242, 0.28), rgba(88, 101, 242, 0.08)), var(--panel); text-decoration: none; }
.discord-widget:hover { border-color: #5865f2; }
.discord-counts { display: flex; flex-direction: column; flex: 1; min-width: 0; color: var(--muted); font-size: 15px; line-height: 1.3; }
.discord-counts strong { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 20px; font-weight: 600; }
.discord-dot { width: 10px; height: 10px; border-radius: 50%; background: #2ecc9a; box-shadow: 0 0 0 3px rgba(46, 204, 154, 0.2); }
.discord-join { padding: 7px 14px; border-radius: var(--radius); background: #5865f2; color: #fff; font-size: 15px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 0 #4450c9; white-space: nowrap; }

.showroom-band { padding: 56px 0 0; background: linear-gradient(120deg, rgba(79, 124, 255, 0.1), transparent 60%), var(--bg); }
.showroom-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 0 var(--page-edge) 26px; }
.showroom-head p { margin: 10px 0 0; color: var(--muted); }
.showroom-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.showroom-tabs button { padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); font-size: 16px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 0 rgba(0, 0, 0, 0.45); transition: transform 0.12s, background 0.15s; }
.showroom-tabs button:hover { background: var(--panel-2); transform: translateY(-1px); }
.showroom-tabs button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.showroom { position: relative; height: min(640px, 64vh); min-height: 420px; background: linear-gradient(#22242a 0 46%, var(--bg-deep) 46%); border-block: 1px solid var(--border); box-shadow: inset 0 10px 22px rgba(0, 0, 0, 0.3); }
.showroom-canvas { display: block; width: 100%; height: 100%; cursor: grab; outline: 0; }
.showroom-canvas:active { cursor: grabbing; }
.showroom-label { position: absolute; bottom: 20px; left: var(--page-edge); pointer-events: none; }
.showroom-label h3 { font-size: 36px; }
.showroom-label p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.showroom-status { position: absolute; top: 50%; left: 50%; margin: 0; color: var(--muted); font-size: 16px; transform: translate(-50%, -50%); pointer-events: none; }
.showroom-status:empty { display: none; }
.showroom-controls { position: absolute; right: var(--page-edge); bottom: 20px; display: flex; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--raised); overflow: hidden; }
.showroom-controls button { min-width: 38px; height: 36px; padding: 0 12px; border: 0; background: var(--panel); font-size: 15px; }
.showroom-controls button:hover { background: var(--panel-2); }
.showroom-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 16px var(--page-edge); color: var(--muted); font-size: 15px; }
.showroom-foot p { margin: 0; }
.showroom-foot .text-link { color: var(--text); }

.section { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 64px var(--gutter) 0; }
.section-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 32px; padding-bottom: 72px; }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.video-card { margin: 0; overflow: hidden; }
.video-frame { position: relative; background: var(--bg-deep); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; padding: 0 0 0 5px; border: 0; border-radius: 50%; background: rgb(var(--section-rgb)); color: #fff; font-size: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 0 rgba(0, 0, 0, 0.35), 0 12px 24px rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%); transition: transform 0.12s, filter 0.15s; }
.video-play::before { content: "\25B6"; }
.video-play:hover { filter: brightness(1.08); }
.video-play:active { transform: translate(-50%, calc(-50% + 2px)); }
.video-play[hidden] { display: none; }
.video-card figcaption { display: flex; flex-direction: column; padding: 14px 18px; }
.video-card strong { font-family: "Barlow Condensed", sans-serif; font-size: 25px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.video-card span { color: var(--muted); font-size: 16px; }

.explorer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); align-items: start; gap: 32px; margin-top: 28px; }
.explorer-tabs { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-large); background: var(--bg-deep); box-shadow: var(--raised); }
.explorer-tabs button, .explorer-soon { display: block; position: relative; width: 100%; padding: 10px 14px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; text-align: left; transition: background 0.15s, border-color 0.15s; }
.explorer-tabs strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 25px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.explorer-tabs span { color: var(--muted); font-size: 15px; }
.explorer-tabs button:hover { background: rgba(255, 255, 255, 0.05); }
.explorer-tabs button[aria-selected="true"] { border-color: rgba(var(--section-rgb), 0.35); background: rgba(var(--section-rgb), 0.14); }
.explorer-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: -11px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: rgb(var(--section-rgb)); }
.explorer-tabs button[aria-selected="true"] strong { color: rgb(var(--section-rgb)); }
.explorer-soon strong { color: var(--muted); }
.explorer-soon span { color: rgb(var(--section-rgb)); }
.explorer-window { position: relative; overflow: hidden; border: 1px solid rgba(var(--section-rgb), 0.32); border-radius: var(--radius-large); background: var(--panel); box-shadow: var(--raised-high); }
.explorer-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.panel-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 20px; font-size: 16px; line-height: 1.45; }
.panel-copy p { margin: 0; color: var(--muted); }
.panel-copy li { margin-top: 5px; padding-left: 16px; text-indent: -16px; }
.panel-copy li:first-child { margin-top: 0; }
.panel-copy li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: rgb(var(--section-rgb)); vertical-align: 0.14em; }

[data-tilt] { transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 0.2s ease-out; }

.night { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); align-items: start; gap: 28px 32px; }
.night-copy p { margin: 16px 0 0; color: var(--muted); }
.compare { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-large); box-shadow: var(--raised-high); --reveal: 50%; }
.compare img { width: 100%; }
.compare-top { position: absolute; inset: 0; height: 100%; clip-path: inset(0 0 0 var(--reveal)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 3px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.compare-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 var(--accent-dark), 0 8px 16px rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.scene-title { grid-column: 1 / -1; margin-top: 16px; }
.scene-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scene-grid li { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--raised); }
.scene-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 60%; }
.scene-grid span { position: absolute; left: 10px; bottom: 10px; padding: 3px 11px; border: 1px solid rgba(var(--section-rgb), 0.5); border-radius: 999px; background: rgba(25, 26, 29, 0.88); font-size: 14px; font-weight: 600; }

.release-meta { margin: 16px 0 0; color: var(--muted); }
.release-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; margin-top: 20px; }
.release-grid:empty { display: none; }
.release-group { padding: 18px; }
.release-group h3 { padding-bottom: 8px; border-bottom: 1px solid rgba(var(--section-rgb), 0.5); color: rgb(var(--section-rgb)); font-size: 25px; }
.release-group li { margin-top: 9px; padding-left: 15px; font-size: 16px; line-height: 1.4; text-indent: -15px; }
.release-group li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: rgb(var(--section-rgb)); vertical-align: 0.14em; }
.release-link { display: inline-block; margin-top: 18px; }

.spec-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr); align-items: start; gap: 18px; margin-top: 26px; }
.spec-grid .card { padding: 18px; }
.spec-grid h3 { padding-bottom: 8px; border-bottom: 1px solid rgba(var(--section-rgb), 0.5); color: rgb(var(--section-rgb)); font-size: 25px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
.spec-table th, .spec-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table thead th { color: var(--muted); font-size: 14px; font-weight: 600; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:last-child { white-space: nowrap; }
.spec-list div { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 1.35; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: 14px; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; counter-reset: step; }
.steps li { padding: 20px; counter-increment: step; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 26px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 var(--accent-dark); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.testimonial-card { margin: 0; padding: 20px; }
.testimonial-card blockquote { margin: 0; font-size: 19px; line-height: 1.4; }
.testimonial-card figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.placeholder-badge { margin-left: 6px; color: #ffa046; font-size: 13px; font-weight: 600; }

.faq-list details { margin-bottom: 8px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 0 rgba(0, 0, 0, 0.4); }
.faq-list details[open] { border-color: rgba(var(--section-rgb), 0.5); }
.faq-list summary { padding: 12px 0; font-weight: 600; cursor: pointer; }
.faq-list details[open] summary { color: rgb(var(--section-rgb)); }
.faq-list p { margin: 0 0 14px; color: var(--muted); }

.download { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: linear-gradient(120deg, rgba(79, 124, 255, 0.2), transparent 65%), var(--bg-deep); }
.download-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; max-width: var(--page-width); margin: 0 auto; padding: 48px var(--gutter) 0; }
.download-copy { padding-bottom: 48px; }
.download p { margin: 12px 0 22px; color: var(--muted); }
.download p.download-linux { margin: 18px 0 0; font-size: 16px; }
.download-truck { justify-self: end; width: 100%; max-width: 640px; margin-bottom: -6px; }

.not-found-page main { display: grid; place-items: center; padding: 48px var(--gutter); background: url("/images/road.svg?v=12") bottom / 100% 26% no-repeat, linear-gradient(120deg, rgba(79, 124, 255, 0.16), transparent 60%), var(--bg); }
.not-found { max-width: 560px; margin-bottom: 15vh; text-align: center; }
.not-found h1 { font-size: 120px; line-height: 0.95; text-shadow: 0 1px 0 #3f68e6, 0 2px 0 #3358c4, 0 3px 0 #27449a, 0 8px 14px rgba(0, 0, 0, 0.5); color: var(--accent); }
.not-found p { margin: 16px 0 24px; color: var(--muted); font-size: 20px; }
.not-found .actions { justify-content: center; }

.site-footer { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--footer-height); padding: 0 var(--page-edge); border-top: 1px solid var(--border); background: var(--bg-deep); box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.35); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .nav-links { gap: 16px; font-size: 15px; }
  .lead, .hero-note { max-width: 340px; }
  .explorer, .night, .section-split { grid-template-columns: minmax(0, 1fr); }
  .explorer-tabs { flex-direction: row; flex-wrap: wrap; }
  .explorer-tabs button, .explorer-soon { flex: 1 1 30%; width: auto; }
  .explorer-tabs button[aria-selected="true"]::before { display: none; }
  .spec-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spec-grid > :first-child { grid-column: 1 / -1; }
  .release-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-trucks, .ticker-track { animation: none; }
  [data-tilt], .hero-trucks, .card { transition: none; transform: none; }
}
