:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #17211b;
  --muted: #5a665f;
  --line: #d9e1db;
  --surface: #ffffff;
  --green: #2b8f5c;
  --green-dark: #146941;
  --gold: #e8b93f;
  --blue: #346f9f;
  --shadow: 0 22px 55px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px clamp(24px, 8vw, 176px);
  border-bottom: 1px solid rgba(217, 225, 219, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-weight: 720;
  color: var(--muted);
}

nav a,
.project-card a,
.site-footer a {
  text-decoration: none;
}

nav a {
  position: relative;
  padding: 12px 17px;
  border-left: 1px solid rgba(217, 225, 219, 0.9);
}

nav a:first-child {
  border-left: 0;
}

nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -19px;
  left: 16px;
  height: 2px;
  background: transparent;
}

nav a:hover::after {
  background: var(--green-dark);
}

nav a[aria-current="page"] {
  color: var(--green-dark);
}

nav a[aria-current="page"]::after {
  background: var(--green-dark);
}

nav a:hover,
.project-card a:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

.hero {
  min-height: min(560px, calc(100svh - 92px));
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 78px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #0a0d0b;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%) 0 0 / 22px 22px,
    #202322;
  color: #ffffff;
  text-align: center;
}

.hero::after {
  content: "";
  width: 100%;
  max-width: 720px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-mark {
  display: grid;
  width: clamp(112px, 14vw, 156px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.3);
}

.hero-mark img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  border-radius: 3px;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.home-page h1 {
  color: #ffffff;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.home-page .hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 4px;
}

.hero-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-links a:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.hero-panel {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 143, 92, 0.12), rgba(52, 111, 159, 0.16)),
    #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(20, 105, 65, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 105, 65, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

.board-visual {
  position: absolute;
  inset: 50px;
  border: 2px solid rgba(20, 105, 65, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.chip {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 780;
  box-shadow: 0 14px 28px rgba(23, 33, 27, 0.18);
}

.main-chip {
  left: 30%;
  top: 32%;
  width: 128px;
  height: 104px;
  background: var(--green-dark);
}

.sensor-chip {
  right: 16%;
  top: 18%;
  width: 82px;
  height: 62px;
  background: var(--blue);
}

.flash-chip {
  left: 16%;
  bottom: 18%;
  width: 92px;
  height: 58px;
  background: #293241;
}

.trace,
.pad {
  position: absolute;
  display: block;
}

.trace {
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.trace-a {
  left: 18%;
  right: 20%;
  top: 27%;
}

.trace-b {
  left: 21%;
  right: 32%;
  bottom: 32%;
}

.trace-c {
  width: 4px;
  height: 46%;
  left: 63%;
  top: 24%;
}

.pad {
  width: 18px;
  height: 18px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: #ffffff;
}

.pad-a {
  left: 13%;
  top: 24%;
}

.pad-b {
  right: 14%;
  top: 24%;
}

.pad-c {
  right: 28%;
  bottom: 29%;
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.home-strip {
  padding: 46px clamp(24px, 8vw, 176px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p,
.hardware-band p {
  color: var(--muted);
  font-size: 18px;
}

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

.project-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.project-card p {
  color: var(--muted);
}

.project-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 760;
}

.hardware-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  background: #f5f7f5;
}

.product-wiki-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-wiki-band div {
  max-width: 840px;
}

.company-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.company-copy {
  max-width: 560px;
}

.status {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-copy p:not(.status) {
  color: var(--muted);
  font-size: 18px;
}

.company-address,
.address-panel {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  border-left: 3px solid var(--green-dark);
  padding-left: 14px;
  font-style: normal;
}

.address-map-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.address-map-link:hover {
  border-color: var(--green-dark);
  box-shadow: 0 12px 24px rgba(15, 61, 46, 0.12);
  transform: translateY(-1px);
}

.address-map-link:focus-visible {
  outline: 3px solid rgba(19, 132, 88, 0.28);
  outline-offset: 4px;
}

.company-address span,
.address-panel span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-address strong,
.address-panel strong {
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.25;
}

.company-address small,
.address-panel small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.map-cta {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.35;
  margin-top: 5px;
}

.company-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 14px;
}

.company-gallery figure {
  min-width: 0;
  margin: 0;
}

.company-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.company-gallery figure:last-child img {
  aspect-ratio: 3 / 4;
}

.company-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  border-top: 1px solid rgba(23, 33, 27, 0.16);
  padding: 0;
  font-weight: 690;
}

.capability-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
}

.capability-list a::after {
  content: "Products";
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 760;
}

.capability-list a:hover {
  color: var(--green-dark);
}

.plain-link {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.plain-link::after {
  content: " /";
  color: var(--muted);
}

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

.project-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 740;
  text-decoration: none;
}

.project-list a::after {
  content: "Open";
  color: var(--green-dark);
  font-size: 13px;
}

.project-list a:hover {
  color: var(--green-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(24px, 8vw, 176px) 42px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
}

.content-band {
  padding: 46px clamp(24px, 8vw, 176px) 82px;
}

.project-list.roomy a {
  min-height: 92px;
}

.project-list strong,
.project-list small {
  display: block;
}

.project-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: #f5f7f5;
}

.contact-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-methods a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.contact-methods span,
.contact-methods small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.contact-methods strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2vw, 24px);
}

