/* Proof strips: live numbers, "Featured On Pulse" logos, "Who's Behind Pulse". Uses the tokens in styles.css.
   Class names are prefixed (pstat…) so they don't clash with the portal's own .stat tiles. */

.proof-band { padding: 64px 0 24px; }

.pstats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.pstat { flex: 1 1 200px; min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; background: var(--bg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.pstat[hidden] { display: none; }
.pstat-n { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.pstat-l { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--body); line-height: 1.25; }
.pstat-store { position: relative; transition: border-color .2s, transform .2s; }
.pstat-store .pstat-n svg { width: .9em; height: .9em; flex: none; margin-top: -.08em; }
.pstat-store .pstat-n .pstat-play { width: .78em; height: .78em; margin-left: -4px; }
.pstat-store a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pstat-store a:focus-visible { outline: none; }
.pstat-store:has(a:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.pstat-store:hover { border-color: var(--brand-line); }
.pstats-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); display: none; align-items: center; gap: 8px; }
.pstats-note .live-dot { width: 7px; height: 7px; }
.pstats-live + .pstats-note { display: flex; }

/* On the dark For Businesses band of the home page */
.section-dark .pstats-wrap { margin: -16px 0 64px; }
.section-dark .pstat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section-dark .pstat-n { color: #fff; }
.section-dark .pstat-l { color: rgba(255, 255, 255, .7); }
.section-dark .pstat-store:hover { border-color: rgba(255, 255, 255, .3); }
.section-dark .pstats-note { color: rgba(255, 255, 255, .55); }

/* Featured On Pulse */
.featured-on { padding: 24px 0 40px; }
.featured-on[hidden] { display: none; }
.featured-on .label { margin-bottom: 16px; }
.logo-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.logo-tile { display: flex; align-items: center; justify-content: center; width: 150px; height: 84px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .2s, transform .2s; }
.logo-tile:hover { border-color: var(--brand-line); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Who's Behind Pulse */
.behind[hidden] { display: none; }
.behind-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 960px; }
.behind-photo { width: 220px; aspect-ratio: 1; border-radius: 28px; background: var(--brand-soft); border: 1px solid var(--brand-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.behind-photo img { width: 100%; height: 100%; object-fit: cover; }
.behind-photo .behind-mark { width: 72px; height: 72px; object-fit: contain; opacity: .9; }
.behind-copy h2 { margin-bottom: 18px; }
.behind-copy p { margin: 0 0 14px; }
.behind-copy a { color: var(--brand); font-weight: 600; }
.behind-meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 640px) {
  .proof-band { padding: 40px 0 12px; }
  .pstats { gap: 10px; }
  .pstat { flex-basis: calc(50% - 5px); padding: 18px 16px 16px; border-radius: 16px; }
  .pstat-l { font-size: .92rem; }
  .section-dark .pstats-wrap { margin: -24px 0 48px; }
  .logo-row li { display: contents; }
  .logo-tile { width: calc(50% - 6px); }
  .behind-grid { grid-template-columns: 1fr; gap: 24px; }
  .behind-photo { width: 140px; border-radius: 22px; }
}

/* Numbers up top (Oct 25, 2026): right under the home page hero, and in the /business top section. */
.proof-top { padding: 28px 0 8px; }
.pstats-land { margin-top: 26px; }
.pstats-land .pstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pstats-land .pstat { padding: 14px 16px; border-radius: 14px; gap: 6px; }
.pstats-land .pstat-n { font-size: 1.7rem; }
.pstats-land .pstat-l { font-size: .88rem; }
.pstats-land .pstats-note { margin-top: 10px; }

/* Season Sponsors strip (assets/js/season-sponsors.js). Hidden until a sponsor is marked in Admin. */
.season-sponsors { padding: 28px 0 36px; }
.season-sponsors[hidden] { display: none; }
.season-sponsors .label { margin-bottom: 6px; }
.season-sponsors .ss-sub { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.ss-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.ss-row > li { display: flex; }
.ss-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 180px; min-height: 104px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .2s; }
a.ss-tile:hover { border-color: var(--brand-line); }
.ss-tile img { max-width: 100%; max-height: 52px; object-fit: contain; }
.ss-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-align: center; line-height: 1.15; }
.ss-ind { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .ss-row li { display: contents; }
  .ss-tile { width: calc(50% - 6px); }
}

.pstats-note .pstats-see { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
