/* MinQuad Studio. Visual design pass: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-deep: #101012;
  --bg: #141416;
  --surface: #1a1a1d;
  --surface-raised: #232327;
  --hairline: rgba(237, 237, 239, 0.09);
  --hairline-strong: rgba(237, 237, 239, 0.16);
  --ink: #ededef;
  --ink-2: #a8a8b0;
  --ink-3: #7e7e87;
  --accent: #311fd1;
  --accent-hover: #2818b5;
  --pass: #4cc38a;
  --warn: #d9b26f;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-swap: 180ms;
  --dur-enter: 320ms;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
}

.heading-1,
.hero-title {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.heading-2,
.section-title,
.closing-title {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.heading-3,
.ownership h3 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading-4,
.bench-kpis dd,
.order-price {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
}
.heading-6,
.specimen-title,
.price-name,
.dialog-title,
.lod-step figcaption strong {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}
.title-3,
.caps-mini strong,
.brand,
.faq-item summary,
.order-name,
.ledger-name,
.buybar-name,
.atlas-card figcaption strong {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.body-2,
body,
.hero-sub,
.section-sub,
.ownership > p,
.check-list li,
.faq-body {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.caption-3,
.hero-platforms,
.specimen-note,
.specimen-stats,
.plate-tag,
.eyebrow,
.badge,
.bench-kpis dt,
.ledger-row--head,
.ledger-meta,
.diet-pct,
.price-term,
.faq-group h3,
.closing-meta,
.site-footer,
.buybar-sub,
.order-sub,
.dialog-note,
.field-error,
.field label,
.nav-links a,
.price-caption,
.guarantee,
.ownership-facts,
.diet-nums,
.ledger-row .num,
.pbr-card-foot,
.atlas-card figcaption span,
.lod-step figcaption span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.price-fig {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  display: block;
  letter-spacing: -0.03em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
button,
input,
select {
  font-family: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
a {
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: #ffffff;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.muted {
  color: var(--ink-3);
}
.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  color: inherit;
}
.icon--inline {
  display: inline-block;
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-inline: 2px;
  opacity: 0.76;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 24px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Quiet sticky navigation bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  background: rgba(20, 20, 22, 0.92);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}
.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
}
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}
.header-actions {
  gap: var(--space-8);
}
.nav-links a {
  color: var(--ink-2);
  padding-block: var(--space-8);
}
.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}
.nav-links a[aria-current="location"] {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 44px;
  padding: 0 var(--space-20);
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.btn--sm {
  min-height: 36px;
  padding: 0 var(--space-16);
  font-size: 14px;
}
.btn--lg {
  min-height: 48px;
  padding: 0 var(--space-24);
  font-size: 16px;
}
.btn--full {
  width: 100%;
}
.btn--signal {
  background: var(--accent);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn--signal:hover {
  background: var(--accent-hover);
}
.btn:active {
  transform: scale(0.98);
}
.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.menu-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: translateY(-4px);
  transition: transform var(--dur-fast) var(--ease);
}
.menu-line + .menu-line {
  transform: translateY(4px);
}
.menu-btn[aria-expanded="true"] .menu-line {
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-line + .menu-line {
  transform: rotate(-45deg);
}
.mobile-nav {
  display: none;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--hairline);
}

/* ==========================================================================
   HERO: ASYMMETRIC SPLIT (LEFT PITCH, RIGHT CENTERED 3D WIREFRAME STAGE)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.hero-3d-shell {
  position: relative;
  min-height: clamp(600px, 84svh, 780px);
  display: flex;
  align-items: center;
  padding: var(--space-48) 0;
}
.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  align-items: center;
  pointer-events: none;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  pointer-events: auto;
}
.hero-title {
  margin: 0;
  color: var(--ink);
  text-wrap: nowrap;
}
.hero-title > span {
  display: block;
  white-space: nowrap;
}
.hero-sub {
  max-width: 440px;
  margin: 0;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
}
.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-24);
}
.hero-cta .text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hero-cta .text-link:hover {
  color: var(--ink-2);
}
.hero-platforms {
  margin: 0;
  color: var(--ink-3);
}

/* Right-side 3D stage: 50% split is dead-center on the rotating 3D model */
.hero-stage-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  right: 0;
  z-index: 2;
  overflow: hidden;
  user-select: none;
}
.hero-stage-frame::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 120px;
  background: linear-gradient(
    90deg,
    var(--bg-deep) 0%,
    rgba(16, 16, 18, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.hero-3d-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-2d-fallback {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
}
.hero-3d-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-3d-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  pointer-events: none;
  z-index: 3;
}
.hero-stage-tags {
  position: absolute;
  top: var(--space-24);
  left: var(--space-32);
  right: var(--space-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  z-index: 3;
  pointer-events: none;
}
.hero-stage-tags .plate-tag {
  position: static;
}

.hero-split-divider {
  position: absolute;
  z-index: 3;
  inset-block: 0;
  left: var(--split, 50%);
  width: 1px;
  background: rgba(237, 237, 239, 0.72);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.hero-split-handle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  transform: translateX(-50%);
}
.hero-stage-frame:has(.hero-split-range:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

/* ==========================================================================
   SECTIONS & SHOWCASES
   ========================================================================== */
.eyebrow {
  margin: 0 0 var(--space-12);
  color: var(--ink-3);
}
.section {
  padding-block: var(--space-80);
  background: var(--bg);
}
.section--band {
  background: var(--bg-deep);
  border-block: 1px solid var(--hairline);
}
.section-head {
  margin-bottom: var(--space-40);
}
.section-head--row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: var(--space-48);
}
.section-title {
  margin: 0;
  max-width: 640px;
}
.section-sub {
  max-width: 540px;
  margin: var(--space-16) 0 0;
  color: var(--ink-2);
}
.section-head--row .section-sub {
  margin: 0;
}

/* Section 1: Unified 5-Model Wireframe Inspector (2-Column Studio Dock Layout) */
.specimen {
  min-width: 0;
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  gap: var(--space-16);
  padding: var(--space-16);
  background: var(--surface);
  border: 1px solid rgba(237, 237, 239, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.65);
}
.specimen-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-12);
  min-width: 0;
}
.specimen-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px var(--space-4);
}
.specimen-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  min-width: 0;
}
.specimen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--bg);
}
.specimen-title {
  display: block;
  margin-bottom: 2px;
}
.specimen-note {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}
.specimen-stats {
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.specimen-stage,
.pbr-stage {
  position: relative;
  width: 100%;
  background-color: #111116;
  background-image:
    radial-gradient(circle at 50% 46%, rgba(49, 31, 209, 0.14) 0%, rgba(17, 17, 22, 0) 68%),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  overflow: hidden;
  user-select: none;
  border-radius: 12px;
  border: 1px solid rgba(237, 237, 239, 0.13);
}
.specimen-stage {
  height: 580px;
  flex: 1;
}
.split-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.split-img--before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.plate-tag {
  position: absolute;
  top: var(--space-16);
  z-index: 3;
  padding: 6px var(--space-12);
  border: 1px solid rgba(237, 237, 239, 0.18);
  border-radius: 8px;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: 12px;
  pointer-events: none;
}
.plate-tag--left {
  left: var(--space-16);
}
.plate-tag--right {
  right: var(--space-16);
}
.plate-tag--after {
  border-color: var(--hairline-strong);
  background: rgba(18, 18, 22, 0.9);
  color: var(--ink);
}
.split-divider {
  position: absolute;
  z-index: 4;
  inset-block: 0;
  left: var(--split);
  width: 1px;
  background: rgba(237, 237, 239, 0.72);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.split-handle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}
.split-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.hero-split-range {
  z-index: 4;
}
.specimen-stage:has(.split-range:focus-visible),
.pbr-stage:has(.split-range:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.specimen-models {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.specimen-models button {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink-2);
  text-align: left;
  transition:
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.specimen-models button:hover {
  background: var(--surface-raised);
  border-color: var(--hairline-strong);
  color: var(--ink);
}
.specimen-models button[aria-selected="true"] {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.specimen-models img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: #121216;
  flex-shrink: 0;
}
.specimen-models button[aria-selected="true"] img {
  border-color: var(--hairline-strong);
}
.specimen-telemetry {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.specimen-telemetry > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
}
.specimen-telemetry dt {
  color: var(--ink-3);
  font-weight: 500;
}
.specimen-telemetry dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.model-tab-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.model-tab-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.model-tab-badge {
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(237, 237, 239, 0.07);
  color: var(--ink-2);
  flex-shrink: 0;
}
.specimen-models button[aria-selected="true"] .model-tab-badge {
  background: rgba(237, 237, 239, 0.1);
  border: 0;
  color: var(--ink);
  box-shadow: none;
}
.model-tab-name {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.model-tab-meta {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.specimen-models button[aria-selected="true"] .model-tab-meta {
  color: #ffffff;
}

/* 3x Optical Loupe */
.loupe {
  position: absolute;
  z-index: 6;
  width: 200px;
  height: 200px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: var(--bg-deep);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-swap) var(--ease);
}
.loupe.is-visible {
  opacity: 1;
}
.loupe-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}
.loupe-layer--before {
  clip-path: inset(0 calc(100% - var(--loupe-split, 50%)) 0 0);
}
.loupe-divider {
  position: absolute;
  inset-block: 0;
  left: var(--loupe-split, 50%);
  width: 1px;
  background: rgba(237, 237, 239, 0.8);
  display: none;
}
.loupe-badge {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  padding: 2px var(--space-8);
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

/* Section 2: Shaded PBR + 4 Baked Maps Grid (Zero Tabs) */
.pbr-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-24);
  align-items: stretch;
}
.pbr-compare-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.pbr-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16);
}
.pbr-card-head strong {
  display: block;
  margin-bottom: var(--space-4);
}
.pbr-stage {
  flex: 1;
  min-height: 440px;
}
.pbr-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-12);
  padding: var(--space-16);
  color: var(--ink-2);
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}
.atlas-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.atlas-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--bg-deep);
}
.atlas-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.atlas-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-12) var(--space-8) var(--space-8);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: var(--space-4) var(--space-12);
  border-radius: 6px;
  white-space: nowrap;
}
.badge--pass {
  background: rgba(76, 195, 138, 0.14);
  color: var(--pass);
}
.badge--warn {
  background: rgba(217, 178, 111, 0.14);
  color: var(--warn);
}

