:root {
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(21, 56, 94, 0.1);
  --text: #12304f;
  --muted: #5b7188;
  --title: #0a1d33;
  --teal: #15c7b8;
  --blue: #2f66ff;
  --blue-deep: #13366f;
  --shadow: 0 24px 80px rgba(25, 73, 130, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Manrope, "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 199, 184, 0.12), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(47, 102, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfeff 0%, #eef7fb 52%, #f8fcff 100%);
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.5;
}

.page-glow-a {
  width: 380px;
  height: 380px;
  background: rgba(21, 199, 184, 0.22);
  top: -120px;
  left: -100px;
}

.page-glow-b {
  width: 460px;
  height: 460px;
  background: rgba(47, 102, 255, 0.18);
  top: 120px;
  right: -160px;
}

.wrap {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.feature-card,
.info-panel,
.timeline-item,
.cta-box {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: 32px;
  animation: rise 0.7s ease;
}

.eyebrow {
  display: none;
}

.hero h1,
.section h2,
.hero-card h2 {
  margin: 0;
  color: var(--title);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  max-width: 10ch;
}

.hero-text,
.section-text,
.hero-card p,
.feature-card p,
.info-panel p,
.timeline-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 60ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  box-shadow: 0 16px 36px rgba(47, 102, 255, 0.26);
}

.button-secondary {
  color: var(--blue-deep);
  border: 1px solid rgba(47, 102, 255, 0.18);
  background: rgba(255, 255, 255, 0.72);
}


.hero-card {
  border-radius: 32px;
  padding: 32px;
  animation: rise 0.9s ease;
}

.hero-media {
  flex: 1;
  margin-bottom: 14px;
  border-radius: 24px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.hero-media-copy {
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin-inline: -22px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero-media-copy img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-text,
.hero-copy .hero-actions,
.hero-copy .search-panel {
  display: none;
}

.hero-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(47, 102, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.hero-tab:hover {
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.hero-tab:focus-visible {
  outline: 2px solid rgba(47, 102, 255, 0.3);
  outline-offset: 2px;
}

.hero-tab.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 28px rgba(47, 102, 255, 0.2);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(21, 199, 184, 0.12);
  color: #0e7d74;
  font-weight: 800;
  font-size: 13px;
}

.mini-note {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #173f7a, #2f66ff);
  box-shadow: 0 12px 24px rgba(47, 102, 255, 0.22);
}

.hero-card h2 {
  margin-top: 22px;
  font-size: clamp(28px, 4vw, 44px);
}

.hero-card p {
  margin-top: 14px;
}

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

.metric-grid article {
  padding: 16px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 252, 0.95));
  border: 1px solid rgba(21, 56, 94, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.metric-grid article:last-child {
  grid-column: 1 / -1;
}

.metric-grid article:nth-child(1),
.metric-grid article:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(21, 199, 184, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 255, 0.98));
  border-color: rgba(47, 102, 255, 0.12);
  box-shadow:
    0 12px 26px rgba(47, 102, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.metric-grid article:nth-child(3) {
  background:
    radial-gradient(circle at top left, rgba(47, 102, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.98));
}

.metric-grid article:nth-child(4),
.metric-grid article:nth-child(5) {
  background:
    radial-gradient(circle at bottom right, rgba(21, 199, 184, 0.09), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 248, 251, 0.98));
}

.metric-grid article:nth-child(6) {
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 241, 255, 0.98));
  border-color: rgba(99, 102, 241, 0.14);
}

.metric-grid article:last-child {
  background:
    radial-gradient(circle at right center, rgba(47, 102, 255, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 255, 0.98));
  border-color: rgba(47, 102, 255, 0.14);
  box-shadow:
    0 14px 28px rgba(47, 102, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.metric-grid article:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px rgba(25, 73, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.metric-grid strong {
  display: block;
  color: var(--blue-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
  white-space: nowrap;
  word-break: keep-all;
}

.metric-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.metric-grid article:nth-child(1) strong,
.metric-grid article:nth-child(2) strong,
.metric-grid article:last-child strong {
  color: #173f7a;
}

.usage-panel {
  margin-inline: -22px;
  padding: 7px 10px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(21, 199, 184, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 246, 252, 0.9));
  border: 1px solid rgba(21, 56, 94, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  animation: rise 0.95s ease;
}

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

.usage-metrics article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 32px;
  padding: 6px 16px;
}

.usage-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.led-number {
  margin-top: 2px;
  color: #13dfc7;
  font-family: "Courier New", monospace;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 6px rgba(19, 223, 199, 0.55),
    0 0 18px rgba(47, 102, 255, 0.18);
}

.section {
  padding: 28px 0;
}

section[id] {
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-head h2,
.cta-box h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.1;
}

.product-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-title span {
  display: block;
}

.section-head.compact {
  max-width: none;
}

.section-head.compact h2 {
  white-space: nowrap;
}

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

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

#download .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

#download .feature-card {
  display: flex;
  flex-direction: column;
  writing-mode: horizontal-tb;
  direction: ltr;
}

#download .feature-card * {
  writing-mode: horizontal-tb;
  direction: ltr;
  text-orientation: mixed;
}

#download .feature-card .inline-button {
  margin-top: auto;
}

.download-card-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

@keyframes wechatGateSpin {
  to {
    transform: rotate(360deg);
  }
}

.feature-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}

