/* Scannable capability presentation plus a peppier 2026 surface.
   Presentation only: every claim stays in Series-08 HTML. */

:root {
  --pep-amber: #f2c77d;
  --pep-amber-hot: #e8a23a;
  --pep-selra: #7ed08a;
  --pep-luce: #f0c36a;
  --pep-incisa: #d4a0dc;
  --pep-glass: rgba(22, 20, 16, .62);
  --pep-ease: cubic-bezier(.2, .75, .3, 1);
}

/* Home hero: copy + floating app stack */
.hero.hero-pep {
  display: grid;
  grid-template-columns: minmax(18rem, .92fr) minmax(20rem, 1.1fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  min-height: 100svh;
  padding: 7.5rem clamp(1.25rem, 4vw, 4.25rem) 4.5rem;
}

.hero.hero-pep .hero-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  text-align: left;
  justify-self: start;
}

.hero.hero-pep .hero-content h1,
.hero-content h1 {
  max-width: 13ch;
  margin: 0;
}

.hero.hero-pep .hero-copy {
  margin-left: 0;
  margin-right: 0;
}

.hero.hero-pep .hero-actions {
  justify-content: flex-start;
}

.hero.hero-pep .stage-light {
  left: 58%;
  width: 14rem;
  background: linear-gradient(
    180deg,
    transparent 8%,
    rgba(232, 162, 58, .12) 28%,
    rgba(242, 199, 125, .55) 50%,
    rgba(232, 162, 58, .14) 72%,
    transparent 92%
  );
  filter: blur(8px);
  animation: pep-shaft 9s var(--pep-ease) infinite alternate;
}

.hero.hero-pep .hero-actions .button-text:first-child {
  min-height: 2.85rem;
  padding: .7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d59a, var(--pep-amber-hot));
  color: #1a1206;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 220, 150, .35), 0 .8rem 1.8rem rgba(232, 162, 58, .28);
}

.hero.hero-pep .hero-actions .button-text:first-child:hover {
  border-bottom-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 220, 150, .5), 0 1rem 2.2rem rgba(232, 162, 58, .4);
}

.hero.hero-pep .hero-actions .button-text:last-child {
  min-height: 2.85rem;
  padding: .7rem 1.1rem;
  border: 1px solid rgba(242, 199, 125, .45);
  border-radius: 999px;
  background: rgba(13, 14, 13, .35);
  backdrop-filter: blur(14px);
}

.hero.hero-pep .hero-actions .button-text:last-child:hover {
  border-color: var(--pep-amber);
  background: rgba(242, 199, 125, .1);
}

.hero-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 38rem);
  height: clamp(18rem, 42vw, 28rem);
  justify-self: end;
  pointer-events: none;
}

.hero-stack__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 237, 230, .22);
  border-radius: 1rem;
  background: #11110e;
  box-shadow:
    0 1.6rem 3.4rem rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.hero-stack__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stack__shot--selra {
  top: 12%;
  left: 0;
  width: 68%;
  aspect-ratio: 16 / 10;
  transform: rotate(-9deg) translate3d(0, 0, 0);
  animation: pep-float-a 7.5s var(--pep-ease) infinite alternate;
}

.hero-stack__shot--luce {
  top: 0;
  right: 0;
  width: 64%;
  aspect-ratio: 16 / 10;
  transform: rotate(7deg);
  animation: pep-float-b 8.4s var(--pep-ease) infinite alternate;
}

.hero-stack__shot--incisa {
  right: 10%;
  bottom: 0;
  width: 72%;
  aspect-ratio: 16 / 9;
  transform: rotate(2deg);
  box-shadow:
    0 2rem 3.8rem rgba(0, 0, 0, .55),
    0 0 0 1px rgba(195, 154, 202, .22);
  animation: pep-float-c 6.8s var(--pep-ease) infinite alternate;
}

.hero-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  width: min(100%, 42rem);
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-roles a {
  display: grid;
  gap: .28rem;
  min-height: 4.4rem;
  padding: .85rem .9rem;
  border: 1px solid rgba(240, 237, 230, .16);
  border-radius: 1rem;
  background: var(--pep-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(140%);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--pep-ease);
}

.hero-roles a:hover,
.hero-roles a:focus-visible {
  transform: translateY(-3px);
}

.hero-roles li:nth-child(1) a:hover { border-color: rgba(126, 208, 138, .7); }
.hero-roles li:nth-child(2) a:hover { border-color: rgba(240, 195, 106, .7); }
.hero-roles li:nth-child(3) a:hover { border-color: rgba(212, 160, 220, .7); }

.hero-roles strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -.04em;
}

.hero-roles span {
  color: #bbb5aa;
  font-size: .68rem;
  line-height: 1.35;
}

.hero-roles li:nth-child(1) strong { color: var(--pep-selra); }
.hero-roles li:nth-child(2) strong { color: var(--pep-luce); }
.hero-roles li:nth-child(3) strong { color: var(--pep-incisa); }

