/* InSpace page kit, part 3: the NOVA feature pages (single-services.php, post type "services", /features/<slug>/).
   Everything is scoped under .pg-scope; pair with pg-kit.css and pg-templates.css (the logo strip, the video tile
   and the FAQ reuse the service page's sv-* styles). Source: inspace-feature.html in the local marketing site. */

/* The kit sets overflow-x:hidden on .pg-scope, which breaks position:sticky (chapter rail, chips). clip does not. */
.pg-scope.fp-page{overflow-x:clip}
.pg-main.fp-main{overflow:visible}

/* ---------- hero ---------- */
.pg-scope .fp-hero .ih-in{padding-bottom:64px}
.pg-scope .fp-crumbs{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;margin-bottom:22px;color:var(--ink)}
.pg-scope .fp-crumbs a{transition:color .2s var(--ease)}
.pg-scope .fp-crumbs a:hover{color:var(--purple)}
.pg-scope .fp-crumbs i{font-style:normal;opacity:.3}
.pg-scope .fp-hero h1{max-width:12ch}
.pg-scope .fp-tag{margin-top:24px;max-width:36ch;font-size:clamp(1.12rem,1.55vw,1.32rem);line-height:1.45;font-weight:500;letter-spacing:-.01em;color:var(--ink);text-wrap:pretty}
.pg-scope .fp-hero .ih-sub{margin-top:14px;max-width:54ch;font-size:1.02rem;line-height:1.62}
.pg-scope .fp-hero .ih-acts{margin-top:34px}

/* hero art: a NOVA module that works through the feature's deliverables (cards_slider titles) */
.pg-scope .fp-art{position:relative;width:min(100%,540px);aspect-ratio:1/1.02;margin-inline:auto}
.pg-scope .fp-glow{position:absolute;inset:0 -6% 14% 16%;border-radius:50%;filter:blur(26px);
  background:radial-gradient(circle at 58% 40%,rgba(185,239,163,.42),rgba(133,17,217,.10) 55%,transparent 72%)}
