/* ==========================================================================
   2027 Pay Risk tool (/tools/2027-pay-risk), in the site's look: black,
   silver and frosted glass; Newsreader for reading text, British Green and
   Noto Serif Display for the headline and figures. Red, amber and green are
   kept only for the three risk levels, where the colour carries meaning.
   Layout and behaviour ported from the Vencee site (PayRiskTool.module.css,
   ToolPage.module.css).
   ========================================================================== */

.pr-page {
  --pr-muted: rgba(242, 243, 245, 0.62);
  --pr-border: rgba(195, 200, 208, 0.18);
  --pr-panel: rgba(255, 255, 255, 0.045);
  --pr-rail: rgba(195, 200, 208, 0.28);
  --h: #b4412f;
  --m: #a86f12;
  --l: #2f7a4b;
  --ease-back: cubic-bezier(0.64, 0, 0.78, 0);
}

/* -- the page's own header card --------------------------------------------- */

.pr-head {
  padding: 10px 10px 0;
}

.pr-head__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(120px, 16vh, 168px) var(--gutter) clamp(48px, 8vh, 88px);
  border-radius: 28px;
  /* graphite, with soft silver light from the top right and the bottom left */
  background:
    radial-gradient(70% 90% at 88% 8%, rgba(195, 200, 208, 0.2), transparent 62%),
    radial-gradient(55% 70% at 6% 100%, rgba(242, 243, 245, 0.07), transparent 60%),
    linear-gradient(160deg, #1c1d20, #0b0b0c 70%);
}

/* The photo: towers seen from the street, in their own colour (blue glass,
   warm lit floors), with a shade that is deepest behind the words and the sketch. */
.pr-head__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.pr-head__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
  filter: saturate(1.3) contrast(1.05) brightness(0.92);
}

/* the shade: a dark sweep from the left (the words), a lift of dark at the
   bottom right (the sketch) and a vignette all round */
.pr-head__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 16, 0.86) 0%, rgba(6, 9, 16, 0.62) 40%, rgba(6, 9, 16, 0.22) 100%),
    radial-gradient(48% 62% at 80% 78%, rgba(6, 9, 16, 0.42), transparent 72%),
    linear-gradient(180deg, rgba(6, 9, 16, 0.4), transparent 28%, transparent 70%, rgba(6, 9, 16, 0.55)),
    radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.35));
}

/* A slow drift of light across the card */
.pr-head__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(30% 30% at 50% 50%, rgba(255, 255, 255, 0.07), transparent 70%);
  animation: pr-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pr-drift {
  from {
    transform: translate(-18%, -6%);
  }
  to {
    transform: translate(16%, 10%);
  }
}

/* The sketch: a chart drawn by hand behind the headline. Prices pull away
   from pay; the gap between them is hatched in, the way you'd mark it up
   with a pen. Each stroke draws itself in turn, then keeps a slight tremble
   (the "pr-ink" filter in the page), so the card feels drawn, not printed. */
.pr-sketch {
  position: absolute;
  right: 3.5%;
  bottom: 3%;
  z-index: -1;
  width: min(42%, 580px);
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.pr-sketch path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pr-pen 1.6s cubic-bezier(0.55, 0.1, 0.3, 1) forwards;
}

.pr-sketch__axis {
  stroke: rgba(242, 243, 245, 0.26);
  stroke-width: 1.2;
  animation-delay: 0.3s !important;
}

.pr-sketch .pr-sketch__tick {
  stroke: rgba(242, 243, 245, 0.26);
  stroke-width: 1.2;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: pr-ink-in 0.6s ease 0.9s forwards;
}

.pr-sketch__pay {
  stroke: rgba(195, 200, 208, 0.62);
  stroke-width: 2.2;
  animation-delay: 0.7s !important;
}

.pr-sketch__prices {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.4;
  animation-delay: 1.3s !important;
}

.pr-sketch__hatch {
  opacity: 0;
  animation: pr-ink-in 1.2s ease 2.6s forwards;
}

