/* Salesforge rebuild: the outreach table on the three Solutions pages
   (Agencies block 22, Sales block 21, Growth block 23; parts sol-table, sol-table-sales, sol-table-growth).
   New code. Design values (colours, sizes, timings, breakpoints) follow salesforge.ai.
   Needs site.css (tokens, .wrap, .container) and home.css (.h3) first.
   Differences from the live section, on purpose: no "Discover the Forge Stack" button (the heading now sits 48px
   above the table), product tiles and offer pills are not links and have no hover. Only the Agent Frank card links
   (to /agent/frank) and keeps Frank's hover. */

.sot {
  --sot-line: var(--gray-200);                 /* #eaecf0 */
  --sot-line-violet: #e9d7fe;
  --sot-pill-shadow: 0 7.5px 15px rgba(0, 0, 0, .06);
  margin: 120px 0;
  background: var(--white);
}
.sot__head { display: flex; flex-direction: column; gap: 20px; width: 70%; margin: 0 auto; text-align: center; }
.sot__lead { font-size: 20px; line-height: 1.4; }

/* the table: a rounded card, four rows of seven equal columns */
.sot__card {
  display: flex; flex-direction: column; margin-top: 48px; overflow: hidden;
  background: var(--white); border: 1px solid var(--sot-line); border-radius: 12px;
  box-shadow: 0 4px 6px rgba(16, 24, 40, .03), 0 12px 16px rgba(0, 0, 0, .08);
}
.sot__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }

