:root {
  --bg: #fdfaf4;
  --surface: #ffffff;
  --surface-soft: #f7f8f6;
  --ink: #2f3332;
  --ink-muted: #555f5c;
  --ink-soft: #6e7774;
  --border: #d9ddda;
  --border-strong: #c8cfca;
  --accent: #2f3332;
  --accent-blue: #2376b7;
  --accent-green: #2f7d65;
  --accent-gold: #b9943c;
  --shadow-soft: 0 12px 32px rgba(31, 39, 36, 0.08);
  --container: 1180px;
  --content: 1080px;
  --radius-sm: 6px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Work Sans", "Open Sans", sans-serif;
  line-height: 1.65;
  background: var(--bg);
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(35, 118, 183, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 125, 101, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #14598d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

svg {
  display: block;
}

img,
video,
iframe {
  max-width: 100%;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(253, 250, 244, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 2px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  box-sizing: border-box;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  min-width: 0;
  font-size: 0.95rem;
}

.nav a,
.nav-parent {
  color: var(--ink-soft);
  font: inherit;
  font-weight: 500;
}

.nav a:hover,
.nav a.active,
.nav-dropdown.active .nav-parent,
.nav-parent:hover,
.nav-parent:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 10px;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 60;
  display: grid;
  min-width: 154px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-menu a {
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--surface-soft);
  text-decoration: none;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.doc-page {
  max-width: var(--content);
}

.page-intro {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin-top: 6px;
}

.back-link {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.back-link:hover {
  color: var(--ink);
}

.page-title {
  margin: 0;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1.08;
}

.page-lede {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.page {
  width: calc(100% - 48px);
  max-width: var(--content);
  margin: 0 auto;
  padding: 22px 0 64px;
}

.section {
  min-width: 0;
  margin-top: 42px;
  scroll-margin-top: 86px;
}

.cad-page {
  padding-top: 20px;
}

.cad-page .page-intro {
  gap: 7px;
  margin-top: 6px;
}

.cad-page .section {
  margin-top: 30px;
}

.cad-page .cad-viewer-section {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 18px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-green);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.04;
}

.hero-subtitle {
  margin: 10px 0 0;
  max-width: 660px;
  color: var(--ink-muted);
  font-size: 1.1rem;
  line-height: 1.45;
}

.hero-summary-line {
  margin: 7px 0 0;
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.authors {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.placeholder-text {
  color: var(--ink-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 42px;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(31, 39, 36, 0.05);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: var(--ink);
  background: #f2f4f1;
  text-decoration: none;
}

.btn.primary {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

.btn.primary:hover {
  color: #ffffff;
  background: #1f2423;
}

.btn.compact {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 0.88rem;
}

.page-intro .btn.compact {
  justify-self: start;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon path:first-child:last-child,
.btn:not(.primary) .btn-icon path[fill] {
  fill: currentColor;
  stroke: none;
}

.hero-media {
  min-height: 330px;
}

.hero-viewer {
  position: relative;
  height: 360px;
  align-self: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: grab;
}

.hero-viewer:active {
  cursor: grabbing;
}

.hero-viewer .hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-viewer.is-loaded .hero-canvas {
  opacity: 1;
}

.hero-noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  text-align: center;
}

.placeholder-media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 248, 246, 0.92)),
    repeating-linear-gradient(90deg, rgba(47, 51, 50, 0.06) 0 1px, transparent 1px 26px);
  box-shadow: var(--shadow-soft);
}

.placeholder-grid {
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.placeholder-grid span,
.placeholder-tile {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(185, 148, 60, 0.13), transparent 58%),
    rgba(255, 255, 255, 0.58);
}

.placeholder-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 320px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(31, 39, 36, 0.08);
}

.placeholder-caption strong {
  color: var(--ink);
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
}

.placeholder-caption span {
  font-size: 0.88rem;
  line-height: 1.4;
}

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

.section-title {
  margin: 0;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.72rem;
  font-weight: 400;
  line-height: 1.2;
}

.subsection-title {
  margin: 0 0 8px;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
}

.section-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-copy,
.overview-copy p,
.assembly-step p,
.software-card p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.section-copy {
  max-width: 820px;
  margin: 0 0 16px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.overview-copy p {
  margin: 0 0 12px;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}

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

.spec-item {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.spec-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-item strong {
  display: block;
  margin-top: 0;
  color: var(--accent-gold);
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

[data-count-up] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.demo-feature {
  display: grid;
  gap: 12px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 30px;
  margin-top: 16px;
}

.demo-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.demo-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.25;
}

.demo-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.demo-card-heading h3 {
  min-width: 0;
}

.demo-code-link {
  min-height: 34px;
  padding: 6px 12px;
  flex: 0 0 auto;
}

.demo-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.demo-video {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #202322;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-soft);
}

.demo-video iframe,
.demo-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video video {
  object-fit: cover;
}

.trailer-video {
  max-width: 1040px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: #202322;
  cursor: pointer;
}

.video-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 35, 34, 0), rgba(32, 35, 34, 0.16));
  pointer-events: none;
}

.video-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  border-radius: 13px;
  background: #ff0000;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(32, 35, 34, 0.24);
}

.video-poster-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #ffffff;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  filter: brightness(1.04);
  transform: scale(1.01);
}

.video-poster:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: -3px;
}