.pr-sketch .pr-sketch__hatch path {
  stroke: rgba(242, 243, 245, 0.2);
  stroke-width: 1;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.pr-sketch__arrow {
  stroke: rgba(242, 243, 245, 0.55);
  stroke-width: 1.3;
  animation-delay: 3.1s !important;
  animation-duration: 0.9s !important;
}

/* the words, as if jotted on in the margin */
.pr-sketch__words {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  fill: rgba(242, 243, 245, 0.78);
  opacity: 0;
  animation: pr-ink-in 1s ease 2.9s forwards;
}

.pr-sketch__words .pr-sketch__year {
  font-style: normal;
  font-family: var(--font-arial);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  fill: rgba(242, 243, 245, 0.42);
}

@keyframes pr-pen {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pr-ink-in {
  to {
    opacity: 1;
  }
}

/* fine grain over the card, like paper under the ink */
.pr-head__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.pr-head__intro {
  max-width: 1180px;
  margin: 0 auto;
  animation: pr-in 0.9s var(--ease) both;
}

.pr-head__eyebrow {
  margin: 0;
  font-family: var(--font-arial);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-300);
}

/* One line, one font: the homepage headline's serif, sized to the width so
   it never wraps */
.pr-head__title {
  margin: 16px 0 0;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(20px, 6.4vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
  -webkit-text-stroke: 0.022em #fff;
  paint-order: stroke fill;
}

.pr-head__lede {
  max-width: 40rem;
  margin: 22px 0 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--silver-300);
}

@media (max-width: 767px) {
  .pr-head {
    padding: 8px 8px 0;
  }

  .pr-head__card {
    padding: 116px 20px 52px;
    border-radius: 22px;
  }

  .pr-head__lede {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.55;
  }

  /* phones: the sketch sits under the words, across the card */
  .pr-head__card {
    padding-bottom: calc(50px + 53vw);
  }

  /* phones: the shade runs top to bottom, darkest behind the words */
  .pr-head__photo img {
    object-position: 54% 50%;
  }

  .pr-head__photo::after {
    background:
      linear-gradient(180deg, rgba(6, 9, 16, 0.74) 0%, rgba(6, 9, 16, 0.68) 52%, rgba(6, 9, 16, 0.4) 74%, rgba(6, 9, 16, 0.66) 100%),
      radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.35));
  }

  /* edge to edge, then a touch larger: the drawing's own margins take up the
     extra, so nothing is cut off */
  .pr-sketch {
    left: 0;
    right: 0;
    bottom: 16px;
    width: auto;
    transform: scale(1.07);
    transform-origin: 50% 100%;
  }

  .pr-sketch__pay {
    stroke-width: 2.8;
  }

  .pr-sketch__prices {
    stroke-width: 3;
  }

  .pr-sketch__words {
    font-size: 25px;
  }

  .pr-sketch__words .pr-sketch__year {
    font-size: 15px;
  }
}

/* -- the tool ------------------------------------------------------------- */

.pr-tool {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 96px);
  color: var(--silver-50);
  font-size: 17px;
  line-height: 1.5;
  outline: none;
}

.pr-tool :is(h2, h3, h4, p, ul, ol, dl, dd) {
  margin: 0;
}

.pr-screen {
  animation: pr-in 360ms var(--ease) both;
}

@keyframes pr-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-progress,
  .pr-screen,
  .pr-head__intro,
  .pr-head__glow,
  .pr-sketch path,
  .pr-sketch__hatch,
  .pr-sketch__words,
  .pr-sketch .pr-sketch__tick {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .pr-sketch g[filter] {
    filter: none;
  }
}

.pr-h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.pr-eyebrow {
  margin-bottom: 10px !important;
  font-family: var(--font-arial);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-500);
}

.pr-lede {
  margin-top: 10px !important;
  color: var(--silver-300);
}

.pr-small {
  margin-top: 12px !important;
  font-size: 15px;
  color: var(--pr-muted);
}

.pr-link {
  text-decoration: underline;
  text-decoration-color: rgba(242, 243, 245, 0.4);
  text-underline-offset: 3px;
}

.pr-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* -- buttons: the site's animated button, plus a quiet outline one ---------- */

.pr-primary {
  min-height: 54px;
}

/* These buttons can be much wider than the site's usual 240px, so the fill
   grows further, right to the far edge */
.pr-primary.cta.is-pressed .cta__dot,
.pr-primary.cta:focus-visible .cta__dot {
  transform: scale(160);
}

@media (hover: hover) {
  .pr-primary.cta:hover .cta__dot {
    transform: scale(160);
  }
}

/* The quiet one: no box at all, just words with a restart arrow, so it
   never competes with the main button beside it */
.pr-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--pr-muted);
  font-family: var(--font-arial);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.pr-secondary svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.6s var(--ease);
}

.pr-secondary span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease);
}

.pr-secondary:hover {
  color: var(--silver-50);
}

.pr-secondary:hover span {
  background-size: 100% 1px;
}

.pr-secondary:hover svg {
  transform: rotate(-200deg);
}

.pr-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--pr-muted);
  font-family: var(--font-arial);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.pr-back:hover {
  color: var(--silver-50);
}

