:root {
  --bg: #f3f5f0;
  --surface: #ffffff;
  --surface-2: #e9ede6;
  --ink: #0c1111;
  --ink-2: #1a2424;
  --muted: #64706f;
  --line: #d5dcd3;
  --line-dark: #2e3938;
  --lime: #b7ef38;
  --teal: #1aa6a6;
  --orange: #ff6a3d;
  --blue: #4669ff;
  --yellow: #ffd84d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 17, 17, 0.08);
  --font-sans: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::-moz-selection {
  background: #2f7cff;
  color: #fff;
}

::selection {
  background: #2f7cff;
  color: #fff;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

.section {
  padding: 96px 0;
}

.view[hidden] {
  display: none !important;
}

.view.is-active {
  animation: viewIn 380ms ease both;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.66);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 239, 56, 0.15);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.button-primary:hover {
  background: #c8ff50;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--ink-2);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-outline {
  background: transparent;
  border-color: var(--line);
}

.button-outline:hover {
  border-color: var(--ink);
}

.compact-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.text-link .icon,
.card-link .icon,
.button .icon {
  transition: transform 180ms ease;
}

.text-link:hover .icon,
.card-link:hover .icon,
.button:hover .icon {
  transform: translateX(3px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-inner {
  background: rgba(243, 245, 240, 0.96);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  width: min(1440px, calc(100% - 40px));
  min-height: 74px;
  align-items: center;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand-copy small {
  color: currentColor;
  font-size: 10px;
  opacity: 0.64;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-nav a {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  border-radius: 0;
  font-size: var(--rxh-ui-navigation-font-size, 15px);
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.82;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 2px;
  display: block;
  background: var(--lime);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: transparent;
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header.is-scrolled .desktop-nav,
.site-header.is-inner .desktop-nav {
  border: 0;
  background: transparent;
}

.site-header.is-scrolled .desktop-nav a,
.site-header.is-inner .desktop-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a.is-active,
.site-header.is-inner .desktop-nav a:hover,
.site-header.is-inner .desktop-nav a.is-active {
  background: transparent;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contributors-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.8;
}

.contributors-link:hover {
  opacity: 1;
}

.icon-button,
.menu-button {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.icon-button {
  padding: 0;
  font-size: 17px;
  opacity: 0.78;
}

.menu-button {
  display: none;
  gap: 7px;
  padding: 0 12px;
  font-size: 12px;
}

.mobile-menu {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: none;
  padding: 18px;
  background: var(--ink);
  color: var(--white);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.mobile-menu nav {
  display: grid;
  padding-top: 25px;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 23px;
  font-weight: 700;
}

.mobile-menu nav a span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 400;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  background-color: #111;
  background-image: url("assets/hero-robotics.jpg");
  background-position: center 26%;
  background-size: cover;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 9, 0.73);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(90deg, transparent 0 79px, #fff 79px 80px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 160px 0 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 118px;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.hero-cn {
  margin: 24px 0 0;
  color: var(--lime);
  font-size: 24px;
  font-weight: 700;
}

.hero-lead {
  max-width: 560px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.hero-actions,
.cta-actions,
.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 28px;
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.signal-band {
  background: var(--ink);
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid article {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  border-right: 1px solid var(--line-dark);
}

.signal-grid article:first-child {
  border-left: 1px solid var(--line-dark);
}

.metric {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
}

.signal-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  max-width: 820px;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.module-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 180ms ease, transform 180ms ease;
}

.module-card:hover {
  z-index: 2;
  background: #f8faf6;
  transform: translateY(-4px);
}

.module-card-large {
  grid-column: span 2;
  background: var(--ink);
  color: var(--white);
}

.module-card-accent {
  background: var(--lime);
}

.module-number {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.55;
}

.module-icon {
  width: 42px;
  height: 42px;
  margin: 45px 0 26px;
  stroke-width: 1.3;
}

.module-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.module-card p {
  max-width: 390px;
  margin: 0 0 28px;
  color: currentColor;
  font-size: 14px;
  opacity: 0.7;
}

.module-card .text-link {
  margin-top: auto;
}

.featured-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-card,
.catalog-card,
.doc-card,
.project-card,
.activity-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border-top: 0;
  border-left: 0;
}

.product-visual {
  position: relative;
  min-height: 184px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--surface-2);
}

.product-visual::before,
.catalog-visual::before,
.project-media::before {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 9, 0.1);
  content: "";
}

.product-visual span {
  position: relative;
  z-index: 1;
  padding: 14px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
}

.product-visual .icon,
.catalog-visual .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  color: var(--white);
  stroke-width: 1.1;
  transform: translate(-50%, -50%);
}

.image-circuit {
  background-image: url("assets/circuit-board.jpg");
  background-position: center;
  background-size: cover;
}

.image-board {
  background-image: url("assets/circuit-board.jpg");
  background-position: 30% center;
  background-size: cover;
}

.image-humanoid {
  background-image: url("assets/robot-humanoid.jpg");
  background-position: center;
  background-size: cover;
}

.image-robot-arm {
  background-image: url("assets/robot-arm.jpg");
  background-position: center;
  background-size: cover;
}

.image-radar,
.visual-radar-panel {
  background: var(--ink);
  color: var(--lime);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.15;
}

.card-body p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.card-body .card-link {
  margin-top: auto;
}

.section-live {
  background: var(--surface);
}

.live-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.live-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.live-copy h2 {
  margin: 0 0 20px;
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.live-copy p {
  max-width: 480px;
  margin: 0 0 26px;
  color: var(--muted);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--ink);
}

.live-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.live-stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-4deg);
}

.section-cta {
  padding: 70px 0;
  background: var(--lime);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.cta-layout h2 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.page-head {
  padding: 160px 0 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-head-dark,
.page-head-project,
.page-head-forum,
.page-head-learn,
.page-head-solution,
.page-head-activities {
  background: var(--ink);
  color: var(--white);
}

.page-head-grid {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 60px;
}

.page-head h1 {
  max-width: 960px;
  margin: 0 0 18px;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.page-head p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.page-head-dark p,
.page-head-project p,
.page-head-forum p,
.page-head-learn p,
.page-head-solution p,
.page-head-activities p {
  color: rgba(255, 255, 255, 0.62);
}

.page-head-note,
.solution-badge,
.next-event-card,
.learn-marker,
.project-actions {
  min-width: 220px;
}

.page-head-note {
  padding-left: 24px;
  border-left: 2px solid var(--lime);
}

.page-head-note span,
.page-head-note p {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-head-note strong {
  display: block;
  color: var(--lime);
  font-size: 56px;
  line-height: 1;
}

.status-bar {
  background: var(--lime);
  color: var(--ink);
}

.status-bar-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.status-bar-inner > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-bar .status-dot {
  background: var(--ink);
  box-shadow: none;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hardware-searchbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hardware-searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

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

.filter-button,
.tag,
.toolbar-action {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.is-active,
.tag:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.toolbar-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.result-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.category-strip {
  display: grid;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.category-strip article {
  padding: 28px;
}

.category-strip article + article {
  border-left: 1px solid var(--line);
}

.category-strip article > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.category-strip h2 {
  margin: 8px 0 16px;
  font-size: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

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

.catalog-card {
  display: flex;
  flex-direction: column;
}

.catalog-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: var(--surface-2);
}

.catalog-brand,
.catalog-index {
  position: absolute;
  z-index: 2;
  padding: 12px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.catalog-brand {
  top: 0;
  left: 0;
}

.catalog-index {
  right: 0;
  bottom: 0;
}

.visual-radar-panel,
.visual-bot-panel {
  display: grid;
  place-items: center;
  background-color: var(--ink);
  color: var(--lime);
}

.visual-radar-panel .icon,
.visual-bot-panel .icon {
  position: static;
  width: 78px;
  height: 78px;
  transform: none;
}

.catalog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.catalog-body h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.catalog-body > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.spec-list {
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-family: var(--font-mono);
  text-align: right;
}

.card-button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.card-button:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.section-compare {
  background: var(--surface);
}

.relation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.relation-grid div {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.relation-grid span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.relation-grid strong {
  display: block;
  margin-top: 42px;
  font-size: 24px;
}

.relation-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}

.doc-search {
  display: flex;
  width: min(420px, 100%);
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.doc-search input,
.search-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.wiki-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 240px 1fr;
  gap: 42px;
}

.wiki-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  border-top: 1px solid var(--line);
}

.sidebar-title {
  display: block;
  padding: 16px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wiki-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.wiki-sidebar a.is-active,
.wiki-sidebar a:hover {
  color: var(--ink);
  font-weight: 700;
}

.wiki-sidebar a span {
  font-family: var(--font-mono);
  font-size: 9px;
}

.quickstart {
  display: grid;
  margin-bottom: 24px;
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr 1.2fr;
}

.quickstart-copy {
  padding: 30px;
}

.quickstart-copy h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.quickstart-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.quickstart-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--line-dark);
}

.quickstart-steps span {
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 14px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.doc-card {
  padding: 24px;
}

.doc-card-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.doc-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.doc-card p {
  min-height: 42px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.progress-line {
  height: 3px;
  margin-bottom: 20px;
  background: var(--surface-2);
}

.progress-line span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.project-actions {
  display: grid;
  gap: 12px;
}

.project-actions > span {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 9px;
}

.project-spotlight {
  display: grid;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  grid-template-columns: 1.25fr 1fr;
}

.spotlight-media {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--ink);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 10px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.spotlight-copy h2 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.spotlight-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.stack-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

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

.project-card {
  overflow: hidden;
}

.project-media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--surface-2);
}

.project-media.image-radar {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
}

.project-media.image-radar .icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  transform: none;
}

.alt-crop {
  background-position: 75% center;
}

.section-project-schema {
  background: var(--surface);
}

.schema-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
}

.schema-layout h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1;
}

.schema-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.schema-list li {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.schema-list span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.forum-stats {
  display: flex;
  gap: 0;
  margin-top: 44px;
}

.forum-stats div {
  min-width: 190px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line-dark);
}

.forum-stats div:last-child {
  border-right: 0;
}

.forum-stats strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 28px;
}

.forum-stats span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.forum-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 270px 1fr 260px;
  gap: 20px;
}

.forum-categories,
.thread-column,
.rail-block {
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel-head {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.category-row {
  display: grid;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  grid-template-columns: 28px 1fr;
  text-align: left;
}

.category-row span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.category-row strong {
  font-size: 13px;
}

.category-row em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  grid-column: 2;
}

.category-row:hover,
.category-row.is-active {
  background: var(--lime);
}

.thread-row {
  display: grid;
  min-height: 94px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
}

.thread-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.thread-avatar.orange {
  background: var(--orange);
}

.thread-avatar.teal {
  background: var(--teal);
}

.thread-avatar.dark {
  background: var(--ink);
}

.thread-row h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.thread-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.thread-status {
  padding: 5px 7px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
}

.thread-status.solved {
  background: var(--lime);
  border-color: var(--lime);
}

.thread-status.verified {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.forum-rail {
  display: grid;
  gap: 16px;
}

.rail-block {
  padding: 20px;
}

.rail-block p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.rail-block ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.rail-block li {
  padding: 4px 0;
}

.learn-marker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
}

.learn-marker strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 54px;
  line-height: 0.9;
}

.learn-marker span {
  align-self: center;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 10px;
}

.course-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.course-visual {
  position: relative;
  min-height: 500px;
}

.course-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-chip {
  position: absolute;
  bottom: 22px;
  left: 22px;
  padding: 10px 12px;
  background: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.course-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.course-copy h2 {
  margin: 0 0 18px;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.course-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.course-points {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.course-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.course-points .icon {
  color: var(--teal);
}

.stage-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.stage-tabs {
  border-right: 1px solid var(--line);
}

.stage-tab {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.stage-tab span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.stage-tab:hover,
.stage-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.stage-detail {
  padding: 48px;
}

.stage-detail h2 {
  margin: 0 0 18px;
  font-size: 40px;
}

.stage-detail p {
  color: var(--muted);
}

.stage-detail ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.stage-detail li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.solution-badge {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.solution-grid {
  display: grid;
  margin-bottom: 32px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-grid article {
  min-height: 240px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.solution-grid span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.solution-grid h2 {
  margin: 78px 0 12px;
  font-size: 26px;
}

.solution-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.rfq-band {
  display: grid;
  padding: 50px;
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.rfq-band h2 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.03;
}

.rfq-band p {
  color: rgba(255, 255, 255, 0.56);
}

.rfq-form {
  display: grid;
  gap: 10px;
}

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  outline: 0;
}

.rfq-form input:focus,
.rfq-form textarea:focus {
  border-color: var(--lime);
}

.rfq-form textarea {
  min-height: 120px;
  resize: vertical;
}

.next-event-card {
  padding-left: 24px;
  border-left: 2px solid var(--orange);
}

.next-event-card span,
.next-event-card p {
  font-family: var(--font-mono);
  font-size: 10px;
}

.next-event-card strong {
  display: block;
  color: var(--orange);
  font-size: 44px;
  line-height: 1;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.activity-card {
  display: grid;
  min-height: 300px;
  grid-template-columns: 108px 1fr;
}

.activity-card-featured {
  grid-column: span 2;
  min-height: 360px;
  background: var(--ink);
  color: var(--white);
}

.activity-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.activity-card-featured .activity-date {
  border-right-color: var(--line-dark);
}

.activity-date strong {
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
}

.activity-date span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.activity-card-featured .activity-date span {
  color: rgba(255, 255, 255, 0.5);
}

.activity-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.activity-type {
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.activity-card-featured .activity-type {
  color: var(--lime);
}

.activity-body h2 {
  margin: 0 0 14px;
  font-size: 54px;
  line-height: 1;
}

.activity-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.activity-body p {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--muted);
}

.activity-card-featured .activity-body p {
  color: rgba(255, 255, 255, 0.58);
}

.activity-body .button,
.activity-body .card-link {
  margin-top: auto;
}

.section-event-loop {
  background: var(--surface);
}

.event-loop {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}

.event-loop h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.loop-steps div {
  min-height: 100px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loop-steps span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.loop-steps strong {
  display: block;
  margin-top: 28px;
  font-size: 13px;
}

.site-footer {
  padding: 58px 0 24px;
  background: #0a1110;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) minmax(90px, .68fr) minmax(280px, 1.35fr) minmax(270px, 1.3fr) minmax(90px, .65fr);
  gap: clamp(30px, 4vw, 68px);
  padding-bottom: 48px;
}

.footer-brand {
  margin: 4px 0 8px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid > div:first-child p {
  max-width: 340px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 13px;
  font-weight: 800;
}

.footer-grid a,
.footer-grid button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 13px;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 9px 34px;
}

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

.footer-grid a:hover,
.footer-grid button:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
}

.footer-compliance {
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 10px;
  line-height: 1.8;
}

.footer-compliance-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-compliance a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
}

.footer-compliance a:hover {
  color: var(--lime);
}

.footer-compliance-record {
  font-weight: 800;
}

.footer-compliance-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer-compliance-details span,
.footer-compliance-details a {
  overflow-wrap: anywhere;
}

.search-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: start center;
  background: rgba(8, 12, 12, 0.82);
  backdrop-filter: blur(10px);
}

.search-overlay[hidden] {
  display: none;
}

.search-dialog {
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin-top: 8vh;
  padding: 32px;
  background: var(--bg);
}

.search-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.search-dialog-head h2 {
  margin: 0;
  font-size: 32px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.search-input-wrap input {
  min-height: 56px;
  color: var(--ink);
}

.search-results {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.search-result {
  display: grid;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  text-align: left;
}

.search-result:hover {
  color: var(--teal);
}

.search-result span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.search-result strong {
  font-size: 14px;
}

.search-hint {
  padding: 22px 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100% - 48px));
  padding: 15px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-right: 7px;
    padding-left: 7px;
  }

  .featured-products,
  .module-map,
  .solution-grid,
  .relation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-card-large {
    grid-column: span 2;
  }

  .catalog-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .forum-layout {
    grid-template-columns: 250px 1fr;
  }

  .forum-rail {
    grid-column: span 2;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .section-shell {
    width: min(100% - 36px, 1320px);
  }

  .section {
    padding: 70px 0;
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    width: calc(100% - 30px);
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: 84vh;
    background-position: 58% center;
  }

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

  .page-head h1 {
    font-size: 64px;
  }

  .cta-layout h2 {
    font-size: 52px;
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding-bottom: 80px;
  }

  .hero-index {
    display: none;
  }

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

  .signal-grid article:nth-child(3) {
    border-left: 1px solid var(--line-dark);
  }

  .section-heading,
  .cta-layout,
  .event-loop {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    display: flex;
  }

  .live-layout,
  .course-layout,
  .rfq-band,
  .schema-layout,
  .event-loop,
  .page-head-grid {
    grid-template-columns: 1fr;
  }

  .page-head-grid,
  .section-heading {
    align-items: flex-start;
  }

  .page-head {
    padding-top: 135px;
  }

  .wiki-layout {
    grid-template-columns: 1fr;
  }

  .wiki-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .wiki-sidebar .sidebar-title {
    grid-column: span 2;
  }

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

  .activity-card {
    grid-template-columns: 90px 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: calc(100% - 28px);
  }

  .header-actions .icon-button {
    display: none;
  }

  .contributors-link {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

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

  .hero-cn {
    font-size: 19px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-grid,
  .featured-products,
  .module-map,
  .catalog-grid,
  .project-grid,
  .doc-grid,
  .quickstart,
  .quickstart-steps,
  .solution-grid,
  .relation-grid,
  .activity-grid,
  .loop-steps,
  .footer-grid,
  .category-strip,
  .forum-rail {
    grid-template-columns: 1fr;
  }

  .module-card-large,
  .activity-card-featured,
  .forum-rail {
    grid-column: auto;
  }

  .module-card {
    min-height: 280px;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading h2,
  .cta-layout h2,
  .page-head h1 {
    font-size: 42px;
  }

  .live-copy h2,
  .spotlight-copy h2,
  .schema-layout h2,
  .course-copy h2,
  .activity-body h2,
  .event-loop h2 {
    font-size: 38px;
  }

  .live-copy,
  .spotlight-copy,
  .course-copy,
  .stage-detail,
  .rfq-band {
    padding: 28px;
  }

  .live-visual,
  .course-visual {
    min-height: 340px;
  }

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

  .category-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .wiki-sidebar {
    grid-template-columns: 1fr;
  }

  .wiki-sidebar .sidebar-title {
    grid-column: auto;
  }

  .quickstart-steps {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .project-spotlight {
    min-height: 0;
  }

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

  .schema-list,
  .stage-layout,
  .forum-layout {
    grid-template-columns: 1fr;
  }

  .stage-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .forum-rail {
    grid-column: auto;
  }

  .forum-stats {
    flex-direction: column;
    gap: 18px;
  }

  .forum-stats div {
    border-right: 0;
  }

  .thread-row {
    grid-template-columns: 36px 1fr;
  }

  .thread-status {
    grid-column: 2;
    justify-self: start;
  }

  .activity-card,
  .activity-card-featured {
    grid-template-columns: 72px 1fr;
  }

  .activity-body {
    padding: 22px;
  }

  .activity-date strong {
    font-size: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .search-dialog {
    padding: 22px;
  }

  .search-result {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* Contributor participation clarity */

.contributor-section-intro {
  max-width: 880px;
  margin: -8px 0 22px;
  color: #637187;
  font-size: 11px;
  line-height: 1.8;
}

.contributor-identity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.contributor-identity-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.contributor-identity-grid span,
.contributor-method-heading span,
.contributor-ambassador-types article > span,
.contributor-ambassador-kit article > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
}

.contributor-identity-grid strong {
  margin-top: auto;
  color: #071326;
  font-size: 15px;
}

.contributor-identity-grid p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
  line-height: 1.6;
}

.contributor-identity-grid em {
  margin-top: 12px;
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.contributor-method-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 12px;
  padding-top: 22px;
  border-top: 1px solid #dce4ef;
}

.contributor-method-heading strong {
  color: #071326;
  font-size: 14px;
}

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

.contributor-method-grid button {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fff;
  color: #071326;
  cursor: pointer;
  text-align: left;
}

.contributor-method-grid button:hover {
  border-color: #72a5ff;
  background: #f3f8ff;
  transform: translateY(-2px);
}

.contributor-method-grid button > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-method-grid button strong {
  margin-top: 28px;
  font-size: 15px;
}

.contributor-method-grid button p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
  line-height: 1.55;
}

.contributor-method-grid button em {
  margin-top: auto;
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.contributor-ambassador-types,
.contributor-ambassador-kit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.contributor-ambassador-types article,
.contributor-ambassador-kit article {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.contributor-ambassador-types h3,
.contributor-ambassador-kit strong {
  margin-top: auto;
  color: #071326;
  font-size: 16px;
}

.contributor-ambassador-types p,
.contributor-ambassador-kit p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.contributor-ambassador-types em {
  margin-top: 12px;
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
}

.contributor-ambassador-levels {
  display: grid;
  align-items: stretch;
  gap: 6px;
  margin-top: 16px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.contributor-ambassador-levels > div {
  min-height: 115px;
  display: flex;
  flex-direction: column;
  padding: 13px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #f8faff;
}

.contributor-ambassador-levels > div span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-ambassador-levels > div strong {
  margin-top: auto;
  color: #071326;
  font-size: 11px;
}

.contributor-ambassador-levels > div small {
  margin-top: 5px;
  color: #8794a8;
  font-size: 7px;
}

.contributor-ambassador-levels > i {
  display: grid;
  place-items: center;
  color: #a7b3c4;
  font-style: normal;
}

.contributor-ambassador-kit {
  margin-top: 16px;
  grid-template-columns: repeat(3, 1fr);
}

body.theme-black .contributor-identity-grid article,
body.theme-black .contributor-method-grid button,
body.theme-black .contributor-ambassador-types article,
body.theme-black .contributor-ambassador-kit article,
body.theme-black .contributor-ambassador-levels > div {
  border-color: #26344a;
  background: #101c2e;
}

body.theme-black .contributor-identity-grid strong,
body.theme-black .contributor-method-heading strong,
body.theme-black .contributor-method-grid button,
body.theme-black .contributor-method-grid button strong,
body.theme-black .contributor-ambassador-types h3,
body.theme-black .contributor-ambassador-kit strong,
body.theme-black .contributor-ambassador-levels > div strong {
  color: #f4f7ff;
}

body.theme-black .contributor-identity-grid p,
body.theme-black .contributor-section-intro,
body.theme-black .contributor-method-grid button p,
body.theme-black .contributor-ambassador-types p,
body.theme-black .contributor-ambassador-kit p {
  color: #a9b6ca;
}

@media (max-width: 1180px) {
  .contributor-identity-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contributor-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contributor-ambassador-levels {
    grid-template-columns: repeat(4, 1fr);
  }

  .contributor-ambassador-levels > i {
    display: none;
  }
}

@media (max-width: 680px) {
  .contributor-identity-grid,
  .contributor-method-grid,
  .contributor-ambassador-types,
  .contributor-ambassador-kit,
  .contributor-ambassador-levels {
    grid-template-columns: 1fr;
  }

  .contributor-method-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contributor-method-grid button,
  .contributor-identity-grid article,
  .contributor-ambassador-types article,
  .contributor-ambassador-kit article {
    min-height: 155px;
  }
}

/* Contributor Program */

.contributor-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 84% 18%, rgba(105, 168, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #051126, #0c3a7f 68%, #2f7cff);
  color: #fff;
}

.contributor-hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
}

.contributor-hero-inner > div > span {
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.contributor-hero h1 {
  max-width: 820px;
  margin: 14px 0 14px;
  font-size: 62px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.contributor-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.75;
}

.contributor-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.contributor-hero-actions a,
.contributor-hero-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.contributor-hero-actions a {
  border-color: #2f7cff;
  background: #2f7cff;
}

.contributor-hero-card {
  display: grid;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(3, 15, 37, 0.42);
  backdrop-filter: blur(14px);
}

.contributor-hero-card > span {
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-hero-card > strong {
  margin: 8px 0 24px;
  font-size: 34px;
}

.contributor-hero-card > div:not(.contributor-progress) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
}

.contributor-hero-card b {
  color: #8dbaff;
}

.contributor-progress {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contributor-progress > span,
.contributor-level-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.contributor-progress i,
.contributor-level-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #5b9cff;
}

.contributor-progress small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
}

.contributor-page {
  padding-top: 30px;
  padding-bottom: 100px;
}

.contributor-section {
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 79, 0.05);
}

.contributor-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.contributor-section-heading span,
.contributor-task-top span,
.contributor-reward-grid span,
.contributor-program-grid article > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.contributor-section-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 28px;
  line-height: 1;
}

.contributor-section-heading > p {
  margin: 0;
  color: #8794a8;
  font-size: 8px;
}

.contributor-metrics {
  display: grid;
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: repeat(6, 1fr);
}

.contributor-metrics article {
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcff;
}

.contributor-metrics strong {
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 20px;
}

.contributor-metrics span {
  margin-top: 5px;
  color: #8794a8;
  font-size: 8px;
}

.contributor-level-row {
  display: grid;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 10px;
  background: #071326;
  color: #fff;
  grid-template-columns: 1fr 280px;
}

.contributor-level-row > div:first-child {
  display: grid;
}

.contributor-level-row span {
  color: #78aaff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-level-row strong {
  margin-top: 4px;
  font-size: 15px;
}

.contributor-level-row small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
}

.contributor-level-bar {
  background: rgba(255, 255, 255, 0.14);
}

.contributor-role-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 6px;
}

.contributor-role-grid article:not(:has(.role-arrow)) {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fbfcff;
}

.contributor-role-grid article > span:first-child {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-role-grid article > strong:not(.role-arrow) {
  margin-top: auto;
  color: #071326;
  font-size: 14px;
}

.contributor-role-grid article p {
  margin: 7px 0 0;
  color: #738197;
  font-size: 8px;
}

.contributor-role-grid article em {
  margin-top: 10px;
  color: #2f7cff;
  font-size: 7px;
  font-style: normal;
}

.contributor-role-grid .role-arrow {
  display: grid;
  place-items: center;
  color: #a8b5c8;
  font-size: 14px;
}

.contributor-task-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.contributor-task-filters button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #fff;
  color: #58677e;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.contributor-task-filters button:hover,
.contributor-task-filters button.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.contributor-task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contributor-task-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.contributor-task-card:hover {
  border-color: #72a5ff;
  box-shadow: 0 14px 30px rgba(26, 91, 190, 0.09);
  transform: translateY(-2px);
}

.contributor-task-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contributor-task-top em {
  padding: 4px 7px;
  border-radius: 5px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.contributor-task-card h3 {
  margin: 22px 0 8px;
  color: #071326;
  font-size: 16px;
  line-height: 1.3;
}

.contributor-task-card > p {
  margin: 0;
  color: #6d7b90;
  font-size: 9px;
}

.contributor-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.contributor-task-meta span {
  padding: 4px 6px;
  border: 1px solid #dce4ef;
  border-radius: 5px;
  color: #58677e;
  font-size: 7px;
}

.contributor-task-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
}

.contributor-task-reward strong {
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 10px;
}

.contributor-task-reward button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #2f7cff;
  border-radius: 7px;
  background: #2f7cff;
  color: #fff;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.contributor-task-reward button.is-claimed {
  border-color: #1aa6a6;
  background: #1aa6a6;
}

.contributor-task-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  color: #071326;
  text-align: center;
}

.contributor-flow {
  display: grid;
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: repeat(6, 1fr);
}

.contributor-flow div {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcff;
}

.contributor-flow span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 9px;
}

.contributor-flow strong {
  margin-top: auto;
  color: #071326;
  font-size: 13px;
}

.contributor-flow p {
  margin: 4px 0 0;
  color: #7d8a9e;
  font-size: 8px;
}

.contributor-reward-grid,
.contributor-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.contributor-reward-grid article,
.contributor-program-grid article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.contributor-reward-grid strong,
.contributor-program-grid h3 {
  margin-top: auto;
  color: #071326;
  font-size: 15px;
}

.contributor-reward-grid p,
.contributor-program-grid p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.contributor-cash-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 10px;
  background: #071326;
  color: #fff;
}

.contributor-cash-note span {
  color: #78aaff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-cash-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.contributor-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contributor-badge-grid span {
  padding: 8px 11px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f8faff;
  color: #245da9;
  font-size: 9px;
  font-weight: 700;
}

.contributor-program-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contributor-program-grid article > a,
.contributor-program-grid article > button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 14px;
  padding: 0 10px;
  border: 1px solid #2f7cff;
  border-radius: 7px;
  background: #fff;
  color: #2f7cff;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.contributor-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a49bc, #2f7cff);
  color: #fff;
}

.contributor-final-cta span {
  color: #b9d4ff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.contributor-final-cta h2 {
  margin: 8px 0 6px;
  font-size: 30px;
}

.contributor-final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.contributor-final-cta > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.contributor-final-cta a,
.contributor-final-cta button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.contributor-final-cta a {
  border-color: #fff;
  background: #fff;
  color: #175fcf;
}

body.theme-black .contributor-page {
  background: #04070d;
}

body.theme-black .contributor-section,
body.theme-black .contributor-task-card,
body.theme-black .contributor-role-grid article:not(:has(.role-arrow)),
body.theme-black .contributor-reward-grid article,
body.theme-black .contributor-program-grid article,
body.theme-black .contributor-flow div,
body.theme-black .contributor-task-empty {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .contributor-section-heading h2,
body.theme-black .contributor-role-grid article > strong:not(.role-arrow),
body.theme-black .contributor-task-card h3,
body.theme-black .contributor-flow strong,
body.theme-black .contributor-reward-grid strong,
body.theme-black .contributor-program-grid h3 {
  color: #f4f7ff;
}

body.theme-black .contributor-task-card > p,
body.theme-black .contributor-role-grid article p,
body.theme-black .contributor-reward-grid p,
body.theme-black .contributor-program-grid p {
  color: #a9b6ca;
}

@media (max-width: 1180px) {
  .contributor-role-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .contributor-role-grid .role-arrow {
    display: none;
  }

  .contributor-task-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .contributor-hero-inner {
    grid-template-columns: 1fr;
  }

  .contributor-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .contributor-level-row {
    grid-template-columns: 1fr;
  }

  .contributor-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .contributor-reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contributor-program-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-kicker {
    display: block;
    max-width: 300px;
  }

  .hero .status-dot {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
  }

  .hero-contributor-entry {
    width: fit-content;
    justify-content: flex-start;
  }

  .contributor-hero {
    padding: 46px 0 48px;
  }

  .contributor-hero h1 {
    font-size: 42px;
  }

  .contributor-section {
    padding: 22px;
  }

  .contributor-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contributor-role-grid,
  .contributor-task-grid,
  .contributor-metrics,
  .contributor-flow,
  .contributor-reward-grid {
    grid-template-columns: 1fr;
  }

  .contributor-cash-note,
  .contributor-final-cta {
    grid-template-columns: 1fr;
  }

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

  .contributor-final-cta > div:last-child {
    flex-wrap: wrap;
  }
}

/* Project detail reference layout */

.project-ref-breadcrumb {
  padding: 88px 0 12px;
  border-bottom: 1px solid #dfe7f3;
  background: #fff;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 10px;
}

.project-ref-breadcrumb .section-shell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-ref-breadcrumb i {
  color: #a7b3c4;
  font-style: normal;
}

.project-ref-breadcrumb a:hover {
  color: #2f7cff;
}

.project-ref-breadcrumb strong {
  color: #071326;
}

.project-ref-page {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.project-ref-header,
.project-ref-card,
.project-ref-side-card {
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.05);
}

.project-ref-header {
  padding: 28px 32px;
  margin-bottom: 22px;
}

.project-ref-header-top {
  display: grid;
  gap: 16px;
  grid-template-columns: 80px minmax(0, 1fr);
}

.project-ref-cover {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
}

.project-ref-header-info h1 {
  margin: 0 0 7px;
  color: #071326;
  font-size: 28px;
  line-height: 1.2;
}

.project-ref-header-info > p {
  margin: 0 0 12px;
  color: #526176;
  font-size: 13px;
}

.project-ref-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #7c899d;
  font-size: 9px;
}

.project-ref-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.project-ref-badges span {
  padding: 6px 13px;
  border-radius: 8px;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 12px;
  font-weight: 700;
}

.project-ref-badges span:first-child {
  background: #fef3c7;
  color: #92400e;
}

.project-ref-badges span:nth-child(3) {
  background: #ecfdf5;
  color: #065f46;
}

.project-ref-badges span:last-child {
  background: #f5f3ff;
  color: #5b21b6;
}

.project-ref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #edf1f7;
}

.project-ref-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  color: #526176;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.project-ref-actions button:hover,
.project-ref-actions button.is-active {
  border-color: #2f7cff;
  background: #eaf2ff;
  color: #175fcf;
}

.project-ref-actions em {
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.project-ref-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}

.project-ref-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.project-ref-card {
  padding: 26px 30px;
}

.project-ref-card h2 {
  margin: 0 0 17px;
  padding-bottom: 11px;
  border-bottom: 2px solid #eaf2ff;
  color: #071326;
  font-size: 19px;
}

.project-ref-card h3 {
  margin: 22px 0 9px;
  color: #071326;
  font-size: 14px;
}

.project-ref-card > p {
  margin: 0 0 14px;
  color: #526176;
  font-size: 12px;
  line-height: 1.85;
}

.project-ref-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
  padding-bottom: 11px;
  border-bottom: 2px solid #eaf2ff;
}

.project-ref-section-title h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.project-ref-section-title > span,
.project-ref-section-title > a {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-ref-callout {
  margin: 16px 0;
  padding: 15px 16px;
  border-left: 4px solid #2f7cff;
  border-radius: 0 8px 8px 0;
  background: #eef5ff;
}

.project-ref-callout strong {
  color: #175fcf;
  font-size: 10px;
}

.project-ref-callout p {
  margin: 4px 0 0;
  color: #526176;
  font-size: 10px;
}

.project-ref-code {
  overflow: hidden;
  margin-top: 12px;
  border-radius: 10px;
  background: #071326;
  color: #dbe7f8;
}

.project-ref-code > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #233653;
  color: #82b2ff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-ref-code button {
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid #385173;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 8px;
}

.project-ref-code pre {
  margin: 0;
  padding: 17px;
  overflow-x: auto;
  font-size: 10px;
  line-height: 1.7;
}

.project-ref-attachment-group + .project-ref-attachment-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #edf1f7;
}

.project-ref-attachment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.project-ref-attachment-grid > a,
.project-ref-attachment-grid > button {
  display: grid;
  min-height: 70px;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #f8faff;
  color: #071326;
  cursor: pointer;
  grid-template-columns: 38px 1fr;
  text-align: left;
}

.project-ref-attachment-grid > a:hover,
.project-ref-attachment-grid > button:hover {
  border-color: #72a5ff;
  background: #eef5ff;
}

.project-ref-attachment-grid > a > span,
.project-ref-attachment-grid > button > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.project-ref-attachment-grid > a > div,
.project-ref-attachment-grid > button > div {
  display: grid;
}

.project-ref-attachment-grid strong {
  font-size: 9px;
}

.project-ref-attachment-grid small {
  color: #8794a8;
  font-size: 7px;
}

.project-ref-author {
  min-height: 122px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.project-ref-author:hover,
.project-ref-author:focus-visible {
  border-color: #8db7fa;
  box-shadow: 0 18px 38px rgba(19, 69, 139, .1);
  outline: none;
  transform: translateY(-2px);
}

.project-ref-author-head {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: 46px 1fr auto;
}

.project-ref-author-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 13px;
  font-weight: 800;
}

.project-ref-author-head > div {
  display: grid;
}

.project-ref-author-head strong {
  color: #071326;
  font-size: 12px;
}

.project-ref-author-head small {
  color: #8794a8;
  font-size: 8px;
}

.project-ref-author-head button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #2f7cff;
  border-radius: 8px;
  background: #fff;
  color: #2f7cff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.project-ref-author-head button.is-active {
  background: #2f7cff;
  color: #fff;
}

.project-ref-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.project-ref-related-grid > a {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #f8faff;
}

.project-ref-related-grid img {
  width: 100%;
  height: 90px;
  border-radius: 7px;
  object-fit: cover;
}

.project-ref-related-grid > a > div {
  display: grid;
}

.project-ref-related-grid strong {
  color: #071326;
  font-size: 9px;
}

.project-ref-related-grid small {
  margin-top: 3px;
  color: #8794a8;
  font-size: 7px;
}

.project-ref-comment {
  display: grid;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f7;
  grid-template-columns: 34px 1fr;
}

.project-ref-comment > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 9px;
  font-weight: 800;
}

.project-ref-comment > div {
  display: grid;
}

.project-ref-comment strong {
  color: #071326;
  font-size: 10px;
}

.project-ref-comment small {
  color: #8794a8;
  font-size: 7px;
  font-weight: 400;
}

.project-ref-comment p {
  margin: 5px 0;
  color: #59687e;
  font-size: 10px;
}

.project-ref-comment em {
  color: #8794a8;
  font-size: 8px;
  font-style: normal;
}

.project-ref-comment-form {
  display: grid;
  justify-items: end;
  gap: 8px;
  margin-top: 16px;
}

.project-ref-comment-form textarea {
  width: 100%;
  resize: vertical;
  padding: 11px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  outline: 0;
}

.project-ref-comment-form button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #2f7cff;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.project-ref-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.project-ref-side-card {
  padding: 16px;
}

