/* Playbook cover artwork: the book cover plus a floating glimpse of what's inside.
   Used on the homepage, the /get/ campaign pages and the /playbooks/ overview. */
.product__halo { position: absolute; border-radius: 50%; filter: blur(30px); background: radial-gradient(circle, rgba(225, 195, 65, .26) 0%, rgba(225, 195, 65, 0) 68%); pointer-events: none; }
.cover {
  position: relative; width: min(300px, 74vw); aspect-ratio: 3 / 4; border-radius: 6px 18px 18px 6px;
  padding: 28px 24px 24px 34px; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 70% at 80% 0%, rgba(36, 80, 111, .55) 0%, rgba(36, 80, 111, 0) 60%),
    linear-gradient(160deg, #0f2238 0%, #0a1421 55%, #05090f 100%);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 40px 90px -30px rgba(225, 195, 65, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateY(-14deg) rotateX(5deg); transform-style: preserve-3d;
  animation: lp-float 7s var(--ease-cine) infinite alternate;
}
.cover::before { /* gold spine */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; border-radius: 6px 0 0 6px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600) 45%, var(--gold-700));
  box-shadow: 2px 0 8px rgba(0, 0, 0, .5);
}
.cover::after { /* sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 38%);
}
.cover__brand { font-family: var(--font-mono); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); }
.cover__logo { width: 34px; height: 34px; margin-top: 16px; opacity: .9; }
.cover__title { margin-top: auto; font-family: var(--font-display); font-weight: var(--fw-black); font-size: 30px; line-height: .98; letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.cover__meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-hairline); display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-secondary); }
.cover__meta b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; color: var(--gold-400); text-transform: none; }

/* A glimpse of what's inside, floating in front of the cover */
.peek {
  position: absolute; padding: 14px;
  border-radius: 14px; background: rgba(10, 20, 33, .86); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-lg); transform: translateZ(40px); animation: lp-float 7s var(--ease-cine) -3.5s infinite alternate;
}
.peek__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.peek__line { height: 6px; border-radius: 3px; margin-top: 8px; background: rgba(168, 178, 193, .22); }
.peek__line--gold { background: linear-gradient(90deg, rgba(225, 195, 65, .75), rgba(225, 195, 65, .2)); }
.peek__copy { display: inline-block; margin-top: 12px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 10px; font-weight: 700; color: var(--text-on-gold); background: var(--grad-gold); }
.peek__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 10px; }
.peek__days i { aspect-ratio: 1; border-radius: 4px; border: 1px solid var(--border-hairline); background: rgba(255, 255, 255, .03); }
.peek__days i.on { border-color: transparent; background: var(--grad-gold); box-shadow: 0 0 10px rgba(225, 195, 65, .35); }
.peek__days i.today { border-color: var(--teal-400); box-shadow: var(--glow-teal); }

@keyframes lp-float { from { translate: 0 -6px; } to { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .cover, .peek { animation: none; } }

/* A fixed-height stage that shows the cover inside a product card, so every product has the same footprint */
.cover-stage {
  position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; perspective: 1400px;
  background: radial-gradient(70% 70% at 50% 45%, rgba(23, 58, 92, .55) 0%, rgba(11, 25, 41, .35) 55%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid var(--border-hairline);
}
.cover-stage .product__halo { width: 300px; height: 300px; }
.cover-stage .cover { width: 168px; padding: 16px 14px 14px 22px; border-radius: 4px 12px 12px 4px; }
.cover-stage .cover::before { width: 8px; }
.cover-stage .cover__brand { font-size: 6.5px; letter-spacing: .24em; }
.cover-stage .cover__logo { width: 22px; height: 22px; margin-top: 10px; }
.cover-stage .cover__title { font-size: 19px; }
.cover-stage .cover__meta { margin-top: 10px; padding-top: 8px; font-size: 6px; letter-spacing: .14em; }
.cover-stage .cover__meta b { font-size: 13px; }
.cover-stage .peek { display: none; }
@media (min-width: 900px) {
  .cover-stage { height: 460px; }
  .cover-stage .product__halo { width: 420px; height: 420px; }
  .cover-stage .cover { width: 250px; padding: 28px 22px 22px 32px; border-radius: 6px 16px 16px 6px; }
  .cover-stage .cover::before { width: 11px; }
  .cover-stage .cover__brand { font-size: 8px; letter-spacing: .28em; }
  .cover-stage .cover__logo { width: 30px; height: 30px; margin-top: 14px; }
  .cover-stage .cover__title { font-size: 27px; }
  .cover-stage .cover__meta { margin-top: 14px; padding-top: 12px; font-size: 8px; letter-spacing: .18em; }
  .cover-stage .cover__meta b { font-size: 18px; }
  .cover-stage .peek { display: block; width: 180px; right: calc(50% - 235px); top: 13%; }
}
