/* /platform: the product told as one story. Light product screens on a warm light page, moved in 2.5D by scroll.
   Everything is scoped to .pf so shared site styles stay untouched. */
.pf {
  --ground: #ECEAE4;
  --paper: #F6F5F1;
  --ink: #141218;
  --soft: #55525C;
  --line: #D9D6CE;
  --yellow: #FFD60A;
  --night: #030205;
  --gutter: max(16px, calc((100vw - 1240px) / 2));
  background: var(--ground);
  color: var(--ink);
}
.pf #siteNav .nav { background: rgba(3, 2, 5, .92); border-bottom-color: rgba(255, 255, 255, .06); }
.pf #siteFooter { position: relative; background: var(--night); }
.pf-main { font: 400 18px/1.55 'Manrope', 'Segoe UI', sans-serif; color: var(--ink); overflow-x: clip; }
.pf-main h1, .pf-main h2, .pf-main h3 { color: var(--ink); font-family: 'Manrope', 'Segoe UI', sans-serif; font-weight: 800; letter-spacing: -.04em; }
.pf-main h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .96; }
.pf-main h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
/* Two lines, never three: each line stays whole and the size follows the copy column. */
.pf-main #pf-title { font-size: clamp(40px, 5vw, 84px); line-height: 1.04; }
#pf-title span { display: block; white-space: nowrap; }
@media (min-width: 861px) { .pf-scene[data-scene="hero"] .pf-pin { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.pf-main .btn { font-family: 'Manrope', 'Segoe UI', sans-serif; font-weight: 700; }
.pf-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pf-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pf-main a:focus-visible, .pf-main button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* A scene is tall; its stage sticks while the scroll drives it. */
.pf-scene { position: relative; height: 260vh; }
.pf-scene.short { height: 200vh; }
.pf-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding: 96px var(--gutter) 40px; overflow: hidden; }
.pf-scene.flip .pf-pin { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pf-scene.flip .pf-copy { order: 2; }
.pf-copy { position: relative; z-index: 2; }
.pf-kicker { font-size: 15px; font-weight: 700; color: var(--soft); margin-bottom: 14px; }
.pf-kicker i { font-style: normal; display: inline-block; min-width: 26px; height: 26px; line-height: 26px; text-align: center; margin-right: 10px; border-radius: 50%; background: var(--yellow); color: var(--night); font-size: 13px; }
.pf-lead { margin: 22px 0 26px; font-size: clamp(18px, 1.5vw, 21px); max-width: 30em; color: var(--ink); }
.pf-facts { list-style: none; display: grid; gap: 10px; padding: 0; }
.pf-facts li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; font-weight: 600; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.pf-facts li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); transform: translateY(-2px); }
.pf-facts li.on { opacity: 1; transform: none; }

/* The 2.5D stage: a screen plane and pieces of the same screen that lift off it. */
.pf-stage { position: relative; width: 132%; aspect-ratio: 16 / 10; perspective: 1600px; perspective-origin: 50% 40%; }
.pf-scene.flip .pf-stage { margin-left: -40%; }
.pf-plane { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.pf-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: var(--paper) center / 100% 100% no-repeat; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -20px rgba(30, 24, 10, .28), 0 0 0 1px rgba(0,0,0,.06); }
.pf-screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.pf-screen video, .pf-frag video { position: absolute; display: block; pointer-events: none; }
.pf-screen video { inset: 0; width: 100%; height: 100%; object-fit: fill; }
.pf-frag { position: absolute; overflow: hidden; border-radius: 10px; background-repeat: no-repeat; will-change: transform; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 var(--sh, 6px) calc(var(--sh, 6px) * 2.4) calc(var(--sh, 6px) * -.6) rgba(30, 24, 10, .30); }
.pf-frag.ring { outline: 3px solid var(--yellow); outline-offset: 3px; overflow: visible; }
.pf-frag.ring > .pf-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.pf-tag { position: absolute; z-index: 3; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .4s; pointer-events: none; }
.pf-tag.on { opacity: 1; }

/* Team work: plain phones float in front of the Kapow screen; their messages arrive with the scroll. */
.pf-phone { position: absolute; width: 25%; aspect-ratio: 9 / 17; padding: 14px 10px; border: 7px solid #1B1A20; border-radius: 30px; background: #F3F1EC; box-shadow: 0 40px 60px -24px rgba(20, 16, 6, .45); display: flex; flex-direction: column; gap: 8px; overflow: hidden; will-change: transform; font-family: 'Manrope', 'Segoe UI', sans-serif; }
.pf-phone-head { display: flex; flex-direction: column; align-items: center; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.pf-phone-head b { font-size: 14px; color: var(--ink); }
.pf-phone-head small { font-size: 11px; color: var(--soft); }
.pf-bubble { max-width: 86%; margin: 0; padding: 8px 10px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ink); font-size: 12px; line-height: 1.35; box-shadow: 0 1px 2px rgba(0,0,0,.08); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s, transform .35s; }
.pf-bubble.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--yellow); }
.pf-bubble.on { opacity: 1; transform: none; }

/* Views: real buttons move the recording to that view. */
.pf-views { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.pf-views button { border: 0; padding: 10px 16px; border-radius: 9px; background: none; font: 700 15px 'Manrope', sans-serif; color: var(--soft); cursor: pointer; }
.pf-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Trust band: three tiles, each a small tilted screen piece that follows the pointer. */
.pf-trust { padding: 140px var(--gutter); }
.pf-trust h2 { max-width: 14em; margin-bottom: 56px; }
.pf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pf-tile { padding: 28px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); perspective: 900px; }
.pf-tile h3 { font-size: 26px; letter-spacing: -.025em; margin: 22px 0 8px; }
.pf-tile p { font-size: 16px; color: var(--ink); }
.pf-chip { aspect-ratio: 4 / 3; border-radius: 12px; background-repeat: no-repeat; transform: rotateX(10deg) rotateY(-12deg); box-shadow: 0 24px 40px -18px rgba(30, 24, 10, .35), 0 0 0 1px rgba(0,0,0,.06); }

.pf-close { background: var(--night); color: #fff; padding: 160px var(--gutter); }
.pf-close h2 { color: #fff; font-size: clamp(44px, 6vw, 96px); }
.pf-close p { color: #D8D3E0; margin: 22px 0 30px; max-width: 30em; }
.pf-close .pf-link { color: #fff; }

@media (max-width: 860px) {
  .pf-scene, .pf-scene.short { height: auto; }
  .pf-pin, .pf-scene.flip .pf-pin { position: relative; height: auto; grid-template-columns: 1fr; padding: 96px 16px 48px; }
  .pf-scene.flip .pf-copy { order: 0; }
  .pf-stage, .pf-scene.flip .pf-stage { width: 100%; margin-left: 0; }
  .pf-facts li { opacity: 1; transform: none; }
  .pf-tag { display: none; }
  .pf-phone { width: 38%; border-width: 5px; border-radius: 22px; padding: 10px 7px; }
  .pf-screen + .pf-phone { left: 6% !important; top: -2% !important; }
  .pf-phone + .pf-phone { left: 56% !important; top: 6% !important; }
  .pf-bubble { font-size: 10px; padding: 6px 8px; }
  .pf-tiles { grid-template-columns: 1fr; }
  .pf-trust, .pf-close { padding: 96px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-facts li, .pf-bubble { opacity: 1; transform: none; transition: none; }
}
