@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap");

:root {
  --bg: #f5f5f4;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --line: #e7e5e4;
  --text: #1c1917;
  --muted: #57534e;
  --faint: #78716c;
  --yellow: #b45309;
  --yellow-hover: #d97706;
  --amber-ink: #92400e;
  --oak: #b8956c;
  --pill: rgba(28, 25, 23, 0.06);
  --pill-hover: rgba(28, 25, 23, 0.1);
  --radius-card: 16px;
  --radius-control: 6px;
  --header: 72px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--yellow);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  border-radius: var(--radius-control);
  background: var(--yellow);
  color: #fafaf9;
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 245, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  min-height: var(--header);
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.ms {
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.card h3 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card h3 .ms {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--oak);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.nav-toggle {
  display: none;
}

.menu-btn {
  display: none;
}

.nav-toggle:focus-visible + .menu-btn {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-control);
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--pill);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-control);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-yellow,
.header-cta {
  background: var(--yellow);
  color: #fafaf9;
}

.btn-yellow:hover,
.header-cta:hover {
  background: var(--yellow-hover);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--pill-hover);
}

.site-nav .nav-cta {
  display: none;
}

.site-nav a {
  padding: 0 8px;
  font-size: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-actions .btn {
  white-space: nowrap;
}

.stack {
  margin-top: 12px;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.kicker {
  margin: 0 0 12px;
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2,
h3 {
  font-weight: 600;
}

.lead {
  max-width: 38rem;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

.chips {
  display: flex;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}

.chips a:hover {
  background: var(--pill-hover);
}

.tickets {
  display: grid;
  gap: 14px;
}

.ticket {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-card);
}

.ticket-kicker {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 13px;
}

.ticket-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
}

.door {
  width: 92px;
  height: 128px;
}

.specs {
  display: grid;
  gap: 6px;
  margin: 0;
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.specs dt {
  color: var(--faint);
}

.specs dd {
  margin: 0;
  text-align: right;
}

.ticket-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 14px 0 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  font-weight: 500;
}

.ticket-price span {
  color: var(--faint);
  font-size: 14px;
  font-weight: 400;
}

.ticket-price strong {
  color: var(--amber-ink);
  font-weight: 600;
}

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius-control);
  background: #fafaf9;
  color: #1c1917;
  font-size: 15px;
  font-weight: 500;
}

.lines {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.lines span {
  color: var(--faint);
}

.note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section h2 {
  max-width: 16em;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 28px;
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 12px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-card);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.section .card h2 {
  max-width: none;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.2;
}

.section .card h3 {
  margin: 18px 0 6px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ol,
.card ul {
  margin: 0;
  padding-left: 18px;
}

.step-no {
  display: block;
  margin-bottom: 10px;
  color: var(--oak);
  font-size: 14px;
  font-weight: 600;
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--bg-raised);
}

.compare caption {
  padding: 18px 20px 0;
  caption-side: top;
  color: var(--faint);
  font-size: 14px;
  text-align: left;
}

.compare th,
.compare td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.compare thead th {
  border-top: 0;
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
}

.compare tbody th {
  width: 28%;
  color: var(--text);
  font-size: 15px;
}

.compare td {
  color: var(--muted);
  font-size: 15px;
}

.compare .ours {
  background: rgba(180, 83, 9, 0.14);
  color: var(--text);
}

.band {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
}

.band h2 {
  max-width: none;
}

.faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
}

.faq details {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
  animation: faq-float 6s ease-in-out infinite;
}

.faq details:nth-child(2),
.faq details:nth-child(5) {
  margin-top: 28px;
  animation-delay: -2s;
}

.faq details:nth-child(3),
.faq details:nth-child(6) {
  margin-top: 12px;
  animation-delay: -4s;
}

.faq details:hover,
.faq details[open] {
  animation-play-state: paused;
  box-shadow: 0 22px 48px rgba(28, 25, 23, 0.12);
}

@keyframes faq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.faq summary {
  padding: 22px 44px 22px 22px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  margin-right: -26px;
  color: var(--amber-ink);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .faq details,
  .flow-node {
    animation: none;
  }
}

.ask-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px 48px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.06);
}

#ask h2 {
  max-width: 12em;
  margin-bottom: 12px;
}

#ask .section-lead {
  max-width: 34em;
  margin-bottom: 0;
}

.ask-panel .ask {
  max-width: none;
  margin-top: 0;
}

.ask-panel .ask button {
  justify-self: start;
  margin-top: 4px;
  padding-inline: 22px;
}

