/* ==========================================================================
   Pitchbar — Briefberry-inspired welcome / login page
   Color tokens mirror the reference design (light theme).
   ========================================================================== */

.pb-auth {
   --pb-surface1: #f1f1f1;   /* page background            */
   --pb-surface2: #fdfdfd;   /* pills, cards, modal        */
   --pb-subtle:   #e9e9e9;   /* feature card surface       */
   --pb-subtle95: #f4f4f4;   /* cta panel surface          */
   --pb-dark1:    #282828;   /* primary (dark) button      */
   --pb-dark2:    #141414;   /* primary button hover       */
   --pb-ink:      #1b1b1b;   /* primary text               */
   --pb-secondary:#727272;   /* secondary text             */
   --pb-tertiary: #4c4c4c;   /* tertiary text              */
   --pb-light:    #fdfdfd;   /* text on dark               */
   --pb-blue:     #2d68ff;   /* accent / chip              */
   --pb-green:    #00a656;   /* check marks                */
   --pb-purple:   #a444f3;   /* highlight star             */
   --pb-stroke:   #e2e2e2;   /* solid stroke               */
   --pb-stroke-subtle: rgba(168,168,168,.18);
   --pb-stroke-strong: rgba(168,168,168,.50);
   --pb-r-5xl: 40px;
   --pb-r-4xl: 32px;
   --pb-r-3xl: 24px;
   --pb-r-2xl: 16px;

   position: relative;
   min-height: 100vh;
   background: var(--pb-surface1);
   color: var(--pb-ink);
   font-family: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;
   letter-spacing: -0.01em;
   overflow-x: hidden;
}

/* Hide legacy chrome that the welcome layout sometimes injects */
.pb-auth ~ .lb-preloader,
.pb-auth ~ .chat-all-container { display: none !important; }

.pb-auth * { box-sizing: border-box; }

.pb-wrap {
   width: 100%;
   max-width: 1180px;
   margin: 0 auto;
   padding-left: 24px;
   padding-right: 24px;
}

/* ----------------------------------------------------------------- nav -- */
.pb-nav {
   position: relative;
   z-index: 30;
   display: flex;
   align-items: center;
   max-width: 1180px;
   margin: 0 auto;
   padding: 20px 24px;
}
.pb-nav-logo { margin-right: auto; display: inline-flex; align-items: center; }
.pb-nav-logo img { height: 34px; width: auto; display: block; }