.business-contact-band {
  display: block;
}

.business-contact-band > div {
  max-width: 1160px;
}

.business-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.business-lanes a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.business-lanes a:first-child {
  border-color: rgba(20, 105, 65, 0.34);
  box-shadow: inset 0 4px 0 var(--green-dark);
}

.business-lanes span,
.business-lanes small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.business-lanes span {
  color: var(--green-dark);
  text-transform: uppercase;
}

.business-lanes strong {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.7vw, 22px);
}

.business-lanes small {
  line-height: 1.45;
  text-transform: none;
}

.compact-methods a {
  min-height: 96px;
}

.address-panel {
  max-width: 760px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-dark);
  border-radius: 8px;
  padding: 18px 20px;
  background: #ffffff;
}

.github-band {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hardware-band {
    grid-template-columns: 1fr;
  }

  .company-band {
    grid-template-columns: 1fr;
  }

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

  .company-gallery img,
  .company-gallery figure:last-child img {
    aspect-ratio: 4 / 3;
  }

  .contact-band,
  .contact-methods,
  .business-lanes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 340px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

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

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  nav a::after {
    bottom: -8px;
  }

  .home-strip {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-page .product-wiki-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .home-page h1 {
    letter-spacing: 0.08em;
  }

  .board-visual {
    inset: 30px;
  }

  .main-chip {
    left: 26%;
    width: 104px;
    height: 88px;
  }
}

.wiki-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px) 34px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.wiki-hero h1,
.product-detail-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: #ffffff;
}

.language-switch.compact {
  margin-left: auto;
}

.language-switch button,
.filter-button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
}

.language-switch button.active,
.filter-button.active {
  background: var(--ink);
  color: #ffffff;
}

.wiki-toolbar {
  display: grid;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #fdfefd;
}

.selector-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.selector-copy h2 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.selector-copy p:not(.status) {
  margin: 0;
  color: var(--muted);
}

.selector-controls {
  display: grid;
  gap: 12px;
  align-content: start;
}

.selector-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selector-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 740;
  cursor: pointer;
}

.selector-button.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
}

.selector-chip.active {
  border-color: #b7851a;
  background: #fff6db;
  color: #835000;
}

.selector-clear {
  color: var(--green-dark);
}

.search-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.search-wrap input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.search-wrap span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.filter-button {
  border: 1px solid var(--line);
  background: #ffffff;
}

.label-filters {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.label-filter-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 820;
}

