/* Pacer.Ad customization layer */
:root{
  --pacer-max: 1060px;
  --pacer-ink: #101014;
  --pacer-sub: #6b6b73;
  --pacer-faint: #a3a3ac;
  --pacer-line: #ececec;
  --pacer-btn: #17171a;
}

/* Keep this layer explicitly confined to the homepage and prevent decorative
   Framer layers from widening the mobile document. */
html.pacer-home,
html.pacer-home body{
  max-width: 100%;
  overflow-x: clip;
}
html.pacer-home.pacer-loading body{ background: #fafafb; }
html.pacer-home.pacer-loading #main{ visibility: hidden; }
html.pacer-home.pacer-ready #main{ visibility: visible; }
html.pacer-home [data-framer-name="navbar"]{ display: none !important; }
html.pacer-home #why > :has(ul [data-framer-name="Companies"]){ display: none !important; }
html.pacer-home #integrations > [data-framer-name="div.relative"]{ display: none !important; }

/* ---------- sticky nav ---------- */
#pacer-nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 2147483000;
  background: rgba(250,250,251,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--pacer-line);
}
#pacer-nav .pn-in{
  width: calc(100% - 48px); max-width: var(--pacer-max); margin: 0 auto;
  height: 64px; padding: 0 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pn-brand{
  display: flex; align-items: center; gap: 9px;
  font-family: "Plus Jakarta Sans","Inter",sans-serif; font-weight: 700; font-size: 18px;
  color: var(--pacer-ink); text-decoration: none; letter-spacing: -.01em;
}
.pn-orb{
  width: 23px; height: 23px; border-radius: 999px; display: inline-block; flex: none;
  background: radial-gradient(120% 120% at 30% 25%, #bfe0ff 0%, #4f92f2 46%, #2f6be6 100%);
  box-shadow: inset 0 0 6px rgba(255,255,255,.55), 0 1px 3px rgba(30,80,180,.35);
}
.pn-links{ display: flex; align-items: center; gap: 27px; }
.pn-links > a{
  font-family: "Inter",sans-serif; font-size: 14.5px; font-weight: 500;
  color: #3a3a42; text-decoration: none; transition: color .15s;
}
.pn-links > a:hover{ color: var(--pacer-ink); }
.pn-ghbtn{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1px solid #dcdce1; border-radius: 9px;
  background: #fff; color: var(--pacer-ink) !important; font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(16,16,20,.05); transition: background .15s, border-color .15s;
}
.pn-ghbtn:hover{ border-color: #c3c3cb; background: #f2f2f4; }
.pn-ghbtn svg{ width: 16px; height: 16px; flex: none; }

html.pacer-home #main{ padding-top: 64px; }
html.pacer-home{ scroll-behavior: smooth; }
html.pacer-home #why,
html.pacer-home #how,
html.pacer-home #integrations{ scroll-margin-top: 84px; }
html.pacer-home #why{ padding-bottom: 64px !important; }

/* Pull the first content section closer to the hero CTAs. */
html.pacer-home [data-framer-name="hero-section"]{ padding-bottom: 64px !important; }

/* ---------- smaller / wider hero headline (fit 2 lines) ---------- */
html.pacer-home [data-framer-name="hero-section"] h1{
  font-size: clamp(38px, 5.2vw, 56px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.02em !important;
}
html.pacer-home [data-framer-name="hero-section"] [data-framer-name="Headlines"],
html.pacer-home [data-framer-name="hero-section"] [data-framer-name="Heading1"]{
  max-width: 860px !important; width: auto !important;
}

/* ---------- hero pill (matches the template Badge) ---------- */
#pacer-pill{
  display: inline-flex; align-items: center; gap: 9px; align-self: center;
  margin: 0 auto 26px; padding: 8px 15px 8px 12px; border-radius: 999px; width: fit-content;
  background: #fff; border: 1px solid #ededf1; box-shadow: 0 1px 2px rgba(16,16,20,.04);
  font-family: "Inter",sans-serif; font-size: 14px; font-weight: 500; color: #33333b; letter-spacing: -.32px; line-height: 22px;
}
#pacer-pill .pp-dot{ width: 8px; height: 8px; border-radius: 999px; background: #1fbf5a; box-shadow: 0 0 0 3px #dbf9e6; flex: none; }

/* ---------- hero CTA row (dark + glass) ---------- */
#pacer-hero-cta{ display: flex; gap: 12px; justify-content: center; align-items: stretch; flex-wrap: wrap; width: 100%; }
.pcta{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
  height: 48px; padding: 0 22px; border-radius: 12px; box-sizing: border-box;
  font-family: "Inter",sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; transition: background .16s, border-color .16s, box-shadow .16s;
}
.pcta svg{ flex: none; }
.pcta-dark{ background: var(--pacer-btn); color: #fff; border: 1px solid var(--pacer-btn); }
.pcta-dark:hover{ background: #33333c; border-color: #33333c; }
.pcta-glass{
  color: var(--pacer-ink);
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 2px 12px rgba(16,16,20,.08);
}
.pcta-glass:hover{ background: rgba(255,255,255,.84); }

/* ---------- feature-card illustrations ---------- */
/* persistently hide the template's original card graphic (survives Framer's re-render);
   keep my .pcard-art and the text block (the one holding the h4 heading). */
#why [data-framer-name="Frame"] > *:not(.pcard-art):not(:has(h1,h2,h3,h4,h5,h6,p)){ display: none !important; }
#why [data-framer-name="Frame"]{ background-image: none !important; }
#why [data-framer-name="card1"] :is(h1,h2,h3,h4,h5,h6){
  font-size: clamp(21px,2vw,24px) !important;
}
#why :is([data-framer-name="card1"],[data-framer-name="card2"],[data-framer-name="card3"]) :is(h1,h2,h3,h4,h5,h6){
  width: 100%;
  text-align: center !important;
}
#why :is([data-framer-name="card1"],[data-framer-name="card2"],[data-framer-name="card3"]) :is([data-framer-name="Headlines"],[data-framer-name="Heading4"]){
  width: 100% !important;
}
#why :is([data-framer-name="card1"],[data-framer-name="card2"],[data-framer-name="card3"]) p{
  text-align: center !important;
}
.pcard-art{ width: 100%; margin: 0; opacity: .70; position: relative; z-index: 2; }
/* card3's original icons render in isolation (framer code-components); its opaque panel must
   fully cover them, so keep card3's art at full opacity (the hub marks carry their own .73). */
