:root {
  --orange: #f0831e;
  --orange-dark: #d96d0d;
  --orange-soft: #fff2e4;
  --navy: #0b1f35;
  --navy-deep: #061321;
  --ink: #162433;
  --ink-2: #314357;
  --muted: #6b7b8d;
  --muted-2: #97a3b1;
  --line: #e5e9ef;
  --line-soft: #eef1f5;
  --bg: #f6f8fa;
  --white: #fff;
  --stage: #071626;
  --radius: 16px;
  --font-sans: "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-data: "Bahnschrift", "DIN Alternate", "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(920px 420px at 82% -8%, rgba(240, 131, 30, .08), transparent 62%),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 38%, #f4f6f8 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-embed {
  overflow: hidden;
  background: var(--navy-deep);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.noscript-note {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #071626;
  color: #e8f0f6;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.container {
  width: min(100% - 64px, 1420px);
  margin-inline: auto;
}

::selection {
  color: #fff;
  background: var(--orange);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 70px;
  border-bottom: 1px solid rgba(218, 225, 233, .78);
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(16px) saturate(150%);
}

.header-inner {
  width: min(100% - 64px, 1420px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}

.brand img {
  width: 156px;
  height: auto;
}

.brand-rule {
  width: 1px;
  height: 21px;
  background: #d9dfe6;
}

.brand-product {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header-nav + .header-cta {
  margin-left: 0;
}

.header-nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.header-nav a:hover {
  color: var(--orange-dark);
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin-left: auto;
  padding: 0 17px;
  color: #fff;
  background: var(--orange);
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 8px 20px -10px rgba(240, 131, 30, .72);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.header-cta svg {
  width: 15px;
  height: 15px;
}

.header-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(217, 109, 13, .75);
}

/* Page heading */
.page-head {
  position: relative;
  z-index: 20;
  overflow: visible;
  padding: 26px 0 30px;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(124, 143, 163, .1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 143, 163, .1) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(640px 300px at 82% 16%, #000 0%, transparent 72%);
  mask-image: radial-gradient(640px 300px at 82% 16%, #000 0%, transparent 72%);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8a97a5;
  font-size: 11.5px;
  letter-spacing: .02em;
}

.breadcrumb a {
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--orange-dark);
}

.breadcrumb span[aria-current] {
  color: var(--ink-2);
}

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-top: 23px;
}

.intro {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7d8b99;
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
}

.eyebrow-mark {
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.eyebrow-slash {
  color: #c1c9d2;
  margin-inline: 1px;
}

.intro h1 {
  margin: 13px 0 0;
  color: #132333;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -.045em;
}

.intro h1 .accent {
  color: var(--orange);
  font-family: var(--font-data);
  font-weight: 700;
  letter-spacing: -.025em;
}

.intro h1 .title-dot {
  color: var(--orange);
}

.intro p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.intro-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 19px;
}

.intro-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #667586;
  font-size: 11.5px;
  font-weight: 500;
}

.intro-badges svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
}

.head-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 360px;
  max-width: 100%;
  padding-bottom: 3px;
}

.head-action-label {
  margin-bottom: 9px;
  color: #7c8997;
  font-size: 11.5px;
}

.model-search {
  position: relative;
  width: min(360px, 100%);
}

.model-search-field {
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 34px -28px rgba(13, 36, 58, .5);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.model-search-field:focus-within {
  border-color: #f0b77c;
  box-shadow:
    0 0 0 3px rgba(240, 131, 30, .1),
    0 14px 34px -26px rgba(13, 36, 58, .45);
}

.search-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-left: 15px;
  color: #9aa7b4;
}

.model-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #203244;
  font-family: var(--font-sans);
  font-size: 12px;
}

.model-search input::placeholder {
  color: #a6b1bd;
}

.model-search input::-webkit-search-cancel-button {
  display: none;
}

.model-search-submit {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-right: 7px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease;
}

.model-search-submit svg {
  width: 16px;
  height: 16px;
}

.model-search-submit:hover {
  background: var(--orange-dark);
}

.search-source {
  width: 100%;
  margin-top: 8px;
  color: #8b98a6;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: right;
}

.head-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
}

.upload-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b56517;
  font-size: 10px;
  cursor: pointer;
  transition: color .18s ease;
}

.upload-link svg {
  width: 13px;
  height: 13px;
}

.upload-link:hover {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.secondary-sep {
  color: #c3ccd5;
  font-size: 9px;
}

.head-secondary .head-action-hint {
  margin-top: 0;
  font-size: 9px;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 80;
  max-height: min(370px, 52vh);
  overflow: auto;
  padding: 5px;
  border: 1px solid #e1e7ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 55px -28px rgba(10, 31, 52, .55);
  scrollbar-width: thin;
  scrollbar-color: #d3dae1 transparent;
}

.search-results[hidden] {
  display: none;
}

.search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease;
}