:is(.pr-secondary, .pr-back, .pr-option):focus-visible {
  outline: 1px solid var(--silver-50);
  outline-offset: 3px;
}

/* -- the line: six stations, one per force -------------------------------- */

.pr-metro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

/* The line itself, through the middle of the stops */
.pr-metro::before {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 6px;
  border-radius: 3px;
  background: var(--pr-rail);
}

.pr-station {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  text-align: center;
}

/* Each stop carries its force's icon */
.pr-stop {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border: 5px solid #3a3c41;
  border-radius: 50%;
  background: var(--black);
  color: var(--silver-50);
}

.pr-stopIcon {
  width: 22px;
  height: 22px;
}

.pr-station[data-level="h"] .pr-stop {
  border-color: var(--h);
  color: #e58a78;
}

.pr-station[data-level="m"] .pr-stop {
  border-color: var(--m);
  color: #e6b25a;
}

.pr-station[data-level="l"] .pr-stop {
  border-color: var(--l);
  color: #7cc79a;
}

.pr-stationName {
  font-size: 16px;
  line-height: 1.25;
}

.pr-stationTag {
  font-family: var(--font-arial);
  font-size: 13px;
  color: var(--pr-muted);
}

.pr-chip {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-arial);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
}

.pr-chip[data-level="h"] {
  background: var(--h);
}

.pr-chip[data-level="m"] {
  background: var(--m);
}

.pr-chip[data-level="l"] {
  background: var(--l);
}

