:root {
  --ink: #152126;
  --muted: #5f6f75;
  --line: #dce4e7;
  --blue: #1976a8;
  --cyan: #2aa8b5;
  --green: #2d8a5d;
  --off-white: #f5f7f6;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.wy-nav-side,
.wy-nav-top,
.wy-breadcrumbs,
.rst-versions,
.rst-footer-buttons,
.rst-content > footer {
  display: none !important;
}

.wy-nav-content-wrap {
  margin-left: 0 !important;
  background: var(--white);
}

.wy-nav-content {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0 !important;
}

.rst-content,
.rst-content .document,
.rst-content .section {
  margin: 0;
  max-width: none;
  padding: 0;
}

.rst-content hr,
.rst-content .headerlink {
  display: none;
}

.rst-content a:visited {
  color: inherit;
}

.home-page,
.home-page * {
  box-sizing: border-box;
}

.home-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 33, 38, 0.09);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.home-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink) !important;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.home-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.home-nav a {
  color: #32454d !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-nav a:hover {
  color: var(--blue) !important;
}

.home-hero {
  position: relative;
  display: flex;
  height: calc(100svh - 140px);
  min-height: 520px;
  max-height: 680px;
  align-items: center;
  overflow: hidden;
  background: #11191c;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-overlay {
  z-index: 2;
  background: rgba(10, 16, 18, 0.42);
}

.hero-board {
  position: absolute;
  display: block;
  height: auto;
  max-width: none !important;
  margin: 0 !important;
  filter: saturate(0.9) contrast(1.03);
}

.hero-board-t113 {
  top: 50%;
  right: -110px;
  width: 800px;
  transform: translateY(-50%) rotate(-3deg);
  opacity: 0.5;
}

.hero-board-v3s {
  right: 340px;
  bottom: -175px;
  width: 540px;
  transform: rotate(8deg);
  opacity: 0.52;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px !important;
  color: var(--cyan);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0 !important;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0 0 24px !important;
  color: var(--white);
  font-family: "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}

.button,
.text-link,
.board-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none !important;
}

.button {
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 6px;
}

.button-primary {
  background: var(--cyan);
  color: #0e1c20 !important;
}

.button-primary:hover {
  background: #58c2ca;
}

.text-link {
  color: var(--white) !important;
}

.text-link:hover i,
.board-link:hover i {
  transform: translateX(4px);
}

.text-link i,
.board-link i {
  transition: transform 160ms ease;
}

.capability-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 128px;
  align-items: center;
}

.capability-grid > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: center;
  padding: 18px 30px;
  border-right: 1px solid var(--line);
}

.capability-grid > div:last-child {
  border-right: 0;
}