.search-result:hover,
.search-result.is-active {
  background: #f5f8fb;
}

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

.result-copy strong {
  display: block;
  overflow: hidden;
  color: #203447;
  font-family: var(--font-data);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-copy span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #8d9aa7;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.result-badge {
  padding: 2px 5px;
  border: 1px solid #eadfce;
  border-radius: 3px;
  background: #fdf8f0;
  color: #9c7345;
  font-family: var(--font-data);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .05em;
}

.result-count {
  color: #a4afba;
  font-size: 7.5px;
  white-space: nowrap;
}

.search-empty {
  padding: 17px 12px;
  color: #8c99a6;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.search-empty strong {
  color: #53677a;
  font-weight: 600;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 18px 10px;
  color: #8d9aa7;
  font-size: 10px;
}

.search-loading i {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(240, 131, 30, .28);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.search-direct {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid #f0d2b1;
  border-radius: 5px;
  background: #fff9f2;
  color: #a45a15;
  font-size: 9.5px;
  cursor: pointer;
}

.search-direct:hover {
  border-color: #e6b17b;
  background: #fff4e7;
}

.search-footer {
  margin-top: 4px;
  padding: 7px 10px 4px;
  border-top: 1px solid #eef1f4;
  color: #9ba7b3;
  font-size: 8px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 28px -15px rgba(240, 131, 30, .9);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(217, 109, 13, .9);
}

.btn-upload {
  height: 50px;
  padding: 0 25px;
  font-size: 13.5px;
  border-radius: 9px;
}

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

.head-action-hint {
  margin-top: 9px;
  color: #9aa6b3;
  font-size: 10.5px;
}

.sample-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}

.sample-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 2px;
  color: #8794a2;
  font-size: 9.5px;
}

.sample-chip {
  height: 24px;
  padding: 0 8px;
  border: 1px solid #e3e8ee;
  border-radius: 4px;
  background: #fff;
  color: #768493;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.sample-chip:hover {
  border-color: #f0c79f;
  color: #b56517;
}

.sample-chip.is-active {
  border-color: #f2c08f;
  background: #fff7ee;
  color: #b15e10;
  font-weight: 600;
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27b173;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(39, 177, 115, .4);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(.7); opacity: 1; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* Viewer shell */
.viewer-section {
  position: relative;
  z-index: 2;
}

.viewer-card {
  position: relative;
  display: grid;
  grid-template-columns: 342px minmax(0, 1fr);
  height: clamp(540px, calc(100vh - 420px), 700px);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: var(--radius);
  background: #fff;
  box-shadow:
    0 34px 80px -48px rgba(13, 36, 58, .5),
    0 2px 5px rgba(13, 36, 58, .04);
}

.model-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}

.panel-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 25px 24px 16px;
}

.panel-scroll::-webkit-scrollbar {
  width: 5px;
}

.panel-scroll::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #d6dde4;
}

.model-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b98a6;
  font-family: var(--font-data);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
}

.panel-kicker > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.format-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #e7e2da;
  border-radius: 4px;
  background: #fdf9f4;
  color: #9a7249;
  font-family: var(--font-data);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}

.model-panel h2 {
  margin: 12px 0 0;
  color: #132333;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 720;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.model-subtitle {
  margin: 7px 0 0;
  color: #7d8b99;
  font-size: 12px;
  line-height: 1.5;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr;
  gap: 6px;
  margin-top: 18px;
}

.spec-card {
  position: relative;
  min-height: 56px;
  padding: 9px 9px 7px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #f8fafb;
}

.spec-card-wide {
  grid-column: auto;
  min-height: 56px;
}

.spec-card span {
  display: block;
  color: #8a97a5;
  font-size: 9.5px;
  letter-spacing: .02em;
}

.spec-card span i {
  color: #b0bac5;
  font-family: var(--font-data);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .02em;
}

