/* Meet People — landing page (Find Runs / Meet People / For Captains IA) */

.meet-people-page {
  background: var(--paper, #f6f3ec);
  color: var(--ink, #141414);
}

.meet-people-page .site-nav {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.meet-people-page .site-nav .logo,
.meet-people-page .site-nav .nav-links > a,
.meet-people-page .site-nav .nav-dropdown-toggle,
.meet-people-page .site-nav .nav-auth-link,
.meet-people-page .site-nav .icon-btn {
  color: #fff;
}
.meet-people-page .site-nav .logo-mark { color: var(--yellow, #f5c400); }
.meet-people-page .site-nav .nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.meet-people-page .site-nav .btn-nav {
  background: #fff;
  color: var(--black, #111);
}

/* —— Hero —— */
.mp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(72vh, 560px);
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}
.mp-hero-photo { position: absolute; inset: 0; }
.mp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.mp-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.45) 42%, rgba(10,10,10,.12) 72%, transparent 100%),
    linear-gradient(180deg, rgba(10,10,10,.2) 0%, transparent 30%, rgba(10,10,10,.55) 100%);
  pointer-events: none;
}
.mp-hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 48px));
  margin: 0 max(24px, calc((100vw - var(--max, 1320px)) / 2));
  padding: 96px 0 48px;
}
.mp-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.mp-hero h1 .mark {
  color: var(--yellow, #f5c400);
  background-image: none;
}
.mp-hero-lede {
  margin: 14px 0 0;
  max-width: 30em;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  font-weight: 500;
}
.mp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}
.mp-hero-actions .btn {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
}
.mp-hero-actions .btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff;
}
.mp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 650;
  color: rgba(255,255,255,.82);
}
.mp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mp-trust li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow, #f5c400);
}

/* —— Shared —— */
.mp-section {
  padding: 56px max(24px, calc((100% - var(--max, 1320px)) / 2));
}
.mp-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5e5a54);
}
.mp-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink, #141414);
}
.mp-lede {
  margin: 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted, #5e5a54);
}

/* —— After the Run —— */
.mp-after {
  background: #fff;
  border-top: 1px solid var(--line, #e6e1d8);
  border-bottom: 1px solid var(--line, #e6e1d8);
  padding: 0;
}
.mp-after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
}
.mp-after-photo {
  position: relative;
  width: 100%;
  min-height: 100%;
  height: auto;
  overflow: hidden;
  align-self: stretch;
}
.mp-after-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.mp-after-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,.45) 100%);
  pointer-events: none;
}
.mp-after-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px;
  background: var(--paper, #f6f3ec);
}
.mp-after-features {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.mp-after-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.mp-after-features .mp-feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.mp-after-features strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #141414);
}
.mp-after-features span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted, #5e5a54);
}
.mp-after-copy .btn {
  align-self: flex-start;
  margin-top: 22px;
  min-height: 48px;
  padding: 14px 22px;
  font-weight: 800;
}