.project-ref-side-card > h2,
.project-ref-side-title h2 {
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f7;
  color: #071326;
  font-size: 13px;
}

.project-ref-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-ref-keywords span {
  padding: 5px 9px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f8faff;
  color: #526176;
  font-size: 8px;
}

.project-ref-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-ref-side-title h2 {
  margin-bottom: 12px;
  border: 0;
}

.project-ref-side-title a {
  color: #2f7cff;
  font-size: 8px;
}

.project-ref-contributor {
  display: grid;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf1f7;
  grid-template-columns: 24px 1fr auto;
}

.project-ref-contributor:last-child {
  border-bottom: 0;
}

.project-ref-contributor .rank {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
}

.project-ref-contributor .rank-1 {
  background: #fef3c7;
  color: #92400e;
}

.project-ref-contributor .rank-2 {
  background: #e2e8f0;
  color: #475569;
}

.project-ref-contributor .rank-3 {
  background: #ffedd5;
  color: #9a3412;
}

.project-ref-contributor > div {
  display: grid;
}

.project-ref-contributor strong {
  color: #071326;
  font-size: 9px;
}

.project-ref-contributor small {
  color: #8794a8;
  font-size: 7px;
}

.project-ref-contributor em {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

body.theme-black .project-ref-page {
  background: #04070d;
}

body.theme-black .project-ref-header,
body.theme-black .project-ref-card,
body.theme-black .project-ref-side-card {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .project-ref-header-info h1,
body.theme-black .project-ref-card h2,
body.theme-black .project-ref-card h3,
body.theme-black .project-ref-author-head strong,
body.theme-black .project-ref-related-grid strong,
body.theme-black .project-ref-comment strong,
body.theme-black .project-ref-side-card h2,
body.theme-black .project-ref-contributor strong {
  color: #f4f7ff;
}

body.theme-black .project-ref-header-info > p,
body.theme-black .project-ref-card > p,
body.theme-black .project-ref-callout p,
body.theme-black .project-ref-comment p {
  color: #a9b6ca;
}

body.theme-black .project-ref-attachment-grid > a,
body.theme-black .project-ref-attachment-grid > button,
body.theme-black .project-ref-related-grid > a,
body.theme-black .project-ref-comment-form textarea,
body.theme-black .project-ref-keywords span {
  border-color: #26344a;
  background: #101c2e;
  color: #f4f7ff;
}

@media (max-width: 1024px) {
  .project-ref-layout {
    grid-template-columns: 1fr;
  }

  .project-ref-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .project-ref-breadcrumb {
    padding-top: 80px;
  }

  .project-ref-breadcrumb .section-shell {
    overflow-x: auto;
    white-space: nowrap;
  }

  .project-ref-page {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .project-ref-header {
    padding: 22px;
  }

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

  .project-ref-attachment-grid,
  .project-ref-related-grid,
  .project-ref-sidebar {
    grid-template-columns: 1fr;
  }

  .project-ref-card {
    padding: 22px;
  }
}

/* Orbbec brand and Gemini 2 Wiki */

.wiki-doc-brand-nav a {
  min-height: 40px;
  display: grid;
  width: 100%;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  color: #53647b;
  font-size: 10px;
  grid-template-columns: 1fr auto;
}

.wiki-doc-brand-nav a:hover {
  background: #eaf2ff;
  color: #175fcf;
}

.wiki-brand-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(91, 156, 255, 0.3), transparent 25%),
    linear-gradient(135deg, #071326, #103e85 70%, #2f7cff);
  color: #fff;
}

.wiki-brand-hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.wiki-brand-hero > * {
  position: relative;
  z-index: 1;
}

.wiki-brand-mark {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.wiki-brand-hero > span:not(.wiki-brand-mark) {
  display: block;
  margin-top: 26px;
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.wiki-brand-hero h1 {
  max-width: 650px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.wiki-brand-hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.8;
}

.wiki-brand-hero > img {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 38px;
  width: 330px;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.28));
}

.wiki-brand-stats {
  display: grid;
  max-width: 620px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(4, 1fr);
}

.wiki-brand-stats div {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.wiki-brand-stats strong {
  font-family: var(--font-mono);
  font-size: 16px;
}

.wiki-brand-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
}

.wiki-bookmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wiki-bookmark-grid > a {
  min-height: 190px;
  display: grid;
  align-content: start;
  padding: 20px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fbfcff;
}

.wiki-bookmark-grid > a:hover {
  border-color: #72a5ff;
  background: #f3f8ff;
}

.wiki-bookmark-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: #175fcf;
}

.wiki-bookmark-icon .icon {
  width: 22px;
  height: 22px;
}

.wiki-bookmark-grid > a > div:last-child {
  display: grid;
  margin-top: 18px;
}

.wiki-bookmark-grid span,
.wiki-doc-index small {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-bookmark-grid strong {
  margin-top: 6px;
  color: #071326;
  font-size: 15px;
}

.wiki-bookmark-grid p {
  margin: 6px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.wiki-bookmark-grid small {
  margin-top: 13px;
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-doc-index {
  display: grid;
  border-top: 1px solid #dce4ef;
}

.wiki-doc-index > a {
  display: grid;
  min-height: 94px;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid #dce4ef;
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.wiki-doc-index > a:hover {
  background: #f7faff;
}

.wiki-doc-index > a > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #175fcf;
}

.wiki-doc-index > a > div {
  display: grid;
}

.wiki-doc-index strong {
  margin-top: 5px;
  color: #071326;
  font-size: 13px;
}

.wiki-doc-index p {
  margin: 4px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.wiki-doc-index em {
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.wiki-brand-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wiki-brand-product-grid > a,
.wiki-brand-product-grid > article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.wiki-brand-product-grid > a:hover {
  border-color: #72a5ff;
  background: #f3f8ff;
}

.wiki-brand-product-grid span,
.wiki-brand-resource-grid > a > span,
.wiki-brand-doc-list span,
.wiki-tech-tags span,
.wiki-doc-source {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.wiki-brand-product-grid strong {
  margin-top: 42px;
  color: #071326;
  font-size: 21px;
}

.wiki-brand-product-grid p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 10px;
}

.wiki-brand-product-grid em {
  margin-top: auto;
  color: #175fcf;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.wiki-brand-product-grid em .icon {
  width: 0.9em;
  height: 0.9em;
}

.wiki-brand-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
}

.wiki-brand-resource-grid > a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcff;
}

.wiki-brand-resource-grid > a:hover {
  background: #eef5ff;
}

.wiki-brand-resource-grid .icon {
  width: 25px;
  height: 25px;
  color: #2f7cff;
}

.wiki-brand-resource-grid strong {
  margin-top: 34px;
  color: #071326;
  font-size: 15px;
}

.wiki-brand-resource-grid p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.wiki-brand-resource-grid em {
  margin-top: auto;
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.wiki-brand-doc-list {
  display: grid;
  gap: 10px;
}

.wiki-brand-doc-list > a {
  display: grid;
  min-height: 105px;
  align-content: center;
  padding: 17px 19px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  grid-template-columns: 1fr auto;
}

.wiki-brand-doc-list > a:hover {
  border-color: #72a5ff;
}

.wiki-brand-doc-list strong {
  margin-top: 6px;
  color: #071326;
  font-size: 15px;
  grid-column: 1;
}

.wiki-brand-doc-list p {
  margin: 5px 0 0;
  color: #6d7b90;
  font-size: 9px;
  grid-column: 1;
}

.wiki-brand-doc-list em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  grid-column: 2;
  grid-row: 1 / span 3;
}

.gemini-wiki-claim {
  background:
    radial-gradient(circle at 90% 8%, rgba(76, 142, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.wiki-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.wiki-tech-tags span {
  padding: 6px 9px;
  border: 1px solid #cddcf1;
  border-radius: 999px;
  background: #fff;
}

.wiki-tech-table {
  display: grid;
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: repeat(3, 1fr);
}

.wiki-tech-table div {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcff;
}

.wiki-tech-table span {
  color: #7c899d;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-tech-table strong {
  margin-top: 7px;
  color: #071326;
  font-size: 12px;
}

.wiki-doc-source {
  margin: 13px 0 0;
  color: #8794a8;
  line-height: 1.6;
}

.wiki-tech-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dce4ef;
  list-style: none;
}

.wiki-tech-steps li {
  display: grid;
  min-height: 100px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  background: #fbfcff;
  grid-template-columns: 42px 1fr;
}

.wiki-tech-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.wiki-tech-steps strong {
  color: #071326;
  font-size: 12px;
}

.wiki-tech-steps p {
  margin: 4px 0 0;
  color: #738197;
  font-size: 9px;
}

.wiki-code-block {
  overflow: hidden;
  margin-top: 14px;
  border-radius: 10px;
  background: #071326;
  color: #dbe7f8;
}

.wiki-code-block > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #233653;
  color: #82b2ff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.wiki-code-block button {
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid #385173;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 8px;
}

.wiki-code-block pre {
  margin: 0;
  padding: 17px;
  overflow-x: auto;
  font-size: 10px;
  line-height: 1.7;
}

.wiki-tech-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wiki-tech-feature-grid article,
.wiki-troubleshooting-list article {
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fbfcff;
}

.wiki-tech-feature-grid strong,
.wiki-troubleshooting-list strong {
  color: #071326;
  font-size: 13px;
}

.wiki-tech-feature-grid p,
.wiki-troubleshooting-list p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 9px;
}

.wiki-troubleshooting-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wiki-faq-list {
  border-top: 1px solid #dce4ef;
}

.wiki-faq-list details {
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  background: #fbfcff;
}

.wiki-faq-list summary {
  cursor: pointer;
  padding: 15px;
  color: #071326;
  font-size: 11px;
  font-weight: 800;
}

.wiki-faq-list p {
  margin: 0;
  padding: 0 15px 15px;
  color: #6d7b90;
  font-size: 9px;
}

body.theme-black .wiki-brand-hero {
  background: linear-gradient(135deg, #071326, #0b2c5d 70%, #1d5fb8);
}

body.theme-black .wiki-brand-product-grid > a,
body.theme-black .wiki-brand-product-grid > article,
body.theme-black .wiki-bookmark-grid > a,
body.theme-black .wiki-brand-resource-grid > a,
body.theme-black .wiki-brand-doc-list > a,
body.theme-black .wiki-tech-table div,
body.theme-black .wiki-tech-steps li,
body.theme-black .wiki-tech-feature-grid article,
body.theme-black .wiki-troubleshooting-list article,
body.theme-black .wiki-faq-list details {
  border-color: #26344a;
  background: #101c2e;
}

body.theme-black .wiki-brand-product-grid strong,
body.theme-black .wiki-bookmark-grid strong,
body.theme-black .wiki-doc-index strong,
body.theme-black .wiki-brand-resource-grid strong,
body.theme-black .wiki-brand-doc-list strong,
body.theme-black .wiki-tech-table strong,
body.theme-black .wiki-tech-steps strong,
body.theme-black .wiki-tech-feature-grid strong,
body.theme-black .wiki-troubleshooting-list strong,
body.theme-black .wiki-faq-list summary {
  color: #f4f7ff;
}

body.theme-black .wiki-brand-product-grid p,
body.theme-black .wiki-bookmark-grid p,
body.theme-black .wiki-doc-index p,
body.theme-black .wiki-brand-resource-grid p,
body.theme-black .wiki-brand-doc-list p,
body.theme-black .wiki-tech-steps p,
body.theme-black .wiki-tech-feature-grid p,
body.theme-black .wiki-troubleshooting-list p,
body.theme-black .wiki-faq-list p {
  color: #a9b6ca;
}

body.theme-black .wiki-doc-brand-nav a {
  color: #aab7ca;
}

@media (max-width: 1180px) {
  .wiki-brand-hero > img {
    width: 275px;
  }

  .wiki-brand-resource-grid,
  .wiki-tech-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .wiki-brand-hero {
    min-height: 620px;
  }

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

  .wiki-brand-hero > img {
    right: 20px;
    bottom: 28px;
    width: 250px;
  }

  .wiki-brand-stats,
  .wiki-bookmark-grid,
  .wiki-brand-product-grid,
  .wiki-brand-resource-grid,
  .wiki-tech-table,
  .wiki-tech-feature-grid,
  .wiki-troubleshooting-list {
    grid-template-columns: 1fr;
  }

  .wiki-brand-stats div {
    min-height: 60px;
  }

  .wiki-doc-index > a {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .wiki-doc-index em {
    grid-column: 2;
  }
}

/* Activities center */

.activity-hub-hero {
  padding: 52px 0 44px;
  background: linear-gradient(135deg, #071326 0%, #103d7f 64%, #2f7cff 100%);
  color: #fff;
}

.activity-hub-hero-inner > span {
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.activity-hub-hero h1 {
  margin: 12px 0 9px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.activity-hub-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.activity-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 30px;
}

.activity-hub-stats div {
  display: grid;
}

.activity-hub-stats strong {
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1;
}

.activity-hub-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
}

.activity-hub-layout {
  display: grid;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 100px;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.activity-hub-main {
  min-width: 0;
}

.activity-hub-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.activity-hub-type-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #fff;
  color: #58677e;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.activity-hub-type-tabs button:hover,
.activity-hub-type-tabs button.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.activity-hub-type-tabs span {
  margin-left: 4px;
  opacity: 0.65;
}

.activity-hub-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: #8491a5;
  font-family: var(--font-mono);
  font-size: 8px;
}

.activity-hub-result-line strong {
  color: #2f7cff;
}

.activity-hub-list {
  display: grid;
  gap: 16px;
}

.activity-hub-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.05);
  grid-template-columns: 260px minmax(0, 1fr);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.activity-hub-card:hover {
  border-color: #8ab8ff;
  box-shadow: 0 18px 42px rgba(26, 91, 190, 0.12);
  transform: translateY(-2px);
}

.activity-hub-cover {
  position: relative;
  min-height: 202px;
  background-position: center;
  background-size: cover;
}

.activity-hub-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 15, 37, 0.05), rgba(3, 15, 37, 0.2));
  content: "";
}

.activity-cover-workshop,
.activity-cover-bootcamp {
  background-image: url("assets/robot-humanoid.jpg");
}

.activity-cover-challenge {
  background-image: url("assets/robot-arm.jpg");
}

.activity-cover-developer {
  background-image: url("assets/hero-robotics.jpg");
}

.activity-cover-seminar {
  background-image: url("assets/circuit-board.jpg");
}

.activity-hub-date {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  width: 52px;
  height: 52px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 10px;
  background: #2f7cff;
  color: #fff;
  box-shadow: 0 5px 14px rgba(47, 124, 255, 0.3);
}

.activity-hub-date strong {
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1;
}

.activity-hub-date span {
  margin-top: 2px;
  font-size: 8px;
}

.activity-hub-type {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 7px;
  font-weight: 800;
}

.badge-workshop {
  background: #ecfdf5;
  color: #065f46;
}

.badge-challenge {
  background: #fef3c7;
  color: #92400e;
}

.badge-hackathon {
  background: #f5f3ff;
  color: #5b21b6;
}

.badge-seminar {
  background: #eff6ff;
  color: #1e40af;
}

.badge-bootcamp {
  background: #fff1f2;
  color: #9f1239;
}

.activity-hub-body {
  min-height: 202px;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  color: #071326;
}

.activity-hub-body h2 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.3;
}

.activity-hub-body > p {
  margin: 0 0 11px;
  color: #748196;
  font-size: 10px;
  line-height: 1.55;
}

.activity-hub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #7d8a9e;
  font-size: 8px;
}

.activity-hub-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.activity-hub-meta .icon {
  color: #2f7cff;
}

.activity-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.activity-hub-tags span {
  padding: 3px 7px;
  border-radius: 5px;
  background: #eaf2ff;
  color: #1e40af;
  font-size: 7px;
  font-weight: 700;
}

.activity-hub-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #edf1f7;
}