.spec-card strong {
  display: inline-block;
  margin-top: 5px;
  color: #203244;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

.spec-card-wide strong {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: -.005em;
}

.spec-card em {
  margin-left: 3px;
  color: #9ca8b5;
  font-family: var(--font-data);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: .03em;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 33px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.file-icon svg {
  width: 17px;
  height: 17px;
}

.file-copy {
  min-width: 0;
  flex: 1;
}

.file-copy strong {
  display: block;
  color: #2c3d4e;
  font-family: var(--font-data);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-copy span {
  display: block;
  margin-top: 3px;
  color: #97a3b0;
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-btn {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #e7ebf0;
  border-radius: 5px;
  background: #fff;
  color: #7b8998;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.mini-btn svg {
  width: 14px;
  height: 14px;
}

.mini-btn:hover {
  border-color: #f2c79b;
  background: #fffaf4;
  color: var(--orange-dark);
}

.tree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  color: #435568;
  font-size: 11.5px;
  font-weight: 650;
}

.tree-head span:last-child {
  color: #9ba7b3;
  font-family: var(--font-data);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .03em;
}

.tree-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 74px;
  overflow: auto;
  padding: 6px 2px 6px 0;
  scrollbar-width: thin;
  scrollbar-color: #d3dae1 transparent;
}

.tree-wrap::-webkit-scrollbar {
  width: 4px;
}

.tree-wrap::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #d3dae1;
}

.tree-node {
  position: relative;
}

.tree-row {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 29px;
  padding: 4px 5px 4px calc(4px + var(--depth, 0) * 13px);
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #526375;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.tree-row:hover {
  background: #f6f8fa;
  color: #1e3244;
}

.tree-node.is-selected > .tree-row {
  background: #fff5ea;
  color: #b05e12;
}

.tree-node.is-hidden > .tree-row {
  opacity: .38;
}

.tree-node.is-hidden > .tree-row .tree-label {
  text-decoration: line-through;
  text-decoration-color: rgba(176, 94, 18, .42);
}

.tree-node.is-transparent > .tree-row .tree-label {
  color: #96a4b2;
}

.tree-caret {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: #9aa7b4;
  transition: transform .18s ease;
}

.tree-node.is-open > .tree-row .tree-caret {
  transform: rotate(90deg);
}

.tree-caret.is-empty {
  opacity: 0;
}

.tree-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: #93a1af;
}

.tree-node.is-group > .tree-row .tree-icon {
  color: #6e8499;
}

.tree-label {
  min-width: 0;
  flex: 1;
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-count {
  color: #a4afba;
  font-family: var(--font-data);
  font-size: 8.5px;
}

.tree-children {
  display: none;
}

.tree-node.is-open > .tree-children {
  display: block;
}

.tree-loading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 3px;
}

.tree-loading i {
  display: block;
  width: 100%;
  height: 21px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f1f3f6 20%, #f8f9fa 50%, #f1f3f6 80%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.tree-loading i:nth-child(2) { width: 86%; }
.tree-loading i:nth-child(3) { width: 92%; }
.tree-loading i:nth-child(4) { width: 75%; }

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.tree-hint {
  padding: 9px 5px 3px;
  color: #a7b1bc;
  font-size: 9.5px;
}

.tree-empty {
  padding: 18px 6px;
  color: #9aa6b2;
  font-size: 10.5px;
  line-height: 1.6;
}

.panel-footer {
  flex: 0 0 auto;
  padding: 13px 24px 15px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.btn-dark {
  width: 100%;
  height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: 7px;
  font-size: 12px;
}

.btn-dark svg {
  width: 16px;
  height: 16px;
}

.btn-dark:hover {
  background: #123452;
  transform: translateY(-1px);
}

.local-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 8px;
  color: #9ba6b2;
  font-size: 9px;
  line-height: 1.5;
}

.local-note svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #82a693;
}

/* 3D stage */
.stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 50% at 52% 42%, rgba(43, 101, 151, .52) 0%, rgba(18, 48, 77, .3) 45%, transparent 72%),
    radial-gradient(ellipse 54% 45% at 77% 78%, rgba(240, 131, 30, .11) 0%, transparent 62%),
    linear-gradient(142deg, #0b2138 0%, #071827 52%, #05111d 100%);
  isolation: isolate;
}

.dimension-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.dimension-layer[hidden] {
  display: none;
}

.dimension-label {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  padding: 3px 7px;
  border: 1px solid rgba(185, 204, 220, .32);
  border-radius: 4px;
  background: rgba(5, 18, 31, .82);
  color: #e7eef5;
  font-family: var(--font-data);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 5px 16px -10px rgba(0, 0, 0, .8);
  transform: translate(-50%, -50%);
  will-change: transform;
}

.dimension-label::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 8px;
  margin-right: 5px;
  border-radius: 1px;
  background: #9bb7cd;
  vertical-align: -1px;
}

