:root {
  --ink: #101315;
  --ink-soft: #4d555b;
  --paper: #ffffff;
  --muted: #f4f6f5;
  --line: #dce1de;
  --coal: #080a0b;
  --accent: #247152;
  --accent-dark: #0f513b;
  --gold: #c89b45;
  --shadow: 0 20px 60px rgba(15, 18, 22, 0.16);
  --shadow-strong: 0 28px 90px rgba(5, 8, 10, 0.24);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f8f7;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(7, 8, 9, 0.94);
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 178px;
  min-width: 148px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  padding: 7px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand img {
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 10px 0;
  transition: color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.main-nav a.active {
  color: #fff;
  box-shadow: inset 0 -2px var(--accent);
}

.main-nav .nav-cta {
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  box-shadow: none;
  transition: background 160ms ease, transform 160ms ease;
}

.main-nav .nav-cta:hover {
  background: #2f8a65;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.view-shell {
  padding-top: 76px;
}

.app-view {
  display: none;
}

.app-view.active {
  display: block;
}

.home-view {
  position: relative;
  min-height: calc(100vh - 76px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08) 54%);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(122px, 13vw, 180px) 0 258px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(62px, 11vw, 144px);
  line-height: 0.88;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 2.1vw, 28px);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.34);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-actions.compact {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 113, 82, 0.26);
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary,
.button.ghost {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(1360px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 8, 10, 0.95), rgba(13, 18, 20, 0.9));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-strong);
}

.hero-metrics article {
  min-height: 122px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics article:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.page-view {
  min-height: calc(100vh - 76px);
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.products-view {
  width: min(1540px, calc(100% - 40px));
}

.page-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.page-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: end;
  max-width: none;
}

.page-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.98;
}

.page-heading p,
.contact-layout p,
.resources-layout p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.value-strip article,
.resource-card,
.support-panel,
.inquiry-form,
.insight-grid article,
.feature-strip,
.solution-ladder article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(17, 19, 21, 0.05);
}

.value-strip article {
  position: relative;
  overflow: hidden;
}

.value-strip article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(36, 113, 82, 0.08);
}

.value-strip article {
  padding: 20px 22px;
}

.value-strip span,
.badge,
.resource-card span,
.solution-ladder span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.value-strip p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.product-layout {
  display: block;
}

.product-layout-full {
  margin-top: 30px;
}

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

.product-grid-wide {
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  align-items: stretch;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: #101416;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfe4e1;
}

.product-card > div {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 18px;
}

.badge {
  display: inline-flex;
  border-radius: 4px;
  background: rgba(200, 155, 69, 0.18);
  color: #e6bd62;
  padding: 5px 8px;
}

.product-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.1;
}

.product-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.product-card ul {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.product-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 2px;
}

.product-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(68, 148, 111, 0.9);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease;
}

.product-card a:hover {
  background: rgba(36, 113, 82, 0.22);
  border-color: #5fbd91;
}

.support-panel h3,
.resource-card h3,
.insight-grid h3,
.solution-ladder h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  margin: -16px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span::before,
.breadcrumb strong::before {
  content: "/";
  margin-right: 12px;
  color: #9aa29d;
}

.breadcrumb strong {
  color: var(--ink);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.detail-hero > div {
  padding: 46px 42px;
}

.detail-hero h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.detail-hero p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 18px;
}

.detail-subtitle {
  margin: 18px 0 0;
  color: var(--ink) !important;
  font-size: 23px !important;
  font-weight: 850;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.metric-row span {
  min-height: 72px;
  border-left: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  font-weight: 900;
  color: var(--ink);
}

.detail-tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 40px;
}

.detail-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 12px 16px;
  font-weight: 850;
  color: var(--ink-soft);
}

.detail-tabs button.active {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 -3px var(--accent);
}

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

.insight-grid article {
  position: relative;
  padding: 28px 24px 26px;
}

.insight-grid p,
.solution-ladder p,
.resource-card p,
.support-panel p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.insight-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
}

.insight-grid li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 950;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
}

.feature-strip article {
  min-height: 128px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.feature-strip p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.manufacturing-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.manufacturing-visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.manufacturing-visual-card span {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.manufacturing-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef0ef;
}

.manufacturing-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.process-list-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manufacturing-board img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
}

.process-list span {
  color: var(--gold);
  font-weight: 950;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
}

.solution-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.solution-ladder article {
  min-height: 244px;
  padding: 24px;
}

.resources-view {
  position: relative;
  width: min(1380px, calc(100% - 40px));
}

.resources-view::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 248, 247, 0.98), rgba(247, 248, 247, 0.76)),
    url("assets/images/generated/resources-dealer-support.png") center / cover;
}

.resources-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.resources-layout h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.resource-card {
  display: block;
  min-height: 230px;
  color: inherit;
  text-decoration: none;
  padding: 26px;
}

.support-panel,
.inquiry-panel {
  padding: 28px;
}

.support-panel .button,
.inquiry-panel .button {
  width: 100%;
  margin-top: 24px;
}

.inquiry-panel {
  position: sticky;
  top: 100px;
}

.inquiry-panel h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.inquiry-panel > p {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.company-chip {
  display: inline-flex;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-weight: 900;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
}

.inquiry-form .full,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 13px 12px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 52px);
  background: var(--coal);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer img {
  width: 134px;
  border-radius: 6px;
  background: #fff;
  padding: 6px 8px;
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a,
  .main-nav a.active {
    color: var(--ink);
    box-shadow: none;
    text-align: left;
    padding: 13px 10px;
  }

  .main-nav .nav-cta {
    margin-top: 6px;
    color: #fff;
    text-align: center;
  }

  .hero-metrics,
  .value-strip,
  .product-layout,
  .page-heading.split,
  .detail-hero,
  .manufacturing-board,
  .resources-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 520px;
  }

  .hero-metrics {
    bottom: 22px;
  }

  .inquiry-panel {
    position: static;
  }

  .detail-hero > div {
    padding: 0 30px 34px;
  }

  .insight-grid,
  .solution-ladder,
  .product-grid,
  .feature-strip,
  .manufacturing-visual-grid,
  .process-list-wide,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand {
    width: 150px;
  }

  .view-shell {
    padding-top: 72px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 96px 0 620px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics {
    width: calc(100% - 32px);
  }

  .hero-metrics article {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px;
  }

  .page-view {
    width: calc(100% - 32px);
    min-height: calc(100vh - 72px);
    padding: 36px 0 56px;
  }

  .page-heading h2,
  .resources-layout h2,
  .contact-layout h2 {
    font-size: 38px;
  }

  .product-grid,
  .insight-grid,
  .solution-ladder,
  .feature-strip,
  .manufacturing-visual-grid,
  .process-list-wide,
  .resource-grid,
  .inquiry-form,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .detail-hero img,
  .manufacturing-board img {
    min-height: 260px;
  }

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