.mp-event-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(300px, calc(100% - 48px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(20,20,20,.22);
}
.mp-event-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mp-event-meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted, #5e5a54);
  line-height: 1.45;
}
.mp-event-avatars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.mp-event-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #fff;
  margin-left: -8px;
}
.mp-event-avatars span:first-child { margin-left: 0; }
.mp-event-avatars span:nth-child(1) { background: #c8b8a0; }
.mp-event-avatars span:nth-child(2) { background: #8a9bb0; }
.mp-event-avatars span:nth-child(3) { background: #b0a08a; }
.mp-event-avatars span:nth-child(4) { background: #9aa88a; }
.mp-event-avatars em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #5e5a54);
  margin-left: 4px;
}
.mp-event-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  margin-top: 14px;
}
.mp-event-actions .btn {
  margin: 0;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  width: 100%;
}
.mp-event-actions .btn-outline {
  background: #fff;
  border: 1.5px solid var(--line, #e6e1d8);
  color: var(--ink, #141414);
  border-radius: 999px;
  font-weight: 700;
}

/* —— Social network —— */
.mp-social {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line, #e6e1d8);
}
.mp-social .mp-eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
}
.mp-social .mp-title {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 52px);
}
.mp-social .mp-lede {
  max-width: 34em;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.55;
}
.mp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.mp-feature-grid li {
  display: grid;
  gap: 8px;
}
.mp-feature-grid strong {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mp-feature-grid span {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--muted, #5e5a54);
}
.mp-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper, #f6f3ec);
  border: 1px solid var(--line, #e6e1d8);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  color: var(--ink, #141414);
}
.mp-feature-icon svg {
  width: 20px;
  height: 20px;
}
.mp-social > div > .btn {
  margin-top: 28px;
  min-height: 52px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 800;
}

.meet-people-page .rally-app-promo {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Webpage screenshot — browser chrome + in-app profile */
.mp-browser {
  justify-self: end;
  width: min(540px, 100%);
  background: #ebe7df;
  border: 1px solid var(--line, #e6e1d8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(20,20,20,.14),
    0 0 0 1px rgba(20,20,20,.04);
}
.mp-browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f3f0ea;
  border-bottom: 1px solid var(--line, #e6e1d8);
}
.mp-browser-dots {
  display: flex;
  gap: 6px;
  flex: none;
}
.mp-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4cec4;
}
.mp-browser-dots span:nth-child(1) { background: #ff5f57; }
.mp-browser-dots span:nth-child(2) { background: #febc2e; }
.mp-browser-dots span:nth-child(3) { background: #28c840; }
.mp-browser-url {
  flex: 1;
  min-width: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line, #e6e1d8);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted, #5e5a54);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-browser-screen {
  background: #fff;
}
.mp-app-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line, #e6e1d8);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted, #5e5a54);
}
.mp-app-nav .logo {
  font-size: 14px;
  gap: 5px;
  margin-right: 4px;
}
.mp-app-nav .logo-mark {
  width: 14px;
  height: 14px;
}
.mp-app-nav a {
  text-decoration: none;
  color: inherit;
}
.mp-app-nav a[aria-current="page"] {
  color: var(--ink, #141414);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow, #f5c400);
}
.mp-profile-cover {
  height: 196px;
  position: relative;
  overflow: hidden;
}
.mp-profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.mp-profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), transparent 45%);
}
.mp-profile-body {
  padding: 0 22px 22px;
  margin-top: -50px;
  position: relative;
  z-index: 1;
}
.mp-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(20,20,20,.16);
  background: #ddd;
}
.mp-profile-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mp-crossed {
  margin: 0 0 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--paper, #f6f3ec);
  border: 1px solid var(--line, #e6e1d8);
  font-size: 11px;
  font-weight: 750;
  color: var(--ink, #141414);
  white-space: nowrap;
}
.mp-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.mp-profile-body h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}
.mp-profile-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted, #5e5a54);
  text-align: left;
}
.mp-profile-bio {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink, #141414);
  text-align: left;
}
.mp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}
.mp-tags li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line, #e6e1d8);
  background: var(--paper, #f6f3ec);
  font-size: 12px;
  font-weight: 650;
}
.mp-profile-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  align-items: center;
}
.mp-browser .btn {
  margin: 0;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  width: 100%;
  padding: 12px 16px;
}
.mp-browser .mp-connect-btn {
  min-height: 50px;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(245, 196, 0, 0.35);
}
.mp-browser .btn-outline {
  background: #fff;
  border: 1.5px solid var(--line, #e6e1d8);
  color: var(--ink, #141414);
}
.mp-profile-helper {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted, #5e5a54);
  text-align: left;
}

.mp-pricing-note {
  margin: 0;
  padding: 18px max(24px, calc((100% - var(--max, 1320px)) / 2)) 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #5e5a54);
  background: #fff;
  border-top: 1px solid var(--line, #e6e1d8);
}
.mp-pricing-note a {
  color: var(--ink, #141414);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-pricing-note a:hover {
  color: var(--ink, #141414);
}

/* —— Founding offer variant (?offer=founding) —— */
/* Markup ships founding blocks with [hidden]; JS removes it when offer=founding. */
.mp-founding-only[hidden],
.mp-default-only[hidden] {
  display: none !important;
}

body.mp-offer-founding .mp-default-only {
  display: none !important;
}

body.mp-offer-founding .mp-founding-benefits {
  display: flex;
}

body.mp-offer-founding .mp-hero-actions.mp-founding-only {
  display: flex;
}

body.mp-offer-founding .mp-hero {
  min-height: min(88vh, 720px);
}

body.mp-offer-founding .mp-hero-copy {
  width: min(720px, calc(100% - 48px));
  padding: 110px 0 64px;
}

.mp-founding-kicker {
  margin: 0 0 12px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.22);
  border: 1px solid rgba(245, 196, 0, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow, #f5c400);
}

.mp-founding-spots {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.mp-founding-spots.is-full {
  color: #ffb4a8;
}

.mp-founding-spots--dark {
  margin: 16px auto 0;
  color: var(--muted, #5e5a54);
  text-align: center;
}

.mp-founding-spots--dark.is-full {
  color: #b42318;
}

body.mp-offer-founding .mp-claim-cta {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.01em;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(245, 196, 0, 0.38);
}

.mp-founding-benefits {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mp-founding-benefits li {
  flex: 1 1 140px;
  min-width: 132px;
  max-width: 180px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.mp-founding-benefits strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.mp-founding-benefits span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.mp-claim-steps {
  background: var(--paper, #f6f3ec);
  border-top: 1px solid var(--line, #e6e1d8);
}

.mp-claim-steps-inner {
  max-width: 960px;
}

.mp-claim-steps-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

@media (min-width: 800px) {
  .mp-claim-steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.mp-claim-steps-list h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  font-weight: 750;
}

.mp-claim-steps-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted, #5e5a54);
}

.mp-step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8a8274;
}

.mp-close {
  padding: 88px max(24px, calc((100% - var(--max, 1320px)) / 2)) 100px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(245, 196, 0, 0.22), transparent 60%),
    #fff;
  border-top: 1px solid var(--line, #e6e1d8);
}

.mp-close .mp-title {
  max-width: 14em;
  margin-left: auto;
  margin-right: auto;
}

.mp-close .mp-lede {
  margin: 14px auto 0;
  max-width: 34em;
}

.mp-close .mp-claim-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.mp-close-login {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.mp-close-login a {
  color: var(--ink, #141414);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.mp-offer-founding .mp-social .mp-claim-cta {
  display: inline-flex;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .mp-after-grid,
  .mp-social,
  .mp-feature-grid {
    grid-template-columns: 1fr;
  }
  .mp-after-copy { padding: 36px 24px; }
  .mp-after-photo {
    position: relative;
    min-height: 260px;
    height: 260px;
  }
  .mp-browser { justify-self: center; }
  .mp-app-nav { flex-wrap: wrap; gap: 10px; }
  .meet-people-page .site-nav { background: rgba(20,20,20,.92); }
}
