:root {
  --green-950: #053323;
  --green-900: #063f2a;
  --green-800: #075437;
  --green-700: #0b6a49;
  --green-100: #e9f3ee;
  --gold-500: #f2b500;
  --gold-600: #d99b00;
  --ink-900: #111817;
  --ink-700: #394944;
  --ink-600: #52635e;
  --ink-400: #8a9893;
  --line: #e4e9e6;
  --surface: #ffffff;
  --surface-soft: #f6f8f6;
  --surface-warm: #fbfaf5;
  --shadow: 0 18px 42px rgba(5, 51, 35, 0.08);
  --radius: 8px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 0 max(32px, calc((100vw - var(--max-width)) / 2));
  background: var(--green-950);
  color: #fff;
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 51, 35, 0.96);
  box-shadow: 0 12px 28px rgba(5, 51, 35, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 150px;
  height: auto;
}

.brand span {
  display: grid;
  gap: 2px;
  padding-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.brand strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.header-action,
.button,
.outline-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.header-action {
  min-height: 40px;
  min-width: max-content;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
}

.hero {
  background: linear-gradient(90deg, #fbfcfb 0%, #f0f4f1 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  min-height: 560px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: #081312;
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  width: min(580px, 100%);
  margin: 24px 0 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.9;
}

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

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 16px;
}

.button.primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 14px 28px rgba(7, 84, 55, 0.18);
}

.button.secondary {
  background: var(--gold-500);
  color: #fff;
  box-shadow: 0 14px 28px rgba(217, 155, 0, 0.18);
}

.hero-media {
  min-width: 0;
}

.hero-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    #e8eeea;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 128px;
  background: linear-gradient(180deg, rgba(217, 224, 220, 0), rgba(150, 160, 155, 0.28));
}

.hero-product {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 34px rgba(17, 24, 23, 0.18);
  object-fit: contain;
  object-position: center;
}

.hero-product-main {
  left: 98px;
  bottom: 54px;
  width: 360px;
  height: 270px;
}

.hero-product-side {
  right: 38px;
  top: 54px;
  width: 320px;
  height: 250px;
}

.hero-product-small {
  left: 36px;
  top: 64px;
  width: 230px;
  height: 178px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metric-strip div {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 16px;
  align-items: center;
  min-height: 98px;
  padding: 22px 32px;
  background: #fff;
}

.metric-strip i {
  grid-area: icon;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 25px;
}

.metric-strip strong {
  grid-area: title;
  color: var(--green-900);
  font-size: 22px;
  font-weight: 800;
}

.metric-strip span {
  grid-area: text;
  color: var(--ink-600);
  font-size: 14px;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 32px;
}

.section-mark {
  display: block;
  width: 5px;
  height: 32px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--green-800);
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p {
  width: min(660px, 100%);
  margin: 8px 0 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.75;
}

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

.featured-card,
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.featured-card:hover,
.featured-card:focus-visible,
.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(7, 84, 55, 0.32);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.featured-image,
.product-image {
  display: grid;
  place-items: center;
  background: var(--surface-soft);
}

.featured-image {
  height: 188px;
  padding: 20px;
}

.featured-image img {
  width: 100%;
  height: 148px;
  object-fit: contain;
}

.featured-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-kicker {
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
}

.featured-body strong {
  color: var(--ink-900);
  font-size: 18px;
  font-weight: 800;
}

.featured-specs {
  display: grid;
  gap: 7px;
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.55;
}

.featured-note {
  display: inline-flex;
  justify-self: start;
  min-height: 30px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 0 10px;
  color: var(--ink-600);
  font-size: 13px;
}

.catalog-band {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-heading {
  margin-bottom: 24px;
}

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.filter-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
}

.filter-row > span {
  padding-top: 8px;
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 800;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.text-button {
  border: 0;
}

.filter-button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-600);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  font-size: 14px;
}

.filter-button[aria-pressed="true"] {
  background: var(--green-800);
  color: #fff;
  box-shadow: none;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 12px;
  color: var(--ink-600);
  font-size: 14px;
}

.text-button {
  background: transparent;
  color: var(--green-800);
  font-size: 14px;
}

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

.product-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}

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