.capability-number {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.capability-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.boards-section {
  padding: 104px 0 112px;
  background: var(--off-white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px !important;
}

.section-heading h2,
.support-layout h2,
.purchase-layout h2 {
  margin: 0 !important;
  color: var(--ink);
  font-family: "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.support-layout > div > p:last-child,
.purchase-layout > div > p:last-child {
  margin: 0 !important;
  color: var(--muted);
  font-size: 15px !important;
  line-height: 1.8 !important;
}

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

.board-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(24, 39, 45, 0.08);
}

.board-media {
  position: relative;
  display: grid;
  height: 250px;
  place-items: center;
  overflow: hidden;
  background: #eaf1f3;
  border-bottom: 1px solid var(--line);
}

.board-card-v3s .board-media {
  background: #eef4f7;
}

.board-media img {
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  margin: 0 !important;
  object-fit: contain;
  transition: transform 220ms ease;
}

.board-card:hover .board-media img {
  transform: scale(1.025);
}

.board-index {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 18px;
  color: #3d5963;
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.rv-visual {
  background: #171f22;
}

.rv-visual .board-index {
  color: rgba(255, 255, 255, 0.58);
}

.chip-visual {
  position: relative;
  display: grid;
  width: 150px;
  height: 150px;
  align-content: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  border: 1px solid #508c96;
  box-shadow: 0 0 0 12px rgba(42, 168, 181, 0.08);
}

.chip-visual::before,
.chip-visual::after {
  position: absolute;
  right: 16px;
  left: 16px;
  height: 1px;
  background: #508c96;
  content: "";
}

.chip-visual::before {
  top: 30px;
}

.chip-visual::after {
  bottom: 30px;
}

.chip-visual span {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
}

.chip-visual strong {
  display: block;
  font-family: Consolas, monospace;
  font-size: 34px;
  line-height: 1.1;
}

.chip-visual small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.board-content {
  display: flex;
  min-height: 350px;
  flex: 1;
  flex-direction: column;
  padding: 30px 28px 28px;
}

.board-chip {
  margin: 0 0 10px !important;
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0 !important;
}

.board-card-v3s .board-chip {
  color: #247b86;
}

.board-card-rv .board-chip {
  color: var(--green);
}

.board-content h3 {
  margin: 0 0 14px !important;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: 0;
}

.board-content > p:not(.board-chip) {
  margin: 0 !important;
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.board-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 24px 0 26px;
}

.board-tags span {
  color: #51636a;
  font-size: 11px;
  font-weight: 700;
}

.board-tags span::before {
  margin-right: 7px;
  color: var(--cyan);
  content: "/";
}

.board-link {
  width: fit-content;
  margin-top: auto;
  color: var(--ink) !important;
  font-size: 14px;
}

.support-section {
  padding: 92px 0;
  background: var(--white);
}

.support-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.support-layout h2 {
  margin-bottom: 14px !important;
}

.support-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-contacts > div,
.support-contacts > a {
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 24px 22px;
  color: var(--ink) !important;
  text-decoration: none;
}

.support-contacts > * + * {
  border-left: 1px solid var(--line);
}

.support-contacts i {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: 20px;
}

.support-contacts span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.support-contacts strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.purchase-section {
  padding: 76px 0;
  background: #182225;
}

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

.purchase-layout h2 {
  margin-bottom: 12px !important;
  color: var(--white);
}

.purchase-layout > div > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.shop-button {
  flex: 0 0 auto;
  background: var(--green);
  color: var(--white) !important;
}

.shop-button:hover {
  background: #3ca870;
}

@media (max-width: 900px) {
  .home-container {
    width: min(100% - 36px, 760px);
  }

  .hero-board-t113 {
    right: -260px;
    width: 720px;
  }

  .hero-board-v3s {
    right: 220px;
    bottom: -130px;
    width: 440px;
  }

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

  .board-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .board-media {
    height: auto;
    min-height: 360px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .board-content {
    min-height: 360px;
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 64px;
  }

  .home-container {
    width: calc(100% - 32px);
  }

  .home-header {
    height: 64px;
  }

  .home-brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .home-nav {
    gap: 18px;
  }

  .home-nav a {
    font-size: 12px;
  }

  .home-hero {
    height: calc(100svh - 124px);
    min-height: 500px;
    max-height: 640px;
  }

  .hero-overlay {
    background: rgba(9, 15, 17, 0.56);
  }

  .hero-board-t113 {
    top: 54%;
    right: -360px;
    width: 670px;
    opacity: 0.48;
  }

  .hero-board-v3s {
    right: 70px;
    bottom: -95px;
    width: 360px;
    opacity: 0.4;
  }

  .eyebrow {
    font-size: 10px !important;
  }

  .hero-content h1 {
    max-width: 340px;
    font-size: 38px;
  }

  .hero-content h1 span {
    display: block;
  }

  .hero-copy {
    max-width: 335px;
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

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

  .button {
    min-height: 46px;
    padding: 11px 17px;
    font-size: 13px;
  }

  .text-link {
    font-size: 13px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .capability-grid > div {
    justify-content: flex-start;
    padding: 10px 0;
    border-right: 0;
  }

  .capability-number {
    min-width: 58px;
    font-size: 19px;
  }

  .boards-section {
    padding: 74px 0 80px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading .eyebrow {
    margin-bottom: 13px !important;
  }

  .section-heading h2,
  .support-layout h2,
  .purchase-layout h2 {
    margin-bottom: 14px !important;
    font-size: 30px;
  }

  .board-grid {
    gap: 16px;
  }

  .board-card {
    display: flex;
  }

  .board-media {
    height: 230px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .board-content {
    min-height: 345px;
    padding: 26px 22px 24px;
  }

  .support-section {
    padding: 72px 0;
  }

  .support-contacts {
    grid-template-columns: 1fr;
  }

  .support-contacts > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .support-contacts > div,
  .support-contacts > a {
    padding: 20px 12px;
  }

  .purchase-section {
    padding: 64px 0;
  }

  .purchase-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .board-media img,
  .text-link i,
  .board-link i {
    transition: none;
  }
}