.pb-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   height: 48px;
   padding: 0 26px;
   border-radius: 999px;
   border: 1.5px solid transparent;
   font-size: 15px;
   font-weight: 600;
   line-height: 1;
   cursor: pointer;
   transition: all .2s ease;
   text-decoration: none;
   white-space: nowrap;
}
.pb-btn-ghost {
   background: var(--pb-surface2);
   color: var(--pb-secondary);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
}
.pb-btn-ghost:hover { color: var(--pb-ink); box-shadow: inset 0 0 0 1.5px var(--pb-stroke-strong), 0 8px 24px rgba(0,0,0,.06); }
.pb-btn-dark {
   background: var(--pb-dark1);
   color: var(--pb-light);
   fill: var(--pb-light);
}
.pb-btn-dark:hover { background: var(--pb-dark2); color: var(--pb-light); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

/* --------------------------------------------------------------- hero -- */
.pb-hero {
   position: relative;
   max-width: 1180px;
   margin: 0 auto;
   padding: 80px 24px 0;
   text-align: center;
}
.pb-hero-head {
   position: relative;
   max-width: 800px;
   margin: 0 auto 48px;
   padding: 28px 0;
}
.pb-hero-title {
   margin: 0 0 20px;
   font-size: clamp(46px, 7vw, 84px);
   line-height: 1.0;
   font-weight: 700;
   letter-spacing: -0.04em;
   color: var(--pb-ink);
}
.pb-hero-title .grad {
   color: var(--pb-ink);
   -webkit-text-fill-color: currentColor;
   background: none;
}
.pb-hero-sub {
   margin: 0 auto;
   max-width: 620px;
   font-size: 19px;
   line-height: 1.5;
   color: var(--pb-secondary);
}
.pb-hero-cta { margin-bottom: 28px; }

/* Override the discovery dashboard .pb-hero styles that bleed onto this page
   (dark gradient bg, white text, small h1, corner glow). Scoped to .pb-auth so
   the welcome hero stays flat/light with a big solid-dark title. */
.pb-auth .pb-hero {
   background: none;
   color: var(--pb-ink);
   border-radius: 0;
   overflow: visible;
   padding: 80px 24px 0;
   margin: 0 auto;
}
.pb-auth .pb-hero::after { content: none; }
.pb-auth .pb-hero h1 {
   margin: 0 0 20px;
   font-size: clamp(2.75rem, 7.5vw, 5.75rem);
   line-height: 1.0;
   font-weight: 700;
   letter-spacing: -0.04em;
   color: var(--pb-ink);
   opacity: 1;
}
.pb-auth .pb-hero p {
   max-width: 620px;
   margin: 0 auto;
   font-size: 19px;
   line-height: 1.5;
   text-align: center;
   color: var(--pb-secondary);
   opacity: 1;
}
.pb-auth .pb-hero .pb-btn-dark { background: var(--pb-dark1); color: var(--pb-light); }
.pb-auth .pb-hero .pb-btn-dark:hover { background: var(--pb-dark2); }

/* Hero mockup frame — rounded border inside the grid column */
.pb-frame {
   position: relative;
   padding: 6px;
   border: 1.5px solid var(--pb-stroke-subtle);
   border-radius: var(--pb-r-5xl);
}
.pb-frame-inner {
   position: relative;
   height: 500px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
   overflow: hidden;
}
/* Briefberry colour glow behind the hero mockups */
.pb-frame-inner::before {
   content: "";
   position: absolute;
   inset: 0;
   background: url("../img/hero-gradient.webp") no-repeat center bottom;
   background-size: cover;
   z-index: 0;
   pointer-events: none;
}
.pb-shots {
   position: absolute;
   left: 50%;
   bottom: 0;
   transform: translateX(-50%);
   display: flex;
   align-items: flex-end;
   width: max-content;
   z-index: 1;
}
.pb-shots .pb-mock-dash { position: relative; z-index: 1; }
.pb-shots .pb-mock-match { position: relative; z-index: 2; margin-left: -120px; }

/* ============================================================ mockups == */
/* Coded UI mockups (replace the screenshot images) */
.pb-mock {
   background: var(--pb-surface2);
   border-radius: 16px 16px 0 0;
   box-shadow: 0 30px 60px rgba(20,20,20,.12);
   overflow: hidden;
   text-align: left;
}
.pb-mock-bar {
   display: flex;
   align-items: center;
   gap: 7px;
   padding: 13px 16px;
   border-bottom: 1px solid var(--pb-stroke);
}
.pb-dot { width: 10px; height: 10px; border-radius: 50%; background: #E1E1E1; }
.pb-dot.is-live { background: #B5B5B5; }
.pb-mock-tab {
   margin-left: 10px;
   font-size: 12px;
   color: var(--pb-secondary);
   white-space: nowrap;
}
.pb-mock-tab b { color: var(--pb-ink); font-weight: 700; margin-right: 4px; }
.pb-mock-avatar {
   width: 24px; height: 24px;
   margin-left: auto;
   border-radius: 50%;
   background: #B5B5B5;
}

/* dashboard mock */
.pb-mock-dash { width: 660px; }
.pb-mock-body { display: flex; }
.pb-mock-side {
   width: 60px;
   flex: 0 0 60px;
   padding: 18px 12px;
   display: flex;
   flex-direction: column;
   gap: 12px;
   border-right: 1px solid var(--pb-stroke);
}
.pb-nav-pill { height: 9px; border-radius: 5px; background: #EAEAEA; }
.pb-nav-pill.is-on { background: #B5B5B5; opacity: 1; }
.pb-mock-content { flex: 1; padding: 20px; }
.pb-mock-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pb-pillbtn { width: 70px; height: 26px; border-radius: 999px; background: var(--pb-dark1); }
.pb-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pb-tile {
   padding: 14px;
   border-radius: 12px;
   background: var(--pb-surface1);
   box-shadow: inset 0 0 0 1px var(--pb-stroke-subtle);
}
.pb-tile-ic { width: 28px; height: 28px; border-radius: 9px; margin-bottom: 12px; }

/* generic skeleton bars */
.pb-skel { display: block; height: 8px; border-radius: 5px; background: #E1E1E1; margin-bottom: 8px; }
.pb-skel:last-child { margin-bottom: 0; }
.pb-skel.lg { height: 12px; }
.pb-skel.xl { height: 18px; background: #E1E1E1; }
.w35{width:35%} .w38{width:38%} .w40{width:40%} .w42{width:42%} .w45{width:45%}
.w48{width:48%} .w50{width:50%} .w55{width:55%} .w58{width:58%} .w60{width:60%}
.w65{width:65%} .w70{width:70%} .w72{width:72%} .w80{width:80%} .w85{width:85%} .w90{width:90%}

/* progress bars */
.pb-progress { margin-top: 12px; height: 6px; border-radius: 4px; background: #EFEFEF; overflow: hidden; }
.pb-progress.lg { height: 8px; margin-top: 18px; }
.pb-progress i { display: block; height: 100%; border-radius: 4px; background: #B5B5B5; }

/* neutral grayscale accents for icons / avatars / nodes */
.g1 { background: #B5B5B5; }
.g2 { background: #E1E1E1; }
.g3 { background: #EAEAEA; }
.g4 { background: #E1E1E1; }
.g5 { background: #B5B5B5; }

/* AI match card mock */
.pb-mock-match { width: 280px; }
.pb-mock-pad { padding: 18px; }
.pb-match-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pb-tag {
   display: inline-flex;
   align-items: center;
   font-size: 11px;
   font-weight: 700;
   color: var(--pb-secondary);
   background: #F0F0F0;
   border: 1px solid #E1E1E1;
   border-radius: 8px;
   padding: 3px 8px;
}
.pb-match-ring { display: flex; justify-content: center; margin: 10px 0 18px; }
.pb-match-row {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 9px 10px;
   border-radius: 10px;
   margin-bottom: 8px;
   box-shadow: inset 0 0 0 1px var(--pb-stroke-subtle);
}
.pb-match-row:last-child { margin-bottom: 0; }
.pb-match-row.is-on { box-shadow: inset 0 0 0 1.5px #B5B5B5; }
.pb-av { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; background: #B5B5B5; }
.pb-match-row .pb-skel { flex: 1; margin: 0; }

/* pitch editor mock (wide feature card) */
.pb-mock-pitch { width: 100%; max-width: 460px; }
.pb-mock-pitch .pb-mock-pad { padding: 22px 24px 26px; }
.pb-mock-pitch .pb-skel { margin-bottom: 11px; }
.pb-chips { display: flex; gap: 8px; margin: 16px 0 4px; }
.pb-mini-chip {
   font-size: 11px;
   font-weight: 600;
   color: var(--pb-secondary);
   background: var(--pb-surface1);
   box-shadow: inset 0 0 0 1px var(--pb-stroke-subtle);
   border-radius: 999px;
   padding: 5px 12px;
}

/* builders list mock */
.pb-mock-list { width: 100%; padding: 16px; }
.pb-lrow {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px;
   border-radius: 12px;
   margin-bottom: 10px;
   background: var(--pb-surface1);
   box-shadow: inset 0 0 0 1px var(--pb-stroke-subtle);
}
.pb-lrow:last-child { margin-bottom: 0; }
.pb-lrow .pb-av { width: 32px; height: 32px; }
.pb-lrow-t { flex: 1; }
.pb-lrow-t .pb-skel { margin-bottom: 6px; }
.pb-lrow-t .pb-skel:last-child { margin-bottom: 0; }
.pb-lrow .pb-tag { color: var(--pb-secondary); background: #F0F0F0; border-color: #E1E1E1; }

/* AI nodes mock */
.pb-mock-nodes {
   position: relative;
   width: 100%;
   height: 220px;
   background: var(--pb-surface2);
   border-radius: var(--pb-r-2xl);
}
.pb-node-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-node { position: absolute; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 8px 18px rgba(20,20,20,.12); }
.pb-node.n1 { top: 22%; left: 18%; }
.pb-node.n2 { top: 18%; right: 18%; }
.pb-node.n3 { bottom: 16%; left: 24%; }
.pb-node-core {
   position: absolute;
   top: 50%; left: 50%;
   transform: translate(-50%,-50%);
   width: 60px; height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: #B5B5B5;
   box-shadow: 0 14px 30px rgba(20,20,20,.18);
}

/* flat mock (no top radius gap) used inside CTA */
.pb-mock-flat { width: 100%; max-width: 620px; margin: 0 auto; }

/* -------------------------------------------------------------- section -- */
.pb-section { position: relative; max-width: 1180px; margin: 0 auto; padding: 120px 24px 0; }
.pb-sec-head {
   position: relative;
   max-width: 620px;
   margin: 0 auto 64px;
   padding: 28px 0;
   text-align: center;
}
.pb-sec-cta { margin: 40px 0 0; text-align: center; }
.pb-sec-head h2 {
   margin: 0 0 18px;
   font-size: clamp(30px, 4vw, 44px);
   font-weight: 700;
   letter-spacing: -0.03em;
   line-height: 1.06;
}
.pb-sec-head p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--pb-secondary); }

.pb-feature-wrap { position: relative; }
.pb-feature-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.pb-feature-row { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; }
.pb-feature-row .pb-fcard { width: calc(50% - 8px); }
.pb-fcard {
   position: relative;
   padding: 48px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
   overflow: hidden;
   width: calc(50% - 8px);
}
.pb-fcard-ico {
   display: inline-flex;
   margin-bottom: 24px;
   color: var(--pb-ink);
}
.pb-fcard h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.pb-fcard p { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.5; color: var(--pb-secondary); }
.pb-fcard-media { margin-bottom: 40px; }
.pb-fcard-media img {
   display: block;
   width: 100%;
   height: auto;
   border-radius: var(--pb-r-2xl);
   box-shadow: 0 24px 50px rgba(20,20,20,.10);
}

/* wide first card */
.pb-fcard--wide {
   position: relative;
   width: 100%;
   display: flex;
   flex-direction: row-reverse;
   align-items: center;
   min-height: 360px;
   gap: 40px;
}
/* Briefberry colour glow behind the wide-card mockup */
.pb-fcard--wide::before {
   content: "";
   position: absolute;
   right: -6%;
   bottom: -28%;
   width: 60%;
   height: 150%;
   background: url("../img/about-gradient.webp") no-repeat center / contain;
   opacity: .8;
   z-index: 0;
   pointer-events: none;
}
.pb-fcard--wide > * { position: relative; z-index: 1; }
.pb-fcard--wide .pb-fcard-body { max-width: 380px; margin-right: auto; }
.pb-fcard--wide .pb-fcard-media {
   flex: 1;
   margin-bottom: 0;
   align-self: flex-end;
}
.pb-fcard--wide .pb-fcard-media img {
   border-radius: 16px 0 0 0;
   max-width: 520px;
   margin-left: auto;
}
.pb-fcard-media .pb-mock { box-shadow: 0 24px 50px rgba(20,20,20,.10); }
.pb-fcard--wide .pb-fcard-media { display: flex; justify-content: flex-end; }

/* ------------------------------------------------------------ ecosystem -- */
#ecosystem { position: relative; overflow: hidden; }
/* Briefberry colour glow in the ecosystem section corner */
#ecosystem::before {
   content: "";
   position: absolute;
   right: -4%;
   bottom: -6%;
   width: 40%;
   height: 70%;
   background: url("../img/pricing-gradient.webp") no-repeat right bottom / contain;
   opacity: .8;
   z-index: 0;
   pointer-events: none;
}
#ecosystem .pb-sec-head,
#ecosystem .pb-feature-wrap { position: relative; z-index: 1; }
.pb-eco-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.pb-eco {
   width: calc(33.333% - 11px);
   padding: 32px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
}
.pb-eco-ico {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 52px; height: 52px;
   margin-bottom: 22px;
   border-radius: 16px;
   color: var(--pb-ink);
   background: var(--pb-surface2);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
}
.pb-eco h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.pb-eco p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pb-secondary); }
.pb-eco--accent .pb-eco-ico { color: var(--pb-ink); }

/* -------------------------------------------------------- popular startups -- */
.pb-startup-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}
.pb-startup-card {
   display: flex;
   flex-direction: column;
   width: calc(33.333% - 11px);
   min-height: 200px;
   padding: 24px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
   text-decoration: none;
   color: inherit;
   transition: box-shadow .2s ease, transform .2s ease;
}
.pb-startup-card:hover {
   box-shadow: 0 16px 40px rgba(20,20,20,.08);
   transform: translateY(-2px);
}
.pb-startup-card-logo {
   width: 48px;
   height: 48px;
   border-radius: 14px;
   object-fit: cover;
   margin-bottom: 16px;
   background: var(--pb-surface2);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
}
.pb-startup-card-logo.is-empty { display: block; }
.pb-startup-card-name {
   margin-bottom: 8px;
   font-size: 18px;
   font-weight: 700;
   letter-spacing: -0.02em;
}
.pb-startup-card-desc {
   flex: 1;
   margin-bottom: 14px;
   font-size: 14px;
   line-height: 1.5;
   color: var(--pb-secondary);
}
.pb-startup-card-meta {
   font-size: 13px;
   font-weight: 600;
   color: var(--pb-tertiary);
}

/* -------------------------------------------------------------- how it works -- */
.pb-steps {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}
.pb-step {
   width: calc(33.333% - 11px);
   padding: 32px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
}
.pb-step-num {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   margin-bottom: 18px;
   border-radius: 12px;
   font-size: 15px;
   font-weight: 700;
   color: var(--pb-ink);
   background: var(--pb-surface2);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
}
.pb-step h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.pb-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pb-secondary); }

/* --------------------------------------------------------------- audience -- */
.pb-audience-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}
.pb-audience {
   width: calc(33.333% - 11px);
   padding: 32px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle);
}
.pb-audience h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.pb-audience > p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--pb-secondary); }
.pb-audience ul {
   margin: 0;
   padding-left: 18px;
   font-size: 14px;
   line-height: 1.6;
   color: var(--pb-tertiary);
}
.pb-audience li { margin-bottom: 6px; }
.pb-audience-link { margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.pb-audience-link a { color: var(--pb-blue); text-decoration: none; }
.pb-audience-link a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------- faq -- */
.pb-faq { margin: 0; }
.pb-faq-item {
   padding: 24px 8px;
   border-bottom: 1.5px solid var(--pb-stroke-subtle);
}
.pb-faq-item:last-child { border-bottom: 0; }
.pb-faq-item dt {
   margin: 0 0 8px;
   font-size: 17px;
   font-weight: 700;
   letter-spacing: -0.02em;
}
.pb-faq-item dd {
   margin: 0;
   font-size: 15px;
   line-height: 1.55;
   color: var(--pb-secondary);
}

/* ---------------------------------------------------------------- pricing -- */
.pb-pricing-grid {
   display: flex;
   max-width: 760px;
   margin: 0 auto;
   gap: 0;
}
.pb-plan {
   width: 50%;
   padding: 8px;
}
.pb-plan-inner {
   display: flex;
   flex-direction: column;
   height: 100%;
   padding: 8px;
   border-radius: var(--pb-r-4xl);
   overflow: hidden;
}
.pb-plan--pro .pb-plan-inner {
   background: var(--pb-surface2);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke);
}
.pb-plan-top { position: relative; z-index: 2; padding: 52px 40px 32px; }
.pb-plan-name { margin: 0 0 32px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.pb-plan-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pb-plan-feats li { display: flex; align-items: flex-start; font-size: 16px; font-weight: 500; color: var(--pb-ink); }
.pb-plan-feats li svg { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 16px 0 0; fill: var(--pb-green); }
.pb-plan-feats li.is-credit { color: var(--pb-purple); }
.pb-plan-feats li.is-credit svg { fill: var(--pb-purple); }
.pb-plan-bottom {
   margin-top: auto;
   padding: 24px 40px;
   border-radius: var(--pb-r-3xl);
}
.pb-plan--free .pb-plan-bottom { box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle); }
.pb-plan--pro .pb-plan-bottom {
   background: var(--pb-surface2);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke);
}
.pb-price { display: flex; align-items: baseline; margin-bottom: 16px; }
.pb-price b { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; }
.pb-price span { margin-left: 10px; font-size: 17px; font-weight: 600; color: var(--pb-secondary); }
.pb-plan .pb-btn { width: 100%; }

/* ------------------------------------------------------------------- cta -- */
.pb-cta {
   position: relative;
   max-width: 1180px;
   margin: 0 auto;
   padding: 120px 24px 100px;
   display: flex;
   flex-direction: column;
   gap: 40px;
}
.pb-cta-panel {
   position: relative;
   padding: 6px;
   border: 1.5px solid var(--pb-stroke-subtle);
   border-radius: var(--pb-r-5xl);
   overflow: hidden;
}
.pb-cta-inner {
   position: relative;
   padding: 80px 32px 0;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-subtle95);
   text-align: center;
   overflow: hidden;
}
/* Briefberry colour glow behind the CTA content */
.pb-cta-inner::before {
   content: "";
   position: absolute;
   left: 50%;
   top: 8%;
   width: 620px;
   max-width: 90%;
   aspect-ratio: 1 / 1;
   transform: translateX(-50%);
   background: url("../img/start-gradient.webp") no-repeat center / contain;
   opacity: .7;
   z-index: 0;
   pointer-events: none;
}
.pb-cta-inner > * { position: relative; z-index: 1; }
.pb-cta-inner h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; }
.pb-cta-inner p { margin: 0 auto 32px; max-width: 520px; font-size: 19px; color: var(--pb-secondary); }
.pb-cta-shot {
   max-width: 620px;
   margin: 0 auto;
   border-radius: 16px 16px 0 0;
   overflow: hidden;
   box-shadow: 0 -10px 60px rgba(20,20,20,.12);
}
.pb-cta-shot img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- footer -- */
.pb-foot {
   max-width: 1180px;
   margin: 0 auto;
   padding: 24px;
}
.pb-foot .clearfix { clear: both; }

/* ========================================================== login modal == */
.pb-modal {
   position: fixed;
   inset: 0;
   z-index: 1000;
   display: none;
   align-items: center;
   justify-content: center;
   padding: 24px;
   background: rgba(20,20,20,.55);
   -webkit-backdrop-filter: blur(6px);
   backdrop-filter: blur(6px);
}
.pb-modal.is-open { display: flex; }
.pb-modal-dialog {
   position: relative;
   width: 100%;
   max-width: 460px;
   max-height: 92vh;
   overflow-y: auto;
   padding: 36px;
   border-radius: var(--pb-r-4xl);
   background: var(--pb-surface2);
   box-shadow: 0 40px 90px rgba(0,0,0,.30);
   animation: pb-modal-in .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes pb-modal-in {
   from { opacity: 0; transform: translateY(16px) scale(.98); }
   to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pb-modal-close {
   position: absolute;
   top: 16px; right: 16px;
   width: 36px; height: 36px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border: 0;
   border-radius: 999px;
   background: var(--pb-surface1);
   color: var(--pb-secondary);
   cursor: pointer;
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
}
.pb-modal-close:hover { color: var(--pb-ink); }

/* login form styling inside modal */
.pb-modal #login .title,
.pb-modal #pb-login-form .title,
.pb-modal #pb-register-form .title { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.pb-modal #login .desc,
.pb-modal #pb-login-form .desc,
.pb-modal #pb-register-form .desc { margin: 0 0 22px; font-size: 15px; color: var(--pb-secondary); }
.pb-modal #login .desc a,
.pb-modal #login a.main,
.pb-modal #pb-login-form .desc a,
.pb-modal #pb-login-form a.main,
.pb-modal #pb-register-form .desc a,
.pb-modal #pb-register-form a.main { color: var(--pb-blue); text-decoration: none; font-weight: 600; }
.pb-modal #login .desc a:hover,
.pb-modal #login a.main:hover,
.pb-modal #pb-login-form .desc a:hover,
.pb-modal #pb-login-form a.main:hover,
.pb-modal #pb-register-form .desc a:hover,
.pb-modal #pb-register-form a.main:hover { text-decoration: underline; }

.pb-modal #login .social_btns {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 18px;
}
.pb-modal #login .social_btns > * { flex: 1 1 100%; }
.pb-modal #login .social_btns .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   height: 46px;
   padding: 0 14px;
   border-radius: 12px;
   background: var(--pb-surface1);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
   color: var(--pb-ink);
   text-decoration: none;
   font-size: 14px;
   font-weight: 600;
}
.pb-modal #login .social_btns .btn svg { width: 20px; height: 20px; }
.pb-modal #login .social_btns .btn.no_padd:not(.full) { flex: 1 1 calc(50% - 10px); }

.pb-modal #login .wow_form_fields { margin-bottom: 14px; text-align: left; }
.pb-modal #login .wow_form_fields label {
   display: block;
   margin-bottom: 7px;
   font-size: 13px;
   font-weight: 600;
   color: var(--pb-tertiary);
}
.pb-modal #login .wow_form_fields input {
   width: 100%;
   height: 48px;
   padding: 0 16px;
   border-radius: 12px;
   border: 1.5px solid var(--pb-stroke);
   background: var(--pb-surface1);
   color: var(--pb-ink);
   font-size: 15px;
   outline: none;
   transition: border-color .15s ease, box-shadow .15s ease;
}
.pb-modal #login .wow_form_fields input:focus {
   border-color: var(--pb-blue);
   box-shadow: 0 0 0 3px rgba(45,104,255,.15);
}
.pb-modal #login .errors {
   display: none;
   margin: 0 0 14px;
   padding: 10px 12px;
   border-radius: 10px;
   font-size: 14px;
   text-align: left;
}
.pb-modal #login .errors:not(:empty) { display: block; background: #fdecec; color: #c0392b; }
.pb-modal #login .errors.alert-success { background: #e7f8ef; color: var(--pb-green); }

