/* /people-finder in the structure of a people-search launch page (ANALYSIS.md), in Delegate's own tokens.
   Every colour comes from the site's tokens (light and dark), except the terminal, which is dark in both themes. */
:root { --ps-term-ink: #EFFAFF; --ps-term-muted: #B6A5C4; --ps-term-line: #2E2138; --ps-w: 1080px; }
.ps { --sec: clamp(56px, 7vw, 96px); }
.ps .ps-wrap { width: 100%; max-width: var(--ps-w); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ps h1, .ps h2 { font-family: var(--font-display); font-weight: var(--display-weight, 300); color: var(--display); text-wrap: balance; letter-spacing: -0.02em; }
.ps h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; text-align: center; margin: 0; }
.ps h2 .ps-l2 { display: block; color: var(--accent-text); font-weight: 400; }
.ps .ps-lede { max-width: 620px; margin: 16px auto 0; text-align: center; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ps .ps-fine { margin: 20px auto 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ps section { padding-block: var(--sec); }
.ps section + section { border-top: 0; }
.ps .ps-alt { background: var(--canvas-subtle); }
.ps .ps-mono { font-family: var(--font-mono); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps .ps-num { font-variant-numeric: tabular-nums; }

/* reveal once; content stays visible without script */
html.js .ps .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
html.js .ps .rv.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.ps-hero { padding: clamp(40px, 6vw, 72px) 0 8px; text-align: center; background: var(--hero-bg, var(--canvas)); }
.ps-h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.05; margin: 0 auto; max-width: 980px; }
.ps-who { display: inline-flex; align-items: center; gap: .18em; vertical-align: baseline; }
.ps-tile { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: .22em; background: var(--card); box-shadow: 0 1px 2px rgba(18,6,26,.12), 0 6px 18px rgba(45,16,67,.14); transform: translateY(.06em); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-tile img { width: 62%; height: 62%; object-fit: contain; }
.ps-tile svg { width: 62%; height: 62%; color: var(--ink); }
.ps-t-claude svg { color: #D97757; }
.ps-tile img { border-radius: 18%; }

.ps-stack { display: inline-grid; text-align: left; }
.ps-stack > * { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; }
.ps-stack > :not(.on) { opacity: 0; transform: translateY(.25em); pointer-events: none; }
.ps-name { color: var(--accent-text); }
.ps-hero .ps-lede { max-width: 680px; font-size: clamp(16px, 1.4vw, 19px); color: var(--body); }
.ps-hero .ps-lede b { color: var(--ink); font-weight: 600; }
.ps-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.ps-ctas .btn { min-height: 48px; }
.ps-runs { margin: 14px 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; }
.ps-runs span { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.ps-runs svg { width: 15px; height: 15px; }

/* ---------- the live run (hero terminal) ---------- */
.ps-run { padding: 32px 0 var(--sec); }
.ps-pick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 auto 16px; }
.ps-pick button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-pick button:hover { background: var(--state-hover); }
.ps-pick button:active { transform: scale(.97); }
.ps-pick button[aria-pressed="true"] { border-color: var(--accent-text); background: var(--chosen); }
.ps-pick button:focus-visible, .ps-ctl:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ps-pick img { width: 22px; height: 22px; border-radius: 5px; }
.ps-ctl { min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--accent-text); font: 15px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Pause sits in the run row as its own centred pill (founder comment, 17 Nov: "we need better alignment"): .ps-pick button gave it the run pills' logo padding plus .ps-ctl's underline. */
.ps-pick .ps-ctl { justify-content: center; gap: 8px; min-width: 92px; padding: 0 16px; margin-left: 4px; text-decoration: none; color: var(--muted); }
.ps-pick .ps-ctl:hover { color: var(--ink); }
.ps-pick .ps-ctl::before { content: ""; flex: none; box-sizing: border-box; width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ps-pick .ps-ctl[aria-pressed="true"]::before { width: 0; height: 0; border-left: 9px solid currentColor; border-right: 0; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.ps-term { max-width: 960px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgba(18,6,26,.06), 0 24px 60px rgba(45,16,67,.16); border: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-strip { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px; background: var(--terminal-bg); color: var(--ps-term-ink); font: 14px/1.4 var(--font-mono); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-strip svg { flex: none; width: 18px; height: 18px; color: var(--ps-term-ink); }
.ps-strip .ps-pr { color: var(--ps-term-muted); }
.ps-typed { min-width: 0; overflow-wrap: anywhere; }
.ps-cur { display: inline-block; width: 8px; height: 17px; margin-left: 2px; vertical-align: -3px; background: #AEE5FF; animation: ps-blink 1s steps(1) infinite; }
@keyframes ps-blink { 50% { opacity: 0; } }
.ps-pause { margin-left: auto; flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ps-term-muted); cursor: pointer; transition: color .15s, background-color .15s; }
.ps-pause:hover { color: var(--ps-term-ink); background: rgba(239,250,255,.08); }
.ps-pause:focus-visible { outline: 2px solid #AEE5FF; outline-offset: 2px; }
.ps-pause::before { content: ""; box-sizing: border-box; width: 8px; height: 10px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.ps-pause[aria-pressed="true"]::before { width: 0; height: 0; border-left: 8px solid currentColor; border-right: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transform: translateX(1px); }
.ps-reply { margin-left: auto; flex: none; color: #AEE5FF; opacity: 0; transition: opacity .4s; white-space: nowrap; }
.ps-reply.on { opacity: 1; }
.ps-body { display: grid; grid-template-columns: minmax(0, 1fr) 264px; }
.ps-sheet { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.ps-sheet th { height: 34px; padding: 0 10px; text-align: left; font: 500 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-sheet td { height: 40px; padding: 0 10px; border-bottom: 1px solid var(--card-divider); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-sheet tr:last-child td { border-bottom: 0; }
.ps-sheet tbody tr:nth-child(n+8) { display: none; }
.ps-sheet tbody tr:nth-child(7) td { border-bottom: 0; }
.ps-sheet .c-n { width: 44px; color: var(--muted); font: 12px var(--font-mono); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-sheet .c-co { width: 30%; }
.ps-sheet .c-ck { width: 128px; }
.ps-cell { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; transition: opacity .3s ease, transform .3s ease; }
.ps-cell.pre { opacity: 0; transform: translateY(4px); }
.ps-cell img { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.ps-cell .ps-dot { width: 18px; height: 18px; flex: none; }
.ps-sheet .ps-miss { color: var(--muted); }
.ps-sheet .ps-em { font: 13px var(--font-mono); letter-spacing: -0.03em; color: var(--body); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-more { margin-left: 6px; font-size: 12px; color: var(--muted); }
.ps-pill { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 22px; background: var(--chip); color: var(--ink); }
.ps-pill.ok { background: var(--accent-subtle); color: var(--ink); font-weight: 600; }
.ps-hatch { background: var(--canvas-subtle); }
.ps-board { padding: 16px 16px 14px; border-left: 1px solid var(--hairline); background: var(--canvas-subtle); display: flex; flex-direction: column; gap: 8px; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-board-h { font: 500 12px var(--font-mono); color: var(--ink); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-board-s { font-size: 12px; color: var(--muted); margin-top: -4px; }
.ps-step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--hairline); transition: opacity .3s, border-color .3s, background-color .3s; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-step.dim { opacity: .5; }
.ps-step.on { border-color: var(--accent-text); background: var(--chosen); }
.ps-step i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--chip); }
.ps-step i svg, .ps-step i img { width: 16px; height: 16px; }
.ps-step b { font-size: 13px; font-weight: 600; color: var(--ink); }
.ps-step span { grid-column: 2; font-size: 12px; color: var(--muted); }
.ps-step em { grid-row: 1; grid-column: 3; font: normal 12px var(--font-mono); color: var(--ink); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-step small { display: none !important; }
.ps-step small { grid-row: 2; grid-column: 3; font: 11px var(--font-mono); color: var(--muted); text-align: right; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-badge { margin-top: auto; padding: 6px 10px; border-radius: 8px; background: var(--accent-subtle); font: 12px var(--font-mono); color: var(--ink); text-align: center; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 42px; padding: 0 18px; border-top: 1px solid var(--hairline); font: 12px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-status { display: none; }
.ps-meter { margin-left: auto; font: 600 14px var(--font-mono); color: var(--accent-text); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-cap { margin: 14px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- receipt ---------- */
.ps-receipt { max-width: 800px; margin: 32px auto 0; border-radius: 14px; background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 10px 30px rgba(45,16,67,.08); overflow: hidden; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-receipt table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ps-receipt th { padding: 12px 18px; text-align: right; font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-receipt th:first-child, .ps-receipt td:first-child { text-align: left; }
.ps-receipt td { padding: 13px 18px; text-align: right; border-bottom: 1px solid var(--card-divider); color: var(--ink); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-receipt td small { color: var(--muted); font-size: 13px; }
.ps-receipt td.m { font: 14px var(--font-mono); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-receipt tr.hi td:first-child, .ps-receipt tr.hi td.m { color: var(--accent-text); font-weight: 600; }
.ps-receipt tr:last-child td { border-bottom: 0; font-weight: 600; }
.ps-provs { margin: 18px auto 0; max-width: 860px; font-size: 13px; color: var(--muted); }
div.ps-stack { display: grid; }
.ps-provs-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.ps-provs span { display: inline-flex; align-items: center; gap: 7px; }
.ps-provs b { color: var(--ink); font-weight: 600; }
.ps-provs svg, .ps-provs img { width: 18px; height: 18px; color: var(--ink); }
[data-s] .ps-sw { transition: opacity .25s; }


/* receipt annotation (founder comment, 17 Nov): hand-drawn arrow to the run total */
.ps-rc { max-width: 800px; margin: 0 auto; }
.ps-rc .ps-receipt { margin-top: 0; }
.ps-receipt tr.ps-tot td { font-weight: 600; color: var(--ink); }
.ps-receipt tr.ps-tot td.m { color: var(--accent-text); font-size: 16px; }
.ps-anno { display: flex; justify-content: flex-end; align-items: flex-end; gap: 4px; margin: 2px 34px 0 0; color: var(--accent-text); }
.ps-arrow { width: 110px; height: 74px; flex: none; }
.ps-hand { font-family: "Caveat", "Segoe Print", cursive; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; color: var(--accent-text); max-width: 21ch; text-align: right; margin: 0 0 8px; transform: rotate(-2deg); }
.ps-why { list-style: none; margin: 28px auto 0; padding: 0; display: grid; gap: 12px; max-width: 800px; font-size: 17px; color: var(--ink); }
.ps-why li { position: relative; padding-left: 28px; }
.ps-why li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.ps-provname { --pv-logo: var(--ink); vertical-align: -2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ps-provname { --pv-logo: #FFFFFF; } }
:root[data-theme="dark"] .ps-provname { --pv-logo: #FFFFFF; }
.ps-provname .pv { display: block; width: var(--w); height: 16px; background-color: var(--pv-logo); -webkit-mask: var(--m) left center / contain no-repeat; mask: var(--m) left center / contain no-repeat; }
@media (max-width: 640px) { .ps-anno { margin-right: 8px; } .ps-arrow { width: 80px; height: 56px; } .ps-why { font-size: 16px; } }
/* ---------- person profile (founder comment, 17 Nov): one person, every attribute, each with its source and price ---------- */
.dz { max-width: 1000px; margin: 30px auto 0; }
.dz-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.dz-pick button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 52px; height: 52px; padding: 0; border: 1px solid var(--hairline); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; transition: background-color .15s, border-color .15s; }
.dz-pick button:hover { background: var(--state-hover); }
.dz-pick button[aria-pressed="true"] { border-color: var(--accent-text); background: var(--chosen); }
.dz-pick button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.dz-mini svg { width: 28px; height: 28px; display: block; }
.dz-frame { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 1px 2px rgba(18,6,26,.06), 0 24px 60px rgba(45,16,67,.16); text-align: left; }
.dz-ask { display: grid; min-width: 0; }
.dz-ask > span { grid-area: 1 / 1; transition: opacity .35s ease; overflow-wrap: anywhere; }
.dz-ask > span:not(.on) { opacity: 0; }
.dz-stage { display: grid; }
.dz-p { grid-area: 1 / 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); transition: opacity .4s ease, visibility 0s linear 0s; }
.dz-p:not(.is-on) { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.dz-who { display: flex; flex-direction: column; align-items: center; padding: 28px 18px; border-right: 1px solid var(--hairline); background: var(--canvas-subtle); text-align: center; }
.dz-av { position: relative; width: 148px; height: 148px; }

.dz-ring { position: absolute; inset: 0; width: 148px; height: 148px; transform: rotate(-90deg); }
.dz-ring circle { fill: none; stroke: var(--accent-text); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--fill, 0) * 100); transition: stroke-dashoffset .5s cubic-bezier(.2,.8,.2,1); }
.dz-name { margin-top: 14px; font: 500 20px/1.25 var(--font-body); color: var(--ink); }
.dz-role { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--body); }
.dz-loc { margin-top: 2px; font-size: 13px; color: var(--muted); }
.dz-cards { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dz-card { position: relative; padding: 11px 13px 12px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--card); min-height: 116px; transition: border-color .3s, background-color .3s; }
.dz-card.is-busy { border-color: var(--accent-text); background: var(--chosen); }
.dz-h { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; column-gap: 8px; }
.dz-h i { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--ink); }
.dz-h i svg { width: 14px; height: 14px; }
.dz-h > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.dz-h small { font-size: 11.5px; color: var(--muted); }
.dz-mono { font-family: var(--font-mono); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.dz-b { margin-top: 9px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.4; color: var(--body); transition: opacity .35s ease, transform .35s ease; }
.dz-card:not(.got) .dz-b { opacity: 0; transform: translateY(4px); }
.dz-card:not(.got)::after { content: ""; position: absolute; left: 13px; right: 30%; top: 52px; height: 9px; border-radius: 5px; background: var(--hairline); box-shadow: 0 18px 0 var(--hairline); opacity: .7; }
.dz-card.got::after { content: none; }
.dz-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dz-line b { font-weight: 500; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-line b.dz-mono { font-size: 12.5px; }
.dz-k { flex: none; width: 74px; font-size: 12px; color: var(--muted); }
.dz-q { margin: 0; padding-left: 10px; border-left: 2px solid var(--accent-text); color: var(--ink); font-size: 14px; }
.dz-meta { font-size: 12px; color: var(--muted); }
.dz-soc { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.dz-tag { font-size: 11.5px; font-weight: 600; color: var(--accent-text); }
.dz-st { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dz-ago { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.dz-cv { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--hairline); display: grid; gap: 4px; }
.dz-cv li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
.dz-cv li::before { content: ""; position: absolute; left: -16px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); }
.dz-cv li + li::before { background: var(--hairline-strong); }
.dz-cv b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-cv span { grid-row: 2; font-size: 12px; color: var(--muted); }
.dz-cv em { grid-row: 1; grid-column: 2; font-style: normal; font-size: 12px; color: var(--muted); }
.dz-c-hist .dz-h i { background: var(--accent-subtle); }
.dz-foot .dz-done { font-family: var(--font-mono); }
@media (max-width: 860px) {
  .dz-p { grid-template-columns: minmax(0, 1fr); }
  .dz-who { flex-direction: row; gap: 14px; padding: 16px; border-right: 0; border-bottom: 1px solid var(--hairline); text-align: left; flex-wrap: wrap; }
  .dz-av { width: 84px; height: 84px; }
  .dz-av > svg:first-child { inset: 5px; width: 74px; height: 74px; }
  .dz-ring { width: 84px; height: 84px; }
  .dz-who .dz-name { margin-top: 0; }
}
@media (max-width: 640px) { .dz-cards { grid-template-columns: minmax(0, 1fr); padding: 10px; } .dz-card { min-height: 0; } .dz-soc { grid-template-columns: 58px minmax(0, 1fr); } .dz-soc .dz-ago { display: none; } }
@media (prefers-reduced-motion: reduce) { .dz-p, .dz-b, .dz-ring circle, .dz-ask > span { transition: none; } }


/* ---------- benchmark (founder comment, 17 Nov): agents alone vs with Delegate ---------- */
.bm { margin: 40px auto 0; max-width: 720px; }
.bm-plot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 8vw, 96px); align-items: end; height: 340px; padding: 0 clamp(8px, 4vw, 48px); border-bottom: 1px solid var(--hairline); }
.bm-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bm-v { font: 400 clamp(34px, 5vw, 52px)/1 var(--font-mono); letter-spacing: -0.04em; color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.bm-col.hi .bm-v { color: var(--accent-text); }
.bm-bar { display: block; width: min(220px, 100%); height: calc(var(--v) * 0.32%); min-height: 8px; border-radius: 14px 14px 0 0; background: var(--hairline); transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.bm-plot .bm-bar { height: calc(var(--v) / 100 * 250px); }
.bm-col.hi .bm-bar { background: linear-gradient(180deg, var(--stripe, #AEE5FF), var(--accent-text)); }
html.js .bm:not(.on) .bm-bar { transform: scaleY(0); }
.bm-name { order: 3; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-size: 15px; color: var(--ink); text-align: center; }
.bm-col { position: relative; }
.bm-col .bm-name { position: absolute; top: 100%; }
.bm-name strong { font-weight: 600; color: var(--accent-text); }
.bm-mk { width: 16px; height: 16px; color: var(--ink); }
.bm-axis { margin-top: 64px; text-align: center; font: 13px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
@media (max-width: 640px) { .bm-plot { height: 280px; } .bm-plot .bm-bar { height: calc(var(--v) / 100 * 200px); } .bm-name { font-size: 13.5px; } .bm-axis { margin-top: 72px; } }
@media (prefers-reduced-motion: reduce) { .bm-bar { transition: none; } html.js .bm:not(.on) .bm-bar { transform: none; } }


/* AI-generated portraits of made-up people (FLUX.2 via Delegate) */
.dz-ph-maya { background-image: url("/assets/people-finder/img/css-b36d293e3b.jpg"); }
.dz-ph-jonas { background-image: url("/assets/people-finder/img/css-4ab45913eb.jpg"); }
.dz-ph-priya { background-image: url("/assets/people-finder/img/css-83d3ae9c8c.jpg"); }
.dz-ph { display: block; border-radius: 50%; background-size: cover; background-position: center; }
.dz-av > .dz-ph { position: absolute; inset: 8px; width: 132px; height: 132px; }
.dz-mini .dz-ph { width: 42px; height: 42px; }
@media (max-width: 860px) { .dz-av > .dz-ph { inset: 5px; width: 74px; height: 74px; } }
/* until the people search lands the photo is unknown: an anonymous face covers it */
.dz-av::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cg fill='%238a8294'%3E%3Ccircle cx='12' cy='8' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/g%3E%3C/svg%3E") 50% 100% / 72% no-repeat; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.dz-who[data-stage="0"] .dz-av::after, .dz-who[data-stage="1"] .dz-av::after { opacity: 1; transition: none; }
/* name, role and location are grey bars until the step that finds them */
.dz-who .dz-name, .dz-who .dz-role, .dz-who .dz-loc { border-radius: 6px; transition: color .35s ease, background-color .35s ease; }
.dz-who[data-stage="0"] .dz-name, .dz-who[data-stage="0"] .dz-role, .dz-who[data-stage="0"] .dz-loc,
.dz-who[data-stage="1"] .dz-role, .dz-who[data-stage="1"] .dz-loc { color: transparent; background-color: var(--hairline); transition: none; }
@media (max-width: 860px) { .dz-av::after { inset: 5px; } }

/* run card annotation: hand-drawn arrow to the run total (founder comment, 17 Nov) */
.ps-under { max-width: 960px; margin: 0 auto; }
.ps-under .ps-anno { margin: 0 6px 0 0; }
.ps-under .ps-why { width: fit-content; max-width: 100%; margin: 8px auto 0; text-align: left; }
.bm { margin-bottom: 56px; }
.ps-notes { padding-block: 28px 36px !important; }
.ps-notes p { max-width: 760px; margin: 0 auto; font-size: 12.5px; line-height: 1.55; color: var(--muted); text-align: center; }

/* price units (founder comment, 17 Nov): one tile per kind of lookup, cheapest Delegate price */
.pu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 900px; margin: 34px auto 0; }
.pu-h { font: 500 12px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.pu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pu-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); }
.pu-list i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--chip); color: var(--accent-text); }
.pu-list i svg { width: 17px; height: 17px; }
.pu-list span { font-size: 15px; color: var(--ink); }
.pu-list b { font: 500 13.5px var(--font-mono); color: var(--accent-text); white-space: nowrap; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
@media (max-width: 720px) { .pu { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* run picker groups + people runs (founder comment, 17 Nov) */
.ps-pick-i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--accent-text); }
.ps-pick-i svg { width: 15px; height: 15px; }
.ps-pick-h { font: 500 11px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 2px 0 6px; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-pick-sep { width: 1px; height: 24px; background: var(--hairline); margin: 0 8px; }
.ps-sheet .ps-post { color: var(--ink); font-style: italic; }
.ps-sheet tr.ps-skip td { opacity: .55; }
.ps-term.is-people .ps-sheet .c-co { width: 22%; }
.ps-term.is-people .ps-sheet .c-ct { width: 27%; }
.ps-term.is-people .ps-sheet .c-ck { width: 150px; }
.ps-step i svg { color: var(--ink); }
@media (max-width: 640px) { .ps-pick-sep { display: none; } .ps-pick-h { width: 100%; text-align: center; margin: 6px 0 0; } }

/* profile v2 (founder comments, 17 Nov): socials with platform marks, sources row */
.dz-c-soc { grid-column: 1 / -1; }
.dz-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dz-post { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--canvas-subtle); border: 1px solid var(--hairline); }
.dz-post p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.dz-post .dz-ago { grid-column: 2; margin: 0; }
.dz-plat { grid-row: span 2; width: 22px; height: 22px; color: var(--ink); }
.dz-plat svg { width: 22px; height: 22px; display: block; }
.dz-src { display: inline-flex; align-items: center; gap: 8px; }
.dz-src-l { font: 11px var(--font-mono); color: var(--muted); margin-right: 2px; }
.dz-src-i { display: grid; place-items: center; width: 20px; height: 20px; background: none; border: 0; opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.dz-src-i.on { opacity: 1; transform: none; }
.dz-src-i svg, .dz-src-i img { filter: grayscale(1); }
.dz-src-i svg, .dz-src-i img { width: 18px; height: 18px; color: var(--ink); border-radius: 3px; }
.dz-card { min-height: 0; }
@media (max-width: 640px) { .dz-posts { grid-template-columns: minmax(0, 1fr); } }
.ps-term.is-people .ps-sheet td.c-em { white-space: normal; }
.ps-term.is-people .ps-sheet .ps-post { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; }
.ps-term.is-people .ps-sheet td { height: 52px; }
@media (max-width: 640px) { .ps-term.is-people .ps-sheet .c-co { width: 30%; } .ps-term.is-people .ps-sheet .c-ct { width: 36%; } .ps-term.is-people .ps-sheet .c-ck { width: auto; } }

/* pricing tree (founder comment, 17 Nov): one agent, two branches, one leaf per kind of lookup */
.pt { max-width: 860px; margin: 40px auto 0; text-align: center; }
.pt-root { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: var(--btn-fill); color: var(--btn-text); font-size: 15px; font-weight: 500; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stripe, #AEE5FF); box-shadow: 0 0 0 4px rgba(174,229,255,.25); }
.pt-rail { position: relative; height: 44px; }
.pt-rail::before { content: ""; position: absolute; left: 50%; top: 0; height: 22px; border-left: 1.5px solid var(--hairline-strong); }
.pt-rail::after { content: ""; position: absolute; left: 25%; right: 25%; top: 22px; height: 22px; border: 1.5px solid var(--hairline-strong); border-bottom: 0; border-radius: 14px 14px 0 0; }
.pt-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; text-align: left; }
.pt-col { display: flex; flex-direction: column; align-items: center; }
.pt-branch { padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--hairline-strong); background: var(--card); font: 500 12px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.pt-leaves { position: relative; list-style: none; margin: 0; padding: 16px 0 0; width: 100%; max-width: 360px; display: grid; gap: 10px; }
.pt-leaves::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 20px; border-left: 1.5px solid var(--hairline-strong); }
.pt-leaves li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); }
.pt-leaves i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--chip); color: var(--accent-text); }
.pt-leaves i svg { width: 16px; height: 16px; }
.pt-leaves span { font-size: 15px; color: var(--ink); }
.pt-leaves b { font: 500 13.5px var(--font-mono); color: var(--accent-text); white-space: nowrap; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
html.js .pt .pt-leaves li { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .4s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.25s + var(--i) * 70ms); }
html.js .pt.in .pt-leaves li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .pt .pt-leaves li { opacity: 1; transform: none; transition: none; } }
@media (max-width: 720px) { .pt-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } .pt-rail::after { left: 50%; right: auto; width: 0; border-radius: 0; border-top: 0; border-right: 0; } }

/* price per record (founder comment, 17 Nov): one short bar chart */
.pb { max-width: 720px; margin: 36px auto 0; }
.pb-cap { margin: 0 0 14px; text-align: center; font: 12px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.pb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pb-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr) 54px; align-items: center; gap: 14px; }
.pb-l { font-size: 15px; color: var(--ink); text-align: right; }
.pb-t { height: 14px; border-radius: 7px; background: var(--chip); overflow: hidden; }
.pb-t i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 7px; background: var(--accent-text); transform-origin: left; }
.pb-list b { font: 500 14px var(--font-mono); color: var(--accent-text); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
html.js .pb .pb-t i { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.2s + var(--i) * 60ms); }
html.js .pb.in .pb-t i { transform: none; }
.pb-note { margin: 22px 0 0; text-align: center; font-size: 17px; color: var(--ink); }
@media (max-width: 600px) { .pb-list li { grid-template-columns: 112px minmax(0, 1fr) 46px; gap: 10px; } .pb-l { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { html.js .pb .pb-t i { transform: none; transition: none; } }

.dz-meta2 { grid-column: 2; display: flex; align-items: center; gap: 12px; margin-top: 4px; font: 12px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.dz-st2 { display: inline-flex; align-items: center; gap: 4px; }
.dz-st2 svg { width: 13px; height: 13px; }
.dz-meta2 .dz-ago { margin-left: auto; }
/* ---------- one skill, four buys ---------- */
.ps-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 34px auto 0; padding: 0; list-style: none; }
.ps-job { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-job-strip { display: flex; gap: 8px; align-items: baseline; padding: 11px 14px; background: var(--terminal-bg); color: var(--ps-term-ink); font: 13px var(--font-mono); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-job-strip span { color: var(--ps-term-muted); }
.ps-job-stage { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 14px; min-height: 196px; }
.ps-job-row { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; background: var(--canvas-subtle); font-size: 14px; color: var(--ink); }
.ps-job-row img, .ps-job-row .ps-dot { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.ps-job-row .r { margin-left: auto; font: 12px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-job-row.dim { opacity: .55; }
.ps-job-row.hi { background: var(--chosen); }
.ps-bar { flex: 0 0 72px; height: 6px; border-radius: 3px; background: var(--card-divider); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: calc(var(--w) * 100%); background: var(--accent-text); border-radius: 3px; transform-origin: left; }
.ps-job-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--card-divider); font: 12px var(--font-mono); color: var(--muted); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-job-foot b { color: var(--ink); font-weight: 500; }

/* ---------- pinned comparison ---------- */
.ps-pin { padding: 0; }
.ps-track { height: 220vh; }
.ps-stage { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 72px 32px; }
.ps-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 760px; margin: 34px auto 0; width: 100%; }
.ps-grp { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ps-cols { display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 230px; width: 100%; }
.ps-col { position: relative; width: min(64px, 38%); height: 100%; display: flex; align-items: flex-end; }
.ps-col i { display: block; width: 100%; height: calc(var(--v) / 10 * 100%); border-radius: 8px 8px 3px 3px; background: var(--hairline); transform-origin: bottom; transform: scaleY(var(--p, 1)); }
.ps-col.hi i { background: var(--accent-text); }
.ps-col b { position: absolute; left: 0; right: 0; bottom: calc(var(--v) / 10 * 100% * var(--p, 1) + 6px); text-align: center; font: 600 15px var(--font-mono); color: var(--ink); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-col.hi b { color: var(--accent-text); }
.ps-grp-name { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--ink); }
.ps-grp-name img { width: 20px; height: 20px; border-radius: 5px; }
.ps-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-size: 14px; color: var(--ink); }
.ps-key span { display: inline-flex; align-items: center; gap: 8px; }
.ps-key i { width: 14px; height: 14px; border-radius: 3px; background: var(--hairline); }
.ps-key .hi i { background: var(--accent-text); }
.ps-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin: 28px auto 0; border-radius: 14px; background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 10px 30px rgba(45,16,67,.08); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-stats > div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.ps-stats > div + div { border-left: 1px solid var(--card-divider); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-stats b { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.ps-stats span { font-size: 14px; line-height: 1.35; color: var(--ink); }

/* ---------- pricing ---------- */
.ps-price { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 36px; align-items: center; max-width: 900px; margin: 36px auto 0; }
.ps-plist { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ps-plist li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.ps-plist i { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--chip); }
.ps-plist i svg, .ps-plist i img { width: 18px; height: 18px; color: var(--ink); }
.ps-plist b { font-weight: 600; color: var(--ink); }
.ps-plist span { grid-column: 2; font-size: 13px; color: var(--muted); }
.ps-plist em { grid-row: span 2; font: normal 14px var(--font-mono); color: var(--ink); } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-divider { align-self: stretch; background: var(--hairline); }
.ps-big p { margin: 0; }
.ps-big .k { font-size: 14px; color: var(--muted); }
.ps-big .v { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 9vw, 104px); line-height: 1; color: var(--accent-text); letter-spacing: -0.03em; }
.ps-big .u { font-size: 17px; color: var(--ink); margin-top: 4px; }
.ps-big .n { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 380px; }

/* ---------- tools ---------- */
.ps-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 34px auto 0; padding: 0; list-style: none; }
.ps-tool { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-tool.used { box-shadow: 0 8px 24px rgba(45,16,67,.10); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-tool i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--chip); }
.ps-tool i svg, .ps-tool i img { width: 22px; height: 22px; color: var(--ink); }
.ps-tool b { display: block; font-weight: 600; color: var(--ink); }
.ps-tool small { display: block; font: 12px var(--font-mono); color: var(--muted); letter-spacing: -0.02em; } /* taste-skill-ignore: founder rule (TREG-CRAFT, OWN-LOOK): mono only for commands, tool IDs and prices */
.ps-tool .tag { margin-left: auto; align-self: flex-start; padding: 0 7px; border-radius: 999px; background: var(--accent-subtle); font-size: 11px; line-height: 20px; color: var(--ink); white-space: nowrap; }
.ps-center { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- closing ---------- */
.ps-final-card { max-width: 900px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 24px; border-radius: 24px; background: var(--terminal-bg); text-align: center; }
.ps-final-card h2 { color: var(--ps-term-ink); }
.ps-final-card h2 .ps-l2 { color: #AEE5FF; }
.ps-final-card .ps-runs, .ps-final-card .ps-runs span { color: var(--ps-term-ink); }
.ps-final-card .btn-primary { background: #AEE5FF; color: #12061A; }
.ps-final-card .btn-primary:hover { background: #CEEFFF; }
.ps-final-card .btn-ghost { color: var(--ps-term-ink); border-color: #4B3A57; background: transparent; }
.ps-final-card .btn-ghost:hover { background: #2A1F31; }
.ps-final-card .btn:focus-visible { outline: 2px solid #AEE5FF; outline-offset: 2px; }

/* ---------- questions, related ---------- */
.ps-faqs { max-width: 760px; margin: 28px auto 0; }
.ps-faq { border-bottom: 1px solid var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; font-size: 17px; font-weight: 500; color: var(--ink); list-style: none; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.ps-faq[open] summary::after { transform: rotate(225deg); }
.ps-faq summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ps-faq p { margin: 0 2px 18px; line-height: 1.6; color: var(--body); }
.ps-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 28px auto 0; padding: 0; list-style: none; }
.ps-rel a { display: block; height: 100%; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--hairline); color: var(--ink); text-decoration: none; transition: background-color .15s, transform .15s; } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-rel a:hover { background: var(--state-hover); transform: translateY(-2px); }
.ps-rel a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ps-rel b { display: block; font-weight: 600; }
.ps-rel span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- tablet and phone ---------- */
@media (max-width: 900px) {
  .ps-body { grid-template-columns: minmax(0, 1fr); }
  .ps-board { border-left: 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
  .ps-board-h, .ps-board-s, .ps-badge { grid-column: 1 / -1; }
  .ps-tools, .ps-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ps-reply { display: none; }
  .ps-sheet .c-n { width: 26px; padding-right: 4px; }
  .ps-sheet .c-co { width: 38%; }
  .ps-sheet .c-em { display: none; }
  .ps-sheet .c-ck { width: 104px; }
  .ps-board { grid-template-columns: minmax(0, 1fr); }
  .ps-jobs, .ps-tools, .ps-rel { grid-template-columns: minmax(0, 1fr); }
  .ps-price { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ps-divider { display: none; }
  .ps-stats { grid-template-columns: minmax(0, 1fr); }
  .ps-stats > div + div { border-left: 0; border-top: 1px solid var(--card-divider); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
  .ps-bars { gap: 10px; }
  .ps-cols { height: 180px; gap: 6px; }
  .ps-track { height: auto; }
  .ps-stage { position: static; min-height: 0; padding-block: var(--sec); }
  .ps-receipt td, .ps-receipt th { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-cur { animation: none; }
  html.js .ps .rv { opacity: 1; transform: none; transition: none; }
  .ps-cell, .ps-stack > *, .ps-step, .ps-reply { transition: none; }
  .ps-track { height: auto; }
  .ps-stage { position: static; min-height: 0; }
}

/* muted text on cards uses the site's card-muted token (contrast in both themes) */
.ps-term, .ps-receipt, .ps-job, .ps-stats, .ps-tool, .ps-rel a, .ps-board, .ps-pick button { --muted: var(--muted-card); }
.ps-job-row.hi .r, .ps-step.on small, .ps-step.on span { color: var(--ink); }
/* the typed command keeps its final size while it types */
.ps-typed-w { display: grid; min-width: 0; flex: 1 1 auto; }
.ps-typed-w > * { grid-area: 1 / 1; min-width: 0; overflow-wrap: anywhere; }
.ps-typed-ghost { visibility: hidden; }
/* the headline wraps to two lines below 1100px once the display face loads: reserve them, so nothing below moves */
@media (max-width: 1100px) { .ps-h1 { min-height: 2.1em; } }
.ps-br { display: none; }
@media (max-width: 1100px) and (min-width: 641px) { .ps-br { display: inline; } }
/* hero fits the run in the first screen at 1440; the run reads left-aligned */
.ps-h1 { font-size: clamp(34px, 4.4vw, 60px); max-width: 1120px; }
/* plus about a tenth of the screen height, so the headline and the run sit a little lower */
.ps-hero { padding-top: calc(clamp(32px, 4.5vw, 56px) + min(5vh, 48px)); }
/* the headline alone sits a twentieth of the screen higher: the lede, buttons and run stay where they were */
.ps-hero .ps-h1 { margin-bottom: min(5vh, 48px); }
.ps-hero .ps-lede { margin-top: 12px; }
.ps-ctas { margin-top: 20px; }
.ps-run { padding-top: 24px; }
.ps-term { text-align: left; }
.ps-step { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: auto auto; }
.ps-step i { grid-row: 1 / span 2; grid-column: 1; }
.ps-step b { grid-row: 1; grid-column: 2; }
.ps-step em { grid-row: 1; grid-column: 3; }
.ps-step span { grid-row: 2; grid-column: 2 / 4; line-height: 1.35; }
.ps-step small { grid-row: 3; grid-column: 2 / 4; text-align: left; }
/* the headline breaks in one place in both the fallback and the display face, so the font swap moves nothing */
@media (min-width: 641px) { .ps-br { display: inline; } .ps-h1 { min-height: 2.1em; } }
.ps-job-row > span:first-of-type:not(.ps-dot):not(.ps-bar), .ps-job-row > img + span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .ps-sheet { font-size: 13px; }
  .ps-sheet .c-n { display: none; }
  .ps-sheet .c-co { width: 42%; }
  .ps-sheet .c-ck { width: 100px; }
  .ps-sheet td, .ps-sheet th { padding: 0 8px; }
  .ps-pill { font-size: 11px; padding: 0 6px; }
}

/* ---------- motion layer: every move is tied to the run's data; reduced motion shows the finished state ---------- */
.hw { display: inline-block; }
html.js .ps-h1 .hw { opacity: 0; transform: translateY(.28em); transition: opacity .45s ease, transform .55s cubic-bezier(.3,.7,.3,1); }
html.js .ps-h1 .hw.in { opacity: 1; transform: none; }
/* scenes: rows land in sequence when the card comes into view, and again on each return */
html.js [data-seq] .si { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--k, 0) * 90ms + 120ms); }
html.js [data-seq].play .si { opacity: 1; transform: none; }
html.js [data-seq].play .si.dim { opacity: .55; }
html.js [data-seq] .ps-bar i, html.js [data-seq] .ps-flow-bar i { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--k, 0) * 90ms + 300ms); }
html.js [data-seq].play .ps-bar i, html.js [data-seq].play .ps-flow-bar i { transform: scaleX(1); }
/* the run panel: each step fills as its orders land */
.ps-prog { grid-row: 4; grid-column: 2 / 4; display: block; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--card-divider); overflow: hidden; text-decoration: none; }
.ps-prog s { display: block; height: 100%; background: var(--accent-text); transform-origin: left; transform: scaleX(var(--pp, 1)); transition: transform .25s ease; }
.ps-sheet tr { transition: background-color .6s ease; }
.ps-sheet tbody td { background: var(--canvas-subtle); }
.ps-sheet tr.lit td { animation: ps-lit .9s ease; }
@keyframes ps-lit { from { background-color: var(--chosen); } to { background-color: var(--canvas-subtle); } }
/* the receipt at a glance: from companies to confirmed emails */
.ps-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 800px; margin: 30px auto 0; padding: 0; list-style: none; }
.ps-flow li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: var(--card); --muted: var(--muted-card); }
.ps-flow b { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--accent-text); }
.ps-flow span { font-size: 14px; font-weight: 500; color: var(--ink); }
.ps-flow small { font-size: 12px; color: var(--muted); }
.ps-flow-bar { display: block; height: 6px; margin: 4px 0 2px; border-radius: 3px; background: var(--card-divider); overflow: hidden; text-decoration: none; }
.ps-flow-bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 3px; background: var(--accent-text); transform-origin: left; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.ps-flow li + li { position: relative; }
/* hover: cards lift a little */
.ps-job, .ps-tool { transition: transform .2s ease, box-shadow .2s ease; }
.ps-job:hover, .ps-tool:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .ps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  html.js .ps-h1 .hw, html.js [data-seq] .si { opacity: 1; transform: none; transition: none; }
  html.js [data-seq] .si.dim { opacity: .55; }
  html.js [data-seq] .ps-bar i, html.js [data-seq] .ps-flow-bar i { transform: none; transition: none; }
  .ps-sheet tr.lit td { animation: none; }
  .ps-job:hover, .ps-tool:hover { transform: none; }
}
.ps-job-row > .ps-dot + span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* no pinning: the viewer can size the page's frame to its full height, where a 220vh track becomes a large empty gap.
   The bars grow when the section comes into view instead. */
.ps-track { height: auto; }
.ps-stage { position: static; min-height: 0; padding-block: var(--sec); }
html.js .ps-bars[data-seq] .ps-col i { transform: scaleY(0); transition: transform .42s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--k, 0) * 55ms + 40ms); }
html.js .ps-bars[data-seq].play .ps-col i { transform: scaleY(1); }
html.js .ps-bars[data-seq] .ps-col b { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--k, 0) * 55ms + 300ms); }
html.js .ps-bars[data-seq].play .ps-col b { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.js .ps-bars[data-seq] .ps-col i { transform: none; transition: none; } html.js .ps-bars[data-seq] .ps-col b { opacity: 1; transition: none; } }

.ps-mk { width: 18px; height: 18px; }


/* ---------- the walls beside the run: its companies (left) and the people it found (right), turned in toward the window ----------
   Wide screens only, where there is room beside the 960px window. Motion is transform and opacity only, and stops under reduced motion. */
.ps-run { position: relative; }
.ps-run .ps-term { position: relative; z-index: 1; }
.ps-run .ps-anno { position: relative; z-index: 2; } /* the parallax lifts the arrow into the window's bottom edge: keep it drawn above the window */
.ps-orbit { display: none; }
@media (min-width: 1200px) {
  .ps-orbit { display: block; position: absolute; left: 0; right: 0; top: 24px; height: 540px; perspective: 1100px; pointer-events: none; text-align: left; opacity: 0; transition: opacity .6s ease; }
  .ps-orbit.on { opacity: 1; }
  .ps-wall { position: absolute; top: 0; bottom: 0; width: clamp(0px, calc(50vw - 480px + 24px), 300px); overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); }
  .ps-wall-l { --out: -70%; right: calc(50% + 480px - 40px); transform-origin: right center; transform: rotateY(-22deg); }
  .ps-wall-r { --out: 70%; left: calc(50% + 480px - 40px); transform-origin: left center; transform: rotateY(22deg); }
  .ps-lane { display: flex; flex-direction: column; gap: 10px; animation: ps-flow 46s linear infinite; }
  .ps-wall-r .ps-lane { animation-direction: reverse; }
  .ps-orbit.is-off .ps-lane, .ps-orbit.is-off .ps-oc, .ps-orbit.is-off .ps-oc::after,
  .ps-orbit.is-paused .ps-lane, .ps-orbit.is-paused .ps-oc, .ps-orbit.is-paused .ps-oc::after { animation-play-state: paused; }
}
@keyframes ps-flow { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.ps-oc { position: relative; display: grid; gap: 3px; padding: 10px 12px; border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--hairline); font-size: 12px; line-height: 1.35; color: var(--muted); opacity: .82; box-shadow: 0 8px 24px rgba(45,16,67,.12); } /* taste-skill-ignore: founder rule (TREG-CRAFT): ringed cards and the run card’s soft depth */
.ps-oc-h { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ps-oc-h b { color: var(--ink); font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-oc img, .ps-oc .ps-dot { width: 16px; height: 16px; border-radius: 4px; flex: none; display: inline-block; vertical-align: -3px; margin-right: 4px; }
.ps-oc-h img, .ps-oc-h .ps-dot { margin-right: 0; }
.ps-oc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-oc small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-oc small em { font-style: normal; color: var(--ink); margin-left: 4px; }
.ps-oc u { display: block; height: 3px; border-radius: 2px; background: var(--hairline); overflow: hidden; text-decoration: none; }
.ps-oc u::before { content: ""; display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--w, 1)); }
.ps-av { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent-text); font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: .02em; }
/* Each card's life, one after another: it fades in, is "found" (a soft blue ring), then drifts out to the side and away into depth.
   On the turned wall, moving outward reads as moving away from the viewer. */
@media (min-width: 1200px) {
  .ps-oc { animation: ps-life 10s ease-in-out infinite both; animation-delay: calc(var(--i, 0) * 1.25s); }
}
@keyframes ps-life {
  0% { opacity: 0; transform: translateX(calc(var(--out, 0%) * -0.2)) scale(.94); }
  12%, 60% { opacity: .9; transform: none; }
  100% { opacity: 0; transform: translateX(var(--out, 0%)) scale(.68); }
}
.ps-oc::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1px #8FD3FF, 0 0 22px rgba(143,211,255,.45); opacity: 0; animation: ps-ping 10s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.25s); }
@keyframes ps-ping { 0%, 22%, 56%, 100% { opacity: 0; } 34%, 44% { opacity: 1; } }
.ps-ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px rgba(143,211,255,.7); }
.ps-oc .ps-oc-h img.ps-ph { width: 24px; height: 24px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .ps-lane, .ps-oc, .ps-oc::after { animation: none !important; } .ps-oc { opacity: .85; } }

/* ---------- buttons: fully round, sky-blue glass with a soft glow (this page only) ---------- */
.ps .btn, .site-header .btn, .ps-pause { border-radius: 999px; }
.ps .btn-primary, .site-header .btn-primary {
  background: linear-gradient(180deg, rgba(214, 242, 255, .96), rgba(143, 211, 255, .88));
  color: #12061A; border: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(45, 16, 67, .08), 0 6px 18px rgba(110, 190, 255, .30), 0 0 28px rgba(174, 229, 255, .28);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ps .btn-ghost {
  background: rgba(174, 229, 255, .08); color: var(--ink); border: 1px solid rgba(174, 229, 255, .34);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
@media (hover: hover) and (pointer: fine) {
  .ps .btn-primary:hover, .site-header .btn-primary:hover { background: linear-gradient(180deg, rgba(226, 246, 255, 1), rgba(160, 219, 255, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(45, 16, 67, .08), 0 8px 22px rgba(110, 190, 255, .38), 0 0 40px rgba(174, 229, 255, .42); transform: translateY(-1px); }
  .ps .btn-ghost:hover { background: rgba(174, 229, 255, .16); }
}
:root[data-theme="light"] .ps .btn-primary, :root[data-theme="light"] .site-header .btn-primary { border-color: rgba(60, 140, 210, .30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(70, 160, 235, .28), 0 0 28px rgba(143, 211, 255, .35); }
:root[data-theme="light"] .ps .btn-ghost { background: rgba(174, 229, 255, .20); color: #12061A; border-color: rgba(60, 140, 210, .30); }
/* a small glow behind the buttons */
.ps-ctas { position: relative; isolation: isolate; }
.ps-ctas::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(560px, 100%); height: 140px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(143, 211, 255, .26), rgba(143, 211, 255, 0)); pointer-events: none; }

/* the run's command bar: dark navy, the ask in capitals */
.ps-strip { background: #0B1D4A; text-transform: uppercase; letter-spacing: .02em; }

/* the four reasons under the run: a little lower, each tick in a small round badge */
.ps-under .ps-why { margin-top: 36px; gap: 14px; }
.ps-why li { padding-left: 34px; }
.ps-why li::before { left: 0; top: .1em; width: 22px; height: 22px; border: 1px solid rgba(143, 211, 255, .6); border-radius: 50%; background: rgba(174, 229, 255, .22); transform: none; box-sizing: border-box; }
.ps-why li::after { content: ""; position: absolute; left: 7px; top: calc(.1em + 7px); width: 8px; height: 4.5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }

/* profile cards: each kind of finding gets its own bright pastel badge (complementary set) */
.dz-c-contact .dz-h i { background: #CDEEFF; color: #1D6FB8; }
.dz-c-cv .dz-h i { background: #E4DAFF; color: #6440C9; }
.dz-c-hist .dz-h i { background: #CBF4E1; color: #1C8456; }
.dz-c-jobs .dz-h i { background: #FFE0C7; color: #C2561A; }
.dz-c-soc .dz-h i { background: #FFD5E7; color: #B8336A; }

/* the 81% bar: from Vector Blue down into a deeper blue, with a soft blurred glow */
.bm-col.hi .bm-bar { position: relative; background: linear-gradient(180deg, #BEEBFF, #6FB4FF 55%, #2F62D9); box-shadow: 0 0 0 1px rgba(143, 211, 255, .35), 0 10px 36px rgba(70, 140, 255, .40); }
.bm-col.hi .bm-bar::after { content: ""; position: absolute; inset: 12% 6% -4%; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(174, 229, 255, .7), rgba(60, 120, 240, .7)); filter: blur(22px); opacity: .55; }
.bm-col.hi { isolation: isolate; } /* keeps the glow above the section background, behind the bar */

/* price chart in light mode: a lighter, more saturated violet than Signal Violet */
:root[data-theme="light"] .pb-t i { background: linear-gradient(90deg, #7A45F0, #9B6CFF); }
:root[data-theme="light"] .pb-list b { color: #6A35E0; }

/* tinted sections fade in and out of the page colour instead of starting and stopping on a hard edge */
.ps .ps-alt { background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-subtle) 22%, var(--canvas-subtle) 78%, var(--canvas) 100%); }

/* the rotating agent name sits on a small tinted gradient chip in that agent's own colours */
.ps-agents .ps-who { --al: 1; padding: .06em .34em .06em .14em; border-radius: .42em; background: linear-gradient(120deg, rgb(var(--c1) / var(--al)), rgb(var(--c2) / var(--al))); }
.ps-agents > span:nth-child(1) .ps-who { --c1: 255 232 220; --c2: 248 196 170; } /* Claude: peach to coral */
.ps-agents > span:nth-child(2) .ps-who { --c1: 226 239 255; --c2: 186 214 255; } /* Codex: sky blue */
.ps-agents > span:nth-child(3) .ps-who { --c1: 222 246 236; --c2: 170 230 204; } /* ChatGPT: green */
.ps-agents > span:nth-child(4) .ps-who { --c1: 240 241 246; --c2: 208 212 224; } /* GrokBot: silver */
.ps-agents > span:nth-child(5) .ps-who { --c1: 255 243 210; --c2: 245 214 140; } /* Hermes: gold */
/* dark: richer, deeper versions of the same colours, so the chip reads on the dark page and the light name stays clear */
:root[data-theme="dark"] .ps-agents .ps-who { --al: .62; }
:root[data-theme="dark"] .ps-agents > span:nth-child(1) .ps-who { --c1: 196 104 74; --c2: 140 62 44; }  /* Claude */
:root[data-theme="dark"] .ps-agents > span:nth-child(2) .ps-who { --c1: 64 112 220; --c2: 36 70 170; }  /* Codex */
:root[data-theme="dark"] .ps-agents > span:nth-child(3) .ps-who { --c1: 22 150 112; --c2: 10 98 76; }   /* ChatGPT */
:root[data-theme="dark"] .ps-agents > span:nth-child(4) .ps-who { --c1: 112 118 140; --c2: 70 74 94; }  /* GrokBot */
:root[data-theme="dark"] .ps-agents > span:nth-child(5) .ps-who { --c1: 190 148 52; --c2: 132 96 24; }  /* Hermes */

/* ---------- the closing card: dark navy glass instead of black, with two soft glows that drift (parallax) ---------- */
.ps-final-card { position: relative; overflow: hidden; isolation: isolate;
  background: #122A66;
  border: 1px solid rgba(174, 229, 255, .20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px rgba(11, 29, 74, .25), 0 0 80px rgba(70, 140, 255, .10); }
.ps-final-card > :not(.ps-orb):not(.ps-net) { position: relative; z-index: 1; }
.ps-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(48px); will-change: transform; }
.ps-orb-a { width: 340px; height: 340px; left: -80px; top: -140px; background: radial-gradient(closest-side, rgba(60, 120, 235, .55), rgba(60, 120, 235, 0)); }
.ps-orb-b { width: 380px; height: 380px; right: -100px; bottom: -180px; background: radial-gradient(closest-side, rgba(120, 110, 255, .45), rgba(120, 110, 255, 0)); }
.ps-final-card .btn-ghost, :root[data-theme="light"] .ps-final-card .btn-ghost { color: #EFFAFF; background: rgba(174, 229, 255, .10); border-color: rgba(174, 229, 255, .34); }
@media (hover: hover) and (pointer: fine) { .ps-final-card .btn-ghost:hover { background: rgba(174, 229, 255, .18); } }

/* ---------- small hover lifts (mouse only; touch never needs them) and their transitions ----------
   Moves use the separate `translate`/`scale` properties so they never fight the reveal and run transforms. */
.ps-step { transition: opacity .3s, border-color .3s, background-color .3s, translate .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.dz-card { transition: border-color .3s, background-color .3s, translate .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.dz-h i, .ps-tile, .ps-why li::before, .ps-why li::after { transition: scale .25s cubic-bezier(.2,.8,.2,1), rotate .25s ease; }
.ps-why li, .ps-faq summary { transition: translate .2s cubic-bezier(.2,.8,.2,1), color .2s ease; }
.pb-list li { transition: translate .2s cubic-bezier(.2,.8,.2,1); }
.pb-t i { transition-property: transform, filter; }
.ps-pick button, .dz-pick button { transition: background-color .15s, border-color .15s, transform .1s, translate .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.bm-col.hi .bm-bar { transition: transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ps-step:hover { translate: 0 -2px; box-shadow: 0 8px 20px rgba(70, 140, 255, .16); }
  .dz-card:hover { translate: 0 -3px; box-shadow: 0 12px 28px rgba(70, 140, 255, .16); }
  .dz-card:hover .dz-h i { scale: 1.12; rotate: -6deg; }
  .ps-why li:hover { translate: 4px 0; }
  .ps-why li:hover::before, .ps-why li:hover::after { scale: 1.12; }
  .pb-list li:hover { translate: 4px 0; }
  .pb-list li:hover .pb-t i { filter: brightness(1.12) saturate(1.15); }
  .ps-faq summary:hover { translate: 4px 0; color: var(--accent-text); }
  .ps-pick button:hover, .dz-pick button:hover { translate: 0 -2px; box-shadow: 0 6px 16px rgba(70, 140, 255, .18); }
  .ps-who:hover .ps-tile { scale: 1.1; rotate: -6deg; }
  .bm-col.hi:hover .bm-bar { filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(143, 211, 255, .45), 0 14px 44px rgba(70, 140, 255, .55); }
}

/* ---------- the two calls to action: Copy prompt leads, and the highlight moves to Set up Delegate while it is hovered ---------- */
.ps-ctas .btn { transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease, transform .2s ease, translate .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .ps .ps-ctas .btn-ghost:hover {
    background: linear-gradient(180deg, rgba(226, 246, 255, 1), rgba(160, 219, 255, .94)); color: #12061A; border-color: rgba(255, 255, 255, .6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(45, 16, 67, .08), 0 8px 22px rgba(110, 190, 255, .38), 0 0 40px rgba(174, 229, 255, .42);
    transform: translateY(-1px);
  }
  :root[data-theme="light"] .ps .ps-ctas .btn-ghost:hover { border-color: rgba(60, 140, 210, .30); }
  /* while Set up Delegate has the highlight, Copy prompt steps back to the quiet glass */
  .ps .ps-ctas:has(.btn-ghost:hover) .btn-primary { color: var(--ink); background: rgba(174, 229, 255, .12); border-color: rgba(174, 229, 255, .34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  :root[data-theme="light"] .ps .ps-ctas:has(.btn-ghost:hover) .btn-primary { background: rgba(174, 229, 255, .20); border-color: rgba(60, 140, 210, .30); }
  .ps-final-card .ps-ctas:has(.btn-ghost:hover) .btn-primary { color: #EFFAFF; }
}

/* ---------- more columns on each wall, out to the screen edge: each one further out is blurrier and fainter ---------- */
.ps { overflow-x: clip; } /* the outer columns run past the screen edge; clip, unlike hidden, keeps sticky parts working */
@media (min-width: 1200px) {
  .ps-wall { display: flex; gap: 14px; width: calc(4 * 220px + 3 * 14px); overflow: visible;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent), linear-gradient(var(--fade-dir), #000 30%, transparent 96%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent), linear-gradient(var(--fade-dir), #000 30%, transparent 96%); mask-composite: intersect; }
  .ps-wall-l { --fade-dir: to left; flex-direction: row-reverse; }
  .ps-wall-r { --fade-dir: to right; }
  .ps-lane { flex: 0 0 220px; min-width: 0; }
  .ps-lane-1 { opacity: .72; filter: blur(.7px); animation-duration: 58s; }
  .ps-lane-2 { opacity: .46; filter: blur(1.6px); animation-duration: 70s; }
  .ps-lane-3 { opacity: .28; filter: blur(2.6px); animation-duration: 84s; }
  /* neighbouring columns run in opposite directions */
  .ps-wall-l .ps-lane-1, .ps-wall-l .ps-lane-3, .ps-wall-r .ps-lane-0, .ps-wall-r .ps-lane-2 { animation-direction: reverse; }
  .ps-wall-l .ps-lane-0, .ps-wall-l .ps-lane-2, .ps-wall-r .ps-lane-1, .ps-wall-r .ps-lane-3 { animation-direction: normal; }
}

/* the closing card's network: thin, see-through white lines from the agent to its tools, pulses running outward */
.ps-net { opacity: .52; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ps-net-wire { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: .8; }
.ps-net-mesh { stroke: rgba(255, 255, 255, .10); stroke-width: .6; }
.ps-net-pulse { fill: none; stroke: rgba(214, 242, 255, .85); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; animation: ps-net-run 6s linear infinite; filter: drop-shadow(0 0 3px rgba(174, 229, 255, .45)); }
.ps-net-tool { fill: rgba(255, 255, 255, .55); animation: ps-net-blink 5s ease-in-out infinite; }
@keyframes ps-net-run { to { stroke-dashoffset: 0; } }
@keyframes ps-net-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.ps-net.is-off .ps-net-pulse, .ps-net.is-off .ps-net-tool { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ps-net-pulse { display: none; } .ps-net-tool { animation: none; opacity: .6; } }

/* each time the headline switches agent, the new logo does the hover move once: a little pop and tilt, then settles */
.ps-agents > .on .ps-tile { animation: ps-tile-pop .7s cubic-bezier(.2,.8,.2,1) .08s both; }
@keyframes ps-tile-pop { 0% { scale: .82; rotate: 8deg; } 45% { scale: 1.12; rotate: -6deg; } 100% { scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .ps-agents > .on .ps-tile { animation: none; } }

/* the closing card's glows, at 56% of their first strength, on one flat colour */
.ps-final-card .ps-orb, .ps-final-card .ps-ctas::before { opacity: .56; }

/* ---------- dark mode: the two windows (the run and the profile) stay light, in a muted white, like small screens on a dark desk ----------
   They take the light theme's colours, toned down a step so they don't glare. The navy command bar keeps its own colour. */
:root[data-theme="dark"] :is(.ps-term, .dz-frame) {
  color-scheme: light;
  --canvas: #EEF0F5; --canvas-subtle: #E5EDF6; --surface: #EEF0F5;
  --display: #4B1B6F; --ink: #2D1043; --body: #12061A; --muted: #6B6474;
  --hairline: #D5CCDD; --hairline-strong: #9376A9;
  --tonal: #EEF0F5; --tonal-hover: #E5EDF6; --tonal-edge: #D5CCDD;
  --chip: #E3ECF6; --chosen: #CDE9FA; --chosen-edge: #9376A9;
  --card: #F3F4F8; --card-divider: #D5CCDD; --muted-card: #6B6474;
  --state-selected: #CDE9FA; --state-hover: #E5EDF6;
  --overlay: #F3F4F8; --border-overlay: #D5CCDD;
  --accent: #4B1B6F; --accent-text: #4B1B6F; --accent-subtle: #CDE9FA;
  --error: #8B1F25; --ctl-border: #9376A9;
  color: var(--body);
  border-color: rgba(174, 229, 255, .25);
}

/* ---------- price chart in dark mode: violet too, a touch lighter so it reads on the dark page ---------- */
:root[data-theme="dark"] .pb-t i { background: linear-gradient(90deg, #8A5CFF, #B08CFF); }
:root[data-theme="dark"] .pb-list b { color: #BCA2FF; }

/* dark mode: the tinted sections get a muted deep-blue tint (the dark twin of light mode's pale blue), fading in and out of the page */
/* muted text is lifted a step on the band, so it keeps AA contrast (about 5.5:1 on #141A3C) */
:root[data-theme="dark"] .ps .ps-alt { --muted: #A08AB4; background: linear-gradient(180deg, var(--canvas) 0%, #141A3C 22%, #141A3C 78%, var(--canvas) 100%); }
