:root {
      --bg: #080a0d;
      --bg-2: #0c0f13;
      --panel: #10141a;
      --panel-2: #141920;
      --panel-3: #0e1217;
      --line: #242b34;
      --line-soft: rgba(255,255,255,.075);
      --text: #f4f6f8;
      --muted: #979fa9;
      --muted-2: #737c87;
      --accent: #ff7a00;
      --accent-2: #ff9f35;
      --accent-soft: rgba(255,122,0,.13);
      --green: #3ed680;
      --danger: #ff625c;
      --radius: 12px;
      --container: 1180px;
      --shadow: 0 24px 70px rgba(0,0,0,.38);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 74% 6%, rgba(255,122,0,.08), transparent 26rem),
        radial-gradient(circle at 12% 16%, rgba(255,255,255,.035), transparent 24rem),
        var(--bg);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.5;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 999;
      opacity: .035;
      background-image:
        repeating-radial-gradient(circle at 0 0, transparent 0, #fff 1px, transparent 2px, transparent 4px);
      background-size: 5px 5px;
      mix-blend-mode: soft-light;
    }

    a { color: inherit; text-decoration: none; }
    button, input { font: inherit; }

    .container {
      width: min(var(--container), calc(100% - 40px));
      margin: 0 auto;
    }

    .nav-wrap {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(8,10,13,.86);
      border-bottom: 1px solid var(--line-soft);
      backdrop-filter: blur(16px);
    }

    nav {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      font-weight: 900;
      letter-spacing: -.03em;
      font-size: 24px;
      white-space: nowrap;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 7px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, var(--accent-2), var(--accent));
      color: #0a0c0f;
      font-weight: 950;
      font-style: italic;
      transform: skewX(-10deg);
      box-shadow: 0 0 28px rgba(255,122,0,.18);
    }

    .brand .ride { color: #fff; }
    .brand .smp { color: var(--accent); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      margin-left: auto;
    }

    .nav-links a {
      color: #c2c7cd;
      font-size: 14px;
      font-weight: 700;
      transition: .2s ease;
      position: relative;
    }

    .nav-links a:hover { color: #fff; }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: .2s ease;
    }

    .nav-links a:hover::after { width: 100%; }

    .nav-download {
      margin-left: 2px;
      border: 1px solid rgba(255,122,0,.55);
      border-radius: 8px;
      color: #fff !important;
      padding: 10px 14px;
      background: rgba(255,122,0,.07);
    }

    .menu-btn {
      margin-left: auto;
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: var(--panel);
      color: #fff;
      border-radius: 8px;
      cursor: pointer;
    }

    .hero {
      position: relative;
      min-height: 610px;
      display: flex;
      align-items: center;
      overflow: hidden;
      border-bottom: 1px solid var(--line-soft);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(8,10,13,1) 0%, rgba(8,10,13,.97) 37%, rgba(8,10,13,.58) 66%, rgba(8,10,13,.78) 100%),
        linear-gradient(180deg, transparent 70%, var(--bg) 100%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      width: 100%;
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 34px;
      align-items: center;
      padding: 80px 0 74px;
    }

    .hero-copy {
      position: relative;
      z-index: 4;
      max-width: 690px;
    }

    .eyebrow {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      color: #ffc174;
      border: 1px solid rgba(255,122,0,.35);
      background: rgba(255,122,0,.075);
      border-radius: 6px;
      padding: 7px 10px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .eyebrow-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 16px rgba(255,122,0,.6);
    }

    h1 {
      margin: 18px 0 14px;
      font-size: clamp(54px, 7vw, 96px);
      line-height: .92;
      letter-spacing: -.055em;
      font-weight: 950;
    }

    h1 .accent { color: var(--accent); }

    .hero-subtitle {
      margin: 0 0 18px;
      color: #f1f1f1;
      font-weight: 800;
      font-size: clamp(20px, 2.3vw, 31px);
      letter-spacing: -.02em;
    }

    .hero-description {
      max-width: 620px;
      color: #aab1b8;
      font-size: 17px;
      margin: 0;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .btn {
      min-height: 48px;
      border-radius: 8px;
      padding: 0 19px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      font-weight: 850;
      border: 1px solid var(--line);
      transition: .2s ease;
      cursor: pointer;
    }

    .btn-primary {
      background: linear-gradient(180deg, #ff8c20, #f36b00);
      border-color: #ff8c20;
      color: #0a0b0d;
      box-shadow: 0 12px 32px rgba(255,122,0,.18);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
    }

    .btn-secondary {
      background: rgba(255,255,255,.025);
      color: #f5f6f7;
    }

    .btn-secondary:hover {
      border-color: rgba(255,122,0,.45);
      background: rgba(255,122,0,.06);
    }

    .hero-meta {
      margin-top: 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 13px;
      color: #aeb4bb;
      font-size: 13px;
      font-weight: 650;
    }

    .status-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 100%;
      margin-right: 7px;
      background: var(--green);
      box-shadow: 0 0 14px rgba(62,214,128,.45);
    }

    .meta-chip {
      border: 1px solid var(--line);
      padding: 5px 9px;
      border-radius: 6px;
      color: #dfe3e7;
      background: rgba(255,255,255,.025);
    }

    .meta-chip.beta {
      border-color: rgba(255,122,0,.45);
      color: #ffad55;
    }

    .hero-art {
      position: relative;
      height: 440px;
      z-index: 3;
    }

    .city {
      position: absolute;
      inset: 15px 0 70px 0;
      opacity: .5;
      filter: drop-shadow(0 0 20px rgba(255,122,0,.06));
    }

    .car-stage {
      position: absolute;
      right: -8%;
      bottom: 25px;
      width: 116%;
      min-width: 540px;
      filter: drop-shadow(0 40px 42px rgba(0,0,0,.7));
    }

    .road-glow {
      position: absolute;
      right: -20%;
      left: 0;
      bottom: 18px;
      height: 90px;
      background: radial-gradient(ellipse at 64% 30%, rgba(255,122,0,.22), transparent 58%);
      filter: blur(16px);
    }

    .feature-strip {
      position: relative;
      z-index: 4;
      margin-top: -42px;
      padding-bottom: 24px;
    }

    .feature-strip-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: rgba(14,18,23,.96);
      border: 1px solid var(--line);
      border-radius: 10px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .strip-item {
      padding: 23px;
      display: flex;
      gap: 14px;
      min-height: 116px;
      align-items: flex-start;
      border-right: 1px solid var(--line);
    }

    .strip-item:last-child { border-right: 0; }

    .icon {
      flex: 0 0 auto;
      width: 36px;
      height: 36px;
      color: var(--accent);
    }

    .strip-item h3 {
      margin: 0 0 5px;
      font-size: 15px;
      letter-spacing: -.01em;
    }

    .strip-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    section {
      padding: 78px 0;
      border-top: 1px solid rgba(255,255,255,.04);
    }

    .section-head {
      max-width: 680px;
      margin-bottom: 34px;
    }

    .section-kicker {
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: 12px;
      font-weight: 900;
      margin-bottom: 8px;
    }

    h2 {
      margin: 0 0 10px;
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.05;
      letter-spacing: -.04em;
    }

    .section-head p {
      color: var(--muted);
      margin: 0;
      font-size: 16px;
    }

    .card {
      background: linear-gradient(180deg, rgba(20,25,32,.95), rgba(14,18,23,.95));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 20px 54px rgba(0,0,0,.18);
    }

    .benefits {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .benefit {
      padding: 25px;
      min-height: 152px;
    }

    .benefit h3 {
      margin: 14px 0 7px;
      font-size: 17px;
    }

    .benefit p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .setup-grid {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 20px;
      align-items: stretch;
    }

    .steps {
      padding: 26px;
    }

    .step {
      display: grid;
      grid-template-columns: 34px 1fr;
      gap: 13px;
      padding: 15px 0;
      border-bottom: 1px solid var(--line-soft);
    }

    .step:last-child { border-bottom: 0; }

    .step-no {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      background: var(--accent);
      color: #0a0b0d;
      font-weight: 950;
      display: grid;
      place-items: center;
      font-size: 13px;
    }

    .step strong {
      display: block;
      margin-bottom: 3px;
      font-size: 14px;
    }

    .step span {
      color: var(--muted);
      font-size: 13px;
    }

    .filename-card {
      padding: 26px;
      position: relative;
      overflow: hidden;
    }

    .filename-card::after {
      content: "";
      position: absolute;
      width: 280px;
      height: 280px;
      border-radius: 100%;
      right: -150px;
      top: -160px;
      background: rgba(255,122,0,.1);
      filter: blur(30px);
    }

    .filename-card h3 {
      margin: 0 0 14px;
      font-size: 18px;
    }

    .code {
      position: relative;
      z-index: 1;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      font-size: 13px;
      color: #e8ebee;
      background: #090c10;
      border: 1px solid #282f38;
      border-radius: 8px;
      padding: 16px;
      overflow-x: auto;
      white-space: nowrap;
    }

    .code .orange { color: #ff9a3d; }
    .code .green { color: #6ee7a4; }

    .dl-note {
      margin-top: 16px;
      padding: 14px 15px;
      border-left: 3px solid var(--accent);
      background: rgba(255,122,0,.055);
      color: #bbc1c8;
      border-radius: 3px 7px 7px 3px;
      font-size: 13px;
    }

    .commands-wrap {
      overflow: hidden;
    }

    .command-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .command-table thead th {
      background: rgba(255,255,255,.025);
      color: #b7bec6;
      text-align: left;
      font-size: 11px;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 13px 16px;
      border-bottom: 1px solid var(--line);
    }

    .command-table td {
      padding: 13px 16px;
      border-bottom: 1px solid var(--line-soft);
      color: #aab1b9;
    }

    .command-table tr:last-child td { border-bottom: 0; }

    .command-table td:first-child {
      width: 34%;
      color: #ff9a38;
      font-family: "SFMono-Regular", Consolas, monospace;
      font-weight: 750;
      white-space: nowrap;
    }

    .command-table tbody tr {
      transition: .18s ease;
    }

    .command-table tbody tr:hover {
      background: rgba(255,122,0,.035);
    }

    .support-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .support-card {
      padding: 26px;
    }

    .support-card h3 {
      margin: 0 0 16px;
      font-size: 18px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      border: 1px solid var(--line);
      background: rgba(255,255,255,.02);
      color: #cbd0d6;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 750;
    }

    .tag.orange {
      border-color: rgba(255,122,0,.38);
      background: rgba(255,122,0,.06);
      color: #ffb060;
    }

    .changelog {
      padding: 8px 0;
      overflow: hidden;
    }

    .release {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 22px;
      padding: 20px 24px;
      border-bottom: 1px solid var(--line-soft);
    }

    .release:last-child { border-bottom: 0; }

    .release-version {
      color: #fff;
      font-weight: 900;
    }

    .latest {
      display: inline-block;
      margin-top: 7px;
      color: #ffad58;
      border: 1px solid rgba(255,122,0,.35);
      padding: 3px 6px;
      border-radius: 5px;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .release ul {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      font-size: 13px;
    }

    .release li + li { margin-top: 5px; }

    .faq {
      display: grid;
      gap: 10px;
    }

    .faq-item {
      border: 1px solid var(--line);
      background: var(--panel-3);
      border-radius: 9px;
      overflow: hidden;
    }

    .faq-q {
      width: 100%;
      color: #f3f4f6;
      background: transparent;
      border: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      text-align: left;
      cursor: pointer;
      padding: 17px 18px;
      font-weight: 800;
    }

    .faq-q span:last-child {
      color: var(--accent);
      font-size: 20px;
      transition: .2s ease;
    }

    .faq-a {
      display: none;
      padding: 0 18px 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .faq-item.open .faq-a { display: block; }
    .faq-item.open .faq-q span:last-child { transform: rotate(45deg); }

    .download-panel {
      position: relative;
      overflow: hidden;
      padding: 42px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 30px;
      align-items: center;
    }

    .download-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(105deg, rgba(255,122,0,.11), transparent 45%),
        radial-gradient(circle at 90% 50%, rgba(255,122,0,.12), transparent 24rem);
      pointer-events: none;
    }

    .download-panel > * { position: relative; z-index: 2; }

    .download-panel h2 { font-size: 34px; }
    .download-panel p {
      margin: 8px 0 0;
      color: var(--muted);
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 34px 0 42px;
      color: var(--muted);
      font-size: 13px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 24px;
      align-items: end;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      justify-content: flex-end;
    }

    .footer-links a:hover { color: #fff; }

    .credits {
      margin-top: 9px;
      max-width: 650px;
      font-size: 12px;
      color: var(--muted-2);
    }

    .reveal {
      opacity: 0;
      transform: translateY(14px);
      transition: opacity .55s ease, transform .55s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .menu-btn { display: inline-grid; place-items: center; }

      .nav-links.open {
        display: flex;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 64px;
        padding: 16px;
        background: #0d1116;
        border: 1px solid var(--line);
        border-radius: 9px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: var(--shadow);
      }

      .nav-links.open a {
        padding: 11px;
      }

      .nav-links a::after { display: none; }

      .hero {
        min-height: auto;
      }

      .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 68px;
      }

      .hero-art {
        position: absolute;
        right: -150px;
        top: 80px;
        width: 620px;
        opacity: .3;
      }

      .hero-copy {
        max-width: 700px;
      }

      .feature-strip {
        margin-top: -18px;
      }

      .feature-strip-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .strip-item:nth-child(2) { border-right: 0; }
      .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

      .setup-grid,
      .support-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      .container {
        width: min(100% - 26px, var(--container));
      }

      nav { min-height: 62px; }

      .brand {
        font-size: 20px;
      }

      .brand-mark {
        width: 30px;
        height: 30px;
      }

      .hero-grid {
        padding: 58px 0 62px;
      }

      h1 {
        font-size: clamp(50px, 17vw, 78px);
      }

      .hero-subtitle {
        font-size: 21px;
      }

      .hero-description {
        font-size: 15px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .hero-art {
        opacity: .18;
        right: -270px;
      }

      .feature-strip-grid {
        grid-template-columns: 1fr;
      }

      .strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .strip-item:last-child { border-bottom: 0; }

      section { padding: 58px 0; }

      .benefits { grid-template-columns: 1fr; }

      .command-table {
        min-width: 680px;
      }

      .commands-wrap {
        overflow-x: auto;
      }

      .release {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .download-panel {
        grid-template-columns: 1fr;
        padding: 28px;
      }

      .download-panel .btn { width: 100%; }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-links {
        justify-content: flex-start;
      }
    }

/* --- Multipage additions --- */
.brand-logo {
  display: block;
  width: 118px;
  max-height: 48px;
  object-fit: contain;
}

.page-hero {
  padding: 92px 0 60px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 74% 0%, rgba(255,122,0,.10), transparent 24rem),
    var(--bg);
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
}

.page-hero p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  max-width: 700px;
}

.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  width: 100%;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 10px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.download-box {
  padding: 34px;
}

.download-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.download-meta strong {
  color: #fff;
}

.footer-logo {
  width: 105px;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .brand-logo { width: 100px; }
  .page-hero { padding: 64px 0 42px; }
}


/* --- Alignment refinements --- */
.site-nav {
  width: 100%;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  min-width: 0;
  flex: 0 0 auto;
}

.brand-text,
.footer-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
}

.brand-text {
  font-size: 30px;
}

.footer-brand-text {
  font-size: 28px;
}

.brand-logo {
  width: 54px;
  max-height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  margin-left: 0;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.hero-copy {
  padding-left: 26px;
}

.page-hero-inner {
  padding-left: 26px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 50px;
  max-height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.credits {
  margin-top: 12px;
  text-align: left;
}

@media (max-width: 900px) {
  .hero-copy,
  .page-hero-inner {
    padding-left: 12px;
  }
}

@media (max-width: 700px) {
  .brand-text,
  .footer-brand-text {
    font-size: 24px;
  }

  .brand-logo,
  .footer-logo {
    width: 42px;
    max-height: 42px;
  }

  .hero-copy,
  .page-hero-inner {
    padding-left: 0;
  }
}


/* --- Screenshot-matched header / hero / footer --- */

/*
  Header, hero and footer deliberately use the same 24px page gutter.
  The rest of the site keeps the narrower centered content width.
*/
.nav-wrap > .container,
.hero > .container,
footer > .container {
  width: calc(100% - 48px);
  max-width: none;
  margin-left: 24px;
  margin-right: 24px;
}

/* HEADER */
.site-nav {
  min-height: 68px;
  width: calc(100% - 48px);
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-brand-icon {
  padding-left: 0;
  margin: 0;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  max-height: 54px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 28px;
}

/* HERO */
.hero-copy {
  padding-left: 0;
}

.hero-copy h1 {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 0;
}

.hero-copy h1 .accent {
  display: inline-block;
  margin-left: -0.07em;
}

/* Keep the four feature cards centered like the reference. */
.feature-strip > .container {
  width: min(1180px, calc(100% - 48px));
}

/* FOOTER */
footer > .container {
  align-items: center;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-brand-block {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
}

.footer-logo {
  display: block;
  width: 50px;
  height: 50px;
  max-height: 50px;
  object-fit: contain;
}

.credits {
  margin: 0;
  max-width: 760px;
  text-align: left;
  line-height: 1.45;
  color: var(--muted-2);
}

.footer-links {
  justify-content: flex-end;
  align-items: center;
}

/* TABLET */
@media (max-width: 980px) {
  .nav-wrap > .container,
  .hero > .container,
  footer > .container {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }

  .site-nav {
    width: calc(100% - 32px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  .nav-wrap > .container,
  .hero > .container,
  footer > .container {
    width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .site-nav {
    width: calc(100% - 28px);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .footer-brand-block {
    align-items: flex-start;
    gap: 12px;
  }

  .footer-logo {
    width: 44px;
    height: 44px;
  }
}


/* --- Custom hero artwork replacement --- */
.hero-showcase {
  position: absolute;
  right: -8%;
  bottom: -8px;
  width: 122%;
  min-width: 760px;
  max-width: none;
  display: block;
  filter: drop-shadow(0 28px 36px rgba(0,0,0,.42));
}

.hero-art {
  overflow: visible;
}

.road-glow {
  right: -18%;
  left: 14%;
  bottom: 8px;
  height: 120px;
  background: radial-gradient(ellipse at 60% 38%, rgba(255,122,0,.18), transparent 60%);
  filter: blur(18px);
}

@media (max-width: 1100px) {
  .hero-showcase {
    right: -20%;
    width: 138%;
    min-width: 640px;
    opacity: .92;
  }
}

@media (max-width: 980px) {
  .hero-showcase {
    right: -170px;
    top: 34px;
    bottom: auto;
    width: 760px;
    min-width: 0;
    opacity: .34;
  }
}

@media (max-width: 700px) {
  .hero-showcase {
    right: -290px;
    top: 58px;
    width: 700px;
    opacity: .20;
  }
}


/* --- Mockup-style blended hero image --- */
.hero {
  min-height: 690px;
  isolation: isolate;
}

/* Keep the text sitting above the artwork. */
.hero-grid {
  position: relative;
  display: block;
  min-height: 690px;
  padding: 108px 0 92px;
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(610px, 46vw);
  max-width: 610px;
}

/*
  The supplied GTA artwork becomes a wide visual layer on the right,
  instead of looking like a separate rectangular image.
*/
.hero-art {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -24px;
  bottom: 0;
  width: 73%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-showcase {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  object-fit: cover;
  object-position: 53% 53%;
  display: block;
  opacity: .92;
  filter: brightness(.70) contrast(1.08) saturate(.94);
}

/*
  This is the important part: the image fades naturally into the black
  RideSMP background on the left and at the bottom, like the visual mockup.
*/
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #080a0d 0%,
      rgba(8,10,13,.98) 8%,
      rgba(8,10,13,.91) 18%,
      rgba(8,10,13,.67) 31%,
      rgba(8,10,13,.30) 45%,
      rgba(8,10,13,.08) 57%,
      rgba(8,10,13,0) 70%
    ),
    linear-gradient(
      180deg,
      rgba(8,10,13,.08) 0%,
      rgba(8,10,13,0) 55%,
      rgba(8,10,13,.22) 78%,
      #080a0d 100%
    );
}

/* A slight orange ground glow helps tie the artwork into the site. */
.road-glow {
  z-index: 3;
  right: -10%;
  left: 34%;
  bottom: 0;
  height: 145px;
  opacity: .72;
  background: radial-gradient(
    ellipse at 62% 34%,
    rgba(255,122,0,.22),
    rgba(255,122,0,.06) 38%,
    transparent 68%
  );
  filter: blur(20px);
}

/*
  The hero already has an older full-section overlay.
  Reduce it here so the custom artwork remains visible while the
  hero-art gradient handles text readability.
*/
.hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(8,10,13,.60) 0%,
      rgba(8,10,13,.23) 47%,
      rgba(8,10,13,.04) 74%,
      rgba(8,10,13,.15) 100%
    ),
    linear-gradient(180deg, rgba(8,10,13,.02) 62%, #080a0d 100%);
}

@media (max-width: 1180px) {
  .hero-art {
    width: 69%;
  }

  .hero-copy {
    width: min(590px, 52vw);
  }

  .hero-showcase {
    object-position: 49% 53%;
  }
}

@media (max-width: 980px) {
  .hero,
  .hero-grid {
    min-height: 650px;
  }

  .hero-grid {
    padding: 88px 0 80px;
  }

  .hero-copy {
    width: min(650px, 82%);
  }

  .hero-art {
    top: 0;
    right: -16px;
    bottom: 0;
    width: 82%;
    height: 100%;
    opacity: 1;
  }

  .hero-showcase {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: .50;
    object-position: 48% 50%;
  }

  .hero-art::after {
    background:
      linear-gradient(
        90deg,
        #080a0d 0%,
        rgba(8,10,13,.96) 18%,
        rgba(8,10,13,.70) 43%,
        rgba(8,10,13,.28) 67%,
        rgba(8,10,13,.12) 100%
      ),
      linear-gradient(180deg, transparent 55%, #080a0d 100%);
  }
}

@media (max-width: 700px) {
  .hero,
  .hero-grid {
    min-height: 640px;
  }

  .hero-grid {
    padding: 68px 0 74px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-art {
    right: -14px;
    width: 100%;
  }

  .hero-showcase {
    opacity: .28;
    object-position: 57% 50%;
  }

  .hero-art::after {
    background:
      linear-gradient(
        90deg,
        rgba(8,10,13,.95) 0%,
        rgba(8,10,13,.78) 50%,
        rgba(8,10,13,.46) 100%
      ),
      linear-gradient(180deg, rgba(8,10,13,.10) 48%, #080a0d 100%);
  }
}


/* --- GitHub public download counter --- */
.download-stat {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7f8994;
  font-size: 13px;
  font-weight: 650;
}

.download-stat-icon {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.download-stat strong {
  color: #f2f4f6;
  font-size: 14px;
  font-weight: 850;
}

.download-stat-page {
  margin-top: 16px;
}

@media (max-width: 700px) {
  .download-stat {
    width: 100%;
    justify-content: center;
  }

  .download-stat-page {
    width: auto;
    justify-content: flex-start;
  }
}


/* --- Vercel download button state --- */
.js-ridesmp-download[data-downloading="1"] {
  opacity: .78;
  pointer-events: none;
}
