.mazda-page {
  font-size: 16px;
  line-height: 1.6;
  color: #101010;
  background: #ffffff;
}
/* Mazda-inspired palette: black, graphite, silver, white, and deep red accents */
.hero-image-wide {
  background: #101010;
  padding: 0;
}
.hero-image-wide img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.mazda-hero-main {
  background: #101010;
  color: #ffffff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.mazda-hero-main:before {
  content: '';
  position: absolute;
  top: -160px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(145,10,45,0.28) 0%, rgba(145,10,45,0) 68%);
}
.mazda-hero-main:after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(142,155,168,0.18) 0%, rgba(142,155,168,0) 68%);
}
.mazda-hero-main .container {
  position: relative;
  z-index: 2;
}
.section-title-wrap {
  margin-bottom: 30px;
}
.hero {
    background: #0b1f33;
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-sub {
    color: #8a9bb0;
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 440px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.scoreboard {
    background: #122840;
    border: 1px solid #1a3550;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
}
.proof-strip {
    background: #c41230;
    padding: 20px 0;
    overflow: hidden;
}
.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}
.image-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.image-card.dark-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.image-card img {
  border-radius: 10px;
}
.mazda-page img {
  max-width: 100%;
  height: auto;
}
.mazda-section {
  padding: 70px 0;
}
.mazda-dark {
  background: #101010;
  color: #ffffff;
}
.mazda-mid {
  background: #252525;
  color: #ffffff;
}
.mazda-off {
  background: #f2f3f4;
}
.mazda-hero {
  background: #101010;
  color: #ffffff;
  padding: 80px 0 60px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 12px;
}
.eyebrow-gold {
  color: #c8a15a;
}
.eyebrow-red {
  color: #b5123c;
}
.mazda-page h1,
.mazda-page h2,
.mazda-page h3,
.mazda-page h4 {
  line-height: 1.2;
  margin-top: 0;
}
.mazda-page h1 {
  font-size: clamp(14px, 3vw, 30px) !important;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.mazda-page h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.mazda-page h3 {
  font-size: 24px;
  font-weight: 700;
}
.mazda-page h4 {
  font-size: 16px;
  font-weight: 700;
}
.mazda-hero-main h1 em {
  font-style: normal;
  color: #b9c2ca;
}
.hero-sub,
.text-light-muted {
  color: #a8b0b8;
}
.text-dark-muted {
  color: #424242;
}
.matchup-card .text-dark-muted {
  color: #424242;
  margin-top:16px; padding:14px; background:rgba(0,0,0,0.03); border-radius:8px; border-left:3px solid var(--gray-400);
}
.cta-btn {
  display: inline-block;
  background: #910a2d;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  margin: 0 8px 10px 0;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #b5123c;
  color: #ffffff;
  text-decoration: none;
}
.cta-btn-outline {
  background: transparent;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.cta-btn-outline:hover,
.cta-btn-outline:focus {
  background: rgba(255,255,255,0.1);
}
.scoreboard {
  background: #252525;
  border: 1px solid #3b3b3b;
  border-radius: 20px;
  padding: 32px 28px;
}
.scoreboard-label,
.small-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8a15a;
  margin-bottom: 20px;
}
.score-row {
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 16px;
}
.score-row-leader {
  background: rgba(196,18,48,0.12);
  border: 1px solid rgba(196,18,48,0.25);
}
.score-number {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.35);
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
}
.score-row-leader .score-number {
  color: #b9c2ca;
}
.score-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8b0b8;
  display: inline-block;
  vertical-align: middle;
}
.score-badge,
.chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.score-badge {
  background: #b9c2ca;
  color: #101010;
  margin-left: 8px;
}
.proof-strip {
  background: #910a2d;
  color: #ffffff;
  padding: 20px 0;
}
.proof-item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 6px 0;
}
.proof-item:before {
  content: '✓';
  margin-right: 8px;
}
.stat-card {
  background: #252525;
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.stat-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.stat-teal {
  color: #b9c2ca;
}
.stat-gold {
  color: #c8a15a;
}
.year-chip {
  display: inline-block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  margin: 4px 2px;
}
.year-chip-past {
  background: rgba(255,255,255,0.1);
  color: #a8b0b8;
}
.year-chip-active {
  background: #b9c2ca;
  color: #101010;
}
.divider {
  width: 48px;
  height: 3px;
  background: #910a2d;
  border-radius: 2px;
  margin: 20px 0 32px;
}
.divider-center {
  margin-left: auto;
  margin-right: auto;
}
.divider-teal {
  background: #b9c2ca;
}
.recall-card,
.matchup-card,
.feature-card,
.inv-card {
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 24px;
}
.recall-card-mazda {
  background: rgba(0,196,204,0.08);
  border: 1px solid rgba(0,196,204,0.25);
}
.recall-card-hyundai {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.recall-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.recall-big {
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.recall-mazda {
  color: #b9c2ca;
}
.recall-hyundai {
  color: rgba(255,255,255,0.35);
}
.recall-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}
.recall-bar-fill-mazda,
.recall-bar-fill-hyundai {
  height: 6px;
  border-radius: 3px;
}
.recall-bar-fill-mazda {
  background: #b9c2ca;
  width: 32%;
}
.recall-bar-fill-hyundai {
  background: rgba(255,255,255,0.2);
  width: 100%;
}
.chip--gray {
    background: #e8ecf1;
    color: #3c4e62;
}
.check {
    color: #00A8B0;
    font-size: 15px;
}
.matchup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}
.matchup-cell.hyundai {
    text-align: right;
    color: #3c4e62;
}
.matchup-cell.mazda {
    text-align: left;
    color: #0f1923;
    font-weight: 600;
}
.matchup-cell.feature-label {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a9bb0;
    white-space: nowrap;
}
.matchup-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.matchup-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e8ecf1;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.matchup-models {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #424242;
}
.matchup-models .vs {
    display: inline-block;
    margin: 0 6px;
    color: #8a9bb0;
    font-weight: 500;
}
.matchup-winner {
  background: #101010;
  color: #b9c2ca;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.matchup-winner-tie {
  background: #e7e8ea;
  color: #424242;
}
.matchup-body {
    padding: 20px 24px;
}
.matchup-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 5px;
    margin: 5px 0;
    border-bottom: 1px solid #e8ecf1;
}
.chip-green {
  background: rgba(0,196,204,0.12);
  color: #00909a;
}
.chip-gray {
  background: #e7e8ea;
  color: #424242;
}
.chip-amber {
  background: rgba(212,160,23,0.12);
  color: #9a7200;
}
.feature-card {
  background: #ffffff;
  border: 1px solid #e7e8ea;
  min-height: 250px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,196,204,0.1);
  text-align: center;
  line-height: 44px;
  font-size: 20px;
  margin-bottom: 14px;
}
.inv-card {
  background: #252525;
  border: 1px solid #3b3b3b;
}
.inv-model {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.inv-price {
  font-size: 24px;
  font-weight: 900;
  color: #b9c2ca;
  margin-bottom: 8px;
}
.btn {border: none;}
.inv-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(200,161,90,0.2);
  color: #c8a15a;
  border: 1px solid rgba(200,161,90,0.3);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.inv-link {
  color: #b9c2ca !important;
  font-size: 13px;
  font-weight: 700;
}
.final-cta-box {
  background: #101010;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}
.disclaimer {
  font-size: 11px;
  color: #a8b0b8;
  line-height: 1.6;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
}
@media (max-width: 767px) {
  .mazda-page h1 {
    font-size: 36px;
  }
  .mazda-page h2 {
    font-size: 30px;
  }
  .mazda-section,
  .mazda-hero-main {
    padding: 45px 0;
  }
}