@media (max-width: 860px) {
  .ask-panel {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

.ask {
  display: grid;
  gap: 12px;
  max-width: 36rem;
  margin-top: 8px;
}

.ask label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.ask input,
.ask textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.ask textarea {
  min-height: 72px;
  resize: vertical;
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer p {
  margin-bottom: 8px;
}

.page-hero {
  padding: 48px 0 8px;
}

.page-hero h1 {
  max-width: 16em;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  max-width: 46rem;
  margin-bottom: 0;
}

.grid-2:has(.page-card) {
  gap: 18px 16px;
}

.page-card {
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
}

.section .page-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.stage-price {
  margin-top: 18px;
  color: var(--text);
  font-size: 15px;
}

.demo-link {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .faq {
    grid-template-columns: 1fr;
  }

  .faq details {
    margin-top: 0;
  }
}

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

  .menu-btn {
    display: inline-flex;
    margin-left: auto;
    padding: 8px 14px;
    border-radius: var(--radius-control);
    background: var(--pill);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 0;
    z-index: 3;
    width: 84px;
    height: 40px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 20;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    margin-top: 8px;
  }
}

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

  .float,
  .float-bob,
  .shot,
  .story-fill {
    animation: none !important;
    transition: none !important;
  }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 36px 0 12px;
}

.stage-viewport {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  width: min(var(--max), calc(100% - 64px));
  height: auto;
  margin-inline: auto;
}

.floats {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
}

.floats.is-on {
  opacity: 1;
  visibility: visible;
}

.float {
  position: absolute;
  top: auto !important;
  bottom: 92px;
  width: min(240px, 18vw);
  z-index: 1;
}

.float-lg {
  width: min(280px, 20vw);
}

.orbit-l {
  left: auto;
  right: calc(50% + 280px);
}

.orbit-r {
  right: auto;
  left: calc(50% + 280px);
}

.float-bob {
  padding: 16px 18px;
  border: 1px solid #d6d3d1;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.14);
  animation: bob 7.5s ease-in-out infinite;
}

.float-bob p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.float-bob .ticket-kicker {
  color: var(--amber-ink);
}

.floats.is-on .float {
  animation: rise 0.7s ease both;
}

.floats.is-on .float:nth-child(2) {
  animation-delay: 0.12s;
}

.float-link {
  color: inherit;
  text-decoration: none;
}

.float-link .float-bob {
  background: var(--yellow);
  color: #fafaf9;
  font-weight: 600;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 13px;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d3d1;
}

.console {
  position: absolute;
  top: 28px;
  right: max(32px, calc(50% - 560px));
  bottom: auto;
  left: auto;
  z-index: 3;
  width: min(420px, 36vw);
  max-height: calc(100% - 280px);
  padding: 16px 16px 12px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.08);
  translate: none;
}

.console-grid {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: start;
}

.door-lg {
  width: 76px;
  height: 106px;
}

.seg {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.seg button,
.console select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.seg button {
  flex: 1;
  cursor: pointer;
}

.seg button.is-on {
  background: var(--yellow);
  color: #fafaf9;
}

.console label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.console input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--yellow-hover);
}

.console select {
  grid-column: 1 / -1;
  padding: 0 8px;
}

.console .ticket-price {
  margin-bottom: 6px;
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: start;
}

.console.console-inline {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  max-height: none;
  translate: none;
}

.console.console-inline model-viewer {
  width: 100%;
  height: 340px;
  margin-bottom: 12px;
  background: #f6f3ee;
  border-radius: 12px;
  --poster-color: #f6f3ee;
}

.example-steps {
  display: grid;
  gap: 12px;
  align-content: start;
}

.example-step {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.example-step .step-title,
.example-step .step-copy {
  display: block;
}

.example-step .step-title {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.example-step .step-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.example-step.is-on {
  border-color: #b45309;
  background: #fff7ed;
}

.example-step.is-on .step-no,
.example-step.is-on .step-title {
  color: #92400e;
}

.example-step.is-on .step-copy {
  color: var(--text);
}

.example-step .step-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #b45309;
}

.order-note {
  margin: 0 0 8px;
  color: #92400e;
  font-size: 14px;
  line-height: 1.4;
}

.example-layout .grid-4 {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .example-layout {
    grid-template-columns: 1fr;
  }
}

.console .ticket-price strong.is-fresh {
  animation: price-flash 0.45s ease;
}

.formula {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.4;
}

.stage-shot {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 3;
  order: 2;
  width: 100%;
  height: 560px;
  translate: none;
}

.stage-actions {
  margin-top: 22px;
  pointer-events: auto;
}

.shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
}