.faq-item {
  height: 100%;
}

.faq-item h3 {
  margin-top: 0;
  font-size: clamp(22px, 2.3vw, 28px);
}

.faq-item p {
  margin-top: 14px;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 199, 184, 0.2), transparent 68%);
}

.card-index {
  display: inline-block;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card h3,
.info-panel h3,
.timeline-item h3 {
  margin: 14px 0 0;
  color: var(--title);
  font-size: 24px;
  line-height: 1.15;
}

.feature-card p,
.info-panel p,
.timeline-item p {
  margin: 12px 0 0;
}

.inline-button {
  margin-top: 22px;
}

.alt-section {
  position: relative;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.product-layout {
  display: grid;
  gap: 24px;
}

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

.bullet-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 600;
}

.bullet-list li + li {
  margin-top: 12px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.info-panel {
  padding: 28px;
  border-radius: 28px;
}

.product-panel {
  height: 100%;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 102, 255, 0.1);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
}

.product-badge-light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.accent-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(58, 28, 92, 0.98), rgba(96, 52, 148, 0.96) 55%, rgba(134, 88, 190, 0.92));
  box-shadow:
    0 24px 60px rgba(61, 31, 102, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.accent-panel h3,
.accent-panel p {
  color: #ffffff;
}

.bullet-list-light li {
  color: rgba(255, 255, 255, 0.9);
}

.bullet-list-light li::before {
  background: rgba(255, 255, 255, 0.9);
}

.capability-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(56px, 1fr)) minmax(36px, 48px);
  grid-template-rows: repeat(8, minmax(54px, auto));
  gap: 5px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(21, 56, 94, 0.1);
  box-shadow: var(--shadow);
}

.capability-tile,
.capability-side {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 5px;
  color: #ffffff;
  font-size: clamp(14px, 1.8vw, 25px);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.capability-side {
  min-width: 36px;
  padding: 8px 6px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0;
}

:lang(en) .capability-side {
  text-orientation: mixed;
}

.capability-green {
  background: #6aad42;
}

.capability-pink {
  background: #f70565;
}

.capability-orange {
  background: #fbbd06;
}

.capability-blue {
  background: #10aee1;
}

.tile-system { grid-area: 1 / 1 / 2 / 4; }
.tile-alarm { grid-area: 1 / 4 / 2 / 7; }
.tile-history { grid-area: 1 / 7 / 2 / 10; }
.tile-logic { grid-area: 1 / 10 / 2 / 13; }
.tile-linux { grid-area: 2 / 1 / 3 / 4; }
.tile-gateway { grid-area: 2 / 4 / 3 / 7; }
.tile-mqtt { grid-area: 2 / 7 / 3 / 10; }
.tile-hardware { grid-area: 2 / 10 / 3 / 13; }
.side-commercial { grid-area: 1 / 13 / 3 / 14; }

.tile-dynamic { grid-area: 3 / 1 / 4 / 4; }
.tile-parse { grid-area: 3 / 4 / 4 / 6; }
.tile-curve { grid-area: 3 / 6 / 4 / 8; }
.tile-timing { grid-area: 3 / 8 / 4 / 10; }
.tile-loss-device { grid-area: 3 / 10 / 4 / 13; }
.tile-poll { grid-area: 4 / 1 / 5 / 3; }
.tile-batch { grid-area: 4 / 3 / 5 / 5; }
.tile-custom { grid-area: 4 / 5 / 5 / 8; }
.tile-record { grid-area: 4 / 8 / 5 / 10; }
.tile-loss-channel { grid-area: 4 / 10 / 5 / 13; }
.side-project { grid-area: 3 / 13 / 5 / 14; }

.tile-master { grid-area: 5 / 1 / 6 / 7; }
.tile-slave { grid-area: 5 / 7 / 6 / 13; }
.tile-ascii { grid-area: 6 / 1 / 7 / 4; }
.tile-rtu { grid-area: 6 / 4 / 7 / 7; }
.tile-modbus-tcp { grid-area: 6 / 7 / 7 / 10; }
.tile-rtu-over { grid-area: 6 / 10 / 7 / 13; }
.side-device { grid-area: 5 / 13 / 7 / 14; }

.tile-serial { grid-area: 7 / 1 / 9 / 4; }
.tile-rs485 { grid-area: 7 / 4 / 9 / 7; }
.tile-tcp { grid-area: 7 / 7 / 8 / 10; }
.tile-udp { grid-area: 7 / 10 / 8 / 13; }
.tile-ethernet { grid-area: 8 / 7 / 9 / 13; }
.side-channel { grid-area: 7 / 13 / 9 / 14; }

.product-compare {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 56, 94, 0.08);
  box-shadow: var(--shadow);
}