.demo-frame {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: 230px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(32, 35, 34, 0.02), rgba(32, 35, 34, 0.12)),
    linear-gradient(135deg, rgba(35, 118, 183, 0.12), rgba(47, 125, 101, 0.12)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(47, 51, 50, 0.22);
  border-radius: var(--radius-sm);
}

.demo-frame-large {
  min-height: 420px;
}

.demo-frame strong,
.demo-frame span {
  position: relative;
  z-index: 1;
  display: block;
}

.demo-frame strong {
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.demo-frame span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.play-marker {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(47, 51, 50, 0.9);
}

.play-marker::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

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

.directory-card,
.software-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.directory-card {
  color: var(--ink);
}

.directory-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  color: var(--ink);
  background: #fbfcfa;
  text-decoration: none;
}

.release-index {
  color: var(--accent-gold);
  font-family: "Fira Code", monospace;
  font-size: 0.82rem;
  font-weight: 500;
}

.directory-card h3,
.software-card h3,
.assembly-step h3 {
  margin: 5px 0 6px;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.25;
}

.directory-card p,
.software-card p,
.assembly-step p {
  margin: 0;
  line-height: 1.55;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

td {
  color: var(--ink-muted);
}

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

td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.bom-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.bom-stat-card {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.bom-stat-card > span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bom-stat-card strong {
  display: block;
  margin-top: 4px;
  color: var(--accent-gold);
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.15;
}

.bom-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.bom-group {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.bom-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.bom-group > summary::-webkit-details-marker {
  display: none;
}

.bom-group > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink-soft);
  font-family: "Fira Code", monospace;
  font-size: 0.8rem;
}

.bom-group[open] > summary::before {
  content: "-";
}

.bom-group > summary span:first-child {
  margin-right: auto;
}

.bom-group > summary span:last-child {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: right;
}

.bom-subgroup {
  border-top: 1px solid var(--border);
  background: #fbfcfa;
}

.bom-subgroup > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px 12px 34px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.bom-subgroup > summary::-webkit-details-marker {
  display: none;
}

.bom-subgroup > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface);
  font-family: "Fira Code", monospace;
  font-size: 0.76rem;
}

.bom-subgroup[open] > summary::before {
  content: "-";
}

.bom-subgroup > summary span:first-child {
  margin-right: auto;
}

.bom-subgroup > summary span:last-child {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
}

.bom-table-wrap {
  border-width: 1px 0 0;
  border-radius: 0;
}

.bom-table {
  width: 100%;
  min-width: 850px;
  table-layout: fixed;
  font-size: 0.9rem;
}

.bom-table th,
.bom-table td {
  padding: 11px 13px;
}

.bom-table th:nth-child(1),
.bom-table td:nth-child(1) {
  width: 34%;
}

.bom-table th:nth-child(2),
.bom-table td:nth-child(2) {
  width: 9%;
}

.bom-table th:nth-child(3),
.bom-table td:nth-child(3) {
  width: 12%;
}

.bom-table th:nth-child(4),
.bom-table td:nth-child(4) {
  width: 13%;
}

.bom-table th:nth-child(5),
.bom-table td:nth-child(5) {
  width: 13%;
}

.bom-table th:nth-child(6),
.bom-table td:nth-child(6) {
  width: 19%;
}

.bom-table-printed th:nth-child(1),
.bom-table-printed td:nth-child(1) {
  width: 52%;
}

.bom-table-printed th:nth-child(2),
.bom-table-printed td:nth-child(2) {
  width: 10%;
}

