* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

:root {
  color: #16201f;
  background: #f4f7f5;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --green: #69d90b;
  --lime: #78df12;
  --ink: #050706;
  --muted: #5f6d68;
  --line: #d4ddd8;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #f4f7f5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("/images/leanamp-watermark.svg") center / min(76vw, 820px) auto no-repeat;
  opacity: 0.96;
  filter: saturate(1.08) brightness(1.04);
}

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

a:focus-visible,
summary:focus-visible,
main:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 12px 16px;
  border: 1px solid var(--lime);
  background: #050706;
  color: #f7fbf8;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header,
.breadcrumbs,
.hero,
.section,
.cta,
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 100vw;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 249, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: clamp(178px, 16vw, 220px);
  height: auto;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  padding: 9px 11px;
  color: #31403c;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

nav a.nav-cta {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #050706;
  font-weight: 900;
}

nav a.nav-cta:hover {
  border-color: #050706;
  background: #050706;
  color: #f7fbf8;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  color: #52615c;
  font-size: 0.82rem;
  font-weight: 850;
}

.breadcrumbs a {
  color: #1d2b27;
}

.breadcrumbs a:hover {
  color: #3c8105;
}

.breadcrumbs span {
  color: #8fa09a;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #16201f;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::before {
  content: "";
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.mobile-nav[open] summary::before {
  width: 17px;
  height: 17px;
  border: 0;
  background:
    linear-gradient(45deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%);
  box-shadow: none;
}

.mobile-menu-panel {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.mobile-menu-panel a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #31403c;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: 680px;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(13, 32, 22, 0.82)),
    image-set(
        url("/images/pump-control-unit.avif") type("image/avif"),
        url("/images/pump-control-unit.jpg") type("image/jpeg")
      )
      center / cover no-repeat;
  color: #f6faf7;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  color: var(--ink);
  font-size: 1.2rem;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  color: #dbe8e2;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(120, 223, 18, 0.32);
  background:
    linear-gradient(135deg, rgba(120, 223, 18, 0.14), rgba(6, 13, 10, 0) 42%),
    rgba(6, 13, 10, 0.84);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -28% 28%;
  height: 220px;
  border: 1px solid rgba(120, 223, 18, 0.18);
  transform: skewX(-20deg);
  pointer-events: none;
}

.panel img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin: 28px;
}

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

.signal-list li {
  position: relative;
  min-height: 58px;
  padding: 14px 16px 14px 34px;
  border: 1px solid rgba(120, 223, 18, 0.22);
  background: rgba(246, 250, 247, 0.075);
  color: #eef8f2;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(120, 223, 18, 0.72);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 900;
}

.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #050706;
}

.section {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background: #ffffff;
}

.section.alt {
  background: #eef3ef;
}

.section-head {
  max-width: 920px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.screen-section {
  background: #07100d;
  color: #edf6f1;
}

.screen-section h2,
.screen-section h3 {
  color: #edf6f1;
}

.screen-section .section-head p:not(.eyebrow),
.screen-section p {
  color: #b9c7c2;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid #2a3a34;
  background: #050706;
}

.screen-frame picture,
.screen-frame img {
  display: block;
  width: 100%;
}

.screen-frame img {
  height: auto;
  aspect-ratio: 1440 / 980;
  object-fit: contain;
  object-position: top left;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.screen-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #2a3a34;
  background: #0b1411;
}

.screen-gallery picture,
.screen-gallery img {
  display: block;
  width: 100%;
}

.screen-gallery img {
  aspect-ratio: 1440 / 980;
  height: auto;
  object-fit: cover;
  object-position: top left;
}

.screen-gallery figcaption {
  min-height: 44px;
  padding: 10px 12px;
  color: #edf6f1;
  font-size: 0.82rem;
  font-weight: 900;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.evidence-strip article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid #2a3a34;
  background: #0b1411;
}

.evidence-strip span {
  display: block;
  margin-bottom: 26px;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.evidence-strip h3 {
  color: #edf6f1;
}

.evidence-strip p {
  color: #b9c7c2;
  line-height: 1.6;
}

.hardware-fit-section {
  background: #07100d;
  color: #edf6f1;
}

.hardware-fit-section h2,
.hardware-fit-section h3 {
  color: #edf6f1;
}

.hardware-fit-section .section-head p:not(.eyebrow) {
  color: #b9c7c2;
}

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

.hardware-fit-grid article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid #2a3a34;
  background:
    linear-gradient(180deg, rgba(105, 217, 11, 0.08), rgba(11, 20, 17, 0) 42%),
    #0b1411;
}

.hardware-fit-grid span {
  display: inline-flex;
  margin-bottom: 48px;
  padding: 7px 10px;
  border: 1px solid rgba(120, 223, 18, 0.48);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hardware-fit-grid p {
  color: #b9c7c2;
  line-height: 1.62;
}

.process-section {
  background: #ffffff;
}

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

.process-rail article {
  position: relative;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(105, 217, 11, 0.1), rgba(255, 255, 255, 0) 42%),
    #f8fbf9;
}

.process-rail article::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 39px;
  z-index: 2;
  width: 24px;
  height: 2px;
  background: var(--green);
}