.activity-hub-footer > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.activity-hub-footer > div:first-child > span {
  color: #8a97a9;
  font-size: 8px;
}

.activity-hub-footer > div:first-child strong {
  padding: 3px 6px;
  border-radius: 5px;
  background: #f7f9fd;
  color: #526176;
  font-size: 7px;
}

.activity-hub-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.activity-hub-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cedaeb;
  border-radius: 7px;
  background: #fff;
  color: #526176;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.activity-hub-actions button:first-child {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.activity-hub-actions button:hover {
  border-color: #2f7cff;
  color: #2f7cff;
}

.activity-hub-actions button:first-child:hover {
  background: #1f6fe8;
  color: #fff;
}

.activity-hub-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  color: #071326;
  text-align: center;
}

.activity-hub-empty h2 {
  margin: 0 0 5px;
}

.activity-hub-empty p {
  margin: 0;
  color: #748196;
  font-size: 10px;
}

.activity-hub-load-more {
  margin-top: 26px;
  text-align: center;
}

.activity-hub-load-more button {
  min-height: 42px;
  padding: 0 34px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  color: #526176;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.activity-hub-load-more button:hover {
  border-color: #2f7cff;
  background: #eaf2ff;
  color: #175fcf;
}

.activity-hub-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.activity-side-card {
  padding: 17px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.045);
}