/* Comparison cards */
.app-feature-card {
  border-radius: 1.35rem !important;
  transition: transform .28s var(--pep-ease), box-shadow .28s ease;
}

.app-feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 1.6rem 2.8rem rgba(0, 0, 0, .28);
}

.app-feature-card > a {
  border-radius: .7rem;
  transition: background .2s ease, color .2s ease;
}

.app-feature-card > a:hover {
  background: rgba(242, 199, 125, .12);
}

/* Can-do grids */
.can-do-section {
  width: min(100% - 2.5rem, 75rem);
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}

.can-do-header {
  max-width: 38rem;
  margin: 0 0 clamp(1.6rem, 4vw, 2.6rem);
}

.can-do-header h2 {
  max-width: 14ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .94;
}

.can-do-header p {
  max-width: 34rem;
  margin: .9rem 0 0;
  color: #bbb5aa;
  font-size: .82rem;
  line-height: 1.55;
}

.can-do-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  border: 0;
  background: transparent;
}

.can-do-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .55rem;
  min-height: 8.8rem;
  padding: 1.2rem 1.15rem 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(240, 237, 230, .12);
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 38%),
    var(--pep-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
  transition: transform .22s var(--pep-ease), border-color .22s ease, box-shadow .22s ease;
}

.can-do-card::before {
  position: absolute;
  top: .85rem;
  right: .95rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--pep-amber);
  box-shadow: 0 0 .7rem rgba(232, 162, 58, .7);
  content: "";
}

.can-do-card:hover {
  border-color: rgba(242, 199, 125, .38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 1.1rem 2rem rgba(0, 0, 0, .22);
  transform: translateY(-3px);
}

.can-do-card h3 {
  margin: 0;
  color: #f0ede6;
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.can-do-card p {
  margin: 0;
  color: #bbb5aa;
  font-size: .74rem;
  line-height: 1.5;
}

/* Product screenshots: glass window + glow */
.product-hero .hero-visual,
.product-screen {
  overflow: hidden;
  border: 1px solid rgba(240, 237, 230, .18) !important;
  border-radius: 1.15rem;
  box-shadow:
    0 1.8rem 3.6rem rgba(0, 0, 0, .42),
    0 0 0 1px rgba(242, 199, 125, .08);
}

.product-hero .hero-visual img,
.product-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.button-primary {
  border-radius: 999px;
  box-shadow: 0 .6rem 1.4rem color-mix(in srgb, var(--accent) 34%, transparent);
}

.capability-chip {
  border-radius: .75rem;
  transition: transform .18s ease, border-color .18s ease;
}

.capability-chip:hover {
  transform: translateY(-2px);
}

.screenshot-refresh,
.social-proof {
  margin-top: clamp(2.4rem, 5vw, 3.8rem);
}

.screenshot-refresh__header h2,
.social-proof__header h2 {
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.screenshot-refresh__header > p:last-child,
.social-proof__header > p:last-child {
  font-size: .72rem;
}

.screenshot-slot-grid,
.evidence-slot-grid {
  opacity: .72;
}

@keyframes pep-shaft {
  from { opacity: .7; transform: rotate(38deg) translate3d(0, 0, 0); }
  to { opacity: 1; transform: rotate(34deg) translate3d(-1.2rem, .6rem, 0); }
}

@keyframes pep-float-a {
  from { transform: rotate(-9deg) translate3d(0, 0, 0); }
  to { transform: rotate(-7deg) translate3d(.35rem, -.45rem, 0); }
}

@keyframes pep-float-b {
  from { transform: rotate(7deg) translate3d(0, 0, 0); }
  to { transform: rotate(5deg) translate3d(-.3rem, .4rem, 0); }
}

@keyframes pep-float-c {
  from { transform: rotate(2deg) translate3d(0, 0, 0); }
  to { transform: rotate(3.2deg) translate3d(.2rem, -.35rem, 0); }
}

@media (max-width: 960px) {
  .hero.hero-pep {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 3rem;
  }

  .hero.hero-pep .hero-content {
    text-align: center;
    justify-self: center;
  }

  .hero.hero-pep .hero-content h1,
  .hero.hero-pep .hero-copy,
  .hero.hero-pep .hero-actions,
  .hero-roles {
    margin-left: auto;
    margin-right: auto;
  }

  .hero.hero-pep .hero-actions {
    justify-content: center;
  }

  .hero-stack {
    width: min(100%, 28rem);
    height: 16rem;
    justify-self: center;
  }

  .can-do-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-roles {
    grid-template-columns: 1fr;
    width: min(100%, 24rem);
  }

  .can-do-section {
    width: min(100% - 2rem, 75rem);
  }

  .can-do-grid {
    grid-template-columns: 1fr;
  }

  .can-do-card {
    min-height: 0;
  }

  .hero-stack {
    height: 13.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-pep .stage-light,
  .hero-stack__shot {
    animation: none;
  }

  .hero-stack__shot--selra { transform: rotate(-9deg); }
  .hero-stack__shot--luce { transform: rotate(7deg); }
  .hero-stack__shot--incisa { transform: rotate(2deg); }
}
