@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/static/fonts/noto-sans-arabic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-arabic: "Noto Sans Arabic", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h3,
.vehicle-info h3,
.vehicle-card-title {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.site-header nav {
  font-size: 15px;
  font-weight: 500;
}

.button,
button,
.text-link,
.nav-cta {
  font-weight: 600;
}

.compact-home-hero h1,
.hero h1 {
  font-size: clamp(52px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-hero h1,
.catalog-page-hero h1,
.content-hero h1,
.about-hero h1,
.ev-category-hero h1,
.brand-page-hero h1,
.model-hub-hero h1,
.insight-article-header h1 {
  font-size: clamp(38px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.vehicle-detail .detail-copy h1 {
  font-size: clamp(38px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head h2,
.band h2,
.quote-section h2,
.spec-section h2,
.vehicle-type h2,
.credentials-heading h2,
.category-intro h2,
.process-note h2,
.media-heading h2,
.rich-content h2,
.port-quote-section h2,
.insights-index-head h2,
.related-vehicles-head h2,
.home-insight-carousel__head h2,
.model-hub-context__copy h2,
.model-hub-listings h2,
.brand-model-hub-links h2,
.brand-seo-summary h2,
.home-brand-directory > h2 {
  font-size: clamp(28px, 2.7vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.vehicle-info h3,
.home-insight-card h3,
.insight-card h3,
.rich-content h3,
.vehicle-features-content h3,
.vehicle-seo-content h3 {
  font-size: clamp(19px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.vehicle-info > p,
.mini-specs span,
.key-specs span,
.spec-table dt,
.filter-heading p,
.eyebrow {
  font-size: 13px;
  font-weight: 500;
}

.mini-specs b,
.key-specs strong,
.spec-table dd {
  font-size: 16px;
  font-weight: 600;
}

.vehicle-exw-price strong {
  font-size: clamp(18px, 1.7vw, 20px);
  font-weight: 700;
}

.fine,
.article-edited,
.vehicle-exw-price small,
.spec-support {
  font-size: 12px;
  font-weight: 400;
}

.vehicle-exw-price strong,
.key-specs strong,
.mini-specs b,
.spec-table dd,
.stats strong,
.result-head,
.catalog-pagination,
.insight-pagination,
input[type="number"],
time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.rich-content,
.content-copy,
.vehicle-features-content,
.vehicle-seo-content,
.insight-article-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: var(--font-arabic);
}

html[lang="ar"] body {
  line-height: 1.7;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .vehicle-info h3,
html[lang="ar"] .vehicle-card-title {
  letter-spacing: normal;
}

html[lang="ar"] h1,
html[lang="ar"] h2 {
  line-height: 1.25;
}

html[lang="ar"] h3,
html[lang="ar"] .vehicle-info h3,
html[lang="ar"] .vehicle-card-title {
  line-height: 1.4;
}

@media (max-width: 620px) {
  .compact-home-hero h1,
  .hero h1 {
    font-size: clamp(36px, 9.8vw, 40px);
  }

  .page-hero h1,
  .catalog-page-hero h1,
  .content-hero h1,
  .about-hero h1,
  .ev-category-hero h1,
  .brand-page-hero h1,
  .model-hub-hero h1,
  .insight-article-header h1,
  .vehicle-detail .detail-copy h1 {
    font-size: clamp(30px, 8.4vw, 34px);
  }

  .section-head h2,
  .band h2,
  .quote-section h2,
  .spec-section h2,
  .vehicle-type h2,
  .credentials-heading h2,
  .category-intro h2,
  .process-note h2,
  .media-heading h2,
  .rich-content h2,
  .port-quote-section h2,
  .insights-index-head h2,
  .related-vehicles-head h2,
  .home-insight-carousel__head h2,
  .model-hub-context__copy h2,
  .model-hub-listings h2,
  .brand-model-hub-links h2,
  .brand-seo-summary h2,
  .home-brand-directory > h2 {
    font-size: clamp(24px, 7vw, 27px);
  }

  .vehicle-info h3,
  .home-insight-card h3,
  .insight-card h3,
  .rich-content h3,
  .vehicle-features-content h3,
  .vehicle-seo-content h3 {
    font-size: clamp(18px, 5vw, 20px);
  }
}
