/* CHG-0033 platform pages: apps, skills, recipes, jobs, compare, timeline.
   Loaded after style.css, agents.css, agents-v2.css and meet-agents.css. Colours come from CSS variables only:
   the site tokens (style.css) plus the few page tokens below, defined once. Breakpoints: 1024 / 768 / 480. */
:root{
  --pf-navy:#1c2d8a;
  --pf-indigo-50:#eef2ff;
  --pf-indigo-100:#e8edff;
  --pf-indigo-200:#c7d2fe;
  --pf-indigo-300:#9db4ff;
  --pf-line:rgba(51,97,255,.14);
  --pf-line-soft:rgba(51,97,255,.1);
  --pf-ok:#11652f;
  --pf-ok-bg:#e7f6ec;
  --pf-ok-tint:#f5fbf7;
  --pf-ok-line:#bfe3cb;
  --pf-ok-solid:#22a55b;
  --pf-bad-bg:#fde8ec;
  --pf-appr:#9a3412;
  --pf-appr-bg:#ffe7d6;
  --pf-appr-tint:#fff8f3;
  --pf-appr-line:#ffd8bf;
  --pf-only:#8a2e07;
  --pf-only-bg:#fff4ec;
  --pf-only-line:#f2c3a4;
  --pf-them:#8b93a7;
  --pf-them-ink:#5b6478;
  --pf-shot-bar:#eef1f8;
  --pf-shot-line:#e1e6f2;
  --pf-shot-dot:#c9d1e4;
  --pf-axis:#d5ddf5;
  --pf-on-dark:rgba(255,255,255,.85);
  --pf-on-dark-soft:rgba(255,255,255,.72);
  --pf-on-dark-line:rgba(255,255,255,.15);
  --pf-overlay:rgba(10,16,40,.97);
  --pf-shadow-lift:0 18px 44px rgba(15,26,77,.16);
  --pf-shadow-hero:0 30px 60px rgba(10,20,80,.35);
}

/* ---------- shared bands and heads ---------- */
.px-sec{padding:var(--section-gap) 0}
.px-sec--light{background:var(--blue-light)}
.px-head{max-width:46rem;margin-bottom:1.5rem}
.px-head h2{margin:0 0 .5rem;font-size:1.8rem;line-height:1.2}
.px-head p{margin:0;color:var(--grey-300)}
.ag-page p{line-height:1.6}
.ag-page .v2-glance-grid h2{font-size:1.8rem}
.ag-hero-ctas .btn,.ah-hero-ctas .btn{min-height:48px}
.ah-tab{height:48px;cursor:pointer}
.ah-search svg{width:18px;height:18px}
.ag-hero-pills svg,.v2-heroline svg{width:16px;height:16px;flex:none}
.ac[hidden],li[hidden]{display:none!important}
.px-lock,.px-lock body{overflow:hidden}

/* ---------- CTA band: what every plan includes ---------- */
.cta-band.px-cta h2,.cta-band.px-cta p{max-width:44rem}
.px-ben{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:2.25rem 0 0;padding:1.5rem 0 0;list-style:none;border-top:1px solid var(--pf-on-dark-line)}
.px-ben li{display:grid;grid-template-columns:auto 1fr;gap:.15rem .7rem;align-items:start}
.px-ben svg{grid-row:span 2;width:22px;height:22px;margin-top:.1rem;color:var(--pf-indigo-300)}
.px-ben b{font:700 1rem var(--font-heading);color:var(--white)}
.cta-band .px-ben span{color:var(--pf-on-dark);font-size:.86rem;line-height:1.6}
@media(max-width:1024px){.px-ben{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.px-ben{grid-template-columns:1fr;gap:.9rem}}

/* ---------- how the pieces fit ---------- */
.px-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin:0;padding:0;list-style:none}
.px-map li{position:relative;padding:1.1rem;border:1px solid var(--grey-200);border-radius:var(--radius-xl);background:var(--white)}
.px-map li:not(:last-child)::after{content:"";position:absolute;top:50%;right:-1rem;width:1rem;height:2px;background:var(--pf-indigo-200)}
.px-map li.on{border-color:var(--primary);box-shadow:0 0 0 3px var(--pf-line)}
.px-map b{display:flex;align-items:center;gap:.5rem;font:700 1.05rem var(--font-heading);color:var(--dark)}
.px-map b svg{width:20px;height:20px;color:var(--primary)}
.px-map p{margin:.4rem 0 0;color:var(--grey-300);font-size:.9rem}
.px-map .eg{display:block;margin-top:.5rem;font-size:.82rem;color:var(--dark)}
@media(max-width:1024px){.px-map{grid-template-columns:1fr 1fr}.px-map li::after{display:none}}
@media(max-width:480px){.px-map{grid-template-columns:1fr;gap:.6rem}.px-map li{padding:.85rem}}

/* ---------- detail hero aside ---------- */
.px-aside{align-self:start;padding:1.25rem;border-radius:var(--radius-xl);background:var(--white);color:var(--dark);box-shadow:var(--pf-shadow-hero)}
.ag-page .px-aside h2{margin:0 0 .75rem;font-size:1rem!important;line-height:1.35;color:var(--grey-300);font-weight:600;letter-spacing:0}
.px-aside ul{margin:0;padding:0;list-style:none}
.px-aside li{display:flex;align-items:center;gap:.75rem;padding:.6rem 0;border-top:1px solid var(--grey-150)}
.px-aside li:first-child{border-top:0}
.px-aside li a{display:flex;align-items:center;gap:.75rem;width:100%;color:inherit;text-decoration:none}
.px-aside li img{flex:none;width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:50% 18%;background:var(--pf-indigo-100)}
.px-aside li b{display:block;font:700 .98rem var(--font-heading)}
.px-aside li span{display:block;color:var(--grey-300);font-size:.84rem;line-height:1.6}
.px-aside a:hover b{color:var(--primary)}
.px-aside .px-aside-foot{margin:.75rem 0 0;padding-top:.75rem;border-top:1px solid var(--grey-200);color:var(--grey-300);font-size:.8rem}
.px-aside .px-shot{margin-bottom:1rem}

