/* Pagecrafter homepage V2: customer-first story with a phone-to-code transition. */
.pc-hero-sequence {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06070d;
}

.pc-hero-sequence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 17%, #000 69%, transparent 96%);
}

.pc-code-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pc-hero--v2 {
  position: relative;
  z-index: 1;
  min-height: min(930px, 91svh);
  overflow: visible;
  padding: calc(var(--nav-h) + 24px) 0 0;
  border: 0;
  background: transparent;
}

.pc-hero--v2 .pc-hero__word {
  top: 61%;
  z-index: 0;
  font-size: clamp(6.2rem, 12vw, 11.5rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.052);
}

.pc-hero--v2 .pc-hero__inner {
  position: relative;
  z-index: 3;
}

.pc-hero--v2 .pc-hero__copy {
  position: relative;
  z-index: 8;
  max-width: 900px;
}

.pc-hero--v2 .pc-eyebrow {
  color: #a8b9cb;
}

.pc-hero--v2 .pc-hero__copy h1 {
  max-width: 16ch;
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  line-height: .92;
}

.pc-hero--v2 .pc-hero__copy h1 strong {
  display: inline;
  color: #72d8ff;
}

.pc-hero--v2 .pc-hero__lead {
  max-width: 690px;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.pc-product-stage--v2 {
  --phone-side: 258px;
  --phone-main: 322px;
  position: relative;
  z-index: 4;
  width: min(100%, 1120px);
  height: clamp(360px, 36vw, 430px);
  margin: 12px auto -92px;
  overflow: visible;
  isolation: auto;
}

.pc-product-stage--v2::after {
  content: none;
}

.pc-product-stage--v2 .pc-phone-row,
.pc-product-stage--v2 .pc-guardian-expansion {
  position: absolute;
  inset: 0;
}

.pc-product-stage--v2 .pc-guardian-expansion::before,
.pc-product-stage--v2 .pc-guardian-expansion::after {
  content: "";
  position: absolute;
  top: 166px;
  z-index: 5;
  width: 82px;
  border-top: 1px solid rgba(114,216,255,.7);
  pointer-events: none;
}

.pc-product-stage--v2 .pc-guardian-expansion::before {
  left: 50%;
  margin-left: -140px;
  transform: rotate(10deg);
  transform-origin: right center;
}

.pc-product-stage--v2 .pc-guardian-expansion::after {
  right: 50%;
  margin-right: -140px;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.pc-product-stage--v2 .pc-phone {
  top: clamp(42px, 6vw, 76px);
  bottom: auto;
  z-index: 4;
  width: var(--phone-side);
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.4));
}

.pc-product-stage--v2 .pc-phone--salvador {
  left: 14%;
  transform: rotate(-7deg);
}

.pc-product-stage--v2 .pc-phone--guardian {
  left: 50%;
  top: 12px;
  z-index: 6;
  width: var(--phone-main);
  transform: translateX(-50%);
}

.pc-product-stage--v2 .pc-phone--saopaulo {
  right: 14%;
  transform: rotate(7deg);
}

.pc-product-stage--v2 .pc-phone__frame {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.96) 66%, rgba(0,0,0,.68) 78%, rgba(0,0,0,.24) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.96) 66%, rgba(0,0,0,.68) 78%, rgba(0,0,0,.24) 90%, transparent 100%);
}

.pc-product-stage--v2 .pc-phone__frame::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 2%;
  height: 35%;
  opacity: .42;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 5px, currentColor 5px 6px, transparent 6px 13px),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255,255,255,.5) 9px 10px, transparent 10px 18px);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 68%, transparent);
}