.pb-modal #login .forgot_password {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   margin: 4px 0 18px;
}
.pb-modal #login .forgot_password .terms { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pb-secondary); }
.pb-modal #login .forgot_password .terms label { margin: 0; }
.pb-modal #login .forgot_password .terms .clear { display: none; }
.pb-modal #login .forgot_password > a.main { font-size: 14px; }

.pb-modal #login .login_signup_combo { margin-bottom: 8px; }
.pb-modal #login .btn-main {
   width: 100%;
   height: 50px;
   border: 0;
   border-radius: 999px;
   background: var(--pb-dark1);
   color: var(--pb-light);
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: background .2s ease;
}
.pb-modal #login .btn-main:hover { background: var(--pb-dark2); }
.pb-modal #login .btn-main.btn-loading { opacity: .7; pointer-events: none; }

.pb-modal #login .random_users,
.pb-modal #login .wo_side_apps { margin-top: 18px; }
.pb-modal #login .wo_side_apps p { font-size: 13px; color: var(--pb-secondary); margin: 10px 0 6px; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1023px) {
   .pb-frame-inner { height: 420px; }
   .pb-mock-dash { width: 520px; }
   .pb-mock-body { }
   .pb-shots .pb-mock-match { width: 220px; margin-left: -96px; }
   .pb-section, .pb-cta { padding-top: 90px; }
   .pb-eco { width: calc(50% - 8px); }
   .pb-startup-card,
   .pb-step,
   .pb-audience { width: calc(50% - 8px); }
}
@media (max-width: 767px) {
   .pb-feature-row .pb-fcard {
      width: 100%;
   }
   .pb-auth .pb-hero { padding-top: 32px; }
   .pb-auth .pb-hero h1 { font-size: clamp(34px, 9vw, 52px); }
   .pb-auth .pb-hero p { font-size: 17px; }
   .pb-frame-inner { height: auto; padding: 28px 14px 0; overflow: hidden; }
   .pb-shots {
      position: relative; left: auto; bottom: auto; transform: none;
      width: 100%; max-width: 100%;
      align-items: flex-start;
   }
   .pb-mock-dash { width: 150%; max-width: 150%; }
   .pb-shots .pb-mock-match {
      position: absolute; right: -6%; bottom: 0;
      width: 46%; margin-left: 0;
   }
   .pb-grid3 { grid-template-columns: repeat(2, 1fr); }
   .pb-fcard { width: 100%; padding: 28px; }
   .pb-fcard--wide { flex-direction: column; align-items: stretch; min-height: 0; }
   .pb-fcard--wide .pb-fcard-media { margin: 0 0 28px; justify-content: stretch; }
   .pb-mock-pitch { max-width: 100%; }
   .pb-eco { width: 100%; }
   .pb-startup-card,
   .pb-step,
   .pb-audience { width: 100%; }
   .pb-cta-inner { padding: 48px 20px 0; }
   .pb-modal-dialog { padding: 26px 20px; }
}

