/* expertagentcy — one source of style. T-0008. Dark by default.
 *
 * Direction, owner 2026-11-09: own your expertise. Premium, expert, clean, obvious, no redundancy.
 * Closer to the Apple Store than to iOS — product-forward, enormous negative space, the headline
 * floats. If it has to be explained, it was not designed well enough.
 *
 * Every colour, type role, space, radius and control resolves to a role here. Nothing defines a
 * design value of its own. Two declarations carry the whole identity: --accent and --ui.
 *
 * Canvas taken from real frames rather than from advice: Linear renders #08090a and Raycast #07080a.
 * Material's "use #121212" reads grey and cheap next to those, so the canvas here is near-black with
 * a faint cool cast, and elevation is carried by lightness, never by shadow.
 */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
}

:root {
  /* ---- canvas and elevation: lighter means nearer ------------------------ */
  --bg:            #08090a;   /* the page */
  --surface:       #0f1113;   /* a panel on the page */
  --surface-2:     #16191d;   /* a control, an input, a row at rest */
  --surface-3:     #1e2228;   /* a popover, a menu, something floating */
  --line:          #22262b;   /* a hairline between things */
  --line-strong:   #63666b;   /* the edge that makes a control a control — 3.06:1, measured */

  /* ---- ink --------------------------------------------------------------- */
  --text:          #f2f4f6;   /* never pure white: it halates on near-black */
  --text-2:        #aeb6bf;
  --text-3:        #868f99;
  --ink-on-accent: #07080a;

  /* ---- the three highlights ---------------------------------------------- */
  --blue:          #5c9dff;   /* what the person does: primary, interactive */
  --blue-soft:     #12213c;
  --blue-field:    #20365f;   /* public proposition surface */
  --purple:        #ab8cff;   /* the agent itself: its identity, its voice */
  --purple-soft:   #1d1836;
  --purple-field:  #30244f;   /* public proposition surface */
  --green:         #44dd9e;   /* it worked, it earned, it is live */
  --green-soft:    #0d2a21;

  --accent:        var(--blue);        /* one declaration re-themes everything */
  --accent-soft:   var(--blue-soft);

  /* ---- state, kept quiet so the three highlights stay the loud ones ------ */
  --good:          var(--green);
  --good-soft:     var(--green-soft);
  --warn:          #e8b765;
  --warn-soft:     #2e2414;
  --danger:        #ff7b72;
  --danger-soft:   #341a1a;

  /* ---- third-party sign-in marks. Not ours to re-theme, so they sit apart
          from the palette and --accent does not touch them. ------------------ */
  --g-blue:   #4285f4;  --g-red:    #ea4335;  --g-yellow: #fbbc05;  --g-green: #34a853;
  --asana-coral: #ff5263; --slack-cyan: #36c5f0;
  --ms-red:   #f25022;  --ms-green: #7fba00;  --ms-blue:  #00a4ef;  --ms-amber: #ffb900;
  --li-blue:  #0a66c2;  --x-ink:    #e7e9ea;  --ig-a: #f58529; --ig-b: #dd2a7b; --ig-c: #8134af;

  /* ---- depth: a glow outward, never a drop shadow ------------------------ */
  --shadow:        0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.5);
  --shadow-lg:     0 1px 0 rgba(255,255,255,.05) inset, 0 24px 64px rgba(0,0,0,.65);
  --focus:         0 0 0 2px var(--bg), 0 0 0 4px var(--blue);
  --brand-wash:    radial-gradient(60% 80% at 50% 0%, #1b2a4d 0%, rgba(8,9,10,0) 70%);
  --brand-line:    linear-gradient(90deg, var(--blue), var(--purple));

  /* ---- type: one family, display sizes set tight and tracked in --------- */
  --ui: 'Manrope', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-hero:    4.5rem;      --lh-hero:    1.02;  --tr-hero:    -.035em;
  /* The front-door headline, and the largest type in the product — which is the point of a front
     door. It scales with the viewport so the two-line break holds from a laptop to a large display
     instead of being tuned to one frame width. Measured 2026-11-13: at 3.5rem it rendered 529px
     wide against a 960px sub-line, and the About page out-typed it at 4.5rem. */
  --t-front:   clamp(2.75rem, 6.4vw, 5.5rem);  --lh-front: 1.03;  --tr-front: -.035em;
  --t-display: 2.25rem;   --lh-display: 1.08;  --tr-display: -.025em;
  --t-xl:      1.5rem;    --lh-xl:      1.2;   --tr-xl:      -.018em;
  --t-lg:      1.125rem;  --lh-lg:      1.45;
  --t-base:    .9375rem;  --lh-base:    1.6;
  --t-sm:      .8125rem;  --lh-sm:      1.5;
  --t-xs:      .75rem;    --lh-xs:      1.4;
  --w-regular: 400; --w-medium: 500; --w-semi: 600; --w-bold: 700;

  /* ---- space and geometry: generous, because the space is the design ---- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px; --s8: 112px;
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  --measure: 62ch;
  --control-h: 38px;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--ui); font-size: var(--t-base); line-height: var(--lh-base);
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
a { color: inherit; text-decoration: none; }

/* ---- type roles --------------------------------------------------------- */
.t-hero    { font-size: var(--t-hero); line-height: var(--lh-hero); letter-spacing: var(--tr-hero); font-weight: var(--w-bold); margin: 0; }
.t-display { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: var(--w-bold); margin: 0; }
.t-xl      { font-size: var(--t-xl); line-height: var(--lh-xl); letter-spacing: var(--tr-xl); font-weight: var(--w-semi); margin: 0; }
.t-lg      { font-size: var(--t-lg); line-height: var(--lh-lg); font-weight: var(--w-medium); margin: 0; }
.t-body    { font-size: var(--t-base); line-height: var(--lh-base); margin: 0; }
.t-label   { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: var(--w-medium); color: var(--text-2); margin: 0; }
.t-meta    { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--text-3); margin: 0; }
.t-micro   { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--text-3); margin: 0; }
.t-mono    { font-family: var(--mono); font-size: var(--t-sm); }
.measure { max-width: var(--measure); }
.quiet { color: var(--text-2); }
.dim { color: var(--text-3); }
.grad { background: var(--brand-line); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- layout ------------------------------------------------------------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s6); border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar .grow { flex: 1; }
.wordmark { font-weight: var(--w-bold); letter-spacing: -.02em; }
.wordmark-the { color: var(--text); }
.wordmark-expert { color: var(--blue); }
.wordmark-agent { color: var(--purple); }
.wordmark-cy { color: var(--text); }
/* Public-site navigation. Quiet by default: on a logged-out page the only blue thing should be the
   action you came to take, or the top bar competes with the headline it sits above. */
.navlink { font: inherit; font-size: var(--t-sm); background: transparent; border: 0; cursor: pointer;
  color: var(--text-2); padding: var(--s2) var(--s3); border-radius: var(--r-pill); }
.navlink:hover { color: var(--text); background: var(--surface-2); }
/* One nav item is the thing we most want a visitor to do, so it carries the brand gradient as its
   own colour rather than a box around it. `.navlink` sets a colour and wins on source order, so
   the pairing has to be stated. */
.navlink.grad { background: var(--brand-line); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: var(--w-semi); }
.navlink.grad:hover { background: var(--brand-line); -webkit-background-clip: text;
  background-clip: text; filter: brightness(1.15); }
.page { padding: var(--s7) var(--s6); display: flex; justify-content: center; }
.page-hero { padding: var(--s8) var(--s6); background: var(--brand-wash); }
/* The hero breathes on a different scale from the rest of the product. The space IS the design. */
.hero { display: flex; flex-direction: column; gap: var(--s5); }
.hero > .t-lg { max-width: 48ch; }
.hero > .row { margin-top: var(--s4); }
.employer-hero { width: 100%; max-width: 1180px; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: var(--s7); }
.employer-hero .hero { min-width: 0; }
/* A shared color field gives the public propositions a visual anchor. The claims stay open and
   editorial inside it: no nested cards, markers, or controls. */
.claim-stage { padding: var(--s5) var(--s6); border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--blue-field), var(--purple-field) 70%, var(--surface)); }
.claim-stage--expert { background: linear-gradient(145deg, var(--purple-field), var(--blue-field) 72%, var(--surface)); }
.claim-list { margin: 0; padding: 0; list-style: none; }
.claim-list li { padding: var(--s5) 0; border-bottom: 1px solid var(--line-strong); }
.claim-list li:last-child { border-bottom: 0; }
.employer-page { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: var(--s8); }
.employer-examples { display: flex; flex-direction: column; align-items: center; gap: var(--s5);
  text-align: center; }
