* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #0a0a0a; color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: #ff4d00; text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(255,77,0,0.3); color: #fff; }

.site-header {
  padding: 20px 24px;
  border-bottom: 1px solid #2a2a2a;
  max-width: 960px; margin: 0 auto;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.logo img {
  height: 36px; width: 180px; object-fit: contain; object-position: left;
}
.header-nav {
  display: none; gap: 24px; align-items: center;
}
.header-nav a {
  font-size: 13px; font-weight: 600; color: #a0a0a0;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
}
.header-nav a:hover { color: #fff; }
.header-nav a.active { color: #ff4d00; }
@media (min-width: 768px) {
  .header-nav { display: flex; }
}

.breadcrumbs {
  margin-top: 12px; font-size: 13px; color: #a0a0a0;
  display: flex; flex-wrap: wrap; gap: 2px; align-items: center;
}
.breadcrumbs a { color: #a0a0a0; }
.breadcrumbs a:hover { color: #ff4d00; }
.breadcrumbs .sep { margin: 0 6px; color: #3a3a3a; }
.breadcrumbs .current { color: #fff; font-weight: 600; }

.main-content {
  max-width: 960px; margin: 0 auto;
  padding: 32px 24px 48px;
}

.page-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900; line-height: 1.1;
  text-transform: uppercase; letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.page-title .accent { color: #ff4d00; }
.page-subtitle {
  font-size: 14px; color: #a0a0a0; margin-bottom: 32px;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.browse-card {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 16px;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px;
  color: #fff; font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.15s;
}
.browse-card:hover {
  border-color: #ff4d00; background: #1e1e1e;
  text-decoration: none;
}
.browse-card.year-card { font-size: 18px; font-variant-numeric: tabular-nums; }

/* Engine selector */
.engine-selector {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.engine-selector-label {
  font-size: 11px; font-weight: 700; color: #666;
  text-transform: uppercase; letter-spacing: 1.2px;
  white-space: nowrap;
}
.engine-options {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.engine-option {
  padding: 8px 18px;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #a0a0a0; font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.engine-option:hover {
  border-color: #ff4d00; color: #fff;
  text-decoration: none;
}
.engine-option.active {
  border-color: #ff4d00; color: #ff4d00;
  background: rgba(255,77,0,0.08);
}

/* Spec page */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 20px; overflow: hidden;
  margin-bottom: 24px;
}
.hero-left {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid #2a2a2a;
}
.hero-right {
  padding: 24px 28px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; background: #111111;
}
.spec-label {
  font-size: 9px; font-weight: 700; color: #666;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.spec-value {
  font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3;
}
.torque-num {
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 900; color: #ff4d00;
  line-height: 1; letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.torque-unit {
  font-size: 12px; font-weight: 700; color: #666;
  margin-top: 6px; text-transform: uppercase; letter-spacing: 1px;
}

.section-label {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0 10px;
  font-size: 11px; font-weight: 700; color: #a0a0a0;
  text-transform: uppercase; letter-spacing: 1.2px;
}

.spec-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 16px 20px;
  transition: border-color 0.2s;
}
.spec-card:hover { border-color: #ff4d00; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.shop-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 16px;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px;
  color: #ff4d00; font-size: 12px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.3px;
  transition: border-color 0.2s, background 0.15s;
  justify-content: center;
}
.shop-link:hover { border-color: #ff4d00; background: rgba(255,77,0,0.1); text-decoration: none; }

.fluid-row {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 0;
}
.fluid-row + .fluid-row { border-top: 1px solid #1e1e1e; padding-top: 12px; }
.fluid-label { font-size: 9px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
.fluid-value { font-size: 14px; font-weight: 800; color: #ff4d00; }

.shop-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 9999px;
  border: 1px solid #2a2a2a; background: transparent;
  color: #ff4d00; font-size: 11px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.3px;
  transition: border-color 0.2s, background 0.15s;
  flex-shrink: 0;
}
.shop-pill:hover { background: rgba(255,77,0,0.1); border-color: #ff4d00; text-decoration: none; }

/* Tabs */
.spec-tabs {
  margin-top: 24px;
}
.tab-bar {
  display: flex; gap: 0;
  border-bottom: 2px solid #2a2a2a;
  margin-bottom: 20px;
}
.tab-btn {
  padding: 12px 24px;
  background: none; border: none;
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: #666; cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.tab-btn:hover { color: #a0a0a0; }
.tab-btn.active { color: #ff4d00; }
.tab-btn.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: #ff4d00;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.cta-banner {
  margin-top: 40px; padding: 24px;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 16px; text-align: center;
}
.cta-banner h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.cta-banner p { font-size: 13px; color: #a0a0a0; margin-bottom: 16px; }
.cta-btn {
  display: inline-block; padding: 14px 32px;
  background: #ff4d00; color: #fff; border-radius: 12px;
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; text-decoration: none;
}
.cta-btn:hover { background: #e04400; text-decoration: none; }

/* Known Issues */
.issue-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 20px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.issue-card:hover { border-color: #ff4d00; }
.issue-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: rgba(255,77,0,0.1); color: #ff4d00;
  border-radius: 50%; font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.issue-title { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }
.issue-desc { font-size: 13px; color: #a0a0a0; line-height: 1.6; margin-bottom: 12px; }
.issue-fix-label {
  font-size: 9px; font-weight: 700; color: #ff4d00;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px;
}
.issue-fix { font-size: 13px; color: #fff; line-height: 1.6; margin-bottom: 10px; }
.issue-cost {
  display: inline-block; padding: 4px 12px;
  background: rgba(255,77,0,0.08); border: 1px solid rgba(255,77,0,0.2);
  border-radius: 9999px; font-size: 12px; font-weight: 700; color: #ff4d00;
}

/* Maintenance Schedule */
.maint-table {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; overflow: hidden;
}
.maint-header {
  display: flex; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 9px; font-weight: 700; color: #666;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.maint-row {
  display: flex; align-items: center; flex-wrap: wrap;
  padding: 14px 20px;
  transition: background 0.15s;
}
.maint-row:not(:last-child) { border-bottom: 1px solid #1e1e1e; }
.maint-row:hover { background: #1a1a1a; }
.maint-item {
  flex: 1; min-width: 180px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.maint-header .maint-item { font-size: 9px; color: #666; font-weight: 700; }
.maint-interval {
  display: flex; align-items: center; gap: 6px;
  min-width: 140px;
  font-size: 14px; font-weight: 800;
}
.maint-header .maint-interval { font-size: 9px; color: #666; font-weight: 700; }
.maint-miles { color: #ff4d00; }
.maint-sep { color: #3a3a3a; font-size: 12px; }
.maint-months { color: #a0a0a0; }
.maint-notes {
  width: 100%; margin-top: 4px;
  font-size: 12px; color: #666; font-style: italic;
}
@media (max-width: 500px) {
  .maint-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .maint-interval { min-width: auto; }
  .maint-header { display: none; }
}

.site-footer {
  max-width: 960px; margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #2a2a2a;
  font-size: 11px; color: #666;
  text-align: center;
}
.site-footer a { color: #a0a0a0; }

.seo-prose { font-size: 14px; color: #a0a0a0; line-height: 1.8; margin-bottom: 24px; }
.seo-prose p { margin-bottom: 12px; }
.seo-prose strong { color: #fff; }

.empty-state {
  text-align: center; padding: 60px 24px;
  color: #666; font-size: 14px;
}

.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 56px; background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  backdrop-filter: blur(20px);
  z-index: 100;
  align-items: center; justify-content: space-around;
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 0; text-decoration: none; color: #666;
}
.bottom-nav a svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.bottom-nav a span {
  font-size: 9px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase;
}
.bottom-nav a.active { color: #ff4d00; }

@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .bottom-nav { display: flex; }
}

@media (max-width: 600px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { border-top: 1px solid #2a2a2a; }
  .hero-left { border-right: none; }
  .browse-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
