/* Aliot release page. No framework, external font, or build step. */
:root {
  color-scheme: dark;
  --bg: #080c13;
  --surface: #0e1420;
  --surface-2: #121b2a;
  --surface-3: #182334;
  --ink: #eef3fc;
  --muted: #a4afc2;
  --quiet: #77869e;
  --line: #243043;
  --accent: #84baff;
  --accent-strong: #3e80ed;
  --violet: #a29cff;
  --mint: #91dabf;
  --header: rgba(8, 12, 19, 0.88);
  --shadow: 0 28px 90px -30px #000b;
  --diagram: #0d1522;
  --code: #0d131d;
  --selection: #193252;
  --soft-accent: rgba(105, 165, 255, 0.09);
  --max: 1168px;
  --radius: 14px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-2: #eef3fa;
  --surface-3: #e6edf6;
  --ink: #15253b;
  --muted: #50627b;
  --quiet: #64758c;
  --line: #d6dfec;
  --accent: #2265c0;
  --accent-strong: #2562d7;
  --violet: #6456c5;
  --mint: #167356;
  --header: rgba(247, 249, 252, 0.92);
  --shadow: 0 28px 90px -35px #16396e40;
  --diagram: #f3f7fc;
  --code: #fcfdff;
  --selection: #e5effe;
  --soft-accent: rgba(51, 116, 216, 0.06);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
button svg,
a svg {
  flex-shrink: 0;
}
button,
input {
  border-radius: 6px;
}
p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
::selection {
  background: #638ddd60;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.mono,
code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  transform: translateY(-150%);
  border-radius: 6px;
}
.skip-link:focus {
  transform: translateY(0);
}
/* Navigation */
.site-header {
  height: 77px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-mark {
  height: 42px;
  width: 42px;
  display: block;
  flex-shrink: 0;
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
  border-left: 1px solid var(--line);
  padding-left: 15px;
  margin-left: 6px;
}
.main-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.main-nav a {
  padding: 8px 0;
  transition: color 0.15s;
}
.main-nav a:hover {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button {
  width: 35px;
  height: 35px;
  border: 1px solid transparent;
  background: none;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink);
}
.button:hover {
  border-color: var(--quiet);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.button.primary {
  background: #94bfff;
  color: #0b2349;
  border-color: #a3c8ff;
  box-shadow: 0 2px 14px #729bff10;
}
.button.primary:hover {
  background: #b3d1ff;
  border-color: #c3daff;
}
.button.small {
  min-height: 35px;
  padding: 8px 15px;
  font-size: 12px;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  padding-inline: 7px;
  color: var(--muted);
}
.button.ghost:hover {
  color: var(--ink);
}
.menu-button {
  display: none;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
/* Hero */
.hero {
  position: relative;
  padding: 58px 0 0;
  isolation: isolate;
}
.hero:before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0 0 5%;
  background: radial-gradient(ellipse at 50% 55%, #4381cd15, transparent 65%);
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  margin: 0 auto;
  max-width: 790px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow .small-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px #79adff70;
}
.preview-label {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--quiet);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 3px;
}
.hero h1 {
  font-size: clamp(50px, 6.4vw, 84px);
  font-weight: 600;
  letter-spacing: -4.6px;
  line-height: 1.075;
  margin: 19px 0 21px;
}
.hero h1 .tint {
  background: linear-gradient(105deg, #a2c9ff 8%, #b0a4ee 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
:root[data-theme="light"] .hero h1 .tint {
  background-image: linear-gradient(105deg, #3673bd, #7060b8);
}
.hero-description {
  font-size: 17px;
  line-height: 1.7;
  max-width: 620px;
  margin: auto;
  color: var(--muted);
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  gap: 11px;
  justify-content: center;
  margin-top: 25px;
}
.hero-proof {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 19px;
  color: var(--quiet);
  font-size: 11px;
}
.hero-proof span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-proof .icon {
  width: 13px;
  height: 13px;
  color: var(--mint);
}
/* The mock workbench is explicitly an interactive concept, not a capture. */
.product-wrap {
  margin-top: 39px;
  position: relative;
}
.product-wrap:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(140deg, #699ee977, var(--line) 40%, #7765b444);
  z-index: -1;
}
.workbench {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window-bar {
  height: 41px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  background: var(--surface);
}
.window-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.window-dots i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--line);
}
.window-label {
  font-size: 10px;
  letter-spacing: 0.7px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.window-label .icon {
  width: 12px;
  height: 12px;
}
.window-note {
  margin-left: auto;
  font-size: 9px;
  color: var(--quiet);
  letter-spacing: 0.3px;
}
.workbench-body {
  height: 389px;
  display: grid;
  grid-template-columns: 41px 40.5% 1fr;
}
.activity-bar {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
  gap: 21px;
  color: var(--quiet);
  background: var(--surface);
}
.activity-bar .icon {
  width: 17px;
  height: 17px;
}
.activity-bar .active {
  color: var(--accent);
}
.editor-pane {
  background: var(--code);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.editor-tab {
  height: 37px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding: 0 15px;
  gap: 10px;
}
.file-dot {
  color: var(--accent);
  font-size: 13px;
}
.tab-close {
  margin-left: 20px;
  color: var(--quiet);
}
.editor-breadcrumb {
  font-size: 9px;
  color: var(--quiet);
  height: 30px;
  padding: 7px 15px;
}
.source-code {
  font-size: 11px;
  line-height: 21px;
  overflow: auto;
  padding: 8px 0 14px;
  margin: 0;
  counter-reset: code-line;
  white-space: pre;
  tab-size: 2;
}
.source-line {
  display: block;
  padding-right: 12px;
  min-height: 21px;
  border-left: 2px solid transparent;
}
.source-line:before {
  counter-increment: code-line;
  content: counter(code-line);
  display: inline-block;
  width: 37px;
  margin-right: 10px;
  color: var(--quiet);
  font-size: 10px;
  text-align: right;
  user-select: none;
}
.source-line.current {
  background: var(--selection);
  border-left-color: var(--accent);
}
.kw {
  color: #b9a1e5;
}
.type {
  color: #82cbbb;
}
.name {
  color: #acd1ff;
}
.comment {
  color: var(--quiet);
}
:root[data-theme="light"] .kw {
  color: #8052a6;
}
:root[data-theme="light"] .type {
  color: #267366;
}
:root[data-theme="light"] .name {
  color: #2f68a8;
}
.canvas-pane {
  background: var(--diagram);
  min-width: 0;
  position: relative;
}
.canvas-toolbar {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  background: var(--surface);
}
.canvas-toolbar .icon {
  width: 13px;
  height: 13px;
}
.view-select {
  color: var(--ink);
}
.toolbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
}
.canvas-area {
  height: calc(100% - 37px);
  padding: 31px 32px 30px;
  background-image: radial-gradient(var(--line) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.drone-boundary {
  width: 100%;
  max-width: 481px;
  background: var(--surface);
  border: 1px solid #42546f;
  border-radius: 9px;
  position: relative;
  padding: 0 18px 19px;
  box-shadow: 0 8px 20px #0001;
}
.boundary-head {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.boundary-head .stereo {
  font-size: 9px;
  color: var(--quiet);
  display: block;
  letter-spacing: 0.3px;
  margin-bottom: 1px;
}
.boundary-head strong {
  font-weight: 550;
  font-size: 12px;
}
.boundary-head .minus {
  color: var(--quiet);
  border: 1px solid var(--line);
  width: 16px;
  height: 16px;
  border-radius: 3px;
  text-align: center;
  line-height: 13px;
  font-size: 12px;
}
.part-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.part-node {
  height: 65px;
  border: 1px solid #3c4c65;
  background: var(--surface-2);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 8px;
  min-width: 0;
}
.part-node .stereo {
  font-size: 8px;
  color: var(--quiet);
  line-height: 1.6;
  margin-bottom: 4px;
}
.part-node .node-name {
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}
.part-node small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.part-node:hover {
  border-color: var(--accent);
}
.part-node[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--selection);
  box-shadow: 0 0 0 1px #9ec9ff30;
}
.part-node[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border: 1px solid var(--diagram);
}
.canvas-caption {
  position: absolute;
  left: 15px;
  bottom: 9px;
  font-size: 8px;
  color: var(--quiet);
}
.canvas-zoom {
  position: absolute;
  right: 13px;
  bottom: 9px;
  font-size: 8px;
  color: var(--quiet);
}
.workbench-footer {
  height: 29px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-size: 9px;
  color: var(--muted);
  gap: 11px;
}
.workbench-footer .icon {
  width: 11px;
  height: 11px;
}
.workbench-footer .right {
  margin-left: auto;
  color: var(--quiet);
}
.demo-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 3px 0;
  font-size: 11px;
  color: var(--muted);
}
.demo-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
.demo-hint .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.rename-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rename-form label {
  font-size: 10px;
  white-space: nowrap;
}
.rename-form input {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 147px;
  padding: 6px 10px;
  line-height: 1.4;
  font-size: 11px;
  min-height: 32px;
}
.rename-form button {
  font-size: 10px;
  min-height: 32px;
  padding: 6px 12px;
}
.reset-button {
  font-size: 10px;
  color: var(--quiet);
  border: 0;
  background: none;
  padding: 6px 2px;
}
.reset-button:hover {
  color: var(--ink);
}
.demo-live {
  font-size: 10px;
  min-height: 24px;
  padding-top: 6px;
  color: var(--mint);
}
.demo-live.error {
  color: #e9a1a1;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 33px 0 38px;
  color: var(--quiet);
  font-size: 10px;
  letter-spacing: 0.3px;
}
.hero-divider:before,
.hero-divider:after {
  height: 1px;
  content: "";
  background: var(--line);
  flex: 1;
}
.hero-divider strong {
  color: var(--muted);
  font-weight: 500;
}
.hero-divider span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.hero-divider .icon {
  width: 14px;
  height: 14px;
}
/* Sections */
.section {
  padding: 85px 0;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 35px;
}
.section-top .eyebrow {
  margin-bottom: 13px;
}
.section-top h2,
.section-title {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -1.45px;
  line-height: 1.17;
  font-weight: 550;
  text-wrap: balance;
}
.section-top p {
  font-size: 13px;
  color: var(--muted);
  max-width: 370px;
  line-height: 1.85;
}
.section-muted {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  min-width: 0;
}
.feature-num {
  font-size: 9px;
  font-weight: 600;
  color: var(--quiet);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
}
.feature-num .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.35px;
  margin-bottom: 9px;
}
.feature-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  min-height: 64px;
}
.feature-visual {
  height: 119px;
  margin-top: 21px;
  border: 1px solid var(--line);
  background: var(--code);
  border-radius: 6px;
  padding: 14px 16px;
  overflow: hidden;
  position: relative;
}
.mini-code {
  font-size: 10px;
  line-height: 1.95;
  white-space: normal;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.mini-code .caret {
  display: inline-block;
  height: 12px;
  width: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 2px;
}
.mini-filebar {
  font-size: 9px;
  color: var(--quiet);
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-bottom: 7px;
}
.diff-minus {
  color: #d69ea7;
  background: #b5344315;
  padding-left: 6px;
}
.diff-plus {
  color: var(--mint);
  background: #2f82521a;
  padding-left: 6px;
}
.mini-graph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 12px;
}
.mini-graph .node {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 14px;
  background: var(--surface-2);
}
.mini-graph .node:first-child {
  border-color: var(--accent);
  color: var(--accent);
}
.mini-graph .edge {
  height: 1px;
  background: var(--quiet);
  width: 29px;
  position: relative;
}
.mini-graph .edge:after {
  content: "";
  width: 4px;
  height: 4px;
  border-right: 1px solid var(--quiet);
  border-top: 1px solid var(--quiet);
  transform: rotate(45deg);
  position: absolute;
  right: 0;
  top: -2px;
}
/* View explorer */
.tour-tabs {
  flex-wrap: wrap;
}
.gallery-panel.tour-panel {
  display: block;
}
.tour-heading {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.tour-heading h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.tour-heading p {
  font-size: 14px;
  color: var(--muted);
  max-width: 80ch;
  margin-bottom: 8px;
}
.tour-heading .text-link {
  font-size: 13px;
}
.explore-section {
  padding-top: 66px;
}
.view-tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-top: 7px;
}
.view-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 6px;
  transition: background 0.15s;
}
.view-tab .icon {
  width: 15px;
  height: 15px;
}
.view-tab:hover {
  background: var(--surface);
}
.view-tab[aria-selected="true"] {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}
.gallery-panel {
  display: grid;
  grid-template-columns: 32% 68%;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin-top: 23px;
  min-height: 381px;
  background: var(--surface);
}
.gallery-copy {
  padding: 32px 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.view-id {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.gallery-copy h3 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin-bottom: 13px;
}
.gallery-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.gallery-points {
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
  display: grid;
  gap: 8px;
}
.gallery-points li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.gallery-points .icon {
  width: 12px;
  height: 12px;
  color: var(--mint);
}
.gallery-copy .capture-link {
  margin-top: auto;
  padding-top: 22px;
  background: none;
  border: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
}
.capture-link .icon {
  width: 12px;
  height: 12px;
}
.gallery-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--diagram);
  border-left: 1px solid var(--line);
}
.gallery-topline {
  font-size: 9px;
  color: var(--quiet);
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.gallery-art {
  flex: 1;
  min-height: 304px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-image: radial-gradient(var(--line) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  overflow: hidden;
}
.gallery-art svg {
  width: 100%;
  max-height: 285px;
  color: var(--muted);
}
.diagram-svg text {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  fill: var(--muted);
  font-size: 11px;
}
.diagram-svg .label {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.diagram-svg .stereo {
  font-size: 9px;
  fill: var(--quiet);
}
.diagram-svg .box {
  fill: var(--surface);
  stroke: #42536b;
  stroke-width: 1;
}
.diagram-svg .highlight-box {
  fill: var(--selection);
  stroke: var(--accent);
  stroke-width: 1;
}
.diagram-svg .wire {
  stroke: #6c83a3;
  stroke-width: 1.1;
  fill: none;
}
.diagram-svg .accent-wire {
  stroke: var(--accent);
  stroke-width: 1.25;
  fill: none;
}
.diagram-svg .port {
  fill: var(--surface-2);
  stroke: var(--accent);
  stroke-width: 1;
}
.diagram-svg .highlight-label {
  fill: var(--accent);
}
.diagram-svg .tiny {
  font-size: 8px;
}
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: var(--quiet);
  margin-top: 16px;
}
.gallery-footer .text-link {
  font-size: 10px;
  font-weight: 500;
}
.grid-preview {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  font-size: 10px;
}
.grid-preview table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}
.grid-preview th {
  color: var(--quiet);
  font-size: 9px;
  font-weight: 500;
  background: var(--surface-2);
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
}
.grid-preview td {
  color: var(--muted);
  padding: 15px 9px;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
  word-break: break-word;
}
.grid-preview tr:last-child td {
  border: 0;
}
.grid-preview .req-id {
  color: var(--accent);
  font-family: Consolas, monospace;
  font-size: 9px;
}
.grid-preview .status-tag {
  color: var(--mint);
  font-size: 9px;
  white-space: nowrap;
}
.grid-preview caption {
  caption-side: bottom;
  padding: 10px;
  font-size: 9px;
  color: var(--quiet);
  text-align: left;
}
/* Engineering workflow */
.workflow-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.workflow-copy .eyebrow {
  margin-bottom: 15px;
}
.workflow-copy .section-title {
  max-width: 400px;
}
.workflow-copy > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 19px;
  max-width: 410px;
}
.workflow-list {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}
.workflow-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.workflow-item > .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--accent);
}
.workflow-item h3 {
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 3px;
}
.workflow-item p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.terminal {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--code);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  background: var(--surface);
}
.terminal-top .label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.terminal-top .icon {
  width: 13px;
  height: 13px;
}
.terminal-copy {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 9px;
  color: var(--quiet);
  background: none;
  border: 0;
  padding: 2px 5px;
}
.terminal-copy:hover {
  color: var(--ink);
}
.terminal-content {
  padding: 24px;
}
.terminal-files {
  font-size: 11px;
  line-height: 2.1;
  color: var(--muted);
  margin: 0;
}
.terminal-files .dim {
  color: var(--quiet);
}
.terminal-files .lit {
  color: var(--accent);
}
.terminal-rule {
  height: 1px;
  background: var(--line);
  margin: 23px 0 18px;
}
.command-caption {
  font-size: 9px;
  color: var(--quiet);
  margin-bottom: 10px;
}
.cli-command {
  font-size: 10px;
  line-height: 2.05;
  color: var(--muted);
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cli-command .dollar {
  color: var(--mint);
}
.cli-command .executable {
  color: var(--ink);
}
.terminal-bottom {
  font-size: 9px;
  color: var(--quiet);
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 17px;
}
/* Samples */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sample-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.sample-card:hover {
  transform: translateY(-3px);
  border-color: var(--quiet);
}
.sample-visual {
  height: 156px;
  background: radial-gradient(ellipse at center, var(--soft-accent), transparent 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sample-visual svg {
  height: 112px;
  width: 180px;
  stroke: #637c9e;
  stroke-width: 1.15;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sample-visual .accent-stroke {
  stroke: var(--accent);
}
.sample-visual .dim-stroke {
  stroke: var(--line);
}
.sample-visual .axis-label {
  font-family: Consolas, monospace;
  font-size: 7px;
  fill: var(--quiet);
  stroke: none;
}
.sample-type {
  position: absolute;
  top: 12px;
  left: 15px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--quiet);
}
.sample-content {
  padding: 21px;
}
.sample-level {
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 7px;
}
.sample-content h3 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.sample-content p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
  min-height: 41px;
}
.sample-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  font-size: 10px;
  font-weight: 550;
}
.sample-cta .icon {
  width: 12px;
  height: 12px;
}
.sample-card.featured {
  border-color: #4e678a;
}
.sample-card.featured .sample-visual {
  background: radial-gradient(ellipse at center, #649af215, transparent 75%);
}
/* Start, FAQ, footer */
.start-section {
  padding-top: 15px;
}
.start-panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 28px 0;
  background: var(--surface);
}
.start-step {
  padding: 0 27px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 13px;
}
.start-step:last-child {
  border: 0;
}
.step-number {
  font-size: 10px;
  line-height: 25px;
  width: 25px;
  height: 25px;
  text-align: center;
  flex-shrink: 0;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
}
.start-step h3 {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 5px;
}
.start-step p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.start-step code {
  font-size: 10px;
  color: var(--ink);
}
.start-step a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--quiet);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
}
.faq-intro .eyebrow {
  margin-bottom: 13px;
}
.faq-intro p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
  max-width: 300px;
  line-height: 1.8;
}
.faq-intro .text-link {
  margin-top: 23px;
  font-size: 11px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 550;
  padding: 18px 30px 18px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 15px;
  color: var(--quiet);
  font-size: 18px;
  font-weight: 400;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  padding: 0 25px 21px 0;
}
.faq-list details p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.end-cta {
  margin: 0 0 76px;
  padding: 50px 46px;
  border: 1px solid #384862;
  border-radius: 12px;
  background: linear-gradient(115deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  isolation: isolate;
}
.end-cta .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}
.end-cta h2 {
  font-size: 37px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  font-weight: 550;
}
.end-cta p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cta-actions .text-link {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.cta-star {
  position: absolute;
  width: 340px;
  height: 340px;
  left: 40%;
  top: -55px;
  z-index: -1;
  color: var(--line);
  transform: rotate(15deg);
  opacity: 0.5;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.35;
}
.footer {
  padding: 0 0 30px;
}
.footer-top {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer .brand {
  font-size: 24px;
}
.footer .brand-mark {
  width: 32px;
  height: 32px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--quiet);
  font-size: 9px;
  margin-top: 24px;
}
.design-notes-button {
  background: none;
  border: 0;
  color: var(--quiet);
  font-size: 9px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.design-notes-button .icon {
  width: 11px;
  height: 11px;
}
.design-notes-button:hover {
  color: var(--ink);
}
/* Dialogs and online assets */
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  width: min(930px, calc(100vw - 32px));
  max-height: 88vh;
  padding: 0;
}
dialog::backdrop {
  background: #050912bd;
  backdrop-filter: blur(7px);
}
.dialog-top {
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
}
.dialog-top h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.2px;
}
.dialog-body {
  padding: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.dialog-body h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin: 21px 0 8px;
}
.dialog-body h3:first-child {
  margin-top: 0;
}
.dialog-body p + p {
  margin-top: 10px;
}
.dialog-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.notes-grid ul {
  list-style: disc;
  padding-left: 16px;
}
.notes-grid li + li {
  margin-top: 6px;
}
.notes-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 11px;
}
.notes-table td,
.notes-table th {
  padding: 11px 12px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}
