.guide {
  max-width: 1150px;
  padding-bottom: 60px;
}
.guide > p {
  max-width: 760px;
  line-height: 1.8;
  color: #66786d;
}
.guide h1 {
  margin-bottom: 20px;
}
.guide h2 {
  font-size: 23px;
  margin: 36px 0 16px;
}
.guide h3 {
  font-size: 17px;
}
.guide p,
.guide li {
  font-size: 14px;
  line-height: 1.8;
}
.guide a:not(.brand) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide pre {
  background: #233a3c;
  color: #edf3ec;
  border-radius: 14px;
  padding: 24px;
  overflow: auto;
  line-height: 1.7;
  font-size: 12px;
}
.guide code {
  font-family: Consolas, monospace;
}
.guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.guide td,
.guide th {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid #dce3dc;
  vertical-align: top;
}
.table-scroll {
  overflow: auto;
}
.guide button,
.guide select {
  padding: 9px 14px;
  border: 1px solid #cad7ca;
  border-radius: 8px;
  background: white;
  color: #233a3c;
}
.guide button:hover {
  background: #edf2e9;
}
.overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}
.overlay-demo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 510px;
  background: linear-gradient(145deg, #243638, #4d7166);
  color: #fff;
}
.overlay-demo.light {
  background: linear-gradient(145deg, #ece4d2, #d2ddc1);
  color: #344d40;
}
.overlay-demo .scene-copy {
  padding: 28px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.scene-copy h3 {
  font-size: 28px;
  margin: 8px 0;
}
.scene-copy p {
  font-size: 12px;
  max-width: 230px;
}
.overlay-demo canvas,
.overlay-demo iframe {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 400px;
  border: 0;
  pointer-events: none;
}
.example-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}
.example-controls label {
  font-size: 13px;
}
#example-status {
  min-height: 24px;
}
.callout {
  padding: 20px 24px;
  border: 1px solid #d7dfd3;
  border-radius: 12px;
  background: white;
}
.integration-panel {
  margin: 20px 0;
  padding: 22px;
  background: white;
  border: 1px solid #e4e8e2;
  border-radius: 14px;
}
.integration-panel p {
  font-size: 12px;
  color: #66786d;
}
.integration-panel textarea {
  width: 100%;
  min-height: 72px;
  margin: 10px 0;
  font:
    12px/1.6 Consolas,
    monospace;
  border: 1px solid #d7dfd3;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
}
.integration-panel .secondary {
  width: auto;
  padding: 12px 18px;
  margin-right: 12px;
}
@media (max-width: 700px) {
  .overlay-grid {
    grid-template-columns: 1fr;
  }
  .guide {
    padding-top: 24px;
  }
  .guide h1 {
    font-size: 30px;
  }
  .topbar {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    padding: 16px;
    gap: 18px;
  }
  .topbar nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    height: auto;
    font-size: 11px;
  }
  .guide td,
  .guide th {
    padding: 10px;
  }
  .guide pre {
    padding: 16px;
  }
  .overlay-demo {
    height: 480px;
  }
}