/* Shared guest auth modal forms (Feed / Discovery) */
.pb-modal #pb-login-form .wow_form_fields,
.pb-modal #pb-register-form .wow_form_fields { margin-bottom: 14px; text-align: left; }
.pb-modal #pb-login-form .wow_form_fields label,
.pb-modal #pb-register-form .wow_form_fields label {
   display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--pb-tertiary);
}
.pb-modal #pb-login-form .wow_form_fields input,
.pb-modal #pb-register-form .wow_form_fields input {
   width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
   border: 1.5px solid var(--pb-stroke); background: var(--pb-surface1); color: var(--pb-ink);
   font-size: 15px; outline: none;
}
.pb-modal #pb-login-form .wow_form_fields input:focus,
.pb-modal #pb-register-form .wow_form_fields input:focus {
   border-color: var(--pb-blue); box-shadow: 0 0 0 3px rgba(45,104,255,.15);
}
.pb-modal #pb-login-form .errors,
.pb-modal #pb-register-form .errors {
   display: none !important;
   margin: 0 0 14px;
   padding: 10px 12px;
   border-radius: 10px;
   font-size: 14px;
   text-align: left;
   background: #fdecec;
   color: #c0392b;
}
.pb-modal #pb-login-form .errors:not(:empty),
.pb-modal #pb-register-form .errors:not(:empty) {
   display: block !important;
}
.pb-modal #pb-login-form .errors.is-success,
.pb-modal #pb-register-form .errors.is-success {
   background: #e7f8ef;
   color: var(--pb-green);
}
.pb-modal #pb-login-form .forgot_password {
   display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 18px;
}
.pb-modal #pb-login-form .forgot_password .terms { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pb-secondary); }
.pb-modal #pb-login-form .forgot_password .terms label { margin: 0; }
.pb-modal #pb-login-form .forgot_password > a.main { font-size: 14px; }
.pb-modal #pb-login-form .login_signup_combo,
.pb-modal #pb-register-form .login_signup_combo { margin-bottom: 8px; }
.pb-modal #pb-login-form .btn-main,
.pb-modal #pb-register-form .btn-main {
   width: 100%; height: 50px; border: 0; border-radius: 999px;
   background: var(--pb-dark1); color: var(--pb-light); font-size: 16px; font-weight: 600; cursor: pointer;
}
.pb-modal #pb-login-form .btn-main:hover,
.pb-modal #pb-register-form .btn-main:hover { background: var(--pb-dark2); }
.pb-modal #pb-login-form .btn-main.btn-loading,
.pb-modal #pb-register-form .btn-main.btn-loading { opacity: .7; pointer-events: none; }

.pb-modal #pb-login-form .social_btns,
.pb-modal #pb-register-form .social_btns {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin: 0 0 18px;
}
.pb-modal #pb-login-form .pb-google-btn,
.pb-modal #pb-register-form .pb-google-btn {
   width: 100%;
   display: flex;
   justify-content: center;
   min-height: 44px;
}
.pb-modal #pb-login-form .pb-google-btn > div,
.pb-modal #pb-register-form .pb-google-btn > div {
   width: 100% !important;
}
.pb-modal #pb-login-form .social_btns .btn,
.pb-modal #pb-register-form .social_btns .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   height: 46px;
   padding: 0 14px;
   border-radius: 12px;
   background: var(--pb-surface1);
   box-shadow: inset 0 0 0 1.5px var(--pb-stroke-subtle);
   color: var(--pb-ink);
   text-decoration: none;
   font-size: 14px;
   font-weight: 600;
   flex: 1 1 100%;
}
.pb-modal #pb-login-form .social_btns .btn.no_padd:not(.full),
.pb-modal #pb-register-form .social_btns .btn.no_padd:not(.full) {
   flex: 1 1 calc(50% - 10px);
}
