/* ═══════════════════════════════════════════════════════════════════════
   /bypass — anti-bot bypass hub. "One call. Every wall."
   Signature: a roster of eleven systems that flips blocked -> passed under a
   teal sweep on scroll, then a grouped directory linking to every page.
   Purple band, teal closer. teal = passed, red = blocked (semantic), purple = band.
   Chrome owned by _shared/chrome.css.
   ═══════════════════════════════════════════════════════════════════════ */
@import "../_ds/fonts.css";
@import "../_ds/theme.css";
@import "../_shared/chrome.css";
@import "../_shared/components.css";
@import "../_shared/audience-switcher.css";

.hub-main { position: relative; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 620ms cubic-bezier(0.22,1,0.36,1), transform 620ms cubic-bezier(0.22,1,0.36,1); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ═══════════════════════════════════════════════════════════════════════
   ACT 1 — the roster falls (sticky, 2-col: copy left, roster right)
   ═══════════════════════════════════════════════════════════════════════ */
.hub-hero { position: relative; min-height: 280vh; --hub: 0; }
.hub-hero-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr 0.92fr; align-content: center; align-items: center; column-gap: clamp(36px, 5vw, 96px); padding: 88px clamp(20px, 5vw, 80px) 48px; max-width: 1440px; margin-inline: auto; }

