.products-body {
  overflow-x: hidden;
  background: #090b0d;
}

.products-body .site-header {
  height: 76px;
  background: rgba(7, 9, 11, 0.95);
  backdrop-filter: blur(14px);
}

.products-body .primary-nav {
  gap: 34px;
}

.products-hero {
  position: relative;
  overflow: hidden;
  padding: 164px 0 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 32, 22, 0.12), transparent 27%),
    linear-gradient(135deg, #080a0c, #11151a 60%, #090b0d);
}

.products-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.products-hero-grid {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.72fr);
  gap: 90px;
  align-items: center;
  padding-bottom: 96px;
}

.products-hero-copy {
  min-width: 0;
  max-width: 720px;
}

.products-hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(62px, 7vw, 98px);
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.products-hero h1 span,
.output-heading h2 span,
.secure-production h2 span {
  color: #a7adb5;
}

.products-lead {
  max-width: 570px;
  margin: 34px 0 16px;
  color: #f0f2f4;
  font-size: 19px;
  font-weight: 600;
}

.products-hero-copy > p:not(.eyebrow):not(.products-lead) {
  max-width: 630px;
  margin: 0;
  color: #aab1b9;
  font-size: 13px;
  line-height: 1.8;
}

.products-hero .button-row {
  justify-content: flex-start;
  margin-top: 34px;
}

.products-hero-visual {
  position: relative;
  margin: 0;
}

.products-hero-visual::before {
  position: absolute;
  z-index: 1;
  top: -14px;
  right: -14px;
  width: 46%;
  height: 46%;
  border-top: 1px solid #ff2016;
  border-right: 1px solid #ff2016;
  content: "";
  pointer-events: none;
}

.products-hero-visual img {
  display: block;
  width: 100%;
  height: 630px;
  object-fit: cover;
  border-radius: 240px 240px 3px 3px;
  filter: saturate(0.82) contrast(1.04);
}

.products-hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dfe3e7;
  background: rgba(8, 10, 12, 0.82);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.products-hero-visual figcaption span {
  margin-right: 11px;
  color: #ff2016;
  font-weight: 800;
}

.products-process {
  display: grid;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #272c32;
}

.products-process p {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 25px 22px;
  border-right: 1px solid #272c32;
}

.products-process p:last-child { border-right: 0; }

.products-process span {
  color: #ff2016;
  font-size: 9px;
  font-weight: 800;
}

.products-process strong {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-categories {
  padding: 142px 0;
  color: #15181b;
  background: #eef0f2;
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: 100px;
  align-items: end;
}

.product-section-heading .eyebrow {
  color: #e31a11;
}

.product-section-heading h2,
.output-heading h2,
.secure-production h2 {
  margin: 14px 0 0;
  font-size: clamp(52px, 6vw, 78px);
  letter-spacing: -0.062em;
  line-height: 0.96;
}

.product-section-heading h2 span {
  color: #858c94;
}

.product-section-heading > p {
  margin: 0 0 4px;
  color: #626a73;
  font-size: 13px;
  line-height: 1.75;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 76px;
}

.category-card {
  display: flex;
  position: relative;
  min-height: 490px;
  flex-direction: column;
  padding: 31px;
  border: 1px solid #b9bec4;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  border-color: #7c848d;
  box-shadow: 0 24px 55px rgba(18, 22, 26, 0.1);
  transform: translateY(-4px);
}

.category-card-accent {
  border-color: #ff2016;
  background: #fff;
}

.category-number {
  margin: 0;
  color: #e31a11;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card h3 {
  margin: 58px 0 28px;
  color: #30353a;
  font-size: clamp(36px, 3.4vw, 51px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.category-card > p:nth-of-type(2) {
  margin: auto 0 35px;
  color: #596169;
  font-size: 12px;
  line-height: 1.75;
}

.category-code {
  padding-top: 16px;
  border-top: 1px solid #d1d5d9;
  color: #858c94;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-output {
  position: relative;
  padding: 142px 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 32, 22, 0.065), transparent 30%),
    #0a0c0f;
}

.output-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.output-heading > p:last-child {
  max-width: 730px;
  margin: 28px auto 0;
  color: #9da5ae;
  font-size: 13px;
  line-height: 1.8;
}

.output-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 70px;
}

.output-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  margin: 0;
  border: 1px solid #2b3036;
  background: #14181c;
}

.output-gallery img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.05);
  transition: filter 220ms ease, transform 350ms ease;
}

.output-gallery figure:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.output-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 17px 19px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.94));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.output-gallery figcaption span {
  margin-right: 12px;
  color: #ff2016;
}

.secure-production {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: 90px;
  align-items: end;
  margin-top: 128px;
  padding: 70px;
  border: 1px solid #30353b;
  border-left: 3px solid #ff2016;
  background:
    linear-gradient(100deg, rgba(18, 22, 26, 0.96), rgba(46, 15, 16, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, 0.035) 71px);
}

.secure-production > div:last-child > p {
  margin: 0;
  color: #b0b6bd;
  font-size: 13px;
  line-height: 1.8;
}

.secure-production .button {
  width: 100%;
  margin-top: 28px;
}

@media (max-width: 1050px) {
  .products-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    gap: 50px;
  }

  .products-hero-visual img { height: 560px; }
  .category-card { min-height: 455px; }
  .secure-production { padding: 52px; }
}

@media (max-width: 900px) {
  .products-body .site-header { height: 72px; }

  .products-body .primary-nav { gap: 0; }

  .products-hero {
    padding-top: 132px;
  }

  .products-hero-grid,
  .product-section-heading,
  .secure-production {
    grid-template-columns: 1fr;
  }

  .products-hero-visual {
    width: min(100%, 620px);
  }

  .products-hero-visual img {
    height: 600px;
  }

  .product-section-heading,
  .secure-production { gap: 40px; }

  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 340px; }
  .category-card h3 { margin-top: 40px; }

  .category-card > p:nth-of-type(2) {
    max-width: 650px;
    margin-top: 0;
  }

  .output-gallery figure,
  .output-gallery img { min-height: 310px; height: 310px; }
}

@media (max-width: 680px) {
  .products-hero h1 {
    font-size: clamp(46px, 12vw, 60px);
  }

  .products-hero-visual img {
    height: 470px;
    border-radius: 180px 180px 3px 3px;
  }

  .products-process { grid-template-columns: 1fr 1fr; }

  .products-process p:nth-child(2) { border-right: 0; }

  .products-process p:nth-child(-n + 2) {
    border-bottom: 1px solid #272c32;
  }

  .product-categories,
  .product-output { padding: 104px 0; }

  .product-section-heading h2,
  .output-heading h2,
  .secure-production h2 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .category-grid { margin-top: 54px; }
  .category-card { min-height: 390px; padding: 25px; }

  .output-gallery { grid-template-columns: 1fr; }

  .output-gallery figure,
  .output-gallery img { min-height: 370px; height: 370px; }

  .secure-production {
    margin-top: 80px;
    padding: 38px 25px;
  }
}

@media (max-width: 430px) {
  .products-process { grid-template-columns: 1fr; }

  .products-process p,
  .products-process p:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #272c32;
  }

  .products-process p:last-child { border-bottom: 0; }
  .output-gallery figure,
  .output-gallery img { min-height: 330px; height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .output-gallery img { transition: none; }
}