.activity-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f7;
}

.activity-side-title h2 {
  margin: 0;
  color: #071326;
  font-size: 13px;
}

.activity-side-title a,
.activity-side-title span {
  color: #2f7cff;
  font-size: 8px;
}

.activity-contributor {
  display: grid;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf1f7;
  grid-template-columns: 24px 34px minmax(0, 1fr) auto;
}

.activity-contributor:last-child {
  border-bottom: 0;
}

.activity-contributor .rank {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
}

.activity-contributor .rank-1 {
  background: #fef3c7;
  color: #92400e;
}

.activity-contributor .rank-2 {
  background: #e2e8f0;
  color: #475569;
}

.activity-contributor .rank-3 {
  background: #ffedd5;
  color: #9a3412;
}

.activity-contributor > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.activity-contributor > div {
  min-width: 0;
  display: grid;
}

.activity-contributor strong {
  color: #071326;
  font-size: 9px;
}

.activity-contributor em {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 6px;
  font-style: normal;
}

.activity-contributor small {
  color: #8a97a9;
  font-size: 7px;
}

.activity-contributor > b {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 9px;
}

.activity-community-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.activity-community-stats div {
  display: grid;
  justify-items: center;
  padding: 12px 7px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8faff;
}

.activity-community-stats strong {
  color: #071326;
  font-family: var(--font-mono);
  font-size: 15px;
}

.activity-community-stats span {
  color: #8a97a9;
  font-size: 7px;
}

.activity-upcoming {
  display: grid;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 9px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8faff;
  grid-template-columns: 42px 1fr;
}

.activity-upcoming:last-child {
  margin-bottom: 0;
}

.activity-upcoming:hover {
  border-color: #72a5ff;
  background: #eaf2ff;
}

.activity-upcoming > span {
  width: 42px;
  height: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 8px;
  background: #2f7cff;
  color: #fff;
}

.activity-upcoming > span strong {
  font-size: 13px;
  line-height: 1;
}

.activity-upcoming > span small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 7px;
}

.activity-upcoming > div {
  display: grid;
}

.activity-upcoming > div strong {
  color: #071326;
  font-size: 9px;
}

.activity-upcoming > div small {
  color: #8794a8;
  font-size: 7px;
}

.activity-partner-card {
  border-color: #2f7cff;
  background: linear-gradient(135deg, #123f88, #2f7cff);
  color: #fff;
}

.activity-partner-card > span,
.activity-partner-card h2,
.activity-partner-card p {
  color: #fff;
}

.activity-partner-card > span {
  font-family: var(--font-mono);
  font-size: 7px;
}

.activity-partner-card h2 {
  margin: 8px 0;
  font-size: 19px;
}

.activity-partner-card p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.activity-partner-card button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #175fcf;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

body.theme-black .activity-hub-layout {
  background: #04070d;
}

body.theme-black .activity-hub-card,
body.theme-black .activity-side-card,
body.theme-black .activity-hub-empty {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .activity-hub-body,
body.theme-black .activity-side-title h2,
body.theme-black .activity-contributor strong,
body.theme-black .activity-community-stats strong,
body.theme-black .activity-upcoming > div strong {
  color: #f4f7ff;
}

body.theme-black .activity-hub-body > p,
body.theme-black .activity-contributor small,
body.theme-black .activity-upcoming > div small {
  color: #a9b6ca;
}

body.theme-black .activity-hub-footer > div:first-child strong,
body.theme-black .activity-community-stats div,
body.theme-black .activity-upcoming {
  background: #101c2e;
}

@media (max-width: 1024px) {
  .activity-hub-layout {
    grid-template-columns: 1fr;
  }

  .activity-hub-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .activity-hub-hero {
    padding: 40px 0 34px;
  }

  .activity-hub-hero h1 {
    font-size: 34px;
  }

  .activity-hub-stats {
    gap: 22px;
  }

  .activity-hub-card {
    grid-template-columns: 1fr;
  }

  .activity-hub-cover {
    min-height: 170px;
  }

  .activity-hub-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-hub-actions {
    width: 100%;
  }

  .activity-hub-actions button {
    flex: 1;
  }

  .activity-hub-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Project detail */

.project-story-breadcrumb {
  padding: 88px 0 14px;
  border-bottom: 1px solid #dfe7f3;
  background: #fff;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 10px;
}

.project-story-breadcrumb .section-shell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-story-breadcrumb i {
  color: #a7b3c4;
  font-style: normal;
}

.project-story-breadcrumb a:hover {
  color: #2f7cff;
}

.project-story-breadcrumb strong {
  color: #071326;
}

.project-story-layout {
  display: grid;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 100px;
  grid-template-columns: 66px minmax(0, 1fr) 280px;
  gap: 22px;
}

.project-story-actions {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 9px;
}

.project-story-actions button {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 8px 4px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  color: #5e6d82;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 37, 79, 0.05);
}

.project-story-actions button:hover,
.project-story-actions button.is-active {
  border-color: #2f7cff;
  color: #2f7cff;
}

.project-story-actions .icon {
  width: 21px;
  height: 21px;
}

.project-story-actions span {
  font-size: 8px;
  font-weight: 800;
}

.project-story-actions em {
  color: #8b98aa;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
}

.project-story-main {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(10, 37, 79, 0.055);
}

.project-story-header {
  padding: 40px 46px 32px;
  background: linear-gradient(180deg, #f9fbff, #fff);
}

.project-story-author {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
}

.project-story-author > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #175fcf, #5b9cff);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.project-story-author > div {
  display: grid;
}

.project-story-author strong {
  color: #071326;
  font-size: 10px;
}

.project-story-author small {
  color: #8693a6;
  font-size: 8px;
}

.project-story-author time {
  color: #8996aa;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-story-header h1 {
  max-width: 850px;
  margin: 28px 0 12px;
  color: #071326;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.project-story-lead {
  max-width: 760px;
  margin: 0;
  color: #5f6f85;
  font-size: 14px;
  line-height: 1.75;
}

.project-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.project-story-meta span {
  color: #7d8a9e;
  font-size: 9px;
}

.project-story-meta strong {
  color: #175fcf;
}

.project-story-cover {
  position: relative;
  min-height: 470px;
}

.project-story-cover img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.project-story-cover > span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #2f7cff;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.project-story-content > section {
  padding: 44px 46px;
  border-bottom: 1px solid #e4eaf3;
}

.project-story-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.project-story-section-heading > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.project-story-section-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 28px;
  line-height: 1.08;
}

.project-story-section-heading p {
  margin: 0;
  color: #8a97a9;
  font-size: 8px;
}

.project-story-content section > p {
  margin: 0 0 15px;
  color: #536277;
  font-size: 12px;
  line-height: 1.85;
}

.project-story-callout {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid #2f7cff;
  border-radius: 0 10px 10px 0;
  background: #eef5ff;
}

.project-story-callout strong {
  color: #175fcf;
  font-size: 10px;
}

.project-story-callout p {
  margin: 5px 0 0;
  color: #526176;
  font-size: 10px;
}

.project-bom-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce4ef;
  border-radius: 11px;
}

.project-bom-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.project-bom-table th,
.project-bom-table td {
  padding: 14px;
  border-right: 1px solid #e4eaf3;
  border-bottom: 1px solid #e4eaf3;
  color: #5f6f85;
  font-size: 10px;
  text-align: left;
}

.project-bom-table th:last-child,
.project-bom-table td:last-child {
  border-right: 0;
}

.project-bom-table tr:last-child td {
  border-bottom: 0;
}

.project-bom-table thead th {
  background: #f7f9fd;
  color: #7d8a9e;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-bom-table td:first-child {
  display: grid;
}

.project-bom-table td strong {
  color: #071326;
  font-size: 11px;
}

.project-bom-table td small {
  color: #8a97a9;
  font-size: 8px;
}

.project-bom-table a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #2f7cff;
  border-radius: 7px;
  color: #2f7cff;
  font-size: 8px;
  font-weight: 800;
}

.project-bom-table a:hover {
  background: #2f7cff;
  color: #fff;
}

.project-bom-groups {
  display: grid;
  gap: 22px;
}

.project-bom-group {
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
}

.project-bom-group-title {
  display: grid;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e4eaf3;
  background: #f8faff;
  grid-template-columns: auto 1fr auto;
}

.project-bom-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f7cff;
}

.project-bom-dot.software {
  background: #1aa6a6;
}

.project-bom-dot.tools {
  background: #d97706;
}

.project-bom-group-title > div {
  display: grid;
}

.project-bom-group-title strong {
  color: #071326;
  font-size: 12px;
}

.project-bom-group-title small {
  color: #8794a8;
  font-size: 8px;
}

.project-bom-group-title em {
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.project-bom-items {
  display: grid;
}

.project-bom-item {
  display: grid;
  min-height: 62px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf1f7;
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.project-bom-item:last-child {
  border-bottom: 0;
}

.project-bom-item:hover {
  background: #f8faff;
}

.project-bom-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #175fcf;
}

.project-bom-item strong {
  min-width: 0;
  color: #071326;
  font-size: 11px;
}

.project-bom-item > a,
.project-bom-item > button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #ccdaeb;
  border-radius: 7px;
  background: #fff;
  color: #175fcf;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
}

.project-bom-item > a[aria-label] {
  width: 38px;
  min-width: 38px;
  justify-content: center;
  padding: 0;
}

.project-bom-item > a:hover,
.project-bom-item > button:hover {
  border-color: #2f7cff;
  background: #eaf2ff;
}

.project-bom-item > a[aria-label]:hover {
  background: #2f7cff;
  color: #fff;
}

.project-bom-item.is-link-row {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .16s ease;
}

.project-bom-item.is-link-row:hover,
.project-bom-item.is-link-row:focus-visible {
  background: #eef5ff;
  outline: none;
}

.project-repository-only {
  overflow: hidden;
  padding: 0 !important;
}

.project-repository-only > a {
  width: 100%;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800;
}

.project-repository-only > a > span,
.project-repository-only > a > .icon {
  transition: transform .22s ease;
}

.project-repository-only > a:hover,
.project-repository-only > a:focus-visible {
  background: transparent;
  outline: none;
}

.project-repository-only > a:hover > span,
.project-repository-only > a:focus-visible > span {
  transform: scale(1.08);
}

.project-repository-only > a:hover > .icon,
.project-repository-only > a:focus-visible > .icon {
  transform: translateX(2px) scale(1.08);
}

.project-story-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dce4ef;
  list-style: none;
}

.project-story-steps li {
  display: grid;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: 42px 1fr;
}

.project-story-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.project-story-steps strong {
  color: #071326;
  font-size: 12px;
}

.project-story-steps p {
  margin: 4px 0 0;
  color: #738197;
  font-size: 9px;
}

.project-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-story-tags span {
  padding: 7px 10px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f7f9fd;
  color: #245da9;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-story-related {
  padding: 42px 46px 48px;
  background: #f8faff;
}

.project-story-related-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.project-story-related-heading span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-story-related-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 27px;
}

.project-story-related-heading a {
  color: #175fcf;
  font-size: 9px;
  font-weight: 800;
}

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

.project-story-related-grid a {
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fff;
}

.project-story-related-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.project-story-related-grid > a > span {
  display: block;
  padding: 13px 14px 0;
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.project-story-related-grid h3 {
  margin: 6px 14px 5px;
  color: #071326;
  font-size: 13px;
}

.project-story-related-grid p {
  margin: 0 14px 15px;
  color: #748196;
  font-size: 9px;
}

.project-story-more {
  margin-top: 22px;
  text-align: center;
}

.project-story-more a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid #2f7cff;
  border-radius: 8px;
  color: #2f7cff;
  font-size: 9px;
  font-weight: 800;
}

.project-story-ads {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.project-ad-card {
  overflow: hidden;
  padding: 16px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.05);
}

.project-ad-card > span {
  color: #8b98aa;
  font-family: var(--font-mono);
  font-size: 7px;
}

.project-ad-card img {
  width: calc(100% + 32px);
  height: 145px;
  margin: 12px -16px;
  object-fit: cover;
}

.project-ad-card h2 {
  margin: 0 0 7px;
  color: #071326;
  font-size: 17px;
}

.project-ad-card p {
  margin: 0 0 13px;
  color: #748196;
  font-size: 9px;
  line-height: 1.6;
}

.project-ad-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f7cff;
  font-size: 9px;
  font-weight: 800;
}

.project-ad-products h2 {
  margin-top: 6px;
}

.project-ad-product-list {
  display: grid;
  margin-top: 12px;
  border-top: 1px solid #e4eaf3;
}