/* Narrow: the line runs down the left, stations stacked */
@media (max-width: 699px) {
  .pr-metro {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .pr-metro::before {
    top: 22px;
    bottom: 22px;
    left: 19px;
    right: auto;
    width: 6px;
    height: auto;
  }

  .pr-station {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    column-gap: 16px;
    align-items: center;
    padding: 0;
    text-align: left;
  }

  /* Phones: the stops read as a list, so set them like one */
  .pr-stationName {
    grid-column: 2;
    font-size: 18px;
    line-height: 1.3;
  }

  .pr-stationTag {
    grid-column: 2;
    font-size: 15px;
  }

  .pr-stop {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .pr-stopIcon {
    width: 20px;
    height: 20px;
  }

  .pr-station .pr-chip {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
  }
}

/* -- start ----------------------------------------------------------------- */

.pr-start {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.pr-startGrid,
.pr-gate,
.pr-card,
.pr-disclaimer {
  border: 1px solid var(--pr-border);
  background: var(--pr-panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pr-startGrid {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
}

@media (min-width: 900px) {
  .pr-startGrid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.pr-ticks {
  display: grid;
  gap: 10px;
  margin: 18px 0 0 !important;
  padding: 0;
  list-style: none;
}

.pr-ticks li {
  position: relative;
  padding-left: 32px;
}

.pr-ticks li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 18px no-repeat,
    var(--silver-50);
}

.pr-startAction .pr-primary {
  width: 100%;
}

/* An example of the report, where the button column had nothing: the score
   counts up, the marker slides along the meter and settles, and the six
   forces come in red, amber or green, as yours will. */
.pr-sample {
  margin-bottom: 22px;
  padding: 20px 22px 18px;
  border: 1px dashed rgba(195, 200, 208, 0.26);
  border-radius: 18px;
}

.pr-sample__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.pr-sample__tag {
  font-family: var(--font-arial);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-muted);
}

.pr-sample__band {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: #e2a72e;
}

.pr-sample__score {
  margin: 6px 0 0 !important;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pr-sample__score span {
  margin-left: 3px;
  font-size: 0.3em;
  color: var(--pr-muted);
}

.pr-sample__meter {
  position: relative;
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3fae6a, #e2a72e 50%, #d9573f);
}

.pr-sample__marker {
  position: absolute;
  top: 50%;
  left: var(--at, 0%);
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 3px solid #0c0c0d;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px #fff;
  transition: left 1.6s cubic-bezier(0.34, 1.32, 0.5, 1);
}

.pr-sample__forces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 0 !important;
  padding: 0;
  list-style: none;
}

.pr-sample__forces li {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-family: var(--font-arial);
  font-size: 11px;
  color: var(--pr-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
  transition-delay: calc(0.9s + var(--i) * 0.12s);
}

.pr-sample__forces li::before {
  content: "";
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--c);
}

.pr-sample__forces .h { --c: var(--h); }
.pr-sample__forces .m { --c: var(--m); }
.pr-sample__forces .l { --c: var(--l); }

.pr-sample.is-on .pr-sample__forces li {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .pr-sample__marker,
  .pr-sample__forces li {
    transition: none;
  }
}

/* -- question --------------------------------------------------------------- */

.pr-question,
.pr-gate {
  max-width: 720px;
  margin: 0 auto;
}

/* The progress row: stays in place across the questions; only its count
   and fill move on (js/pay-risk-tool.js) */
.pr-progress {
  max-width: 720px;
  margin: 0 auto 24px;
  animation: pr-in 360ms var(--ease) both;
}

.pr-progressRow {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* just arrived: the fill starts where it should, without sliding */
.pr-progress.is-new .pr-barFill {
  transition: none;
}

.pr-count {
  flex: none;
  font-family: var(--font-arial);
  font-size: 14px;
  color: var(--pr-muted);
  font-variant-numeric: tabular-nums;
}

.pr-bar {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.pr-barFill {
  position: absolute;
  inset: 0;
  background: var(--silver-50);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  transition: transform 0.6s var(--ease);
}

.pr-qText {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.pr-hint {
  margin-top: 10px !important;
  color: var(--pr-muted);
}

.pr-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.pr-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  background: var(--pr-panel);
  color: var(--silver-50);
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 150ms var(--ease),
    background-color 150ms var(--ease);
}

.pr-option:hover {
  border-color: rgba(195, 200, 208, 0.45);
}

.pr-option[aria-checked="true"] {
  border-color: var(--silver-50);
  background: rgba(255, 255, 255, 0.1);
}

.pr-radio {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(195, 200, 208, 0.55);
  border-radius: 50%;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}

.pr-option[aria-checked="true"] .pr-radio {
  border-color: var(--silver-50);
  background: radial-gradient(circle, var(--silver-50) 0 5px, transparent 5.5px);
}

/* -- email ------------------------------------------------------------------ */

.pr-gate {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
}

.pr-gate .pr-field {
  display: block;
  margin: 24px 0 0;
}

.pr-gate .pr-field input[aria-invalid="true"] {
  border-bottom-color: var(--error);
}

.pr-gate .pr-consent {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--silver-300);
}

.pr-error {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--error);
}

.pr-gate .pr-primary {
  width: 100%;
  margin-top: 28px;
}

.pr-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* -- report ----------------------------------------------------------------- */

.pr-report {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.pr-reportTitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.pr-scoreCard {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--pr-border);
  border-radius: 24px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(195, 200, 208, 0.14), transparent 60%),
    linear-gradient(160deg, #1c1d20, #0b0b0c 75%);
}

.pr-scoreRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}

.pr-score {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(76px, 10vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.pr-score span {
  margin-left: 4px;
  font-size: 0.3em;
  color: var(--pr-muted);
}

.pr-band {
  font-family: var(--font-hero);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: #fff;
}

.pr-meter {
  position: relative;
  height: 10px;
  margin-top: 24px;
  border-radius: 5px;
  background: linear-gradient(90deg, #3fae6a, #e2a72e 50%, #d9573f);
}

.pr-marker {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #fff;
}

.pr-meterLabels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-arial);
  font-size: 13px;
  color: var(--pr-muted);
}

.pr-summary {
  margin-top: 20px !important;
  font-size: 20px;
  line-height: 1.45;
}

.pr-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .pr-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pr-card {
  padding: 24px;
  border-radius: 20px;
}

.pr-cardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pr-cardHead h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.pr-cardHead .pr-chip {
  margin: 0;
}

.pr-cardIcon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver-50);
}

.pr-cardIcon svg {
  width: 21px;
  height: 21px;
}

.pr-why {
  margin-top: 12px !important;
  font-size: 15px;
  color: var(--pr-muted);
}

.pr-you {
  margin-top: 12px !important;
}

.pr-card h4 {
  margin-top: 16px;
  font-family: var(--font-arial);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-500);
}

.pr-actions {
  display: grid;
  gap: 8px;
  margin: 10px 0 0 !important;
  padding-left: 18px;
  font-size: 16px;
}

.pr-dates {
  display: grid;
  gap: 12px;
  margin: 14px 0 0 !important;
}

.pr-dates div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  font-size: 16px;
}

.pr-dates dt {
  font-weight: 600;
}

.pr-reportActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.pr-disclaimer {
  padding: 18px 20px;
  border-left: 2px solid var(--silver-300);
  border-radius: 6px;
  font-size: 16px;
}

.pr-sources {
  font-size: 14px;
  color: var(--pr-muted);
}

@media (max-width: 479px) {
  .pr-reportActions > * {
    width: 100%;
  }
}

/* -- icons: a badge above each question ----------------------------------- */

.pr-qIcon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver-50);
}

.pr-qIcon svg {
  width: 26px;
  height: 26px;
}