.dimension-label.is-length::before { background: #f2a14b; }
.dimension-label.is-width::before { background: #69b8e6; }
.dimension-label.is-height::before { background: #8ed3a5; }

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(125, 172, 211, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 172, 211, .075) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 66% 63% at 51% 48%, #000 0%, rgba(0, 0, 0, .42) 55%, transparent 90%);
  mask-image: radial-gradient(ellipse 66% 63% at 51% 48%, #000 0%, rgba(0, 0, 0, .42) 55%, transparent 90%);
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow:
    inset 0 0 190px 32px rgba(1, 9, 17, .52),
    inset 0 -80px 120px -30px rgba(1, 8, 15, .78);
  pointer-events: none;
}

#viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  cursor: grab;
  touch-action: none;
}

#viewport:active {
  cursor: grabbing;
}

.stage-chrome {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.stage-chrome > * {
  pointer-events: auto;
}

.stage-top {
  top: 0;
  padding: 21px 23px 0;
}

.stage-top-left,
.stage-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 23px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  color: #d7e3ee;
  font-family: var(--font-data);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff9b3d;
  box-shadow: 0 0 0 3px rgba(255, 155, 61, .13);
}

.orbit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 5px;
  background: rgba(255, 255, 255, .055);
  color: rgba(211, 225, 237, .62);
  font-family: var(--font-data);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.orbit-pill svg {
  width: 13px;
  height: 13px;
}

.orbit-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

.orbit-pill.is-active {
  color: #ffc28b;
  border-color: rgba(240, 131, 30, .38);
  background: rgba(240, 131, 30, .14);
}

.stage-title {
  color: #e1eaf2;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-title span {
  color: rgba(200, 216, 230, .5);
  font-weight: 400;
}

.renderer-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(199, 216, 231, .55);
  font-family: var(--font-data);
  font-size: 8.5px;
  letter-spacing: .1em;
}

.renderer-state span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64c393;
}

.stage-expand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: rgba(255, 255, 255, .055);
  color: #d9e4ee;
  font-size: 9.5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}

.stage-expand svg {
  width: 13px;
  height: 13px;
}

.stage-expand:hover {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
}

.stage-expand.shell-toggle {
  color: #ffc28b;
  border-color: rgba(240, 131, 30, .3);
  background: rgba(240, 131, 30, .1);
}

.stage-expand.shell-toggle svg {
  width: 14px;
  height: 14px;
}

.stage-expand.shell-toggle:hover {
  border-color: rgba(255, 175, 98, .55);
  background: rgba(240, 131, 30, .18);
}

.stage-expand.shell-toggle[disabled] {
  opacity: .38;
  cursor: not-allowed;
}

.stage-expand.shell-toggle.is-active {
  color: #fff;
  border-color: rgba(255, 178, 104, .56);
  background: rgba(240, 131, 30, .28);
}

/* Selected part action bar */
.part-bar {
  position: absolute;
  left: 50%;
  bottom: 73px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 146px);
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(7, 20, 34, .88);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px) saturate(130%);
  transform: translateX(-50%);
  animation: part-bar-in .2s ease-out;
}

.part-bar[hidden] {
  display: none;
}

@keyframes part-bar-in {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.part-bar-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 190px;
  padding-right: 11px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.part-bar-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 131, 30, .14);
}

.part-bar-copy {
  min-width: 0;
}

.part-bar-copy strong {
  display: block;
  color: #e7eff6;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.part-bar-copy span {
  display: block;
  margin-top: 3px;
  color: rgba(190, 208, 223, .45);
  font-family: var(--font-data);
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.part-bar-actions {
  display: flex;
  align-items: center;
  gap: 1px;
}

.part-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 46px;
  height: 39px;
  padding: 3px 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(208, 223, 235, .65);
  font-size: 8.5px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}

.part-action svg {
  width: 15px;
  height: 15px;
}

.part-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.part-action.is-active {
  color: #ffb268;
  background: rgba(240, 131, 30, .13);
}

.part-bar-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(199, 215, 228, .4);
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}

.part-bar-close svg {
  width: 13px;
  height: 13px;
}

.part-bar-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.view-rail {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: rgba(7, 20, 34, .62);
  box-shadow: 0 14px 32px -20px rgba(0, 0, 0, .7);
  backdrop-filter: blur(14px) saturate(130%);
  transform: translateY(-50%);
}

.rail-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(219, 232, 244, .72);
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.rail-btn svg {
  width: 17px;
  height: 17px;
}

.rail-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.rail-btn.is-active {
  color: #ffab60;
  background: rgba(240, 131, 30, .15);
}

.rail-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  background: rgba(4, 13, 23, .94);
  color: #dfe8f1;
  font-size: 9.5px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(4px, -50%);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}