.label-filter-clear {
  border: 1px solid rgba(42, 69, 88, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.label-filter-groups {
  display: grid;
  gap: 10px;
}

.label-filter-group {
  display: grid;
  grid-template-columns: minmax(118px, 0.18fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.label-filter-group-title {
  min-height: 30px;
  padding-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.label-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.label-filter-button {
  min-height: 30px;
  max-width: 100%;
  border: 1px solid rgba(42, 69, 88, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 740;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.label-filter-button.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
}

.wiki-grid-section {
  padding: 30px clamp(20px, 5vw, 72px) 86px;
}

.comparison-section {
  padding: 54px clamp(20px, 5vw, 72px) 86px;
  border-top: 1px solid var(--line);
  background: #f5f7f5;
}

.comparison-stack {
  display: grid;
  gap: 24px;
}

.comparison-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.comparison-table-wrap h3 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  font-size: 22px;
}

.comparison-table-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
}

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

.comparison-table thead th {
  background: #fdfefd;
  color: var(--green-dark);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  width: 24%;
}

.comparison-table tbody th a,
.comparison-table tbody td a {
  color: var(--green-dark);
  font-weight: 760;
  text-decoration: none;
}

.comparison-table tbody th .product-status {
  margin-top: 8px;
}

.comparison-table tbody td {
  color: var(--muted);
  font-size: 14px;
}

.comparison-actions {
  display: grid;
  grid-template-columns: minmax(62px, max-content) max-content;
  column-gap: 8px;
  row-gap: 8px;
  align-items: start;
}

.comparison-actions span,
.comparison-actions a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: #ffffff;
}

.comparison-actions .comparison-action-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

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

.wiki-product-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.product-media,
.detail-hero-image {
  background:
    linear-gradient(135deg, rgba(43, 143, 92, 0.08), rgba(52, 111, 159, 0.1)),
    #f6f9f7;
}

.product-media {
  display: block;
}

.product-media img,
.detail-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  font-weight: 760;
  text-align: center;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.product-card-meta,
.detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 790;
}

.product-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid #d79a2b;
  border-radius: 999px;
  padding: 2px 8px;
  background: #fff7e8;
  color: #8a4f00;
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.product-status-latest {
  border-color: #6fc184;
  background: #eefaf1;
  color: #176d34;
}

.wiki-product-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.wiki-product-card p {
  color: var(--muted);
  font-size: 15px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 18px;
}

.product-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
}

.product-labels {
  align-items: center;
}

.product-labels .product-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-color: rgba(42, 69, 88, 0.16);
  background: #f7f9fb;
  color: #334155;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-labels .product-label-role {
  border-color: rgba(34, 110, 91, 0.24);
  background: #eefaf5;
  color: #17624e;
}

.product-labels .product-label-firmware,
.label-filter-button.product-label-firmware {
  border-color: rgba(74, 85, 162, 0.22);
  background: #f3f5ff;
  color: #39428f;
}

.product-labels .product-label-setup,
.label-filter-button.product-label-setup {
  border-color: rgba(132, 81, 44, 0.2);
  background: #fff8f1;
  color: #754c24;
}

.product-labels .product-label-power,
.label-filter-button.product-label-power {
  border-color: rgba(190, 124, 47, 0.24);
  background: #fff7ed;
  color: #93591d;
}

.product-labels .product-label-hardware,
.label-filter-button.product-label-hardware,
.product-labels .product-label-io,
.product-labels .product-label-physical {
  border-color: rgba(35, 116, 155, 0.2);
  background: #eef8fc;
  color: #1d6682;
}

.product-labels .product-label-role,
.label-filter-button.product-label-role {
  border-color: rgba(34, 110, 91, 0.24);
  background: #eefaf5;
  color: #17624e;
}

.label-filter-button.active.product-label-role,
.label-filter-button.active.product-label-firmware,
.label-filter-button.active.product-label-power,
.label-filter-button.active.product-label-hardware,
.label-filter-button.active.product-label-setup {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
}

.file-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.file-badges span {
  border: 1px solid rgba(43, 143, 92, 0.24);
  border-radius: 6px;
  padding: 4px 8px;
  background: #f1faf4;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 780;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.text-link {
  color: var(--green-dark);
  font-weight: 780;
  text-decoration: none;
}

.inquiry-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  padding: 3px 11px;
  background: var(--green-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 20px 0;
  color: var(--muted);
  font-weight: 720;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.product-detail-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.detail-hero-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 760;
  text-decoration: none;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 38px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #fdfefd;
}

.detail-info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.detail-info-panel-wide {
  grid-column: 1 / -1;
}

.detail-info-panel h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.detail-info-panel p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.detail-rich-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-rich-list li::marker {
  color: var(--green-dark);
}