.pg-scope .fp-blob{position:absolute;right:-3%;top:-1%;width:62%;height:auto;filter:drop-shadow(0 34px 50px rgba(133,17,217,.22))}
@media (prefers-reduced-motion:no-preference){.pg-scope .fp-blob{animation:pgfpFloat 9s ease-in-out infinite alternate}}
@keyframes pgfpFloat{from{translate:0 -8px;rotate:-2deg}to{translate:0 8px;rotate:2deg}}
.pg-scope .fp-sat{position:absolute;display:inline-flex;align-items:center;gap:9px;padding:8px 14px 8px 8px;border-radius:99px;
  background:#fff;border:1px solid var(--line);box-shadow:0 16px 34px -18px rgba(11,11,12,.38);font-size:.8rem;font-weight:600;white-space:nowrap;z-index:3}
.pg-scope .fp-sat img{width:26px;height:26px;padding:4px;border-radius:50%;background:var(--paper-2)}
.pg-scope .fp-sat.s1{left:2%;top:9%}
.pg-scope .fp-sat.s2{right:-3%;top:22%}
@media (prefers-reduced-motion:no-preference){.pg-scope .fp-sat{animation:pghvFloat 6s ease-in-out infinite alternate}.pg-scope .fp-sat.s2{animation-delay:-3s}}
.pg-scope .fp-mod{position:absolute;left:0;bottom:3%;width:86%;z-index:2;padding:20px 20px 12px;border-radius:24px;
  background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border:1px solid rgba(11,11,12,.08);box-shadow:0 44px 90px -44px rgba(11,11,12,.42),0 2px 6px rgba(11,11,12,.04)}
.pg-scope .fp-mod-top{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.pg-scope .fp-ic{flex:none;width:52px;height:52px;border-radius:15px;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(185,239,163,.55),rgba(133,17,217,.14));color:var(--ink)}
.pg-scope .fp-ic svg{width:25px;height:25px}
.pg-scope .fp-mod-top small{display:block;font-size:.58rem;letter-spacing:.16em;color:var(--muted)}
.pg-scope .fp-mod-top b{display:block;margin-top:5px;font-size:1.22rem;letter-spacing:-.02em;line-height:1.12}
.pg-scope .fp-count{margin-left:auto;align-self:flex-start;padding:7px 11px;border-radius:99px;background:var(--paper-2);font-size:.6rem;letter-spacing:.14em;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.pg-scope .fp-rows{list-style:none;margin:8px 0 0;padding:0}
.pg-scope .fp-row{display:grid;grid-template-columns:22px minmax(0,1fr) 58px;align-items:center;gap:12px;margin:0;padding:9px 8px;border-radius:12px;transition:background .35s var(--ease)}
.pg-scope .fp-row+.fp-row{margin-top:2px}
.pg-scope .fp-row .l{font-size:.74rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;line-height:1.25;color:var(--muted);transition:color .3s var(--ease);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-scope .fp-st{position:relative;width:22px;height:22px;border-radius:50%;border:1.5px solid rgba(11,11,12,.16);display:grid;place-items:center;transition:background .3s var(--ease),border-color .3s var(--ease)}
.pg-scope .fp-st svg{width:12px;height:12px;opacity:0;scale:.5;transition:opacity .25s var(--ease),scale .35s var(--ease)}
.pg-scope .fp-bar{height:4px;border-radius:4px;background:rgba(11,11,12,.07);overflow:hidden}
.pg-scope .fp-bar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--grad)}
.pg-scope .fp-row.run{background:rgba(185,239,163,.2)}
.pg-scope .fp-row.run .l,.pg-scope .fp-row.done .l{color:var(--ink)}
.pg-scope .fp-row.run .fp-st{border-color:transparent;border-top-color:var(--purple);border-right-color:var(--purple)}
.pg-scope .fp-row.run .fp-bar i{width:100%;transition:width 1.25s linear}
.pg-scope .fp-row.done .fp-st{background:var(--green);border-color:var(--green);color:#000}
.pg-scope .fp-row.done .fp-st svg{opacity:1;scale:1}
.pg-scope .fp-row.done .fp-bar i{width:100%}
@media (prefers-reduced-motion:no-preference){.pg-scope .fp-row.run .fp-st{animation:pgfpSpin .8s linear infinite}}
@keyframes pgfpSpin{to{rotate:360deg}}

/* ---------- what we deliver: cards_slider as a bento with a cursor spotlight ---------- */
.pg-scope .fp-dl-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.pg-scope .fp-dl{grid-column:span 2;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;padding:24px 26px 30px;border-radius:24px}
.pg-scope .fp-dl-grid.n5 .fp-dl:nth-child(n+4),.pg-scope .fp-dl-grid.n4 .fp-dl,.pg-scope .fp-dl-grid.n2 .fp-dl{grid-column:span 3}
.pg-scope .fp-dl::before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .4s var(--ease);
  background:radial-gradient(460px circle at var(--mx,30%) var(--my,0%),rgba(185,239,163,.5),rgba(133,17,217,.06) 45%,transparent 70%)}
.pg-scope .fp-dl:hover::before{opacity:1}
/* a gradient scan line sweeps the card on hover, like the module in the hero */
.pg-scope .fp-dl::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--grad);transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease)}
.pg-scope .fp-dl:hover::after{transform:scaleX(1)}
.pg-scope .fp-dl-top{display:flex;align-items:center;justify-content:space-between}
.pg-scope .fp-dl .n{font-size:.66rem;letter-spacing:.16em;color:var(--muted-2);transition:color .3s var(--ease)}
.pg-scope .fp-dl .ok{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(185,239,163,.45);color:var(--green-text);transition:background .3s var(--ease),color .3s var(--ease),scale .35s var(--ease)}
.pg-scope .fp-dl .ok svg{width:13px;height:13px}
.pg-scope .fp-dl:hover .n{color:var(--purple)}
.pg-scope .fp-dl:hover .ok{background:var(--green);color:#000;scale:1.08}
.pg-scope .fp-dl h3{margin-top:30px;font-size:clamp(1.12rem,1.35vw,1.3rem);letter-spacing:-.012em;line-height:1.18;text-transform:uppercase;text-wrap:balance}
.pg-scope .fp-dl p{margin-top:10px;color:var(--muted);line-height:1.55;max-width:42ch;text-wrap:pretty}

/* ---------- the feature, chapter by chapter (content_sections) ---------- */
.pg-scope .fp-story .thead h2{max-width:none}
.pg-scope .fp-story-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:96px;align-items:start}
.pg-scope .fp-story-body{min-width:0}
.pg-scope .fp-rail{position:sticky;top:112px;display:flex;flex-direction:column;max-height:calc(100vh - 136px)}
.pg-scope .fp-rail>small{display:block;font-size:.6rem;letter-spacing:.16em;color:var(--muted)}
.pg-scope .fp-rail-list{position:relative;margin-top:16px;box-shadow:inset 1px 0 0 var(--line)}
.pg-scope .fp-rail-list ol{list-style:none;margin:0;padding:0}
.pg-scope .fp-rail-list li{margin:0}
.pg-scope .fp-rail-fill{position:absolute;left:0;top:0;width:2px;height:0;border-radius:2px;background:linear-gradient(180deg,#54B86A,#8511D9)}
.pg-scope .fp-rail-list a{display:grid;grid-template-columns:28px minmax(0,1fr);padding:9px 0 9px 18px;font-size:.9rem;line-height:1.38;color:var(--muted);transition:color .2s var(--ease)}
.pg-scope .fp-rail-list a .n{font-size:.58rem;letter-spacing:.14em;padding-top:3px;color:var(--muted-2);transition:color .2s var(--ease)}
.pg-scope .fp-rail-list a:hover{color:var(--ink)}
.pg-scope .fp-rail-list a.on{color:var(--ink);font-weight:600}
.pg-scope .fp-rail-list a.on .n{color:var(--purple)}
.pg-scope .fp-rail-cta{flex:none;margin-top:30px;padding:20px 20px 22px;border-radius:18px;border:1px solid var(--line);
  background:radial-gradient(120% 120% at 0% 0%,rgba(185,239,163,.35),transparent 60%),radial-gradient(120% 120% at 100% 100%,rgba(133,17,217,.08),transparent 60%),#fff}
.pg-scope .fp-rail-cta b{display:block;font-size:1rem;letter-spacing:-.01em;line-height:1.3}
.pg-scope .fp-rail-cta p{margin-top:6px;color:var(--muted);font-size:.86rem;line-height:1.5}
.pg-scope .fp-rail-cta .btn-purple{margin-top:14px;width:100%;padding:0 12px;white-space:nowrap;font-size:.88rem}
@media (max-height:700px){.pg-scope .fp-rail-cta{display:none}}
.pg-scope .fp-chips{display:none}

.pg-scope .fp-chs{max-width:760px}
.pg-scope .fp-ch{padding-bottom:84px;scroll-margin-top:110px}
.pg-scope .fp-ch+.fp-ch{padding-top:84px;border-top:1px solid var(--line)}
.pg-scope .fp-ch:last-child{padding-bottom:0}
.pg-scope .fp-ch-k{display:flex;align-items:center;gap:14px;margin:0;font-size:.62rem;letter-spacing:.16em;color:var(--muted);line-height:1.5}
.pg-scope .fp-ch-k span{flex:none;color:var(--purple)}
.pg-scope .fp-ch h2{margin-top:16px;font-size:clamp(1.9rem,3.2vw,2.8rem);letter-spacing:-.03em;line-height:1.04;text-transform:none;text-wrap:balance}
.pg-scope .fp-ch-body{margin-top:22px;color:var(--muted);font-size:1.07rem;line-height:1.72;text-wrap:pretty}
.pg-scope .fp-ch-body p+p{margin-top:14px}
.pg-scope .fp-ch-body a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
/* the definition reads as a statement */
.pg-scope .fp-ch.def .fp-ch-body{font-size:clamp(1.18rem,1.6vw,1.38rem);line-height:1.58;letter-spacing:-.01em;color:var(--ink)}
/* how it works: numbered steps on a line that fills as you read */
.pg-scope .fp-steps{position:relative;margin-top:30px}
.pg-scope .fp-steps::before,.pg-scope .fp-steps-fill{content:"";position:absolute;left:21px;top:24px;width:2px;border-radius:2px}
.pg-scope .fp-steps::before{bottom:24px;background:rgba(11,11,12,.08)}
.pg-scope .fp-steps-fill{height:0;background:linear-gradient(180deg,#54B86A,#8511D9)}
.pg-scope .fp-steps ol{list-style:none;margin:0;padding:0}
.pg-scope .fp-step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:22px;margin:0;padding:10px 0}
.pg-scope .fp-step .k{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-size:.66rem;letter-spacing:.1em;color:var(--muted);
  transition:background .4s var(--ease),border-color .4s var(--ease),color .4s var(--ease),box-shadow .4s var(--ease)}
.pg-scope .fp-step p{padding-top:10px;color:var(--muted);font-size:1.07rem;line-height:1.62;transition:color .4s var(--ease)}
.pg-scope .fp-step.on .k{background:var(--green);border-color:var(--green);color:#000;box-shadow:0 0 0 6px rgba(185,239,163,.28)}
.pg-scope .fp-step.on p{color:var(--ink)}
/* X vs Y: the two approaches side by side, the prose under it */
.pg-scope .fp-vs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;margin-top:30px}
.pg-scope .fp-vs-s{display:flex;align-items:center;gap:14px;min-height:92px;padding:20px 24px;border-radius:20px;border:1px solid var(--line)}
.pg-scope .fp-vs-s b{font-size:1.06rem;letter-spacing:-.01em;line-height:1.25}
.pg-scope .fp-vs-s .m{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}
.pg-scope .fp-vs-s .m svg{width:14px;height:14px}
.pg-scope .fp-vs-s.old{background:var(--paper-2);color:var(--muted)}
.pg-scope .fp-vs-s.old .m{background:rgba(11,11,12,.07);color:var(--muted)}
.pg-scope .fp-vs-s.new{background:radial-gradient(130% 130% at 100% 0%,rgba(185,239,163,.5),transparent 62%),#fff;border-color:rgba(46,158,80,.32);color:var(--ink)}
.pg-scope .fp-vs-s.new .m{background:var(--green);color:#000}
.pg-scope .fp-vs-x{position:relative;z-index:1;width:48px;height:48px;margin:0 -12px;border-radius:50%;display:grid;place-items:center;background:var(--black);color:#fff;font-size:.6rem;letter-spacing:.1em;box-shadow:0 0 0 6px #fff}
.pg-scope .fp-vs+.fp-ch-body{margin-top:26px}
/* best use cases: "Segment -> outcome" lines become rows */
.pg-scope .fp-uses{list-style:none;margin:28px 0 0;padding:0;border-top:1px solid var(--line)}
.pg-scope .fp-use{display:grid;grid-template-columns:minmax(0,.78fr) 22px minmax(0,1.22fr);gap:18px;align-items:baseline;margin:0;padding:19px 10px;border-bottom:1px solid var(--line);border-radius:4px;transition:background .35s var(--ease)}
.pg-scope .fp-use b{font-size:1.04rem;font-weight:600;letter-spacing:-.01em;line-height:1.35;color:var(--ink)}
.pg-scope .fp-use svg{width:16px;height:16px;align-self:start;margin-top:4px;color:var(--muted-2);transition:color .25s var(--ease),translate .25s var(--ease)}
.pg-scope .fp-use span{color:var(--muted);line-height:1.55}
.pg-scope .fp-use span::first-letter{text-transform:uppercase}
.pg-scope .fp-use:hover{background:linear-gradient(90deg,rgba(185,239,163,.24),rgba(185,239,163,0) 78%)}
.pg-scope .fp-use:hover svg{color:var(--purple);translate:4px 0}

/* ---------- FAQ head card (options CTA), only when a page has questions ---------- */
.pg-scope .fp-faq-cta{margin-top:32px;max-width:420px;padding:24px 24px 26px;border-radius:22px;border:1px solid var(--line);
  background:radial-gradient(120% 120% at 0% 0%,rgba(185,239,163,.35),transparent 60%),radial-gradient(120% 120% at 100% 100%,rgba(133,17,217,.08),transparent 60%),#fff}
.pg-scope .fp-faq-cta h3{font-size:1.2rem;letter-spacing:-.015em;line-height:1.2;text-transform:none}
.pg-scope .fp-faq-cta p{margin-top:8px;color:var(--muted);font-size:.95rem;line-height:1.55}
.pg-scope .fp-faq-cta .btn-purple{margin-top:16px}

/* ---------- more NOVA features ---------- */
.pg-scope .fp-row-h{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:44px}
.pg-scope .fp-row-h .thead{margin-bottom:0}
.pg-scope .fp-textlink{display:inline-flex;align-items:center;gap:9px;font-size:.62rem;letter-spacing:.16em;color:var(--ink);white-space:nowrap;padding-bottom:6px;border-bottom:1px solid rgba(11,11,12,.25);transition:color .2s var(--ease),border-color .2s var(--ease)}
.pg-scope .fp-textlink svg{width:13px;height:13px;transition:translate .25s var(--ease)}
.pg-scope .fp-textlink:hover{color:var(--purple);border-color:var(--purple)}
.pg-scope .fp-textlink:hover svg{translate:3px 0}
.pg-scope .fp-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pg-scope .fp-rel a{display:flex;align-items:flex-start;gap:16px;padding:22px 22px 24px;border-radius:20px}
.pg-scope .fp-rel .fp-ic{width:46px;height:46px;border-radius:13px}
.pg-scope .fp-rel .fp-ic svg{width:21px;height:21px}
.pg-scope .fp-rel b{display:flex;align-items:center;gap:8px;font-size:1.04rem;letter-spacing:-.01em;line-height:1.25}
.pg-scope .fp-rel b svg{width:13px;height:13px;flex:none;opacity:0;translate:-4px 0;transition:opacity .25s var(--ease),translate .25s var(--ease);color:var(--purple)}
.pg-scope .fp-rel a:hover b svg{opacity:1;translate:0 0}
.pg-scope .fp-rel small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px;color:var(--muted);font-size:.88rem;line-height:1.45}

/* ---------- responsive ---------- */
@media(max-width:1100px){
  .pg-scope .fp-story-grid{grid-template-columns:220px minmax(0,1fr);gap:56px}
  .pg-scope .fp-dl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-scope .fp-dl,.pg-scope .fp-dl-grid.n5 .fp-dl:nth-child(n+4),.pg-scope .fp-dl-grid.n4 .fp-dl,.pg-scope .fp-dl-grid.n2 .fp-dl{grid-column:auto}
  .pg-scope .fp-dl-grid.n5 .fp-dl:last-child,.pg-scope .fp-dl-grid.n3 .fp-dl:last-child{grid-column:1/-1}
}
@media(max-width:960px){
  .pg-scope .fp-art{width:min(100%,460px)}
  .pg-scope .fp-hero h1{max-width:none}
  /* minmax(0,1fr): the chip row would otherwise stretch the column to its full scroll width */
  .pg-scope .fp-story-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .pg-scope .fp-rail{display:none}
  /* phones and tablets: the chapters as a sticky row of chips under the navbar */
  .pg-scope .fp-chips{display:flex;position:sticky;top:var(--fp-chips-top,72px);z-index:5;gap:8px;margin:0 -24px 44px;padding:12px 24px;overflow-x:auto;scrollbar-width:none;
    background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-block:1px solid var(--line)}
  .pg-scope .fp-chips::-webkit-scrollbar{display:none}
  .pg-scope .fp-chips a{flex:none;padding:10px 14px;border-radius:99px;border:1px solid var(--line);background:#fff;font-size:.56rem;letter-spacing:.14em;color:var(--muted);white-space:nowrap;transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease)}
  .pg-scope .fp-chips a.on{background:var(--green);border-color:var(--green);color:#000}
  .pg-scope .fp-ch{scroll-margin-top:150px}
  .pg-scope .fp-row-h{flex-direction:column;align-items:flex-start;gap:22px}
  .pg-scope .fp-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .pg-scope .fp-hero .ih-in{padding-bottom:40px}
  .pg-scope .fp-crumbs .fp-cur{display:none}
  .pg-scope .fp-art{aspect-ratio:auto;padding-top:30%}
  .pg-scope .fp-blob{width:58%;right:0}
  .pg-scope .fp-mod{position:relative;width:100%;padding:16px 14px 10px}
  .pg-scope .fp-row{grid-template-columns:22px minmax(0,1fr) 40px;gap:10px;padding:9px 6px}
  .pg-scope .fp-sat.s1{left:0;top:1%}
  .pg-scope .fp-sat.s2{right:0;top:13%}
  .pg-scope .fp-dl-grid{grid-template-columns:1fr;gap:12px}
  .pg-scope .fp-dl-grid.n5 .fp-dl:last-child,.pg-scope .fp-dl-grid.n3 .fp-dl:last-child{grid-column:auto}
  .pg-scope .fp-dl{padding:22px 22px 26px}
  .pg-scope .fp-dl h3{margin-top:22px}
  .pg-scope .fp-chips{margin-inline:-16px;padding-inline:16px}
  .pg-scope .fp-ch{padding-bottom:64px}
  .pg-scope .fp-ch+.fp-ch{padding-top:64px}
  .pg-scope .fp-step{grid-template-columns:40px minmax(0,1fr);gap:16px}
  .pg-scope .fp-step .k{width:40px;height:40px}
  .pg-scope .fp-steps::before,.pg-scope .fp-steps-fill{left:19px;top:22px}
  .pg-scope .fp-vs{grid-template-columns:1fr;justify-items:stretch}
  .pg-scope .fp-vs-x{justify-self:center;margin:-12px 0}
  .pg-scope .fp-vs-s{min-height:0}
  .pg-scope .fp-use{grid-template-columns:1fr;gap:6px;padding:17px 6px}
  .pg-scope .fp-use svg{display:none}
  .pg-scope .fp-rel{grid-template-columns:1fr}
}