/* ---- row 1: the seven steps */
.sot-step {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 16px 8px; background: var(--gray-50); border-bottom: 1px solid var(--sot-line);
}
.sot-step--brand {
  background: var(--violet-50);
  border-bottom-color: var(--sot-line-violet); border-left: 1px solid var(--sot-line-violet);
}
.sot-step__icon {
  display: flex; align-items: center; flex: none; padding: 4px;
  background: var(--white); border: 1px solid var(--sot-line); border-radius: 10px; box-shadow: var(--shadow-xs);
}
.sot-step--brand .sot-step__icon { background: var(--violet-100); border-color: var(--sot-line-violet); }
.sot-step__icon img { width: 24px; height: 24px; object-fit: cover; }
.sot-step__label { margin: 8px 0; font-size: 16px; font-weight: 500; line-height: 24px; color: #000; }
.sot-step--brand .sot-step__label { color: var(--violet); }

/* small pills that sit on the line between two rows */
.sot-tag {
  position: absolute; z-index: 1; top: -20px; left: 8px;
  display: flex; align-items: center; padding: 9px 17px; white-space: nowrap;
  background: var(--white); border: 1px solid var(--sot-line); border-radius: 999px; box-shadow: var(--sot-pill-shadow);
  font-size: 12px; font-weight: 500; line-height: 18px; color: var(--gray-700);
}
.sot-tag--violet { color: var(--violet); }

/* ---- row 2: "Without the Forge". The first cell is one pixel taller than the 174px row, as on the live page,
   so the row's track is 175px and the centred cells sit half a pixel lower. */
.sot__row--without { height: 174px; align-items: center; }
.sot-todo {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  height: 174px; padding: 8px;
  border-left: 1px solid var(--sot-line); border-bottom: 1px solid var(--sot-line);
}
.sot-todo--first { position: relative; align-self: stretch; height: auto; justify-content: flex-start; border-left: 0; }
.sot-todo--top { align-self: start; }
.sot-todo__panel {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  flex: 1 1 0; padding-left: 12px; border-radius: 4px;
  background-image: linear-gradient(90deg, var(--gray-50), var(--white));
}
.sot-todo--first .sot-todo__panel { flex: none; height: 158px; }
.sot-todo__list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sot-todo__list--clip { overflow: hidden; border-radius: 8px; }
.sot-todo__item { font-size: 12px; font-weight: 500; line-height: 18px; color: var(--gray-700); }
.sot-goal {
  display: flex; justify-content: center; align-items: center;
  height: 174px; padding: 40px 8px 8px; background: var(--white); border-left: 1px solid var(--sot-line);
}
.sot-goal--last { border-left: 0; }
.sot-label { margin: 0 0 14px; font-size: 14px; font-weight: 600; line-height: 20px; text-align: center; color: var(--violet); }

/* ---- row 3: "With the Forge". The track is 200px inside a 174px row: the first cell, the Warmforge and
   Salesforge cells and the CRM column hang 26px into the Agent Frank row, which is drawn over them. */
.sot__row--with { height: 174px; grid-template-rows: 200px; align-items: start; }
.sot-forge {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  height: 174px; padding: 8px;
  border-left: 1px solid var(--sot-line); border-bottom: 1px solid var(--sot-line);
}
.sot-forge--first { position: relative; align-self: stretch; height: auto; justify-content: flex-start; border-left: 0; }
.sot-forge--tall { height: 200px; }
.sot-forge--wide { grid-column: span 2; }

/* product tiles: shown, not linked, so no hover */
.sot-tile {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  flex: 1 1 0; min-height: 0; border-radius: 4px;
}
.sot-tile--leads { background-image: linear-gradient(90deg, #eafaf2, var(--white)); }
.sot-tile--prime { background-image: linear-gradient(90deg, #0593d61c, var(--white)); }
.sot-tile--infra { background-image: linear-gradient(90deg, #eff4ff, var(--white)); }
.sot-tile--mail { background-image: linear-gradient(90deg, #f8f8f8, var(--white)); }
.sot-tile--warm { background-image: linear-gradient(90deg, #fffaeb, var(--white)); }
.sot-tile--sales { background-image: linear-gradient(90deg, var(--violet-50), var(--white)); }
.sot-tile__logo { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; }
.sot-tile__logo--clip { overflow: hidden; border-radius: 8px; }
.sot-logo { flex: none; }
.sot-logo--leads { width: 100px; height: 24px; margin: 1px 0; }
.sot-logo--prime { width: 100px; height: 27px; margin: -.5px 0; }
.sot-logo--infra { width: 95px; height: 24px; object-fit: cover; }
.sot-logo--mail { width: 94.5px; height: 24px; object-fit: cover; }
.sot-logo--warm { width: 106px; height: 24px; object-fit: cover; }
.sot-logo--sales { width: 105px; height: 24px; object-fit: cover; }

/* offer pills inside the tiles (shown, not linked) */
.sot-offer { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 0 4px 8px; border-radius: 999px; }
.sot-offer--leads { color: #067647; background: #e2f8e9; }
.sot-offer--warm { color: var(--ink); background: #feee95; }
.sot-offer--sales { color: var(--ink); background: var(--violet-100); }
.sot-offer--frank { margin-top: 4px; padding-right: 4px; color: var(--ink); background: var(--violet-100); }
.sot-offer__text { font-size: 12px; font-weight: 600; line-height: 16.8px; }
.sot-offer__icons { display: flex; }
.sot-offer__icon { position: relative; flex: none; width: 20px; height: 20px; }
.sot-offer__icon--top { z-index: 1; }
.sot-offer__icon--under { left: -4px; }

/* CRM column: "Pipeline", then a panel taller than its cell, drawn over the row below */
.sot-crm {
  position: relative; align-self: stretch;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 6px; background: var(--white); border-left: 1px solid var(--sot-line);
}
.sot-crm__panel {
  position: relative; z-index: 1; align-self: stretch;
  display: grid; grid-template-columns: 1fr 1fr; row-gap: 20px;
  margin: 0 8px 12px; padding: 36px 8px 56px; border-radius: 8px;
  background-color: var(--gray-50); background-image: linear-gradient(135deg, var(--gray-50) 57%, var(--violet-100));
}
.sot-crm__title {
  grid-column: span 2; align-self: center; justify-self: center;
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--gray-500);
}
.sot-crm__logo { display: block; align-self: center; justify-self: center; width: 46%; line-height: 0; }
.sot-crm__logo svg { display: inline; }
.sot-crm__logo--salesforce { width: 38%; }
.sot-crm__logo--breakcold { width: 60%; }
.sot-crm__logo--folk { width: 43%; }
.sot-crm__logo--highlevel { width: 58%; }
.sot-side { height: 174px; background: var(--white); border-left: 1px solid var(--sot-line); }

/* ---- row 4: Agent Frank */
.sot__row--frank { height: 174px; align-items: center; }
.sot-frank { grid-column: span 5; height: 174px; padding: 8px; }
.sot-frank__card {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  height: 158px; padding: 55px 0; border-radius: 4px;
  background-image: linear-gradient(90deg, #fcfaff, rgba(252, 250, 255, .5) 50%, var(--white));
  font-weight: 500; color: var(--violet);
}
.sot-frank__group { display: flex; align-items: center; gap: 16px; flex: none; }
.sot-frank__avatar { flex: none; width: 64px; height: 64px; }
.sot-frank__text { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.sot-frank__name { font-size: 20px; font-weight: 600; line-height: 30px; color: var(--ink); }
.sot-frank__tag {
  position: absolute; top: -26px; left: 0;
  display: flex; align-items: center; gap: 8px; padding: 9px 17px; white-space: nowrap;
  background: var(--violet-50); border: 1px solid #d6bbfb; border-radius: 999px; box-shadow: var(--sot-pill-shadow);
  font-size: 12px; font-weight: 500; line-height: 18px; color: var(--violet);
}
.sot-frank__tag img { flex: none; width: 16px; height: 16px; }
.sot-blank { height: 174px; padding-bottom: 10px; background: var(--white); border-left: 1px solid var(--sot-line); }

/* Agent Frank card hover (Frank's 400 ms in, 200 ms out, "outCirc"): the avatar, name and pill fade out
   (the name and pill sit in a second fading box, as on the live page) while a purple arrow, centred in the
   card and waiting 2rem lower, rises in. The "With Agent Frank" pill stays. */
.sot-fade { transition: opacity .2s var(--out-circ); }
.sot-arrow {
  position: absolute; inset: 0; margin: auto;
  display: flex; justify-content: center; align-items: center;
  width: 32px; height: 32px; overflow: hidden; border-radius: 50%;
  background: #6941c6; color: var(--white);
  opacity: 0; transform: translate3d(0, 2rem, 0);
  transition: opacity .2s var(--out-circ), transform .2s var(--out-circ);
}
.sot-arrow svg { flex: none; width: 20px; height: 20px; }
.sot-frank__card:hover .sot-fade { opacity: 0; transition-duration: .4s; }
.sot-frank__card:hover .sot-arrow { opacity: 1; transform: translate3d(0, 0, 0); transition-duration: .4s; }

/* Chrome draws these parts of the live section on their own layers, which gives their text greyscale (not colour)
   smoothing. The same hint here makes them render the same way; it changes nothing else. */
.sot-layer { will-change: opacity; }

/* the live pages show this section on desktop only */
@media (max-width: 991px) {
  .sot { display: none; }
}