.detail-info-panel-warning {
  border-color: rgba(232, 185, 63, 0.62);
  background: #fffaf0;
}

.detail-section {
  padding: 54px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.detail-section h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  font-weight: 680;
}

.spec-table-wrap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow-x: auto;
}

.spec-table-intro {
  padding: 18px 18px 6px;
  border-bottom: 1px solid var(--line);
}

.spec-table-intro h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 18px;
}

.spec-table-intro p {
  max-width: 780px;
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

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

.spec-table thead th {
  background: #f5f7f5;
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.spec-table tbody th {
  width: 34%;
  color: var(--ink);
  font-weight: 760;
}

.spec-table tbody td {
  color: var(--muted);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.hardware-change-section {
  background: #f8faf8;
}

.hardware-change-heading {
  max-width: 860px;
}

.hardware-change-heading h2 {
  margin-bottom: 10px;
}

.hardware-change-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hardware-change-heading p + p {
  margin-top: 8px;
}

.hardware-change-reason {
  max-width: 940px;
  border-left: 3px solid var(--green-dark);
  padding-left: 12px;
}

.hardware-change-table-wrap {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow-x: auto;
}

.hardware-change-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.hardware-change-table th,
.hardware-change-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
  line-height: 1.36;
  vertical-align: middle;
}

.hardware-change-table thead th {
  background: #e8f0e9;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.hardware-change-table tbody th {
  width: 34%;
  color: var(--ink);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 760;
}

.hardware-change-table tbody td {
  color: var(--ink);
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 760;
}

.hardware-change-emphasis td:last-child {
  color: var(--green-dark);
  font-weight: 820;
}

.hardware-change-table tr:last-child th,
.hardware-change-table tr:last-child td {
  border-bottom: 0;
}

.firmware-compat-note {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  border: 1px solid rgba(20, 105, 65, 0.24);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.firmware-compat-note h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.16;
}

.firmware-compat-note p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
}

.firmware-version-list {
  display: grid;
  gap: 10px;
}

.firmware-version-list strong {
  color: var(--ink);
  font-size: 14px;
}

.firmware-version-list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.firmware-version-list li {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.firmware-version-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.firmware-version-list b {
  color: var(--ink);
  font-size: 17px;
}

.firmware-target-note {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.hardware-revision-grid {
  margin-top: 20px;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}

.detail-media-grid figure {
  display: grid;
  grid-template-rows: auto minmax(52px, auto);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-media-grid a {
  display: grid;
  min-height: clamp(220px, 24vw, 340px);
  padding: 14px;
  place-items: center;
  background: #f8faf8;
}

.detail-media-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.detail-media-grid figcaption {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  min-height: 52px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.download-list,
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.download-list a,
.related-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--green-dark);
  font-weight: 760;
  text-decoration: none;
}

@media (max-width: 980px) {
  .wiki-product-grid,
  .spec-list,
  .business-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .wiki-hero,
  .product-detail-hero,
  .detail-practical-grid,
  .search-wrap,
  .detail-media-grid,
  .wiki-product-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .language-switch.compact {
    margin-left: 0;
  }

  .wiki-product-card {
    grid-template-rows: 220px 1fr;
  }

  .label-filter-group {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .label-filter-group-title {
    min-height: auto;
    padding-top: 0;
  }

  .detail-media-grid a {
    min-height: 220px;
  }

  .detail-media-grid img {
    width: 100%;
  }

  .comparison-table-scroll {
    overflow: visible;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }

  .comparison-table tr:last-child {
    border-bottom: 0;
  }

  .comparison-table tbody th,
  .comparison-table tbody td {
    border-bottom: 0;
    padding: 0;
  }

  .comparison-table tbody th {
    width: 100%;
    margin-bottom: 10px;
  }

  .comparison-table tbody th a {
    display: block;
    max-width: 100%;
  }

  .comparison-table tbody td {
    display: grid;
    grid-template-columns: minmax(108px, 0.32fr) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
  }

  .comparison-table tbody td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 780;
  }

  .comparison-actions {
    grid-template-columns: repeat(2, max-content);
  }
}
