/* Shared product-page parts (Cyber Dome, Cyber Polygon, ...), prefix pr-
   Hero, numbered steps, "BENEFITS" heading and benefit cards.
   Sizes follow the 1920 comp: clamp(min, designPx / 19.2 vw, designPx). */

/* Condensed display face for "BENEFITS" */
@font-face {
  font-family: 'Pathway Gothic One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pathway-gothic-one-latin.woff2') format('woff2');
}

:root {
  --fs-pr-title: clamp(1.875rem, 3.83vw, 4.59375rem);  /* 73.5 */
  --fs-pr-lead:  clamp(1rem, 1.41vw, 1.6875rem);       /* 27 */
}

/* Hero */
.pr-hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(110px, 16.82vw, 323px);
  text-align: center;
}
.pr-hero__mark {
  display: block;
  width: clamp(96px, 9.06vw, 174px);
  height: auto;
  margin: 0 auto;
}
.pr-hero__title {
  margin: clamp(1.75rem, 6.5vw, 125px) 0 0;
  font-size: var(--fs-pr-title);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--green);
  text-transform: uppercase;
}
.pr-hero__lead {
  margin: clamp(0.5rem, 0.94vw, 18px) 0 0;
  font-size: var(--fs-pr-lead);
  font-weight: 400;
  color: var(--ink);
}

/* Section title + numbered steps */
.pr-title {
  margin: 0;
  font-size: var(--fs-pr-title);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.03em;
  color: var(--green);
  text-transform: uppercase;
}
.pr-steps {
  margin: clamp(1rem, 1.67vw, 32px) 0 0 -0.26vw;
  padding: 0;
  list-style: none;
  max-width: clamp(0px, 42.7vw, 820px);
}
.pr-step {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 1.77vw, 34px);
  min-height: clamp(44px, 3.07vw, 59px);
}
.pr-step + .pr-step {
  margin-top: clamp(0.875rem, 1.72vw, 33px);
}
.pr-step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(48px, 3.39vw, 65px);
  aspect-ratio: 309 / 280;
  padding-right: clamp(6px, 0.47vw, 9px);   /* the ring's circle sits left of the image centre */
  background: url("../img/icons/num-ring.png") center / contain no-repeat;
  background-image: image-set(
    url("../img/icons/num-ring.webp") type("image/webp"),
    url("../img/icons/num-ring.png") type("image/png")
  );
  color: var(--green-light);
  font-size: clamp(0.9375rem, 1.2vw, 1.4375rem);
  font-weight: 600;
  line-height: 1;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.pr-step:hover .pr-step__num {
  transform: rotate(-12deg) scale(1.06);
  filter: drop-shadow(0 0 8px var(--green-glow));
}
.pr-step__text {
  font-size: clamp(1rem, 1.3vw, 1.5625rem);          /* 25 */
  font-weight: 400;
  line-height: 1.17;
  color: var(--ink);
}

/* Benefits heading + cards */
.pr-benefits__title {
  margin: 0;
  color: var(--green-light);
  text-transform: uppercase;
}
.pr-benefits__big {
  display: block;
  padding-left: 0.3em;      /* balances the trailing letter-spacing (no overflow) */
  font-family: 'Pathway Gothic One', var(--font);
  font-size: clamp(3rem, 4.43vw, 5.3125rem);         /* 85 */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3em;
}
.pr-benefits__small {
  display: block;
  margin-top: clamp(4px, 0.42vw, 8px);
  font-size: clamp(1.125rem, 1.67vw, 2rem);          /* 32 */
  font-weight: 400;
  line-height: 1.1;
  color: var(--green);
}
.pr-bcard {
  justify-content: flex-start;
  min-height: clamp(260px, 18.18vw, 349px);
  padding: clamp(1.75rem, 3.07vw, 59px) clamp(1rem, 1.3vw, 25px) clamp(1.5rem, 2.08vw, 40px);
}
.pr-bcard__icon {
  height: clamp(64px, 5.42vw, 104px);
  max-width: 100%;
}
.pr-bcard__title {
  margin: clamp(1rem, 1.41vw, 27px) 0 0;
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 1.56vw, 1.875rem);       /* 30 */
  font-weight: 300;
  line-height: 1.15;
  color: var(--green);
  text-transform: uppercase;
}
.pr-bcard__text {
  margin: clamp(4px, 0.52vw, 10px) 0 0;
  font-size: var(--fs-text);
  line-height: 1.28;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .pr-steps {
    max-width: 50vw;
  }
}
@media (max-width: 767.98px) {
  .pr-steps {
    max-width: none;
  }
}
@media (max-width: 575.98px) {
  .pr-bcard {
    min-height: 0;
  }
  .pr-benefits__big {
    letter-spacing: 0.45em;
    padding-left: 0.45em;
  }
}

/* Short desktop screens (e.g. 1920x850 at 125% scaling, 1366x650): the comp's
   hero spacing assumes a tall screen — tighten it so the artwork / content
   starts on the first screen. Tall screens keep the exact comp layout. */
@media (min-width: 992px) and (max-height: 920px) {
  .pr-hero {
    padding-top: max(96px, 8.85vw);                   /* 323 -> 170 */
  }
  .pr-hero__mark {
    width: max(80px, 6.25vw);                         /* 174 -> 120 */
  }
  .pr-hero__title {
    margin-top: max(1rem, 2.08vw);                    /* 125 -> 40 */
  }
}
