.section--plyolens {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(246, 201, 69, .14), transparent 34rem),
    linear-gradient(145deg, #080909 0%, #111312 58%, #080909 100%);
  color: #f7f8f5;
}

/* The shared reveal observer can miss sections taller than the viewport. */
.section--plyolens.reveal {
  opacity: 1;
  transform: none;
}

.section--plyolens::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.plyo-promo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border: 1px solid rgba(246, 201, 69, .22);
  border-radius: 30px;
  background: rgba(8, 9, 9, .78);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.plyo-promo__visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
}

.plyo-promo__glow {
  position: absolute;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6c945;
  opacity: .14;
  filter: blur(44px);
}

.plyo-promo__phone {
  position: relative;
  width: min(220px, 72vw);
  padding: 9px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 38px;
  background: #050606;
  box-shadow: 0 26px 60px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.05);
  transform: rotate(-4deg);
}

.plyo-promo__phone-top {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 76px;
  height: 20px;
  border-radius: 999px;
  background: #050606;
  transform: translateX(-50%);
}

.plyo-promo__phone-top span {
  position: absolute;
  top: 7px;
  right: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #182522;
}

.plyo-promo__screen {
  min-height: 390px;
  padding: 38px 17px 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, #191b19, #0c0d0c);
}

.plyo-promo__brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 16px;
  color: #111;
  background: #f6c945;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.06em;
}

.plyo-promo__screen > p {
  margin: 0 0 28px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

.plyo-promo__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  border: 1px solid rgba(246,201,69,.34);
  border-radius: 16px;
  background: rgba(246,201,69,.08);
}

.plyo-promo__metric span { color: #f6c945; font-weight: 800; letter-spacing: .08em; }
.plyo-promo__metric strong { color: #f6c945; font-size: 1.4rem; }

.plyo-promo__trace {
  display: flex;
  height: 88px;
  margin: 20px 0 14px;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.plyo-promo__trace i {
  width: 20px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(#f6c945, #8a722a);
}
.plyo-promo__trace i:nth-child(1) { height: 22%; }
.plyo-promo__trace i:nth-child(2) { height: 48%; }
.plyo-promo__trace i:nth-child(3) { height: 86%; }
.plyo-promo__trace i:nth-child(4) { height: 52%; }
.plyo-promo__trace i:nth-child(5) { height: 28%; }

.plyo-promo__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.plyo-promo__stats span {
  padding: 10px 7px;
  border-radius: 10px;
  color: #c7cbc4;
  background: rgba(255,255,255,.05);
  font-size: .68rem;
  line-height: 1.25;
  text-align: center;
}

.plyo-promo__heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .7rem;
}

.section--plyolens .section__kicker { margin: 0; color: #f6c945; }
.section--plyolens .section__title { max-width: 15ch; margin-bottom: 1rem; color: #fff; }

.plyo-promo__badge {
  flex: none;
  padding: .45rem .75rem;
  border: 1px solid rgba(246,201,69,.36);
  border-radius: 999px;
  color: #f6c945;
  background: rgba(246,201,69,.08);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .04em;
}

.plyo-promo__lead { max-width: 66ch; margin-bottom: 1.6rem; color: #d8dbd5; font-size: 1.05rem; }

.plyo-promo__features {
  display: grid;
  gap: .85rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.plyo-promo__features li {
  display: grid;
  grid-template-columns: minmax(145px, .55fr) minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.plyo-promo__features strong { color: #fff; }
.plyo-promo__features span { color: #b9beb5; line-height: 1.55; }

.plyo-promo__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.plyo-promo__button {
  display: inline-flex;
  min-height: 48px;
  padding: .8rem 1.1rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.plyo-promo__button:hover { transform: translateY(-2px); }
.plyo-promo__button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.plyo-promo__button--primary { color: #111; background: #f6c945; }
.plyo-promo__button--primary:hover { background: #ffdb65; }
.plyo-promo__button--secondary { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.plyo-promo__button--secondary:hover { border-color: #f6c945; background: rgba(246,201,69,.08); }

.plyo-promo__limits { margin: 1.2rem 0 0; color: #8f968d; font-size: .78rem; line-height: 1.55; }

/* The collaborations tab makes the homepage navigation wider than the
   shared header at tablet widths, so switch that page to its mobile menu. */
@media (min-width: 861px) and (max-width: 1120px) {
  .nav__brand-name { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav__menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__menu a:last-of-type { border-bottom: 0; }
  .nav__menu a.nav__cta { margin-top: 12px; text-align: center; }
  .lang-switch { margin: 14px 0 0; align-self: flex-start; }
}

@media (max-width: 860px) {
  .plyo-promo { grid-template-columns: 1fr; }
  .plyo-promo__visual { min-height: 360px; }
  .plyo-promo__phone { width: 190px; }
  .plyo-promo__screen { min-height: 330px; }
}

@media (max-width: 560px) {
  .plyo-promo { padding: 1rem; border-radius: 22px; }
  .plyo-promo__visual { min-height: 330px; }
  .plyo-promo__heading { align-items: flex-start; }
  .plyo-promo__features li { grid-template-columns: 1fr; gap: .35rem; }
  .plyo-promo__actions { display: grid; }
  .plyo-promo__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .plyo-promo__button { transition: none; }
  .plyo-promo__button:hover { transform: none; }
}
