/* Salesforge rebuild: the Agent Frank page. Reuses site.css, home.css, solutions.css and pfaq.css. */

/* ---------------------------------------------------------------- top section */
.af-hero { overflow-x: clip; }   /* the dot pattern beside the video stops at the window edge on narrow screens */
.af-hero .wrap { padding-left: 3%; padding-right: 5%; }
.af-hero .container { max-width: 1216px; }
@media (max-width: 767px) { .af-hero .wrap { padding-left: 5%; } .af-hero .container { padding-bottom: 40px; } }
.af-hero__pad { padding-top: 64px; }
.af-hero__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 128px; align-items: center; position: relative; }
.af-hero__content { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px; }
.af-hero__heading { display: flex; flex-direction: column; gap: 16px; }
.h1 { font-size: 60px; line-height: 1.2; font-weight: 600; letter-spacing: -1px; color: var(--ink); }
.grad {
  position: relative; white-space: nowrap; color: transparent; -webkit-text-fill-color: transparent;
  background-image: linear-gradient(45deg, #4b3589, #7f58d5); -webkit-background-clip: text; background-clip: text;
}
.grad__stars { position: absolute; inset: -8px; pointer-events: none; }
.grad__star { position: absolute; animation: twinkle 2.4s ease-in-out infinite alternate; }
.grad__star--1 { right: 0; bottom: 0; animation-delay: -.6s; }
.grad__star--2 { left: 1px; bottom: 1px; animation-delay: -1.2s; }
.grad__star--3 { left: 0; top: 0; }
.grad__star--4 { right: 1px; top: 1px; animation-delay: -1.8s; }
@keyframes twinkle { 0% { opacity: .15; transform: scale(.8); } 100% { opacity: 1; transform: scale(1); } }
.lead20 { font-size: 20px; line-height: 1.4; }
.af-hero__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 12px; }
.g2row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-400); }
.g2row__stars { display: flex; }
.g2row img { width: 20px; height: 20px; }
.af-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-bottom: 6px; }
.af-badge {
  display: flex; gap: 8px; padding: 6px 16px 6px 12px; border-radius: 9999px; background: var(--white);
  filter: drop-shadow(0 3px 2px rgba(16, 24, 40, .12)); font-size: 14px; line-height: 1.4; font-weight: 500;
}
.af-hero__video { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; }
.mp4 { position: relative; z-index: 1; display: block; width: 100%; padding: 0; cursor: pointer; background: none; }
.mp4 img, .mp4__video { display: block; width: 100%; height: auto; aspect-ratio: 476 / 720; object-fit: cover; border-radius: 16px; }
.mp4__video { position: relative; z-index: 1; }
.mp4__play { position: absolute; right: 22px; bottom: 23px; width: 64px; height: 64px; border-radius: 50%; background: var(--violet); }
.mp4__play svg { position: absolute; left: 23px; top: 20px; }
@media (max-width: 479px) { .mp4__play { right: 6.5px; bottom: 6.25px; } }
.af-hero__deco-top { position: absolute; top: -8%; right: -8%; width: 270px; pointer-events: none; }
.af-hero__deco-bottom { position: absolute; bottom: -10%; left: -17%; width: 126px; pointer-events: none; }
/* version 11 fix: the dots hang from the video itself. Frank's video column stretched to the height of the words beside it,
   which was the same as the video's own on his page; since the 60-second stories row (round 5) and his "Hire Agent Frank"
   button (round 10) the words are taller, the column stretched further and the dots slid down onto "You're in good company"
   (18 to 34 px into it at 992 to 1920). Centred like the rest of his grid, the video keeps its dots at its own corner. */
@media (min-width: 992px) { .af-hero__video { align-self: center; } }
@media (max-width: 991px) {
  .h1 { font-size: 3rem; }
  .af-hero__grid { grid-template-columns: 1fr; }
  .af-hero__content { position: relative; z-index: 2; text-align: center; align-items: center; }
  .af-hero__bottom { align-items: center; }
  .af-badges { justify-content: center; }
}
@media (max-width: 767px) { .h1 { font-size: 2.5rem; } .af-hero__content { align-items: stretch; } }
@media (max-width: 479px) { .af-hero__pad { padding-top: 40px; } .af-badge { flex-direction: column; } }

