/* A small public doorway; complete agent contracts keep their stable URLs. */
.agent-first { --agent-accent: #155b92; }
.agent-accent { color: var(--agent-accent); }
.agent-first .site-header { justify-content: flex-start; }
.agent-front h1 { max-width: 14ch; text-wrap: balance; }
.agent-front .lede { margin-top: 1.5rem; text-wrap: pretty; }
.agent-front .handoff { margin-top: clamp(3rem, 7svh, 4.5rem); padding-top: 0; border: 0; }
.agent-front h2 { margin: 0 0 0.75rem; font-size: 0.88rem; }
.copy-box { position: relative; }
.copy-box pre { margin: 0; padding-inline-end: 4.2rem; border: 0; border-radius: 8px; text-wrap: pretty; }
.copy-button {
  position: absolute;
  inset-block-start: 0.65rem;
  inset-inline-end: 0.65rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #696b64;
  cursor: pointer;
}
.copy-button:hover { background: #eeede8; color: #222320; }
.copy-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.copy-button svg { width: 19px; height: 19px; }
.copy-button .check-icon { display: none; }
.copy-button.copied .copy-icon { display: none; }
.copy-button.copied .check-icon { display: block; }
.copy-button.copied { color: var(--agent-accent); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.live-result { display: inline-block; margin-top: 1.2rem; overflow-wrap: anywhere; }
.live-result span { color: #696b64; }
.agent-reference { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.75rem; }
.agent-front .foot-link { margin-top: 3rem; }
.one-page { padding-block-start: clamp(3.5rem, 9svh, 6rem); }
.one-page .handoff { margin-top: 2.75rem; }
.landing-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.25rem, 4svh, 3rem);
}
.landing-page h1 { max-width: none; }
.landing-page .lede { display: flex; align-items: baseline; gap: 0.65ch; margin-top: 0.6rem; font: italic 400 clamp(1.15rem, 1.7vw, 1.333rem)/1.5 system-ui, sans-serif; }
.landing-page .comment-prefix { flex: none; font-style: normal; user-select: none; }
.landing-page .audience-copy { min-width: 0; }
.landing-page .landing-handoff { margin-top: 3rem; padding-top: 0; border: 0; }
.landing-page .landing-handoff h2, .reference-front .handoff h2 { color: #b04c7a; }
.landing-links { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; margin-top: 1.75rem; }
.landing-links:has(details[open]) { grid-template-columns: 1fr; }
.more-prompts summary { display: flex; align-items: center; gap: 0.5rem; width: max-content; color: #696b64; font-size: 0.85rem; cursor: pointer; list-style: none; }
.more-prompts summary::-webkit-details-marker { display: none; }
.more-prompts summary::after { content: '+'; font-size: 1rem; line-height: 1; }
.more-prompts[open] summary::after { content: '−'; }
.more-prompts summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.reference-link { font-size: 0.85rem; }
.prompt-intro {
  max-width: 55ch;
  margin: 1.75rem 0 1rem;
  color: #444640;
  font-size: 0.93rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.prompt-list { list-style: none; margin: 0; padding: 0; }
.prompt-direction { margin: 0 0 1rem; color: #444640; font-size: 0.93rem; line-height: 1.7; text-wrap: pretty; }
.prompt-list li {
  position: relative;
  min-height: 60px;
  padding: 1rem 3.5rem 1rem 0;
}
.prompt-list li + li { border-top: 1px solid #e8e6df; }
.prompt-question { display: block; font-size: 0.93rem; line-height: 1.65; overflow-wrap: anywhere; text-wrap: pretty; }
.prompt-list .copy-button {
  inset-block-start: 50%;
  inset-inline-end: 0;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}
@media (max-width: 480px) {
  .landing-page h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .landing-page .lede { font-size: 1.15rem; line-height: 1.5; }
  .landing-page .landing-handoff { margin-top: 2.5rem; }
  .landing-handoff pre { padding-block: 1rem; font-size: 0.93rem; line-height: 1.65; }
}
@media (prefers-color-scheme: dark) {
  .landing-page .landing-handoff h2, .reference-front .handoff h2 { color: #e7a0c1; }
  .agent-first { --agent-accent: #9bc9ed; }
  .copy-button, .live-result span { color: #a0a39a; }
  .copy-button:hover { background: #30322e; color: #ecece7; }
  .more-prompts summary { color: #a0a39a; }
  .prompt-intro, .prompt-direction { color: #c4c6be; }
  .prompt-list li + li { border-color: #30322e; }
}