/* ---------- screens and close-ups ---------- */
.px-shot{margin:0;border-radius:var(--radius-xl);background:var(--white);box-shadow:var(--pf-shadow-lift);overflow:hidden;border:1px solid var(--pf-line)}
.px-shot .bar{display:flex;align-items:center;gap:5px;height:26px;padding:0 .7rem;background:var(--pf-shot-bar);border-bottom:1px solid var(--pf-shot-line)}
.px-shot .bar i{width:8px;height:8px;border-radius:50%;background:var(--pf-shot-dot)}
.px-shot img{display:block;width:100%;height:auto}
.px-shot figcaption{padding:.65rem .9rem .75rem;color:var(--grey-300);font-size:.84rem;line-height:1.6;border-top:1px solid var(--grey-150)}
.px-shot figcaption b{display:block;color:var(--dark);font:700 .92rem/1.35 var(--font-heading);margin-bottom:.1rem}
.px-shot--zoom{position:relative}
.px-zoom{position:static;display:block;color:inherit;text-decoration:none;cursor:zoom-in}
.px-zoom img{display:block;width:100%;height:auto}
.px-zoom-hint{position:absolute;top:3px;right:.45rem;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--primary);color:var(--white)}
.px-zoom-hint svg{width:12px;height:12px}
.px-zoom:hover .px-zoom-hint,.px-zoom:focus-visible .px-zoom-hint{background:var(--pf-navy)}
.px-zoom:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}
.px-lightbox{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:var(--pf-overlay);padding:3.2rem .75rem .75rem;overflow:auto;-webkit-overflow-scrolling:touch}
.px-lightbox[hidden]{display:none}
.px-lightbox img{display:block;max-width:none;width:auto;margin:auto;background:var(--white);border-radius:8px}
.px-lightbox.fit img{max-width:100%;height:auto}
.px-lightbox .x{position:fixed;top:.6rem;right:.6rem;z-index:2;display:inline-flex;align-items:center;gap:.35rem;min-height:48px;padding:.55rem 1rem;border:0;border-radius:999px;background:var(--white);color:var(--dark);font:700 .85rem var(--font-heading);cursor:pointer}
.px-lightbox .tip{position:fixed;top:1.1rem;left:.9rem;color:var(--pf-shot-dot);font:600 .78rem var(--font-heading)}
.px-hero-vis{position:relative;align-self:center;min-width:0}
.px-hero-vis .px-shot{width:100%;box-shadow:var(--pf-shadow-hero)}
.px-hero-vis .badge{position:absolute;left:-.75rem;bottom:-1.25rem;display:flex;align-items:center;gap:.6rem;margin:0;padding:.5rem .9rem .5rem .5rem;border-radius:999px;background:var(--white);color:var(--dark);box-shadow:var(--pf-shadow-lift);font:600 .85rem/1.3 var(--font-heading)}
.px-hero-vis .badge img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:50% 18%}
.px-hero-vis .badge small{display:block;color:var(--grey-300);font:500 .74rem var(--font-body)}
@media(max-width:1024px){.px-hero-vis{max-width:560px;margin-top:1.5rem}}
@media(max-width:768px){.px-hero-vis{margin:.5rem 0 1rem}.px-hero-vis .badge{left:.5rem;bottom:-1rem;font-size:.8rem}}
.px-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;align-items:start}
.px-gallery .who{display:inline-flex;align-items:center;gap:.4rem;margin-top:.45rem;color:var(--dark);font:600 .78rem var(--font-heading)}
.px-gallery .who img{width:22px;height:22px;border-radius:50%;object-fit:cover;object-position:50% 18%}
@media(max-width:768px){.px-gallery{grid-template-columns:1fr;gap:1rem}}
/* two or four screens: two per row, so sample screens stay readable */
@media(min-width:769px){.px-gallery:has(> :nth-child(2):last-child),.px-gallery:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- designed art (4:3) ---------- */
.px-art{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius-lg);background:var(--pf-shot-bar)}
.px-art img,.px-gen{display:block;width:100%;height:100%;object-fit:cover}
.px-art--hero{margin:-.25rem -.25rem 1rem}
.px-hero-art{overflow:hidden;border-radius:var(--radius-xl);box-shadow:var(--pf-shadow-hero);aspect-ratio:3/2;background:var(--pf-shot-bar)}
.px-hero-art img{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- home cards ---------- */
.ac.px-card{--pad:1.25rem;padding:var(--pad);overflow:hidden}
.ac.px-card .ac-top{padding-right:0}
.ac.px-card .ac-foot{position:static;margin-top:auto}
.ac.px-card .ac-meet{display:inline}
.ac.px-card .ac-desc{-webkit-line-clamp:4;line-height:1.6}
.ac.px-card .px-ico{width:44px;height:44px;border-radius:12px}
.ac.px-card .px-ico svg{width:22px;height:22px}
.px-ico{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--primary),var(--pf-navy));color:var(--white)}
.px-ico svg{width:28px;height:28px}
.px-card--app .px-art{margin:1rem 0 0}
.px-card--app .ac-desc{margin-top:.9rem}
.px-card--uses{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem}
.px-card--uses .px-txt{display:flex;flex-direction:column;min-width:0}
.px-card--uses .ac-dept{margin-bottom:.15rem}
.px-card--uses .ac-desc{margin:.55rem 0 .9rem}
.px-usedby{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding-left:1rem;border-left:1px solid var(--grey-150)}
.px-usedby p{margin:0 0 .1rem;color:var(--grey-300);font:600 .66rem/1.2 var(--font-heading);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.px-usedby ul{display:flex;flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none}
.px-usedby img{display:block;width:44px;height:44px;border:2px solid var(--white);border-radius:50%;outline:2px solid var(--ag-accent,var(--primary));background:var(--pf-indigo-100);object-fit:cover;object-position:50% 18%}
.px-card--recipe h3{margin:.15rem 0 0;font-size:1.15rem}
.px-card--recipe .ac-desc{margin:.45rem 0 0;-webkit-line-clamp:3}
.px-card--recipe .ac-foot{margin-top:auto;padding-top:.9rem}
@media(min-width:1025px){.ah-grid:has(.px-card--recipe){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:768px){
  .ac.px-card{--pad:.95rem}
  .px-card--uses{grid-template-columns:1fr}
  .px-usedby{flex-direction:row;align-items:center;gap:.5rem;margin-top:.8rem;padding:.7rem 0 0;border-left:0;border-top:1px solid var(--grey-150)}
  .px-usedby p{margin:0 .2rem 0 0}
  .px-usedby ul{flex-direction:row}
  .px-usedby img{width:34px;height:34px}
  .px-card--uses .ac-desc{margin:.4rem 0 .5rem;-webkit-line-clamp:3}
  .ac.px-card .ac-meet{display:none}
}

/* ---------- numbered step cards: badge-on-border ---------- */
.px-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem 1rem;margin:1rem 0 0;padding:0;list-style:none}
.px-flow li{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:2.5rem 1.5rem 1.5rem;border:1px solid var(--grey-200);border-radius:var(--radius-xl);background:var(--white);text-align:left}
.px-flow li:not(:last-child)::after{content:"";position:absolute;top:2.6rem;right:-1rem;width:1rem;height:2px;background:var(--primary)}
.px-flow .n{position:absolute;top:-16px;left:1.5rem;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--primary);color:var(--white);font:700 .9rem var(--font-heading)}
.px-flow .vis{display:flex;align-items:center;height:56px;margin-bottom:.75rem}
.px-flow .vis img.face{width:56px;height:56px;border:2px solid var(--white);border-radius:50%;outline:2px solid var(--primary);object-fit:cover;object-position:50% 18%}
.px-flow .vis .ic{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-lg);background:var(--pf-indigo-50);color:var(--primary)}
.px-flow .vis .ic svg{width:28px;height:28px}
.px-flow .vis .ic.ok{background:var(--pf-ok-bg);color:var(--pf-ok)}
.px-flow h3{margin:.2rem 0 .3rem;font-size:1.05rem}
.px-flow p{margin:0;color:var(--grey-300);font-size:.9rem}
@media(max-width:1024px){.px-flow{grid-template-columns:1fr 1fr}.px-flow li::after{display:none}}
@media(max-width:480px){.px-flow{grid-template-columns:1fr}}

