/* Inquiry walkthrough. Every selector is scoped to this hero artifact. */
.hero-workflow { min-width: 0; width: 100%; }
.hero-workflow .hw-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font: 11px/1.5 "Geist Mono", monospace; }
.hero-workflow .hw-panel { border: 1px solid #333; border-radius: 12px; background: var(--panel); padding: 28px; }
.hero-workflow .hw-status { display: flex; align-items: baseline; gap: 16px; min-height: 52px; }
.hero-workflow .hw-count { flex-shrink: 0; color: var(--muted); font: 11px/1.5 "Geist Mono", monospace; font-variant-numeric: tabular-nums; }
.hero-workflow h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.03em; margin: 0; text-wrap: initial; }
.hero-workflow .hw-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 16px 0 28px; list-style: none; }
.hero-workflow .hw-progress li { border-top: 2px solid #454545; padding-top: 8px; color: var(--muted); font: 10px/1.5 "Geist Mono", monospace; }
.hero-workflow .hw-progress li[aria-current] { border-color: var(--fg); color: var(--fg); }
.hero-workflow .hw-progress li[data-complete] { border-color: #a1a1a1; }
/* Overlapping grid cells reserve the tallest state, including at text zoom.
   Inactive cells are invisible and inert, not removed from layout. */
.hero-workflow .hw-stages { display: grid; }
.hero-workflow .hw-stage { grid-area: 1 / 1; visibility: hidden; min-width: 0; }
.hero-workflow .hw-stage[data-active] { visibility: visible; }
.hero-workflow .hw-label { margin: 0 0 16px; color: var(--muted); font: 11px/1.5 "Geist Mono", monospace; }
.hero-workflow .hw-request { margin: 0 0 20px; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -0.035em; font-weight: 500; }
.hero-workflow .hw-context { color: var(--muted); font-size: 15px; margin: 0; }
.hero-workflow .hw-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 24px 0 0; }
.hero-workflow .hw-details { margin: 0; }
.hero-workflow .hw-details div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #333; }
.hero-workflow dt { color: var(--muted); font-size: 12px; }
.hero-workflow dd { margin: 0; font-size: 14px; }
.hero-workflow .hw-draft { border-left: 2px solid #666; padding-left: 16px; font-size: 16px; line-height: 1.6; }
.hero-workflow .hw-draft p { margin: 0 0 16px; }
.hero-workflow .hw-draft p:last-child { margin-bottom: 0; }
.hero-workflow .hw-review { margin: 0 0 24px; font-size: 32px; letter-spacing: -0.035em; line-height: 1.2; }
.hero-workflow .hw-checks { padding: 0; margin: 0; list-style: none; font-size: 14px; }
.hero-workflow .hw-checks li { padding: 8px 0 8px 24px; position: relative; }
.hero-workflow .hw-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--muted); }
.hero-workflow .hw-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #333; margin-top: 28px; padding-top: 20px; }
.hero-workflow .hw-controls[hidden] { display: none; }
.hero-workflow button { font: 500 13px/1.3 Geist, system-ui, sans-serif; min-height: 44px; border-radius: 999px; cursor: pointer; padding: 12px 16px; border: 1px solid transparent; }
.hero-workflow .hw-next { background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-workflow .hw-next:hover { background: #dedede; }
.hero-workflow .hw-forward { display: grid; }
.hero-workflow .hw-forward button { grid-area: 1 / 1; }
.hero-workflow .hw-forward button[hidden] { display: flex; visibility: hidden; }
.hero-workflow .hw-back { background: transparent; color: var(--fg); }
.hero-workflow .hw-back:hover:not(:disabled) { border-color: #666; }
.hero-workflow .hw-back:disabled { color: var(--muted); cursor: default; }
.hero-workflow button:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.hero-workflow .hw-disclosure, .hero-workflow .hw-fallback { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-workflow[data-started] .hw-stage[data-active] { animation: hw-arrive 180ms ease-out; }
  @keyframes hw-arrive { from { opacity: 0.6; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 480px) {
  .hero-workflow .hw-panel { padding: 20px; }
  .hero-workflow h2 { font-size: 20px; }
  .hero-workflow .hw-status { min-height: 48px; gap: 12px; }
  .hero-workflow .hw-request { font-size: 28px; }
  .hero-workflow .hw-review { font-size: 28px; }
  .hero-workflow .hw-controls { gap: 8px; }
  .hero-workflow button { padding-inline: 12px; }
}