.product-compare h3 {
  margin: 0 0 18px;
  color: var(--title);
  font-size: clamp(24px, 3vw, 34px);
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(21, 56, 94, 0.08);
  vertical-align: middle;
}

.compare-table th {
  color: var(--title);
  font-size: 15px;
  font-weight: 800;
  background: rgba(47, 102, 255, 0.06);
}

.compare-table td {
  color: var(--muted);
  line-height: 1.6;
}

.compare-table .compare-yes,
.compare-table .compare-no,
.compare-table .compare-note {
  font-weight: 800;
}

.compare-table .compare-yes {
  color: #0b8a2a;
  text-align: center;
}

.compare-table .compare-no {
  color: #e02424;
  text-align: center;
}

.compare-table .compare-note-ok {
  color: #0b8a2a;
}

.compare-table .compare-note-warn {
  color: #e02424;
}

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

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

.timeline-item {
  padding: 26px;
  border-radius: 28px;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(47, 102, 255, 0.12);
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.cta-section {
  padding-bottom: 60px;
}

.cta-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(21, 199, 184, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 255, 0.96));
}

.cta-box > div:first-child {
  flex: 0 1 420px;
  min-width: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-layout,
  .product-columns,
  .card-grid,
  .faq-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

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

  .metric-grid article:last-child {
    grid-column: auto;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box > div:first-child {
    width: 100%;
    flex: none;
  }

  .contact-visual {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #download .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }
}

@media (max-width: 860px) {
  .contact-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .contact-card {
    width: min(100%, 320px);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100vw - 24px, 100%);
  }

  .nav-row {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .info-panel,
  .timeline-item,
  .cta-box,
  .product-compare {
    border-radius: 24px;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .info-panel,
  .timeline-item,
  .product-compare {
    padding: 22px;
  }

  .hero-media-copy {
    min-height: 0;
    margin-inline: -10px;
  }

  .usage-panel {
    margin-inline: -10px;
  }

  .usage-panel,
  .usage-metrics {
    grid-template-columns: 1fr;
  }

  .usage-metrics article {
    min-height: 32px;
  }

  .search-row,
  .metric-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }

  #download .card-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    gap: 10px;
  }

  .cta-box {
    align-items: center;
  }

  .cta-box > div:first-child {
    width: 100%;
  }

  .section-head.compact h2 {
    white-space: normal;
  }

  .compare-table {
    min-width: 0;
    table-layout: fixed;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 13px;
    word-break: break-word;
  }

  .capability-map {
    display: grid;
    grid-template-columns: repeat(12, max-content) minmax(34px, max-content);
    grid-template-rows: repeat(8, minmax(48px, auto));
    margin-inline: -2px;
    overflow-x: auto;
  }

  .capability-tile,
  .capability-side {
    min-height: 48px;
    min-width: 88px;
    padding: 7px 8px;
    font-size: 14px;
  }

  .capability-side {
    min-width: 34px;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }

  :lang(en) .capability-map {
    grid-template-columns: repeat(12, max-content) minmax(34px, max-content);
  }

  :lang(en) .capability-side {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}
