/* Pulsesite US — trade pages /roofing/ /pools/ /hvac/ /machine-shops/ (24.11.2026) */

/* hero stage: the live demo inside a phone, on the trade photo */
.nstage { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; margin-top: 20px; padding: 24px; border-radius: 28px; overflow: hidden; background: #0B0C1A; color: #fff; box-shadow: 0 40px 80px -40px rgba(10,12,30,.55); }
.nstage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; transform: scale(1.04); }
.nstage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,9,22,.35) 0%, rgba(8,9,22,.78) 62%, rgba(8,9,22,.9) 100%); }
.nphone { width: 262px; }
.nstage .dev { transform: none; }
.nstage .dev-scr { background: #fff; }
.nshot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.nlive { position: absolute; top: 0; left: 0; width: 390px; height: calc(100% / var(--k, .7282)); border: 0; transform: scale(var(--k, .7282)); transform-origin: 0 0; background: #fff; opacity: 0; transition: opacity .5s; }
.nlive.on { opacity: 1; }
.nside { display: grid; gap: 12px; align-content: center; min-width: 0; }
.ntag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.12); font: 700 12.5px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nco { font: 800 21px/1.15 var(--display); letter-spacing: -.02em; }
.nco small { display: block; margin-top: 6px; font: 500 13.5px/1.35 var(--text); color: rgba(255,255,255,.72); letter-spacing: 0; }
.nhint { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.82); }
.nopen { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; padding: 12px 18px; border-radius: 99px; background: #fff; color: #12142A; font: 700 14.5px/1 var(--display); text-decoration: none; box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); transition: transform .2s; }
.nopen:hover { transform: translateY(-2px); }

/* what's in the demo: laptop shot + four features */
.ndemo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 36px; }
.ndemo .dm-win { text-decoration: none; }
.ndemo .dm-win:hover { transform: translateY(-3px); }
.nfeats { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nfeats li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--line, rgba(18,20,42,.1)); }
.nfeats li:first-child { border-top: 0; }
.nfeats li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.nfeats b { display: block; font: 700 18px/1.25 var(--display); }
.nfeats span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.nothers { margin-top: 22px; font-size: 14px; color: var(--muted); }
.nothers a { margin-inline-start: 10px; color: inherit; font-weight: 600; }

.nopen { white-space: nowrap; }
@media (max-width: 1240px) { .nphone { width: 240px; } }
@media (max-width: 1080px) { .ndemo { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 720px) {
  .nstage { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding: 26px 18px; }
  .nstage::after { background: linear-gradient(180deg, rgba(8,9,22,.3) 0%, rgba(8,9,22,.85) 70%); }
  .nphone { width: min(240px, 70vw); }
  .nlive { display: none; }
  .nside { justify-items: center; text-align: center; }
  .nhint { display: none; }
}