.rail-btn[data-tip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.rail-sep {
  width: 18px;
  height: 1px;
  margin: 3px 0;
  background: rgba(255, 255, 255, .1);
}

.stage-bottom {
  bottom: 0;
  padding: 46px 22px 17px;
  background: linear-gradient(to top, rgba(3, 12, 21, .88) 0%, rgba(3, 12, 21, .42) 55%, transparent 100%);
}

.view-presets {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  background: rgba(5, 17, 29, .48);
  backdrop-filter: blur(10px);
}

.preset {
  height: 25px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(209, 224, 237, .62);
  font-size: 9.5px;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.preset:hover {
  color: #fff;
}

.preset.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.stage-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(189, 207, 223, .4);
  font-size: 9px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hint-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(189, 207, 223, .3);
}

.stage-stats {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(203, 219, 233, .62);
  font-family: var(--font-data);
  font-size: 9.5px;
  letter-spacing: .035em;
  white-space: nowrap;
}

.stats-sep {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, .14);
}

.axis-gizmo {
  position: absolute;
  right: 30px;
  bottom: 76px;
  z-index: 4;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  background: rgba(6, 19, 33, .34);
  opacity: .82;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.axis-gizmo canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hover-label {
  position: absolute;
  z-index: 9;
  max-width: 220px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px;
  background: rgba(4, 14, 24, .9);
  color: #dde8f2;
  font-family: var(--font-data);
  font-size: 9.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  visibility: hidden;
  transform: translate(10px, -50%);
  transition: opacity .12s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.hover-label.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Loading, error, drag */
.loading-overlay,
.error-overlay,
.drop-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
}

.loading-overlay {
  display: grid;
  place-items: center;
  background: rgba(4, 15, 27, .76);
  backdrop-filter: blur(10px) saturate(120%);
  transition: opacity .45s ease, visibility .45s ease;
}

.loading-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-panel {
  width: min(76%, 350px);
  text-align: center;
}

.loader-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 77px;
  height: 77px;
  margin: 0 auto 23px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.loader-orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: var(--orange);
  border-right-color: rgba(240, 131, 30, .22);
  border-radius: 50%;
  animation: spin 1.25s linear infinite;
}

.loader-orbit::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px dashed rgba(255, 255, 255, .11);
  border-radius: 50%;
  animation: spin 8s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-core {
  color: #f6f8fa;
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.loader-kicker {
  color: rgba(183, 204, 222, .46);
  font-family: var(--font-data);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .19em;
}

.loader-panel h3 {
  margin: 8px 0 20px;
  color: #eef4f9;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.progress-track {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, .11);
}

.progress-track span {
  display: block;
  width: 3%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-dark), #ffb268);
  box-shadow: 0 0 10px rgba(240, 131, 30, .45);
  transition: width .45s cubic-bezier(.2, .7, .2, 1);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  color: rgba(205, 219, 231, .58);
  font-size: 9.5px;
}

.progress-meta span:last-child {
  font-family: var(--font-data);
  letter-spacing: .04em;
}

.loader-note {
  margin: 18px auto 0;
  max-width: 290px;
  color: rgba(184, 202, 218, .42);
  font-size: 9.5px;
  line-height: 1.65;
}

.error-overlay {
  display: grid;
  place-items: center;
  background: rgba(4, 15, 27, .82);
  backdrop-filter: blur(10px);
}

.error-overlay[hidden] {
  display: none;
}

.error-panel {
  width: min(82%, 370px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(11, 29, 47, .9);
  text-align: center;
  box-shadow: 0 30px 70px -30px #000;
}

.error-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  border: 1px solid rgba(255, 122, 97, .3);
  border-radius: 50%;
  color: #ff9079;
  background: rgba(255, 122, 97, .08);
}

.error-icon svg {
  width: 16px;
  height: 16px;
}

.error-panel h3 {
  margin: 0;
  color: #f0f5fa;
  font-size: 17px;
  font-weight: 600;
}

.error-panel p {
  margin: 9px 0 20px;
  color: rgba(195, 212, 227, .63);
  font-size: 11px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.error-actions .btn {
  height: 36px;
  padding: 0 14px;
  font-size: 11px;
}

.btn-outline-light {
  color: #dce7f0;
  border-color: rgba(255, 255, 255, .16);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .05);
}

.drop-overlay {
  display: grid;
  place-items: center;
  z-index: 30;
  margin: 12px;
  border: 1px dashed rgba(255, 178, 104, .7);
  border-radius: 10px;
  background: rgba(8, 23, 38, .83);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  backdrop-filter: blur(7px);
  pointer-events: none;
}

.drop-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.drop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #f5f8fb;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 178, 104, .35);
  border-radius: 50%;
  background: rgba(240, 131, 30, .13);
  color: #ffae68;
}