.notes-table th {
  color: var(--ink);
  font-weight: 500;
}
.notes-table code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.capture-stage {
  min-height: 280px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capture-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.capture-message {
  padding: 30px;
  text-align: center;
  max-width: 450px;
}
.capture-message .icon {
  width: 27px;
  height: 27px;
  margin: 0 auto 14px;
  color: var(--quiet);
}
.capture-message strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 7px;
}
.capture-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  font-size: 10px;
}
.capture-bottom a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.capture-bottom .icon {
  width: 12px;
  height: 12px;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--surface-3);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  box-shadow: var(--shadow);
  padding: 11px 18px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Responsive: keep the install action at every width. */
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 90px;
  }
  .hero {
    padding-top: 68px;
  }
  .product-wrap {
    margin-top: 44px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .brand-sub {
    display: none;
  }
  .main-nav {
    gap: 20px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .workbench-body {
    grid-template-columns: 35px 42% 1fr;
    height: 377px;
  }
  .source-code {
    font-size: 10px;
  }
  .source-line:before {
    width: 24px;
    margin-right: 8px;
  }
  .canvas-area {
    padding: 24px 18px;
  }
  .drone-boundary {
    padding-inline: 13px;
  }
  .part-grid {
    gap: 13px;
  }
  .part-node .node-name {
    font-size: 9px;
  }
  .gallery-copy {
    padding: 25px 21px;
  }
  .gallery-copy h3 {
    font-size: 22px;
  }
  .workflow-layout {
    gap: 35px;
  }
  .section {
    padding: 65px 0;
  }
  .section-top h2,
  .section-title {
    font-size: 35px;
  }
  .feature-card {
    padding: 21px;
  }
  .feature-visual {
    padding-inline: 10px;
  }
  .mini-code {
    font-size: 9px;
  }
  .start-step {
    padding: 0 20px;
  }
  .faq-layout {
    gap: 45px;
  }
  .end-cta {
    padding: 40px 32px;
  }
  .end-cta h2 {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 65px;
  }
  .nav-inner {
    gap: 16px;
  }
  .brand {
    font-size: 27px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    padding: 9px 0;
  }
  .nav-actions {
    margin-left: auto;
    gap: 5px;
  }
  .menu-button {
    display: grid;
  }
  .nav-actions > .button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .theme-button {
    width: 30px;
  }
  .hero {
    padding-top: 44px;
  }
  .hero h1 {
    font-size: 61px;
    letter-spacing: -3.2px;
    margin-top: 20px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 530px;
  }
  .hero-proof {
    gap: 15px;
    font-size: 10px;
  }
  .product-wrap {
    margin-top: 32px;
  }
  .window-note {
    font-size: 8px;
  }
  .window-label {
    font-size: 9px;
  }
  .workbench-body {
    grid-template-columns: 34px 42% 1fr;
    height: 347px;
  }
  .source-code {
    font-size: 8px;
    line-height: 20px;
  }
  .source-line {
    min-height: 20px;
  }
  .source-line:before {
    font-size: 8px;
    width: 18px;
    margin-right: 6px;
  }
  .editor-breadcrumb {
    font-size: 8px;
    padding-inline: 9px;
  }
  .editor-tab {
    font-size: 9px;
    padding-inline: 9px;
  }
  .canvas-toolbar {
    padding-inline: 10px;
    font-size: 9px;
  }
  .toolbar-right {
    gap: 6px;
  }
  .canvas-area {
    padding: 25px 10px;
  }
  .drone-boundary {
    padding: 0 9px 13px;
  }
  .boundary-head {
    height: 49px;
    margin-bottom: 7px;
  }
  .boundary-head strong {
    font-size: 10px;
  }
  .part-grid {
    gap: 12px 8px;
  }
  .part-node {
    height: 59px;
    padding: 5px;
  }
  .part-node .node-name {
    font-size: 8px;
  }
  .part-node small {
    font-size: 7px;
  }
  .part-node .stereo {
    font-size: 7px;
  }
  .boundary-head .stereo {
    font-size: 8px;
  }
  .demo-controls {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
  }
  .demo-hint {
    width: 100%;
    font-size: 10px;
  }
  .rename-form {
    flex: 1;
  }
  .rename-form input {
    flex: 1;
    width: 130px;
  }
  .hero-divider {
    gap: 15px;
    flex-wrap: wrap;
    font-size: 9px;
    padding-block: 28px;
  }
  .hero-divider:before,
  .hero-divider:after {
    display: none;
  }
  .section {
    padding: 53px 0;
  }
  .section-top {
    display: block;
    margin-bottom: 26px;
  }
  .section-top p {
    margin-top: 16px;
    max-width: 480px;
    font-size: 12px;
  }
  .section-top h2,
  .section-title {
    font-size: 33px;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature-card {
    padding: 16px;
  }
  .feature-card h3 {
    font-size: 15px;
  }
  .feature-card p {
    font-size: 11px;
    min-height: 81px;
  }
  .feature-visual {
    height: 103px;
    padding: 12px 8px;
  }
  .mini-code {
    font-size: 8px;
  }
  .mini-graph {
    gap: 5px;
  }
  .mini-graph .node {
    font-size: 8px;
    padding: 8px;
  }
  .mini-graph .edge {
    width: 12px;
  }
  .feature-num {
    margin-bottom: 16px;
  }
  .view-tabs {
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .view-tab {
    padding: 9px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  .gallery-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .gallery-copy {
    display: block;
    padding: 23px;
  }
  .gallery-copy h3 {
    font-size: 23px;
  }
  .gallery-copy p {
    max-width: 560px;
  }
  .gallery-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 14px;
  }
  .gallery-copy .capture-link {
    padding-top: 18px;
  }
  .gallery-visual {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .gallery-art {
    min-height: 280px;
  }
  .gallery-footer {
    align-items: flex-start;
    font-size: 9px;
  }
  .gallery-footer > span {
    max-width: 350px;
  }
  .workflow-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .workflow-copy .section-title {
    max-width: 450px;
  }
  .workflow-copy > p {
    max-width: 560px;
  }
  .workflow-list {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .workflow-list .workflow-item:last-child {
    grid-column: 1/-1;
  }
  .terminal {
    max-width: 100%;
  }
  .sample-grid {
    gap: 12px;
  }
  .sample-visual {
    height: 130px;
  }
  .sample-visual svg {
    width: 150px;
    height: 96px;
  }
  .sample-content {
    padding: 17px;
  }
  .sample-content h3 {
    font-size: 16px;
  }
  .sample-content p {
    font-size: 10px;
    min-height: 55px;
  }
  .start-section {
    padding-top: 0;
  }
  .start-panel {
    grid-template-columns: 1fr;
    padding: 0 23px;
  }
  .start-step {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .start-step h3 {
    font-size: 13px;
  }
  .start-step p {
    font-size: 12px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-intro p {
    max-width: 450px;
  }
  .faq-intro .text-link {
    margin-top: 13px;
  }
  .end-cta {
    padding: 34px 27px;
    margin-bottom: 45px;
    gap: 20px;
  }
  .end-cta h2 {
    font-size: 30px;
    max-width: 330px;
  }
  .end-cta p {
    font-size: 11px;
    max-width: 330px;
  }
  .cta-actions .button {
    font-size: 11px;
    padding-inline: 13px;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-nav {
    gap: 14px;
    font-size: 9px;
    justify-content: flex-end;
  }
  .footer-bottom {
    font-size: 8px;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    padding-top: 35px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .preview-label {
    font-size: 7px;
  }
  .hero h1 {
    font-size: 49px;
    line-height: 1.1;
    letter-spacing: -2.7px;
    margin: 18px 0;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    max-width: 340px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 11px 14px;
    min-height: 43px;
  }
  .hero-proof {
    font-size: 8px;
    gap: 11px;
    margin-top: 17px;
  }
  .hero-proof .icon {
    width: 11px;
    height: 11px;
  }
  .product-wrap {
    margin-top: 27px;
  }
  .window-bar {
    height: 35px;
    gap: 9px;
    padding-inline: 11px;
  }
  .window-dots {
    gap: 4px;
  }
  .window-dots i {
    height: 5px;
    width: 5px;
  }
  .window-label {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .window-note {
    font-size: 7px;
  }
  .workbench-body {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
  }
  .activity-bar {
    display: none;
  }
  .editor-pane {
    border: 0;
    border-bottom: 1px solid var(--line);
    height: 269px;
    overflow: hidden;
  }
  .source-code {
    font-size: 10px;
    line-height: 19px;
    padding-top: 5px;
    padding-bottom: 0;
  }
  .source-line {
    min-height: 19px;
  }
  .source-line:before {
    font-size: 9px;
    width: 25px;
    margin-right: 12px;
  }
  .source-code .mobile-skip {
    display: none;
  }
  .source-code .mobile-skip:before {
    counter-increment: none;
  }
  .editor-breadcrumb {
    display: none;
  }
  .editor-tab {
    height: 31px;
    font-size: 9px;
    padding-inline: 13px;
  }
  .canvas-pane {
    height: 280px;
  }
  .canvas-toolbar {
    height: 31px;
    font-size: 9px;
    padding-inline: 13px;
  }
  .canvas-area {
    height: 249px;
    padding: 17px 22px 25px;
  }
  .drone-boundary {
    padding: 0 13px 13px;
    max-width: 390px;
  }
  .boundary-head {
    height: 43px;
    margin-bottom: 6px;
  }
  .part-grid {
    gap: 12px;
  }
  .part-node {
    height: 57px;
  }
  .part-node .node-name {
    font-size: 10px;
  }
  .part-node small {
    font-size: 8px;
  }
  .part-node .stereo {
    font-size: 7px;
    margin-bottom: 3px;
  }
  .boundary-head strong {
    font-size: 11px;
  }
  .boundary-head .stereo {
    font-size: 8px;
  }
  .workbench-footer {
    font-size: 8px;
    padding-inline: 10px;
    gap: 7px;
  }
  .workbench-footer .right {
    font-size: 7px;
  }
  .demo-controls {
    gap: 9px;
  }
  .demo-hint {
    font-size: 9px;
  }
  .rename-form label {
    font-size: 9px;
  }
  .rename-form {
    gap: 6px;
  }
  .rename-form input {
    width: 100px;
    min-width: 0;
    font-size: 10px;
  }
  .rename-form button {
    padding: 6px 9px;
  }
  .reset-button {
    font-size: 9px;
  }
  .hero-divider {
    gap: 11px 16px;
    padding-top: 19px;
    padding-bottom: 25px;
  }
  .hero-divider span {
    font-size: 9px;
  }
  .hero-divider span:first-child {
    display: none;
  }
  .section {
    padding: 46px 0;
  }
  .section-top h2,
  .section-title {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .section-top p {
    font-size: 12px;
  }
  .section-top .eyebrow {
    margin-bottom: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .feature-card {
    padding: 21px;
  }
  .feature-num {
    margin-bottom: 13px;
  }
  .feature-card h3 {
    font-size: 18px;
  }
  .feature-card p {
    min-height: 0;
    font-size: 12px;
    max-width: 340px;
  }
  .feature-visual {
    height: 112px;
    margin-top: 17px;
    padding: 14px 16px;
  }
  .mini-code {
    font-size: 10px;
  }
  .mini-graph .node {
    font-size: 10px;
    padding: 10px 20px;
  }
  .mini-graph .edge {
    width: 48px;
  }
  .mini-graph {
    gap: 12px;
  }
  .view-tab {
    font-size: 10px;
    padding: 9px 10px;
    gap: 6px;
  }
  .view-tab .icon {
    width: 13px;
    height: 13px;
  }
  .view-tabs {
    margin-top: 0;
    padding-bottom: 11px;
  }
  .gallery-panel {
    margin-top: 17px;
  }
  .gallery-copy {
    padding: 21px;
  }
  .gallery-copy h3 {
    font-size: 23px;
  }
  .gallery-copy p {
    font-size: 11px;
  }
  .gallery-points {
    font-size: 10px;
    gap: 7px 13px;
  }
  .gallery-art {
    padding: 5px;
    min-height: 208px;
  }
  .gallery-art svg {
    max-height: 227px;
  }
  .gallery-topline {
    font-size: 8px;
    padding: 10px 12px;
  }
  .gallery-footer {
    display: block;
    line-height: 1.8;
  }
  .gallery-footer .text-link {
    display: flex;
    width: max-content;
    margin-top: 10px;
  }
  .grid-preview {
    font-size: 8px;
  }
  .grid-preview th {
    font-size: 7px;
    padding: 8px 5px;
  }
  .grid-preview td {
    font-size: 8px;
    padding: 12px 5px;
  }
  .grid-preview .req-id {
    font-size: 7px;
  }
  .grid-preview .status-tag {
    font-size: 7px;
  }
  .grid-preview caption {
    font-size: 8px;
  }
  .workflow-layout {
    gap: 24px;
  }
  .workflow-copy > p {
    font-size: 12px;
  }
  .workflow-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .workflow-list .workflow-item:last-child {
    grid-column: auto;
  }
  .terminal-content {
    padding: 19px;
  }
  .terminal-files {
    font-size: 10px;
  }
  .cli-command {
    font-size: 9px;
  }
  .terminal-bottom {
    font-size: 8px;
    padding-inline: 12px;
  }
  .terminal-top {
    padding-inline: 12px;
  }
  .sample-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sample-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }
  .sample-visual {
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    min-height: 186px;
  }
  .sample-visual svg {
    width: 112px;
    height: 100px;
  }
  .sample-type {
    font-size: 7px;
    top: 13px;
    left: 10px;
  }
  .sample-content {
    padding: 19px;
  }
  .sample-content h3 {
    font-size: 18px;
  }
  .sample-content p {
    min-height: 0;
    font-size: 11px;
  }
  .sample-cta {
    margin-top: 15px;
  }
  .sample-level {
    font-size: 8px;
  }
  .start-section {
    padding-top: 0;
  }
  .start-panel {
    padding-inline: 20px;
  }
  .start-step p {
    font-size: 11px;
  }
  .faq-layout {
    gap: 22px;
  }
  .faq-list summary {
    font-size: 12px;
    padding-block: 18px;
  }
  .end-cta {
    display: block;
    padding: 30px 23px;
  }
  .end-cta h2 {
    font-size: 31px;
    max-width: 290px;
  }
  .end-cta p {
    font-size: 12px;
    margin-top: 12px;
  }
  .cta-actions {
    align-items: flex-start;
    margin-top: 25px;
  }
  .cta-actions .button {
    font-size: 12px;
  }
  .cta-star {
    width: 270px;
    height: 270px;
    left: 20%;
    top: 5px;
  }
  .footer-top {
    display: block;
    padding-top: 25px;
  }
  .footer-nav {
    margin-top: 25px;
    justify-content: flex-start;
    gap: 12px 19px;
    font-size: 10px;
  }
  .footer-bottom {
    align-items: flex-start;
    gap: 13px;
    flex-direction: column;
    font-size: 9px;
    margin-top: 20px;
  }
  .design-notes-button {
    font-size: 9px;
  }
  .notes-table {
    font-size: 9px;
  }
  .notes-table td,
  .notes-table th {
    padding: 8px;
  }
  .notes-table code {
    font-size: 8px;
  }
  .dialog-body {
    padding: 18px;
    font-size: 11px;
  }
  .dialog-top {
    padding: 14px 18px;
  }
  .dialog-top h2 {
    font-size: 14px;
  }
  .capture-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .capture-stage {
    min-height: 250px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .button:hover,
  .sample-card:hover {
    transform: none;
  }
}
@media print {
  .site-header {
    position: static;
  }
  .hero:before,
  .demo-controls,
  .theme-button,
  .menu-button,
  .capture-link,
  .design-notes-button {
    display: none;
  }
  .section {
    break-inside: avoid;
  }
  .workbench {
    box-shadow: none;
  }
  body {
    background: #fff;
    color: #111;
  }
}
/* Final type-fit adjustments for the 14-line illustration. */
@media (min-width: 521px) and (max-width: 760px) {
  .source-code {
    line-height: 18px;
  }
  .source-line {
    min-height: 18px;
  }
}
@media (max-width: 520px) {
  .editor-pane {
    height: 307px;
  }
}
/* Small-screen fit and a quiet border instead of a decorative image backdrop. */
.product-wrap:before {
  display: none;
}
@media (max-width: 520px) {
  .editor-pane {
    height: 325px;
  }
}
@media (max-width: 360px) {
  .nav-inner {
    gap: 10px;
  }
  .nav-actions {
    gap: 2px;
  }
  .nav-actions > .button {
    font-size: 10px;
    padding-inline: 9px;
  }
  .nav-actions > .button .icon {
    display: none;
  }
  .nav-actions .theme-button {
    width: 26px;
  }
  .menu-button {
    width: 30px;
  }
  .hero h1 {
    font-size: 42px;
    letter-spacing: -2.2px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    gap: 6px;
  }
  .hero-actions {
    flex-direction: column;
    max-width: 270px;
    margin-inline: auto;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-proof {
    flex-wrap: wrap;
    gap: 6px 11px;
  }
  .window-note {
    font-size: 6px;
  }
  .window-label {
    font-size: 7px;
  }
}

/* The draft's illustrations stay vector based and follow the active theme. */
.sample-card:focus-visible {
  outline-offset: 4px;
}
.sample-card:focus-visible .accent-stroke,
.sample-card:hover .accent-stroke {
  stroke-width: 1.8;
}
.sample-footnote {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.sample-footnote .text-link {
  font-size: 12px;
  margin-left: 8px;
}
.recording-section {
  padding: 0 0 50px;
}
.capture-intro,
.capture-hierarchy > p {
  max-width: 850px;
  color: var(--muted);
  margin: 20px 0;
}
.capture-wide {
  margin: 28px 0;
}
.capture-wide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.capture-wide figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.properties-capture {
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.properties-animation-copy {
  max-width: 480px;
  padding-top: 8px;
}
.properties-animation-copy h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.properties-animation-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
@media (max-width: 780px) {
  .properties-capture {
    grid-template-columns: minmax(0, 530px);
    gap: 24px;
  }
}
.capture-hierarchy {
  margin-top: 48px;
}
.capture-hierarchy h3 {
  font-size: 28px;
}
.capture-steps,
.capture-downloads {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.capture-steps [aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.recording-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.recording-panel > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 21px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}
.recording-panel > summary:after {
  content: "+";
  margin-left: auto;
  color: var(--accent);
  font-size: 22px;
}
.recording-panel[open] > summary:after {
  content: "−";
}
.recording-panel > summary::-webkit-details-marker {
  display: none;
}
.recording-note {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.recording-body {
  padding: 0 24px 24px;
}
.recording-body > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 16px;
}
.recording-body .button {
  margin-bottom: 20px;
}
.recording-body img,
.recording-body video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.recording-body [hidden] {
  display: none;
}
.recording-body figcaption {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 12px;
}
@media (max-width: 520px) {
  .recording-note {
    display: none;
  }
  .recording-panel > summary {
    padding: 18px;
    font-size: 12px;
  }
  .recording-body {
    padding: 0 14px 18px;
  }
  .sample-footnote .text-link {
    margin-left: 0;
  }
  .footer-bottom {
    line-height: 1.8;
  }
}

/* Exported SVGs are isolated images. Website CSS cannot restyle their notation. */
.workbench-body {
  height: auto;
  min-height: 389px;
}
.workbench-body > * {
  min-height: 0;
}
.canvas-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.canvas-toolbar {
  flex-shrink: 0;
}
.canvas-fit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.canvas-fit:hover {
  color: var(--accent);
  background: var(--selection);
}
.canvas-area > img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
}
.canvas-area {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 8px;
  background-image: none;
}
.gallery-art > img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
}
.mini-graph > img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}
/* Give the model and its diff the full card, including on narrow screens. */
.feature-card .feature-visual {
  display: flex;
  align-items: center;
  height: 420px;
  margin-top: 0;
  padding: 14px;
}
.feature-card .mini-code {
  width: 100%;
  font-size: 15px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.feature-card .diff-minus,
.feature-card .diff-plus {
  padding: 6px 8px;
}
:root[data-theme="light"] .feature-card .diff-minus {
  color: #a42d40;
}
.feature-card .feature-diagram {
  background: var(--surface);
  border: 0;
  padding: 0;
}
.feature-card .mini-graph {
  width: 100%;
  height: 100%;
  padding: 0;
}
.feature-card .mini-graph > img {
  display: block;
  height: 100%;
}
.export-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.export-steps [aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--selection);
}
.demo-live .text-link {
  font-size: 11px;
  margin-left: 10px;
}
.workbench-body .editor-pane {
  height: auto;
  overflow: visible;
}
.source-code {
  overflow: visible;
}
.source-code > code {
  display: block;
}
.source-line {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.diagram-viewer {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background-image: none;
}
.gallery-art.diagram-viewer {
  height: 380px;
  flex: none;
}
.tour-panel .gallery-art.diagram-viewer {
  height: 740px;
}
@media (max-width: 680px) {
  .tour-panel .gallery-art.diagram-viewer {
    height: 480px;
  }
}
.diagram-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}
.diagram-stage > img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}
.diagram-stage.is-zoomed {
  cursor: grab;
  touch-action: none;
}
.diagram-stage.is-dragging {
  cursor: grabbing;
}
.diagram-stage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.diagram-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
}
.diagram-controls button {
  min-width: 30px;
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.diagram-controls button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--selection);
}
.diagram-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.diagram-controls output {
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.diagram-help {
  margin-left: auto;
  text-align: right;
  font-size: 9px;
}
.canvas-area .diagram-help {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.canvas-area .diagram-controls {
  flex-wrap: wrap;
}
.diagram-controls .export-steps {
  margin-left: auto;
  gap: 6px;
}
.diagram-controls .export-steps button {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .workbench-body {
    min-height: 0;
  }
  .diagram-controls .export-steps {
    flex-basis: 100%;
    justify-content: flex-end;
  }
  .gallery-art.diagram-viewer {
    height: 320px;
  }
  .diagram-controls button {
    min-height: 36px;
    min-width: 36px;
  }
  .gallery-art > img {
    height: 280px;
  }
  .workbench-body .editor-pane {
    height: auto;
  }
  .workbench-body .canvas-pane {
    height: 340px;
  }
  .canvas-area {
    height: 309px;
  }
  .demo-live .text-link {
    margin-left: 0;
  }
  .source-code {
    font-size: 9px;
  }
}

/* The landing page uses the plain star. System nodes belong to the store icon. */
.hero-brand-mark {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 24px;
}