.bom-table-printed th:nth-child(3),
.bom-table-printed td:nth-child(3) {
  width: 20%;
  text-align: left;
}

.bom-table-printed th:nth-child(4),
.bom-table-printed td:nth-child(4) {
  width: 18%;
  text-align: left;
}

.bom-table th:nth-child(2),
.bom-table td:nth-child(2),
.bom-table th:nth-child(3),
.bom-table td:nth-child(3),
.bom-table th:nth-child(4),
.bom-table td:nth-child(4) {
  text-align: right;
}

.bom-table-printed th:nth-child(3),
.bom-table-printed td:nth-child(3),
.bom-table-printed th:nth-child(4),
.bom-table-printed td:nth-child(4) {
  text-align: left;
}

.bom-row-detail > td {
  padding: 0;
  background: var(--surface-soft);
}

.bom-inline-guide {
  margin: 0;
  border-top: 1px solid var(--border);
}

.bom-inline-guide > summary span:first-child {
  font-size: 0.9rem;
  font-weight: 600;
}

.bom-inline-guide > summary span:last-child {
  font-size: 0.82rem;
  font-weight: 600;
}

.official-bundles {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.official-bundle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(185, 148, 60, 0.16), rgba(47, 125, 101, 0.08)),
    #fffdf8;
  box-shadow: var(--shadow-soft);
}

.official-bundle-card-wide {
  grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 1fr);
  grid-template-areas:
    "topline topline"
    "banner copy";
  align-items: start;
}

.official-bundle-card-simple {
  grid-template-columns: 1fr;
  align-items: start;
}

.official-bundle-copy {
  min-width: 0;
}

.official-bundle-card-wide .official-bundle-copy {
  grid-area: copy;
}

