.oem-device-page {
  --oem-ink: #0b2446;
  --oem-muted: #586f88;
  --oem-line: #d8e2ec;
  --oem-blue: #146fc0;
  --oem-gold: #b78a27;
  --oem-surface: #f3f6f9;
  background: #f7f5f0;
  color: var(--oem-ink);
}

.oem-device-page .wrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.oem-device-overview,
.oem-device-section {
  padding: 36px 0;
}

.oem-device-section--alt {
  border-block: 1px solid var(--oem-line);
  background: #edf2f6;
}

.oem-device-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.oem-device-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--oem-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 48, 82, .07);
}

.oem-device-visual--wide {
  grid-column: 1 / -1;
}

.oem-device-visual__canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
  padding: 18px;
  background: #eef2f6;
}

.oem-device-visual--wide .oem-device-visual__canvas {
  height: 540px;
  background: #fff;
}

.oem-device-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oem-device-visual figcaption {
  padding: 12px 16px;
  color: #62758a;
  font-size: .82rem;
  line-height: 1.55;
}

.oem-device-intro,
.oem-device-section__box {
  padding: 30px;
  border: 1px solid var(--oem-line);
  border-radius: 22px;
  background: #fff;
}

.oem-device-intro {
  margin-top: 24px;
}

.oem-device-intro__head,
.oem-device-section__head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(340px, 1.22fr);
  gap: 30px;
  align-items: end;
}

.oem-device-section__head {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dfe6ed;
}

.oem-device-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--oem-gold);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.oem-device-intro h2,
.oem-device-section h2 {
  margin: 0;
  color: var(--oem-ink);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.15;
}

.oem-device-intro__head p,
.oem-device-section__head p {
  margin: 0;
  color: var(--oem-muted);
  line-height: 1.8;
}

.oem-device-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.oem-device-stat {
  padding: 16px;
  border: 1px solid var(--oem-line);
  border-radius: 14px;
  background: var(--oem-surface);
}

.oem-device-stat strong,
.oem-device-stat span {
  display: block;
}

.oem-device-stat strong {
  color: var(--oem-ink);
  font-size: 1.15rem;
}

.oem-device-stat span {
  margin-top: 5px;
  color: #687d92;
  font-size: .8rem;
  line-height: 1.45;
}

.oem-device-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--oem-line);
  border-radius: 16px;
}

.oem-device-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.oem-device-table th,
.oem-device-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e1e8ef;
  text-align: left;
  vertical-align: top;
  color: #425c76;
  font-size: .86rem;
  line-height: 1.58;
}

.oem-device-table th {
  color: #fff;
  background: var(--oem-ink);
  font-weight: 800;
}

.oem-device-table td:first-child {
  min-width: 165px;
  color: var(--oem-ink);
  font-weight: 800;
}

.oem-device-table a {
  color: var(--oem-blue);
  font-weight: 750;
  text-decoration: none;
}

.oem-device-table a:hover {
  text-decoration: underline;
}

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

.oem-device-card,
.oem-device-tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--oem-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(20, 48, 80, .06);
}

.oem-device-card__media,
.oem-device-tool-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 14px;
  border-bottom: 1px solid #e0e7ee;
  background: #f0f3f6;
}

.oem-device-card__media img,
.oem-device-tool-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oem-device-card__body,
.oem-device-tool-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.oem-device-card__body h3,
.oem-device-tool-card__body h3 {
  margin: 0;
  color: var(--oem-ink);
  font-size: 1.1rem;
  line-height: 1.35;
}

.oem-device-en {
  margin: 5px 0 0;
  color: #6d8094;
  font-size: .8rem;
}

.oem-device-card-copy {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid #edf0f4;
  color: #4f6881;
  font-size: .84rem;
  line-height: 1.7;
}

.oem-device-index {
  display: block;
  margin-bottom: 8px;
  color: #2876c7;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.oem-device-material-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.oem-device-material-links a {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #d4e2ef;
  border-radius: 999px;
  background: #f7fbff;
  color: var(--oem-blue);
  font-size: .74rem;
  font-weight: 750;
  text-decoration: none;
}

.oem-device-card-link {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--oem-blue);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.oem-device-card-link:hover {
  text-decoration: underline;
}

.oem-device-tool-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(9, 35, 70, .92);
  color: #fff;
  font-size: .69rem;
  font-weight: 800;
}

.oem-device-note {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-left: 4px solid #c99a31;
  border-radius: 0 10px 10px 0;
  background: #fffaf0;
  color: #536b83;
  font-size: .8rem;
  line-height: 1.68;
}

.oem-device-note a {
  color: var(--oem-blue);
}

.oem-device-relation {
  display: block;
  padding: 17px;
  border: 1px solid var(--oem-line);
  border-radius: 14px;
  background: #fff;
  color: var(--oem-ink);
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(20, 48, 80, .05);
}

.oem-device-relation strong,
.oem-device-relation span {
  display: block;
}

.oem-device-relation span {
  margin-top: 6px;
  color: #64798f;
  font-size: .8rem;
  line-height: 1.5;
}

.oem-device-relation:hover {
  border-color: #2b77c4;
}

.oem-device-faq article {
  padding: 20px;
  border: 1px solid var(--oem-line);
  border-radius: 16px;
  background: #fff;
}

.oem-device-faq h3 {
  margin: 0;
  color: var(--oem-ink);
  font-size: 1rem;
  line-height: 1.45;
}

.oem-device-faq p {
  margin: 10px 0 0;
  color: #526b83;
  font-size: .86rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .oem-device-intro__head,
  .oem-device-section__head {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .oem-device-stats,
  .oem-device-card-grid,
  .oem-device-tool-grid,
  .oem-device-relations,
  .oem-device-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .oem-device-page .wrap {
    width: min(100% - 28px, 1180px);
  }

  .oem-device-overview,
  .oem-device-section {
    padding: 26px 0;
  }

  .oem-device-visual-grid,
  .oem-device-card-grid,
  .oem-device-tool-grid,
  .oem-device-relations,
  .oem-device-faq {
    grid-template-columns: 1fr;
  }

  .oem-device-visual--wide {
    grid-column: auto;
  }

  .oem-device-visual__canvas,
  .oem-device-visual--wide .oem-device-visual__canvas {
    height: 280px;
  }

  .oem-device-intro,
  .oem-device-section__box {
    padding: 20px 15px;
  }

  .oem-device-table th,
  .oem-device-table td {
    min-width: 150px;
    padding: 12px;
  }
}

@media (max-width: 460px) {
  .oem-device-stats {
    grid-template-columns: 1fr;
  }
}
