@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
/* Palette from lerobot/visualize_dataset (src/app/globals.css). */
:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #0b0f19);
  --surface-0: light-dark(#ffffff, #0b0f19);
  --surface-1: light-dark(#f9fafb, #101623);
  --surface-2: light-dark(#f3f4f6, #141c2e);
  --fg: light-dark(#111827, #e5e7eb);
  --fg-soft: light-dark(#374151, #d1d5db);
  --fg-muted: light-dark(#6b7280, #9ca3af);
  --fg-faint: light-dark(#9ca3af, #6b7280);
  --line: light-dark(#e5e7eb, #1f2937);
  --line-subtle: light-dark(#f3f4f6, #141c2e);
  --line-strong: light-dark(#d1d5db, #374151);
  --fill: light-dark(rgba(17, 24, 39, 0.04), rgba(255, 255, 255, 0.05));
  --fill-strong: light-dark(rgba(17, 24, 39, 0.08), rgba(255, 255, 255, 0.1));
  --accent: #ff9d00;
  --accent-soft: rgba(255, 157, 0, 0.16);
  --accent-ring: rgba(255, 157, 0, 0.5);
  --accent-fg: light-dark(#a86200, #ffb13d);
  --critical-fg: light-dark(#b91c1c, #f87171);
  --scrollbar: light-dark(rgba(17, 24, 39, 0.14), rgba(255, 255, 255, 0.06));
  --scrollbar-hover: light-dark(
    rgba(17, 24, 39, 0.24),
    rgba(255, 255, 255, 0.12)
  );
  --ink: var(--fg);
  --muted: var(--fg-muted);
  --paper: var(--bg);
  --mint: var(--accent-soft);
  --green: var(--accent);
  --mono: "Source Sans 3", system-ui, sans-serif;
  --radius: 6px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "Source Sans 3",
    system-ui,
    sans-serif;
}
button,
code,
pre {
  font-family: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--accent-ring);
  outline-offset: 4px;
}
.shell {
  max-width: 1260px;
  margin: auto;
  padding: 0 40px;
}
.topbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}
.brand img {
  object-fit: contain;
}
.brand strong {
  font-weight: 650;
}
.brand > span:last-child {
  font-size: 16px;
  color: var(--fg-muted);
}
.divider {
  height: 19px;
  width: 1px;
  background: var(--surface-1);
  margin: 0 5px;
}
.quiet-link {
  font-size: 13px;
  color: var(--fg-muted);
}
.quiet-link span,
.text-link span {
  margin-left: 10px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 49px 0 36px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--fg-muted);
  margin: 0 0 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 550;
  line-height: 1.02;
  font-size: 57px;
  letter-spacing: -2.2px;
  margin-bottom: 21px;
}
h1 span {
  color: var(--fg-muted);
}
.subtitle {
  color: var(--fg-muted);
  max-width: 650px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 25px;
}
.actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 11px 17px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 550;
  border: 1px solid var(--green);
  transition: background 0.15s;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: var(--surface-1);
}
.secondary {
  background: transparent;
  color: var(--fg-muted);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--surface-1);
}
.runtime-tags {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 210px;
  margin-bottom: 2px;
}
.runtime-tags span {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.runtime-tags i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--surface-1);
  border-radius: 50%;
  margin-right: 5px;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 22px;
}
.preview-panel,
.spec-panel {
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-heading {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 10px;
  font-size: 13px;
}
.recorded {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--fg-muted);
}
.preview-panel video {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  background: var(--surface-1);
  object-fit: cover;
}
.video-caption {
  padding: 12px 17px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--fg-muted);
}
.spec-panel {
  padding: 23px;
}
.spec-panel h2 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
  line-height: 1.75;
}
.spec-panel > .muted {
  font-size: 14px;
}
.specs {
  margin: 25px 0 0;
}
.specs > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  font-size: 12px;
  color: var(--fg-muted);
}
.specs dd {
  margin: 0;
  font-size: 13px;
  font-weight: 550;
}
.static-note {
  display: flex;
  gap: 11px;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-top: 22px;
}
.static-note > span {
  font-size: 27px;
  color: var(--fg-muted);
  line-height: 1.1;
}
.static-note p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}
.static-note strong {
  color: var(--fg-soft);
  font-weight: 600;
}
.camera-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 65px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-weight: 550;
  font-size: 34px;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.camera-section .muted {
  font-size: 15px;
}
.small-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 0;
}
.camera-section figure {
  margin: 0;
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.camera-section img {
  width: 100%;
  height: auto;
  display: block;
}
.camera-section figcaption {
  font-size: 11px;
  color: var(--fg-muted);
  padding: 10px 15px;
}
.run-section {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 65px;
  padding: 50px 0;
  scroll-margin-top: 25px;
}
.section-intro {
  align-self: start;
  position: sticky;
  top: 25px;
}
.section-intro .muted {
  font-size: 15px;
}
.text-link {
  font-size: 14px;
  color: var(--fg-muted);
}
.commands {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.commands article {
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}
h3 {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}
.command-heading button {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--fg-muted);
  padding: 4px 9px;
  cursor: pointer;
}
.command-heading button:hover {
  background: var(--surface-1);
}
pre {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--surface-1);
  color: var(--fg-soft);
  margin: 0;
  padding: 18px;
}
.commands article > p {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
  padding: 12px 17px;
  margin: 0;
}
.commands p code {
  background: var(--surface-1);
  padding: 1px 4px;
  border-radius: 3px;
}
.compatibility {
  font-size: 12px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin: 0;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 27px 30px;
  margin-bottom: 42px;
}
.closing h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.closing p {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 0;
}
.closing .primary {
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--fg-muted);
}
@media (max-width: 950px) {
  .shell {
    padding: 0 24px;
  }
  h1 {
    font-size: 49px;
  }
  .showcase {
    grid-template-columns: minmax(0, 1.4fr) minmax(285px, 1fr);
    gap: 17px;
  }
  .spec-panel {
    padding: 20px;
  }
  .specs > div {
    grid-template-columns: 80px 1fr;
    padding: 10px 0;
  }
  .specs {
    margin-top: 15px;
  }
  .static-note {
    margin-top: 16px;
  }
  .camera-section,
  .run-section {
    gap: 36px;
  }
  .runtime-tags {
    max-width: 150px;
  }
  .video-caption {
    flex-direction: column;
    gap: 2px;
  }
  .intro {
    gap: 25px;
  }
}
@media (max-width: 720px) {
  .shell {
    padding: 0 17px;
  }
  .topbar {
    height: 74px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand > span:last-child {
    font-size: 14px;
  }
  .quiet-link {
    font-size: 11px;
    max-width: 125px;
    text-align: right;
  }
  .intro {
    display: block;
    padding: 31px 0 25px;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
  }
  .subtitle {
    font-size: 16px;
  }
  .runtime-tags {
    max-width: none;
    justify-content: flex-start;
    margin-top: 24px;
  }
  .showcase {
    display: flex;
    flex-direction: column;
  }
  .spec-panel {
    padding: 23px;
  }
  .spec-panel > .muted {
    max-width: 430px;
  }
  .specs > div {
    grid-template-columns: 110px 1fr;
  }
  .static-note {
    margin-top: 22px;
  }
  .camera-section,
  .run-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 36px 0;
  }
  .camera-section h2 br,
  .section-intro h2 br {
    display: none;
  }
  h2 {
    font-size: 29px;
  }
  .camera-section .muted {
    margin-bottom: 12px;
  }
  .section-intro {
    position: static;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    margin-bottom: 30px;
  }
  .closing h2 {
    font-size: 24px;
  }
  .closing .primary {
    width: 100%;
  }
  footer {
    font-size: 10px;
    align-items: flex-start;
  }
  .recorded {
    font-size: 9px;
  }
  .panel-heading {
    padding: 0 13px;
    font-size: 12px;
  }
  .actions a {
    font-size: 13px;
    padding: 10px 13px;
    gap: 15px;
  }
  pre {
    font-size: 13px;
  }
}