.project-ad-product-list > a {
  display: grid;
  min-height: 68px;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #e4eaf3;
  color: #071326;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.project-ad-product-list > a:hover {
  color: #2f7cff;
}

.project-ad-product-thumb {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.project-ad-product-list > a > div {
  min-width: 0;
  display: grid;
}

.project-ad-product-list strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-ad-product-list small {
  color: #8794a8;
  font-size: 7px;
}

.project-ad-product-list .icon {
  color: #2f7cff;
}

.project-ad-more {
  width: 100%;
  min-height: 40px !important;
  justify-content: center;
  margin-top: 13px;
  border: 1px solid #2f7cff;
  border-radius: 8px;
}

.project-ad-more:hover {
  background: #2f7cff;
  color: #fff !important;
}

.project-ad-primary {
  background: linear-gradient(145deg, #0a49bc, #2f7cff);
  color: #fff;
}

.project-ad-primary > span,
.project-ad-primary h2,
.project-ad-primary p,
.project-ad-primary a {
  color: #fff;
}

body.theme-black .project-story-main,
body.theme-black .project-story-actions button,
body.theme-black .project-story-related-grid a,
body.theme-black .project-ad-card {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .project-story-header,
body.theme-black .project-story-related {
  background: #0b1422;
}

body.theme-black .project-story-header h1,
body.theme-black .project-story-section-heading h2,
body.theme-black .project-story-callout strong,
body.theme-black .project-bom-table td strong,
body.theme-black .project-story-steps strong,
body.theme-black .project-story-related-heading h2,
body.theme-black .project-story-related-grid h3,
body.theme-black .project-ad-card h2 {
  color: #f4f7ff;
}

body.theme-black .project-story-content section > p,
body.theme-black .project-story-lead,
body.theme-black .project-story-callout p,
body.theme-black .project-story-steps p,
body.theme-black .project-story-related-grid p,
body.theme-black .project-ad-card p {
  color: #a9b6ca;
}

body.theme-black .project-bom-table th,
body.theme-black .project-bom-table td {
  border-color: #26344a;
  color: #aebbd0;
}

body.theme-black .project-bom-table thead th {
  background: #101c2e;
}

body.theme-black .project-bom-group {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .project-bom-group-title {
  border-color: #26344a;
  background: #101c2e;
}

body.theme-black .project-bom-group-title strong,
body.theme-black .project-bom-item strong {
  color: #f4f7ff;
}

body.theme-black .project-bom-item {
  border-color: #26344a;
}

body.theme-black .project-bom-item:hover {
  background: #101c2e;
}

body.theme-black .project-ad-product-list > a {
  border-color: #26344a;
  color: #f4f7ff;
}

body.theme-black .project-ad-product-list small {
  color: #a9b6ca;
}

@media (max-width: 1180px) {
  .project-story-layout {
    grid-template-columns: 60px minmax(0, 1fr) 245px;
    gap: 16px;
  }

  .project-story-header,
  .project-story-content > section,
  .project-story-related {
    padding-right: 34px;
    padding-left: 34px;
  }

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

@media (max-width: 920px) {
  .project-story-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-story-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .project-story-actions button {
    min-height: 54px;
    grid-template-columns: auto auto auto;
    gap: 7px;
  }

  .project-story-ads {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .project-story-breadcrumb {
    padding-top: 80px;
  }

  .project-story-breadcrumb .section-shell {
    overflow-x: auto;
    white-space: nowrap;
  }

  .project-story-header {
    padding: 30px 22px 25px;
  }

  .project-story-header h1 {
    font-size: 38px;
  }

  .project-story-cover,
  .project-story-cover img {
    min-height: 300px;
  }

  .project-story-content > section {
    padding: 32px 22px;
  }

  .project-story-section-heading,
  .project-story-related-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-story-related {
    padding: 34px 22px;
  }

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

  .project-bom-group-title {
    grid-template-columns: auto 1fr;
  }

  .project-bom-group-title em {
    grid-column: 2;
  }

  .project-bom-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }
}

/* Projects homepage */

.project-hub-hero {
  padding: 52px 0 44px;
  background: linear-gradient(135deg, #071326 0%, #123d7f 62%, #2f7cff 100%);
  color: #fff;
}

.project-hub-hero-inner > span {
  color: #8dbaff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.project-hub-hero h1 {
  margin: 12px 0 9px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-hub-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.project-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 30px;
}

.project-hub-stats div {
  display: grid;
}

.project-hub-stats strong {
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1;
}

.project-hub-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
}

.project-hub-layout {
  display: grid;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 100px;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.project-hub-main {
  min-width: 0;
}

.project-hub-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-hub-type-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #fff;
  color: #58677e;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.project-hub-type-tabs button:hover,
.project-hub-type-tabs button.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.project-hub-type-tabs span {
  margin-left: 4px;
  opacity: 0.65;
}

.project-hub-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 37, 79, 0.045);
}

.project-hub-filter-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.project-hub-filter-left > span {
  color: #8390a4;
  font-size: 9px;
}

.project-hub-filter-left label {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  color: #7b899d;
  font-size: 8px;
}

.project-hub-filter-left select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #071326;
  cursor: pointer;
  font-size: 9px;
}

.project-hub-view-toggle {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.project-hub-view-toggle button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  background: #fff;
  color: #77859a;
  cursor: pointer;
}

.project-hub-view-toggle button:hover,
.project-hub-view-toggle button.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.project-hub-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  color: #8491a5;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-hub-result-line strong {
  color: #2f7cff;
}

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

.project-hub-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-hub-card:hover {
  border-color: #8ab8ff;
  box-shadow: 0 18px 42px rgba(26, 91, 190, 0.12);
  transform: translateY(-3px);
}

.project-hub-cover {
  position: relative;
  min-height: 170px;
  background-position: center;
  background-size: cover;
}

.project-hub-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 15, 37, 0.04), rgba(3, 15, 37, 0.22));
  content: "";
}

.project-cover-arm {
  background-image: url("assets/robot-arm.jpg");
}

.project-cover-mobile {
  background-image: url("assets/hero-robotics.jpg");
}

.project-cover-humanoid {
  background-image: url("assets/robot-humanoid.jpg");
}

.project-cover-board {
  background-image: url("assets/circuit-board.jpg");
}

.project-hub-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 7px;
  font-weight: 800;
}

.project-hub-badge {
  left: 10px;
}

.badge-official {
  background: #1e40af;
  color: #fff;
}

.badge-featured {
  background: #fbbf24;
  color: #78350f;
}

.badge-community {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.91);
  color: #475569;
}

.badge-university {
  background: #f5f3ff;
  color: #5b21b6;
}

.badge-competition {
  background: #fff1f2;
  color: #9f1239;
}

.project-hub-body {
  min-height: 278px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  color: #071326;
}

.project-hub-body h2 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.35;
}

.project-hub-body > p {
  margin: 0 0 12px;
  color: #748196;
  font-size: 10px;
  line-height: 1.55;
}

.project-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.project-hub-tags span {
  padding: 3px 7px;
  border-radius: 5px;
  background: #eaf2ff;
  color: #1e40af;
  font-size: 7px;
  font-weight: 700;
}

.project-hub-tags span:nth-child(3) {
  background: #f5f3ff;
  color: #5b21b6;
}

.project-hub-tags span:nth-child(4) {
  background: #fef3c7;
  color: #92400e;
}

.project-hub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #edf1f7;
  color: #8491a5;
  font-size: 8px;
}

.project-hub-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #526176;
  font-weight: 700;
}

.project-hub-author i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: #1e40af;
  font-size: 8px;
  font-style: normal;
}

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

.project-hub-grid.is-list .project-hub-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.project-hub-grid.is-list .project-hub-cover {
  min-height: 100%;
}

.project-hub-grid.is-list .project-hub-body {
  min-height: 220px;
}

.project-hub-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  color: #071326;
  text-align: center;
}

.project-hub-empty h2 {
  margin: 0 0 5px;
}

.project-hub-empty p {
  margin: 0;
  color: #748196;
  font-size: 10px;
}

.project-hub-load-more {
  margin-top: 26px;
  text-align: center;
}

.project-hub-load-more button {
  min-height: 42px;
  padding: 0 34px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  color: #526176;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.project-hub-load-more button:hover {
  border-color: #2f7cff;
  background: #eaf2ff;
  color: #175fcf;
}

.project-hub-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.project-hub-side-card {
  padding: 16px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.045);
}

.project-hub-submit {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #2f7cff;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.project-hub-submit:hover {
  background: #1f6fe8;
}

.project-hub-side-card > p {
  margin: 8px 0 0;
  color: #8491a5;
  font-size: 9px;
  text-align: center;
}

.project-hub-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f7;
}

.project-hub-side-title h2 {
  margin: 0;
  color: #071326;
  font-size: 13px;
}

.project-hub-side-title a,
.project-hub-side-title span {
  color: #2f7cff;
  font-size: 8px;
}

.project-hub-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-hub-hot-tags button {
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f8faff;
  color: #58677e;
  cursor: pointer;
  font-size: 8px;
}

.project-hub-hot-tags button:hover,
.project-hub-hot-tags button.is-active {
  border-color: #72a5ff;
  background: #eaf2ff;
  color: #175fcf;
}

.project-hub-contributor {
  display: grid;
  min-height: 49px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #edf1f7;
  grid-template-columns: 25px 1fr auto;
}

.project-hub-contributor:last-child {
  border-bottom: 0;
}

.project-hub-contributor .rank {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
}

.project-hub-contributor .rank-1 {
  background: #fef3c7;
  color: #92400e;
}

.project-hub-contributor .rank-2 {
  background: #e2e8f0;
  color: #475569;
}

.project-hub-contributor .rank-3 {
  background: #ffedd5;
  color: #9a3412;
}

.project-hub-contributor div {
  min-width: 0;
  display: grid;
}

.project-hub-contributor strong {
  color: #071326;
  font-size: 10px;
}

.project-hub-contributor small {
  color: #8a97a9;
  font-size: 7px;
}

.project-hub-contributor em {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.project-hub-featured {
  width: 100%;
  display: grid;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: transparent;
  color: #071326;
  cursor: pointer;
  grid-template-columns: 48px 1fr;
  text-align: left;
}

.project-hub-featured:last-child {
  border-bottom: 0;
}

.project-hub-thumb {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.project-hub-featured div {
  min-width: 0;
  display: grid;
}

.project-hub-featured strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-hub-featured small {
  color: #8a97a9;
  font-size: 7px;
}

.project-hub-activity {
  display: grid;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 9px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8faff;
  grid-template-columns: 42px 1fr;
}

.project-hub-activity:last-child {
  margin-bottom: 0;
}

.project-hub-activity:hover {
  border-color: #72a5ff;
  background: #eaf2ff;
}

.project-hub-activity > span {
  width: 42px;
  height: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 8px;
  background: #2f7cff;
  color: #fff;
}

.project-hub-activity strong {
  font-size: 13px;
  line-height: 1;
}

.project-hub-activity small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.project-hub-activity > div {
  display: grid;
}

.project-hub-activity > div strong {
  color: #071326;
  font-size: 9px;
}

.project-hub-activity > div small {
  color: #8794a8;
  font-size: 7px;
}

body.theme-black .project-hub-layout {
  background: #04070d;
}

body.theme-black .project-hub-card,
body.theme-black .project-hub-filter-bar,
body.theme-black .project-hub-side-card,
body.theme-black .project-hub-empty {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .project-hub-body,
body.theme-black .project-hub-side-title h2,
body.theme-black .project-hub-contributor strong,
body.theme-black .project-hub-featured,
body.theme-black .project-hub-activity > div strong {
  color: #f4f7ff;
}

body.theme-black .project-hub-body > p,
body.theme-black .project-hub-featured small,
body.theme-black .project-hub-activity > div small {
  color: #a9b6ca;
}

body.theme-black .project-hub-filter-left select,
body.theme-black .project-hub-filter-left label {
  color: #d5deec;
}

@media (max-width: 1180px) {
  .project-hub-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

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

@media (max-width: 1024px) {
  .project-hub-layout {
    grid-template-columns: 1fr;
  }

  .project-hub-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .project-hub-hero {
    padding: 40px 0 34px;
  }

  .project-hub-hero h1 {
    font-size: 34px;
  }

  .project-hub-stats {
    gap: 22px;
  }

  .project-hub-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .project-hub-filter-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .project-hub-filter-left > span {
    grid-column: span 2;
  }

  .project-hub-filter-left label {
    justify-content: space-between;
  }

  .project-hub-view-toggle {
    align-self: flex-end;
  }

  .project-hub-grid,
  .project-hub-grid.is-list {
    grid-template-columns: 1fr;
  }

  .project-hub-grid.is-list .project-hub-card {
    display: block;
  }

  .project-hub-grid.is-list .project-hub-cover {
    min-height: 170px;
  }

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

/* Hardware product detail */

.product-detail-breadcrumb {
  padding: 88px 0 14px;
  border-bottom: 1px solid #dfe7f3;
  background: #fff;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 10px;
}

.product-detail-breadcrumb .section-shell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-detail-breadcrumb i {
  color: #a7b3c4;
  font-style: normal;
}

.product-detail-breadcrumb a:hover {
  color: #2f7cff;
}

.product-detail-breadcrumb strong {
  color: #071326;
}

.product-detail-hero {
  padding: 42px 0 58px;
  background: linear-gradient(180deg, #f9fbff, #f3f6fb);
}

.product-detail-hero-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
}

.product-detail-media {
  position: relative;
  min-height: 470px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(76, 142, 255, 0.16), transparent 40%),
    #fff;
  box-shadow: 0 18px 46px rgba(10, 37, 79, 0.08);
}

.product-detail-media img {
  width: min(78%, 560px);
  max-height: 390px;
  object-fit: contain;
}

.product-detail-media > span {
  position: absolute;
  top: 17px;
  left: 17px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #071326;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.product-detail-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0;
}

.product-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-detail-labels span {
  padding: 6px 8px;
  border: 1px solid #cddcf1;
  border-radius: 999px;
  background: #fff;
  color: #2f6dcc;
  font-family: var(--font-mono);
  font-size: 8px;
}

.product-detail-labels span:first-child {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.product-detail-summary > p {
  margin: 18px 0 8px;
  color: #6480a8;
  font-family: var(--font-mono);
  font-size: 9px;
}

.product-detail-summary h1 {
  margin: 0;
  color: #071326;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.product-detail-lead {
  max-width: 680px;
  margin-top: 18px;
  color: #58677e;
  font-size: 15px;
  line-height: 1.75;
}

.product-detail-highlights {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: repeat(2, 1fr);
}

.product-detail-highlights div {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: rgba(255, 255, 255, 0.72);
}

.product-detail-highlights span {
  color: #8491a5;
  font-family: var(--font-mono);
  font-size: 7px;
}

.product-detail-highlights strong {
  margin-top: 4px;
  color: #071326;
  font-size: 12px;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.product-detail-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #cedaeb;
  border-radius: 9px;
  background: #fff;
  color: #1e5ba9;
  font-size: 11px;
  font-weight: 800;
}

.product-detail-actions a:first-child {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.product-longform-section {
  padding: 28px 0 66px;
  background: linear-gradient(180deg, #f3f6fb, #f8faff);
}

.product-longform-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.product-longform-heading > div > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.product-longform-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-longform-heading > p {
  margin: 0;
  color: #8996aa;
  font-size: 8px;
}

.product-longform-section a {
  display: block;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(10, 37, 79, 0.1);
}

.product-longform-section img {
  width: 100%;
  height: auto;
}

.product-detail-nav {
  position: sticky;
  z-index: 40;
  top: 74px;
  border-top: 1px solid #dfe7f3;
  border-bottom: 1px solid #dfe7f3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.product-detail-nav .section-shell {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 30px;
}

.product-detail-nav button {
  min-height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #738197;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.product-detail-nav button:hover,
.product-detail-nav button.is-active {
  border-bottom-color: #2f7cff;
  color: #175fcf;
}

.product-detail-layout {
  display: grid;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 100px;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.product-detail-article,
.product-detail-rail > section {
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 79, 0.055);
}

.product-detail-article {
  overflow: hidden;
  color: #071326;
}

.product-detail-section {
  padding: 42px;
  border-bottom: 1px solid #e4eaf3;
  scroll-margin-top: 140px;
}

.product-detail-section:last-child {
  border-bottom: 0;
}

.product-detail-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.product-detail-section-heading > div > span,
.product-detail-rail > section > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.product-detail-section-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 30px;
  line-height: 1.08;
}

.product-detail-section-heading > p {
  flex: 0 0 auto;
  margin: 0;
  color: #8996aa;
  font-family: var(--font-mono);
  font-size: 8px;
}

.product-overview-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-overview-columns p,
.product-comparison-intro {
  margin: 0;
  color: #5f6f85;
  font-size: 12px;
  line-height: 1.8;
}

.product-overview-grid {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid #dce4ef;
  border-left: 1px solid #dce4ef;
  grid-template-columns: repeat(3, 1fr);
}

.product-overview-grid article {
  min-height: 165px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcff;
}

.product-overview-grid span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.product-overview-grid strong {
  margin-top: auto;
  font-size: 15px;
}

.product-overview-grid p {
  margin: 7px 0 0;
  color: #6d7b90;
  font-size: 10px;
}

.product-comparison-intro {
  margin-bottom: 18px;
}

.product-comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce4ef;
  border-radius: 12px;
}

.product-comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
}

.product-comparison-table th,
.product-comparison-table td {
  padding: 15px 16px;
  border-right: 1px solid #e3e9f2;
  border-bottom: 1px solid #e3e9f2;
  color: #59687e;
  font-size: 10px;
  text-align: left;
  vertical-align: top;
}

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

.product-comparison-table th:last-child,
.product-comparison-table td:last-child {
  border-right: 0;
}

.product-comparison-table thead th {
  min-width: 190px;
  background: #f7f9fd;
}

.product-comparison-table thead th:first-child {
  width: 115px;
  min-width: 115px;
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 8px;
}

.product-comparison-table thead span,
.product-comparison-table thead small {
  display: block;
  color: #7c8ca3;
  font-family: var(--font-mono);
  font-size: 7px;
}

.product-comparison-table thead strong {
  display: block;
  margin: 7px 0 4px;
  color: #071326;
  font-size: 15px;
}

.product-comparison-table .is-current {
  background: #eaf2ff;
}

.product-comparison-table thead .is-current {
  box-shadow: inset 0 3px #2f7cff;
}

.product-comparison-table tbody th {
  color: #738197;
  font-size: 9px;
  font-weight: 700;
}

.product-comparison-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 8px;
}

.product-comparison-foot button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #cedaeb;
  border-radius: 8px;
  background: #fff;
  color: #1e5ba9;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.product-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-related-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
}

.product-related-card:hover {
  border-color: #72a5ff;
  background: #f3f8ff;
}

.product-related-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2f7cff;
}

.product-related-head .icon {
  width: 23px;
  height: 23px;
}

.product-related-head span {
  font-family: var(--font-mono);
  font-size: 7px;
}

.product-related-card h3 {
  margin: 24px 0 7px;
  color: #071326;
  font-size: 17px;
}

.product-related-card p {
  margin: 0;
  color: #68778c;
  font-size: 10px;
}

.product-related-card em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #175fcf;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.product-detail-rail {
  position: sticky;
  top: 142px;
  display: grid;
  gap: 12px;
}

.product-detail-rail > section {
  padding: 19px;
}

.product-detail-rail h2 {
  margin: 8px 0 14px;
  color: #071326;
  font-size: 18px;
}

.product-detail-rail dl {
  margin: 0;
}

.product-detail-rail dl > div {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e4eaf3;
  font-size: 9px;
}

.product-detail-rail dt {
  color: #7d8a9e;
}

.product-detail-rail dd {
  margin: 0;
  color: #071326;
  font-weight: 800;
  text-align: right;
}

.product-detail-rail > section > a {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
  border-bottom: 1px solid #e4eaf3;
  color: #245da9;
  font-size: 9px;
  font-weight: 700;
}

.product-detail-rail > section > a:hover {
  color: #2f7cff;
}

.product-detail-rail-accent {
  border-color: #2f7cff !important;
  background: #2f7cff !important;
  color: #fff;
}

.product-detail-rail-accent > span,
.product-detail-rail-accent h2,
.product-detail-rail-accent p,
.product-detail-rail-accent a {
  color: #fff !important;
}

.product-detail-rail-accent p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 9px;
}