.bundle-topline {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.official-bundle-card-wide .bundle-topline {
  grid-area: topline;
}

.bundle-heading {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bundle-banner-button {
  display: block;
  grid-area: banner;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  cursor: zoom-in;
}

.bundle-banner-button:focus-visible {
  outline: 3px solid rgba(47, 125, 101, 0.32);
  outline-offset: 3px;
}

.bundle-banner {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1081;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

.official-bundle-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.official-bundle-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.bundle-label {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-gold);
  font-family: "Fira Code", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.bundle-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
}

.official-bundle-card-wide .bundle-actions {
  flex-direction: row;
}

.qty-pack {
  display: inline-flex;
  min-width: 54px;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.15;
}

.qty-pack strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.qty-pack span {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bom-details summary {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.bom-details summary::-webkit-details-marker {
  display: none;
}

.bom-details[open] summary {
  margin-bottom: 9px;
}

.bom-details dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfcfa;
}

.bom-details dt {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bom-details dd {
  margin: 0 0 5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.bom-details dd:last-child {
  margin-bottom: 0;
}

.bom-details p {
  min-width: 220px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  background: #fbfcfa;
}

.bom-order-guide {
  display: grid;
  gap: 14px;
  padding: 0 15px 16px;
}

.bom-order-guide ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 13px 15px 13px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  background: #fbfcfa;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bom-order-guide strong {
  color: var(--ink);
}

.bom-order-guide .assembly-step-video {
  margin: 0;
}

.cad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  align-items: stretch;
}

.cad-viewer {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  min-width: 0;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 248, 246, 0.82)),
    linear-gradient(90deg, rgba(35, 118, 183, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 125, 101, 0.07) 1px, transparent 1px),
    #eef2ef;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.cad-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

.cad-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.cad-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(47, 51, 50, 0.2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(31, 39, 36, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cad-tool:hover,
.cad-tool:focus-visible,
.cad-tool.is-active {
  border-color: rgba(47, 51, 50, 0.34);
  background: #ffffff;
}

.cad-tool:hover {
  transform: translateY(-1px);
}

.cad-tool svg {
  width: 19px;
  height: 19px;
}

.cad-tool path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cad-status,
.cad-noscript {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border: 1px solid rgba(47, 51, 50, 0.14);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  transition: opacity 0.2s ease;
}

.cad-viewer.is-loaded .cad-status {
  opacity: 0;
  pointer-events: none;
}

.cad-viewer.is-error .cad-status {
  color: #8d2c24;
  opacity: 1;
}

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

.cad-release-card {
  display: grid;
  grid-template-rows: auto auto minmax(104px, 1fr) minmax(32px, auto) auto;
  gap: 10px;
  align-content: stretch;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.cad-release-card .release-index {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cad-release-card h3 {
  margin: 0;
  color: #202322;
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.25;
}

.cad-release-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cad-release-card .btn {
  width: fit-content;
  margin-top: 4px;
  min-height: 36px;
  padding: 7px 13px;
  font-size: 0.86rem;
}

.inline-guide-link {
  width: fit-content;
  color: var(--accent-blue);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.cad-print-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 20px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.cad-print-notes h3,
.cad-print-notes h4 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.cad-print-notes h3 {
  font-size: 1.12rem;
}

.cad-print-notes p,
.cad-print-notes li {
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.cad-print-notes p {
  margin: 0 0 10px;
}

.cad-print-notes ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.cad-print-notes strong {
  color: var(--ink);
}

.cad-print-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.cad-release-spacer {
  min-height: 32px;
}

body.modal-open {
  overflow: hidden;
}

.license-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 35, 34, 0.46);
}

.license-modal[hidden] {
  display: none;
}

.license-dialog {
  width: min(100%, 680px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(31, 39, 36, 0.22);
}

.license-dialog form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.license-header {
  display: grid;
  gap: 8px;
}

.license-header h2 {
  margin: 0;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.18;
}

.license-header p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.5;
}

.license-asset {
  width: fit-content;
  color: var(--ink-soft) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.license-form-grid label,
.license-check {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.license-form-grid input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 500;
}

.license-form-grid input:focus,
.license-check input:focus-visible {
  outline: 2px solid rgba(35, 118, 183, 0.34);
  outline-offset: 2px;
}

.license-check {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  color: var(--ink-muted);
  font-weight: 600;
  line-height: 1.45;
}

.license-check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.license-status {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.license-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

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

.license-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.license-card h3 {
  margin: 0;
  color: #202322;
  font-family: "Varela Round", "Work Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
}

.license-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.license-card a {
  width: fit-content;
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.cad-notes {
  display: grid;
  gap: 10px;
  align-content: start;
}

.resource-row,
.download-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.resource-row span,
.download-row span {
  color: var(--ink);
  font-weight: 700;
}

.resource-row a,
.download-row strong {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.assembly-timeline {
  display: grid;
  gap: 10px;
}

.assembly-video,
.assembly-step-video {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #202322;
  aspect-ratio: 16 / 9;
}

.assembly-video iframe,
.assembly-step-video iframe,
.assembly-video .video-poster,
.assembly-step-video .video-poster {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.assembly-guide {
  display: grid;
  gap: 10px;
}

.assembly-panel {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.assembly-panel > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(180px, 0.58fr);
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  cursor: pointer;
  list-style: none;
}

.assembly-panel > summary::-webkit-details-marker {
  display: none;
}

.assembly-panel > summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-family: "Fira Code", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.assembly-panel > summary strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.assembly-panel > summary em {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

.assembly-step-video {
  margin: 0 15px 16px;
}

.assembly-wiki {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.assembly-wiki-step {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 15px;
  border-top: 1px solid var(--border);
}

.assembly-wiki-step:first-child {
  border-top: 0;
}

.assembly-wiki-step figure {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.assembly-wiki-step figure.is-zoomable {
  cursor: zoom-in;
}

.assembly-wiki-step__media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.assembly-wiki-step figure.figure--right {
  align-self: flex-end;
  width: min(100%, 320px);
}

.assembly-wiki-step img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #f2f4f1;
}

.assembly-wiki-step img.screw {
  width: 120px;
  max-width: 100%;
}

.assembly-wiki-step figure.is-zoomable img {
  transition: transform 0.18s ease;
}

.assembly-wiki-step figure.is-zoomable:hover img {
  transform: scale(1.015);
}

.assembly-wiki-step h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
}

.assembly-wiki-step p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
}

.assembly-wiki-step--text-only,
.assembly-wiki-step--figure-only {
  grid-template-columns: 1fr;
}

.assembly-wiki-step--figure-only figure {
  max-width: 100%;
}

.assembly-section-label {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 64px 24px 24px;
  background: rgba(32, 35, 34, 0.72);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 104px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  background: #f2f4f1;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(32, 35, 34, 0.82);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.assembly-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-family: "Fira Code", monospace;
  font-size: 0.86rem;
}

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

.placeholder-tile {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

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

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

.software-repo-card {
  display: grid;
  gap: 10px;
  align-content: start;
  scroll-margin-top: 90px;
}

.software-repo-card h3 {
  margin-bottom: 0;
}

.repo-label {
  color: var(--accent-gold);
  font-family: "Fira Code", monospace;
  font-size: 0.82rem;
  font-weight: 500;
}

.software-repo-card .btn {
  width: fit-content;
  margin-top: 4px;
}

.software-checkout {
  margin-top: 28px;
}

.software-checkout .section-copy {
  margin: 8px 0 0;
  max-width: 760px;
}

.install-snippet,
.citation-card pre {
  margin: 16px 0 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid #202322;
  border-radius: var(--radius-md);
  background: #202322;
}

.install-snippet {
  width: 100%;
}

code {
  font-family: "Fira Code", "Monaco", "Menlo", monospace;
  font-size: 0.9rem;
}

pre code {
  color: #f2f4f1;
}

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

.download-row:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: var(--ink);
  text-decoration: none;
}

.download-row strong {
  color: var(--accent-blue);
}

.citation-card {
  max-width: 820px;
  min-width: 0;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.9rem;
    justify-content: flex-start;
  }

  .nav-menu {
    left: 0;
    transform: translate(0, -4px);
  }

  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    transform: translate(0, 0);
  }

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

  .hero,
  .overview-grid,
  .cad-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 18px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-media,
  .cad-viewer {
    min-height: 440px;
  }

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

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

  .cad-print-notes {
    grid-template-columns: 1fr;
  }

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

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

  .software-grid,
  .software-repo-grid,
  .assembly-media-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .assembly-panel > summary {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .assembly-panel > summary em {
    grid-column: 2;
    text-align: left;
  }

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

@media (max-width: 760px) {
  .official-bundle-card,
  .official-bundle-card-wide {
    grid-template-columns: 1fr;
  }

  .official-bundle-card-wide {
    grid-template-areas:
      "topline"
      "banner"
      "copy";
  }

  .bundle-actions {
    justify-content: flex-start;
  }

  .official-bundle-card-wide .bundle-actions .btn {
    flex: 1 1 150px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: static;
  }

  .nav {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.86rem;
  }

  .nav a,
  .nav-parent {
    white-space: nowrap;
  }

  .page {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .section {
    margin-top: 34px;
    scroll-margin-top: 24px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .section-title {
    font-size: 1.46rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .spec-grid,
  .directory-grid,
  .cad-release-grid,
  .cad-print-notes,
  .license-grid,
  .bom-summary-grid {
    grid-template-columns: 1fr;
  }

  .bom-group > summary,
  .bom-subgroup > summary {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bom-group > summary span:last-child,
  .bom-subgroup > summary span:last-child {
    flex-basis: 100%;
    padding-left: 32px;
    text-align: left;
  }

  .bom-subgroup > summary {
    padding-left: 15px;
  }

  .official-bundle-card,
  .official-bundle-card-wide {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .official-bundle-card-wide {
    grid-template-areas:
      "topline"
      "banner"
      "copy";
  }

  .bundle-topline {
    display: grid;
    gap: 10px;
  }

  .bundle-actions {
    justify-content: stretch;
  }

  .bundle-actions .btn {
    width: 100%;
  }

  .official-bundle-card-wide .bundle-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .bom-table {
    min-width: 720px;
  }

  .bom-details dl {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .cad-release-card .btn {
    width: 100%;
  }

  .license-modal {
    align-items: end;
    padding: 12px;
  }

  .license-dialog {
    max-height: calc(100vh - 24px);
  }

  .license-dialog form {
    padding: 18px;
  }

  .license-form-grid {
    grid-template-columns: 1fr;
  }

  .license-actions {
    flex-direction: column-reverse;
  }

  .demo-frame,
  .demo-frame-large {
    min-height: 230px;
  }

  .demo-card-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .demo-code-link {
    width: 100%;
    min-width: 0;
  }

  .resource-row,
  .download-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .resource-row a,
  .download-row strong {
    text-align: left;
  }

  .citation-card pre {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    white-space: pre-wrap;
  }

  .citation-card pre code {
    white-space: inherit;
    overflow-wrap: anywhere;
  }

  .license-card p,
  .section-copy,
  .page-lede {
    overflow-wrap: anywhere;
  }

  .assembly-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .placeholder-caption {
    max-width: calc(100% - 32px);
  }

  .cad-viewer {
    min-height: 330px;
  }

  .cad-tool {
    width: 36px;
    height: 36px;
  }

  .screw {
    width: 120px;
    max-width: 100%;
    height: auto;
    display: block;
  }
}