/* ---------- app detail: benefits, before and after ---------- */
.px-bens{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0;padding:0;list-style:none}
.px-bens li{display:flex;flex-direction:column;gap:.9rem;padding:1rem;border:1px solid var(--pf-line-soft);border-radius:var(--radius-xl);background:var(--white);box-shadow:var(--shadow-card)}
.px-bens h3{margin:0 0 .3rem;font-size:1.12rem}
.px-bens p{margin:0;color:var(--grey-300);font-size:.95rem}
@media(max-width:1024px){.px-bens{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.px-bens{grid-template-columns:1fr}.px-bens li{flex-direction:row;align-items:center}.px-bens .px-art{flex:0 0 40%}.px-bens h3{font-size:1.02rem}.px-bens p{font-size:.9rem}}
.px-week{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1rem;align-items:stretch}
.px-week-col{padding:1.3rem 1.4rem;border:1px solid var(--grey-200);border-radius:var(--radius-xl);background:var(--white);box-shadow:var(--shadow-card)}
.px-week-col--with{border:2px solid var(--primary)}
.px-week .k{margin:0 0 .8rem;font:700 .8rem var(--font-heading);letter-spacing:.06em;text-transform:uppercase;color:var(--danger)}
.px-week-col--with .k{color:var(--primary)}
.px-week ul{margin:0;padding:0;list-style:none;display:grid;gap:.65rem}
.px-week li{display:flex;gap:.65rem;align-items:flex-start;color:var(--dark);line-height:1.6}
.px-week .m{flex:none;display:inline-flex;margin-top:.2rem;color:var(--danger)}
.px-week .m.ok{color:var(--pf-ok)}
.px-week .m svg{width:20px;height:20px}
.px-week-arrow{display:grid;place-items:center;color:var(--primary)}
.px-week-arrow svg{width:28px;height:28px}
@media(max-width:768px){.px-week{grid-template-columns:1fr}.px-week-arrow{transform:rotate(90deg)}}

/* ---------- recipe flow: badge-on-border step cards ---------- */
.px-rflow{position:relative;margin:1.4rem 0 0;padding:0;list-style:none;display:grid;gap:1.4rem}
.px-rflow .st{position:relative;display:flex;align-items:center;gap:.75rem;padding:.75rem .9rem;border:1px solid var(--grey-200);border-radius:var(--radius-lg);background:var(--white);text-align:left}
.px-rflow .st:has(.n){padding-top:2.5rem}
.px-rflow .st:not(:last-child)::after{content:"";position:absolute;left:2.4rem;bottom:calc(-1.4rem - 1px);width:2px;height:1.4rem;background:var(--primary)}
.px-rflow .n{position:absolute;top:-16px;left:1.5rem;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--primary);color:var(--white);font:700 .9rem var(--font-heading)}
.px-rflow img{flex:none;width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 18%;background:var(--pf-indigo-100)}
.px-rflow .tx{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.px-rflow b{font:700 .9rem/1.3 var(--font-heading);color:var(--dark)}
.px-rflow .chip{display:inline-flex;align-items:center;gap:.3rem;align-self:flex-start;padding:.1rem .5rem;border-radius:999px;background:var(--pf-indigo-50);color:var(--pf-navy);font-size:.76rem;line-height:1.6}
.px-rflow .chip svg{width:11px;height:11px;flex:none}
.px-rflow .sub{font-size:.8rem;color:var(--grey-300);line-height:1.6}
.px-rflow .ic{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-lg)}
.px-rflow .ic svg{width:28px;height:28px}
.px-rflow .ap{border-color:var(--pf-appr-line);background:var(--pf-appr-tint)}
.px-rflow .ap .ic{background:var(--pf-appr-bg);color:var(--pf-appr)}
.px-rflow .out{border-color:var(--pf-ok-line);background:var(--pf-ok-tint)}
.px-rflow .out .ic{background:var(--pf-ok-solid);color:var(--white)}
.px-rflow-wrap{padding:1.5rem 1.25rem 1.25rem;border:1px solid var(--pf-line-soft);border-radius:var(--radius-xl);background:var(--white);box-shadow:var(--shadow-card)}
.px-rflow--big{margin:.5rem 0 0;gap:1.6rem}
.px-rflow--big .st{padding:1rem 1.25rem;gap:.9rem}
.px-rflow--big .st:has(.n){padding-top:2.5rem}
.px-rflow--big img{width:56px;height:56px}
.px-rflow--big b{font-size:1rem}
.px-rflow--big .chip{font-size:.82rem}
.px-rflow--big .sub{font-size:.88rem}
.px-rflow--big .st:not(:last-child)::after{left:2.9rem;bottom:calc(-1.6rem - 1px);height:1.6rem}
@media(min-width:1025px){
  .px-rflow--big{grid-template-columns:repeat(5,minmax(0,1fr));gap:1.4rem}
  .px-rflow--big .st{flex-direction:column;align-items:flex-start}
  .px-rflow--big .st:not(:last-child)::after{left:auto;right:calc(-1.4rem - 1px);top:50%;bottom:auto;width:1.4rem;height:2px}
}