.pc-product-stage--v2 .pc-phone--salvador .pc-phone__frame::after { color: #52d9ad; }
.pc-product-stage--v2 .pc-phone--guardian .pc-phone__frame::after { color: #72d8ff; }
.pc-product-stage--v2 .pc-phone--saopaulo .pc-phone__frame::after { color: #ff9a74; }

.pc-product-stage--v2 .pc-phone__shade {
  background: linear-gradient(to bottom, rgba(2,4,8,.84), rgba(2,4,8,.05) 28%, transparent 58%, rgba(2,4,8,.52));
}

.pc-product-stage--v2 .pc-phone__status {
  bottom: 24%;
  min-height: 29px;
}

.pc-product-stage--v2 .pc-city-tabs {
  bottom: calc(24% + 42px);
}

.pc-map-satellite {
  position: absolute;
  top: 88px;
  z-index: 7;
  display: block;
  width: 126px;
  aspect-ratio: .9;
  overflow: hidden;
  border: 1px solid rgba(114,216,255,.4);
  border-radius: 8px;
  background: #080b10;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 20px 46px rgba(0,0,0,.48);
  transition: transform .25s var(--ease-out), border-color .25s ease;
  pointer-events: auto;
}

.pc-map-satellite--atlanta {
  left: 50%;
  margin-left: -258px;
  transform: rotate(-5deg);
}

.pc-map-satellite--nyc {
  right: 50%;
  margin-right: -258px;
  transform: rotate(5deg);
}

.pc-map-satellite:hover,
.pc-map-satellite:focus-visible {
  border-color: #72d8ff;
}

.pc-map-satellite--atlanta:hover,
.pc-map-satellite--atlanta:focus-visible {
  transform: rotate(-2deg) translateY(-5px);
}

.pc-map-satellite--nyc:hover,
.pc-map-satellite--nyc:focus-visible {
  transform: rotate(2deg) translateY(-5px);
}

.pc-map-satellite:focus-visible {
  outline: 3px solid #72d8ff;
  outline-offset: 4px;
}

.pc-map-satellite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.9);
}

.pc-map-satellite span {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  display: grid;
  gap: 1px;
  padding: 6px 7px;
  border-radius: 5px;
  background: rgba(5,7,11,.88);
  backdrop-filter: blur(8px);
  text-align: left;
}

.pc-map-satellite b {
  font-size: 11px;
}

.pc-map-satellite small {
  color: #aab7c7;
  font: 500 7px/1.2 var(--mono);
  text-transform: uppercase;
}

.pc-product-stage--v2 figcaption {
  position: absolute;
  left: 50%;
  bottom: 62px;
  z-index: 8;
  width: min(92%, 620px);
  transform: translateX(-50%);
  color: #aab6c5;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.pc-outcomes {
  position: relative;
  z-index: 3;
  padding: 170px 0 76px;
  background: linear-gradient(to bottom, rgba(6,7,13,0), #0b0d13 38%);
}

.pc-outcomes__head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(300px, .55fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: end;
  margin-bottom: 36px;
}

.pc-outcomes__head h2 {
  max-width: 12ch;
  margin-top: 13px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: .94;
  letter-spacing: 0;
}

.pc-outcomes__head > p:last-child {
  max-width: 43ch;
  color: #aeb8c6;
  font-size: 1.02rem;
  line-height: 1.62;
}

.pc-outcomes__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.pc-outcome {
  min-width: 0;
  padding: 27px 24px 30px;
  border-right: 1px solid rgba(255,255,255,.13);
}

.pc-outcome:first-child { padding-left: 0; }
.pc-outcome:last-child { border-right: 0; }
.pc-outcome small {
  color: #72d8ff;
  font: 500 10px/1 var(--mono);
  letter-spacing: .1em;
}
.pc-outcome h3 {
  margin: 30px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0;
}
.pc-outcome p {
  color: #9da8b7;
  font-size: .93rem;
  line-height: 1.52;
}

.pc-case-study {
  position: relative;
  padding: clamp(78px, 9vw, 126px) 0;
  overflow: hidden;
  background: #eef1f3;
  color: #132033;
}

.pc-case-study__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: end;
  margin-bottom: 42px;
}

.pc-case-study .pc-kicker { color: #136f66; }
.pc-case-study h2 {
  max-width: 13ch;
  margin-top: 14px;
  color: #10253a;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: .94;
  letter-spacing: 0;
}
.pc-case-study__head > p:last-child {
  max-width: 43ch;
  color: #4b5b69;
  font-size: 1.03rem;
  line-height: 1.62;
}

.pc-case-study__cities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.pc-case-study__city {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #bbc5cc;
  border-radius: 6px;
  background: #111821;
  color: #fff;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}

.pc-case-study__city:nth-child(2),
.pc-case-study__city:nth-child(4) { transform: translateY(16px); }
.pc-case-study__city:hover,
.pc-case-study__city:focus-visible { box-shadow: 0 18px 42px rgba(16,37,58,.2); }
.pc-case-study__city:focus-visible { outline: 3px solid #0d766b; outline-offset: 4px; }
.pc-case-study__city img { width: 100%; height: 100%; object-fit: cover; }
.pc-case-study__city::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 42%, rgba(4,7,10,.18) 58%, #05080c 100%);
}
.pc-case-study__city span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
  display: grid;
  gap: 4px;
}
.pc-case-study__city small {
  color: #a8d9d1;
  font: 500 9px/1.2 var(--mono);
  text-transform: uppercase;
}
.pc-case-study__city b { font-size: 1.2rem; }

@media (max-width: 1080px) {
  .pc-product-stage--v2 { --phone-side: 222px; --phone-main: 286px; }
  .pc-product-stage--v2 .pc-phone--salvador { left: 10%; }
  .pc-product-stage--v2 .pc-phone--saopaulo { right: 10%; }
  .pc-map-satellite--atlanta { margin-left: -226px; }
  .pc-map-satellite--nyc { margin-right: -226px; }
  .pc-outcomes__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pc-outcome:nth-child(2) { border-right: 0; }
  .pc-outcome:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .pc-outcome:nth-child(3) { padding-left: 0; }
  .pc-case-study__cities {
    display: flex;
    margin-inline: -5vw;
    padding: 0 5vw 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .pc-case-study__city { flex: 0 0 245px; scroll-snap-align: center; }
}

@media (max-width: 820px) {
  .pc-hero--v2 { min-height: auto; padding-top: calc(var(--nav-h) + 28px); }
  .pc-hero--v2 .pc-hero__copy h1 { max-width: 14ch; font-size: clamp(3rem, 9.5vw, 4.4rem); }
  .pc-product-stage--v2 { --phone-side: 184px; --phone-main: 236px; height: 430px; margin-bottom: -105px; }
  .pc-product-stage--v2 .pc-phone--salvador { left: 4%; }
  .pc-product-stage--v2 .pc-phone--saopaulo { right: 4%; }
  .pc-map-satellite { top: 78px; width: 100px; }
  .pc-map-satellite--atlanta { margin-left: -188px; }
  .pc-map-satellite--nyc { margin-right: -188px; }
  .pc-outcomes { padding-top: 172px; }
  .pc-outcomes__head,
  .pc-case-study__head { grid-template-columns: 1fr; gap: 18px; }
  .pc-outcomes__head h2,
  .pc-case-study h2 { max-width: 14ch; }
}

@media (max-width: 600px) {
  .pc-hero--v2 { padding-top: 92px; }
  .pc-hero--v2 .pc-hero__copy { text-align: left; }
  .pc-hero--v2 .pc-eyebrow { justify-content: flex-start; }
  .pc-hero--v2 .pc-hero__copy h1 { margin-left: 0; font-size: clamp(2.75rem, 13.2vw, 3.55rem); }
  .pc-hero--v2 .pc-hero__lead { margin-left: 0; }
  .pc-hero--v2 .pc-hero__actions { justify-content: flex-start; }
  .pc-hero--v2 .pc-hero__actions .btn { width: auto; }
  .pc-product-stage--v2 { --phone-side: 124px; --phone-main: 164px; height: 300px; margin-top: 14px; margin-bottom: -86px; }
  .pc-product-stage--v2 .pc-phone { top: 48px; }
  .pc-product-stage--v2 .pc-phone--guardian { top: 15px; }
  .pc-product-stage--v2 .pc-phone--salvador { left: -1%; transform: rotate(-6deg); }
  .pc-product-stage--v2 .pc-phone--saopaulo { right: -1%; transform: rotate(6deg); }
  .pc-product-stage--v2 .pc-phone__status,
  .pc-product-stage--v2 .pc-city-tabs { display: none; }
  .pc-map-satellite { display: none; }
  .pc-product-stage--v2 .pc-guardian-expansion::before,
  .pc-product-stage--v2 .pc-guardian-expansion::after {
    top: 86px;
    width: 48px;
  }
  .pc-product-stage--v2 .pc-guardian-expansion::before { margin-left: -95px; }
  .pc-product-stage--v2 .pc-guardian-expansion::after { margin-right: -95px; }
  .pc-product-stage--v2 figcaption { bottom: 42px; width: 94%; font-size: 8px; }
  .pc-outcomes { padding: 142px 0 64px; }
  .pc-outcomes__list { grid-template-columns: 1fr; }
  .pc-outcome,
  .pc-outcome:first-child,
  .pc-outcome:nth-child(3) { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .pc-outcome:last-child { border-bottom: 0; }
  .pc-outcome h3 { margin-top: 18px; }
  .pc-case-study__city { flex-basis: 72vw; min-height: 360px; }
}

@media (max-width: 360px) {
  .pc-hero--v2 .pc-hero__actions { display: grid; }
  .pc-hero--v2 .pc-hero__actions .btn { width: 100%; justify-content: center; }
  .pc-product-stage--v2 { --phone-side: 112px; --phone-main: 148px; }
}

@media (max-height: 650px) and (max-width: 600px) {
  .pc-hero--v2 { padding-top: 74px; }
  .pc-hero--v2 .pc-eyebrow { margin-bottom: 7px; font-size: 8px; }
  .pc-hero--v2 .pc-hero__copy h1 { font-size: 2.3rem; line-height: .94; }
  .pc-hero--v2 .pc-hero__lead { margin-top: 9px; font-size: .88rem; line-height: 1.42; }
  .pc-hero--v2 .pc-hero__actions { display: flex; flex-wrap: nowrap; gap: 7px; margin-top: 11px; }
  .pc-hero--v2 .pc-hero__actions .btn { width: auto; padding: 11px 14px; font-size: .82rem; white-space: nowrap; }
  .pc-product-stage--v2 { --phone-side: 96px; --phone-main: 120px; height: 188px; margin-top: 2px; margin-bottom: -72px; }
  .pc-product-stage--v2 .pc-phone { top: 66px; }
  .pc-product-stage--v2 .pc-phone--guardian { top: 38px; }
  .pc-product-stage--v2 .pc-guardian-expansion::before,
  .pc-product-stage--v2 .pc-guardian-expansion::after {
    top: 55px;
    width: 36px;
  }
  .pc-product-stage--v2 .pc-guardian-expansion::before { margin-left: -72px; }
  .pc-product-stage--v2 .pc-guardian-expansion::after { margin-right: -72px; }
  .pc-outcomes { padding-top: 106px; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-code-field { opacity: .68; }
  .pc-product-stage--v2 .pc-phone,
  .pc-map-satellite { transition: none !important; }
}