.product-detail-rail-accent a {
  display: inline-flex !important;
  min-height: 34px !important;
  align-items: center;
  padding: 0 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 7px;
}

body.theme-black .product-detail-hero {
  background: #04070d;
}

body.theme-black .product-longform-section {
  background: #04070d;
}

body.theme-black .product-longform-heading h2 {
  color: #f4f7ff;
}

body.theme-black .product-longform-section a {
  border-color: #26344a;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

body.theme-black .product-detail-media,
body.theme-black .product-detail-article,
body.theme-black .product-detail-rail > section,
body.theme-black .product-comparison-table,
body.theme-black .product-related-card {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .product-detail-summary h1,
body.theme-black .product-detail-section-heading h2,
body.theme-black .product-overview-grid strong,
body.theme-black .product-related-card h3,
body.theme-black .product-detail-rail h2,
body.theme-black .product-detail-rail dd,
body.theme-black .product-comparison-table thead strong {
  color: #f4f7ff;
}

body.theme-black .product-detail-lead,
body.theme-black .product-overview-columns p,
body.theme-black .product-comparison-intro,
body.theme-black .product-related-card p {
  color: #a9b6ca;
}

body.theme-black .product-overview-grid article,
body.theme-black .product-comparison-table thead th,
body.theme-black .product-comparison-table .is-current {
  background: #101c2e;
}

body.theme-black .product-comparison-table th,
body.theme-black .product-comparison-table td {
  border-color: #26344a;
  color: #aebbd0;
}

@media (max-width: 1180px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .product-detail-section {
    padding: 34px;
  }
}

@media (max-width: 920px) {
  .product-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 360px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-rail {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-rail-accent {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .product-detail-breadcrumb {
    padding-top: 80px;
  }

  .product-detail-breadcrumb .section-shell {
    overflow-x: auto;
    white-space: nowrap;
  }

  .product-detail-summary h1 {
    font-size: 44px;
  }

  .product-longform-section {
    padding: 22px 0 48px;
  }

  .product-longform-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-longform-heading h2 {
    font-size: 26px;
  }

  .product-detail-highlights,
  .product-overview-columns,
  .product-overview-grid,
  .product-related-grid,
  .product-detail-rail {
    grid-template-columns: 1fr;
  }

  .product-detail-nav {
    top: 64px;
  }

  .product-detail-nav .section-shell {
    gap: 22px;
    overflow-x: auto;
  }

  .product-detail-nav button {
    flex: 0 0 auto;
  }

  .product-detail-section {
    padding: 28px 22px;
  }

  .product-detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .product-detail-rail-accent {
    grid-column: auto;
  }
}

/* Wiki three-column documentation layout */

.wiki-doc-breadcrumb {
  padding: 88px 0 14px;
  border-bottom: 1px solid #dfe7f3;
  background: #fff;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 10px;
}

.wiki-doc-breadcrumb .section-shell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wiki-doc-breadcrumb i {
  color: #a7b3c4;
  font-style: normal;
}

.wiki-doc-breadcrumb strong {
  color: #175fcf;
}

.wiki-doc-breadcrumb button {
  display: none;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  color: #175fcf;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.wiki-doc-shell {
  width: min(1460px, calc(100% - 40px));
  display: grid;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 100px;
  grid-template-columns: 250px minmax(0, 1fr) 210px;
  gap: 30px;
}

.wiki-doc-sidebar,
.wiki-doc-article,
.wiki-doc-toc {
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 79, 0.055);
}

.wiki-doc-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}

.wiki-doc-sidebar-head {
  display: grid;
  gap: 4px;
  padding: 19px;
  border-bottom: 1px solid #e4eaf3;
}

.wiki-doc-sidebar-head span,
.wiki-doc-toc > span,
.wiki-doc-brand-nav > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-doc-sidebar-head strong {
  color: #071326;
  font-size: 15px;
}

.wiki-doc-nav {
  display: grid;
  padding: 8px;
}

.wiki-doc-nav button,
.wiki-doc-brand-nav button,
.wiki-doc-sidebar-footer button,
.wiki-doc-sidebar-footer a {
  min-height: 40px;
  display: grid;
  width: 100%;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #53647b;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
  grid-template-columns: 1fr auto;
}

.wiki-doc-nav button:hover,
.wiki-doc-nav button.is-active,
.wiki-doc-brand-nav button:hover {
  background: #eaf2ff;
  color: #175fcf;
}

.wiki-doc-nav em,
.wiki-doc-brand-nav em {
  color: #8c99ab;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.wiki-doc-brand-nav {
  display: grid;
  gap: 2px;
  padding: 14px 8px;
  border-top: 1px solid #e4eaf3;
}

.wiki-doc-brand-nav > span {
  padding: 0 11px 7px;
}

.wiki-doc-sidebar-footer {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-top: 1px solid #e4eaf3;
  background: #f8faff;
}

.wiki-doc-sidebar-footer button,
.wiki-doc-sidebar-footer a {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #dce4ef;
  background: #fff;
  grid-template-columns: 1fr auto;
}

.wiki-doc-sidebar-footer button:hover,
.wiki-doc-sidebar-footer a:hover {
  border-color: #2f7cff;
}

.wiki-doc-sidebar-footer span,
.wiki-doc-sidebar-footer strong {
  grid-column: 1;
}

.wiki-doc-sidebar-footer span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-doc-sidebar-footer strong {
  color: #071326;
  font-size: 11px;
}

.wiki-doc-sidebar-footer .icon {
  color: #2f7cff;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.wiki-doc-main {
  min-width: 0;
}

.wiki-doc-article {
  overflow: hidden;
  color: #202b3d;
}

.wiki-doc-section {
  padding: 48px 54px;
  border-bottom: 1px solid #e4eaf3;
  scroll-margin-top: 92px;
}

.wiki-doc-section:last-child {
  border-bottom: 0;
}

.wiki-doc-claim {
  padding-top: 64px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 92% 10%, rgba(76, 142, 255, 0.13), transparent 26%),
    linear-gradient(180deg, #f9fbff, #fff);
}

.wiki-doc-claim > span,
.wiki-doc-section-heading > div > span,
.wiki-weekly-meta span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.wiki-doc-claim h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  color: #071326;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.wiki-doc-claim-en {
  color: #2f7cff !important;
  font-weight: 700;
}

.wiki-doc-claim p {
  max-width: 780px;
  margin: 0;
  color: #5f6f85;
  font-size: 14px;
  line-height: 1.85;
}

.wiki-doc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.wiki-doc-section-heading h2 {
  margin: 7px 0 0;
  color: #071326;
  font-size: 29px;
  line-height: 1.08;
}

.wiki-doc-section-heading > p {
  flex: 0 0 auto;
  margin: 0;
  color: #8996aa;
  font-family: var(--font-mono);
  font-size: 8px;
}

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

.wiki-module-grid button {
  min-height: 204px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  color: #071326;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wiki-module-grid button:hover {
  border-color: #72a5ff;
  box-shadow: 0 14px 28px rgba(26, 91, 190, 0.1);
  transform: translateY(-3px);
}

.wiki-module-grid .icon {
  width: 24px;
  height: 24px;
  color: #2f7cff;
}

.wiki-module-grid span {
  margin-top: 18px;
  color: #7790b4;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-module-grid strong {
  margin-top: 7px;
  font-size: 17px;
}

.wiki-module-grid p {
  margin: auto 0 0;
  color: #68778c;
  font-size: 10px;
}

.wiki-contributor-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wiki-contributor-board article {
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: 18px 10px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  text-align: center;
}

.wiki-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #175fcf, #5b9cff);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.wiki-avatar.av-two {
  background: linear-gradient(145deg, #0f7f8f, #35b5bf);
}

.wiki-avatar.av-three {
  background: linear-gradient(145deg, #6a50db, #8d78f1);
}

.wiki-avatar.av-four {
  background: linear-gradient(145deg, #c44f2d, #ef8262);
}

.wiki-avatar.av-five {
  background: linear-gradient(145deg, #071326, #29446d);
}

.wiki-contributor-board article > div {
  display: grid;
  margin: 10px 0 8px;
}

.wiki-contributor-board strong {
  color: #071326;
  font-size: 10px;
}

.wiki-contributor-board small,
.wiki-contributor-board > article > span:last-child {
  color: #8290a4;
  font-size: 8px;
}

.wiki-contributor-board em {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
}

.wiki-weekly-feature {
  display: grid;
  align-items: center;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(125deg, #071326 0%, #103e85 72%, #236bd8 100%);
  color: #fff;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  gap: 25px;
}

.wiki-weekly-meta {
  display: grid;
  gap: 5px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.wiki-weekly-meta span {
  color: #83b4ff;
}

.wiki-weekly-meta strong {
  font-family: var(--font-mono);
  font-size: 11px;
}

.wiki-weekly-feature h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.wiki-weekly-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.wiki-weekly-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.wiki-weekly-tags span {
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-weekly-feature button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #175fcf;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.wiki-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wiki-support-grid > a,
.wiki-support-grid > button {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  color: #071326;
  cursor: pointer;
  text-align: left;
}

.wiki-support-grid > a:hover,
.wiki-support-grid > button:hover {
  border-color: #72a5ff;
}

.wiki-support-grid > a > .icon,
.wiki-support-grid > button > .icon {
  width: 27px;
  height: 27px;
  color: #2f7cff;
}

.wiki-support-grid span {
  margin-top: 22px;
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-support-grid strong {
  margin-top: 6px;
  font-size: 17px;
}

.wiki-support-grid p {
  margin: 7px 0 0;
  color: #68778c;
  font-size: 10px;
}

.wiki-support-grid em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #175fcf;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.wiki-social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wiki-social-links a {
  min-height: 76px;
  display: grid;
  align-items: center;
  padding: 0 17px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fbfcff;
  grid-template-columns: 1fr auto;
}

.wiki-social-links a:hover {
  border-color: #72a5ff;
}

.wiki-social-links span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-social-links strong {
  color: #071326;
  font-size: 12px;
  grid-column: 1;
}

.wiki-social-links .icon {
  color: #2f7cff;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.wiki-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wiki-next-grid a {
  min-height: 145px;
  display: grid;
  padding: 20px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  grid-template-columns: 1fr auto;
}

.wiki-next-grid a:hover {
  border-color: #72a5ff;
  background: #f3f8ff;
}

.wiki-next-grid span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-next-grid strong {
  color: #071326;
  font-size: 17px;
  grid-column: 1;
}

.wiki-next-grid p {
  margin: 7px 0 0;
  color: #68778c;
  font-size: 10px;
  grid-column: 1;
}

.wiki-next-grid .icon {
  color: #2f7cff;
  grid-column: 2;
  grid-row: 1 / span 3;
}

.wiki-comment-list {
  border-top: 1px solid #e4eaf3;
}

.wiki-comment-list article {
  display: grid;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #e4eaf3;
  grid-template-columns: auto 1fr;
}

.wiki-comment-list article > div {
  display: grid;
}

.wiki-comment-list strong {
  color: #071326;
  font-size: 11px;
}

.wiki-comment-list small {
  color: #8a97a9;
  font-size: 8px;
}

.wiki-comment-list p {
  margin: 6px 0 0;
  color: #5e6d82;
  font-size: 10px;
}

.wiki-comment-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fbfcff;
  grid-template-columns: auto 1fr;
}

.wiki-comment-form label {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.wiki-comment-form textarea {
  width: 100%;
  resize: vertical;
  padding: 10px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  outline: 0;
  color: #071326;
}

.wiki-comment-form button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #2f7cff;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.wiki-connect {
  background:
    radial-gradient(circle at 92% 8%, rgba(82, 147, 255, 0.18), transparent 27%),
    linear-gradient(180deg, #f8faff, #eef4fd);
}

.wiki-connect-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wiki-connect-buttons > a,
.wiki-connect-buttons > button {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #ccdaee;
  border-radius: 12px;
  background: #fff;
  color: #071326;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wiki-connect-buttons > a:hover,
.wiki-connect-buttons > button:hover {
  border-color: #2f7cff;
  box-shadow: 0 15px 32px rgba(26, 91, 190, 0.1);
  transform: translateY(-3px);
}

.wiki-connect-buttons .icon {
  width: 28px;
  height: 28px;
  color: #2f7cff;
}

.wiki-connect-buttons span {
  margin-top: 22px;
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.wiki-connect-buttons strong {
  margin-top: 6px;
  font-size: 19px;
}

.wiki-connect-buttons small {
  margin-top: 5px;
  color: #738197;
  font-size: 9px;
}

.wiki-media-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 12px;
  padding-top: 22px;
  border-top: 1px solid #d7e1ef;
}

.wiki-media-heading span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.wiki-media-heading strong {
  color: #071326;
  font-size: 15px;
}

.wiki-media-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wiki-media-links a {
  min-height: 92px;
  display: grid;
  align-items: center;
  padding: 14px;
  border: 1px solid #d3deee;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  grid-template-columns: 1fr auto;
}

.wiki-media-links a:hover {
  border-color: #2f7cff;
  background: #fff;
}

.wiki-media-links span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.wiki-media-links strong {
  color: #071326;
  font-size: 11px;
  grid-column: 1;
}

.wiki-media-links .icon {
  color: #2f7cff;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.wiki-doc-toc {
  position: sticky;
  top: 88px;
  display: grid;
  padding: 17px 12px;
  gap: 3px;
}

.wiki-doc-toc > span {
  padding: 0 8px 8px;
}

.wiki-doc-toc button {
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: #6d7b90;
  cursor: pointer;
  font-size: 9px;
  text-align: left;
}

.wiki-doc-toc button:hover,
.wiki-doc-toc button.is-active {
  border-left-color: #2f7cff;
  background: #eef5ff;
  color: #175fcf;
}

.wiki-doc-backdrop {
  display: none;
}

body.theme-black .wiki-doc-shell {
  background: #04070d;
}

body.theme-black .wiki-doc-sidebar,
body.theme-black .wiki-doc-article,
body.theme-black .wiki-doc-toc,
body.theme-black .wiki-module-grid button,
body.theme-black .wiki-support-grid > a,
body.theme-black .wiki-support-grid > button,
body.theme-black .wiki-social-links a,
body.theme-black .wiki-next-grid a,
body.theme-black .wiki-comment-form {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .wiki-doc-claim {
  background: #0b1422;
}

body.theme-black .wiki-connect {
  background: #0b1422;
}

body.theme-black .wiki-connect-buttons > a,
body.theme-black .wiki-connect-buttons > button,
body.theme-black .wiki-media-links a {
  border-color: #26344a;
  background: #101c2e;
}

body.theme-black .wiki-doc-claim h1,
body.theme-black .wiki-doc-section-heading h2,
body.theme-black .wiki-module-grid button,
body.theme-black .wiki-module-grid strong,
body.theme-black .wiki-contributor-board strong,
body.theme-black .wiki-support-grid strong,
body.theme-black .wiki-social-links strong,
body.theme-black .wiki-next-grid strong,
body.theme-black .wiki-comment-list strong,
body.theme-black .wiki-doc-sidebar-head strong,
body.theme-black .wiki-doc-sidebar-footer strong,
body.theme-black .wiki-connect-buttons strong,
body.theme-black .wiki-media-heading strong,
body.theme-black .wiki-media-links strong {
  color: #f4f7ff;
}

body.theme-black .wiki-doc-claim p,
body.theme-black .wiki-module-grid p,
body.theme-black .wiki-support-grid p,
body.theme-black .wiki-next-grid p,
body.theme-black .wiki-comment-list p {
  color: #a9b6ca;
}

body.theme-black .wiki-connect-buttons small {
  color: #a9b6ca;
}

body.theme-black .wiki-doc-nav button,
body.theme-black .wiki-doc-brand-nav button,
body.theme-black .wiki-doc-toc button {
  color: #aab7ca;
}

body.theme-black .wiki-doc-nav button:hover,
body.theme-black .wiki-doc-nav button.is-active,
body.theme-black .wiki-doc-brand-nav button:hover,
body.theme-black .wiki-doc-toc button:hover,
body.theme-black .wiki-doc-toc button.is-active {
  background: #101f35;
  color: #78aaff;
}

@media (max-width: 1180px) {
  .wiki-doc-shell {
    grid-template-columns: 230px minmax(0, 1fr) 185px;
    gap: 20px;
  }

  .wiki-doc-section {
    padding-right: 40px;
    padding-left: 40px;
  }

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

  .wiki-contributor-board {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .wiki-doc-breadcrumb button {
    display: inline-flex;
  }

  .wiki-doc-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .wiki-doc-sidebar {
    position: fixed;
    z-index: 140;
    top: 72px;
    bottom: 0;
    left: 0;
    width: min(350px, 92vw);
    max-height: none;
    border-radius: 0 14px 14px 0;
    transform: translateX(-105%);
    transition: transform 200ms ease;
  }

  .wiki-doc-sidebar.is-open {
    transform: translateX(0);
  }

  .wiki-doc-backdrop {
    position: fixed;
    z-index: 135;
    inset: 72px 0 0;
    display: none;
    background: rgba(3, 15, 37, 0.46);
    backdrop-filter: blur(3px);
  }

  .wiki-doc-backdrop.is-open {
    display: block;
  }

  body.wiki-drawer-open {
    overflow: hidden;
  }

  .wiki-doc-toc {
    display: none;
  }
}

@media (max-width: 680px) {
  .wiki-doc-breadcrumb {
    padding-top: 80px;
  }

  .wiki-doc-shell {
    width: calc(100% - 28px);
    padding-top: 18px;
    padding-bottom: 72px;
  }

  .wiki-doc-section {
    padding: 34px 22px;
  }

  .wiki-doc-claim h1 {
    font-size: 38px;
  }

  .wiki-doc-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .wiki-module-grid,
  .wiki-support-grid,
  .wiki-support-grid,
  .wiki-social-links,
  .wiki-next-grid,
  .wiki-contributor-board,
  .wiki-connect-buttons,
  .wiki-media-links {
    grid-template-columns: 1fr;
  }

  .wiki-module-grid button {
    min-height: 165px;
  }

  .wiki-weekly-feature {
    grid-template-columns: 1fr;
  }

  .wiki-weekly-meta {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }
}

/* Hardware product list redesign */

.hardware-v2-breadcrumb {
  padding: 92px 0 14px;
  border-bottom: 1px solid #dfe7f3;
  background: #fff;
  color: #607089;
  font-family: var(--font-mono);
  font-size: 10px;
}

.hardware-v2-breadcrumb .section-shell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hardware-v2-breadcrumb a:hover {
  color: #2f7cff;
}

.hardware-v2-breadcrumb strong {
  color: #071326;
}

.hardware-v2-hero {
  padding: 54px 0 62px;
  background: linear-gradient(120deg, #06132d 0%, #0a2c66 58%, #175bc5 100%);
  color: #fff;
}

.hardware-v2-hero-grid {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.hardware-v2-hero-grid > div:first-child > span,
.hardware-v2-hero-note > span {
  color: #82b4ff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.hardware-v2-hero h1 {
  margin: 10px 0 12px;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hardware-v2-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.hardware-v2-hero-note {
  min-width: 260px;
  padding-left: 24px;
  border-left: 2px solid #5b9cff;
}

.hardware-v2-hero-note strong {
  display: block;
  margin: 2px 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 44px;
  line-height: 1;
}

.hardware-v2-hero-note p {
  font-family: var(--font-mono);
  font-size: 9px;
}

.hardware-v2-layout {
  display: grid;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 100px;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.hardware-v2-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 79, 0.06);
}

.hardware-smart-picker {
  padding: 22px;
  border-radius: 13px 13px 0 0;
  background: linear-gradient(145deg, #145fda 0%, #2f7cff 58%, #63a3ff 100%);
  color: #fff;
}

.hardware-smart-picker > span {
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hardware-smart-picker h2 {
  margin: 7px 0 6px;
  font-size: 26px;
}

.hardware-smart-picker > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.hardware-smart-picker label:not(.hardware-smart-check) {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 700;
}

.hardware-smart-picker select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  outline: 0;
  background: rgba(3, 20, 51, 0.28);
  color: #fff;
}

.hardware-smart-picker select option {
  color: #071326;
}

.hardware-smart-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10px;
}

.hardware-smart-check input {
  accent-color: #fff;
}

.hardware-smart-picker button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #1558c9;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.hardware-smart-picker button:hover {
  background: #eaf2ff;
}

.hardware-filter-group {
  padding: 18px;
  border-top: 1px solid #e3e9f2;
}

.hardware-filter-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.hardware-filter-heading span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.hardware-filter-heading strong {
  color: #071326;
  font-size: 13px;
}

.hardware-category-parent,
.hardware-category-branch button,
.hardware-check-row {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #3e4c62;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}

.hardware-category-parent {
  padding: 0 9px;
  font-weight: 800;
}

.hardware-category-parent:hover,
.hardware-category-parent.is-active,
.hardware-category-branch button:hover,
.hardware-category-branch button.is-active {
  background: #eaf2ff;
  color: #1764dd;
}

.hardware-category-parent em,
.hardware-category-branch em,
.hardware-check-row em {
  color: #8a98ac;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.hardware-category-branch {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.hardware-category-branch > span {
  padding: 7px 9px 3px;
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hardware-category-branch button {
  padding: 0 9px 0 19px;
}

.hardware-check-row {
  padding: 0 8px;
}

.hardware-check-row:hover {
  background: #f3f7fd;
}

.hardware-check-row input {
  accent-color: #2f7cff;
}

.hardware-check-row span {
  flex: 1;
}

.hardware-v2-main {
  min-width: 0;
}

.hardware-v2-toolbar {
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 79, 0.05);
}

.hardware-v2-search {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #f8faff;
  color: #7590b5;
}

.hardware-v2-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071326;
}

.hardware-v2-toolbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.hardware-v2-result-count {
  margin-right: auto;
  color: #6e7b8e;
  font-family: var(--font-mono);
  font-size: 9px;
}

.hardware-v2-result-count strong {
  color: #175fcf;
}

.hardware-select-control {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  color: #77859a;
  font-size: 9px;
}

.hardware-select-control select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #071326;
  cursor: pointer;
  font-size: 10px;
}

.hardware-view-toggle {
  display: flex;
  gap: 4px;
}

.hardware-view-toggle button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  color: #738197;
  cursor: pointer;
}

.hardware-view-toggle button:hover,
.hardware-view-toggle button.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.hardware-v2-filter-toggle {
  display: none;
}

.hardware-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px 12px;
  color: #738197;
  font-family: var(--font-mono);
  font-size: 8px;
}

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

.hardware-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 15px;
  background: #fff;
  color: #071326;
  box-shadow: 0 12px 30px rgba(10, 37, 79, 0.055);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hardware-product-card:hover {
  box-shadow: 0 20px 45px rgba(10, 37, 79, 0.11);
  transform: translateY(-4px);
}

.hardware-product-media {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hardware-product-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 40, 0.03), rgba(4, 17, 40, 0.2));
  content: "";
}

.hardware-status,
.hardware-product-index {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 8px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.hardware-status {
  left: 12px;
}

.hardware-status.in-stock {
  background: #e9f2ff;
  color: #175fcf;
}

.hardware-status.presale {
  background: #071326;
  color: #fff;
}

.hardware-product-index {
  right: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #071326;
}

.hardware-visual-radar,
.hardware-visual-bot {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #06132d, #10498f);
}

.hardware-visual-radar .icon,
.hardware-visual-bot .icon {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  color: #75aaff;
  stroke-width: 1.2;
}

.hardware-product-body {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  padding: 18px;
}

.hardware-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hardware-product-meta span:last-child {
  color: #8390a4;
}

.hardware-product-body h3 {
  margin: 18px 0 14px;
  font-size: 22px;
  line-height: 1.12;
}

.hardware-product-body > p {
  margin: 0;
  color: #67758a;
  font-size: 11px;
}

.hardware-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.hardware-tag-row span {
  padding: 5px 7px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  color: #58677e;
  font-family: var(--font-mono);
  font-size: 7px;
}

.hardware-resource-links {
  display: flex;
  gap: 6px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #e6ebf3;
}

.hardware-resource-links a,
.hardware-resource-links button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  background: transparent;
  color: #275fae;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.hardware-resource-links a:hover,
.hardware-resource-links button:hover {
  border-color: #2f7cff;
  background: #eaf2ff;
}

.hardware-card-actions {
  display: grid;
  margin-top: auto;
  padding-top: 18px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hardware-card-actions button,
.hardware-card-actions a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccd8e9;
  border-radius: 8px;
  background: #fff;
  color: #204e91;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.hardware-card-actions button:hover {
  border-color: #2f7cff;
}

.hardware-card-actions a {
  border-color: #2f7cff;
  background: #2f7cff;
  color: #fff;
}

.hardware-card-actions a:hover {
  background: #1f6fe8;
}

.hardware-feature-list {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.hardware-feature-list span {
  position: relative;
  padding-left: 15px;
  color: #5d6c82;
  font-size: 10px;
}

.hardware-feature-list span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f7cff;
  box-shadow: 0 0 0 3px #eaf2ff;
  content: "";
}

.hardware-card-actions button.is-active {
  border-color: #2f7cff;
  background: #eaf2ff;
  color: #175fcf;
}

.hardware-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 9px 11px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
}

.hardware-active-filters > span {
  color: #8794a8;
  font-size: 8px;
}

.hardware-active-filters em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.hardware-active-filters button {
  min-height: 28px;
  margin-left: auto;
  padding: 0 8px;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  background: #fff;
  color: #526176;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.hardware-active-filters button:hover {
  border-color: #2f7cff;
  color: #2f7cff;
}

.hardware-compare-tray {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  max-width: 1120px;
  min-height: 62px;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid #b9cff3;
  border-radius: 12px;
  background: rgba(7, 19, 38, 0.97);
  color: #fff;
  box-shadow: 0 20px 45px rgba(3, 15, 37, 0.28);
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  backdrop-filter: blur(14px);
}

.hardware-compare-tray > div {
  display: grid;
}

.hardware-compare-tray > div span {
  color: #78aaff;
  font-family: var(--font-mono);
  font-size: 7px;
}

.hardware-compare-tray > div strong {
  font-size: 10px;
}

.hardware-compare-tray em {
  color: #78aaff;
  font-style: normal;
}

.hardware-compare-tray p {
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hardware-compare-tray button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.hardware-compare-tray #hardwareCompareOpen {
  border-color: #2f7cff;
  background: #2f7cff;
}

.hardware-compare-tray button:hover {
  border-color: #78aaff;
}

.hardware-product-grid.is-list {
  grid-template-columns: 1fr;
}

.hardware-product-grid.is-list .hardware-product-card {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.hardware-product-grid.is-list .hardware-product-media {
  min-height: 100%;
}

.hardware-product-grid.is-list .hardware-product-body {
  min-height: 270px;
}

.hardware-v2-empty {
  min-height: 340px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  color: #071326;
  text-align: center;
}

.hardware-v2-empty .icon {
  width: 34px;
  height: 34px;
  color: #2f7cff;
}

.hardware-v2-empty h3 {
  margin: 12px 0 4px;
}

.hardware-v2-empty p {
  margin: 0;
  color: #6e7b8e;
  font-size: 11px;
}

body.theme-black .hardware-v2-layout {
  background: #04070d;
}

body.theme-black .hardware-v2-sidebar,
body.theme-black .hardware-v2-toolbar,
body.theme-black .hardware-product-card,
body.theme-black .hardware-v2-empty {
  border-color: #26344a;
  background: #0b1422;
  color: #f4f7ff;
}

body.theme-black .hardware-filter-heading strong,
body.theme-black .hardware-product-body h3,
body.theme-black .hardware-select-control select,
body.theme-black .hardware-v2-search input {
  color: #f4f7ff;
}

body.theme-black .hardware-v2-search {
  border-color: #26344a;
  background: #101c2e;
}

body.theme-black .hardware-active-filters {
  border-color: #26344a;
  background: #0b1422;
}

body.theme-black .hardware-feature-list span {
  color: #a9b6ca;
}

body.theme-black .hardware-product-body > p,
body.theme-black .hardware-category-parent,
body.theme-black .hardware-category-branch button,
body.theme-black .hardware-check-row {
  color: #a9b6ca;
}

@media (max-width: 1180px) {
  .hardware-v2-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

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

@media (max-width: 920px) {
  .hardware-v2-breadcrumb {
    padding-top: 82px;
  }

  .hardware-v2-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hardware-v2-hero-note {
    min-width: 0;
  }

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

  .hardware-v2-sidebar {
    position: fixed;
    z-index: 130;
    top: 72px;
    bottom: 0;
    left: 0;
    width: min(350px, 92vw);
    max-height: none;
    border-radius: 0 14px 14px 0;
    transform: translateX(-105%);
    transition: transform 200ms ease;
  }

  .hardware-v2-sidebar.is-open {
    transform: translateX(0);
  }

  .hardware-v2-filter-toggle {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
    color: #204e91;
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
  }
}

@media (max-width: 680px) {
  .hardware-v2-hero {
    padding: 42px 0 50px;
  }

  .hardware-v2-hero h1 {
    font-size: 48px;
  }

  .hardware-v2-toolbar-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .hardware-v2-result-count {
    align-self: center;
  }

  .hardware-select-control {
    flex: 1;
    justify-content: space-between;
  }

  .hardware-product-grid,
  .hardware-product-grid.is-list {
    grid-template-columns: 1fr;
  }

  .hardware-product-grid.is-list .hardware-product-card {
    display: block;
  }

  .hardware-product-grid.is-list .hardware-product-media {
    min-height: 210px;
  }

  .hardware-compare-tray {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr auto;
  }

  .hardware-compare-tray p {
    grid-column: span 2;
  }

  .hardware-compare-tray #hardwareCompareOpen {
    grid-column: 1;
  }

  .hardware-compare-tray #hardwareCompareClear {
    grid-column: 2;
  }
}

/* Home redesign: blue, white and near-black developer platform */

body {
  background: #f3f6fb;
  color: #071326;
}

.site-header,
.site-header.is-scrolled,
.site-header.is-inner {
  border-bottom: 1px solid rgba(133, 176, 255, 0.18);
  background: rgba(4, 17, 40, 0.97);
  color: #fff;
  box-shadow: 0 12px 35px rgba(3, 15, 37, 0.13);
  backdrop-filter: blur(18px);
}

.site-header .brand-mark,
.site-footer .brand-mark {
  width: var(--rxh-community-logo-size, 19px);
  height: var(--rxh-community-logo-size, 19px);
  flex: 0 0 var(--rxh-community-logo-size, 19px);
  overflow: hidden;
  border-radius: calc(var(--rxh-community-logo-size, 19px) * 0.2632);
  background: transparent;
  color: transparent;
  box-shadow: none;
  font-size: 0;
}

.site-header .brand-mark img,
.site-footer .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-header .brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
}

.site-header .desktop-nav a {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a.is-active {
  color: #fff;
}

.site-header .desktop-nav a::after {
  background: #5b9cff;
}

.theme-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.theme-toggle:hover {
  border-color: rgba(126, 177, 255, 0.72);
  color: #fff;
}

.theme-toggle-track {
  position: relative;
  width: 32px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.theme-toggle-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: background-color 180ms ease, transform 180ms ease;
}

body.theme-black .theme-toggle-track {
  background: #2f7cff;
}

body.theme-black .theme-toggle-track i {
  background: #fff;
  transform: translateX(14px);
}

.header-login,
.language-switch {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.header-login {
  min-width: 66px;
  border: 1px solid #347df8;
  background: #347df8;
  color: #fff;
}

.header-login:hover {
  border-color: #69a5ff;
  background: #4a8cff;
}

.language-switch {
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.language-switch:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.site-header .icon-button {
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
}

.mobile-menu {
  background: #041128;
}

.mobile-menu-head {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.mobile-menu-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mobile-menu-actions > button:not(.icon-button),
.mobile-menu-actions > .mobile-account-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu nav a {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.site-footer .brand-mark {
  border-radius: calc(var(--rxh-community-logo-size, 19px) * 0.2632);
  background: transparent;
  color: transparent;
}

.site-footer a:hover,
.site-footer button:hover {
  color: #78aaff;
}

/* Keep WordPress footers visually identical to the Docusaurus footer. The
   explicit scope also prevents theme typography from enlarging compliance. */
body .site-footer {
  padding: 58px 0 24px;
  border: 0;
  background: #0a1110;
  color: #fff;
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 16px;
  line-height: 1.65;
}

body .site-footer .footer-grid {
  grid-template-columns: minmax(250px, 1.55fr) minmax(90px, .68fr) minmax(280px, 1.35fr) minmax(270px, 1.3fr) minmax(90px, .65fr);
  gap: clamp(30px, 4vw, 68px);
  padding-bottom: 48px;
}

body .site-footer .footer-grid > div {
  align-items: flex-start;
  gap: 9px;
}

body .site-footer .footer-brand { margin: 4px 0 8px; }

body .site-footer .footer-grid > div:first-child p {
  max-width: 360px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.65;
}

body .site-footer .footer-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

body .site-footer .footer-link-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 9px 34px;
}

body .site-footer .footer-partner-grid {
  grid-template-columns: repeat(2, max-content);
}

body .site-footer .footer-grid a,
body .site-footer .footer-grid button {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

body .site-footer .footer-compliance,
body .site-footer .footer-compliance * {
  font-family: var(--rxh-ui-navigation-font-family, var(--font-sans));
  font-size: 10px;
  line-height: 1.75;
}

body .site-footer .footer-compliance {
  gap: 10px;
  padding-top: 22px;
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

body .site-footer .footer-compliance-record {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

body .site-footer .footer-compliance-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body .site-footer .footer-compliance-details { gap: 3px 22px; }

@media (max-width: 1100px) {
  body .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .site-footer .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body .site-footer {
    padding-top: 52px;
  }

  body .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 38px;
  }

  body .site-footer .footer-about {
    grid-column: auto;
  }

  body .site-footer .footer-link-grid,
  body .site-footer .footer-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body .site-footer .footer-compliance-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body .site-footer .footer-compliance-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

body.theme-black {
  background: #04070d;
  color: #f4f7ff;
}

body.theme-black .home-destinations {
  background: #04070d;
}

body.theme-black .home-section-heading h2 {
  color: #f7f9ff;
}

body.theme-black .home-section-heading > p {
  color: #aab7cb;
}

body.theme-black .home-section-heading > div > span {
  color: #78aaff;
}

body.theme-black .home-destination-card {
  border-color: rgba(119, 165, 241, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.hero {
  background-position: center 30%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(3, 15, 37, 0.95) 0%, rgba(4, 20, 48, 0.78) 50%, rgba(4, 20, 48, 0.46) 100%);
}

.hero-grid {
  opacity: 0.11;
  background-image: repeating-linear-gradient(90deg, transparent 0 79px, #8ab4ff 79px 80px);
}

.hero .status-dot {
  width: 14px;
  height: 14px;
  background: #4b93ff;
  box-shadow: 0 0 0 6px rgba(75, 147, 255, 0.16);
}

.hero-cn {
  color: #73a8ff;
}

.hero-actions .button {
  min-height: 64px;
  padding: 0 30px;
  border-radius: 12px;
  font-size: 16px;
}

.hero-actions .button-primary {
  border-color: #2f7cff;
  background: linear-gradient(135deg, #1f6fff, #4b93ff);
  color: #fff;
  box-shadow: 0 15px 34px rgba(25, 101, 236, 0.25);
}

.hero-actions .button-primary:hover {
  border-color: #6ba7ff;
  background: linear-gradient(135deg, #2f7cff, #69a8ff);
}

.hero-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-actions .button-ghost:hover {
  border-color: #6ba7ff;
  background: rgba(74, 141, 255, 0.2);
  color: #fff;
}

.hero-contributor-entry {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 18px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 15, 37, 0.34);
  backdrop-filter: blur(10px);
}

.hero-contributor-entry > span {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.35;
}

.hero-contributor-entry a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2f7cff;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.hero-contributor-entry a:hover {
  background: #5b9cff;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 104px;
  border-bottom: 1px solid #dce5f2;
  background:
    radial-gradient(circle at 50% 15%, rgba(73, 139, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #f9fbff 0%, #edf3fb 100%);
  text-align: center;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 93, 177, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 93, 177, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2866ca;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.home-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7cff;
  box-shadow: 0 0 0 5px rgba(47, 124, 255, 0.12);
}

.home-hero h1 {
  margin: 24px 0 18px;
  color: #071326;
  font-size: clamp(78px, 10vw, 138px);
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.home-hero p {
  max-width: 760px;
  margin: 0;
  color: #53627a;
  font-size: 19px;
  line-height: 1.65;
}

.home-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.home-hero-points span {
  padding: 7px 10px;
  border: 1px solid #ccdaef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #58677e;
  font-family: var(--font-mono);
  font-size: 9px;
}

.home-primary-section {
  position: relative;
  z-index: 2;
  padding: 0 0 96px;
  background: #f3f6fb;
}

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

.home-primary-card {
  position: relative;
  min-height: 268px;
  display: grid;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(87, 149, 255, 0.42);
  border-radius: 18px;
  background: linear-gradient(135deg, #0a49bc 0%, #246ffa 52%, #4f93ff 100%);
  color: #fff;
  box-shadow: 0 22px 50px rgba(32, 91, 193, 0.21);
  grid-template-rows: auto 1fr auto;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-primary-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 5%, rgba(255, 255, 255, 0.2), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 53px, rgba(255, 255, 255, 0.065) 53px 54px);
  content: "";
  pointer-events: none;
}

.home-primary-card:hover {
  box-shadow: 0 28px 64px rgba(32, 91, 193, 0.31);
  transform: translateY(-7px);
}

.home-primary-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.home-primary-icon .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.6;
}

.home-primary-card > div {
  position: relative;
  align-self: end;
}

.home-primary-card small {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: 9px;
}

.home-primary-card h2 {
  margin: 8px 0 9px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.home-primary-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.home-primary-arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 23px;
  height: 23px;
  transition: transform 180ms ease;
}

.home-primary-card:hover .home-primary-arrow {
  transform: translateX(4px);
}

.home-destinations {
  padding: 96px 0 110px;
  background: #f3f6fb;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.home-section-heading > div > span {
  color: #2b6fde;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-section-heading h2 {
  margin: 8px 0 0;
  color: #071326;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.home-section-heading > p {
  max-width: 510px;
  margin: 0;
  color: #69768a;
  font-size: 13px;
}

.home-destination-list {
  display: grid;
  gap: 18px;
}

.home-destination-card {
  position: relative;
  min-height: 216px;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: 38px 44px;
  border: 1px solid rgba(25, 64, 122, 0.14);
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 40px rgba(7, 24, 54, 0.12);
  color: #fff;
  transition: background-size 420ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-destination-card:hover {
  background-size: 106%;
  box-shadow: 0 25px 56px rgba(7, 24, 54, 0.18);
  transform: translateY(-3px);
}

.home-destination-hardware {
  background-image: url("assets/hero-robotics.jpg");
}

.home-destination-wiki {
  background-image: url("assets/circuit-board.jpg");
}

.home-destination-projects {
  background-image: url("assets/robot-arm.jpg");
}

.home-destination-activities {
  background-image: url("assets/robot-humanoid.jpg");
}

.home-destination-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 42, 0.76);
  transition: background-color 220ms ease;
}

.home-destination-card:hover .home-destination-overlay {
  background: rgba(3, 17, 42, 0.58);
}

.home-destination-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.home-destination-content > span {
  color: #8cbaff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-destination-content h2 {
  margin: 10px 0 10px;
  font-size: 38px;
  line-height: 1;
}

.home-destination-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.home-destination-arrow {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-destination-card:hover .home-destination-arrow {
  border-color: #fff;
  background: #2f7cff;
  transform: translateX(4px);
}

#hardwareCatalog,
#quickstart,
#projectShowcase {
  scroll-margin-top: 88px;
}

@media (max-width: 1180px) {
  .home-primary-grid {
    gap: 16px;
  }

  .home-primary-card {
    min-height: 255px;
    padding: 24px;
  }
}

@media (max-width: 920px) {
  .site-header .theme-toggle,
  .site-header .header-login,
  .site-header .language-switch {
    display: none;
  }

  .home-hero {
    padding: 138px 0 88px;
  }

  .home-hero h1 {
    font-size: 96px;
  }

  .home-primary-grid {
    grid-template-columns: 1fr;
  }

  .home-primary-card {
    min-height: 220px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-destination-card {
    min-height: 200px;
  }
}

@media (max-width: 680px) {
  .home-hero {
    padding: 122px 0 76px;
  }

  .home-hero h1 {
    font-size: 68px;
  }

  .home-hero p {
    font-size: 15px;
  }

  .home-hero-points {
    gap: 6px;
  }

  .home-hero-points span {
    font-size: 8px;
  }

  .home-primary-section {
    padding-bottom: 70px;
  }

  .home-primary-grid {
    margin-top: -34px;
  }

  .home-primary-card {
    min-height: 210px;
    padding: 22px;
    border-radius: 15px;
  }

  .home-primary-card h2 {
    font-size: 28px;
  }

  .home-primary-card p {
    padding-right: 18px;
  }

  .home-destinations {
    padding-bottom: 78px;
  }

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

  .home-destination-card {
    min-height: 238px;
    align-items: flex-start;
    padding: 28px 24px;
    border-radius: 15px;
  }

  .home-destination-content h2 {
    font-size: 31px;
  }

  .home-destination-content p {
    padding-right: 10px;
  }

  .home-destination-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
  }

}

/* Wiki navigation landing-page palette */

#view-wiki .wiki-doc-breadcrumb {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: #08152d;
  color: rgba(232, 241, 255, 0.62);
}

#view-wiki .wiki-doc-breadcrumb strong {
  color: #fff;
}

#view-wiki .wiki-doc-breadcrumb i {
  color: rgba(232, 241, 255, 0.34);
}

#view-wiki .wiki-doc-claim {
  background:
    radial-gradient(circle at 88% 14%, rgba(73, 158, 255, 0.28), transparent 30%),
    linear-gradient(112deg, #08152d 0%, #0c3b81 66%, #1764d9 100%);
}

#view-wiki .wiki-doc-claim > span {
  color: #74baff;
}

#view-wiki .wiki-doc-claim h1,
#view-wiki .wiki-doc-claim p {
  color: #fff;
}

#view-wiki .wiki-doc-claim .wiki-doc-claim-en {
  color: #8bc6ff !important;
}

#view-wiki .wiki-doc-claim > p:last-child {
  color: rgba(235, 244, 255, 0.7);
}

.wiki-faq-list {
  border-top: 1px solid #e4eaf3;
}

.wiki-faq-list > a {
  min-height: 86px;
  display: grid;
  align-items: center;
  gap: 15px;
  padding: 15px 4px;
  border-bottom: 1px solid #e4eaf3;
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.wiki-faq-list > a:hover {
  background: #f6faff;
}

.wiki-faq-rank {
  color: #a1aec0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
}

.wiki-faq-question {
  min-width: 0;
}

.wiki-faq-question > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.wiki-faq-question > div > span {
  color: #2f7cff;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
}

.wiki-faq-question em {
  padding: 3px 6px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #175fcf;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.wiki-faq-question small {
  color: #8996a9;
  font-size: 8px;
}

.wiki-faq-question > strong {
  display: block;
  margin-top: 7px;
  color: #071326;
  font-size: 12px;
}

.wiki-faq-list > a > .icon {
  width: 16px;
  height: 16px;
  color: #2f7cff;
}

.wiki-week-carousel {
  display: grid;
  gap: 18px;
}

.wiki-week-group {
  animation: wikiWeekIn 220ms ease both;
}

.wiki-week-group .wiki-week-card {
  min-height: 0;
  display: flex;
  overflow: hidden;
  padding: 0;
  flex-direction: column;
}

.wiki-week-group .wiki-week-media {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  background: #edf3fb;
}

.wiki-week-group .wiki-week-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.wiki-week-group .wiki-week-media.is-contain {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(66, 144, 255, 0.16), transparent 48%),
    linear-gradient(180deg, #f8fbff, #edf4fc);
}

.wiki-week-group .wiki-week-media.is-contain img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.wiki-week-group .wiki-week-card:hover .wiki-week-media img {
  transform: scale(1.04);
}

.wiki-week-group .wiki-week-media > span {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #175fcf;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
}

.wiki-week-group .wiki-week-copy {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  padding: 17px;
}

.wiki-week-group .wiki-week-copy strong {
  margin-top: 12px;
}

.wiki-week-group .wiki-week-copy p {
  margin-top: 7px;
}

@keyframes wikiWeekIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wiki-week-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wiki-week-controls button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cfdaeb;
  border-radius: 7px;
  background: #fff;
  color: #245da9;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.wiki-week-controls button:hover:not(:disabled) {
  border-color: #2f7cff;
  background: #eef5ff;
}

.wiki-week-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.wiki-week-controls > span {
  color: #8794a8;
  font-family: var(--font-mono);
  font-size: 9px;
}

.wiki-week-controls > span strong {
  color: #175fcf;
}

#view-wiki .wiki-connect {
  background:
    radial-gradient(circle at 92% 8%, rgba(82, 147, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #08152d, #0d3e87);
}

#view-wiki .wiki-connect .wiki-doc-section-heading > div > span {
  color: #74baff;
}

#view-wiki .wiki-connect .wiki-doc-section-heading h2,
#view-wiki .wiki-connect .wiki-media-heading strong {
  color: #fff;
}

#view-wiki .wiki-connect .wiki-doc-section-heading > p {
  color: rgba(235, 244, 255, 0.6);
}

#view-wiki .wiki-connect-buttons > a,
#view-wiki .wiki-connect-buttons > button,
#view-wiki .wiki-media-links a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

#view-wiki .wiki-connect-buttons > a:hover,
#view-wiki .wiki-connect-buttons > button:hover,
#view-wiki .wiki-media-links a:hover {
  border-color: #4e9cff;
  background: rgba(48, 124, 255, 0.14);
}

#view-wiki .wiki-connect-buttons .icon,
#view-wiki .wiki-connect-buttons span,
#view-wiki .wiki-media-links span,
#view-wiki .wiki-media-links .icon,
#view-wiki .wiki-media-heading span {
  color: #74baff;
}

#view-wiki .wiki-connect-buttons strong {
  color: #fff;
}

#view-wiki .wiki-connect-buttons small {
  color: rgba(235, 244, 255, 0.64);
}

#view-wiki .wiki-media-heading {
  border-top-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 680px) {
  .wiki-faq-list > a {
    align-items: start;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .wiki-faq-list > a > .icon {
    display: none;
  }
}
