:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5d6269;
  --paper: #fafafa;
  --white: #ffffff;
  --line: #d8d4cc;
  --red: #b3352d;
  --red-dark: #842820;
  --green: #345f48;
  --gold: #c79a39;
  --asphalt: #2f3337;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 36px;
  color: var(--white);
  background: rgba(23, 23, 23, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 112px));
  display: grid;
  align-items: center;
  padding: 88px 36px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.82) 0%, rgba(11, 10, 9, 0.64) 32%, rgba(11, 10, 9, 0.08) 68%),
    url("assets/hero-ram-truck.png") center / cover no-repeat;
}

.hero-content {
  width: min(650px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-section {
  padding: 46px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 36px;
  align-items: start;
}

.intro-grid p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.index-section {
  padding: 72px 0;
  background: #e9ece7;
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 240px;
  padding: 20px;
  border: 1px solid #c9c8c1;
  border-radius: 8px;
  background: var(--white);
}

.metric-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

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

.content-band {
  padding: 82px 0;
  background: #f3f2ee;
}

.content-band.light {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 640px;
}

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

.benefit-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--asphalt);
  font-size: 13px;
  font-weight: 800;
}

.benefit-card:nth-child(2) .card-icon {
  background: var(--red);
}

.benefit-card:nth-child(3) .card-icon {
  background: var(--green);
}

.benefit-card:nth-child(4) .card-icon {
  background: var(--gold);
  color: var(--ink);
}

.benefit-card p,
.split-copy p,
.stewardship-section p,
.stewardship-list p {
  color: var(--muted);
}

.gallery-section {
  padding: 82px 0;
  background: var(--white);
}

.truck-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f6f2;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
}

.gallery-card.wide-card {
  grid-column: 1 / -1;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--asphalt);
}

.gallery-card.wide-card img {
  height: 440px;
}

.gallery-caption {
  padding: 22px;
}

.gallery-caption .section-kicker {
  margin-bottom: 8px;
}

.gallery-caption h3 {
  max-width: 720px;
  margin-bottom: 0;
}

.split-section {
  padding: 86px 0;
  color: var(--white);
  background: var(--asphalt);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.split-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.check-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.check-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-panel li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.check-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 154, 57, 0.2);
}

.guide-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.3fr;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-row > div {
  padding: 18px;
}

.table-row > div + div {
  border-left: 1px solid var(--line);
}

.table-head {
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.table-row:not(.table-head) div:first-child {
  font-weight: 800;
}

.table-row:not(.table-head) div:nth-child(2),
.table-row:not(.table-head) div:nth-child(3) {
  color: var(--muted);
}

.quote-band {
  padding: 76px 0;
  color: var(--white);
  background: var(--red-dark);
}

.quote-shell {
  max-width: 900px;
}

blockquote {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.stewardship-section {
  padding: 86px 0;
  background: #e9ece7;
}

.stewardship-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.stewardship-list {
  display: grid;
  gap: 14px;
}

.stewardship-list article {
  padding: 22px;
  border-left: 5px solid var(--red);
  border-radius: 0 8px 8px 0;
  background: var(--white);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #171717;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid p:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero {
    min-height: 560px;
    padding: 72px 24px;
    background:
      linear-gradient(90deg, rgba(11, 10, 9, 0.82) 0%, rgba(11, 10, 9, 0.55) 52%, rgba(11, 10, 9, 0.18) 100%),
      url("assets/hero-ram-truck.png") 62% center / cover no-repeat;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .intro-grid,
  .split-grid,
  .stewardship-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid p:last-child {
    margin-top: 0;
  }

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

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card img,
  .gallery-card.wide-card img {
    height: 300px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .table-head {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 14px;
  }

  .site-nav {
    font-size: 13px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: 470px;
    padding: 32px 16px;
    background:
      linear-gradient(90deg, rgba(11, 10, 9, 0.86) 0%, rgba(11, 10, 9, 0.62) 58%, rgba(11, 10, 9, 0.22) 100%),
      url("assets/hero-ram-truck.png") 68% center / cover no-repeat;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 36px;
    line-height: 1.02;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .button {
    min-height: 46px;
  }

  .button {
    width: 100%;
  }

  .content-band,
  .index-section,
  .gallery-section,
  .split-section,
  .stewardship-section {
    padding: 58px 0;
  }

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

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

  .metric-card {
    min-height: auto;
  }

  .truck-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card img,
  .gallery-card.wide-card img {
    height: 230px;
  }

  .benefit-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 24px;
  }

  blockquote {
    font-size: 27px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