#why [data-framer-name="card3"] .pcard-art{ opacity: 1; }
.pcard-art > svg{
  display: block; width: 100%; height: auto;
  transform: scale(.85); transform-origin: top center;
}

/* ---------- accordion "how it works" visual overlay ---------- */
/* The original Framer photography remains in the DOM for hydration, but the
   Pacer dashboard fully covers it. Keeping those images out of layout also
   prevents several megabytes of invisible lazy-image downloads. */
html.pacer-home #how [data-framer-name="Images"] img{
  display: none !important;
}
#pacer-acc-art{
  position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: inherit;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3fb, #f7f1ff);
}
#pacer-acc-art svg{ width: 100%; height: 100%; display: block; }

@media (min-width: 811px){
  html.pacer-home #why [data-framer-name="cards"],
  html.pacer-home #why [data-framer-name="card1"],
  html.pacer-home #why [data-framer-name="card2"],
  html.pacer-home #why [data-framer-name="card3"]{
    height: 361px !important;
  }
  html.pacer-home #how [data-framer-name="Images"]{
    height: auto !important;
    aspect-ratio: 448 / 429;
    align-self: flex-start !important;
  }
}

/* ---------- integrations marquee ---------- */
#pacer-marquee{
  width: calc(100% - 64px); max-width: var(--pacer-max); min-width: 0;
  margin: 52px auto 6px; padding: 0;
  display: flex; flex-direction: column; gap: 16px; overflow: hidden;
}
.pmq-row{
  height: 110px; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 20%, #000 80%, transparent 98%);
  mask-image: linear-gradient(90deg, transparent 2%, #000 20%, #000 80%, transparent 98%);
}
.pmq-track{
  --mq-gap: 64px;
  --mq-half-gap: 32px;
  display: flex; align-items: center; gap: var(--mq-gap); width: max-content;
  animation: pmq-scroll var(--dur,90s) linear infinite;
}
.pmq-rev .pmq-track{ animation-direction: reverse; }
@keyframes pmq-scroll{ from{ transform: translateX(0); } to{ transform: translateX(calc(-50% - var(--mq-half-gap))); } }
.pmq-i{ width: 86px; height: 86px; flex: none; display: inline-flex; align-items: center; justify-content: center; opacity: .92; }
.pmq-i svg{ width: 46px; height: 46px; }
@media (prefers-reduced-motion: reduce){ .pmq-track{ animation: none; } }

/* ---------- original-theme-inspired CTA + footer ---------- */
#pacer-outro{
  position: relative; isolation: isolate; overflow: hidden;
  font-family: "Inter",sans-serif; color: var(--pacer-ink); background: #fafafb;
}
.po-glow{
  position: absolute; z-index: -1; pointer-events: none;
  width: 354px; height: 354px; left: 50%; top: auto; bottom: -55px;
  transform: translateX(-50%) scale(1.265); transform-origin: center bottom;
  opacity: .68;
}
.po-glow > span{
  position: absolute; left: 50%; top: 50%; display: block; border-radius: 50%;
}
.po-glow-outer{
  width: 260px; height: 260px;
  background: conic-gradient(#ff0080 0deg,#ee00ff 54.8916deg,#00a6ff 106.699deg,#4797ff 162deg,#0044ff 252deg,#ff8000 306deg,#ff00cc 360deg);
  filter: blur(46px); opacity: .8;
  transform: translate(-50%,-50%) rotate(-42.3deg);
}
.po-glow-inner,
.po-glow-blend{
  width: 195px; height: 195px; filter: blur(21px);
  transform: translate(-50%,-50%) rotate(-42.3deg);
}
.po-glow-inner{
  background: conic-gradient(#fff 0deg,#12b4e6 180deg,#dc4cfc 360deg);
}
.po-glow-blend{
  background: conic-gradient(#a6efff 0deg,#12ade6 180deg,#4c63fc 360deg);
  mix-blend-mode: overlay;
}
@keyframes po-glow-spin{
  from{ transform: translate(-50%,-50%) rotate(-42.3deg); }
  to{ transform: translate(-50%,-50%) rotate(-402.3deg); }
}
.po-glow-outer,
.po-glow-inner,
.po-glow-blend{
  animation: po-glow-spin 6s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){
  .po-glow-outer,
  .po-glow-inner,
  .po-glow-blend{ animation: none; }
}
#pacer-outro .po-cta{
  max-width: 960px; margin: 0 auto; padding: 100px 24px 142px; text-align: center;
  position: relative; z-index: 1;
}
.po-eyebrow{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 auto 24px; padding: 7px 12px; border: 1px solid rgba(226,226,231,.9);
  border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(8px);
  color: #575761; font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(16,16,20,.04);
}
.po-lock{ width: 15px; height: 15px; color: #4779bd; }
.po-cta h2{
  font-family: "Plus Jakarta Sans","Inter",sans-serif;
  font-size: clamp(38px,4vw,48px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em;
  margin: 0 auto 22px; max-width: 920px; color: var(--pacer-ink);
}
.po-cta h2 span{ color: #e56f2d; }
.po-copyline{
  max-width: 670px; margin: 0 auto 34px; color: var(--pacer-sub);
  font-size: 17px; line-height: 1.65; letter-spacing: -.01em;
}
.po-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.po-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600;
  text-decoration: none; border: 1px solid #dcdce1; background: #fff; color: var(--pacer-ink);
  box-shadow: 0 1px 2px rgba(16,16,20,.04); transition: background .15s, border-color .15s, color .15s;
}
.po-btn:hover{ background: #eef0f3; border-color: #cdced4; }
.po-btn-dark{ background: var(--pacer-btn); color: #fff; border-color: var(--pacer-btn); }
.po-btn-dark:hover{ background: #33333c; border-color: #33333c; }
.po-btn svg{ flex: none; }
.po-rule{ position: relative; z-index: 1; width: 100%; height: 1px; background: var(--pacer-line); }
.po-foot{
  position: relative; z-index: 1;
  width: calc(100% - 48px); max-width: var(--pacer-max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(240px, .85fr) minmax(520px, 1.5fr); gap: 80px;
  padding: 56px 4px 42px;
}
.po-identity p{ max-width: 270px; margin: 16px 0 0; color: var(--pacer-sub); font-size: 14px; line-height: 1.55; }
.po-brand{
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Plus Jakarta Sans","Inter",sans-serif; font-weight: 700; font-size: 19px;
  color: var(--pacer-ink); text-decoration: none;
}
.po-brand .pn-orb{ width: 22px; height: 22px; }
.po-site-links{ display: grid; grid-template-columns: repeat(3,minmax(120px,1fr)); gap: 44px; }
.po-link-group{ display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.po-link-group > span{ margin-bottom: 3px; color: var(--pacer-faint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.po-link-group a{ color: #45454e; text-decoration: none; font-size: 14px; font-weight: 500; }
.po-link-group a:hover{ color: var(--pacer-ink); }
.po-bottom{
  position: relative; z-index: 1;
  width: calc(100% - 48px); max-width: var(--pacer-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 4px 34px; border-top: 1px solid var(--pacer-line);
  color: var(--pacer-faint); font-size: 12.5px; line-height: 1.5; text-align: center;
}
.po-bottom p{ margin: 0; }
.po-meta{ display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; }
.po-meta a{ color: inherit; text-decoration: none; }
.po-meta a:hover{ color: var(--pacer-ink); }
.po-legal{ max-width: none; margin-left: auto !important; text-align: right; white-space: nowrap; }

@media (min-width: 811px){
  html.pacer-home #integrations [data-framer-name="heading2"],
  html.pacer-home #integrations [data-framer-name="Headlines"],
  html.pacer-home #integrations [data-framer-name="Heading2"]{
    width: calc(100% - 48px) !important;
    max-width: var(--pacer-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html.pacer-home #integrations h2,
  .po-cta h2{ white-space: nowrap; }
  html.pacer-home #why [data-framer-name="cards"],
  html.pacer-home #how [data-framer-name="Section"]{
    width: calc(100% - 48px) !important;
    max-width: var(--pacer-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.pcta:focus-visible, .po-btn:focus-visible, .po-copy:focus-visible,
.pn-brand:focus-visible, .pn-links a:focus-visible, .po-link-group a:focus-visible{
  outline: 3px solid rgba(59,130,246,.32); outline-offset: 3px;
}

@media (max-width: 900px){
  .po-foot{
    width: calc(100% - 48px); grid-template-columns: 1fr; gap: 42px;
    padding: 54px 0 38px; text-align: center;
  }
  .po-identity p{ margin-left: auto; margin-right: auto; }
  .po-site-links{ grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; text-align: left; }
  .po-link-group{ gap: 10px; }
}

@media (max-width: 1100px) and (min-width: 811px){
  .po-bottom{ flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .po-legal{ margin-left: 0 !important; text-align: center; white-space: normal; }
}

@media (max-width: 810px){
  #pacer-nav .pn-in{ width: calc(100% - 16px); padding: 0; gap: 12px; }
  .pn-links{ gap: 16px; }
  .pn-links > a:not(.pn-ghbtn){ display: none; }
  #why :is([data-framer-name="card1"],[data-framer-name="card2"],[data-framer-name="card3"]){
    height: auto !important;
  }
  html.pacer-home [data-framer-name="hero-section"]{ padding-bottom: 48px !important; }
  #pacer-marquee{ width: calc(100% - 32px); margin-top: 36px; }
  .pmq-row{ height: 88px; }
  .pmq-i{ width: 70px; height: 70px; }
  .pmq-i svg{ width: 40px; height: 40px; }
  .pmq-track{ --mq-gap: 52px; --mq-half-gap: 26px; }
  #pacer-outro .po-cta{ padding: 74px 24px 64px; }
  .po-cta h2{ font-size: 38px; }
  .po-copyline{ font-size: 16px; }
  .po-actions{ align-items: stretch; }
  .po-btn{ min-width: min(100%,260px); }
  .po-bottom{ width: calc(100% - 48px); flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .po-legal{ margin-left: 0 !important; text-align: center; white-space: normal; }
}

@media (max-width: 440px){
  .pn-brand{ font-size: 16.5px; gap: 7px; }
  .pn-orb{ width: 22px; height: 22px; }
  .pn-ghbtn{ padding: 8px 11px; font-size: 12.5px !important; }
  .po-cta h2{ font-size: 34px; }
  .po-site-links{ grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
