:root {
  color-scheme: light;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-alt: #f8fbfd;
  --ink: #12202c;
  --muted: #5b6a76;
  --line: #d7e1e8;
  --accent: #1d5f99;
  --accent-dark: #163f63;
  --accent-soft: #e8f1f8;
  --green: #296a52;
  --shadow: 0 24px 60px rgba(18, 32, 44, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f6 100%);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(215, 225, 232, 0.92);
  backdrop-filter: blur(12px);
}

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

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  color: #2b3944;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
}

.hero,
.split-band {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  align-items: center;
  padding-top: clamp(34px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 74px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.card-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.14rem;
}

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

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

.primary {
  background: var(--accent);
  color: #fff;
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  box-shadow: var(--shadow);
}

.details {
  margin: 22px 0 18px;
  display: grid;
  gap: 14px;
}

.details div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.details dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  padding: 54px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-block: 1px solid var(--line);
}

.parts-promo {
  border-top: 0;
}

.section-head {
  max-width: 900px;
  margin-bottom: 24px;
}

.section-head.narrow {
  max-width: 760px;
}

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

.feature-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 900;
}

.feature-grid p,
.split-copy p,
footer {
  color: var(--muted);
}

.split-band {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  padding-top: 54px;
  padding-bottom: 60px;
}

.split-copy {
  max-width: 760px;
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #172230;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-media figcaption {
  padding: 12px 14px;
  color: #dbe7ef;
  font-size: 0.9rem;
}

.catalog-hero {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 54px);
  background: #f7fafc;
}

.catalog-hero h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 7vw, 5rem);
}

.compact-page h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.inventory-tools {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 18px;
}

.inventory-tools label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inventory-tools input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.inventory-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inventory-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.inventory-table th,
.inventory-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.inventory-table th {
  background: var(--accent-soft);
  color: #263542;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inventory-table tbody tr:hover {
  background: #f8fbfd;
}

.inventory-table td:first-child {
  font-weight: 800;
}

.catalog-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.part-detail {
  align-items: start;
}

footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #101820;
  color: #d8e0e8;
}

footer p {
  margin: 0;
  max-width: 880px;
}

@media (max-width: 900px) {
  .hero,
  .split-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1 1 auto;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .feature-grid article {
    min-height: unset;
  }
}