/* Keep the page focused on the media and run command. */
.showcase {
  display: block;
}
.preview-panel,
.camera-section {
  max-width: 760px;
  margin-inline: auto;
}
.camera-section {
  padding: 24px 0;
  border-bottom: 0;
}
.run-section {
  padding-top: 30px;
}

/* Controls use the visualizer's neutral fills and orange accent. */
button {
  background: var(--fill);
  color: var(--fg-soft);
  border-color: var(--line);
}
button:hover:not(:disabled) {
  background: var(--fill-strong);
  color: var(--fg);
  border-color: var(--line-strong);
}
.primary {
  background: var(--accent);
  color: #111827;
  border-color: var(--accent);
}
.primary:hover:not(:disabled) {
  background: var(--accent);
  color: #111827;
  filter: brightness(1.06);
}
a:hover {
  color: var(--accent-fg);
}
pre {
  background: var(--surface-1);
  color: var(--fg-soft);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: var(--scrollbar);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-hover);
  background-clip: padding-box;
}

.preview-panel,
.camera-section figure,
.commands article {
  background: var(--surface-1);
  border-radius: var(--radius);
}
.command-heading button {
  background: var(--fill);
  color: var(--fg-soft);
  border-color: var(--line);
}
.command-heading button:hover {
  background: var(--fill-strong);
}
.text-link {
  color: var(--accent-fg);
}