/* Section 3: Desktop App Walkthrough & 4-Stage LOD Strip */
.product-demo {
  padding: var(--space-8);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16);
}
.product-demo video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--bg-deep);
}

.lod-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-16);
  margin-top: var(--space-24);
}
.lod-step {
  margin: 0;
  padding: var(--space-8);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.lod-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--bg-deep);
}
.lod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lod-step figcaption {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-16);
}

.caps-mini {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-24);
  margin: var(--space-24) 0 0;
  padding: var(--space-24);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.caps-mini li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}
.caps-mini .icon {
  color: #634dff;
  margin-top: var(--space-4);
}
.caps-mini strong {
  display: block;
  margin-bottom: var(--space-4);
}
.caps-mini span {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

/* Section 4: Open 6-Model Benchmark Ledger */
.bench-kpis {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-40);
  margin: 0;
}
.bench-kpis dt {
  color: var(--ink-3);
}
.bench-kpis dd {
  margin: var(--space-4) 0 0;
}

.ledger {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr) 144px 96px 88px;
  gap: var(--space-16);
  align-items: center;
  min-height: 76px;
  padding: var(--space-16) var(--space-24);
  border-top: 1px solid var(--hairline);
}
.ledger-row--head {
  min-height: 44px;
  padding-block: var(--space-12);
  border: 0;
  background: var(--surface-raised);
  color: var(--ink-2);
}
.ledger-model {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}
.ledger-model img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--hairline);
}
.ledger-model > div {
  min-width: 0;
}
.ledger-meta {
  margin-top: 2px;
  color: var(--ink-3);
  font-weight: 500;
}
.ledger-diet {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.diet-nums {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  color: var(--ink-2);
}
.diet-nums strong {
  color: var(--ink);
}
.diet-pct {
  margin-left: auto;
  color: var(--ink-2);
}
.diet {
  position: relative;
  height: 6px;
  overflow: hidden;
  background: var(--bg);
  border-radius: 4px;
}
.diet-fill,
.diet-tick {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: left center;
}
.diet-fill {
  background: rgba(49, 31, 209, 0.35);
  transform: scaleX(var(--src-s, 1));
}
.diet-tick {
  background: #452ff5;
  transform: scaleX(var(--out-s, 0.016));
}
.ledger-row .num {
  min-width: 0;
  text-align: right;
}
.ledger-row > [role="cell"] {
  min-width: 0;
}
.ledger-row > :last-child {
  text-align: right;
}

/* Section 5: Pricing & Ownership */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  padding: var(--space-32);
  border: 1px solid #452ff5;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(49, 31, 209, 0.14) 0%,
    var(--surface) 48%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 48px -18px rgba(49, 31, 209, 0.35);
}
.price-top {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-24);
}
.price-name {
  margin: 0 0 var(--space-4);
}
.price-caption {
  margin: 0;
  color: var(--ink-2);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  text-align: left;
}
.price-term {
  display: block;
  color: var(--ink-3);
  white-space: nowrap;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  color: var(--ink-2);
}
.check-list .icon {
  color: #634dff;
  margin-top: var(--space-4);
}
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  padding-top: var(--space-24);
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
}
.guarantee .icon {
  color: var(--ink-2);
  margin-top: var(--space-4);
}
.guarantee p {
  margin: 0;
}
.guarantee strong {
  color: var(--ink);
}