.employer-example-grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.employer-example-grid .employer-example { width: 100%; }
.headshot.employer-example-portrait { width: 128px; height: 128px; }
.employer-examples .employer-example .t-body { max-width: 28ch; }
@media (max-width: 760px) { .employer-example-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .employer-hero { grid-template-columns: 1fr; } }
/* Digital twin: the same person can work through the same three tools twice. */
.twin-layout { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: var(--s6); }
.twin-intro { align-items: start; }
.twin-lead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s6); }
.twin-copy { padding-top: var(--s2); }
.twin-stage { width: 100%; max-width: 900px; height: 440px; margin-inline: auto; position: relative; }
.twin-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.twin-wire { stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 2 8;
  stroke-linecap: round; fill: none; }
.twin-wire--source { opacity: .8; }
.twin-wire--gmail { stroke: var(--g-red); animation: twin-source-gmail 12s linear 5.2s infinite, twin-dots 3s linear infinite; }
.twin-wire--asana { stroke: var(--asana-coral); animation: twin-source-intro 5.2s linear forwards, twin-source-asana 12s linear 5.2s infinite, twin-dots 3s linear infinite; }
.twin-wire--slack { stroke: var(--slack-cyan); animation: twin-source-intro 5.2s linear forwards, twin-source-slack 12s linear 5.2s infinite, twin-dots 3s linear infinite; }
.twin-wire--agent { stroke: var(--purple); opacity: 0;
  animation: twin-connect 3s ease-out 2s forwards, twin-dots 4s linear infinite; }
.twin-wire--bridge { stroke: var(--purple); opacity: 0;
  animation: twin-source-bridge 12s linear 5.2s infinite, twin-dots 3s linear infinite; }
.twin-person { position: absolute; top: var(--s5); width: 190px; display: flex; flex-direction: column;
  align-items: center; gap: var(--s3); transform: translateX(-50%); text-align: center; }
.twin-person--source { left: 25%; z-index: 2; }
.twin-person--spawn { left: 25%; opacity: 0; z-index: 1;
  animation: twin-spawn 3s cubic-bezier(.22, 1, .36, 1) 2s forwards; }
.twin-avatar { display: block; width: 160px; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-pill);
  border: 2px solid var(--line-strong); position: relative; background: var(--surface-2); }
.twin-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.twin-avatar--agent { border-color: var(--purple); }
.twin-avatar--agent::after { content: ''; position: absolute; inset: 0; background: var(--brand-line); opacity: .5; }
.twin-name { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: var(--w-semi); }
.twin-person--spawn .twin-name { color: var(--purple); }
.twin-integrations { position: absolute; bottom: 0; inset-inline: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); z-index: 2; }
.twin-tool { justify-self: center; width: 104px; height: 48px; padding: var(--s2) var(--s3);
  display: flex; align-items: center; justify-content: center; gap: var(--s2); border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  font-size: var(--t-sm); line-height: var(--lh-sm); }
.twin-tool img { max-width: 100%; max-height: 100%; object-fit: contain; }
.twin-tool--gmail img { width: var(--s5); height: var(--s5); flex: none; }
.twin-tool--asana { overflow: hidden; }
.twin-tool--asana img { width: 90px; height: 36px; transform: scale(2.2); flex: none; }
.twin-tool--slack img { width: var(--s5); height: var(--s5); flex: none; }
@keyframes twin-spawn {
  0% { opacity: 0; left: 25%; }
  18% { opacity: 1; }
  100% { opacity: 1; left: 75%; }
}
@keyframes twin-connect { 0%, 72% { opacity: 0; } 100% { opacity: .8; } }
@keyframes twin-dots { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -30; } }
@keyframes twin-source-intro { 0%, 94% { opacity: .8; } 100% { opacity: 0; } }
@keyframes twin-source-gmail { 0%, 20% { opacity: .8; } 25%, 97% { opacity: 0; } 100% { opacity: .8; } }
@keyframes twin-source-asana { 0%, 25%, 50%, 100% { opacity: 0; } 30%, 45% { opacity: .8; } }
@keyframes twin-source-slack { 0%, 50%, 75%, 100% { opacity: 0; } 55%, 70% { opacity: .8; } }
@keyframes twin-source-bridge { 0%, 75%, 97%, 100% { opacity: 0; } 80%, 92% { opacity: .8; } }
@media (max-width: 760px) {
  .twin-stage { height: 360px; }
  .twin-person { width: 150px; }
  .twin-avatar { width: 120px; }
  .twin-tool { padding: var(--s2) var(--s3); }
}
@media (prefers-reduced-motion: reduce) {
  .twin-person--spawn, .twin-wire { animation: none; }
  .twin-person--spawn { left: 75%; opacity: 1; }
  .twin-wire--source { opacity: 0; }
  .twin-wire--gmail { opacity: .8; }
  .twin-wire--agent { opacity: .8; }
  .twin-wire--bridge { opacity: 0; }
}
.about-hero { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: var(--s6); }
.about-hero > .t-hero { max-width: 22ch; }
.about-statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s4); }
.about-tile { padding: var(--s5); border-radius: var(--r-xl);
  color: var(--ink-on-accent); display: flex; align-items: center; }
.about-tile--employers { background: linear-gradient(110deg, var(--blue), var(--purple)); }
.about-tile--experts { background: linear-gradient(110deg, var(--purple), var(--blue)); }
.about-mission { width: 100%; display: flex; flex-direction: column; gap: var(--s5); }
@media (max-width: 760px) { .about-statements { grid-template-columns: 1fr; } }
.col { width: 100%; max-width: 820px; display: flex; flex-direction: column; gap: var(--s5); }
.col-wide { max-width: 1060px; }
.row { display: flex; align-items: center; gap: var(--s3); }
.row-top { display: flex; align-items: flex-start; gap: var(--s4); }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.stack { display: flex; flex-direction: column; gap: var(--s3); }
.stack-tight { display: flex; flex-direction: column; gap: var(--s2); }
.stack-loose { display: flex; flex-direction: column; gap: var(--s5); }
.grow { flex: 1; } .wrap { flex-wrap: wrap; }
.mt-4 { margin-top: var(--s4); } .mt-2 { margin-top: var(--s2); }

/* ---- panel -------------------------------------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.panel-pad { padding: var(--s5); }
.panel-head { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.panel-foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); background: var(--bg); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.panel-row { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.panel-row:last-child { border-bottom: 0; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- buttons ------------------------------------------------------------ */
.btn { font: inherit; font-weight: var(--w-semi); font-size: var(--t-sm); height: var(--control-h);
  padding: 0 var(--s4); border-radius: var(--r-pill); border: 1px solid transparent; background: transparent;
  color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2); white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--ink-on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-brand { background: var(--brand-line); color: var(--ink-on-accent); }