.drop-icon svg {
  width: 21px;
  height: 21px;
}

.drop-card strong {
  font-size: 15px;
  font-weight: 600;
}

.drop-card span {
  color: rgba(202, 217, 230, .58);
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: .1em;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 80px;
  z-index: 40;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: rgba(5, 17, 29, .94);
  color: #dce7f0;
  font-size: 10.5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Proof strip */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 17px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding-right: 20px;
}

.proof-item + .proof-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.proof-num {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--orange);
  font-family: var(--font-data);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
}

.proof-item strong {
  display: block;
  color: #35485b;
  font-size: 11.5px;
  font-weight: 600;
}

.proof-item div span {
  display: block;
  margin-top: 4px;
  color: #97a3b0;
  font-size: 10px;
  line-height: 1.45;
}

/* Lower content */
.after-section {
  padding-top: 92px;
  padding-bottom: 74px;
}

.after-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: start;
  gap: 90px;
}

.after-copy h2 {
  margin: 16px 0 0;
  color: #132333;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.28;
  font-weight: 720;
  letter-spacing: -.04em;
}

.after-copy h2 span {
  color: var(--orange);
}

.after-copy p {
  max-width: 500px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #f3c496;
  background: transparent;
  color: #b56517;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.text-link:hover {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-row {
  display: flex;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:first-child {
  padding-top: 3px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid #f1dfca;
  border-radius: 8px;
  background: #fffaf4;
  color: var(--orange-dark);
}

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

.feature-row h3 {
  margin: 1px 0 0;
  color: #26394b;
  font-size: 13px;
  font-weight: 650;
}

.feature-row p {
  margin: 6px 0 0;
  color: #8b98a5;
  font-size: 11px;
  line-height: 1.7;
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 74px;
  padding: 38px 43px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(500px 260px at 85% 20%, rgba(240, 131, 30, .17), transparent 65%),
    linear-gradient(115deg, #0a1e33, #0b2239 65%, #0d2942);
  box-shadow: 0 32px 60px -40px rgba(9, 27, 45, .8);
}

.cta-band::before {
  content: "";
  position: absolute;
  right: 30%;
  top: -50%;
  width: 1px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .14), transparent);
  transform: rotate(25deg);
}

.cta-copy {
  position: relative;
}

.cta-kicker {
  color: rgba(240, 166, 96, .7);
  font-family: var(--font-data);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
}

.cta-copy h3 {
  margin: 8px 0 0;
  color: #f1f5f9;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.cta-copy p {
  margin: 8px 0 0;
  color: rgba(194, 211, 225, .52);
  font-size: 11px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.cta-actions .btn {
  height: 44px;
  font-size: 12px;
}

.btn-ghost-dark {
  color: #e3ebf2;
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .03);
}

.btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .07);
}

/* Footer */
.site-footer {
  margin-top: 10px;
  border-top: 1px solid #1b3146;
  background: #071522;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand links"
    "meta meta";
  align-items: center;
  gap: 26px 40px;
  padding-top: 38px;
  padding-bottom: 25px;
}

.footer-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  width: 140px;
  height: auto;
  opacity: .92;
}

.footer-brand p {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  color: rgba(194, 209, 222, .42);
  font-size: 10.5px;
}

.footer-links {
  grid-area: links;
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: rgba(202, 216, 228, .55);
  font-size: 10.5px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  grid-area: meta;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(184, 201, 216, .3);
  font-size: 9.5px;
}

.footer-meta-links {
  display: flex;
  gap: 20px;
}

.footer-meta a {
  transition: color .2s ease;
}

.footer-meta a:hover {
  color: rgba(220, 232, 242, .7);
}

/* Embed mode */
html.is-embed body {
  background: #071626;
}

html.is-embed .site-header,
html.is-embed .page-head,
html.is-embed .proof-strip,
html.is-embed .after-section,
html.is-embed .site-footer {
  display: none;
}

html.is-embed .viewer-section {
  width: 100%;
  max-width: none;
  padding: 0;
}

html.is-embed .viewer-card {
  grid-template-columns: 308px minmax(0, 1fr);
  height: 100vh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.is-embed .viewer-card.is-panel-hidden,
.viewer-card.is-panel-hidden {
  grid-template-columns: minmax(0, 1fr);
}

html.is-embed .viewer-card.is-panel-hidden .model-panel,
.viewer-card.is-panel-hidden .model-panel {
  display: none;
}

.stage.is-faux-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  background: #071626;
}

html.is-embed .viewer-card.is-panel-hidden .stage {
  border-radius: 0;
}

