.discovery-guide {
  box-sizing: border-box;
  width: min(calc(100% - 36px), 1080px);
  margin: clamp(20px, 4vw, 48px) auto;
  color: #2c2143;
  background: linear-gradient(108deg, #f9f4ffed, #ebedfbeb 66%, #e5eff6ed);
  border: 1px solid #58426a36;
  border-radius: 20px;
  box-shadow: inset 0 1px #ffffffc9, 0 14px 36px -30px #2d205c93;
  font-family: 'DM Sans', system-ui, sans-serif;
  scroll-margin-top: 90px;
}
.discovery-guide [hidden] { display: none !important; }
.discovery-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(18px, 3vw, 36px);
  cursor: pointer;
  list-style: none;
}
.discovery-guide summary::-webkit-details-marker { display: none; }
.dg-summary-text { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -.035em; }
.dg-toggle {
  position: relative; flex: 0 0 30px; height: 30px; border: 1px solid #52416470; border-radius: 50%;
}
.dg-toggle::before, .dg-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px;
  background: currentColor; transform: translate(-50%, -50%);
}
.dg-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.discovery-guide[open] .dg-toggle::after { display: none; }
.dg-body { padding: 0 clamp(18px, 3vw, 36px) clamp(18px, 3vw, 30px); }
.dg-intro { margin: 0 0 16px; max-width: 66ch; font-size: 1rem; line-height: 1.5; }
.dg-samples, .dg-topics, .dg-static { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-samples button, .dg-topics button, .dg-static a, .dg-speech {
  border: 1px solid #5d477f55; border-radius: 18px; padding: 8px 13px;
  background: #ffffff96; color: #392256; font: 600 .9rem/1.25 'DM Sans', system-ui, sans-serif;
  text-align: left; cursor: pointer;
}
.dg-samples button:hover, .dg-topics button:hover, .dg-speech:hover { background: white; }
.dg-form { display: grid; gap: 6px; margin: 20px 0 0; max-width: 760px; }
.dg-form label { color: #302241; font-size: .95rem; font-weight: 650; }
.dg-entry { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-entry input, .dg-entry button {
  min-height: 44px; box-sizing: border-box; border-radius: 11px; font: inherit;
}
.dg-entry input { flex: 1 1 14rem; min-width: 0; width: 100%; padding: 9px 12px; color: #282033; background: #fff; border: 1px solid #897b9c; }
.dg-entry button { padding: 0 18px; background: #3d254f; color: white; border: 1px solid #3d254f; font-weight: 650; cursor: pointer; }
.dg-entry button:hover { background: #5b3573; }
.dg-status:not(:empty, .dg-visually-hidden) { margin: 14px 0 0; }
.dg-status:empty { margin: 0; }
.discovery-guide .dg-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dg-result { margin-top: 16px; padding: 16px 18px; max-width: 760px; border-inline-start: 3px solid #806199; background: #ffffff80; border-radius: 0 12px 12px 0; }
.dg-answer h3 { margin: 0 0 6px; font: 700 1.08rem/1.3 'DM Sans', system-ui, sans-serif; color: inherit; }
.dg-answer p { margin: 0 0 10px; max-width: 66ch; font-size: 1rem; line-height: 1.5; }
.dg-answer a, .dg-static a { color: #492566; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dg-speech { margin-top: 13px; }
.discovery-guide :focus-visible { outline: 3px solid #603989; outline-offset: 3px; }
.discovery-guide summary:focus-visible { outline-offset: -4px; border-radius: 20px; }
@media (pointer: coarse) {
  .dg-samples button, .dg-topics button, .dg-speech { min-height: 44px; }
}
@media (max-width: 440px) {
  .dg-entry button { width: 100%; }
  .dg-result { padding: 12px; }
}
