:root {
  --blue: #0b1d45;
  --yellow: #fabd00;
  --ink: #13213d;
  --muted: #60708f;
  --line: #dce3ef;
  --soft: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 29, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Futura, "Futura PT", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(11, 29, 69, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
  font-size: 24px;
}

.brand-text {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 29, 69, 0.94), rgba(11, 29, 69, 0.68) 48%, rgba(11, 29, 69, 0.2)),
    url("assets/hero-tyre.png") center / cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9px;
  content: "";
  background: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  align-self: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px) 112px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  color: var(--blue);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  color: var(--blue);
  font-size: 28px;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.button.primary {
  color: var(--blue);
  background: var(--yellow);
}

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

.button.dark {
  color: var(--white);
  background: var(--blue);
}

.section,
.feature,
.battery,
.site-footer {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 850px;
  margin-bottom: 38px;
}

.ecosystem {
  background: var(--soft);
}

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

.ecosystem-grid article,
.tire-grid article,
.location-columns article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 29, 69, 0.06);
}

.ecosystem-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.ecosystem-grid p,
.tire-grid span,
.feature-copy p,
.battery p,
.site-footer p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.split.reverse {
  background: var(--blue);
}

.split.reverse .feature-copy {
  order: 2;
}

.split.reverse h2,
.split.reverse .feature-copy p,
.split.reverse .check-list li {
  color: var(--white);
}

.feature-copy {
  max-width: 660px;
}

.feature-copy p {
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
  box-shadow: inset 0 0 0 5px var(--blue);
}

.feature-image {
  min-height: 500px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.feature-image.auto {
  background-image: url("assets/auto-center.png");
}

.feature-image.truck {
  background-image: url("assets/truck-center.png");
}

.tires {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)),
    url("assets/tire-pattern.png") center / cover fixed;
}

.tire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tire-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 160px;
}

.tire-grid strong {
  color: var(--blue);
  font-size: 22px;
  text-transform: uppercase;
}

.battery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--blue);
  background: var(--yellow);
}

.battery .eyebrow {
  color: var(--blue);
}

.battery h2 {
  max-width: 820px;
}

.battery p {
  max-width: 760px;
  color: rgba(11, 29, 69, 0.78);
  font-size: 18px;
}

.locations {
  background: var(--soft);
}

.location-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

.location-columns article {
  min-height: auto;
}

.location-columns ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-columns li {
  padding: 12px 14px;
  border-left: 4px solid var(--yellow);
  color: var(--blue);
  background: #f7f9fd;
  font-weight: 800;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.partner-strip span {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  background: var(--white);
}

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

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  color: var(--white);
  background: var(--blue);
}

.site-footer p {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: grid;
  gap: 12px;
  min-width: 180px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .ecosystem-grid,
  .tire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-strip span {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .hero {
    min-height: calc(100vh - 70px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(11, 29, 69, 0.92), rgba(11, 29, 69, 0.7)),
      url("assets/hero-tyre.png") center / cover;
  }

  .hero-content {
    padding-top: 74px;
  }

  .split,
  .split.reverse,
  .location-columns {
    grid-template-columns: 1fr;
  }

  .split.reverse .feature-copy {
    order: 0;
  }

  .feature-image {
    min-height: 360px;
  }

  .battery,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .ecosystem-grid,
  .tire-grid,
  .location-columns ul,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid article,
  .tire-grid article {
    min-height: auto;
  }

  .partner-strip span {
    min-height: 84px;
    border-right: 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