.shot.is-on {
  opacity: 1;
  visibility: visible;
}

.shot-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.08);
}

.shot-url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 13px;
}

.shot-url span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d3d1;
}

.shot-body,
.shot-embed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  min-height: 0;
}

.shot-body {
  flex: 1;
}

.shot-body-single {
  display: flex;
  grid-template-columns: 1fr;
  min-height: 0;
}

.shot-body-single model-viewer {
  flex: 1;
  width: 100%;
  min-height: 340px;
  height: 100%;
  background: #f6f3ee;
  border-radius: 12px;
  --poster-color: #f6f3ee;
}

.shot-controls {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.shot-controls label {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.shot-params {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.shot-finishes {
  display: flex;
  gap: 4px;
  align-items: center;
}

.shot-finishes span {
  flex: 0 0 11rem;
  color: var(--muted);
  font-size: 12px;
}

.shot-finishes button {
  flex: 1;
  min-height: 28px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.shot-finishes button.is-on {
  border-color: #fdba74;
  background: rgba(180, 83, 9, 0.12);
}

.shot-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shot-fields-full {
  flex: 1;
  align-content: center;
}

.shot-fields div {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.shot-fields .is-hot {
  border-color: #fdba74;
  background: #fff7ed;
}

.shot-fields dt {
  color: var(--muted);
  font-size: 12px;
}

.shot-fields dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.shot-page {
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
}

.shot-line {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #e7e5e4;
}

.shot-line-short {
  width: 46%;
}

.shot-embed {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.shot-note {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

.stage-copy {
  position: relative;
  top: auto;
  left: auto;
  z-index: 4;
  order: 1;
  width: auto;
  text-align: left;
  pointer-events: none;
}

.stage-copy::before {
  content: none;
}

.stage-copy .kicker {
  margin-bottom: 8px;
}

.stage-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1.02;
}

.stage-copy .lead {
  max-width: 36rem;
  margin: 10px 0 0;
  font-size: 18px;
}

.stage-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

.story {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.story.is-on {
  background: rgba(180, 83, 9, 0.1);
}

.story-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--yellow-hover);
  pointer-events: none;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 22px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes price-flash {
  from {
    color: var(--text);
  }

  to {
    color: var(--amber-ink);
  }
}

@media (max-width: 980px) {
  .stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 28px;
  }

  .stage-viewport {
    display: contents;
  }

  .floats {
    display: none;
  }

  .stage-copy,
  .stage-shot,
  .stage .console,
  .stage-nav {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(var(--max), calc(100% - 32px));
    max-height: none;
    margin-inline: auto;
    translate: none;
    text-align: left;
  }

  .stage-copy {
    order: 1;
    padding-top: 28px;
    pointer-events: auto;
  }

  .stage-copy::before {
    display: none;
  }

  .stage-copy h1 {
    font-size: 32px;
  }

  .stage-copy .lead {
    margin-bottom: 20px;
  }

  .stage-shot {
    order: 2;
    height: auto;
    min-height: 520px;
  }

  .stage .console {
    order: 2;
  }

  .stage-nav {
    order: 3;
    justify-content: flex-start;
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .stage-nav::-webkit-scrollbar {
    display: none;
  }

  .story {
    flex: 0 0 auto;
  }
}

.flow-stage {
  position: relative;
  margin-top: 8px;
}

.flow-wires {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.flow-wire {
  fill: none;
  stroke: #d6d3d1;
  stroke-width: 2;
}

.flow-wire-hot {
  fill: none;
  stroke: #b45309;
  stroke-width: 2.5;
  stroke-dasharray: 7 9;
  stroke-dashoffset: 0;
  opacity: 0;
}

.flow-wire-hot.is-on {
  opacity: 1;
  animation: flow-dash 0.9s linear infinite;
}

.flow-dot {
  fill: #b45309;
  opacity: 0;
}

.flow-dot.is-on {
  opacity: 1;
}

.flow-port {
  fill: #fff;
  stroke: #b45309;
  stroke-width: 2;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -32;
  }
}

.flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px 48px;
  align-items: start;
}

.flow-node {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
  animation: faq-float 6s ease-in-out infinite;
}

.flow-node:nth-child(2) { animation-delay: -2s; }
.flow-node:nth-child(3) { animation-delay: -3.5s; }
.flow-node:nth-child(4) { animation-delay: -1.2s; }
.flow-node:nth-child(5) { animation-delay: -4.4s; }

.flow-node[data-node="user"] { grid-column: 1; grid-row: 1; }
.flow-node[data-node="cabinet"] { grid-column: 2; grid-row: 1; }
.flow-node[data-node="server"] { grid-column: 1 / -1; grid-row: 2; }
.flow-node[data-node="erp"] { grid-column: 1; grid-row: 3; }
.flow-node[data-node="cad"] { grid-column: 2; grid-row: 3; }

.flow-node.is-step {
  border-color: #b45309;
  background: #fff7ed;
}

.flow-node h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.flow-node.is-step h3,
.flow-node.is-step .step-no {
  color: #92400e;
}

.flow-server {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  border-color: #b45309;
}

.flow-server strong {
  font-size: 16px;
  font-weight: 600;
}

.flow-server .ms {
  color: #b45309;
}

.flow-server.is-step {
  background: #fff7ed;
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.16);
}

.flow-ui model-viewer {
  width: 100%;
  height: 168px;
  background: #f6f3ee;
  border-radius: 12px;
  --poster-color: #f6f3ee;
}

.flow-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 0;
}

.flow-facts div {
  display: grid;
  gap: 2px;
}

.flow-facts dt {
  color: var(--faint);
  font-size: 12px;
}

.flow-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.flow-caption {
  margin: 0 0 6px;
  color: var(--faint);
  font-size: 12px;
}

.flow-sessions {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.flow-sessions li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.flow-sessions em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-btn {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.flow-btn.is-hot {
  border-color: #b45309;
  background: #b45309;
  color: #fafaf9;
}

.flow-doc {
  margin-top: 10px;
}

.flow-table-wrap {
  overflow-x: auto;
}

.flow-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.flow-table th,
.flow-table td {
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.flow-table th {
  color: var(--faint);
  font-weight: 500;
}

.flow-sessions li.flow-appear,
tr.flow-appear {
  display: none;
}

.flow-sessions li.flow-appear.is-in {
  display: flex;
  background: rgba(180, 83, 9, 0.08);
}

tr.flow-appear.is-in {
  display: table-row;
  background: rgba(180, 83, 9, 0.08);
}

.cad-window {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafaf9;
  overflow: hidden;
}

.cad-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #f5f5f4;
  color: var(--muted);
  font-size: 13px;
}

.cad-body {
  display: grid;
  grid-template-columns: 28px 1fr;
  min-height: 148px;
}

.cad-tools {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 8px 6px;
  background: #f5f5f4;
}

.cad-tools span {
  width: 14px;
  height: 14px;
  border: 1px solid #d6d3d1;
  border-radius: 3px;
  background: #fff;
}

.cad-view {
  position: relative;
  padding: 8px;
}

.cad-work {
  display: grid;
  gap: 8px;
}

.cad-stage {
  position: relative;
  height: 168px;
  background: #f6f3ee;
  border-radius: 8px;
  overflow: hidden;
}

.cad-stage model-viewer {
  width: 100%;
  height: 100%;
  background: #f6f3ee;
  --poster-color: #f6f3ee;
}

.cad-stage::after,
.cad-sheet::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: #f6f3ee;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.cad-sheet {
  position: relative;
}

.cad-sheet::after {
  background: #fff;
}

.cad-work.is-on .cad-stage::after,
.cad-work.is-sheet .cad-sheet::after {
  opacity: 0;
}

.sheet {
  border: 1px solid #1c1917;
  background: #fff;
  padding: 8px;
}

.sheet-views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet-cell {
  display: grid;
  grid-template-columns: 16px 1fr;
  grid-template-rows: auto 156px auto;
  gap: 2px 4px;
  margin: 0;
}

.sheet-cell figcaption {
  grid-column: 2;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.sheet-model {
  grid-column: 2;
  width: 100%;
  height: 156px;
  background: #f7f5f2;
  --poster-color: #f7f5f2;
}

.dim-v,
.dim-h {
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.dim-v {
  grid-row: 2;
  align-self: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 1px solid #b45309;
}

.dim-v-empty {
  border: 0;
}

.dim-h {
  grid-column: 2;
  border-top: 1px solid #b45309;
  padding-top: 2px;
}

.sheet-stamp {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin: 8px 0 0;
}

.sheet-stamp span {
  padding: 4px 10px;
  border: 1px solid #1c1917;
  font-size: 12px;
}

.sheet-stamp span + span {
  border-left: 0;
}

.sheet-paper {
  fill: #fff;
  stroke: none;
}

.sheet-frame,
.title-block rect {
  fill: none;
  stroke: #1c1917;
  stroke-width: 1.2;
}

.part-back,
.part-seat {
  fill: #f4efe6;
  stroke: #1c1917;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.part-arm {
  fill: #f7f3ec;
  stroke: #1c1917;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.part-leg {
  fill: #efe4d2;
  stroke: #1c1917;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.dim,
.dim-ext {
  stroke: #b45309;
  stroke-width: 1;
}

.dim {
  marker-start: url("#cad-arrow");
  marker-end: url("#cad-arrow");
}

.sheet-note,
.dim-text {
  fill: #1c1917;
  font-size: 11px;
  font-family: inherit;
}

.dim-text {
  fill: #92400e;
  text-anchor: middle;
}

.cad-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow-node[data-node="user"],
  .flow-node[data-node="cabinet"],
  .flow-node[data-node="server"],
  .flow-node[data-node="erp"],
  .flow-node[data-node="cad"] {
    grid-column: 1;
    grid-row: auto;
  }
}



#setup {
  padding-bottom: 0;
}

.setup-scroll {
  height: 460vh;
}

.setup-sticky {
  position: sticky;
  top: 84px;
  z-index: 1;
  height: calc(100vh - 108px);
}

.setup-sticky > .wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.setup {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-step {
  position: absolute;
  inset: 0 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 40px;
  align-items: center;
  margin: 0;
  opacity: 0;
}

.setup-step:first-child {
  opacity: 1;
}

.setup-pic {
  order: 1;
}

.setup-copy {
  order: 2;
}

.setup-step.is-flip .setup-pic {
  order: 2;
}

.setup-step.is-flip .setup-copy {
  order: 1;
}

.setup-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.setup-no {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #fff;
  color: var(--amber-ink);
  font-size: 16px;
  font-weight: 600;
}

.setup-copy h3 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.setup-copy p {
  margin: 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.setup-pic {
  display: grid;
  align-content: center;
  gap: 14px;
  height: min(560px, 64vh);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 25, 23, 0.07);
}

.setup-pic-form {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  gap: 8px;
  padding: 10px;
  overflow: hidden;
}

.fd-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fd-tabs span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.fd-tabs .is-on {
  border-color: var(--yellow);
  background: #fff7ed;
  color: var(--amber-ink);
}

.fd-add {
  border: 0 !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}

.fd-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 168px;
  gap: 8px;
  min-height: 0;
  flex: 1;
}

.fd-pane {
  min-height: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.fd-title,
.fd-group,
.fd-prop-h,
.fd-sec,
.fd-cols {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fd-group,
.fd-sec,
.fd-cols {
  text-transform: uppercase;
}

.fd-pane .ms {
  font-size: 14px;
}

.fd-item,
.fd-on,
.fd-prop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 3px 4px;
  border-radius: 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.fd-item .ms {
  color: var(--faint);
  font-size: 14px;
}

.fd-item.is-on,
.fd-on.is-on {
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px var(--yellow);
}

.fd-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fd-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fd-seg {
  display: flex;
  gap: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.fd-seg b,
.fd-seg span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

.fd-seg b {
  border-color: var(--yellow);
  background: #fff7ed;
  color: var(--amber-ink);
}

.fd-canvas {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
  padding: 16px 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle, #e7e5e4 1px, transparent 1px) 0 0 / 14px 14px,
    #fff;
}

.fd-widget {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.fd-widget span {
  width: 4.5rem;
}

.fd-widget b {
  min-width: 4.5rem;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafaf9;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.fd-widget.is-on {
  outline: 2px solid var(--yellow);
}

.fd-widget i {
  position: absolute;
  top: -9px;
  left: 4px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--yellow);
  color: #fafaf9;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.fd-sum {
  color: var(--amber-ink) !important;
  font-weight: 700 !important;
}

.fd-on {
  justify-content: space-between;
}

.fd-on em {
  color: var(--faint);
  font-style: normal;
}

.fd-cols,
.fd-prop {
  display: grid;
  grid-template-columns: 1fr 16px 1fr;
  gap: 4px;
}

.fd-prop i {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 2px;
  background: #f5f5f4;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.fd-prop b {
  overflow: hidden;
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-sec {
  margin-top: 4px;
  padding: 2px 4px;
  background: #f5f5f4;
}

.setup-pic-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}

.rules-car {
  position: relative;
  flex: 1;
  min-height: 0;
}

.rules-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  animation: rules-show 13.5s infinite;
}

.rules-slide:nth-child(2) { animation-delay: 4.5s; }
.rules-slide:nth-child(3) { animation-delay: 9s; }

@keyframes rules-show {
  0%, 26% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.rules-dots {
  display: flex;
  gap: 6px;
  margin: 0;
}

.rules-dots span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5f5f4;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  animation: rules-dot 13.5s infinite;
}

.rules-dots span:nth-child(2) { animation-delay: 4.5s; }
.rules-dots span:nth-child(3) { animation-delay: 9s; }

@keyframes rules-dot {
  0%, 26% {
    background: #fff7ed;
    color: var(--amber-ink);
  }
  33%, 100% {
    background: #f5f5f4;
    color: var(--faint);
  }
}

.rs-title,
.rs-bar,
.rs-head,
.rs-table p,
.rs-kicker,
.rs-fns p,
.rs-split aside p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.rs-title,
.rs-bar {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rs-title b,
.rs-bar b {
  padding: 2px 7px;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  background: #fff7ed;
  color: var(--amber-ink);
  font-size: 10px;
}

.rs-bar span:last-child {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.rs-table,
.rs-editor,
.rs-split {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.rs-table { padding: 6px; }
.rs-editor,
.rs-split { display: flex; flex: 1; flex-direction: column; }

.rs-head,
.rs-table p,
.rs-split aside p {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.rs-head {
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rs-table p span,
.rs-table b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-table b {
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
}

.rs-table .is-on,
.rs-split aside .is-on,
.rs-fns .is-on,
.rs-hint .is-on {
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px var(--yellow);
}

.rs-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 6px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafaf9;
}

.rs-ops span {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.rs-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  min-height: 0;
  flex: 1;
}

.rs-code {
  position: relative;
  padding: 10px;
  background: color-mix(in srgb, #fff 92%, #16a34a);
}

.rs-code code {
  display: block;
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.rs-code i {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin-left: 1px;
  background: var(--text);
  vertical-align: -2px;
}

.rs-hint {
  position: absolute;
  top: 34px;
  left: 10px;
  z-index: 1;
  width: 150px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.08);
}

.rs-hint li {
  padding: 4px 6px;
  border-radius: 4px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.rs-result {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: #ecfdf3;
  color: #166534;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.rs-fns {
  overflow: hidden;
  padding: 8px;
  border-left: 1px solid var(--line);
  background: #fafaf9;
}

.rs-kicker {
  justify-content: flex-start;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rs-fns p {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: 6px;
}

.rs-fns b {
  color: var(--amber-ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.rs-fns span,
.rs-split em {
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.rs-split {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
}

.rs-split aside {
  padding: 8px;
  border-right: 1px solid var(--line);
}

.rs-split aside p {
  justify-content: space-between;
  font-size: 12px;
}

.rs-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px;
}

.rs-main .rs-table b {
  max-width: 58%;
}

.rs-file {
  margin: 0;
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 700;
}

.rs-fill {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.rs-fill p {
  padding: 12px 10px;
  font-size: 14px;
}



.rules-car-2 .rules-slide,
.rules-car-2 .rules-dots span {
  animation-name: rules-show-2;
  animation-duration: 9s;
}

.rules-car-2 .rules-slide:nth-child(2),
.rules-car-2 .rules-dots span:nth-child(2) {
  animation-delay: 4.5s;
}

@keyframes rules-show-2 {
  0%, 42% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes rules-dot-2 {
  0%, 42% {
    background: #fff7ed;
    color: var(--amber-ink);
  }
  50%, 100% {
    background: #f5f5f4;
    color: var(--faint);
  }
}

.rules-car-2 .rules-dots span {
  animation-name: rules-dot-2;
}
@media (prefers-reduced-motion: reduce) {
  .rules-slide,
  .rules-car-2 .rules-slide,
  .rules-car-2 .rules-dots span,
  .rules-dots span {
    animation: none;
  }

  .rules-slide { opacity: 0; }
  .rules-slide:first-child { opacity: 1; }
  .rules-dots span:first-child {
    background: #fff7ed;
    color: var(--amber-ink);
  }
}

.pic-label,
.pic-url {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}

.pic-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaf9;
  font-size: 18px;
}

.pic-row span {
  color: var(--muted);
}

.pic-row.is-on {
  border-color: var(--yellow);
  background: #fff7ed;
}

.pic-price b {
  color: var(--amber-ink);
}

.setup-pic-model {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #f6f3ee;
}

.setup-pic-model model-viewer {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  background: #f6f3ee;
}

.pic-chips {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 16px 14px;
}

.pic-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.pic-doc-line {
  height: 10px;
  margin: 0;
  border-radius: 5px;
  background: #f5f5f4;
}

.pic-doc-line.is-short {
  width: 72%;
}

.pic-url {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pic-url span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e7e5e4;
}

.pic-live {
  margin: 0;
  color: var(--amber-ink);
  font-size: 16px;
  font-weight: 600;
}

.setup-meter {
  height: 3px;
  border-radius: 99px;
  background: #e7e5e4;
}

.setup-meter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

@media (max-width: 860px) {
  .setup-scroll {
    height: auto;
  }

  .setup-sticky {
    position: static;
    height: auto;
  }

  .setup-step,
  .setup-step:first-child,
  .setup-step.is-flip {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
    opacity: 1;
  }

  .setup-step.is-flip .setup-pic {
    order: 0;
  }

  .setup-pic {
    height: 280px;
  }

  .setup-copy p {
    font-size: 17px;
  }
}

#setup.is-static .setup-scroll {
  height: auto;
}

#setup.is-static .setup-sticky {
  position: static;
  height: auto;
}

#setup.is-static .setup-step,
#setup.is-static .setup-step.is-flip {
  position: relative;
  inset: auto;
  margin-bottom: 36px;
  opacity: 1;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 28px 0 72px;
}

.docs-side {
  position: sticky;
  top: 88px;
}

.docs-side-title {
  margin: 0 0 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-side a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.docs-side a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.docs-article h1 {
  max-width: 18em;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
}

.docs-article h2 {
  max-width: none;
  margin: 28px 0 10px;
  font-size: 22px;
}

.docs-article p,
.docs-article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.docs-article a {
  color: var(--amber-ink);
}

.docs-article code {
  font-size: 0.92em;
}

.docs-article ul,
.docs-article ol {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.docs-home {
  padding-top: 28px;
}

.docs-home h2 {
  max-width: none;
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.docs-home h2:first-of-type {
  margin-top: 0;
}

.docs-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 8px;
}

.docs-index--path {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-index a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.06);
  color: inherit;
  text-decoration: none;
}

.docs-index a:hover {
  border-color: #d6d3d1;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.1);
}

.docs-index strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.docs-index span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.docs-schemes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-bottom: 8px;
}

.docs-schemes .docs-figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.06);
}

.docs-schemes .docs-figure img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  object-position: center;
  background: #fafaf9;
}

.cms-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin: 16px 0 20px;
}

.cms-flow__node {
  flex: 1 1 150px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.cms-flow__node strong {
  display: block;
}

.cms-flow__node span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.cms-flow__arrow {
  align-self: center;
  color: var(--amber-ink);
  font-size: 20px;
}

.docs-figure {
  margin: 0 0 20px;
}

.docs-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.docs-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .docs-index--path,
  .docs-schemes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-schemes .docs-figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .docs-layout {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .docs-side {
    position: static;
  }

  .docs-index,
  .docs-index--path,
  .docs-schemes {
    grid-template-columns: 1fr;
  }

  .docs-schemes .docs-figure:last-child {
    grid-column: auto;
  }

  .docs-schemes .docs-figure img {
    height: 200px;
  }
}

/* learn catalog */
.learn-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
}
.learn-progress p { margin: 0; }
.learn-progress__label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.learn-progress__value { margin-top: 2px; font-size: 20px; font-weight: 700; }
.learn-progress__bar {
  flex: 1;
  min-width: 160px;
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}
.learn-progress__bar span { display: block; height: 100%; width: 0; background: var(--yellow); }
.learn-block {
  margin-bottom: 16px;
  padding: 18px 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
}
.learn-block__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.learn-block__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1c1917;
  color: #fafaf9;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.learn-block h2 { margin: 0 0 4px; font-size: 20px; }
.learn-block__lead { margin: 0; color: var(--muted); }
.learn-badge {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.learn-lessons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.learn-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.learn-lesson:hover { border-color: #d6d3d1; box-shadow: 0 8px 20px rgba(28, 25, 23, 0.06); }
.learn-lesson.is-locked { opacity: 0.55; pointer-events: none; }
.learn-lesson__state {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: var(--yellow);
  flex-shrink: 0;
}
.learn-lesson__state.is-done { background: #ecfdf5; color: #047857; }
.learn-lesson__state.is-locked { background: var(--bg); color: var(--faint); }
.learn-lesson__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.learn-lesson__title { font-weight: 600; }
.learn-lesson__summary { color: var(--muted); font-size: 14px; }
.learn-lesson__meta { color: var(--faint); font-size: 13px; white-space: nowrap; }
.learn-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.learn-reset { border: 0; background: none; color: var(--faint); font: inherit; text-decoration: underline; cursor: pointer; }
.learn-back { margin: 0 0 8px; }
.learn-back a { color: var(--muted); text-decoration: none; }
.learn-back a:hover { color: var(--text); }
.learn-lesson-body { max-width: 760px; }
.learn-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.learn-steps > li {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.06);
}
.learn-steps h2 { margin: 0 0 8px; font-size: 18px; }
.learn-steps p { margin: 0 0 8px; color: var(--muted); }
.learn-steps p:last-child { margin-bottom: 0; }
.learn-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.learn-choices label { display: flex; gap: 8px; align-items: flex-start; color: var(--text); }
.learn-steps > li.is-ok { border-color: #86efac; }
.learn-steps > li.is-bad { border-color: #fecaca; }
.learn-quiz__result { margin: 14px 0; font-weight: 600; color: var(--text); }
.learn-quiz .btn { margin-top: 14px; }
.learn-mark { margin-top: 18px; }
@media (max-width: 860px) {
  .learn-block__head { flex-wrap: wrap; }
  .learn-badge { margin-left: 48px; }
  .learn-lesson { align-items: flex-start; }
  .learn-lesson__meta { white-space: normal; }
}

/* demo thumbnails */
.card:has(.demo-shot) {
  padding: 0 0 20px;
  overflow: hidden;
}
.demo-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.card:has(.demo-shot) > :not(.demo-shot) {
  margin-left: 20px;
  margin-right: 20px;
}
.demo-shot + * {
  margin-top: 16px;
}

.card:has(.demo-shot) p + p {
  margin-top: 10px;
}

.help-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0 72px;
}
.help-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.06);
  padding: 14px 12px 16px;
}
.help-toc__title { margin: 0 0 8px; padding: 0 8px; font-size: 14px; font-weight: 700; }
.help-toc__title a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; }
.help-toc ul { list-style: none; margin: 0; padding: 0; }
.help-toc ul.is-nested { margin: 0 0 4px 12px; padding-left: 8px; border-left: 1px solid var(--line); }
.help-toc li a {
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
  text-decoration: none;
}
.help-toc li a:hover { background: #fafaf9; color: var(--text); }
.help-toc a[aria-current="page"] { background: #fff7ed; color: var(--amber-ink); font-weight: 650; }
.help-caret { width: 0.8rem; flex-shrink: 0; color: var(--faint); }
.help-topic {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.06);
  padding: 28px 32px 36px;
}
.help-topic h1 { margin: 0 0 14px; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.2; }
.help-topic h2 { margin: 22px 0 8px; font-size: 18px; }
.help-topic p, .help-topic li { color: var(--muted); font-size: 15px; line-height: 1.6; }
.help-topic .kicker { margin-bottom: 8px; }
.help-crumbs { margin: 0 0 8px; color: var(--faint); font-size: 14px; }
.help-crumbs a { color: var(--amber-ink); text-decoration: none; }
.help-location { margin: 0 0 14px; padding: 10px 14px; background: #fafaf9; border-radius: 12px; }
.help-table { width: 100%; border-collapse: collapse; }
.help-table th, .help-table td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 10px 12px; line-height: 1.5; }
.help-table th { width: 34%; font-weight: 650; color: var(--text); }
.help-code {
  margin: 8px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaf9;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-x: auto;
}
.help-steps, .help-links { margin: 0; padding-left: 1.2rem; }
.help-links a, .help-topic a { color: var(--amber-ink); }
.help-example { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.help-example:last-child { border-bottom: 0; padding-bottom: 0; }
.help-example__title { margin: 0 0 6px; color: var(--text); font-weight: 650; }
.help-note { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--yellow); border-radius: 12px; background: #fff7ed; }
.help-note strong { color: var(--text); }
.help-note p { margin: 6px 0 0; }
.help-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.help-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.04);
}
.help-card:hover { border-color: #d6d3d1; }
.help-card strong { color: var(--text); font-size: 16px; }
.help-card span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 860px) {
  .help-layout { grid-template-columns: 1fr; padding-top: 12px; }
  .help-toc { position: static; max-height: 280px; }
  .help-cards { grid-template-columns: 1fr; }
  .help-topic { padding: 20px 16px 24px; }
  .help-table th { width: 40%; }
}