/* Legal page */
.legal-body {
  min-height: 100vh;
  background:
    radial-gradient(700px 340px at 80% -10%, rgba(240, 131, 30, .08), transparent 65%),
    #f7f8fa;
}

.legal-main {
  max-width: 860px;
  padding-top: 54px;
  padding-bottom: 82px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  transition: color .2s ease;
}

.legal-back:hover {
  color: var(--orange-dark);
}

.legal-kicker {
  margin-top: 30px;
  color: var(--orange-dark);
  font-family: var(--font-data);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
}

.legal-main h1 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.legal-lead {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.legal-card {
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 40px -35px rgba(13, 36, 58, .28);
}

.legal-card + .legal-card {
  margin-top: 15px;
}

.legal-card h2 {
  margin: 0;
  color: #213345;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.legal-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.legal-card a {
  color: #b56517;
  text-decoration: underline;
  text-decoration-color: #f0c79f;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--orange-dark);
}

.legal-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.legal-list li:first-child {
  padding-top: 4px;
  border-top: 0;
}

.legal-list strong {
  display: block;
  color: #33475a;
  font-size: 12.5px;
  font-weight: 650;
}

.legal-list span {
  display: block;
  margin-top: 5px;
  color: #8a97a4;
  font-size: 10.5px;
  line-height: 1.7;
}

.legal-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 2px solid #f2c08f;
  border-radius: 0 6px 6px 0;
  background: #fffaf4;
  color: #8f714f;
  font-size: 10.5px;
  line-height: 1.8;
}

.legal-footer {
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: #9aa5b1;
  font-size: 9.5px;
}

/* Focus */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.rail-btn:focus-visible,
.preset:focus-visible,
.stage-expand:focus-visible {
  outline-color: #ffb268;
}

/* Responsive */
@media (max-width: 1240px) {
  .header-inner,
  .container {
    width: min(100% - 48px, 1200px);
  }

  .viewer-card {
    grid-template-columns: 312px minmax(0, 1fr);
  }

  .panel-scroll {
    padding-inline: 21px;
  }

  .panel-footer {
    padding-inline: 21px;
  }

  .intro h1 {
    font-size: 48px;
  }

  .after-grid {
    gap: 60px;
  }

  .stage-hint {
    display: none;
  }
}

@media (max-width: 1020px) {
  .header-nav {
    gap: 20px;
  }

  .brand img {
    width: 142px;
  }

  .page-head-row {
    gap: 30px;
  }

  .intro h1 {
    font-size: 44px;
  }

  .head-action-label {
    display: none;
  }

  .btn-upload {
    height: 46px;
  }

  .viewer-card {
    grid-template-columns: 280px minmax(0, 1fr);
    height: clamp(540px, calc(100vh - 390px), 660px);
  }

  .model-panel h2 {
    font-size: 22px;
  }

  .spec-card strong {
    font-size: 13px;
  }

  .spec-card-wide strong {
    font-size: 14px;
  }

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

  .feature-row:first-child {
    padding-top: 20px;
  }
}