.product-table th {
  color: var(--ink-700);
  background: #f4f6f4;
  font-weight: 800;
}

.product-table tr {
  cursor: pointer;
}

.product-table tbody tr:hover,
.product-table tbody tr:focus-visible {
  background: #f8fbf9;
  outline: none;
}

.product-table tbody tr:last-child td {
  border-bottom: 0;
}

.product-table td {
  color: var(--ink-700);
}

.product-table td strong {
  color: var(--ink-900);
  font-weight: 800;
}

.catalog-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.outline-button {
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--green-800);
  background: #fff;
  color: var(--green-800);
  font-size: 15px;
}

.outline-button:disabled {
  border-color: var(--line);
  color: var(--ink-400);
  cursor: default;
}

.compact-heading {
  margin-bottom: 26px;
}

.all-products {
  padding-top: 64px;
}

.library-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -8px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #f8fbf9 0%, #fff 100%);
  padding: 20px 22px;
}

.library-callout div {
  display: grid;
  gap: 4px;
}

.library-callout strong {
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 800;
}

.library-callout span {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.65;
}

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

.product-card {
  padding: 0;
}

.product-image {
  height: 186px;
  padding: 22px;
}

.product-image img {
  width: 100%;
  height: 142px;
  object-fit: contain;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

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

.product-specs span {
  min-width: 0;
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 10px;
  color: var(--ink-600);
  font-size: 12px;
}

.product-specs strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 800;
}

.product-note {
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.65;
}

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

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

.service-steps article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
}

.service-steps i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 28px;
}

.service-steps article > span {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.service-steps h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  font-weight: 800;
}

.service-steps p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-950);
  color: #fff;
}

.contact-copy {
  padding: 44px 0 44px 44px;
}

.contact-section .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #cfe5d8;
}

.contact-section h2 {
  margin: 18px 0 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
}

.contact-section p {
  width: min(620px, 100%);
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.contact-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
  min-height: 280px;
}

.contact-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  background: #f4f6f4;
  opacity: 0.94;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-600);
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 800;
}

.footer-brand img {
  width: 88px;
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 51, 35, 0.58);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  width: min(920px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-900);
  cursor: pointer;
  font-size: 22px;
}

.modal-media {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 42px;
  background: var(--surface-soft);
}

.modal-media img {
  max-height: 300px;
  object-fit: contain;
}

.modal-content {
  padding: 54px 42px 42px;
}

.series-label {
  display: inline-flex;
  border-radius: var(--radius);
  background: var(--green-100);
  padding: 7px 10px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
}

.modal-content h2 {
  margin: 18px 0 14px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
}

.modal-content p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.78;
}

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

.spec-list div {
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 14px;
}

.spec-list dt {
  color: var(--ink-400);
  font-size: 12px;
}

.spec-list dd {
  margin: 4px 0 0;
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 24px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    min-height: auto;
  }

  .hero-stage {
    min-height: 360px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    padding-inline: 24px;
  }

  .featured-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 36px 36px 0;
  }

  .contact-media {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 108px;
  }

  .brand span,
  .main-nav,
  .header-action {
    display: none;
  }

  .hero-inner,
  .section-shell,
  .contact-section {
    width: calc(100% - 36px);
  }

  .hero-inner {
    padding: 46px 0 36px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 320px;
  }

  .hero-product-main {
    left: 20px;
    bottom: 34px;
    width: 230px;
    height: 178px;
  }

  .hero-product-side {
    right: 14px;
    top: 38px;
    width: 220px;
    height: 172px;
  }

  .hero-product-small {
    left: 14px;
    top: 34px;
    width: 156px;
    height: 124px;
  }

  .metric-strip div {
    min-height: 88px;
  }

  .section-shell {
    padding: 56px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .featured-grid,
  .product-grid,
  .service-steps,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-row > span {
    padding-top: 0;
  }

  .product-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .library-callout .outline-button {
    width: 100%;
  }

  .contact-section {
    margin-bottom: 44px;
  }

  .contact-copy {
    padding: 30px 24px 0;
  }

  .contact-section h2 {
    font-size: 30px;
  }

  .contact-media {
    grid-template-columns: 1fr;
  }

  .contact-media img + img {
    display: none;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 280px;
  }
}
