/* product-shot.css — the Command Hub, shown.
 *
 * A designed, honesty-labelled depiction of the macOS Command Hub / command bar
 * (src/pages/CommandHub.tsx + src/components/layout/CommandBar.tsx), rendered in
 * the SITE's own tokens so it reads as one system with the page it sits on, not
 * a foreign screenshot. Loaded on / and /architecture/ only.
 *
 * CONSTRAINTS THIS FILE OBEYS (see /css/site.css header + scripts/verify-site.mjs):
 *   - CSP style-src 'self': zero inline styles; every rule lives here.
 *   - AA 4.5:1 on every leaf text node vs --bg (#0a0a0c). The app's real ultra-dim
 *     labels (white/30, white/45) FAIL that floor, so the shot uses the gate-proven
 *     ladder --fg / --muted / --dim instead — same hierarchy, legal contrast.
 *   - One woff2 (Geist Mono). The app title is serif in-app; on this mono site the
 *     shot stays mono so it belongs to the page. Hierarchy from size + colour.
 *   - No em-dashes (BRAND §6); the site separator is "·".
 *   - No motion: the reduced-motion gate requires zero animated elements.
 * Honesty + FIDELITY note: the record-aware read shown is the KEYLESS on-device
 * "first read" (FirstReadCard: no LLM, no API key), which genuinely reads the
 * record on-device. It is NOT the command bar and NOT the Council. The command
 * bar's free-text chat is STATELESS by design (command_engine.rs:133; CommandBar
 * "NO context injection"), so it is shown only in its real placeholder state,
 * never returning a record-aware answer. Data is labelled Demo; the caption
 * scopes on-Mac (first read) vs cloud (typed questions). No invented statistic.
 */

/* 560px was the cap at every width, which meant a 1600px-wide capture rendered at ~35% scale
   on a 1440px screen with hundreds of pixels of empty column either side of it — the section
   named "What it looks like" showing something nobody could read, in a viewport with room to
   spare. The phone source (see index.html's <picture>) fixes small screens; this fixes large
   ones. Capped at 1000px so the shot never outgrows the text column it belongs to. */
.ps-figure {
  max-width: 560px;
  margin: 4px auto 0;
  padding: 0;
}

@media (min-width: 900px) {
  .ps-figure { max-width: min(1000px, 100%); }
}
.ps-figure--stack { margin-top: 30px; }

/* Real-screenshot frame (landing). The mock classes further down are still used
   on /architecture/, which keeps the current-accurate depiction. */
.ps-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ── The window ────────────────────────────────────────────────────────── */
.ps-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.ps-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
}
.ps-dots { display: inline-flex; gap: 8px; }
.ps-dot { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ps-dot--r { background: #ff5f57; }
.ps-dot--y { background: #febc2e; }
.ps-dot--g { background: #28c840; }
.ps-winlabel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  white-space: nowrap;
}

/* ── The body ──────────────────────────────────────────────────────────── */
.ps-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 22px;
}

.ps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ps-title {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg);
}
.ps-demo {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: hsl(40 90% 60%);
  background: rgba(240, 182, 66, 0.12);
  border: 1px solid rgba(240, 182, 66, 0.4);
  border-radius: 999px;
  padding: 4px 9px;
}

/* The keyless "first read" card — the on-device, no-LLM record read
   (src/components/CommandHub/FirstReadCard.tsx). NOT the command bar and NOT the
   Council: this surface genuinely reads the record on-device, with no key. */
.ps-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 15px 16px;
}
.ps-card-eyebrow {
  margin: 0 0 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.ps-read-text {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* The command bar, shown in its emerald focus state (mirrors the app's
   focus-within cue). The emerald edge is decoration, never text. */
.ps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--emerald-edge);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 12px 16px;
}
.ps-caret {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  color: var(--muted);
}
.ps-placeholder {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  color: var(--dim);
}

/* ── Honesty caption ───────────────────────────────────────────────────── */
.ps-caption {
  margin: 16px auto 0;
  max-width: 46ch;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--dim);
  text-align: center;
}

@media (max-width: 520px) {
  .ps-body { padding: 16px 14px 18px; }
  .ps-winlabel { font-size: 10px; }
  .ps-title { font-size: 15px; }
}