/* ---------------------------------------------------------------- logo row */
.af-logos { margin: 56px 0; }
.af-logos__title { margin-bottom: 16px; font-size: 20px; line-height: 36px; font-weight: 500; color: var(--ink); text-align: center; }
.af-logos .logos__grid { box-shadow: inset 0 0 0 1px var(--gray-200); }
.af-logos .logo:first-child { border-left-width: 1px; }
.logo__img--rolling { width: 60%; }
.logo__img--vai { width: 84%; }
.logo__img--glacie { width: 87%; }
.logo__img--adacen { width: 65%; }
.logo__img--geodis { width: 62%; }
.logo__img--saastr { width: 66%; }
.logo__img--patient { width: 80%; filter: brightness(86%); }
.logo__badge {
  position: absolute; top: 6px; right: 6px; padding: 2px 6px; border: 1px solid var(--gray-200); border-radius: 9999px;
  font-size: 10px; line-height: 14px; font-weight: 500; color: var(--ink);
}

/* ---------------------------------------------------------------- good fit, Agent Frank version */
.fit--af { margin-top: -88px; background: none; }
.fit--af .fit__frame { padding-top: 200px; background: var(--gray-50); border: 0; border-radius: 12px; }
.fit--af .fit__item { background: #f0f2f5; }

/* ---------------------------------------------------------------- email infrastructure (diagram from home-infra.css) */
.af-infra { position: relative; z-index: 2; margin-top: 150px; }
.af-infra__grid { display: grid; grid-template-columns: 20rem 1fr; column-gap: 12%; align-items: start; }
.af-infra__left { position: sticky; top: 6.5rem; }
.af-infra__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.af-infra__intro .h3 { margin-bottom: 16px; }
.af-infra__right { display: flex; flex-direction: column; gap: 24px; }
.af-infra__card {
  display: flex; flex-direction: column; gap: 120px; padding: 24px 24px 40px 32px;
  border: 1px solid var(--gray-200); border-radius: 12px; background-image: linear-gradient(231deg, #f7f7f7, #fff 51%);
}
.af-infra__top { display: flex; justify-content: space-between; align-items: center; }
.af-infra__top--pill { min-height: 40px; }   /* keeps the height of the removed "Explore" pill */
.af-infra__name { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; }
.af-infra__badge { position: relative; bottom: 8px; }
.h5 { font-size: 1.5rem; line-height: 1.3; font-weight: 600; color: var(--ink); }
.af-infra__copy p { font-size: 18px; line-height: 1.4; color: var(--ink); }
.af-infra__copy p + p { margin-top: 12px; }
.af-infra .infra__art { margin-top: -4rem; }
.tag--light { background: var(--violet-50); }
@media (max-width: 991px) {
  .h5 { font-size: 1.35rem; }
  .af-infra__grid { grid-template-columns: 15rem 1fr; column-gap: 5%; }
  .af-infra__left { top: 11.5rem; }
  .af-infra__card { padding-left: 24px; }
}
@media (max-width: 767px) {
  .h5 { font-size: 1.1rem; }
  .af-infra { margin-top: 100px; }
  .af-infra__grid { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
  .af-infra__left { position: static; }
  .af-infra__intro { align-items: center; text-align: center; }
}
@media (max-width: 479px) {
  .af-infra__grid { gap: 48px; }
  .af-infra__card { gap: 80px; padding: 24px 20px 40px; }
  .af-infra__top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .af-infra__top--pill { min-height: 0; }
}

/* ---------------------------------------------------------------- heading before the with / without lists */
.af-less { position: relative; z-index: 2; display: flex; justify-content: center; padding: 96px 0 64px; background: var(--white); }
.af-less__inner { max-width: 768px; margin-top: 96px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (max-width: 767px) { .af-less__inner { margin-top: 0; padding: 0 20px; } }

/* ---------------------------------------------------------- without / with Agent Frank */
/* Left: the manual jobs; right: the Agent Frank card, held in place while the left lists scroll past.
   Between them (768 px and wider) a timeline whose purple line fills down to the middle of the screen,
   with a marker beside each left card that turns purple once it passes the middle. */
.cmp { --cg: 6rem; --rg: 2.5rem; padding: 0 2rem 6rem; background: var(--white); }
.cmp__panel { position: relative; max-width: 76rem; margin: 0 auto; padding: 4rem; border-radius: 1rem; background: var(--gray-50); }
.cmp__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--cg); align-items: start; }
.cmp__col { display: flex; flex-direction: column; gap: var(--rg); min-width: 0; }
.cmp__col--with { align-self: stretch; }
.cmp__pill-wrap { display: flex; }
.cmp__pill {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--gray-200); border-radius: 999px;
  background: var(--gray-100); font-size: 14px; line-height: 1.5;
}
.cmp__pill img { display: block; }
.cmp__pill--with { border-color: #e9d7fe; background: var(--violet-50); color: var(--violet); }
.cmp__row { position: relative; }
.cmp__item {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 1.5rem;
  border: 1px dashed var(--gray-300); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.cmp__item--solid { border: 1px solid var(--gray-200); }
.cmp__item li { display: flex; align-items: center; gap: 8px; color: var(--gray-700); }
.cmp__item li::before { content: "\2022"; font-size: 12px; line-height: 1.5; color: var(--gray-400); }
.cmp__out { display: flex; align-items: center; gap: 16px; color: var(--gray-700); }
.cmp__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
  border: 4px solid var(--violet-50); border-radius: 20px; background: var(--violet-100);
}
.cmp__icon img { display: block; }
/* markers, centred in the gap between the columns */
.cmp__mark {
  position: absolute; top: 0; bottom: 0; left: calc(100% + var(--cg) / 2 - 1rem); width: 2rem;
  display: flex; align-items: center; justify-content: center;
}
.cmp__dot {
  z-index: 2; display: flex; width: 2rem; height: 2rem; border: 1px dashed var(--gray-300); border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: background-color .3s, border-color .3s;
}
.cmp__dot img { display: block; width: 100%; height: 100%; }
.cmp__mark.is-on .cmp__dot { border-style: solid; border-color: var(--white); background: var(--violet); }
/* the line: a white track, a purple bar half a screen tall whose bottom stays at the middle of the screen,
   cut to the track's box, faded in at the top and stopped under the last marker */
.cmp__line {
  position: absolute; top: 0; bottom: 0; left: calc(50% - 1rem); width: 2rem;
  display: flex; flex-direction: column; align-items: center; overflow: clip; pointer-events: none;
}
.cmp__line-fade { position: absolute; top: 0; z-index: 1; width: 4px; height: 6rem; background-image: linear-gradient(180deg, var(--gray-50), rgba(249, 250, 251, 0)); }
.cmp__line-fill {
  position: sticky; top: 0; flex: none; width: 4px; height: 50vh; margin-top: -50vh; border-radius: 999px;
  background-image: linear-gradient(0deg, var(--violet), var(--gray-50));
}
.cmp__line-track { flex: none; width: 4px; height: 100%; border: 1px solid var(--gray-200); border-radius: 99px; background: var(--white); }
.cmp__line-end { position: absolute; bottom: 0; z-index: 0; width: 4px; height: 2rem; background: var(--gray-50); }
/* the Agent Frank card */
.cmp__card-wrap { position: relative; flex: 1; }
.cmp__card {
  position: sticky; top: 38vh; display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem;
  border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.cmp__avatar { display: flex; justify-content: center; }
.cmp__avatar-wrap { position: relative; border-radius: 9999px; box-shadow: 0 3px 80px rgba(105, 65, 198, .5); }
.cmp__photo {
  display: block; width: 4rem; height: 4rem; object-fit: cover; border: 2px solid var(--violet-50); border-radius: 9999px;
  box-shadow: 0 4px 6px -2px rgba(16, 24, 40, .03), 0 12px 16px -4px rgba(16, 24, 40, .08);
}
.cmp__photo-stars { position: absolute; right: -4px; bottom: -4px; width: 1.5rem; height: 1.5rem; }
.cmp__card-text { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cmp__badge {
  display: flex; align-items: center; padding: 2px 10px; border: 1px solid #e9d7fe; border-radius: 160px;
  background: var(--violet-50); color: #6941c6; font-size: 14px; line-height: 1.5; font-weight: 500; white-space: nowrap;
}
.cmp__title { font-size: 20px; line-height: 30px; font-weight: 600; color: var(--ink); text-align: center; }
.cmp__text { font-size: 16px; line-height: 24px; color: var(--body); text-align: center; }
.cmp__stars { position: absolute; inset: -16px; pointer-events: none; }
.cmp__star { position: absolute; opacity: 0; }
.cmp__star--tl { top: 0; left: 0; }
.cmp__star--tr { top: 1px; right: 1px; }
.cmp__star--bl { bottom: 1px; left: 1px; }
.cmp__star--br { bottom: 0; right: 0; }
.cmp__glow {
  position: absolute; right: 15%; bottom: 20%; z-index: 0; width: 24rem; height: 24rem; border-radius: 50%;
  background: var(--violet); opacity: .2; filter: blur(160px); pointer-events: none;
}
.cmp__pattern { position: absolute; top: 0; left: 0; max-width: 100%; opacity: .5; pointer-events: none; }
@media (max-width: 991px) {
  .cmp { --cg: 4rem; --rg: 2rem; }
  .cmp__panel { padding: 2rem; }
  .cmp__text { text-align: left; }
  .cmp__glow { right: 5%; bottom: 10%; }
}
@media (max-width: 767px) {
  .cmp { padding-bottom: 4rem; }
  .cmp__grid { grid-template-columns: 1fr; row-gap: 2rem; }
  .cmp__line, .cmp__mark { display: none; }
}
@media (max-width: 479px) {
  .cmp { --rg: 1rem; padding: 0 1rem 4rem; }
  .cmp__panel, .cmp__item, .cmp__card { padding: 1rem; }
  .cmp__title { font-size: 16px; text-align: left; }
  .cmp__text { font-size: 12px; }
}

/* ---------------------------------------------------------- white button used for "More" */
.btn-sec {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border: 1px solid var(--gray-300); border-radius: 8px; background: var(--white); color: var(--body);
  font-size: 16px; line-height: 1.4; font-weight: 600; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: all .4s;
}
.btn-sec:hover { background: var(--gray-200); color: var(--gray-700); }
@media (max-width: 767px) { .btn-sec:hover { border-color: #7f56d9; } }

/* ---------------------------------------------------------- wall of LinkedIn chats */
.af-wall { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 56px; padding: 64px 0; }
.af-wall__glare {
  position: absolute; top: 64px; left: 20%; right: 20%; height: 560px; z-index: -1;
  background: var(--violet); border-radius: 9999px; opacity: .11; filter: blur(112px); pointer-events: none;
}
.af-wall__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.af-wall__head .h3 { margin-top: 12px; }
.af-wall__grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start;
  height: 40rem; overflow: hidden; transition: height .7s ease-out;
}
.af-wall__col { display: flex; flex-direction: column; min-width: 0; }
.af-wall__stack { display: block; width: 100%; }
.af-wall__card {
  display: block; width: 100%; margin-bottom: 16px; border-radius: 12px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .05), 0 4px 6px -2px rgba(0, 0, 0, .02), 0 12px 16px -4px rgba(0, 0, 0, .06);
}
.af-wall__more {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 18rem;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .8) 60%, #fff 85%);
  transition: opacity .7s ease-out, visibility 0s linear .7s;
}
.af-wall__grid.is-open .af-wall__more { opacity: 0; visibility: hidden; }
@media (max-width: 991px) {
  .af-wall__grid { grid-template-columns: 1fr 1fr; }
  .af-wall__col--3 { display: none; }
}
@media (max-width: 479px) {
  .af-wall { gap: 40px; padding: 80px 0; }
  .af-wall__glare { top: 80px; }
  .af-wall__grid { grid-template-columns: 1fr; gap: 0; }
  .af-wall__stack--2 { display: none; }
}