.btn-quiet { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.btn-quiet:hover { background: var(--surface-3); }
.btn-text { padding: 0 var(--s2); color: var(--blue); height: auto; }
.btn-text:hover { text-decoration: underline; }
.btn-icon { width: var(--control-h); padding: 0; border-radius: var(--r-pill); color: var(--text-2); }
.btn-icon:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { color: var(--danger); border-color: var(--line-strong); background: var(--surface-2); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-lg { height: 46px; padding: 0 var(--s5); font-size: var(--t-base); }

/* ---- sign-in providers --------------------------------------------------
   The marks below are geometric stand-ins at mock-up fidelity. Production drops in each provider's
   official mark under their own sign-in branding guidelines; Microsoft's four squares are accurate,
   Google's is a ring standing in for the G. Brand colours are tokens so no surface writes one. */
.btn-provider { width: 100%; justify-content: flex-start; gap: var(--s3); height: 46px;
  border-radius: var(--r); border-color: var(--line-strong); background: var(--surface-2);
  font-size: var(--t-base); }
.btn-provider:hover { background: var(--surface-3); }
.provider { width: 18px; height: 18px; flex: none; display: block; }
.provider-g { border-radius: var(--r-pill);
  background: conic-gradient(from -45deg, var(--g-blue) 0 25%, var(--g-green) 0 50%,
                             var(--g-yellow) 0 75%, var(--g-red) 0 100%);
  position: relative; }
.provider-g::after { content: ""; position: absolute; inset: 5px; border-radius: var(--r-pill);
  background: var(--surface-2); }
.provider-ms { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.provider-ms i { display: block; }
.provider-ms i:nth-child(1) { background: var(--ms-red); }
.provider-ms i:nth-child(2) { background: var(--ms-green); }
.provider-ms i:nth-child(3) { background: var(--ms-blue); }
.provider-ms i:nth-child(4) { background: var(--ms-amber); }
.provider-mail { border-radius: var(--r-sm); border: 1.5px solid var(--text-3); }
.or { display: flex; align-items: center; gap: var(--s3); color: var(--text-3); font-size: var(--t-xs); }
.or::before, .or::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ---- connected accounts -------------------------------------------------- */
.net { width: 20px; height: 20px; flex: none; border-radius: var(--r-sm); display: block; }
.net-li { background: var(--li-blue); }
.net-x  { background: var(--x-ink); }   /* the mark inverts on a dark canvas */
.net-ig { background: conic-gradient(from 210deg, var(--ig-a), var(--ig-b), var(--ig-c), var(--ig-a)); }
.net-web { border: 1.5px solid var(--text-3); border-radius: var(--r-pill); }
.net-lg { width: 28px; height: 28px; }

/* ---- a face, and the control to change it ------------------------------- */
.avatar { width: 88px; height: 88px; flex: none; border-radius: var(--r-pill); background: var(--surface-2);
  border: 1px solid var(--line); color: var(--text-3); display: flex; align-items: center;
  justify-content: center; font-size: var(--t-xl); font-weight: var(--w-bold); overflow: hidden; }
.avatar-sm { width: 38px; height: 38px; font-size: var(--t-sm); }
.avatar-set { background: var(--blue-soft); color: var(--blue); border-color: transparent; }

/* ---- the front door ------------------------------------------------------
   One headline, one line under it that says what the exchange is, and the people
   underneath. Wide: the sub-line is the argument and it is allowed the full measure. */
.front { display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s6); padding: var(--s8) var(--s6) var(--s6); background: var(--brand-wash); }
/* The break in the headline is deliberate and lives in the markup; the measure is the backstop
   for any other sentence put here. A line that ends on one word is the thing to avoid. */
.front > .t-hero { font-size: var(--t-front); line-height: var(--lh-front);
  letter-spacing: var(--tr-front); max-width: 20ch; }
/* `.front-sub` lived here until 2026-11-13 and is gone with the sentence it carried: the owner
   took the exchange line off the hero, and a role with no user is the beginning of a kit that
   nobody trusts. If a sub-line returns it comes back as a role, not as a one-off. */
/* The ticker belongs to this block, so the block does not end with 112px of air between the line
   that introduces the integrations and the integrations. The air moves below the ticker. */
.front-foot { display: flex; flex-direction: column; align-items: center; gap: var(--s4);
  padding: 0 var(--s6) var(--s5); text-align: center; }

/* ---- the rotation of the people behind the agents ------------------------
   Five in view of about twenty, moving continuously. The edges are not styled per
   card: the track scrolls and a mask fades whatever is passing through the outer
   fifth, so a card arrives and leaves without anyone having to name which is which. */
.carousel { overflow: hidden; padding: var(--s6) 0; max-width: 1180px; margin-inline: auto;
  /* The fade is the outer tenth only: five cards read clearly and the pair arriving and leaving
     soften at the edges. A wider mask was eating two of the five. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
.carousel-track { display: flex; align-items: flex-start; gap: var(--s6); width: max-content;
  animation: ea-rotate 60s linear infinite; }
.carousel:hover .carousel-track, .carousel:focus-within .carousel-track { animation-play-state: paused; }
@keyframes ea-rotate { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Movement is decoration here; the cards are all reachable without it. */
@media (prefers-reduced-motion: reduce) { .carousel-track { animation: none; } }
/* 196 + a 40 gap is a 236 pitch, which puts exactly five across the pinned 1180 container with the
   sixth at the fade. The card was 172 while the disc was 104; a 128 disc at that width showed six,
   and five in view is the owner's direction, not an accident of the frame. */
.cq { text-decoration: none; color: inherit; display: flex; flex-direction: column;
  align-items: center; gap: var(--s3); text-align: center; width: 196px; flex: none; }
/* Every caption reserves two lines, so "Built by <name>" sits on one baseline across the row.
   All current job titles fit in two lines without clipping their copy. */
.cq:hover .t-body { color: var(--text); }
.cq .t-body { max-width: 20ch; min-height: calc(var(--t-base) * var(--lh-base) * 2); }
/* Six of the supplied headshots are shot on a white studio background that reaches the frame edge.
   Cropping that away would eat the photograph, so the circle carries its own edge instead: a hair
   of light on the rim and the canvas drawn back in around it, which seats any photograph on a
   near-black page whatever its background. Measured 2026-11-16 after trimming the 22 that really
   did have a baked-in white border. */
.headshot { position: relative; width: 128px; height: 128px; border-radius: var(--r-pill);
  overflow: hidden; flex: none; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; font-size: var(--t-xl); font-weight: var(--w-semi); color: var(--text-2); }
.headshot::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 0 22px 7px rgba(8,9,10,.5); }
.headshot-img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%;
  display: block; transform: scale(1.06); }
/* A loading card reserves exactly what a loaded one occupies, and wears no tone: a skeleton
   that is shorter than its content reflows the page, and a coloured one looks like data. */
.hs-skel { background: var(--surface-2); }
.cq-skel { min-height: calc(128px + var(--s3) + var(--t-base) * var(--lh-base) * 2
                            + var(--s3) + var(--t-sm) * var(--lh-sm)); }
/* Stand-ins for photographs until an expert uploads one. Six tones, so a row of them reads as
   people rather than as a repeated shape. */
.hs-1 { background: linear-gradient(145deg, #3b4a6b, #1b2435); }
.hs-2 { background: linear-gradient(145deg, #4e3b66, #241e33); }
.hs-3 { background: linear-gradient(145deg, #3a5c56, #1b2b28); }
.hs-4 { background: linear-gradient(145deg, #65503c, #2e241c); }
.hs-5 { background: linear-gradient(145deg, #43516a, #1f2630); }
.hs-6 { background: linear-gradient(145deg, #5e424f, #2b1f26); }

/* A label over a centred band belongs over the band, not at the page edge. */
.band-label { display: block; max-width: 1180px; margin: 0 auto; text-align: center; }
.band-summary { display: flex; align-items: center; justify-content: center;
  gap: var(--s3); max-width: 1180px; width: 100%; margin: 0 auto;
  padding: 0 var(--s6) var(--s8); text-align: center; }
.band-summary .t-label { white-space: nowrap; }

/* ---- the integrations ticker --------------------------------------------
   The same device as the rotation and deliberately the lesser one: a third the height, no
   pictures, and running the other way so the two read as two bands rather than as one wide
   thing drifting. Wordmarks, not logos — nothing here fabricates another company's mark. */
.ticker { overflow: hidden; max-width: 1180px; margin-inline: auto; padding: var(--s4) 0 var(--s5);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.ticker-track { display: flex; align-items: center; gap: var(--s6); width: max-content;
  animation: ea-rotate 48s linear infinite reverse; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
/* One plate, two fillings. A brand we hold a mark for shows the mark; one we do not shows its name
   at the same optical size, in the same ink, on the same plate — so a mixed row reads as one system
   rather than as some logos and some text. Everything is --text-3 until hovered: a wall of brand
   colour would out-shout the people above it, which is the wrong way round for this product. */
.ticker-item { display: inline-flex; align-items: center; justify-content: center; height: 34px;
  gap: var(--s2); padding: 0 var(--s4); border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--line); color: var(--text-3); white-space: nowrap;
  font-size: var(--t-sm); line-height: 1; letter-spacing: -.01em; }
.ticker-item:hover { color: var(--text-2); border-color: var(--line-strong); }
/* The brands in their own colours, which is how a visitor recognises them at a glance. Four marks
   are near-black by brand (Notion, GitHub, Confluence, Sentry) and would vanish on a #08090a
   canvas, so those render white — which is what each of those companies does on dark itself. */
.int-mark { display: block; width: auto; height: 17px; aspect-ratio: 1;
  background-repeat: no-repeat; background-position: center; background-size: contain; }
.m-notion { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23FFFFFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.459%204.208c.746.606%201.026.56%202.428.466l13.215-.793c.28%200%20.047-.28-.046-.326L17.86%201.968c-.42-.326-.981-.7-2.055-.607L3.01%202.295c-.466.046-.56.28-.374.466zm.793%203.08v13.904c0%20.747.373%201.027%201.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42%200%20.84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748%200-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21%2019s0%20.84-1.168.84l-3.222.186c-.093-.186%200-.653.327-.746l.84-.233V9.854L7.822%209.76c-.094-.42.14-1.026.793-1.073l3.456-.233%204.764%207.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936%201.035l13.31-.98c1.634-.14%202.055-.047%203.082.7l4.249%202.986c.7.513.934.653.934%201.213v16.378c0%201.026-.373%201.634-1.68%201.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54%201.447-1.632z%22%2F%3E%3C%2Fsvg%3E"); }
.m-hubspot { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23FF7A59%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M18.164%207.93V5.084a2.198%202.198%200%20001.267-1.978v-.067A2.2%202.2%200%200017.238.845h-.067a2.2%202.2%200%2000-2.193%202.193v.067a2.196%202.196%200%20001.252%201.973l.013.006v2.852a6.22%206.22%200%2000-2.969%201.31l.012-.01-7.828-6.095A2.497%202.497%200%20104.3%204.656l-.012.006%207.697%205.991a6.176%206.176%200%2000-1.038%203.446c0%201.343.425%202.588%201.147%203.607l-.013-.02-2.342%202.343a1.968%201.968%200%2000-.58-.095h-.002a2.033%202.033%200%20102.033%202.033%201.978%201.978%200%2000-.1-.595l.005.014%202.317-2.317a6.247%206.247%200%20104.782-11.134l-.036-.005zm-.964%209.378a3.206%203.206%200%20113.215-3.207v.002a3.206%203.206%200%2001-3.207%203.207z%22%2F%3E%3C%2Fsvg%3E"); }
.m-jira { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%230052CC%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.571%2011.513H0a5.218%205.218%200%200%200%205.232%205.215h2.13v2.057A5.215%205.215%200%200%200%2012.575%2024V12.518a1.005%201.005%200%200%200-1.005-1.005zm5.723-5.756H5.736a5.215%205.215%200%200%200%205.215%205.214h2.129v2.058a5.218%205.218%200%200%200%205.215%205.214V6.758a1.001%201.001%200%200%200-1.001-1.001zM23.013%200H11.455a5.215%205.215%200%200%200%205.215%205.215h2.129v2.057A5.215%205.215%200%200%200%2024%2012.483V1.005A1.001%201.001%200%200%200%2023.013%200Z%22%2F%3E%3C%2Fsvg%3E"); }
.m-confluence { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23FFFFFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M.87%2018.257c-.248.382-.53.875-.763%201.245a.764.764%200%200%200%20.255%201.04l4.965%203.054a.764.764%200%200%200%201.058-.26c.199-.332.454-.763.733-1.221%201.967-3.247%203.945-2.853%207.508-1.146l4.957%202.337a.764.764%200%200%200%201.028-.382l2.364-5.346a.764.764%200%200%200-.382-1%20599.851%20599.851%200%200%201-4.965-2.361C10.911%2010.97%205.224%2011.185.87%2018.257zM23.131%205.743c.249-.405.531-.875.764-1.25a.764.764%200%200%200-.256-1.034L18.675.404a.764.764%200%200%200-1.058.26c-.195.335-.451.763-.734%201.225-1.966%203.246-3.945%202.85-7.508%201.146L4.437.694a.764.764%200%200%200-1.027.382L1.046%206.422a.764.764%200%200%200%20.382%201c1.039.49%203.105%201.467%204.965%202.361%206.698%203.246%2012.392%203.029%2016.738-4.04z%22%2F%3E%3C%2Fsvg%3E"); }
.m-asana { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23F06A6A%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M18.78%2012.653c-2.882%200-5.22%202.336-5.22%205.22s2.338%205.22%205.22%205.22%205.22-2.34%205.22-5.22-2.336-5.22-5.22-5.22zm-13.56%200c-2.88%200-5.22%202.337-5.22%205.22s2.338%205.22%205.22%205.22%205.22-2.338%205.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0%202.883-2.337%205.22-5.22%205.22-2.882%200-5.22-2.337-5.22-5.22%200-2.88%202.338-5.22%205.22-5.22%202.883%200%205.22%202.34%205.22%205.22z%22%2F%3E%3C%2Fsvg%3E"); }
.m-trello { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%230052CC%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21.147%200H2.853A2.86%202.86%200%20000%202.853v18.294A2.86%202.86%200%20002.853%2024h18.294A2.86%202.86%200%200024%2021.147V2.853A2.86%202.86%200%200021.147%200zM10.34%2017.287a.953.953%200%2001-.953.953h-4a.954.954%200%2001-.954-.953V5.38a.953.953%200%2001.954-.953h4a.954.954%200%2001.953.953zm9.233-5.467a.944.944%200%2001-.953.947h-4a.947.947%200%2001-.953-.947V5.38a.953.953%200%2001.953-.953h4a.954.954%200%2001.953.953z%22%2F%3E%3C%2Fsvg%3E"); }
.m-dropbox { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%230061FF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%201.807L0%205.629l6%203.822%206.001-3.822L6%201.807zM18%201.807l-6%203.822%206%203.822%206-3.822-6-3.822zM0%2013.274l6%203.822%206.001-3.822L6%209.452l-6%203.822zM18%209.452l-6%203.822%206%203.822%206-3.822-6-3.822zM6%2018.371l6.001%203.822%206-3.822-6-3.822L6%2018.371z%22%2F%3E%3C%2Fsvg%3E"); }
.m-figma { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23F24E1E%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.852%208.981h-4.588V0h4.588c2.476%200%204.49%202.014%204.49%204.49s-2.014%204.491-4.49%204.491zM12.735%207.51h3.117c1.665%200%203.019-1.355%203.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0%201.471H8.148c-2.476%200-4.49-2.014-4.49-4.49S5.672%200%208.148%200h4.588v8.981zm-4.587-7.51c-1.665%200-3.019%201.355-3.019%203.019s1.354%203.02%203.019%203.02h3.117V1.471H8.148zm4.587%2015.019H8.148c-2.476%200-4.49-2.014-4.49-4.49s2.014-4.49%204.49-4.49h4.588v8.98zM8.148%208.981c-1.665%200-3.019%201.355-3.019%203.019s1.355%203.019%203.019%203.019h3.117V8.981H8.148zM8.172%2024c-2.489%200-4.515-2.014-4.515-4.49s2.014-4.49%204.49-4.49h4.588v4.441c0%202.503-2.047%204.539-4.563%204.539zm-.024-7.51a3.023%203.023%200%200%200-3.019%203.019c0%201.665%201.365%203.019%203.044%203.019%201.705%200%203.093-1.376%203.093-3.068v-2.97H8.148zm7.704%200h-.098c-2.476%200-4.49-2.014-4.49-4.49s2.014-4.49%204.49-4.49h.098c2.476%200%204.49%202.014%204.49%204.49s-2.014%204.49-4.49%204.49zm-.097-7.509c-1.665%200-3.019%201.355-3.019%203.019s1.355%203.019%203.019%203.019h.098c1.665%200%203.019-1.355%203.019-3.019s-1.355-3.019-3.019-3.019h-.098z%22%2F%3E%3C%2Fsvg%3E"); }
.m-airtable { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%2318BFFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.992%201.966c-.434%200-.87.086-1.28.257L1.779%205.917c-.503.208-.49.908.012%201.116l8.982%203.558a3.266%203.266%200%200%200%202.454%200l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255%203.255%200%200%200-1.272-.257zM23.4%208.056a.589.589%200%200%200-.222.045l-10.012%203.877a.612.612%200%200%200-.38.564v8.896a.6.6%200%200%200%20.821.552L23.62%2018.1a.583.583%200%200%200%20.38-.551V8.653a.6.6%200%200%200-.6-.596zM.676%208.095a.644.644%200%200%200-.48.19C.086%208.396%200%208.53%200%208.69v8.355c0%20.442.515.737.908.54l6.27-3.006.307-.147%202.969-1.436c.466-.22.43-.908-.061-1.092L.883%208.138a.57.57%200%200%200-.207-.044z%22%2F%3E%3C%2Fsvg%3E"); }
.m-calendly { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23006BFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19.655%2014.262c.281%200%20.557.023.828.064%200%20.005-.005.01-.005.014-.105.267-.234.534-.381.786l-1.219%202.106c-1.112%201.936-3.177%203.127-5.411%203.127h-2.432c-2.23%200-4.294-1.191-5.412-3.127l-1.218-2.106a6.251%206.251%200%200%201%200-6.252l1.218-2.106C6.736%204.832%208.8%203.641%2011.035%203.641h2.432c2.23%200%204.294%201.191%205.411%203.127l1.219%202.106c.147.252.271.519.381.786%200%20.004.005.009.005.014-.267.041-.543.064-.828.064-1.816%200-2.501-.607-3.291-1.306-.764-.676-1.711-1.517-3.44-1.517h-1.029c-1.251%200-2.387.455-3.2%201.278-.796.805-1.233%201.904-1.233%203.099v1.411c0%201.196.437%202.295%201.233%203.099.813.823%201.949%201.278%203.2%201.278h1.034c1.729%200%202.676-.841%203.439-1.517.791-.703%201.471-1.306%203.287-1.301Zm.005-3.237c.399%200%20.794-.036%201.179-.11-.002-.004-.002-.01-.002-.014-.073-.414-.193-.823-.349-1.218.731-.12%201.407-.396%201.986-.819%200-.004-.005-.013-.005-.018-.331-1.085-.832-2.101-1.489-3.03-.649-.915-1.435-1.719-2.331-2.395-1.867-1.398-4.088-2.138-6.428-2.138-1.448%200-2.855.28-4.175.841-1.273.543-2.423%201.315-3.407%202.299S2.878%206.552%202.341%207.83c-.557%201.324-.842%202.726-.842%204.175%200%201.448.281%202.855.842%204.174.542%201.274%201.314%202.423%202.298%203.407s2.129%201.761%203.407%202.299c1.324.556%202.727.841%204.175.841%202.34%200%204.561-.74%206.428-2.137a10.815%2010.815%200%200%200%202.331-2.396c.652-.929%201.158-1.949%201.489-3.03%200-.004.005-.014.005-.018-.579-.423-1.255-.699-1.986-.819.161-.395.276-.804.349-1.218.005-.009.005-.014.005-.023.869.166%201.692.506%202.404%201.035.685.505.552%201.075.446%201.416C22.184%2020.437%2017.619%2024%2012.221%2024c-6.625%200-12-5.375-12-12s5.37-12%2012-12c5.398%200%209.963%203.563%2011.471%208.464.106.341.239.915-.446%201.421-.717.529-1.535.873-2.404%201.034.128.716.128%201.45%200%202.166-.387-.074-.782-.11-1.182-.11-4.184%200-3.968%202.823-6.736%202.823h-1.029c-1.899%200-3.15-1.357-3.15-3.095v-1.411c0-1.738%201.251-3.094%203.15-3.094h1.034c2.768%200%202.552%202.823%206.731%202.827Z%22%2F%3E%3C%2Fsvg%3E"); }
.m-intercom { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%236AFDEF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%200H3C1.343%200%200%201.343%200%203v18c0%201.658%201.343%203%203%203h18c1.658%200%203-1.342%203-3V3c0-1.657-1.342-3-3-3zm-5.801%204.399c0-.44.36-.8.802-.8.44%200%20.8.36.8.8v10.688c0%20.442-.36.801-.8.801-.443%200-.802-.359-.802-.801V4.399zM11.2%203.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0%20.44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4%20.405c0-.44.359-.8.799-.8.443%200%20.802.36.802.8v10.688c0%20.442-.36.801-.802.801-.44%200-.799-.359-.799-.801V4.399zM3.199%206c0-.442.36-.8.802-.8.44%200%20.799.358.799.8v7.195c0%20.441-.359.8-.799.8-.443%200-.802-.36-.802-.8V6zM20.52%2018.202c-.123.105-3.086%202.593-8.52%202.593-5.433%200-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375%201.125-.09.047.041%202.693%202.211%207.481%202.211%204.848%200%207.456-2.186%207.479-2.207.334-.289.839-.25%201.128.086.289.336.25.84-.086%201.128zm.281-5.007c0%20.441-.36.8-.801.8-.441%200-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441%200%20.801.357.801.8v7.195z%22%2F%3E%3C%2Fsvg%3E"); }
.m-shopify { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%237AB55C%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.337%2023.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914%2021.104h.023zM11.71%2011.305s-.81-.424-1.774-.424c-1.447%200-1.504.906-1.504%201.141%200%201.232%203.24%201.715%203.24%204.629%200%202.295-1.44%203.76-3.406%203.76-2.354%200-3.54-1.465-3.54-1.465l.646-2.086s1.245%201.066%202.28%201.066c.675%200%20.975-.545.975-.932%200-1.619-2.654-1.694-2.654-4.359-.034-2.237%201.571-4.416%204.827-4.416%201.257%200%201.875.361%201.875.361l-.945%202.715-.02.01zM11.17.83c.136%200%20.271.038.405.135-.984.465-2.064%201.639-2.508%203.992-.656.213-1.293.405-1.889.578C7.697%203.75%208.951.84%2011.17.84V.83zm1.235%202.949v.135c-.754.232-1.583.484-2.394.736.466-1.777%201.333-2.645%202.085-2.971.193.501.309%201.176.309%202.1zm.539-2.234c.694.074%201.141.867%201.429%201.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992%201.289c-.02%200-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209%2011.669%200%2011.265%200%208.159%200%206.675%203.877%206.21%205.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83%2014.063-1.83%2014.063L15.009%2024l.927-21.166z%22%2F%3E%3C%2Fsvg%3E"); }
.m-xero { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%2313B5EA%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%200C5.373%200%200%205.373%200%2012s5.373%2012%2012%2012%2012-5.373%2012-12S18.627%200%2012%200zm6.585%2014.655c-1.485%200-2.69-1.206-2.69-2.689%200-1.485%201.207-2.691%202.69-2.691%201.485%200%202.69%201.207%202.69%202.691s-1.207%202.689-2.69%202.689zM7.53%2014.644c-.099%200-.192-.041-.267-.116l-2.043-2.04-2.052%202.047c-.069.068-.16.108-.258.108-.202%200-.368-.166-.368-.368%200-.099.04-.191.111-.263l2.04-2.05-2.038-2.047c-.075-.069-.113-.162-.113-.261%200-.203.166-.366.368-.366.098%200%20.188.037.258.105l2.055%202.048%202.048-2.045c.069-.071.162-.108.26-.108.211%200%20.375.165.375.366%200%20.098-.029.188-.104.258l-2.056%202.055%202.055%202.051c.068.069.104.16.104.258%200%20.202-.165.368-.365.368h-.01zm8.017-4.591c-.796.101-.882.476-.882%201.404v2.787c0%20.202-.165.366-.366.366-.203%200-.367-.165-.368-.366v-4.53c0-.204.16-.366.362-.366.166%200%20.316.125.346.289.27-.209.6-.317.93-.317h.105c.195%200%20.359.165.359.368%200%20.201-.164.352-.375.359%200%200-.09%200-.164.008l.053-.002zm-3.091%202.205H8.625c0%20.019.003.037.006.057.02.105.045.211.083.31.194.531.765%201.275%201.829%201.29.33-.003.631-.086.9-.229.21-.12.391-.271.525-.428.045-.058.09-.112.12-.168.18-.229.405-.186.54-.083.164.135.18.391.045.57l-.016.016c-.21.27-.435.495-.689.66-.255.164-.525.284-.811.345-.33.09-.645.104-.975.06-1.095-.135-2.01-.93-2.28-2.01-.06-.21-.09-.42-.09-.645%200-.855.421-1.695%201.125-2.205.885-.615%202.085-.66%203-.075.63.405%201.035%201.021%201.185%201.771.075.419-.21.794-.734.81l.068-.046zm6.129-2.223c-1.064%200-1.931.865-1.931%201.931%200%201.064.866%201.931%201.931%201.931s1.931-.867%201.931-1.931c0-1.065-.866-1.933-1.931-1.933v.002zm0%202.595c-.367%200-.666-.297-.666-.666%200-.367.3-.665.666-.665.367%200%20.667.299.667.665%200%20.369-.3.667-.667.666zm-8.04-2.603c-.91%200-1.672.623-1.886%201.466v.03h3.776c-.203-.855-.973-1.494-1.891-1.494v-.002z%22%2F%3E%3C%2Fsvg%3E"); }
.m-quickbooks { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%232CA01C%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%200A12%2012%200%200%200%200%2012a12%2012%200%200%200%2012%2012%2012%2012%200%200%200%2012-12A12%2012%200%200%200%2012%200zm.642%204.1335c.9554%200%201.7296.776%201.7296%201.7332v9.0667h1.6c1.614%200%202.9275-1.3156%202.9275-2.933%200-1.6173-1.3136-2.9333-2.9276-2.9333h-.6654V7.3334h.6654c2.5722%200%204.6577%202.0897%204.6577%204.667%200%202.5774-2.0855%204.6666-4.6577%204.6666H12.642zM7.9837%207.333h3.3291v12.533c-.9555%200-1.73-.7759-1.73-1.7332V9.0662H7.9837c-1.6146%200-2.9277%201.316-2.9277%202.9334%200%201.6175%201.3131%202.9333%202.9277%202.9333h.6654v1.7332h-.6654c-2.5725%200-4.6577-2.0892-4.6577-4.6665%200-2.5771%202.0852-4.6666%204.6577-4.6666Z%22%2F%3E%3C%2Fsvg%3E"); }
.m-github { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23FFFFFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%20.297c-6.63%200-12%205.373-12%2012%200%205.303%203.438%209.8%208.205%2011.385.6.113.82-.258.82-.577%200-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422%2018.07%203.633%2017.7%203.633%2017.7c-1.087-.744.084-.729.084-.729%201.205.084%201.838%201.236%201.838%201.236%201.07%201.835%202.809%201.305%203.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93%200-1.31.465-2.38%201.235-3.22-.135-.303-.54-1.523.105-3.176%200%200%201.005-.322%203.3%201.23.96-.267%201.98-.399%203-.405%201.02.006%202.04.138%203%20.405%202.28-1.552%203.285-1.23%203.285-1.23.645%201.653.24%202.873.12%203.176.765.84%201.23%201.91%201.23%203.22%200%204.61-2.805%205.625-5.475%205.92.42.36.81%201.096.81%202.22%200%201.606-.015%202.896-.015%203.286%200%20.315.21.69.825.57C20.565%2022.092%2024%2017.592%2024%2012.297c0-6.627-5.373-12-12-12%22%2F%3E%3C%2Fsvg%3E"); }
.m-linear { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%235E6AD2%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.886%204.18A11.982%2011.982%200%200%201%2011.99%200C18.624%200%2024%205.376%2024%2012.009c0%203.64-1.62%206.903-4.18%209.105L2.887%204.18ZM1.817%205.626l16.556%2016.556c-.524.33-1.075.62-1.65.866L.951%207.277c.247-.575.537-1.126.866-1.65ZM.322%209.163l14.515%2014.515c-.71.172-1.443.282-2.195.322L0%2011.358a12%2012%200%200%201%20.322-2.195Zm-.17%204.862%209.823%209.824a12.02%2012.02%200%200%201-9.824-9.824Z%22%2F%3E%3C%2Fsvg%3E"); }
.m-sentry { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23FFFFFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.91%202.505c-.873-1.448-2.972-1.448-3.844%200L6.904%207.92a15.478%2015.478%200%200%201%208.53%2012.811h-2.221A13.301%2013.301%200%200%200%205.784%209.814l-2.926%205.06a7.65%207.65%200%200%201%204.435%205.848H2.194a.365.365%200%200%201-.298-.534l1.413-2.402a5.16%205.16%200%200%200-1.614-.913L.296%2019.275a2.182%202.182%200%200%200%20.812%202.999%202.24%202.24%200%200%200%201.086.288h6.983a9.322%209.322%200%200%200-3.845-8.318l1.11-1.922a11.47%2011.47%200%200%201%204.95%2010.24h5.915a17.242%2017.242%200%200%200-7.885-15.28l2.244-3.845a.37.37%200%200%201%20.504-.13c.255.14%209.75%2016.708%209.928%2016.9a.365.365%200%200%201-.327.543h-2.287c.029.612.029%201.223%200%201.831h2.297a2.206%202.206%200%200%200%201.922-3.31z%22%2F%3E%3C%2Fsvg%3E"); }
.m-stripe { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23635BFF%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.976%209.15c-2.172-.806-3.356-1.426-3.356-2.409%200-.831.683-1.305%201.901-1.305%202.227%200%204.515.858%206.09%201.631l.89-5.494C18.252.975%2015.697%200%2012.165%200%209.667%200%207.589.654%206.104%201.872%204.56%203.147%203.757%204.992%203.757%207.218c0%204.039%202.467%205.76%206.476%207.219%202.585.92%203.445%201.574%203.445%202.583%200%20.98-.84%201.545-2.354%201.545-1.875%200-4.965-.921-6.99-2.109l-.9%205.555C5.175%2022.99%208.385%2024%2011.714%2024c2.641%200%204.843-.624%206.328-1.813%201.664-1.305%202.525-3.236%202.525-5.732%200-4.128-2.524-5.851-6.594-7.305h.003z%22%2F%3E%3C%2Fsvg%3E"); }
.m-webflow { background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23146EF5%22%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m24%204.515-7.658%2014.97H9.149l3.205-6.204h-.144C9.566%2016.713%205.621%2018.973%200%2019.485v-6.118s3.596-.213%205.71-2.435H0V4.515h6.417v5.278l.144-.001%202.622-5.277h4.854v5.244h.144l2.72-5.244H24Z%22%2F%3E%3C%2Fsvg%3E"); }

/* ---- links: a horizontal row of marks, never a vertical list ------------ */
.links-row { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.link-chip { width: 36px; height: 36px; flex: none; border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; }
.link-chip:hover { border-color: var(--blue); }
.tip { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--surface-3); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: var(--s1) var(--s3); font-size: var(--t-xs); white-space: nowrap; color: var(--text); z-index: 3; }
.add-net { height: 36px; border-radius: var(--r-pill); border: 1px dashed var(--line-strong);
  background: transparent; color: var(--text-2); padding: 0 var(--s3); display: inline-flex;
  align-items: center; gap: var(--s2); font: inherit; font-size: var(--t-sm); cursor: pointer; }
.add-net:hover { border-style: solid; border-color: var(--blue); color: var(--text); }
/* A real favicon where the site has one; a letter tile stands in where it does not. */
.favicon-img { width: 18px; height: 18px; flex: none; border-radius: var(--r-sm); display: block; }
/* A link that is not one of the integrations wears its own favicon. */
.favicon { width: 18px; height: 18px; flex: none; border-radius: var(--r-sm); background: var(--surface-3);
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--w-bold);
  color: var(--text-2); }

/* ---- a modal, for a decision that should not happen in the background ---- */
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.66); display: flex; align-items: center;
  justify-content: center; padding: var(--s5); z-index: 5; }
.modal { width: 100%; max-width: 600px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); max-height: 100%; overflow: hidden;
  display: flex; flex-direction: column; }
.modal-head { padding: var(--s5) var(--s5) var(--s3); }
.modal-body { padding: 0 var(--s5); overflow: auto; flex: 1; min-height: 0; }
.modal-foot { flex: none; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; gap: var(--s3); }
dialog.modal { margin: auto; padding: 0; color: var(--text); }
dialog.modal:not([open]) { display: none; }
dialog.modal::backdrop { background: rgba(0,0,0,.66); }
.modal-form { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.modal-form .field { display: flex; flex-direction: column; gap: var(--s2); }
.interest-dialog [hidden] { display: none; }

/* ---- a source we referenced rather than reproduced ---------------------- */
.source { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm);
  padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: var(--surface-2);
  border: 1px solid var(--line); color: var(--text-2); }

/* ---- the full background: what each source actually contributed --------- */
.bg-section { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.bg-section:last-child { border-bottom: 0; }
.bg-section h4 { margin: 0 0 var(--s2); font-size: var(--t-sm); font-weight: var(--w-semi);
  color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.bg-item { display: flex; gap: var(--s3); align-items: baseline; padding: var(--s1) 0; }
.bg-item .t-meta { white-space: nowrap; }

/* ---- a search result about a person: judge it, scan it, open it --------- */
.result { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line); }
.result:last-of-type { border-bottom: 0; }
.result-open { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.result-open:hover .result-title { text-decoration: underline; }
.result-site { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-xs);
  color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-title { font-size: var(--t-base); color: var(--text); line-height: 1.35;
  /* The title is the recognition signal, so it wraps rather than truncating. Two lines is the cap. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-yes .result-title, .result-no .result-title { color: var(--text-2); }
.result-no { opacity: .55; }
.thumb { width: 64px; height: 44px; flex: none; border-radius: var(--r-sm); background: var(--surface-3);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: var(--t-xs); color: var(--text-3); overflow: hidden; }
.thumb-img { background: linear-gradient(135deg, var(--surface-3), var(--blue-soft)); }

/* The judgement sits to the left, where the eye starts. */
.judge { display: flex; gap: var(--s1); flex: none; }
.judge button { width: 30px; height: 30px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text-3); font: inherit; font-size: var(--t-sm);
  cursor: pointer; display: flex; align-items: center; justify-content: center; }
.judge button:hover { color: var(--text); }
.judge .yes-on { background: var(--green-soft); border-color: transparent; color: var(--green); }
.judge .no-on  { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
/* Blue, because picking a candidate and saving a go-to agent are both things the PERSON does
   (D-22). Green stays for "it worked or it earned", which is what .yes-on means on a verdict. */
.judge .pick-on,
.judge .fav-on { background: var(--blue-soft); border-color: transparent; color: var(--blue); }

/* ---- a candidate in a disambiguation wizard ----------------------------- */
.candidate { display: flex; gap: var(--s4); padding: var(--s4); border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); cursor: pointer; align-items: flex-start; }
.candidate:hover { border-color: var(--blue); }
.candidate-on { border-color: var(--blue); background: var(--blue-soft); }

/* ---- a chat composer that takes a voice or a keyboard -------------------- */
.composer { display: flex; align-items: flex-end; gap: var(--s2); padding: var(--s2);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
.composer .textarea { background: transparent; border: 0; min-height: 44px; padding: var(--s2); }
.composer .textarea:focus-visible { box-shadow: none; }
.mic { width: 38px; height: 38px; flex: none; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface-3); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mic-on { background: var(--blue); border-color: transparent; color: var(--ink-on-accent); }
/* The clip is the ONLY control beside the composer besides the mic (D-62): a JD that exists as a
   file cannot be pasted, and everything else the partner needs it asks for in words. */
.clip { width: 38px; height: 38px; flex: none; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.clip:hover { color: var(--text); border-color: var(--blue); }
.wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.wave i { display: block; width: 3px; border-radius: var(--r-pill); background: var(--blue); }
.wave i:nth-child(1){height:6px} .wave i:nth-child(2){height:14px} .wave i:nth-child(3){height:9px}
.wave i:nth-child(4){height:17px} .wave i:nth-child(5){height:7px} .wave i:nth-child(6){height:12px}
.wave i:nth-child(7){height:5px}
.dictating { color: var(--blue); }

/* ---- choices the agent offers mid-conversation --------------------------- */
/* A choice is legitimate only where the set is one the SYSTEM owns — a capability it can grant, a
   failure-mode label the expert themselves registered, an action on a named set. It is never a guess
   at what a person will say about quality: those are typed, because the sentence we did not predict
   is the one worth having (D-62). */
.choices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice { font: inherit; font-size: var(--t-sm); padding: var(--s2) var(--s4); border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; }
.choice:hover { background: var(--surface-3); border-color: var(--blue); }
.choice-on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }

/* ---- a card the platform proposes ---------------------------------------- */
.suggest { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; }
.suggest:hover { border-color: var(--purple); }
.suggest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.from-bg { display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--t-xs);
  color: var(--purple); background: var(--purple-soft); padding: var(--s1) var(--s2); border-radius: var(--r-pill); }

/* ---- fields ------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.input, .textarea { font: inherit; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: var(--s2) var(--s3); width: 100%; }
.input { height: var(--control-h); }
.textarea { min-height: 92px; resize: vertical; line-height: var(--lh-base); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus-visible, .textarea:focus-visible { border-color: var(--blue); }
.input-err, .textarea-err { border-color: var(--danger); }
.err { color: var(--danger); font-size: var(--t-sm); line-height: var(--lh-sm); }

/* ---- chips, dots -------------------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--t-xs);
  line-height: var(--lh-xs); font-weight: var(--w-medium); padding: var(--s1) var(--s3);
  border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.chip-good   { background: var(--green-soft);  color: var(--green);  border-color: transparent; }
.chip-warn   { background: var(--warn-soft);   color: var(--warn);   border-color: transparent; }
.chip-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip-accent { background: var(--blue-soft);   color: var(--blue);   border-color: transparent; }
.chip-agent  { background: var(--purple-soft); color: var(--purple); border-color: transparent; }
.dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--text-3); flex: none; }
.dot-good { background: var(--green); } .dot-warn { background: var(--warn); } .dot-danger { background: var(--danger); }

/* ---- the score: the one load-bearing number ---------------------------- */
.score { display: flex; align-items: baseline; gap: var(--s2); }
.score-value { font-size: var(--t-display); line-height: 1; font-weight: var(--w-bold); letter-spacing: -.03em; }
.score-of { font-size: var(--t-lg); color: var(--text-3); }
.score-delta-up   { color: var(--green);  font-size: var(--t-sm); font-weight: var(--w-medium); }
.score-delta-down { color: var(--danger); font-size: var(--t-sm); font-weight: var(--w-medium); }
.meter { height: 6px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.meter-fill { height: 100%; background: var(--green); }
.meter-fill-warn { background: var(--warn); }

/* ---- empty, loading, notice -------------------------------------------- */
.empty { padding: var(--s8) var(--s5); text-align: center; display: flex; flex-direction: column; gap: var(--s4); align-items: center; }
.skel { background: var(--surface-2); border-radius: var(--r-sm); height: 12px; }
.spinner { width: 14px; height: 14px; flex: none; border-radius: var(--r-pill); border: 2px solid var(--line-strong); border-top-color: var(--blue); }
.notice { padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--surface-2); color: var(--text-2); font-size: var(--t-sm); border: 1px solid var(--line); }
.notice-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.notice-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* ---- conversation: a real back-and-forth, taller than it is wide -------- */
.chat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 640px;
  width: 100%; margin: 0 auto; }
.chat-head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line); background: var(--bg); }
.chat-body { flex: 1; min-height: 0; overflow: auto; padding: var(--s5) var(--s4);
  display: flex; flex-direction: column; gap: var(--s4); }
.chat-foot { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); background: var(--bg); }
.chat-tall { min-height: 560px; }   /* tall and narrow is the point; content may exceed it */

/* The maker speaks on the left, the expert on the right. */
.turns { display: flex; flex-direction: column; gap: var(--s4); }
.turn { display: flex; gap: var(--s3); align-items: flex-start; max-width: 86%; }
.turn-said { white-space: pre-wrap; padding: var(--s3) var(--s4); border-radius: var(--r-lg);
  background: var(--surface-2); border: 1px solid var(--line); }
.turn-maker { align-self: flex-start; }
.turn-maker .turn-said { border-top-left-radius: var(--r-sm); }
.turn-me { align-self: flex-end; flex-direction: row-reverse; }
.turn-me .turn-said { background: var(--blue-soft); border-color: transparent;
  border-top-right-radius: var(--r-sm); }
.turn-who { font-size: var(--t-xs); line-height: var(--lh-xs); font-weight: var(--w-semi);
  color: var(--text-3); margin-bottom: var(--s1); display: block; }
.maker-mark { width: 30px; height: 30px; flex: none; border-radius: var(--r-pill);
  background: var(--brand-line); color: var(--ink-on-accent); display: flex; align-items: center;
  justify-content: center; font-size: var(--t-sm); font-weight: var(--w-bold); }
.maker-mark-lg { width: 36px; height: 36px; }
.cite { display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--t-xs); color: var(--blue); border-bottom: 1px solid var(--blue-soft); cursor: pointer; }

/* ---- actions: what the agent intends to do, and to what -----------------
   An action is not prose. It has a verb, a target, a payload and a class, and each of those can be
   right or wrong independently -- which is why grading one needs more than pass/fail. */
.action { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.action-verb { font-family: var(--mono); font-size: var(--t-xs); padding: var(--s1) var(--s2);
  border-radius: var(--r-sm); background: var(--surface-3); color: var(--text-2); flex: none; }
.action-read  { color: var(--text-2); }
.action-write { color: var(--blue); background: var(--blue-soft); }
.action-send  { color: var(--warn); background: var(--warn-soft); }
.action-none  { color: var(--text-3); border-style: dashed; }
.action-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.action-target { font-size: var(--t-sm); color: var(--text-3); }
.action-list { display: flex; flex-direction: column; gap: var(--s2); }

/* A candidate's record: what it does, who built it, who vouches, what it costs. */
.cv-section { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.cv-section:last-child { border-bottom: 0; }
.cv-section > h4 { margin: 0 0 var(--s3); font-size: var(--t-sm); font-weight: var(--w-semi);
  color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.vouch { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; }
.vouch:not(:last-child) { border-bottom: 1px solid var(--line); }
.rating { display: flex; align-items: baseline; gap: var(--s2); }
.rating-value { font-size: var(--t-xl); font-weight: var(--w-bold); letter-spacing: -.02em; }
.rate-bar { display: flex; align-items: center; gap: var(--s3); }
.rate-bar .meter { width: 120px; flex: none; }
.pay { display: flex; align-items: baseline; gap: var(--s2); }
.pay-value { font-size: var(--t-lg); font-weight: var(--w-semi); }
.candidate-row { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line); }
.candidate-row:last-child { border-bottom: 0; }

/* Comparing agents that are all correct, in different ways. Three columns, one situation. */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: start; }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; }
.compare-col-on { border-color: var(--blue); }
.compare-head { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); background: var(--bg);
  display: flex; align-items: center; gap: var(--s2); }
.compare-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.compare-foot { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); }

/* A working style, stated so a buyer can recognise themselves in it. */
.style-list { display: flex; flex-direction: column; gap: var(--s2); }
.style-item { display: flex; gap: var(--s2); align-items: baseline; font-size: var(--t-sm); }
.style-item::before { content: "·"; color: var(--text-3); }

/* What must happen, what must never, and what is merely preferred. */
.rule-must   { border-left: 2px solid var(--green);  padding-left: var(--s4); }
.rule-never  { border-left: 2px solid var(--danger); padding-left: var(--s4); }
.rule-prefer { border-left: 2px solid var(--blue);   padding-left: var(--s4); }
.rule-free   { border-left: 2px dashed var(--line-strong); padding-left: var(--s4); }

/* The same situation run several times: agents are stochastic, one pass is not evidence. */
.runs { display: flex; gap: var(--s1); align-items: center; }
.run { width: 22px; height: 22px; border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; font-size: 10px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-3); }
.run-pass { background: var(--green-soft); border-color: transparent; color: var(--green); }
.run-fail { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.run-vary { background: var(--warn-soft); border-color: transparent; color: var(--warn); }

/* Grading an action: several dimensions, each judged on its own. */
.dim { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) 0;
  border-bottom: 1px solid var(--line); }
.dim:last-child { border-bottom: 0; }
.dim-name { flex: 1; font-size: var(--t-sm); color: var(--text-2); }
.dim .verdict button { height: 30px; padding: 0 var(--s3); font-size: var(--t-xs); }

/* ---- evals: an input beside an output, and a judgement on it ------------ */
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pane-head { padding: var(--s2) var(--s4); border-bottom: 1px solid var(--line); background: var(--bg);
  font-size: var(--t-xs); font-weight: var(--w-semi); color: var(--text-3);
  text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: var(--s2); }
.pane-body { padding: var(--s4); white-space: pre-wrap; }
.pane-body-scroll { max-height: 260px; overflow: auto; }

/* The human's verdict. Larger than a chip, because this is the work. */
.verdict { display: flex; gap: var(--s2); }
.verdict button { font: inherit; font-size: var(--t-sm); font-weight: var(--w-medium); height: 36px;
  padding: 0 var(--s4); border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text-2); cursor: pointer; display: inline-flex;
  align-items: center; gap: var(--s2); }
.verdict button:hover { color: var(--text); border-color: var(--text-3); }
.verdict .v-pass-on { background: var(--green-soft); border-color: transparent; color: var(--green); }
.verdict .v-part-on { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.verdict .v-fail-on { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.kbd { font-family: var(--mono); font-size: 10px; padding: 1px var(--s1); border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); color: var(--text-3); }

/* How far through a pass of grading the expert is. */
.progress-rail { display: flex; align-items: center; gap: var(--s3); }
.progress-rail .meter { flex: 1; }

/* Whether the judge can be trusted yet. */
.agree { display: flex; align-items: baseline; gap: var(--s2); }
.agree-value { font-size: var(--t-xl); font-weight: var(--w-bold); letter-spacing: -.02em; }

/* ---- the agent, written up as organised bullets, never as tags ---------- */
.spec { display: flex; flex-direction: column; gap: var(--s5); }
.spec-group h4 { margin: 0 0 var(--s2); font-size: var(--t-sm); font-weight: var(--w-semi);
  color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.spec-group ul { margin: 0; padding-left: var(--s5); }
.spec-group li { margin: var(--s1) 0; line-height: var(--lh-base); }
/* A limit the expert can make the agent prove, rather than only assert. */
.spec-try { display: flex; align-items: baseline; gap: var(--s3); }
.spec-try > span { flex: 1; }
.spec-try .btn-text { opacity: 0; }
.spec-try:hover .btn-text, .spec-try:focus-within .btn-text { opacity: 1; }
.proof { border: 1px solid var(--green-soft); border-radius: var(--r-lg); overflow: hidden; }
.proof-head { padding: var(--s2) var(--s4); background: var(--green-soft); color: var(--green);
  font-size: var(--t-xs); font-weight: var(--w-semi); display: flex; align-items: center; gap: var(--s2); }
.spec-locked { border-left: 2px solid var(--line-strong); padding-left: var(--s4); }
.spec-locked h4 { color: var(--text-3); }
.spec-locked li { color: var(--text-2); }

/* ---- lists, key-value, mark, trace, segmented, drop, diff --------------- */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row-top { align-items: flex-start; }
.kv { display: flex; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv-k { width: 180px; flex: none; color: var(--text-3); font-size: var(--t-sm); }
.kv-v { flex: 1; }
/* A mark says WHAT this is, by colour. Purple is the agent and nothing else wears it: a person's
   initials in purple would make the expert read as their own creation. */
.mark { width: 38px; height: 38px; flex: none; border-radius: var(--r); background: var(--purple-soft);
  color: var(--purple); display: flex; align-items: center; justify-content: center;
  font-size: var(--t-sm); font-weight: var(--w-bold); }
.mark-person { background: var(--blue-soft); color: var(--blue); }   /* a human */
.mark-plain  { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--line); } /* a tool, a thing */
.mark-lg { width: 56px; height: 56px; border-radius: var(--r-lg); font-size: var(--t-lg); }
.mark-sm { width: 30px; height: 30px; font-size: var(--t-xs); }   /* beside a chat turn */
.trace { display: flex; flex-direction: column; gap: var(--s3); }
.trace-step { display: flex; gap: var(--s3); align-items: flex-start; }
.trace-mark { width: 18px; flex: none; display: flex; justify-content: center; padding-top: var(--s1); }
.trace-body { flex: 1; display: flex; flex-direction: column; gap: var(--s1); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; background: var(--surface-2); }
.seg > button { font: inherit; font-size: var(--t-sm); border: 0; background: transparent; color: var(--text-3); padding: var(--s1) var(--s4); height: 30px; cursor: pointer; }
.seg > button.on { background: var(--surface-3); color: var(--text); font-weight: var(--w-medium); }
.drop { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: var(--s7); text-align: center; background: var(--surface); display: flex; flex-direction: column; gap: var(--s3); align-items: center; }
.diff-add { color: var(--green); }
.diff-del { color: var(--danger); text-decoration: line-through; }
.breakdown-right { display: flex; align-items: center; gap: var(--s3); width: 200px; flex: none; }
.breakdown-right .meter { flex: 1; }
.breakdown-right .t-meta { white-space: nowrap; }
.stack > .btn, .stack-tight > .btn, .stack-loose > .btn, .field > .btn { align-self: flex-start; }
.empty > .btn { align-self: center; }
.w-8{width:8%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-40{width:40%}
.w-45{width:45%}.w-55{width:55%}.w-60{width:60%}.w-70{width:70%}.w-80{width:80%}
.w-88{width:88%}.w-100{width:100%}
.h-sk-title{height:16px}.h-sk-line{height:12px}

/* =========================================================================
   Mock-up annotation layer. Scaffolding only; it never ships.
   ========================================================================= */
.mk-doc { max-width: 1240px; margin: 0 auto; padding: var(--s7) var(--s6) var(--s8); }
.mk-title { margin: 0 0 var(--s2); font-size: var(--t-xl); font-weight: var(--w-bold); letter-spacing: var(--tr-xl); }
.mk-sub { color: var(--text-2); margin: 0 0 var(--s7); font-size: var(--t-sm); max-width: 90ch; }
.mk-state { margin: 0 0 var(--s7); }
.mk-state-head { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s4); padding-bottom: var(--s2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mk-state-n { font-family: var(--mono); font-size: var(--t-xs); color: var(--text-3); }
.mk-state-name { font-size: var(--t-lg); font-weight: var(--w-semi); }
.mk-state-why { color: var(--text-3); font-size: var(--t-sm); }
.mk-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.mk-frame .app { min-height: 0; position: relative; }
/* A framed state that hosts a modal needs room for it. */
.mk-frame .app-tall { min-height: 580px; }
.mk-frame .page { padding: var(--s6); }
.mk-frame .page-hero { padding: var(--s8) var(--s6); }
.mk-note { margin-top: var(--s3); font-size: var(--t-xs); color: var(--text-3); display: flex; gap: var(--s2); align-items: baseline; }
.mk-note b { color: var(--text-2); font-weight: var(--w-medium); }
.mk-a11y { margin-top: var(--s2); padding: var(--s2) var(--s3); border-left: 2px solid var(--blue); background: var(--blue-soft); font-size: var(--t-xs); color: var(--text-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.mk-focus { box-shadow: var(--focus); border-radius: var(--r-pill); }
.mb-2{margin-bottom:var(--s2)}