.hub-hero-copy { max-width: 560px; }
.hub-hero-copy .eyebrow { margin-bottom: 16px; }
.hub-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--display-xlarge); line-height: var(--leading-display-xlarge, 1.0); letter-spacing: var(--tracking-dense, -0.026em); color: var(--text-primary); margin: 0; }
.hub-hero-h1 .l2 { display: block; }
.hub-hero-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 22px 0 0; max-width: 44ch; }
.hub-hero-cta { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hub-hero-cta .link-cta { transform: translateY(2px); }

/* the roster */
.hub-roster { justify-self: end; width: 100%; max-width: 480px; }
.hub-roster-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.hub-roster-title { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-quaternary); }
.hub-roster-count { font-family: var(--font-code); font-size: 12.5px; color: var(--text-tertiary); }
.hub-roster-count [data-hub-count] { color: #7ADAE6; font-variant-numeric: tabular-nums; }
.hub-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(7px, 1.1vh, 12px) 0; border-bottom: 1px solid color-mix(in srgb, var(--border-subtle) 60%, transparent); }
.hub-row-name { font-family: var(--font-base); font-size: var(--mkt-body-sm); color: var(--text-secondary); transition: color 300ms ease; }
.hub-row.is-passed .hub-row-name { color: var(--text-primary); }
.hub-row-status { font-family: var(--font-code); font-size: 12px; white-space: nowrap; }
.hub-row .s-block { color: #F0524B; }
.hub-row .s-pass { display: none; color: #7ADAE6; }
.hub-row.is-passed .s-block { display: none; }
.hub-row.is-passed .s-pass { display: inline; }

/* ═══════════════════════════════════════════════════════════════════════
   ACT 2 — you manage none of it (right-anchored, struck concerns)
   ═══════════════════════════════════════════════════════════════════════ */
.hub-skip { padding: clamp(96px, 14vh, 180px) clamp(20px, 5vw, 80px); max-width: 1160px; margin-inline: auto; }
.hub-skip-head { max-width: 720px; margin-left: auto; text-align: right; }
.hub-skip-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); margin: 0; }
.hub-skip-lead { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-secondary); margin: 18px 0 0 auto; max-width: 50ch; }
.hub-skip-list { list-style: none; margin: clamp(38px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-default, 12px); overflow: hidden; }
.hub-skip-item { background: var(--background); padding: 22px 22px 24px; }
.hub-skip-item .x { font-family: var(--font-code); font-size: 12px; color: #F0524B; letter-spacing: 0.06em; }
.hub-skip-item .t { font-family: var(--font-display); font-size: var(--mkt-lead); color: var(--text-secondary); margin: 8px 0 0; text-decoration: line-through; text-decoration-color: color-mix(in srgb, #F0524B 70%, transparent); text-decoration-thickness: 2px; }
.hub-skip-item .d { font-family: var(--font-base); font-size: 13px; line-height: 1.5; color: var(--text-tertiary); margin: 8px 0 0; }

/* ═══════════════════════════════════════════════════════════════════════
   ACT 3 — the wall is not your problem (SOLID purple band, bloom top-right)
   ═══════════════════════════════════════════════════════════════════════ */
.hub-band { --rise: 0; position: relative; background: #7C4FE8; clip-path: circle(calc(var(--rise) * 150%) at 88% 0%); padding: clamp(100px, 16vh, 200px) clamp(20px, 5vw, 80px); }
@media (prefers-reduced-motion: reduce) { .hub-band { clip-path: none; } }
.hub-band-inner { max-width: 940px; margin-inline: auto; text-align: center; }
.hub-band-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.03; letter-spacing: -0.024em; color: #fff; margin: 0; text-wrap: balance; }
.hub-band-lead { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: #F3ECFF; margin: 22px auto 0; max-width: 52ch; }
.hub-run-call { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 38px 0 0; padding: 14px 22px; border: 1px solid rgba(255,255,255,0.34); border-radius: 999px; font-family: var(--font-code); font-size: clamp(12px, 1vw, 14.5px); color: #fff; }
.hub-run-call .c-cmd { font-weight: 600; }
.hub-run-call .c-arrow { color: #EBDDFF; }
.hub-run-call .c-ok { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,0.16); white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════
   ACT 4 — the directory (dark, grouped grid of links out)
   ═══════════════════════════════════════════════════════════════════════ */
.hub-dir { padding: clamp(96px, 15vh, 190px) clamp(20px, 5vw, 80px); max-width: 1280px; margin-inline: auto; }
.hub-dir-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h3); line-height: 1.06; letter-spacing: -0.02em; color: var(--text-primary); margin: 0; max-width: 18ch; }
.hub-dir-group { margin-top: clamp(44px, 7vh, 80px); }
.hub-dir-group-label { font-family: var(--font-code); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-quaternary); padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.hub-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-top: none; }
.hub-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--background); padding: 24px 24px 26px; text-decoration: none; transition: background 260ms ease; }
.hub-card:hover { background: color-mix(in srgb, var(--background) 86%, #fff 14%); }
.hub-card-name { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); color: var(--text-primary); }
.hub-card-desc { font-family: var(--font-base); font-size: 13.5px; line-height: 1.5; color: var(--text-tertiary); margin: 0; }
.hub-card-go { margin-top: 6px; font-family: var(--font-code); font-size: 12px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 7px; transition: gap 260ms ease, color 260ms ease; }
.hub-card:hover .hub-card-go { gap: 12px; color: #7ADAE6; }
.hub-card-go svg { width: 15px; height: 15px; }
.hub-card-go svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════════════════════════════════════
   ACT 5 — closer (SOLID teal). Fixed purple CTA (contrast, never scrolled).
   ═══════════════════════════════════════════════════════════════════════ */
.hub-closer { position: relative; background: #7ADAE6; padding: clamp(100px, 18vh, 220px) clamp(20px, 5vw, 80px); }
.hub-closer-inner { max-width: 940px; margin-inline: auto; text-align: center; }
.hub-closer-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 1.0; letter-spacing: -0.026em; color: #1D1612; margin: 0; text-wrap: balance; }
.hub-closer-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: #10474E; margin: 22px auto 0; max-width: 50ch; }
.hub-closer-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hub-closer-tagline { font-family: var(--font-code); font-size: 13px; letter-spacing: 0.04em; color: #10474E; }

/* is-on-* topbar inversion scoped to the floating topbar only. */

/* ═══════════════════════════════════════════════════════════════════════
   Mobile / reduced-motion (<=900px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hub-hero { min-height: auto; }
  .hub-hero-stage { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; align-items: flex-start; max-width: none; padding: 116px 20px 64px; gap: 44px; }
  .hub-hero-copy, .hub-roster { max-width: 100%; width: 100%; }
  .hub-roster { justify-self: stretch; }
  .hub-skip-head, .hub-skip-lead { text-align: left; margin-left: 0; }
  .hub-band { clip-path: none !important; }
}
