/* aipozi.com/prompts: the AI prompt finder. Its own file (site.css keeps its fingerprint); reuses whois.css's form. */

.pf-hero { --stage-h: clamp(760px, 62vw, 960px); }
.pf-wrap { position: relative; z-index: 2; padding-top: clamp(72px, 8vw, 128px); padding-bottom: clamp(56px, 7vw, 104px); }
.pf-wrap .crumbs { margin: 0 0 18px; color: var(--text-3); }
.pf-display { max-width: 13ch; font-size: clamp(2.75rem, 1.1rem + 4.4vw, 5.5rem); }
.pf-form { max-width: 600px; }
.pf-form .btn { min-width: 148px; }

.pf-out { margin-top: clamp(36px, 4.5vw, 60px); max-width: 920px; }
.pf-out:empty { display: none; }

.pf-card {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(14,30,38,.78), rgba(8,20,27,.72));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 40px 80px -40px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
.pf-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(127,227,192,.55), rgba(240,169,74,.45), transparent); }
.pf-eyebrow { margin: 0; font-size: 13px; font-weight: 500; color: var(--accent-text); }
.pf-title { margin: 8px 0 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; overflow-wrap: anywhere; outline: none; }
.pf-sum { margin: 10px 0 0; color: var(--text-2); font-size: var(--fs-16); line-height: 1.5; max-width: 40em; }
.pf-fine { margin: 18px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-3); }

/* ---------- reading: the same four steps as the home preview ---------- */
.pf-reading { max-width: 600px; }
.pf-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; }
.pf-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--text-3); font-size: 15px; transition: color .3s, background .3s, box-shadow .3s; }
.pf-steps li[data-status="active"] { color: #fff; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pf-steps li[data-status="done"] { color: var(--text-2); }
.pf-si { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); display: grid; place-items: center; color: #06121a; }
.pf-si svg { width: 11px; height: 11px; }
li[data-status="active"] .pf-si { border-color: rgba(255,255,255,.2); border-top-color: #fff; animation: pf-spin .9s linear infinite; }
li[data-status="done"] .pf-si { border-color: var(--state-named); background: var(--state-named); }
.pf-sd { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16em; }
@keyframes pf-spin { to { transform: rotate(360deg); } }

/* ---------- results ---------- */
.pf-rhead { max-width: 46em; }
.pf-honest { margin: 14px 0 0; font-size: var(--fs-14); line-height: 1.5; color: var(--text-3); }

.pf-how { list-style: none; counter-reset: how; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-how li { counter-increment: how; position: relative; padding: 14px 16px 14px 46px; border-radius: 12px; font-size: var(--fs-14); line-height: 1.45; color: var(--text-2); background: rgba(255,255,255,.035); border: 1px solid var(--rule); }
.pf-how li::before { content: counter(how); position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--accent-text); background: rgba(79,209,165,.1); box-shadow: inset 0 0 0 1px rgba(127,227,192,.28); }
.pf-how b { color: var(--text); font-weight: 600; }

.pf-qs { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pf-q { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.pf-n { width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); background: rgba(255,255,255,.06); }
.pf-qmain { min-width: 0; }
.pf-text { margin: 0; font-size: var(--fs-16); line-height: 1.45; color: var(--text); letter-spacing: -0.005em; overflow-wrap: anywhere; }
.pf-why { margin: 6px 0 0; font-size: var(--fs-14); line-height: 1.45; color: var(--text-3); }
.pf-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.pf-meta:empty { display: none; }
.pf-intent, .pf-demand { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; font-size: 12px; font-weight: 500; color: var(--text-2); border-radius: var(--r-pill); border: 1px solid var(--rule); background: rgba(255,255,255,.03); white-space: nowrap; }
/* Demand evidence (from the Citewake engine, when it ships): the slot is styled, nothing fills it yet. */
.pf-demand::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--text-3); }
.pf-demand[data-level="high"]::before { background: var(--state-named); }
.pf-demand[data-level="medium"]::before { background: var(--state-partial); }

.pf-acts { display: flex; gap: 8px; align-items: center; }
.pf-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  font: inherit; font-size: var(--fs-14); font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.pf-act:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.pf-act:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.pf-act svg { width: 12px; height: 12px; flex: none; }
.pf-act[data-copy] svg { width: 14px; height: 14px; color: var(--text-2); }
.pf-go { color: #06231a; background: #8ae6c1; border-color: transparent; font-weight: 600; }
.pf-go:hover { background: #a6f0d2; border-color: transparent; }
.pf-act.is-done { color: #8ae6c1; border-color: rgba(127,227,192,.36); }
.pf-act.is-done svg { color: #8ae6c1; }

.pf-funnel { margin: 22px 0 0; font-size: var(--fs-14); line-height: 1.55; color: var(--text-2); max-width: 52em; }
.pf-funnel a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; white-space: nowrap; }
.pf-funnel a:hover { text-decoration-color: currentColor; }

/* ---------- messages ---------- */
.pf-msg { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; max-width: 640px; }
.pf-msg-i svg { width: 20px; height: 20px; margin-top: 2px; color: var(--state-partial-text); }
.pf-msg-h { margin: 6px 0 0; font-size: var(--fs-18); font-weight: 600; letter-spacing: -0.012em; outline: none; text-wrap: balance; }
.pf-msg .pf-eyebrow + .pf-msg-h { margin-top: 6px; }
.pf-msg > div > .pf-msg-h:first-child { margin-top: 0; }
.pf-msg-p { margin: 6px 0 0; color: var(--text-2); font-size: var(--fs-14); line-height: 1.5; }
.pf-msg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pf-btn { height: 40px; padding: 0 18px; font-size: 14px; }

@media (max-width: 860px) {
  .pf-how { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pf-q { grid-template-columns: 28px minmax(0, 1fr); row-gap: 14px; }
  .pf-acts { grid-column: 2; }
}
@media (max-width: 640px) {
  .pf-card { border-radius: 16px; }
  .pf-q { column-gap: 12px; }
  .pf-acts { grid-column: 1 / -1; }
  .pf-acts .pf-act { flex: 1; }
  .pf-sd { max-width: 9em; }
  .pf-funnel a { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { li[data-status="active"] .pf-si { animation: none; border-top-color: rgba(255,255,255,.2); border-color: #fff; } }

/* Headings take focus for screen readers when a result appears; no ring for that. */
[data-pf-head]:focus { outline: none; }
