/* =====================================================================
   Platform + category landing pages (/platform/, /footwear/, /apparel/ ...).
   Builds on landing.css (.lp*). Everything new is scoped under .pf.
   ===================================================================== */
.pf * { box-sizing: border-box; }
/* dev.css zooms <body> to 90%, which leaves full-width bands short of the window's right edge.
   Undo it on the body and zoom the page wrapper instead: same 90% look, full width. */
body.pfBody { zoom: 1; margin: 0; background: #f7f7f8; }
.pf { zoom: .9; }
.pfFootTop p { font-size: 13px; }

/* Header: sticky, Products menu */
.pf .lpHeader { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 #eef1f5; }
.pfLinks { align-items: center; }
.pfLinks > a, .pfMenuBtn { padding: 8px 0; }
.pfMenu { position: relative; }
.pfMenuBtn { border: 0; background: none; font: 500 15px 'poppins', sans-serif; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pfMenuBtn:hover, .pfMenuBtn.on, .pfMenu.open .pfMenuBtn { color: var(--indigo); }
.pfMenu.open .pfMenuBtn svg { transform: rotate(180deg); }
.pfDrop { display: none; position: absolute; left: -20px; top: calc(100% + 14px); width: 560px; background: #fff; border-radius: 20px; padding: 12px;
          box-shadow: 0 24px 50px rgba(54,57,164,.16); grid-template-columns: 1fr 1fr; gap: 4px; }
.pfMenu.open .pfDrop { display: grid; }
.pfDrop a, .pfMobile a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); font-weight: 600; font-size: 14px; }
.pfDrop a:hover, .pfDrop a.on { background: #eef6fe; }
.pfDrop svg, .pfMobile svg { flex: 0 0 36px; width: 36px; height: 36px; background: #eef6fe; border-radius: 10px; padding: 4px; }
.pfDrop small, .pfMobile small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.pf .lpUser { margin-left: auto; padding: 0; margin-top: 0; margin-bottom: 0; }
.pfBurger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--bg); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.pfBurger span { display: block; height: 2px; background: var(--indigo); border-radius: 2px; }
.pfMobile { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 80px); overflow-y: auto; }
.pfMobile .lpWrap { padding-top: 10px; padding-bottom: 16px; }
.pfMobile a.on { background: #eef6fe; }

/* Hero art (category icon in the blob) */
.pfHeroArt { position: absolute; right: 70px; top: 70px; width: 300px; height: 300px; filter: drop-shadow(0 18px 24px rgba(54,57,164,.12)); }
.pf .lpChip2 .pill { max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf .lpChip1 { top: 40px; }

/* Home: category cards */
.pfCats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pfCat { background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; border: 1px solid transparent;
         box-shadow: 0 1px 3px rgba(20,20,40,.05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pfCat:hover { border-color: #cfe5fb; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(54,57,164,.10); }
.pfCat .lpIco { flex: 0 0 auto; width: 72px; height: 72px; }
.pfCat .lpIco svg { width: 54px; height: 54px; }
.pfCat .ch { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.pfCat h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 4px 0 6px; }
.pfCat p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.pfCat .go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--indigo); }

/* Factors */
.pfFactors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pfFactor { background: #fff; border-radius: 22px; padding: 26px; }
.pfFactor .n { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #e3f1fd; border-radius: 8px; padding: 3px 9px; margin-bottom: 14px; }
.pfFactor h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.pfFactor p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.pfMiniQ { font-size: 12px; font-weight: 600; color: var(--ink); padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }

/* Covered headings + FAQ */
.pfSplit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pfSplit > div { background: #fff; border-radius: 22px; padding: 30px; }
.pfH2 { font-size: 24px; font-weight: 700; color: var(--indigo); margin: 14px 0 18px !important; line-height: 1.25; }
.pfCovers { list-style: none; }
.pfCovers li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pfCovers li:first-child { border-top: 0; }
.pfCovers b { flex: 0 0 92px; color: var(--indigo); font-weight: 700; font-variant-numeric: tabular-nums; }
.pfCovers span { color: var(--text); }
.pfFaq { border-top: 1px solid var(--line); }
.pfFaq:first-of-type { border-top: 0; }
.pfFaq summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 0; font-size: 15px; font-weight: 600; color: var(--ink); position: relative; }
.pfFaq summary::-webkit-details-marker { display: none; }
.pfFaq summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 400; color: var(--blue); }
.pfFaq[open] summary::after { content: '\2013'; }
.pfFaq p { font-size: 14px; color: var(--muted); line-height: 1.65; padding: 0 0 16px; }

/* Stats */
.pfStats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; border-radius: 22px; padding: 30px; text-align: center; }
.pfStats b { display: block; font-size: 34px; font-weight: 700; color: var(--indigo); }
.pfStats span { font-size: 13px; color: var(--muted); }

/* Band spacing before footer */
.pf .lpBand { margin-top: 20px; }

/* Footer */
.pfFooter { padding: 50px 0 30px; }
.pfFooter .lpWrap { display: block; }
.pfFootTop { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.pfFootTop p { max-width: 320px; margin-top: 12px; line-height: 1.6; }
.pfFootTop nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; }
.pfFootTop nav a { color: var(--text); font-weight: 500; }
.pfFootTop nav a:hover { color: var(--indigo); }
.pfDisclaim { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.pfFootBot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; }
.pfFootBot a { color: inherit; }

@media (max-width: 1000px) {
  .pfBurger { display: flex; }
  .pf .lpUser { margin-left: auto; }
  .lpHeader.mobOpen .pfMobile { display: block; }
  .pfCats { grid-template-columns: 1fr 1fr; }
  .pfFactors { grid-template-columns: 1fr 1fr; }
  .pfSplit { grid-template-columns: 1fr; }
  .pfStats { grid-template-columns: 1fr 1fr; }
  .pfHeroArt { right: 50%; margin-right: -150px; }
}
@media (max-width: 640px) {
  .pf .lpNav { flex-wrap: nowrap; padding: 12px 0; }
  .pf .lpNav .lpLogo img { height: 34px; }
  .pfHeroArt { width: 200px; height: 200px; top: 60px; margin-right: -100px; }
  .pfCats, .pfFactors { grid-template-columns: 1fr; }
  .pfCat { flex-direction: row; align-items: flex-start; }
  .pfSplit > div { padding: 22px; }
  .pfFootTop { flex-direction: column; gap: 24px; }
  .pfStats b { font-size: 26px; }
  .pf .lpChip2 .pill { max-width: 130px; white-space: normal; line-height: 1.3; }
}

/* Home hero rotator (#pfRot): one example per category, crossfades every 4 s */
.pfRot .pfSlide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.pfRot .pfSlide.is-on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.pfRot .pfSlide .pfHeroArt { transform: translateY(8px) scale(.96); transition: transform .6s ease; }
.pfRot .pfSlide.is-on .pfHeroArt { transform: none; }
.pfSlideCat { position: absolute; left: 0; bottom: -46px; max-width: calc(100% - 270px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: var(--indigo) !important; }
.pfSlideCat:hover { text-decoration: underline !important; }
.pfRotNav { position: absolute; right: 0; bottom: -54px; display: flex; align-items: center; gap: 8px; }
.pfArrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #cfe5fb; background: #fff; color: var(--indigo); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.pfArrow:hover { background: #eef6fe; border-color: var(--blue); }
.pfDot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #cfe5fb; cursor: pointer; transition: width .3s, background .3s; }
.pfDot.is-on { width: 22px; background: var(--blue); }
.pfRot { margin-bottom: 54px; }
@media (prefers-reduced-motion: reduce) { .pfRot .pfSlide, .pfRot .pfSlide .pfHeroArt { transition: none; } }
@media (max-width: 640px) {
  .pfSlideCat { bottom: -42px; left: auto; right: 0; max-width: calc(100% - 196px); font-size: 12px; text-align: right; }
  .pfRotNav { left: 0; right: auto; bottom: -50px; gap: 6px; }
  .pfRot { margin-bottom: 60px; }
  .pfDot { width: 6px; height: 6px; } .pfDot.is-on { width: 16px; }
}
.pfChipItem { font-size: 19px; font-weight: 700; color: var(--indigo); max-width: 260px; line-height: 1.3; }
.pfChipCta { text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pfChipCta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(54,57,164,.2); }
.pfChipCta .cta { font-size: 18px; font-weight: 700; color: var(--blue); }
@media (max-width: 640px) { .pfChipItem { font-size: 15px; max-width: 170px; } .pfChipCta .cta { font-size: 15px; } }
.pf .lpStage .lpChip1 { top: 96px; left: 0; z-index: 2; }
@media (max-width: 640px) { .pf .lpStage .lpChip1 { top: 40px; } }

/* Covered list: check marks instead of heading numbers */
.pfCovers li i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #e4f8ed; color: #1f8f53; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.pfCovers li { align-items: center; }
.lpMini .row b { color: #1f8f53; }
.lpMini .tot b { color: #1f8f53; }
.pf .pfChipCta .cta { white-space: nowrap; }

/* Landing footer on phones: everything centered in one column (site.css centering fought the 2-col links) */
@media (max-width: 640px) {
  .lpFooter.pfFooter .lpWrap { display: block; text-align: center; }
  .pfFooter .pfFootTop { align-items: center; text-align: center; }
  .pfFooter .pfFootTop > div { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .pfFooter .pfFootTop p { margin: 12px auto 0; }
  .pfFooter .pfFootTop nav { grid-template-columns: 1fr 1fr; gap: 10px 16px; width: 100%; max-width: 420px; margin: 0 auto; justify-items: center; }
  .pfFooter .pfDisclaim { text-align: center; }
  .pfFooter .pfFootBot { flex-direction: column; align-items: center; gap: 6px; }
}
