/* Keep the help section separate from the simulator and its embedded pages. */
.preview-help {
  background: #101215;
  color: #eceff3;
  padding: 40px clamp(24px, 4vw, 72px) 76px;
}
.preview-help-inner {
  max-width: 1520px;
  margin-inline: auto;
  padding-top: 48px;
  border-top: 1px solid #ffffff14;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 112px);
}
.preview-help-eyebrow {
  margin: 0 0 20px;
  color: #a3b6d6;
  font: 600 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.preview-help h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 650;
  text-wrap: balance;
}
.preview-help-contact {
  margin: 0;
  color: #aeb8c6;
  font-size: 14px;
  line-height: 1.8;
}
.preview-help-description {
  max-width: 48ch;
  margin: 0 0 24px;
  color: #aeb8c6;
  font-size: 14px;
  line-height: 1.85;
}
.preview-help details:target { scroll-margin-top: 24px; }
.preview-help a {
  color: #b8cdf3;
  text-decoration: underline;
  text-decoration-color: #b8cdf380;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.preview-help-contact a {
  display: inline-block;
  padding-block: 6px;
}
.preview-help a:hover { color: #fff; text-decoration-color: currentColor; }
.preview-help a:focus-visible,
.preview-help summary:focus-visible {
  outline: 2px solid #b8cdf3;
  outline-offset: 5px;
  border-radius: 2px;
}
.preview-help details { border-bottom: 1px solid #ffffff14; }
.preview-help summary {
  min-height: 64px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 550;
  color: #c9d0dc;
  -webkit-tap-highlight-color: transparent;
}
.preview-help details:first-child summary { padding-top: 0; min-height: 44px; }
.preview-help summary::-webkit-details-marker { display: none; }
.preview-help summary:hover,
.preview-help details[open] summary { color: #fff; }
.preview-help .faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #a3b6d6;
}
.preview-help .faq-icon::before,
.preview-help .faq-icon::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}
.preview-help .faq-icon::after {
  transform: rotate(90deg);
  transition: transform .18s ease-out;
}
.preview-help details[open] .faq-icon::after { transform: rotate(0); }
.preview-help .faq-answer { padding: 0 40px 22px 0; }
.preview-help .faq-answer p {
  max-width: 65ch;
  margin: 0;
  color: #aeb8c6;
  font-size: 13px;
  line-height: 1.85;
}
.preview-help .faq-answer strong { color: #d6dde7; font-weight: 600; }
.preview-help .faq-answer a { color: #d6dde7; text-decoration: underline; text-underline-offset: 3px; }
.preview-expanded .preview-help { display: none; }
@media (max-width: 700px) {
  .preview-help { padding: 28px 22px 44px; }
  .preview-help-inner { grid-template-columns: minmax(0, 1fr); padding-top: 32px; gap: 32px; }
  .preview-help-eyebrow { margin-bottom: 14px; }
  .preview-help h2 { margin-bottom: 20px; }
  .preview-help summary { gap: 18px; }
  .preview-help details:first-child summary { padding-top: 20px; min-height: 64px; }
  .preview-help .faq-answer { padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-help .faq-icon::after { transition: none; }
}