@media (max-width: 860px) {
  .header-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .page-head {
    padding-top: 21px;
    padding-bottom: 23px;
  }

  .page-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .head-action {
    align-items: flex-start;
    width: 100%;
  }

  .head-action-label {
    display: block;
  }

  .model-search {
    width: 100%;
  }

  .search-source {
    text-align: left;
  }

  .head-secondary {
    justify-content: flex-start;
  }

  .search-results {
    max-height: min(360px, 48vh);
  }

  .sample-switch {
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
  }

  .intro h1 {
    font-size: 42px;
  }

  .desktop-break {
    display: none;
  }

  .viewer-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .stage {
    order: -1;
    height: 58vh;
    min-height: 430px;
    max-height: 590px;
  }

  .model-panel {
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .panel-scroll {
    overflow: visible;
    padding: 22px;
  }

  .tree-wrap {
    flex: 0 1 auto;
    max-height: 280px;
  }

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

  .spec-card-wide {
    grid-column: auto;
  }

  .spec-card strong,
  .spec-card-wide strong {
    font-size: 13px;
  }

  .tree-wrap {
    max-height: 250px;
  }

  .panel-footer {
    padding: 16px 22px 20px;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }

  .proof-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .proof-item:nth-child(even) {
    padding-left: 22px;
  }

  .proof-item:nth-child(n+3) {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .cta-actions {
    width: 100%;
  }

  html.is-embed .viewer-card {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  html.is-embed .model-panel {
    display: none;
  }

  html.is-embed .stage {
    height: 100vh;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 62px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 120px;
  }

  .brand-rule,
  .brand-product {
    display: none;
  }

  .header-cta {
    height: 34px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .header-cta svg {
    display: none;
  }

  .breadcrumb {
    font-size: 10.5px;
  }

  .intro h1 {
    margin-top: 12px;
    font-size: 36px;
    line-height: 1.14;
  }

  .intro p {
    margin-top: 13px;
    font-size: 12.5px;
    line-height: 1.75;
  }

  .intro-badges {
    gap: 11px 16px;
    margin-top: 16px;
  }

  .intro-badges span {
    font-size: 10px;
  }

  .head-action {
    gap: 0;
  }

  .head-action-label {
    font-size: 10.5px;
  }

  .model-search-field {
    height: 47px;
  }

  .model-search input {
    font-size: 11.5px;
  }

  .search-results {
    max-height: 46vh;
  }

  .btn-upload {
    width: 100%;
    height: 47px;
    font-size: 12.5px;
  }

  .sample-switch {
    gap: 5px;
  }

  .sample-chip {
    height: 23px;
    padding-inline: 7px;
    font-size: 8.5px;
  }

  .viewer-card {
    border-radius: 12px;
  }

  .stage {
    height: 54vh;
    min-height: 390px;
  }

  .stage-top {
    padding: 14px 14px 0;
  }

  .live-pill {
    height: 21px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .orbit-pill {
    height: 21px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .stage-title,
  .renderer-state {
    display: none;
  }

  .stage-top-right {
    gap: 6px;
  }

  .stage-expand {
    height: 27px;
    padding-inline: 8px;
    font-size: 0;
    gap: 0;
  }

  .stage-expand svg {
    width: 14px;
    height: 14px;
  }

  .stage-expand.shell-toggle {
    gap: 5px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .part-bar {
    bottom: 63px;
    max-width: calc(100% - 20px);
    gap: 5px;
    padding: 5px 5px 5px 8px;
  }

  .part-bar-main {
    max-width: 108px;
    gap: 6px;
    padding-right: 7px;
  }

  .part-bar-copy strong {
    font-size: 9px;
  }

  .part-bar-copy span {
    display: none;
  }

  .part-action {
    min-width: 36px;
    height: 35px;
    gap: 2px;
    padding: 2px 3px;
    font-size: 8px;
  }

  .part-action svg {
    width: 14px;
    height: 14px;
  }

  .part-bar-close {
    width: 20px;
  }

  .view-rail {
    right: 10px;
    padding: 4px;
    gap: 1px;
  }

  .rail-btn {
    width: 33px;
    height: 33px;
  }

  .rail-btn svg {
    width: 16px;
    height: 16px;
  }

  .rail-btn[data-tip]::after {
    display: none;
  }

  .rail-sep {
    width: 15px;
    margin: 2px 0;
  }

  .stage-bottom {
    padding: 40px 12px 11px;
  }

  .view-presets {
    gap: 0;
  }

  .preset {
    height: 24px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .stage-stats {
    font-size: 8.5px;
    gap: 6px;
  }

  .axis-gizmo {
    right: 16px;
    bottom: 62px;
    opacity: .42;
    transform: scale(.86);
    transform-origin: bottom right;
  }

  .model-panel h2 {
    font-size: 21px;
  }

  .panel-scroll {
    padding: 19px 17px;
  }

  .panel-footer {
    padding: 14px 17px 17px;
  }

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

  .spec-card-wide {
    grid-column: 1 / -1;
  }

  .loader-panel {
    width: 84%;
  }

  .loader-orbit {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
  }

  .loader-panel h3 {
    font-size: 14px;
  }

  .proof-strip {
    margin-top: 12px;
    padding: 14px 0;
  }

  .proof-item {
    padding-right: 12px;
  }

  .proof-item:nth-child(even) {
    padding-left: 15px;
  }

  .proof-item strong {
    font-size: 10.5px;
  }

  .proof-item div span {
    font-size: 9.5px;
  }

  .after-section {
    padding-top: 62px;
    padding-bottom: 50px;
  }

  .after-copy h2 {
    font-size: 29px;
  }

  .after-copy p {
    font-size: 12px;
  }

  .feature-row {
    padding: 17px 0;
  }

  .cta-band {
    margin-top: 50px;
    padding: 25px 21px;
    border-radius: 11px;
  }

  .cta-copy h3 {
    font-size: 21px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "meta";
    gap: 19px;
    padding-top: 29px;
    padding-bottom: 22px;
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand img {
    width: 122px;
  }

  .footer-brand p {
    padding-left: 14px;
    font-size: 9.5px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 7px;
    padding-top: 16px;
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .intro h1 {
    font-size: 32px;
  }

  .stage {
    min-height: 360px;
  }

  .stage-stats span:first-child,
  .stats-sep {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
