/* Sandbox page styles — derived from tutorial.css but with a larger single window */
.sandbox-full {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  overflow: visible;
  gap: 12px;
  padding-bottom: 64px;
  height: 100%;
}

.sandbox-window {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  height: 100%;
}

.sandbox-window__inner {
  width: 100%;
  max-width: 1150px;
  padding: 24px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

/* Use a taller aspect ratio so the single sandbox equals the combined tutorial + person windows */
.sandbox-frame {
  width: 100%; /* taller rectangle (approx double the height) */
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

.sandbox-panel {
  width: 100%;
  background: #0b0b0d;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* Header alignment */
.tutorial-nav .nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 20px 0;
}
.tutorial-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}
.tutorial-nav .brand img {
  height: 1em;
  width: auto;
}
.tutorial-nav .tutorial-cta {
  justify-self: end;
}

/* Prevent animations inside sandbox */
.sandbox-window * {
  transition: none !important;
}
.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Prevent horizontal overflow */
html,
body {
  overflow-x: hidden;
}

/* Small helpers */
.lead {
  color: var(--muted);
}

/* Make sure sandbox has extra gap before footer */
.sandbox-window {
  margin-bottom: 96px;
}
.brand {
  margin-top: 1.5rem;
}