.process-rail article:last-child::after {
  display: none;
}

.process-rail span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 1px solid rgba(105, 217, 11, 0.42);
  background: #07100d;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-rail p {
  color: var(--muted);
  line-height: 1.62;
}

.card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.alt .card {
  background: #f8fbf9;
}

.card p,
.list p {
  color: var(--muted);
  line-height: 1.62;
}

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

.list article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #f8fbf9;
}

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

.faq-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.faq-card p {
  color: var(--muted);
  line-height: 1.62;
}

.related-path-section {
  background: #07100d;
  color: #edf6f1;
}

.related-path-section h2,
.related-path-section h3 {
  color: #edf6f1;
}

.related-path-section .section-head p:not(.eyebrow),
.related-path-section p {
  color: #b9c7c2;
}

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

.related-path-card {
  display: grid;
  min-height: 260px;
  padding: 24px;
  border: 1px solid #2a3a34;
  background:
    linear-gradient(180deg, rgba(105, 217, 11, 0.1), rgba(11, 20, 17, 0) 44%),
    #0b1411;
}

.related-path-card:hover {
  border-color: rgba(120, 223, 18, 0.62);
  transform: translateY(-1px);
}

.related-path-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-path-card strong {
  align-self: end;
  display: inline-flex;
  margin-top: 18px;
  color: #f6faf7;
  font-weight: 900;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background: #020403;
  color: #edf6f1;
}

.cta h2 {
  max-width: 900px;
  color: #edf6f1;
}

.cta p {
  max-width: 760px;
  color: #b9c7c2;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.35fr);
  gap: 28px clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 5vw, 72px) 18px;
  background: #000;
  color: #8fa09a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-overview {
  display: grid;
  gap: 14px;
  max-width: 460px;
}

.footer-overview img {
  display: block;
  width: 164px;
  height: auto;
}

.footer-overview p,
.site-footer > span {
  margin: 0;
}

.footer-contact {
  color: #dff5e8;
  font-weight: 900;
}

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

.footer-map div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-map h2 {
  margin: 0 0 6px;
  color: var(--lime);
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-map a {
  color: #dff5e8;
  font-weight: 900;
}

.footer-map a:hover,
.footer-contact:hover {
  color: var(--lime);
}

.site-footer > span {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #18231f;
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .list,
  .faq-grid,
  .related-path-grid,
  .site-footer,
  .footer-map,
  .screen-gallery,
  .evidence-strip,
  .hardware-fit-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header,
  .breadcrumbs,
  .hero,
  .section,
  .cta,
  .site-footer {
    overflow: hidden;
  }

  .site-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    overflow: hidden;
  }

  .breadcrumbs {
    padding-right: 24px;
    padding-left: 24px;
    font-size: 0.78rem;
  }

  .brand {
    grid-column: 2;
  }

  .brand img {
    width: min(64vw, 210px);
  }

  nav {
    display: none;
  }

  nav a {
    white-space: normal;
  }

  .mobile-nav {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .mobile-nav[open] {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .button {
    width: 100%;
    max-width: calc(100vw - 48px);
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: min(300px, calc(100vw - 48px));
    font-size: 1.44rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: min(300px, calc(100vw - 48px));
    font-size: 1.34rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 1.05rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .section-head p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero p:not(.eyebrow),
  .section-head p:not(.eyebrow),
  .card p,
  .list p {
    max-width: min(310px, calc(100vw - 48px));
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .panel {
    max-width: calc(100vw - 48px);
    overflow: hidden;
  }

  .panel img {
    width: min(280px, calc(100vw - 96px));
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .grid,
  .list,
  .faq-grid,
  .related-path-grid,
  .card,
  .faq-card,
  .list article,
  .screen-frame,
  .screen-gallery,
  .evidence-strip,
  .hardware-fit-grid,
  .process-rail {
    max-width: calc(100vw - 48px);
  }

  .process-rail article {
    min-height: 0;
  }

  .process-rail article::after {
    left: 45px;
    right: auto;
    top: auto;
    bottom: -13px;
    width: 2px;
    height: 24px;
  }

  .hardware-fit-grid article {
    min-height: 0;
  }

  .hardware-fit-grid span {
    margin-bottom: 24px;
  }

  .evidence-strip article {
    min-height: 0;
  }

  .faq-card {
    min-height: 0;
  }

  .screen-gallery figcaption {
    min-height: 0;
  }
}
