/*
 * Participate — desktop measured from phoenixgoldnetwork.org/participate at
 * 1440. Framer's tablet/phone versions of this page were broken (text off the
 * right edge; template "PandaSea" copy), so below 1200px this is a clean
 * stacked layout using Framer's phone sizes where they were sensible.
 */

/* ================================================================ hero */
.p-hero {
  max-width: 1081px;
  margin: 68px auto 0;
  padding: 0 20px;
  text-align: center;
}
.p-hero h1 {
  font-size: 75px;
  line-height: 90px;
  font-weight: 700;
  color: var(--gold);
}
.p-hero p {
  margin-top: 22px;
  font-size: 22px;
  line-height: 37.4px;
  font-weight: 300;
}
.p-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
}
.p-socials a {
  width: 60px;
  height: 60px;
}
.p-socials img {
  width: 50px;
  height: auto;
}

/* ============================================================= sections */
.p-row {
  display: grid;
  grid-template-columns: 616px 1fr;
  column-gap: 88px;
  align-items: center;
  max-width: 1440px;
  margin: 115px auto 0;
  padding: 0 0 0 60px; /* Framer anchors these rows 60px from the left */
}
.p-row.flip {
  grid-template-columns: 828px 1fr;
  column-gap: 76px;
  margin-top: 160px;
}
/* Framer's gaps between these sections are uneven; measured per row. */
@media (min-width: 1200px) {
  .p-hero + .p-row {
    margin-top: 70px;
  }
  .p-row:nth-of-type(3) {
    margin-top: 183px;
  }
  .p-row:nth-of-type(4) {
    margin-top: 211px;
  }
  .p-row:nth-of-type(5) {
    margin-top: 188px;
  }
  .p-pgc {
    margin-top: 137px !important;
    padding-bottom: 192px !important;
  }
}
.p-copy .chip-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 27.2px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}
.p-copy h2 {
  margin-top: 20px;
  max-width: 772px;
  font-size: 57px;
  line-height: 68.4px;
  font-weight: 300;
  letter-spacing: -3.42px;
  color: var(--gold);
}
.p-copy h2.big {
  max-width: 647px;
  font-size: 67px;
  line-height: 80.4px;
  letter-spacing: 0;
}
.p-copy h2 .tight {
  letter-spacing: -3.42px;
}
.p-copy p {
  margin-top: 24px;
  max-width: 828px;
  font-size: 22px;
  line-height: 37.4px;
}
.p-row:not(.flip) .p-copy p {
  max-width: 616px;
  font-size: 20px;
  line-height: 34px;
}
.p-copy > div:last-child {
  margin-top: 24px;
}
/* Gold pill with Framer's sliding arrow; hover goes light grey. */
.btn-gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 47px;
  padding: 0 22px;
  border-radius: 58px;
  background: rgba(242, 153, 0, 0.95);
  color: #000;
  font-size: 16px;
  line-height: 27.2px;
  font-weight: 600;
  transition:
    background 0.25s,
    color 0.25s;
}
a.btn-gold-pill:hover {
  background: #f0f0f0;
  color: rgba(0, 0, 0, 0.85);
}
.btn-gold-pill.is-soon {
  cursor: default;
}
.p-img {
  width: 403px;
  height: 387px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(255, 145, 0, 0.25);
}
.p-img.wallet {
  width: 401px;
  height: 437px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* Three rows of keywords drifting sideways (site.js animates [data-ticker]). */
.p-row > * {
  min-width: 0; /* otherwise the max-content ticker rows widen the grid track */
}
.ticker {
  display: grid;
  gap: 40px;
  width: 616px;
  max-width: 100%;
  overflow: hidden;
}
.ticker ul {
  display: flex;
  width: max-content;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 36px;
  line-height: 50.4px;
  letter-spacing: -1px;
  color: rgba(240, 240, 240, 0.3);
  white-space: nowrap;
}
.ticker li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 30px;
  background: rgba(240, 240, 240, 0.3);
}

.p-pgc {
  margin-top: 150px;
  padding-bottom: 180px;
}

/* =========================================================== tablet/phone */
@media (max-width: 1199px) {
  .p-hero h1 {
    font-size: 42px;
    line-height: 50.4px;
  }
  .p-row,
  .p-row.flip {
    grid-template-columns: 1fr;
    row-gap: 40px;
    max-width: 700px;
    margin-top: 90px;
    padding: 0 30px;
  }
  .p-row .p-media {
    order: 2;
  }
  .ticker {
    width: 100%;
  }
  .p-copy h2,
  .p-copy h2.big {
    font-size: 52px;
    line-height: 62.4px;
    letter-spacing: -2px;
  }
  .p-img,
  .p-img.wallet {
    width: 100%;
    max-width: 403px;
    height: auto;
  }
  .p-pgc {
    margin-top: 100px;
    padding-bottom: 120px;
  }
}
@media (max-width: 809px) {
  .p-hero {
    margin-top: 26px;
  }
  .p-hero p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 23.8px;
  }
  .p-row,
  .p-row.flip {
    margin-top: 60px;
    padding: 0 20px;
  }
  .p-copy h2,
  .p-copy h2.big {
    font-size: 35px;
    line-height: 42px;
    font-weight: 600;
    letter-spacing: -1px;
  }
  .p-copy p,
  .p-row:not(.flip) .p-copy p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 23.8px;
  }
  .p-copy .chip-label {
    font-size: 13px;
    line-height: 22px;
  }
  /* Framer drops the tickers on phones */
  .p-row .p-media {
    display: none;
  }
  .p-pgc {
    margin-top: 60px;
    padding-bottom: 80px;
  }
}
