:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5e6b67;
  --line: #d9e1dd;
  --paper: #f6f7f4;
  --panel: #ffffff;
  --green: #1f7a5b;
  --green-dark: #14523f;
  --coral: #c85844;
  --gold: #b8892c;
  --blue: #2f6173;
  --shadow: 0 22px 70px rgba(31, 45, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

code {
  background: #edf2ef;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  padding: 0.12rem 0.34rem;
}

.site-header {
  align-items: center;
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid rgba(217, 225, 221, 0.8);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
.policy-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
.policy-links a:hover,
nav a[aria-current="page"] {
  color: var(--green);
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: calc(88vh - 72px);
  padding: 58px 48px 46px;
}

.hero-copy,
.section,
.legal-page {
  max-width: 1180px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 840px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 650px;
}

.callback-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  background: #eef3f0;
}

.hero-visual {
  min-height: 420px;
  position: relative;
}

.hero-visual::before {
  content: none;
}

.trade-panel {
  background: #fff;
  border: 1px solid rgba(217, 225, 221, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 33, 31, 0.08);
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.trade-panel::before {
  content: none;
}

.map-stage {
  aspect-ratio: 760 / 430;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
}

.world-map-image,
.trade-routes {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.world-map-image {
  opacity: 0.92;
}

.trade-routes {
  overflow: visible;
}

.route-lines path {
  fill: none;
  stroke: var(--gold);
  stroke-dasharray: 7 8;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.route-points circle {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 4;
}

.route-points circle:first-child {
  fill: var(--coral);
}

.trade-node {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 225, 221, 0.96);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 33, 31, 0.11);
  color: var(--ink);
  padding: 10px 12px;
  position: absolute;
  width: max-content;
}

.trade-node strong,
.trade-node span {
  display: block;
}

.trade-node strong {
  font-size: 0.86rem;
}

.trade-node span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hub {
  background: var(--green);
  color: #fff;
  left: 53%;
  top: 49%;
  transform: translate(-50%, -50%);
}

.hub span {
  color: rgba(255, 255, 255, 0.82);
}

.node-americas {
  right: 9%;
  top: 23%;
}

.node-europe {
  left: 5%;
  top: 12%;
}

.node-asia {
  left: 36%;
  top: 66%;
}

.node-africa {
  left: 6%;
  top: 55%;
}

.node-middle-east {
  left: 16%;
  top: 38%;
}

.section {
  margin: 0 auto;
  padding: 86px 48px;
}

.section-heading {
  max-width: 820px;
}

.intro-section {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: 0.85fr 1.15fr;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.content-grid article,
.product-grid article,
.tool-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.05);
  padding: 24px;
}

.content-grid p,
.product-grid p,
.split-section p:not(.eyebrow),
.contact-section p:not(.eyebrow),
.product-contact-band p:not(.eyebrow),
.tool-panel p,
.legal-page p {
  color: var(--muted);
}

.product-hero {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: calc(82vh - 72px);
  padding: 58px 48px 46px;
}

.product-hero-copy {
  max-width: 820px;
}

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

.product-photo {
  background: #fff;
  border: 1px solid rgba(217, 225, 221, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 33, 31, 0.08);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.product-photo::after {
  background:
    linear-gradient(180deg, rgba(23, 33, 31, 0.02), rgba(23, 33, 31, 0.28)),
    linear-gradient(90deg, rgba(31, 122, 91, 0.16), transparent 44%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.product-photo img {
  filter: saturate(0.92) contrast(1.08) brightness(0.94);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 48%;
  position: absolute;
  transform: scale(1.04);
  width: 100%;
}

.image-credit {
  background: rgba(23, 33, 31, 0.72);
  border-radius: 6px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  left: 14px;
  margin: 0;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  position: absolute;
  z-index: 1;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.product-thumb {
  background-image:
    linear-gradient(180deg, rgba(23, 33, 31, 0), rgba(23, 33, 31, 0.34)),
    var(--product-image);
  background-position: center;
  background-size: cover;
  border-radius: 7px;
  height: 150px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.product-thumb::after {
  background: linear-gradient(135deg, rgba(31, 122, 91, 0.2), rgba(184, 137, 44, 0.16));
  content: "";
  inset: 0;
  position: absolute;
}

.open-type {
  --product-image: url("/assets/product-open.webp");
  background-position: 44% 48%;
}

.silent-type {
  --product-image: url("/assets/product-silent.webp");
  background-position: 56% 45%;
}

.trailer-type {
  --product-image: url("/assets/product-trailer.webp");
  background-position: 48% 54%;
}

.container-type {
  --product-image: url("/assets/product-container.webp");
  background-position: 58% 48%;
}

.category-image-credit {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 18px 0 0;
}

.product-spec-section {
  border-top: 1px solid var(--line);
}

.application-section {
  border-top: 1px solid var(--line);
}

.application-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.application-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 15px;
}

.product-contact-band {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.product-contact-band div {
  max-width: 780px;
}

.product-legal-links {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 24px 48px 34px;
}

.product-legal-links a {
  color: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.product-legal-links a:hover {
  color: var(--green);
}

.split-section {
  align-items: start;
  display: grid;
  gap: 52px;
  grid-template-columns: 0.9fr 1.1fr;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-list div {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 54px 1fr;
  padding: 22px 0;
}

.capability-list span {
  color: var(--gold);
  font-weight: 820;
}

.capability-list p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.contact-section {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.policy-links {
  display: flex;
  gap: 18px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 28px 48px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.legal-page {
  margin: 0 auto;
  padding: 78px 48px;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 34px;
}

.hidden-tool-page {
  max-width: 920px;
}

.tool-panel {
  margin-top: 22px;
}

.tool-panel h2 {
  margin-top: 0;
}

.tool-panel p:last-child {
  margin-bottom: 0;
}

.callback-shell {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 32px;
}

.callback-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 820px;
  padding: 42px;
  width: 100%;
}

.callback-panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.callback-table {
  border-collapse: collapse;
  margin: 28px 0;
  width: 100%;
}

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

.callback-table th {
  color: var(--muted);
  font-size: 0.88rem;
  width: 170px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    position: static;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .product-hero,
  .intro-section,
  .split-section,
  .content-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 44px 22px;
  }

  .product-hero {
    min-height: auto;
    gap: 28px;
    padding: 36px 22px;
  }

  .product-hero h1 {
    font-size: 2.3rem;
  }

  .product-photo {
    min-height: 250px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .trade-panel {
    inset: 0;
  }

  .map-stage {
    width: 94%;
  }

  .trade-node {
    padding: 8px 9px;
  }

  .trade-node strong {
    font-size: 0.74rem;
  }

  .trade-node span {
    font-size: 0.68rem;
  }

  .trade-node:not(.hub) span {
    display: none;
  }

  .hub {
    left: 64%;
    top: 55%;
  }

  .node-americas {
    left: auto;
    right: 2%;
    top: 24%;
  }

  .node-europe {
    left: 1%;
    top: 14%;
  }

  .node-asia {
    left: 35%;
    right: auto;
    top: 72%;
  }

  .node-africa {
    left: 1%;
    top: 58%;
  }

  .node-middle-east {
    left: 17%;
    top: 38%;
  }

  .section,
  .legal-page {
    padding: 58px 22px;
  }

  .product-contact-band,
  .product-legal-links,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer {
    padding: 24px 22px;
  }

  .product-legal-links {
    padding: 22px;
  }
}