/* ---------- recipes hero: agents + skills = recipe ---------- */
.rx-hero{display:grid;gap:.7rem;padding:1.25rem;border-radius:var(--radius-xl);background:var(--white);color:var(--dark);box-shadow:var(--pf-shadow-hero)}
.rx-hero .k{margin:0 0 .5rem;font:700 .72rem var(--font-heading);letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
.rx-hero ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.rx-ags li{display:flex;align-items:center;gap:.5rem;padding:.3rem .7rem .3rem .3rem;border:1px solid var(--pf-line);border-radius:999px;font:700 .82rem var(--font-heading)}
.rx-ags img{width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:50% 18%;background:var(--pf-indigo-100)}
.rx-sks li{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .7rem;border-radius:999px;background:var(--pf-indigo-50);color:var(--pf-navy);font-size:.82rem}
.rx-sks svg{width:12px;height:12px}
.rx-op{display:grid;place-items:center;width:34px;height:34px;margin:0 auto;border-radius:50%;background:var(--primary);color:var(--white);font:700 1.2rem/1 var(--font-heading)}
.rx-card{display:flex;flex-direction:column;gap:.35rem;padding:.9rem 1rem;border:1px solid var(--pf-ok-line);border-radius:var(--radius-lg);background:var(--pf-ok-tint)}
.rx-card b{font:700 1.05rem var(--font-heading)}
.rx-card span{display:flex;gap:.45rem;align-items:flex-start;font-size:.9rem;color:var(--pf-ok)}
.rx-card svg{flex:none;width:18px;height:18px;margin-top:.1rem}
@media(prefers-reduced-motion:no-preference){
  .rx-hero li,.rx-op,.rx-card{animation:rxin .5s ease both}
  .rx-ags li:nth-child(2){animation-delay:.12s}.rx-ags li:nth-child(3){animation-delay:.24s}
  .rx-sks li:nth-child(1){animation-delay:.36s}.rx-sks li:nth-child(2){animation-delay:.48s}.rx-sks li:nth-child(3){animation-delay:.6s}
  .rx-op{animation-delay:.4s}.rx-res .rx-card{animation-delay:1.1s}
  @keyframes rxin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}

/* ---------- compare: "we sit in the middle" diagram (named new component) ---------- */
.cx-hub{display:grid;grid-template-columns:1fr minmax(240px,300px) 1fr;gap:3rem;align-items:center;margin:2rem 0 0}
.cx-side{position:relative}
.cx-k{font-family:var(--font-heading);font-weight:700;color:var(--dark);font-size:.95rem;margin:0 0 .75rem}
.cx-chips{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;position:relative}
.cx-chips li{position:relative;background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);padding:.55rem .9rem;font-size:.9rem;font-weight:600;color:var(--dark);box-shadow:var(--shadow-card);line-height:1.6}
.cx-chips li.cx-more{background:transparent;border-style:dashed;box-shadow:none;color:var(--grey-300);font-weight:500}
.cx-left .cx-chips li::after,.cx-right .cx-chips li::after{content:"";position:absolute;top:50%;width:1.5rem;border-top:2px solid var(--pf-indigo-200)}
.cx-left .cx-chips li::after{left:100%}
.cx-right .cx-chips li::after{right:100%}
.cx-left .cx-chips::before,.cx-right .cx-chips::before{content:"";position:absolute;top:1.3rem;bottom:1.3rem;border-left:2px solid var(--pf-indigo-200)}
.cx-left .cx-chips::before{right:-1.5rem}
.cx-right .cx-chips::before{left:-1.5rem}
.cx-left::after,.cx-right::after{content:"";position:absolute;top:calc(50% - .4rem);width:1.5rem;border-top:2px solid var(--primary)}
.cx-left::after{left:calc(100% + 1.5rem)}
.cx-right::after{right:calc(100% + 1.5rem)}
.cx-core{position:relative;background:linear-gradient(135deg,var(--primary),var(--tertiary));color:var(--white);border-radius:var(--radius-xl);padding:2rem 1.5rem;text-align:center;box-shadow:var(--shadow-hover)}
.cx-core::before,.cx-core::after{content:"";position:absolute;top:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:var(--primary);border:2px solid var(--white)}
.cx-core::before{left:-7px}.cx-core::after{right:-7px}
.cx-core img{display:block;height:36px;width:auto;margin:0 auto .9rem}
.cx-core-t{font-family:var(--font-heading);font-weight:700;font-size:1.1rem;margin:0 0 .5rem;color:var(--white)}
.cx-core-l{list-style:none;padding:0;margin:0 0 1rem;font-size:.9rem;line-height:1.6;color:var(--pf-on-dark)}
.cx-appr{display:inline-flex;align-items:center;gap:.4rem;background:var(--white);color:var(--primary);font-weight:700;font-size:.85rem;border-radius:999px;padding:.4rem .9rem;margin:0}
.cx-note{font-size:.85rem;color:var(--grey-300);margin:.75rem 0 0}
@media(max-width:768px){
  .cx-hub{grid-template-columns:1fr;gap:2.5rem}
  .cx-side{text-align:center}
  .cx-chips{flex-direction:row;flex-wrap:wrap;justify-content:center}
  .cx-chips::before,.cx-chips li::after{display:none}
  .cx-left::after,.cx-right::after{left:50%;right:auto;width:0;height:2.5rem;border-top:0;border-left:2px solid var(--primary)}
  .cx-left::after{top:100%}
  .cx-right::after{top:auto;bottom:100%}
  .cx-core::before{left:calc(50% - 6px);top:-7px}
  .cx-core::after{left:calc(50% - 6px);right:auto;top:auto;bottom:-7px}
}
/* compare table: the live pricing "Compare All Plans" pattern, inside the 1170 container */
#compare-grid .comparison-table-wrap{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--grey-200);border-radius:var(--radius-lg);background:var(--white)}
#compare-grid .comparison-table-wrap:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
#compare-grid .comparison-table{width:100%;min-width:1080px;border-collapse:collapse;font-size:.85rem}
#compare-grid .comparison-table thead th{background:var(--dark);color:var(--white);padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.8rem;vertical-align:bottom}
#compare-grid .comparison-table thead th:nth-child(2){background:var(--primary)}
#compare-grid .comparison-table thead th:first-child{position:sticky;left:0;z-index:2}
#compare-grid .comparison-table tbody th{text-align:left;font-weight:600;color:var(--dark);background:var(--white);position:sticky;left:0;z-index:1;min-width:140px;padding:.6rem 1rem;border-bottom:1px solid var(--grey-200);font-size:.85rem;line-height:1.6;vertical-align:top}
#compare-grid .comparison-table td{padding:.6rem 1rem;border-bottom:1px solid var(--grey-200);color:var(--dark);vertical-align:top;line-height:1.6;background:var(--white)}
#compare-grid .comparison-table td:nth-of-type(1){border-left:2px solid var(--primary);border-right:2px solid var(--primary);font-weight:600}
#compare-grid .comparison-table tbody tr:last-child td,#compare-grid .comparison-table tbody tr:last-child th{border-bottom-color:transparent}
#compare-grid .comparison-table tbody tr:last-child td:nth-of-type(1){border-bottom:2px solid var(--primary)}
#compare-grid .fn{display:inline-block;margin-left:.2rem;color:var(--primary);font:600 .66rem var(--font-heading);vertical-align:super;text-decoration:none}
#compare-grid .fn+.fn{margin-left:0}
#compare-grid .fn+.fn::before{content:",";margin-right:.1rem}
#compare-key{font-size:.85rem;color:var(--grey-300);margin:1rem 0 1.5rem}
/* table status icons (named new component) */
.cmp-ic{display:inline-grid;place-items:center;margin-right:.3rem;vertical-align:-2px}
.cmp-ic svg{width:14px;height:14px}
.cmp-ok{color:var(--primary)}
.cmp-part,.cmp-no{color:var(--grey-300)}
/* sources: the site FAQ accordion, full width, a two-column footnote list */
#compare-grid .ag-faq{grid-template-columns:1fr;max-width:none;margin:0}
#sources .ag-faq-a>p{font-size:.85rem;color:var(--grey-300)}
#sources ol{columns:2;column-gap:2.5rem;margin:.75rem 0 0;padding-left:1.4rem;font-size:.8rem;color:var(--grey-300);line-height:1.6}
#sources li{break-inside:avoid;margin-bottom:.35rem}
#sources li a{color:var(--primary);word-break:break-word}
@media(max-width:768px){#sources ol{columns:1}}

/* ---------- timeline ---------- */
.tl2-stats{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.6rem 0 0;padding:0;list-style:none}
.tl2-stats li{min-width:10rem;padding:.9rem 1.1rem;border-radius:var(--radius-xl);background:var(--white);color:var(--dark);box-shadow:var(--pf-shadow-lift)}
.tl2-stats b{display:block;color:var(--primary);font:800 2rem/1 var(--font-heading)}
.tl2-stats span{display:block;margin-top:.3rem;font:600 .82rem/1.35 var(--font-heading)}
.tl2-statnote{margin:.8rem 0 0;color:var(--pf-on-dark);font-size:.8rem;max-width:44rem}
@media(max-width:768px){.tl2-stats li{flex:1 1 100%}}
.tl2-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;margin:0 0 1rem;color:var(--grey-300);font-size:.84rem}
.tl2-legend .dot,.tl2-track .dot{display:inline-block;width:14px;height:14px;border-radius:50%;border:3px solid var(--white);box-shadow:0 0 0 2px var(--primary);background:var(--primary)}
.tl2-legend .dot[data-who=them],.tl2-track .dot[data-who=them]{background:var(--pf-them);box-shadow:0 0 0 2px var(--pf-them)}
.tl2-legend .bar{display:inline-block;width:28px;height:6px;border-radius:3px;background:linear-gradient(90deg,var(--primary),var(--pf-indigo-300))}
.tl2{position:relative;margin:0;padding:0 0 0 1.6rem;list-style:none}
.tl2::before{content:"";position:absolute;left:.45rem;top:.5rem;bottom:.5rem;width:2px;background:var(--pf-axis)}
.tl2-row{position:relative;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:1.5rem;align-items:center;margin-bottom:1rem;padding:1.2rem;border-radius:var(--radius-xl);background:var(--white);border:1px solid var(--grey-200);box-shadow:var(--shadow-card)}
.tl2-row::before{content:"";position:absolute;left:-1.55rem;top:1.5rem;width:14px;height:14px;border-radius:50%;background:var(--primary);border:3px solid var(--white);box-shadow:0 0 0 2px var(--primary)}
.tl2-txt h3{margin:0 0 .3rem;font-size:1.12rem}
.tl2-txt p{margin:0;color:var(--grey-300);font-size:.9rem}
.tl2-badge{display:inline-flex;flex-wrap:wrap;gap:.25rem .4rem;margin:.6rem 0 0!important;padding:.35rem .7rem;border-radius:999px;background:var(--pf-indigo-50);color:var(--dark)!important;font:500 .8rem/1.6 var(--font-heading)}
.tl2-claim{margin:.45rem 0 0!important;color:var(--pf-ok)!important;font:700 .86rem/1.6 var(--font-heading)}
.tl2-claim .fn,.tl2-badge .fn{margin-left:.2rem;font-size:.7rem;vertical-align:super;color:var(--primary)}
.tl2-diff{margin:.45rem 0 0!important;font-size:.84rem!important}
.tl2-diff b{color:var(--dark)}
.tl2-track{position:relative;height:74px;margin:0 .8rem}
.tl2-track .axis{position:absolute;left:0;right:0;top:44px;height:2px;background:var(--pf-shot-line)}
.tl2-track .axis span{position:absolute;top:8px;transform:translateX(-50%);color:var(--grey-300);font:600 .68rem var(--font-heading)}
.tl2-track .axis span::before{content:"";position:absolute;left:50%;top:-12px;width:1px;height:8px;background:var(--pf-shot-dot)}
.tl2-track .axis em{font-style:normal}
.tl2-track .bar{position:absolute;top:41px;height:8px;border-radius:4px;background:linear-gradient(90deg,var(--primary),var(--pf-indigo-300))}
.tl2-track .dot{position:absolute;top:38px;transform:translateX(-50%);width:16px;height:16px}
.tl2-track .dot i{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font:700 .68rem var(--font-heading);font-style:normal;white-space:nowrap;color:var(--primary)}
.tl2-track .dot[data-who=them] i{color:var(--pf-them-ink)}
.tl2-track.near .dot[data-who=us] i{transform:translateX(calc(-100% + 4px))}
.tl2-track.near .dot[data-who=them] i{transform:translateX(-4px)}
.tl2-none{display:flex;gap:.8rem;align-items:center;padding:1rem 1.1rem;border-radius:var(--radius-lg);background:var(--pf-only-bg);border:1px dashed var(--pf-only-line)}
.tl2-none .ic{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-lg);background:var(--white);color:var(--pf-only)}
.tl2-none .ic svg{width:28px;height:28px}
.tl2-none p{margin:0;color:var(--grey-300);font-size:.84rem}
.tl2-none b{display:block;color:var(--pf-only);font:700 .95rem/1.3 var(--font-heading)}
.tl2-row--only::before{background:var(--pf-only);box-shadow:0 0 0 2px var(--pf-only)}
.tl2-badge--only{background:var(--pf-only-bg)}
.tl2-badge--only .only{color:var(--pf-only)}
.tl2-notes-h{margin:2rem 0 .6rem;font-size:1.05rem}
.cmp-src{columns:2;column-gap:2rem;margin:0;padding-left:1.4rem;font-size:.82rem;line-height:1.6;color:var(--grey-300)}
.cmp-src li{margin-bottom:.35rem;break-inside:avoid}
.cmp-src a{color:var(--primary);word-break:normal}
@media(max-width:768px){.tl2-row{grid-template-columns:1fr;gap:.6rem}.cmp-src{columns:1}.tl2-track .axis em{display:none}}
@media(max-width:480px){.tl2{padding-left:1.2rem}.tl2-row{padding:.95rem}.tl2-row::before{left:-1.2rem}.tl2::before{left:.3rem}.tl2-track{margin:0 .4rem}}
/* timeline positions: data attributes, no inline styles (generated from the timeline data) */
/* timeline positions (generated) */
.tl2-track [data-at="0"]{left:0%}.tl2-track [data-at="5"]{left:5%}.tl2-track [data-at="17"]{left:17%}.tl2-track [data-at="21"]{left:21%}.tl2-track [data-at="38"]{left:38%}.tl2-track [data-at="42"]{left:42%}.tl2-track [data-at="46"]{left:46%}.tl2-track [data-at="54"]{left:54%}.tl2-track [data-at="59"]{left:59%}.tl2-track [data-at="63"]{left:63%}.tl2-track [data-at="77"]{left:77%}.tl2-track [data-at="85"]{left:85%}.tl2-track [data-at="87"]{left:87%}.tl2-track [data-at="93"]{left:93%}.tl2-track [data-w="8"]{width:8%}.tl2-track [data-w="18"]{width:18%}.tl2-track [data-w="39"]{width:39%}.tl2-track [data-w="55"]{width:55%}.tl2-track [data-w="70"]{width:70%}