.ownership {
  padding: var(--space-32);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
}
.ownership-logo {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-24);
}
.ownership h3 {
  margin: 0 0 var(--space-16);
}
.ownership > p {
  max-width: 40ch;
  color: var(--ink-2);
  margin: 0;
}
.ownership-facts {
  margin: var(--space-32) 0 0;
}
.ownership-facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-24);
  border-top: 1px solid var(--hairline);
  padding: var(--space-16) 0;
}
.ownership-facts dt {
  color: var(--ink-3);
}
.ownership-facts dd {
  margin: 0;
  text-align: right;
}

/* Section 6: FAQ, Closing & Footer */
.faq-grid {
  display: block;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-40);
}
.faq-group h3 {
  margin: 0 0 var(--space-16);
  color: var(--ink-2);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  list-style: none;
  min-height: 72px;
  padding-block: var(--space-20);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .icon {
  color: var(--ink-3);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary .icon {
  transform: rotate(180deg);
}
.faq-body {
  max-width: 64ch;
  margin: 0 0 var(--space-20);
  color: var(--ink-2);
}

.closing {
  padding-block: var(--space-80);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.closing-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.closing-title {
  margin: 0 0 var(--space-24);
}
.closing-meta {
  margin: var(--space-16) 0 0;
}

.site-footer {
  padding-block: var(--space-48);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-32);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
  color: var(--ink-2);
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
}
.footer-links p {
  margin: 0 0 var(--space-4);
  color: var(--ink);
}
.footer-inner > .mono {
  grid-column: 1;
  grid-row: 2;
}

/* Mobile Buybar & Checkout Dialog */
.buybar {
  position: fixed;
  z-index: 70;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: var(--surface);
  visibility: hidden;
  transform: translateY(130%);
  opacity: 0;
  transition:
    transform var(--dur-enter) var(--ease),
    opacity var(--dur-enter) var(--ease),
    visibility var(--dur-enter);
}
.buybar.is-visible {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}
.buybar-sub {
  margin-top: var(--space-4);
  color: var(--ink-3);
}

.checkout-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(237, 237, 239, 0.14);
  border-radius: 16px;
  background: #18181c;
  color: var(--ink);
  box-shadow:
    0 24px 64px -12px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.checkout-dialog::backdrop {
  background: rgba(10, 10, 12, 0.76);
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: var(--space-20) var(--space-24);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}
.dialog-brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}
.dialog-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.dialog-title {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  color: var(--ink);
}
.dialog-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 17px;
  color: var(--ink-3);
}
.dialog-head-right {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-shrink: 0;
}
.dialog-price-tag {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(237, 237, 239, 0.12);
  border-radius: 8px;
  background: var(--bg);
}
.dialog-price-tag strong {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: var(--ink);
}
.dialog-price-tag span {
  font-size: 11px;
  line-height: 14px;
  color: var(--ink-3);
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink-3);
}
.dialog-close:hover {
  background: var(--surface-raised);
  border-color: var(--hairline);
  color: var(--ink);
}
.dialog-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-24) var(--space-24);
}
.dialog-perks {
  list-style: none;
  margin: 0;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dialog-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ink-2);
}
.dialog-perks .icon {
  width: 15px;
  height: 15px;
  color: var(--pass);
  flex-shrink: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-12);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  color: var(--ink);
}
.field input::placeholder {
  color: var(--ink-3);
}
.field input:focus,
.field select:focus {
  border-color: #7c66ff;
  outline: none;
}
.field input[aria-invalid="true"] {
  border-color: #e5484d;
}
.field-error {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: #f49aa2;
}
.field-error:empty {
  display: none;
}
.checkout-status {
  margin: 0;
  padding: var(--space-12);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
  line-height: 17px;
  color: var(--ink-2);
}
.dialog-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: var(--space-4);
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-3);
}
.dialog-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 500;
}
.dialog-secure .icon {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
}
.dialog-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.policy-link-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  cursor: pointer;
}
.policy-link-btn:hover {
  color: var(--ink);
}
.footer-compliance {
  margin-top: var(--space-32);
  padding-top: var(--space-24);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-16);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-3);
}
.footer-policy-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-20);
}
.legal-dialog {
  width: min(720px, calc(100% - 32px));
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.legal-tabs button {
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.legal-tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.legal-content {
  max-height: 62dvh;
  overflow-y: auto;
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.legal-content h3 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--ink);
}
.legal-content h4 {
  margin: var(--space-8) 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}
.legal-content p,
.legal-content ul {
  margin: 0;
}
.legal-content ul {
  padding-left: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}

.preview-ghost {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
  background: inherit;
}
.preview-ghost > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: var(--space-16);
  }
  .pbr-showcase-grid {
    grid-template-columns: 1fr;
  }
  .ledger-row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr) 144px 96px 88px;
    gap: var(--space-12);
    padding-inline: var(--space-16);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .mobile-nav {
    position: fixed;
    z-index: -1;
    inset: 64px 0 auto;
    height: calc(100dvh - 64px);
    padding: var(--space-32);
    background: rgba(20, 20, 22, 0.98);
    flex-direction: column;
    gap: var(--space-12);
    overflow-y: auto;
  }
  .mobile-nav.is-open {
    display: flex;
  }
  .mobile-nav a {
    display: block;
    padding: var(--space-16);
    border: 0;
    border-radius: 8px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
  }
  .mobile-nav a:hover {
    background: var(--surface);
  }
  body:has(.mobile-nav.is-open) {
    overflow: hidden;
  }

  .hero-3d-shell {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 0 0 var(--space-40);
  }
  .hero-stage-frame {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    height: clamp(340px, 56vw, 440px);
    order: -1;
    border-bottom: 1px solid var(--hairline);
  }
  .hero-stage-frame::before {
    display: none;
  }
  .hero-stage-tags {
    top: var(--space-16);
    left: var(--space-16);
    right: var(--space-16);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: var(--space-24);
    pointer-events: auto;
  }

  .section {
    padding-block: var(--space-64);
  }
  .section-head--row {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  .bench-kpis {
    justify-content: flex-start;
  }
  .section-title,
  .closing-title {
    font-size: 32px;
    line-height: 36px;
  }
  .caps-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .specimen {
    grid-template-columns: 1fr;
  }
  .specimen-sidebar {
    order: 2;
  }
  .specimen-head {
    padding: var(--space-12) var(--space-16);
  }
  .specimen-stage {
    height: 440px;
  }
  .specimen-models {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ledger-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-16);
    padding: var(--space-20);
  }
  .ledger-row--head {
    display: none;
  }
  .ledger-model,
  .ledger-diet {
    grid-column: 1 / -1;
  }
  .ledger-row .num {
    text-align: left;
  }
  .ledger-row .bench-alt-cell {
    grid-column: 1;
    grid-row: 3;
  }
  .ledger-row .bench-alt-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: var(--space-4);
    color: var(--ink-3);
    font-size: 13px;
    line-height: 18px;
  }
  .ledger-row .num:nth-last-child(2) {
    grid-column: 1;
    grid-row: 4;
  }
  .ledger-row > :last-child {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: center;
    justify-self: end;
  }
  .ledger-row .num:nth-last-child(2)::before {
    content: "Silhouette ";
    color: var(--ink-3);
  }
  .pricing-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .buybar {
    display: flex;
  }
  body {
    padding-bottom: calc(var(--space-80) + env(safe-area-inset-bottom));
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }
  .site-header .header-actions > .btn {
    display: none;
  }
  .hero-stage-frame {
    height: 340px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 1.08;
  }
  .section,
  .closing {
    padding-block: var(--space-48);
  }
  .specimen-head {
    align-items: flex-start;
    gap: var(--space-12);
  }
  .loupe {
    display: none;
  }
  .specimen-stage,
  .pbr-stage {
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
  .specimen-models {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-8);
    overflow-x: auto;
    padding-bottom: var(--space-4);
    scrollbar-width: thin;
  }
  .specimen-models button {
    min-width: 132px;
    flex-shrink: 0;
  }
  .plate-tag {
    top: var(--space-12);
    padding: var(--space-4) var(--space-8);
    font-size: 12px;
    line-height: 16px;
  }
  .plate-tag--left {
    left: var(--space-12);
  }
  .plate-tag--right {
    right: var(--space-12);
  }
  .demo-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .lod-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .caps-mini {
    grid-template-columns: 1fr;
  }
  .bench-kpis {
    width: 100%;
    gap: var(--space-24);
  }
  .bench-kpis dd {
    font-size: 24px;
    line-height: 28px;
  }
  .price-card,
  .ownership {
    padding: var(--space-24);
  }
  .ownership-facts > div {
    flex-direction: column;
    gap: var(--space-4);
  }
  .ownership-facts dd {
    text-align: left;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
  }
  .footer-links {
    width: 100%;
    gap: var(--space-24);
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 30px;
    line-height: 1.08;
  }
  .section-title,
  .closing-title {
    font-size: 28px;
    line-height: 32px;
  }
}

html[data-input="keyboard"] *,
html[data-input="keyboard"] *::before,
html[data-input="keyboard"] *::after {
  transition: none !important;
  animation: none !important;
}
html[data-input="keyboard"] .btn:active {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
[hidden] {
  display: none !important;
}
.btn:disabled {
  background: var(--surface-raised);
  color: var(--ink-3);
  cursor: not-allowed;
  box-shadow: none;
}
