:root {
  --paper: #f5f6f8;
  --surface: #fff;
  --ink: #172236;
  --muted: #4e5e72;
  --line: #d6dee8;
  --accent: #2257a0;
  --accent-soft: #e9f0fb;
  --navy: #101114;
  --deck: #202229;
  --hero-action: #f5f6f8;
}

html { scroll-padding-top: 36px; }
::selection { background: #dae8fb; color: var(--ink); }
.page { width: min(100% - 80px, 1256px); }
.site-header { min-height: 78px; }
.wordmark { flex-direction: row; align-items: center; gap: 9px; }
.brand-mark { display: block; flex: none; object-fit: contain; }
.brand-name { color: var(--ink); font-size: .94rem; font-weight: 680; letter-spacing: -.025em; white-space: nowrap; }
.brand-name small { color: var(--muted); font: inherit; font-weight: 480; }
.site-header nav { gap: clamp(18px, 3vw, 36px); font-size: .86rem; }
.site-header nav a { font-weight: 560; }
.site-header nav .nav-download {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}
.site-header nav .nav-download:hover { border-color: var(--accent); color: var(--accent); }

.product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 570px;
  margin: 24px 0 0;
  padding: clamp(28px, 4.9vw, 68px);
  color: #f7f9fe;
  background: var(--navy);
}
.product-hero-copy { position: relative; z-index: 1; width: fit-content; }
.hero-capture { position: absolute; inset: 0 0 0 30%; margin: 0; }
.hero-capture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-capture::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--navy), #10111455 25%, transparent 52%),
              linear-gradient(0deg, #080a0ecc, transparent 24%);
}
.hero-capture figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  display: grid;
  gap: 2px;
  color: #c4c8d1;
  text-align: right;
  font-size: .76rem;
}
.hero-capture figcaption strong { color: #f5f6f8; font-size: .92rem; font-weight: 620; }
.editor-capture { margin: 18px 0; border: 1px solid var(--line); background: var(--surface); }
.editor-capture img { display: block; width: 100%; height: auto; }
.editor-capture figcaption { padding: 10px 14px; color: var(--muted); font-size: .83rem; }

.hero-platform { color: #b3b9c4; font-size: .8rem; font-weight: 560; }
.hero-platform span { margin-inline: .25rem; }
.product-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(4rem, 7.45vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.06em;
  font-weight: 610;
}
.product-hero-copy > p:not(.hero-platform) {
  max-width: 24em;
  color: #c4c8d1;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.55;
}
.product-actions, .release-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.product-actions .button { min-height: 45px; }
.product-actions .button-light { background: var(--hero-action); border-color: var(--hero-action); color: #10263d; }
.product-actions .button-light:hover { background: #a5e1ff; border-color: #a5e1ff; }
.product-actions .button-quiet { border-color: #52647e; color: #f3f7fc; }
.product-actions .button-quiet:hover { border-color: #b4c4db; color: #fff; }
.world-figure { min-width: 0; border: 1px solid #45546b; background: var(--deck); box-shadow: 0 22px 34px #0004; }
.world-toolbar, .world-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 15px;
  color: #c0cce0;
  font-size: .74rem;
}
.world-toolbar span:first-child { color: #edf4ff; font-weight: 630; }
.world-toolbar { border-bottom: 1px solid #45546b; }
.world-controls { display: flex; flex-wrap: wrap; gap: 4px; }
.world-controls button {
  border: 1px solid transparent;
  padding: 5px 7px;
  background: transparent;
  color: #bfcee3;
  font: inherit;
  cursor: pointer;
}
.world-controls button[aria-pressed="true"] { border-color: #455978; background: #273a56; color: #f5f9ff; }
.world-controls button:focus-visible { outline-color: var(--hero-action); }
.world-figure figcaption { border-top: 1px solid #45546b; }
.world-figure figcaption span:last-child { font: .73rem/1.5 var(--mono); }
.world-image { display: grid; place-items: center; aspect-ratio: 1024 / 672; background: #242c41; }
.world-image img { display: block; width: 100%; height: auto; }
.world-image:not([data-camera-display="world"]) img { width: 50%; image-rendering: pixelated; }

.product-section { padding: 67px 0; border-bottom: 1px solid var(--line); }
.product-section-heading { max-width: 700px; margin-bottom: 27px; }
.product-section-heading h2, .spatial-intro h1 {
  font-weight: 610;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  letter-spacing: -.051em;
  line-height: 1.01;
}
.product-section-heading p { max-width: 37em; margin-top: 14px; color: var(--muted); }
.workflow-grid, .release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.workflow-grid article, .release-panel { border-top: 1px solid var(--line); padding: 24px 0 4px; }
.workflow-grid article { padding-right: clamp(0px, 4.3vw, 64px); }
.workflow-grid article + article { padding-left: 23px; border-left: 1px solid var(--line); }
.workflow-grid h3, .release-panel h3 { font-size: clamp(1.25rem, 2.15vw, 1.85rem); letter-spacing: -.045em; font-weight: 620; }
.workflow-grid article p, .release-panel p { margin: 12px 0 16px; color: var(--muted); }
.product-link { display: inline-flex; gap: .42em; align-items: baseline; color: var(--accent); font-size: .88rem; font-weight: 630; text-decoration: none; }
.product-link:hover { text-decoration: underline; }
.release-panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.release-panel code, .release-meta { font-family: var(--mono); }
.release-panel code { font-size: .86em; }
.release-meta { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.release-panel .release-actions { margin-top: 16px; }
.release-status { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 17px; color: var(--muted); font-size: .86rem; }
.release-status strong { color: var(--ink); }
.release-status a { flex: none; color: var(--accent); font-weight: 570; }
.button-dark { background: var(--ink); border-color: var(--ink); }
.product-section .demo-list a { min-height: 113px; }
.site-footer { border-top: 0; }

.docs-meta { color: var(--muted); }
.docs-content .architecture-stack {
  overflow: hidden;
  border: 1px solid #353d49;
  border-radius: 6px;
  background: var(--navy);
}
.architecture-stack > div { padding: 16px 18px; border-color: #353d49; }
.architecture-stack > div:last-child { border-bottom: 0; }
.docs-content .architecture-stack span { color: #abc7e9; }
.docs-content .architecture-stack strong { color: #f5f6f8; }
.docs-content .architecture-stack p { color: #bdc7d5; }
.spatial-intro { max-width: 950px; padding: 58px 0 38px; }
.spatial-intro h1 { margin: 13px 0 15px; font-size: clamp(2.65rem, 6vw, 5.45rem); }
.spatial-intro > p:last-child { max-width: 54ch; color: var(--muted); font-size: 1.08rem; }
.docs-content .world-figure { margin: 17px 0; }
.spatial-steps { display: grid; gap: 0; padding: 0 0 0 20px; }
.spatial-steps li { padding: 11px 0 11px 7px; border-bottom: 1px solid var(--line); }
.spatial-steps li:last-child { border: 0; }
.bench-table { width: 100%; border-collapse: collapse; margin: 17px 0 12px; font-variant-numeric: tabular-nums; }
.bench-table caption { padding-bottom: 8px; text-align: left; color: var(--muted); font-size: .8rem; }
.bench-table td, .bench-table th { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: right; font-size: .84rem; }
.bench-table tr > :first-child { padding-left: 0; text-align: left; }
.bench-table thead th { color: var(--muted); font-size: .77rem; font-weight: 620; }
.bench-table tbody th { font-weight: 570; }
.bench-table .bench-best { color: #153f78; background: var(--accent-soft); }
.bench-table .bench-best th { padding-left: 8px; }

@media (max-width: 950px) {
  .page { width: min(100% - 48px, 1256px); }
  .product-hero { min-height: 460px; padding: 41px 30px; }
  .product-hero h1 { font-size: clamp(3.65rem, 8.3vw, 6.2rem); }
}
@media (max-width: 730px) {
  .site-header { min-height: 70px; }
  .product-hero { min-height: 0; padding: 37px 24px 24px; gap: 24px; }
  .hero-capture { position: relative; inset: auto; margin: 0 -24px -24px; }
  .hero-capture img { height: auto; aspect-ratio: 16 / 9; }
  .hero-capture::after { background: linear-gradient(0deg, #080a0ee6, transparent 35%); }
  .hero-capture figcaption { right: 16px; bottom: 12px; }
  .product-hero h1 { font-size: clamp(3.7rem, 11vw, 6.6rem); }
  .product-hero h1 br { display: none; }
  .product-section { padding: 49px 0; }
}
@media (max-width: 560px) {
  .page { width: min(100% - 32px, 1256px); }
  .site-header { flex-wrap: wrap; gap: 8px; padding: 11px 0; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px; }
  .site-header nav a[href="engine.html"] { display: inline; }
  .site-header nav a { font-size: .8rem; }
  .site-header nav .nav-download { padding: 4px 8px; }
  .product-hero { margin-top: 15px; padding: 28px 19px 19px; }
  .product-hero h1 br { display: initial; }
  .product-hero h1 { font-size: clamp(3.55rem, 14vw, 5.4rem); }
  .product-hero-copy > p:not(.hero-platform) { font-size: 1rem; }
  .workflow-grid, .release-grid { grid-template-columns: 1fr; gap: 13px; }
  .workflow-grid article + article { padding-left: 0; border-left: 0; }
  .release-panel { padding: 18px; }
  .release-status { flex-direction: column; gap: 7px; }
  .hero-capture { margin: 0 -19px -19px; }
  .world-toolbar, .world-figure figcaption { padding: 8px 10px; }
  .site-footer { justify-items: start; grid-template-columns: 1fr; }
  .site-footer > div { grid-column: 1; }
}