/* ---------- jobs (named new component: jb-*) ---------- */
.jb-week{padding:1.25rem;border-radius:var(--radius-xl);background:var(--white);color:var(--dark);box-shadow:var(--pf-shadow-hero)}
.jb-week .k{margin:0 0 .25rem;font:700 .72rem var(--font-heading);letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
.jb-week .k+p{margin:0 0 .9rem;font:700 1.15rem/1.3 var(--font-heading);color:var(--dark)}
.jb-week ol{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.jb-week li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.6rem .75rem;border:1px solid var(--grey-200);border-radius:var(--radius-lg);background:var(--white)}
.jb-week li img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 18%;background:var(--pf-indigo-100)}
.jb-week li b{display:block;font:700 .92rem/1.3 var(--font-heading)}
.jb-week li div>span:not(.jb-when){display:block;color:var(--grey-300);font-size:.8rem;line-height:1.6}
.jb-week li .jb-when{margin-bottom:.2rem}
.jb-when{display:flex;width:fit-content;align-items:center;gap:.35rem;align-self:flex-start;padding:.2rem .6rem;border-radius:999px;background:var(--pf-indigo-50);color:var(--pf-navy);font:600 .78rem/1.6 var(--font-heading);white-space:nowrap}
.jb-when svg{width:14px;height:14px;flex:none}
.jb-st{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .6rem;border-radius:999px;font:700 .72rem/1.6 var(--font-heading);white-space:nowrap}
.jb-st::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.jb-st[data-st="done"]{background:var(--pf-ok-bg);color:var(--pf-ok)}
.jb-st[data-st="run"]{background:var(--pf-indigo-50);color:var(--tertiary)}
.jb-st[data-st="wait"]{background:var(--pf-appr-bg);color:var(--pf-appr)}
.jb-st[data-st="next"]{background:var(--grey-150);color:var(--grey-300)}
@media(prefers-reduced-motion:no-preference){
  .jb-st[data-st="run"]::before{animation:jbpulse 1.4s ease-in-out infinite}
  @keyframes jbpulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
  .jb-week li{animation:rxin .5s ease both}
  .jb-week li:nth-child(2){animation-delay:.12s}.jb-week li:nth-child(3){animation-delay:.24s}.jb-week li:nth-child(4){animation-delay:.36s}.jb-week li:nth-child(5){animation-delay:.48s}
}
@media(max-width:480px){.jb-week{padding:1rem}.jb-week li{grid-template-columns:auto minmax(0,1fr)}.jb-week li .jb-st{grid-column:2;justify-self:start}}
.ac.px-card .jb-when{margin-top:.85rem}
.ac.px-card .v2-st-appr{align-self:flex-start;margin:0 0 .8rem}
.px-aside .jb-when{margin:0 0 .75rem}

