/* PopUsIn home hero, 2026.
 *
 * The old hero was a dark gradient, a sentence and a product screenshot.
 * It never said what PopUsIn is. This one is light, states the offer in
 * plain words, and carries an ecosystem diagram that shows both sides of
 * the business: the customer who finds and books you, and you and your
 * team who do the work and get paid, with one record joining them.
 *
 * Loaded last by PublicShell, so it overrides the inline heroStyle
 * background with !important on the paint properties only.
 */

.public-site .home-hero-2026 {
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 62%) !important;
  background-image: linear-gradient(180deg, #f6f9fd 0%, #ffffff 62%) !important;
  color: #0f2138 !important;
  padding: 56px 0 60px !important;
  border-bottom: 1px solid #eef2f7;
  overflow: hidden;
}

.public-site .home-hero-2026 .hero-2026 {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.public-site .home-hero-2026 .hero-2026-copy { max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.public-site .home-hero-2026 .hero-2026-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: #eef3fb; border: 1px solid #dde7f6;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  color: #16428a; -webkit-text-fill-color: #16428a;
}

.public-site .home-hero-2026 h1 {
  margin: 0;
  font-size: clamp(31px, 3.5vw, 47px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: #0b1f3a; -webkit-text-fill-color: #0b1f3a;
}
.public-site .home-hero-2026 h1 em { font-style: normal; color: #2563eb; -webkit-text-fill-color: #2563eb; }

.public-site .home-hero-2026 .hero-2026-sub {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  color: #48607d; -webkit-text-fill-color: #48607d;
  max-width: 720px;
}

.public-site .home-hero-2026 .hero-2026-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.public-site .home-hero-2026 .hero-2026-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 11px;
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-decoration: none;
}
.public-site .home-hero-2026 .hero-2026-actions .is-primary { background: #2563eb; color: #ffffff; -webkit-text-fill-color: #ffffff; border: 1px solid #2563eb; }
.public-site .home-hero-2026 .hero-2026-actions .is-primary:hover { background: #1d4fd7; }
.public-site .home-hero-2026 .hero-2026-actions .is-quiet { background: #ffffff; color: #16428a; -webkit-text-fill-color: #16428a; border: 1px solid #d8e2f0; }
.public-site .home-hero-2026 .hero-2026-actions .is-quiet:hover { border-color: #b9cdea; }

.public-site .home-hero-2026 .hero-2026-reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: #64748b; -webkit-text-fill-color: #64748b; }
.public-site .home-hero-2026 .hero-2026-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.public-site .home-hero-2026 .hero-2026-reassure svg { width: 13px; height: 13px; color: #16a34a; }

/* ---- the ecosystem diagram ---- */

.public-site .home-hero-2026 .eco {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px minmax(0, 1.04fr) 122px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.public-site .home-hero-2026 .eco-card {
  position: relative; z-index: 2;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 18px 40px -26px rgba(15, 23, 42, .28);
  display: flex; flex-direction: column; gap: 10px;
}
.public-site .home-hero-2026 .eco-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.public-site .home-hero-2026 .eco-card--customer .eco-tag { background: #eaf6ef; color: #15703c; -webkit-text-fill-color: #15703c; }
.public-site .home-hero-2026 .eco-card--business .eco-tag { background: #eef3fb; color: #16428a; -webkit-text-fill-color: #16428a; }
.public-site .home-hero-2026 .eco-card h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #0f2138; -webkit-text-fill-color: #0f2138; }
.public-site .home-hero-2026 .eco-card ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.public-site .home-hero-2026 .eco-card li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; font-size: 13px; line-height: 1.45; color: #52657e; -webkit-text-fill-color: #52657e; }
.public-site .home-hero-2026 .eco-card li i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 5px; }
.public-site .home-hero-2026 .eco-card--customer li i { background: #eaf6ef; color: #15703c; }
.public-site .home-hero-2026 .eco-card--business li i { background: #eef3fb; color: #16428a; }
.public-site .home-hero-2026 .eco-card li svg { width: 10px; height: 10px; }

/* the hub */
.public-site .home-hero-2026 .eco-hub {
  position: relative; z-index: 3;
  background: linear-gradient(168deg, #0b1f3a 0%, #12386b 100%);
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 30px 60px -28px rgba(11, 31, 58, .55);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.public-site .home-hero-2026 .eco-hub-mark { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: #ffffff; -webkit-text-fill-color: #ffffff; }
.public-site .home-hero-2026 .eco-hub-sub { font-size: 12px; color: #9dbbe4; -webkit-text-fill-color: #9dbbe4; margin-bottom: 12px; }
.public-site .home-hero-2026 .eco-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; width: 100%; }
.public-site .home-hero-2026 .eco-chip {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 4px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
}
.public-site .home-hero-2026 .eco-chip svg { width: 15px; height: 15px; color: #8fc0ff; }
.public-site .home-hero-2026 .eco-chip span { font-size: 10.5px; font-weight: 600; letter-spacing: .01em; color: #dce8f8; -webkit-text-fill-color: #dce8f8; text-align: center; line-height: 1.15; }

/* the wires between the two sides and the hub */
.public-site .home-hero-2026 .eco-wire { display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; z-index: 1; padding: 0 10px; }
.public-site .home-hero-2026 .eco-wire-label { background: #ffffff; padding: 2px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #8595ab; -webkit-text-fill-color: #8595ab; white-space: nowrap; }
.public-site .home-hero-2026 .eco-wire-line { position: relative; width: 100%; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, #cfdcee 0 6px, transparent 6px 12px); }
.public-site .home-hero-2026 .eco-wire-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .16); animation: eco-flow 2.8s linear infinite; }
.public-site .home-hero-2026 .eco-wire--in i { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .16); }
.public-site .home-hero-2026 .eco-wire--out i { animation-delay: 1.4s; }
@keyframes eco-flow { from { left: -4px; } to { left: calc(100% - 4px); } }

/* a quiet caption so the picture is not left to speak alone */
.public-site .home-hero-2026 .eco-caption { margin: 0; text-align: center; font-size: 13px; color: #64748b; -webkit-text-fill-color: #64748b; max-width: 760px; }

@keyframes eco-flow-down { from { top: -4px; } to { top: calc(100% - 4px); } }

@media (max-width: 1040px) {
  .public-site .home-hero-2026 .eco { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .public-site .home-hero-2026 .eco-hub { order: 0; }
  .public-site .home-hero-2026 .eco-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  /* the flow turns to run down the stack instead of across it */
  .public-site .home-hero-2026 .eco-wire { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
  .public-site .home-hero-2026 .eco-wire-line {
    width: 2px; height: 44px;
    background: repeating-linear-gradient(180deg, #cfdcee 0 6px, transparent 6px 12px);
  }
  .public-site .home-hero-2026 .eco-wire-line i { left: -3px; top: 0; animation-name: eco-flow-down; }
}
@media (max-width: 620px) {
  .public-site .home-hero-2026 { padding: 44px 0 52px !important; }
  .public-site .home-hero-2026 .eco-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .public-site .home-hero-2026 .hero-2026-actions a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .public-site .home-hero-2026 .eco-wire-line i { animation: none; left: calc(50% - 4px); }
}

/* The calendar proof used to be the hero image. It is better evidence
 * than opening statement, so it now sits with the "see it in action"
 * conversion block instead of carrying the top of the page. */
.public-site .conversion-section .conversion-proof { width: min(940px, 100%); margin: 26px auto 0; }
.public-site .conversion-section .conversion-proof-caption { margin: 0 0 12px; text-align: center; font-size: 13px; color: #64748b; -webkit-text-fill-color: #64748b; }
.public-site .conversion-section .home-hero-art { width: 100%; margin: 0; transform: none; }

/* ---------------------------------------------------------------------
 * Depth, and the connection story on mobile.
 *
 * Flat centred text and three plain cards read as a wireframe next to
 * the people we are compared with. This adds brand light behind the
 * hero, gives the hub a glow so it reads as the centre of the picture,
 * and puts the trades on the page as something you can click.
 *
 * The connectors used to be hidden below 1040px, which meant the one
 * thing the picture exists to say - that the two sides are joined -
 * disappeared on the device most of these businesses actually use.
 * They now run vertically down the stack instead, same flow, same dot.
 * ------------------------------------------------------------------ */

.public-site .home-hero-2026 { position: relative; }
.public-site .home-hero-2026::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 340px at 50% -10%, rgba(37, 99, 235, .14), transparent 70%),
    radial-gradient(560px 320px at 10% 14%, rgba(124, 58, 237, .09), transparent 70%),
    radial-gradient(560px 320px at 90% 18%, rgba(16, 185, 129, .08), transparent 70%);
}
.public-site .home-hero-2026 .hero-2026 { position: relative; z-index: 1; }

.public-site .home-hero-2026 .eco-hub {
  box-shadow: 0 30px 60px -26px rgba(11, 31, 58, .6), 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 0 64px rgba(37, 99, 235, .3);
}
.public-site .home-hero-2026 .eco-chip { transition: background .16s ease, border-color .16s ease; }
.public-site .home-hero-2026 .eco-card { transition: box-shadow .16s ease, transform .16s ease; }

/* the trades, on the page and clickable */
.public-site .home-hero-2026 .hero-2026-trades { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.public-site .home-hero-2026 .hero-2026-trades-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8595ab; -webkit-text-fill-color: #8595ab; }
.public-site .home-hero-2026 .hero-2026-chiprow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.public-site .home-hero-2026 .hero-2026-chiprow a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #ffffff; border: 1px solid #e0e8f4;
  font-size: 13px; font-weight: 500; letter-spacing: 0; text-decoration: none;
  color: #3d5372; -webkit-text-fill-color: #3d5372;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.public-site .home-hero-2026 .hero-2026-chiprow a:hover { border-color: #b9cdea; color: #16428a; -webkit-text-fill-color: #16428a; box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .22); }
.public-site .home-hero-2026 .hero-2026-chiprow a.is-all { background: #eef3fb; border-color: #dbe6f7; color: #16428a; -webkit-text-fill-color: #16428a; font-weight: 600; }
