:root {
  color-scheme: dark;
  --bg: #07111b;
  --bg-soft: #0b1724;
  --panel: #102130;
  --panel-2: #0c1a26;
  --text: #f7fbff;
  --muted: #b8c5cf;
  --line: rgba(255,255,255,.12);
  --green: #16c75f;
  --green-dark: #0ca347;
  --focus: #8fe6ff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(5,13,22,.88); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 52px; filter: brightness(0) invert(1); }
.brand-copy { display: grid; }
.brand-copy strong { font-size: 1.35rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .76rem; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; color: #edf4f8; }
.main-nav a { padding: 10px 2px; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: #fff; }
.language-control select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #0a1722; color: var(--text); padding: 0 34px 0 12px; }

.hero { position: relative; min-height: 650px; overflow: hidden; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,11,18,.98) 0%, rgba(4,11,18,.93) 34%, rgba(4,11,18,.45) 66%, rgba(4,11,18,.18) 100%), linear-gradient(0deg, rgba(4,11,18,.7), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding-block: 72px 88px; }
.hero-copy { max-width: 670px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: #a9eec6; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
h1 { margin: 0; max-width: 850px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero-description { max-width: 700px; color: #dce6ec; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.hero-points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: 1.02rem; font-weight: 650; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li > span:first-child { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--green); color: white; font-weight: 900; }
.download-block { display: grid; justify-items: start; gap: 5px; }
.download-cta { min-height: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border-radius: 12px; background: linear-gradient(180deg, #18cf62, #0eb34e); box-shadow: 0 16px 42px rgba(8,190,80,.28); color: white; font-weight: 900; font-size: 1.12rem; }
.download-cta:hover { background: linear-gradient(180deg, #22df70, #12ba54); transform: translateY(-1px); }
.android-mark { font-size: 1.3rem; }
.download-meta { margin-top: 4px; color: #e8f4eb; font-size: .92rem; }
.download-block small { color: #b8c8c0; }

.core-strip { position: relative; z-index: 3; margin-top: -36px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(8,22,33,.96); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.core-item { min-height: 110px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 18px; font-weight: 800; text-align: center; }
.core-item + .core-item { border-left: 1px solid var(--line); }
.core-icon { color: #c8e6ff; font-size: 2rem; line-height: 1; }

.section { padding-block: 96px; }
.section-dark { background: #081522; border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.04; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(17,34,48,.92), rgba(11,24,35,.9)); }
.feature-card h3 { margin: 14px 0 8px; font-size: 1.16rem; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(22,199,95,.13); color: #7defaa; font-size: 1.45rem; }
.screenshot-grid { min-height: 180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.screenshot-grid:empty::before { content: "Truck Life"; display: grid; place-items: center; grid-column: 1/-1; min-height: 180px; border: 1px dashed rgba(255,255,255,.18); border-radius: 16px; color: #7890a2; }
.screenshot-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #06131d; box-shadow: 0 18px 36px rgba(0,0,0,.28); }
.screenshot-card img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: install; display: grid; gap: 16px; }
.install-steps li { counter-increment: install; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; min-width: 0; padding: 18px 20px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; }
.install-steps li::before { content: counter(install); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--green); font-weight: 900; }
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #0b1b28; }
summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; padding: 14px 18px; font-weight: 800; }
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #050c13; padding-block: 28px; }
.footer-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.footer-brand { display: grid; gap: 4px; color: var(--muted); }
.footer-brand strong { color: var(--text); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }

body > header + main > :not(.hero), .site-footer { position: relative; }
body:not(:has(.hero)) main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; }
body:not(:has(.hero)) main h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
body:not(:has(.hero)) main p { color: var(--muted); }
body:not(:has(.hero)) header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(860px, calc(100% - 40px)); margin: 0 auto; }
body:not(:has(.hero)) footer { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 60px; }

@media (max-width: 900px) {
  .header-inner { min-height: 68px; gap: 14px; }
  .brand-copy small { display: none; }
  .main-nav { display: none; }
  .language-control { margin-left: auto; }
  .hero { min-height: 620px; }
  .hero-media { object-position: 68% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,11,18,.98), rgba(4,11,18,.8) 70%, rgba(4,11,18,.5)), linear-gradient(0deg, rgba(4,11,18,.78), transparent 55%); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .brand img { width: 42px; }
  .brand-copy strong { font-size: 1.1rem; }
  .language-control select { max-width: 118px; }
  .hero { min-height: 700px; align-items: end; }
  .hero-content { padding-block: 60px 72px; }
  .hero-media { object-position: 72% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,10,16,.98) 12%, rgba(3,10,16,.82) 58%, rgba(3,10,16,.45) 100%); }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-description { font-size: 1rem; }
  .hero-points { font-size: .96rem; }
  .download-cta { width: 100%; min-height: 60px; padding-inline: 18px; text-align: center; }
  .download-block { justify-items: stretch; }
  .download-meta, .download-block small { text-align: center; }
  .core-strip { margin-top: -26px; grid-template-columns: repeat(5, minmax(72px, 1fr)); overflow-x: auto; }
  .core-item { min-height: 92px; min-width: 82px; padding: 14px 8px; font-size: .78rem; }
  .core-icon { font-size: 1.5rem; }
  .section { padding-block: 68px; }
  .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.security-note { margin-top: 18px; color: var(--muted); font-size: .92rem; border-left: 3px solid var(--green); padding-left: 14px; }

.download-cta--disabled,
.download-cta[aria-disabled="true"] {
  opacity: .72;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(.55);
}