/* v14 'Works well with' cards: agent portraits are photos, crop them like the directory */
.ag-mini .agent-art[src*="-face-"]{border-radius:50%;object-fit:cover;object-position:50% 18%}

/* review fix round 1 (webmaster ledger) */
.ag-page .v2-diff-section{padding-top:var(--section-gap)}
.ag-page table.v2-glance:not(:last-child){margin-bottom:1.5rem}

/* Lane 2 (CHG-0033): app template how-it-works diagram, single-shot example gallery */
.ag-page #how .ag-diagram{max-width:720px;margin:1.5rem auto 0}
/* Lane 2 1b: image frames keep their shape and show a tint until the image loads, so a frame never looks empty */
.ag-diagram img{background:var(--blue-light,#eef2ff)}
.px-shot img{background:var(--blue-light,#eef2ff)}
/* Lane 2 1b: a short result list in an example (the CRM account brief) reads as plain lines, one per row */
.v2-sample-section .container>.ag-checklist{grid-template-columns:1fr;gap:.6rem;margin:0 0 1.75rem}
.ag-page .px-gallery:has(>:only-child){grid-template-columns:minmax(0,760px);justify-content:center}
/* Lane 2 1c: contrast to AA (4.5:1+) with existing tokens: stepper step numbers (primary on #EEF2FF was 4.37:1) and the selected tab count (white on a 25% white tint was 3.2:1) */
.v2-st-tabs .n{color:var(--dark)}
.ah-tab[aria-selected="true"] .c{background:var(--dark);color:#fff}

/* ===== Design polish (operator Review 2, Needs #30). Existing classes and tokens only. ===== */
/* (a) "More of what is inside Ai1" list: the icon tile is the icon's container, icon centred, tile centred on the title and text.
   The generic ".px-aside li span" rule had turned the tile into a block, which pushed the icon to the top left. */
.px-aside li .ag-icon-box{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;color:var(--ag-accent,var(--primary));font-size:inherit;line-height:1}
.px-aside li .ag-icon-box svg{width:22px;height:22px;display:block}
.px-aside li a>div{min-width:0}
/* headings: no one-word last line */
.ag-page h1,.ag-page h2,.ag-page h3,.px-aside b{text-wrap:balance}
@media (max-width:768px){
  /* (b) the outcome row under the hero stacks on phones and tablets instead of running off the edge */
  .ag-v2 .ag-outcomes-grid{display:grid;grid-template-columns:1fr;gap:0;overflow:visible;padding-bottom:0}
  .ag-v2 .ag-outcome{padding:1rem 0;border-left:0}
  .ag-v2 .ag-outcome+.ag-outcome{border-top:1px solid var(--grey-200)}
  /* small card rows ("Works well with", "You can just ask", "More of what is inside Ai1") stack too: no cut-off card */
  .ag-v2 .ag-mini-grid,.ag-v2 .v2-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;overflow:visible;padding-bottom:0}
  .ag-v2 .ag-mini-grid>li,.ag-v2 .v2-more>li{flex:none}
  /* step-by-step tabs: on phones every step is shown in order, the way the Tasks page shows its steps */
  .ag-v2 .v2-st-tabs,.ag-v2 .v2-st-nav{display:none}
  .ag-v2 .v2-stepper{padding:.25rem 1.1rem}
  .ag-v2 .v2-stepper .v2-st-panels{margin-top:0;padding:0;background:none;min-height:0}
  .ag-v2 .v2-stepper .v2-st-panel{display:block;padding:.9rem 0}
  .ag-v2 .v2-stepper .v2-st-panel+.v2-st-panel{border-top:1px solid #E1E6F2}
  /* (c) example tables: each row stacks, the step label above its text */
  .v2-sample-section table.v2-glance,.v2-sample-section table.v2-glance tbody,.v2-sample-section table.v2-glance tr{display:block;width:100%}
  .v2-sample-section table.v2-glance th,.v2-sample-section table.v2-glance td{display:block;width:auto;border:0;background:none}
  .v2-sample-section table.v2-glance tr{padding:.8rem 1rem}
  .v2-sample-section table.v2-glance tr+tr{border-top:1px solid var(--grey-200)}
  .v2-sample-section table.v2-glance th{padding:0 0 .25rem;color:var(--primary);font-size:.8rem;letter-spacing:.02em}
  .v2-sample-section table.v2-glance td{padding:0}
}
@media (max-width:600px){
  .ag-v2 .ag-mini-grid,.ag-v2 .v2-more{grid-template-columns:1fr}
}
/* small cards: an icon tile is the same size as an agent face, so the titles line up */
.ag-mini .ag-icon-box{width:48px;height:48px;border-radius:12px}
/* filter chips: at least 44px wide */
.ah-tab{min-width:44px;justify-content:center}
/* filter chips stay one swipeable row (the agents directory pattern); on phones the right edge fades so the next chip reads as "more" */
@media (max-width:768px){.ah-tabs{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2.25rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 2.25rem),transparent);padding-right:1.5rem}}
/* a stand-alone "See the …" link is a full-size tap target */
p>.card-link{min-height:44px}
/* even rows on wider screens */
@media (min-width:769px){
  /* screenshot cards in a row share one image shape (top of the page shown; tap opens the full image), so the cards line up */
  .px-gallery:not(:has(>:only-child)){align-items:stretch}
  .px-gallery:not(:has(>:only-child)) .px-shot{display:flex;flex-direction:column;height:100%}
  .px-gallery:not(:has(>:only-child)) .px-shot img{aspect-ratio:16/10;object-fit:cover;object-position:top}
  .px-gallery:not(:has(>:only-child)) .px-shot figcaption{flex:1}
  /* diagram and step list side by side: same height */
  .v2-how:has(>.ag-diagram){align-items:stretch}
  .v2-how:has(>.ag-diagram) .v2-stepper{display:flex;flex-direction:column}
  .v2-how:has(>.ag-diagram) .v2-st-panels{flex:1}
  /* filter chips wrap on wide screens, so none is cut off */
  .ah-tabs{flex-wrap:wrap;overflow:visible}
  /* two cards side by side: same height */
  .ag-page .ag-split{align-items:stretch}
}
/* Polish: check icons sit on the first line of multi-line items (hub sources list). */
.ag-checklist li{align-items:flex-start}
.ag-checklist li svg{margin-top:.2em}
/* Polish (c): the example note in the example section reads as a plain label, flush with the text below it, not a box. */
.ag-v2 .v2-sample-section .v2-so-label{background:none;padding:0;border-radius:0;color:var(--grey-300)}
/* Polish round 3: a lone last card in a 2-column row spans both columns (601-768px). */
@media (min-width:601px) and (max-width:768px){.ag-v2 .ag-mini-grid>li:last-child:nth-child(odd),.ag-v2 .v2-more>li:last-child:nth-child(odd){grid-column:1/-1}}
