@import url("colors_and_type.css");

/* Diagnostic page — local styles. Built on PSL design tokens. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: 80px 0; }
.section.hero-section { padding: 96px 0 80px; }
.section.compact { padding: 48px 0; }

/* Diagnostic page — hero + routing read as one continuous section. */
.psl-page[data-screen-label="01 Diagnostic Page (Hi-fi)"] .section.hero-section { padding-bottom: 32px; }
.psl-page[data-screen-label="01 Diagnostic Page (Hi-fi)"] .routing-section.hr-routing-dark { padding-top: 32px; }
.psl-page[data-screen-label="01 Diagnostic Page (Hi-fi)"] .routing-intro { margin-bottom: 56px; }

.bg-white { background: var(--psl-white); }
.bg-off { background: var(--psl-off-white); }
.bg-dark { background: #0D0042; color: var(--psl-white); }
.bg-deep-navy { background: var(--psl-dark-navy); color: var(--psl-white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--psl-white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: flex-end;
  width: 100%;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 15px; font-weight: 500;
  color: var(--psl-dark-navy);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--psl-brand-blue); }
.nav-links a.active { color: var(--psl-brand-blue); }
.nav-cta, .nav-links a.nav-cta {
  background: var(--psl-brand-blue); color: var(--psl-white);
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: all var(--t-fast);
}
.nav-cta:hover, .nav-links a.nav-cta:hover { background: #1D4ED8; color: var(--psl-white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* Mobile hamburger toggle — hidden on desktop */
.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0;
  margin-left: 12px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.nav-mobile-toggle:hover { background: rgba(15,23,42,0.06); }
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--psl-dark-navy);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--psl-white);
  border-top: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 24px rgba(15,23,42,0.06);
  padding: 16px 24px 20px;
  flex-direction: column; gap: 4px;
}
.nav-mobile-panel a {
  font-size: 16px; font-weight: 500;
  color: var(--psl-dark-navy);
  padding: 12px 4px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  text-decoration: none;
}
.nav-mobile-panel a.active { color: var(--psl-brand-blue); }
.nav-mobile-panel a.nav-mobile-cta {
  margin-top: 12px;
  background: var(--psl-brand-blue); color: var(--psl-white);
  text-align: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
}
.nav-mobile-open .nav-mobile-panel { display: flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  border: 0; cursor: pointer;
  transition: all var(--t-fast);
  min-height: 48px;
  white-space: nowrap;
}
.btn-primary { background: var(--psl-brand-blue); color: var(--psl-white); }
.btn-primary:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-on-card {
  background: var(--psl-white);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 280ms ease,
              padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-on-card > [aria-hidden] {
  display: inline-block;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-on-card.blue { color: #2563EB; }
.btn-on-card.purple { color: #A21CAF; }
.btn-on-card:hover {
  transform: translateY(-2px);
  padding-right: 36px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.btn-on-card:hover > [aria-hidden] { transform: translateX(6px); }
/* Lift the button slightly when its parent card is hovered, even before the cursor reaches it */
.routing-card:hover .btn-on-card { box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn-ghost {
  background: transparent;
  color: var(--psl-dark-navy);
  border: 1px solid var(--psl-border-grey);
  padding: 14px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  transition: all var(--t-fast);
}
.btn-ghost:hover { background: var(--psl-off-white); border-color: var(--psl-dark-navy); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--psl-brand-blue);
}
.eyebrow.on-dark { color: #BFD3FF; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 80% at 75% 30%, rgba(124,58,237,0.35) 0%, rgba(13,0,66,0) 60%),
    radial-gradient(50% 60% at 20% 100%, rgba(37,99,235,0.25) 0%, rgba(13,0,66,0) 60%),
    #0D0042;
  color: var(--psl-white);
  position: relative;
  overflow: hidden;
}
/* Faint animated diagnostic gridlines drifting across the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px;
  background-position: 0 0, 0 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 100%);
  pointer-events: none;
  animation: heroGridDrift 36s linear infinite;
  z-index: 0;
}
/* Sweeping scanline that crosses the hero every cycle */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 42%,
      rgba(255,255,255,0.07) 50%,
      transparent 58%,
      transparent 100%);
  background-size: 220% 220%;
  background-position: 120% 50%;
  pointer-events: none;
  animation: heroScan 14s ease-in-out infinite;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero > .container { position: relative; z-index: 1; }

@keyframes heroGridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 110px 110px, 110px 110px; }
}
@keyframes heroScan {
  0%   { background-position: 120% 50%; opacity: 0; }
  20%  { opacity: 1; }
  50%  { background-position: -20% 50%; opacity: 1; }
  70%  { opacity: 0; }
  100% { background-position: -20% 50%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.2cqi, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--psl-white);
  margin: 0;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--psl-sky, #7DA8FF) 60%, var(--psl-violet, #8B5CF6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  margin-top: 24px;
  font-size: 22px; font-weight: 500;
  line-height: 1.4;
  color: #E0E7FF;
  max-width: 600px;
  letter-spacing: -0.005em;
}
.hero-body {
  margin-top: 20px;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
}
.hero-meta {
  display: flex; gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-pricing {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px;
  padding: 10px 18px;
  background: rgba(46,224,176,0.1);
  border: 1px solid rgba(46,224,176,0.3);
  border-radius: 999px;
  font-size: 14px;
}
.hero-pricing-free {
  font-weight: 700;
  color: #6EE7B7;
  letter-spacing: 0.01em;
}
.hero-pricing-divider {
  color: rgba(255,255,255,0.3);
}
.hero-pricing-note {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.hero-meta-item svg { width: 18px; height: 18px; flex-shrink: 0; color: #A78BFA; }

/* Hero visual — diagnostic preview */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
}

.report-card {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(219,234,254,0.95) 0%, rgba(219,234,254,0) 60%),
    radial-gradient(110% 90% at 100% 100%, rgba(191,219,254,0.85) 0%, rgba(191,219,254,0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border: 1px solid rgba(147,197,253,0.55);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(15,23,80,0.35), 0 1px 2px rgba(15,23,80,0.06);
}
.report-card-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.report-card-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #2563EB;
}
.report-card-title {
  font-size: 18px; font-weight: 600;
  color: var(--psl-dark-navy);
  margin-top: 4px;
}
.report-card-tier-inline {
  display: inline-block;
  background: rgba(37,99,235,0.1);
  color: #1D4ED8;
  border: 1px solid rgba(37,99,235,0.25);
  font-size: 10px; font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
.report-card-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background-image: url('assets/graphics/sample-report-headshot.jpeg');
  background-size: 200%;
  background-position: 50% 35%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(15,23,80,0.18), 0 0 0 1px rgba(147,197,253,0.55);
  flex-shrink: 0;
}
.report-score {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 20px;
}
.report-score-num {
  font-size: 56px; font-weight: 700;
  color: var(--psl-white);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.report-score-suffix {
  font-size: 18px; font-weight: 500;
  color: var(--psl-mid-grey);
}
.report-bars {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(15,23,80,0.08);
}
.report-bar-row {
  display: flex; flex-direction: column; gap: 8px;
}
.report-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--psl-dark-navy);
}
.report-bar-label .name { font-weight: 600; }
.report-bar-label .pct { color: var(--psl-mid-grey); font-variant-numeric: tabular-nums; }
.report-bar-track {
  height: 6px;
  background: rgba(15,23,80,0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.report-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB 0%, #60A5FA 100%);
}
.report-bar-fill.constraint {
  background: linear-gradient(90deg, #DB2777 0%, #C026D3 100%);
}
.report-constraint-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: #C026D3;
  background: rgba(192,38,211,0.1);
  padding: 3px 8px;
  border-radius: 5px;
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.report-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(15,23,80,0.08);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--psl-light-grey);
}

/* ---------- Routing cards ---------- */
.routing-section { position: relative; overflow: hidden; }
.routing-bg-decor {
  position: absolute; inset: 0;
  pointer-events: none;
}
.routing-decor-label {
  position: absolute;
  top: 80px; left: 6%;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.32em;
  color: #94A3B8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.routing-decor-vertical {
  position: absolute;
  top: 100px; right: 6%;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em;
  color: #94A3B8;
  writing-mode: vertical-rl;
}
.routing-decor-rings {
  position: absolute;
  bottom: -60px; right: -40px;
  width: 280px; height: 280px;
  opacity: 0.6;
}
.routing-container { position: relative; }
.routing-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.routing-h2 {
  font-size: 40px; font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--psl-dark-navy);
  margin: 16px 0 0;
}
.routing-intro-body {
  margin-top: 16px;
  font-size: 17px; line-height: 1.7;
  color: var(--psl-mid-grey);
}
/* Dark-variant overrides — when the routing section sits on the deep-purple
   page background, flip text colors so the headline + intro stay legible. */
.hr-routing-dark .routing-intro .eyebrow { color: var(--psl-blue-mid); }
.hr-routing-dark .routing-h2 { color: #FFFFFF; }
.hr-routing-dark .routing-intro-body { color: rgba(255,255,255,0.78); }
.routing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.routing-card {
  border-radius: 20px;
  padding: 48px;
  color: var(--psl-white);
  display: flex; flex-direction: column;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.routing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15,23,80,0.45);
}
.routing-card.individual {
  background: linear-gradient(145deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
}
.routing-card.team {
  background: linear-gradient(145deg, #D946EF 0%, #C026D3 50%, #A21CAF 100%);
}
/* Existing top-right glow */
.routing-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}
.routing-card:hover::before {
  transform: translate(-30%, 30%) scale(1.4);
  opacity: 1.2;
}
/* Diagonal sheen that sweeps across on hover */
.routing-card::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 60%,
    transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.routing-card:hover::after {
  left: 140%;
}

.routing-illust {
  width: 100%;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.routing-card:hover .routing-illust {
  transform: translateY(-4px) scale(1.04);
}

.routing-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.routing-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.routing-title {
  font-size: 28px; font-weight: 600;
  color: var(--psl-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.routing-body-1 {
  font-size: 16px; font-weight: 500;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-top: 16px;
}
.routing-body-2 {
  font-size: 14px; font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
}
.routing-cta-row {
  margin-top: auto;
  padding-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.routing-time {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 6px;
}

/* ---------- Section 3 — What the diagnostic evaluates ---------- */
.evaluates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.evaluates-right { padding-top: 8px; }

.domains-list {
  list-style: none;
  padding: 0; margin: 0;
}
.domain-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--psl-border-grey);
}
.domain-item:first-child { border-top: 1px solid var(--psl-border-grey); }
.domain-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--psl-brand-blue);
  color: var(--psl-white);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.domain-name {
  font-size: 18px; font-weight: 600;
  color: var(--psl-dark-navy);
  flex: 1;
}
.domain-meta {
  font-size: 13px; font-weight: 500;
  color: var(--psl-light-grey);
  letter-spacing: 0.02em;
}

.intro-line {
  font-size: 18px; font-weight: 600;
  color: var(--psl-mid-grey);
  margin-bottom: 8px;
}
.section3-body {
  font-size: 16px; line-height: 1.75;
  color: var(--psl-mid-grey);
  margin-top: 32px;
}

.what-you-receive {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0EAFE 100%);
  border-radius: 14px;
  padding: 32px 36px 32px 88px;
  margin-top: 32px;
  box-shadow: 0 1px 3px rgba(37,99,235,0.08), 0 8px 24px rgba(37,99,235,0.06);
}
.what-you-receive::before {
  content: "";
  position: absolute;
  left: 28px; top: 32px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--psl-brand-blue);
  background-image:
    linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
.what-you-receive::after {
  /* envelope/report glyph */
  content: "";
  position: absolute;
  left: 36px; top: 42px;
  width: 24px; height: 20px;
  background:
    linear-gradient(#fff,#fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff,#fff) 0 6px / 70% 2px no-repeat,
    linear-gradient(#fff,#fff) 0 12px / 85% 2px no-repeat,
    linear-gradient(#fff,#fff) 0 18px / 50% 2px no-repeat;
  opacity: 0.95;
  border-radius: 1px;
}
.what-you-receive-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--psl-brand-blue);
  margin-bottom: 8px;
}
.what-you-receive-body {
  font-size: 16px; line-height: 1.65;
  color: #1E3A5F;
}

.section.evaluates-section { padding: 56px 0 16px; }

/* ---------- How it works (improvement) ---------- */
.how-it-works-merged { padding-top: 0; padding-bottom: 56px; }
.section.bg-off + .section.how-it-works-merged { padding-top: 0; margin-top: 0; }
.hiw-divider {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0 18px;
  border-top: 1px solid rgba(20, 20, 60, 0.08);
}
.hiw-divider .eyebrow { margin: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 14px 0;
  margin-top: 28px;
}
.step-card {
  background: #0A0840;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 12px;
  padding: 18px 18px 16px;
  position: relative;
  display: flex; flex-direction: column;
  color: var(--psl-white);
  transition: transform 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(10,8,64,0.45); }
/* Lighter per-step gradients — softer palette, still on color-tinted bases */
.step-card-1 {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(147,197,253,0.6) 0%, rgba(147,197,253,0) 55%),
    radial-gradient(110% 80% at 100% 100%, rgba(96,165,250,0.5) 0%, rgba(96,165,250,0) 55%),
    linear-gradient(160deg, #2A4FA8 0%, #1E3A8A 100%);
}
.step-card-2 {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(110,231,183,0.55) 0%, rgba(110,231,183,0) 55%),
    radial-gradient(110% 80% at 0% 100%, rgba(46,224,176,0.45) 0%, rgba(46,224,176,0) 55%),
    linear-gradient(160deg, #1E7A6F 0%, #115E59 100%);
}
.step-card-3 {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(196,181,253,0.6) 0%, rgba(196,181,253,0) 55%),
    radial-gradient(110% 80% at 100% 0%, rgba(167,139,250,0.5) 0%, rgba(167,139,250,0) 55%),
    linear-gradient(160deg, #5B3FB8 0%, #3F2D8A 100%);
}
.step-card-4 {
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(216,180,254,0.55) 0%, rgba(216,180,254,0) 55%),
    radial-gradient(110% 80% at 0% 0%, rgba(167,139,250,0.5) 0%, rgba(167,139,250,0) 55%),
    linear-gradient(160deg, #6D4FB8 0%, #4C3A9A 100%);
}
.step-card .step-num { color: rgba(255, 255, 255, 0.85); }
.step-card-1 .step-num { color: #93C5FD; }
.step-card-2 .step-num { color: #6EE7B7; }
.step-card-3 .step-num { color: #C4B5FD; }
.step-card-4 .step-num { color: #DDD6FE; }
.step-card .step-icon { color: var(--psl-white); }
.step-card .step-title { color: var(--psl-white); }
.step-card .step-body { color: rgba(255, 255, 255, 0.78); }
.step-card .step-time { color: rgba(255, 255, 255, 0.55); }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  align-self: center;
  position: relative;
}
.step-arrow svg { overflow: visible; }
.step-arrow-1, .step-arrow-2, .step-arrow-3 { color: rgba(37, 99, 235, 0.55); }
@keyframes stepArrowFlow_DEPRECATED {
  0%   { stroke-dashoffset: 60; opacity: 0; }
  20%  { opacity: 1; }
  60%  { stroke-dashoffset: 0;  opacity: 1; }
  85%  { stroke-dashoffset: 0;  opacity: 1; }
  100% { stroke-dashoffset: -60; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step-arrow svg path {
    /* arrow no longer animates — kept selector for any legacy targeting */
  }
}
.step-num {
  font-size: 11px; font-weight: 700;
  color: var(--psl-brand-blue);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.step-icon {
  width: 26px; height: 26px;
  margin-bottom: 10px;
  color: var(--psl-dark-navy);
}
.step-title {
  font-size: 15px; font-weight: 600;
  color: var(--psl-dark-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}
.step-body {
  font-size: 13px; line-height: 1.55;
  color: var(--psl-mid-grey);
}
.step-time {
  margin-top: 12px;
  font-size: 11px; font-weight: 600;
  color: var(--psl-light-grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Trust band ---------- */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.trust-stat-num {
  font-size: 48px; font-weight: 700;
  color: var(--psl-dark-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.trust-stat-label {
  font-size: 16px; font-weight: 600;
  color: var(--psl-dark-navy);
  margin-bottom: 6px;
}
.trust-stat-desc {
  font-size: 14px; line-height: 1.6;
  color: var(--psl-light-grey);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
}
.faq-contact-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px; font-weight: 600;
  color: var(--psl-brand-blue);
  transition: color var(--t-fast);
}
.faq-contact-link:hover { color: #1D4ED8; }
.faq-item {
  border-top: 1px solid var(--psl-border-grey);
  border-left: 3px solid transparent;
  padding-left: 0;
  transition: all var(--t-fast);
}
.faq-item:last-child { border-bottom: 1px solid var(--psl-border-grey); }
.faq-item.open {
  background: var(--psl-off-white);
  border-left-color: var(--psl-brand-blue);
  padding-left: 21px;
}
.faq-button {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-q {
  font-size: 18px; font-weight: 600;
  color: var(--psl-dark-navy);
}
.faq-toggle {
  font-size: 22px; font-weight: 300;
  color: var(--psl-brand-blue);
  transition: transform var(--t-accordion);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-body {
  padding: 0 0 24px;
  font-size: 16px; line-height: 1.7;
  color: var(--psl-mid-grey);
  max-width: 720px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0D0042;
  color: rgba(255,255,255,0.55);
  padding: 48px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.footer-brand p {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-top: 24px;
  max-width: 360px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--psl-white);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul.footer-quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--psl-white); }
.footer-contact-row {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
}
.footer-contact-row svg { color: rgba(255,255,255,0.55); flex-shrink: 0; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-left {
  display: flex; align-items: center; gap: 24px;
}
.footer-bottom-left a {
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}
.footer-bottom-left a:hover { color: #fff; }
.footer-social {
  display: flex; gap: 6px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.footer-social a svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
/* Use container queries when wrapped in .psl-page so each artboard responds to
   its own width, not the iframe viewport. */
.psl-page { container-type: inline-size; container-name: pslpage; }

@container pslpage (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: 2; }
  .routing-grid { grid-template-columns: 1fr; }
  .hr-routing-grid { grid-template-columns: 1fr; gap: 20px; }
  .hr-route { padding: 36px 32px; }
  .hr-route-t { font-size: 24px; }
  .hr-route-b { font-size: 14px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .trust-band { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .evaluates-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@container pslpage (max-width: 767px) {
  .section { padding: 56px 0; }
  .section.hero-section { padding: 48px 0 24px; }
  .hero h1 { font-size: 44px; line-height: 1.05; }
  .hero-sub { font-size: 18px; margin-top: 18px; }
  .hero-body { font-size: 15px; margin-top: 14px; }
  .hero-pricing { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .hero-pricing-note { font-size: 13px; }
  .hero-meta { gap: 18px; flex-wrap: wrap; margin-top: 24px; }
  .hero-meta-item { font-size: 13px; }
  .report-card { padding: 24px; }
  .report-score-num { font-size: 56px; }
  .report-card-photo { width: 44px; height: 44px; }
  .routing-card { padding: 32px; min-height: auto; }
  .hr-route { padding: 28px 24px; }
  .hr-route-t { font-size: 22px; }
  .hr-route-cta-bar { padding: 14px 18px; }
  .hr-route-cta-bar-text { font-size: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-arrow { display: flex; transform: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-mobile-toggle { display: flex; }
}

@container pslpage (max-width: 540px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.025em; }
  .hero-sub { font-size: 16px; }
  .hero-body { font-size: 14px; line-height: 1.6; }
  .hero-pricing { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; border-radius: 12px; }
  .hero-pricing-divider { display: none; }
  .hero-pricing-note { font-size: 12px; }
  .hero-meta { gap: 14px; margin-top: 20px; }
  .hero-meta-item { font-size: 12px; gap: 8px; }
  .hero-meta-item svg { width: 14px; height: 14px; }
  .report-card { padding: 20px; border-radius: 18px; }
  .report-card-header { gap: 12px; margin-bottom: 16px; }
  .report-card-title { font-size: 16px; }
  .report-card-photo { width: 36px; height: 36px; }
  .report-score-num { font-size: 44px; }
  .report-score-suffix { font-size: 13px; }
  .report-bar-label { font-size: 12px; }
  .report-constraint-tag { font-size: 9px; padding: 2px 6px; }
  .nav-links { gap: 14px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .hr-routing-dark { padding: 64px 0; }
  .hr-routing-h2, .routing-h2 { font-size: 26px; }
  .routing-intro-body { font-size: 14px; }
}

/* Fallback for viewport when not in an artboard (raw page view) */
@media (max-width: 1023px) {
  body:not(:has(.psl-page)) .hero-grid,
  body:not(:has(.psl-page)) .routing-grid { grid-template-columns: 1fr; }
}


/* =====================================================================
   PSL HOME — REFINED (matches mayers-club.webflow.io section outline)
   Sections: hr-hero · hr-clients · hr-breaks · hr-system · hr-principles
            · hr-routing · hr-finalcta · hr-faq
   Container queries scoped to .psl-page (responsive within artboards).
   ===================================================================== */

.psl-page { container-type: inline-size; container-name: pslpage; position: relative; }
.eyebrow-blue { color: var(--psl-brand-blue); }
.eyebrow-blue-mid { color: var(--psl-blue-mid); }

.btn-accent {
  background: var(--accent); color: var(--accent-on);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(46,224,176,0.3); }

.btn-ghost-on-dark {
  background: transparent; color: var(--psl-white);
  border: 1px solid rgba(255,255,255,0.32);
}
.btn-ghost-on-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
}

/* ---- 01 HERO ---- */
.hr-hero {
  position: relative;
  background: #15152C;
  background-image:
    radial-gradient(900px 540px at 78% 28%, rgba(124,58,237,0.32) 0%, transparent 60%),
    radial-gradient(700px 480px at 12% 78%, rgba(37,99,235,0.28) 0%, transparent 60%),
    linear-gradient(180deg, #15152C 0%, #0E0E22 100%);
  color: var(--psl-white);
  padding: 112px 0 0;
  overflow: hidden;
}

/* Video-backed hero variant — full-bleed looping mp4 with darkening veil */
.hr-hero--video { background: #0A0A1F; overflow: hidden; }
.hr-hero-video {
  position: absolute;
  /* Over-cover by 1px on every edge so sub-pixel rounding never exposes a
     hairline seam at the bottom of the video (visible against the section
     below on certain frames). */
  inset: -1px;
  width: calc(100% + 2px); height: calc(100% + 2px);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* gentle drift on top of video's own motion */
  animation: hr-hero-video-breathe 22s ease-in-out infinite;
  filter: saturate(1.05) contrast(1.02);
}
@keyframes hr-hero-video-breathe {
  0%, 100% { transform: scale(1.04); }
  50%      { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hr-hero-video { animation: none; transform: scale(1.04); }
}
.hr-hero-video-veil {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 50% 30%, rgba(13,0,66,0.15) 0%, rgba(13,0,66,0.4) 70%, rgba(10,10,31,0.7) 100%),
    linear-gradient(180deg, rgba(10,10,31,0.25) 0%, rgba(10,10,31,0.18) 40%, rgba(10,10,31,0.6) 100%);
}
.hr-hero--video .hr-hero-overlay {
  z-index: 2;
  opacity: 0.25;
}
.hr-hero--video .hr-hero-inner,
.hr-hero--video .hr-hero-trusted { position: relative; z-index: 3; }

/* ===== Site-wide polish — scroll progress, reveals, smooth motion ===== */
.psl-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2EE0B0 0%, #4644B9 50%, #7C3AED 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(70,68,185,0.45);
  transition: transform 0.08s linear;
}
.psl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1),
              transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
  transition-delay: calc(var(--psl-reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}
.psl-reveal-in { opacity: 1; transform: translateY(0); }
.psl-reveal.psl-reveal-slide-r { transform: translateX(56px); }
.psl-reveal.psl-reveal-slide-r.psl-reveal-in { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .psl-reveal { opacity: 1; transform: none; transition: none; }
  .psl-scroll-progress { display: none; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== First-load splash ===== */
.psl-splash {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #F4F4F8 100%);
  z-index: 10000;
  display: grid; place-items: center;
  transition: opacity 0.6s cubic-bezier(0.2,0.7,0.2,1), visibility 0.6s;
}
.psl-splash-out { opacity: 0; visibility: hidden; pointer-events: none; }
.psl-splash-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.psl-splash-logo {
  display: block;
  width: clamp(120px, 15vw, 160px);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  animation: psl-splash-logo-in 0.9s cubic-bezier(0.2,0.7,0.2,1) 0.05s forwards;
  filter: drop-shadow(0 10px 30px rgba(15,17,52,0.08));
}
@keyframes psl-splash-logo-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.psl-splash-line {
  position: absolute;
  bottom: 30%; left: 50%; transform: translateX(-50%);
  width: min(260px, 56vw); height: 3px;
  border-radius: 999px;
  background: rgba(15,17,52,0.1);
  overflow: hidden;
}
.psl-splash-fill {
  display: block;
  width: 0%; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #19E6C4, #4644B9);
  transition: width 0.18s cubic-bezier(0.4,0,0.2,1);
}
.psl-splash-pct {
  position: absolute;
  bottom: calc(30% - 28px); left: 50%; transform: translateX(-50%);
  font-family: "Mona Sans", -apple-system, sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(15,17,52,0.5);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 540px) {
  .psl-splash-logo { width: clamp(110px, 36vw, 140px); }
  .psl-splash-line { width: min(220px, 70vw); bottom: 32%; }
  .psl-splash-pct { bottom: calc(32% - 26px); }
}
@media (prefers-reduced-motion: reduce) {
  .psl-splash-logo { opacity: 1; transform: none; animation: none; }
  .psl-splash-fill { transition: none; }
}

/* ===== Page-transition curtain ===== */
.psl-curtain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: linear-gradient(120deg, #0D0042 0%, #19E6C4 50%, #0D0042 100%);
  background-size: 300% 100%;
  background-position: 0% 0%;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.7,0,0.3,1);
}
.psl-curtain-in {
  transform: translateY(0);
  animation: psl-curtain-shimmer 0.5s cubic-bezier(0.7,0,0.3,1);
}
@keyframes psl-curtain-shimmer {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 0%; }
}
@media (prefers-reduced-motion: reduce) { .psl-curtain { display: none; } }

/* ===== Cursor-trailing hero glow ===== */
.psl-hero-glow {
  position: absolute;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,230,196,0.32) 0%, rgba(25,230,196,0.12) 35%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .psl-hero-glow { display: none; } }

/* ===== Magnetic CTA — smoothing ===== */
.btn-accent, .m-btn-primary, .nav-cta {
  transition: transform 0.32s cubic-bezier(0.2,0.7,0.2,1),
              background 0.2s ease, box-shadow 0.2s ease;
}

/* ===== Section-aware nav highlight ===== */
.nav-links a.psl-nav-active,
.m-nav-link.psl-nav-active {
  color: #19E6C4 !important;
  position: relative;
}
.nav-links a.psl-nav-active::after,
.m-nav-link.psl-nav-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #19E6C4, #4644B9);
  border-radius: 1px;
  animation: psl-nav-underline 0.4s ease-out;
}
@keyframes psl-nav-underline {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

.hr-hero-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}
.hr-hero-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.hr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(46,224,176,0.08);
  border: 1px solid rgba(46,224,176,0.28);
  border-radius: 999px;
}
.hr-hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46,224,176,0.16);
}
.hr-hero-h {
  margin-top: 24px;
  font-size: 60px; line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--psl-white);
  text-wrap: balance;
}
.hr-hero-h-tail {
  display: inline;
  margin-top: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  font-style: normal;
  text-wrap: balance;
  background-image:
    linear-gradient(110deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,0.95) 47%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.95) 53%,
      transparent 62%,
      transparent 100%
    ),
    linear-gradient(120deg, var(--accent) 0%, var(--psl-sky, #7DA8FF) 50%, var(--psl-violet, #8B5CF6) 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: -120% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hr-tail-shine 5.5s ease-in-out 1.5s infinite;
}
@keyframes hr-tail-shine {
  0%   { background-position: -120% 0, 0 0; }
  60%  { background-position: 220% 0, 0 0; }
  100% { background-position: 220% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-hero-h-tail { animation: none; background-position: 220% 0, 0 0; }
}
.hr-hero-sub {
  margin: 32px auto 0;
  max-width: 880px;
  font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.hr-hero-actions {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hr-hero-actions .btn {
  font-size: 13px;
  padding: 9px 18px;
  min-height: 38px;
  border-radius: 8px;
}
.hr-hero-actions .btn-accent {
  background: var(--psl-brand-blue);
  color: var(--psl-white);
}
.hr-hero-actions .btn-accent:hover {
  background: #1D4ED8;
  box-shadow: 0 6px 18px rgba(37,99,235,0.3);
}
.hr-hero-actions .btn-ghost-on-dark {
  color: var(--psl-white);
  border-color: rgba(255,255,255,0.32);
}
.hr-hero-meta {
  margin-top: 36px;
  display: inline-flex; align-items: center; flex-wrap: wrap;
  gap: 18px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.hr-hero-meta-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.hr-hero-meta-item svg { color: var(--accent); flex-shrink: 0; }
.hr-hero-meta-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.18);
}

/* In-hero "Engagements include" strip — static, monochrome, no motion.
   Replaces the looping marquee that previously sat below the hero, and
   replaces the in-hero stat strip that used to sit here. Inspired by
   emagine.org: quiet credibility, white logos at ~70% opacity. */
.hr-hero-trusted {
  position: relative;
  margin-top: 6px;
  padding: 0;
}
.hr-hero-trusted-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.hr-hero-trusted-label {
  flex-shrink: 0;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0;
}
.hr-hero-trusted-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.hr-hero-trusted-logo {
  display: inline-flex; align-items: center; justify-content: center;
  /* Each logo gets a fixed BOX so optical sizes stay even — a 36px
     vertical viewing window with the contents scaled to contain. */
  height: 36px;
  flex-shrink: 0;
  opacity: 0.75;
}
.hr-hero-trusted-logo img,
.hr-hero-trusted-logo svg {
  display: block;
  height: 100%; width: auto;
  max-height: 100%;
  object-fit: contain;
}
.hr-hero-trusted-logo img {
  /* Force any colour logo PNG to render white. SVG marks are already
     white so they don't need the filter. */
  filter: brightness(0) invert(1);
}
/* Per-logo height nudges — normalize optical weight because the source
   PNGs / SVG viewBoxes have very different aspect ratios. */
.hr-hero-trusted-logo--hsbc      { height: 28px; }
.hr-hero-trusted-logo--santander { height: 44px; }
.hr-hero-trusted-logo--lloyds    { height: 26px; }
.hr-hero-trusted-logo--vodafone  { height: 28px; }
.hr-hero-trusted-logo--natura    { height: 20px; }

/* ---- 02 STATS BAND (was: client marquee) ----
   Quiet, low-prominence credibility band on dark navy — continues the
   hero feel into the next section. Big number, one-line label, no third
   descriptive line. */
.hr-stats {
  background: var(--psl-dark-navy);
  border-bottom: none;
  padding: 24px 0;
  color: var(--psl-white);
}
.hr-stats-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: center;
}
.hr-stat {
  position: relative;
  padding-left: 16px;
  display: flex; align-items: baseline; gap: 12px;
  min-height: 24px;
}
.hr-stat-rule {
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(46, 224, 176, 0.4);
}
.hr-stat-n {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; color: var(--psl-white);
}
.hr-stat-l {
  font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ---- 02 CLIENT MARQUEE (REMOVED)
   The hr-clients marquee was retired in favour of:
     · a static, monochrome "Engagements include" strip inside the hero
       (.hr-hero-trusted), and
     · a static stats band on the off-white background (.hr-stats).
   The .hr-clients-* rules are intentionally left out of the stylesheet —
   nothing should reference them.
   ---- */

/* ---- 03 WHERE PERFORMANCE BREAKS DOWN ---- */
.hr-breaks {
  position: relative;
  background: linear-gradient(135deg, #0F1A4A 0%, #1E40AF 45%, #1D4ED8 75%, #2A2563 100%);
  color: var(--psl-white);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hr-breaks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 20%, rgba(125,168,255,0.22), transparent 65%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(46,224,176,0.10), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(99,102,241,0.18), transparent 70%);
  pointer-events: none;
}
.hr-breaks .container { position: relative; z-index: 1; }
.hr-breaks-head { max-width: 760px; margin: 0 0 48px; }
.hr-breaks-head .eyebrow { color: var(--accent); }
.hr-breaks-h {
  margin-top: 0;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.022em;
  font-weight: 500; color: var(--psl-white);
  text-wrap: balance;
}
/* === SITE TYPOGRAPHY STANDARD ===
   Section headings: weight 600 (semibold) site-wide.
   Emphasis: .hr-h-accent = canonical teal→blue→violet gradient, italic. */
.hero h1,
.routing-h2, .hr-routing-h2,
.hr-route-h, .hr-principle-h, .hr-domain-t,
.hr-breaks-h, .hr-system-h, .hr-min-h, .hr-cta-h,
.hr-min-system-h, .hr-min-breaks-h, .hr-min-section-h {
  font-weight: 600;
}
.hr-h-accent {
  background: linear-gradient(120deg, #0FB388 0%, #2563EB 55%, #8936FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  font-weight: inherit;
}
/* Quiet emphasis: solid blue italic, same weight as the heading. */
.hr-accent-blue {
  color: #1F4DD8;
  font-style: italic;
  font-weight: inherit;
}
.hr-breaks-sub {
  margin-top: 24px;
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
}
.hr-breaks-sub strong { color: var(--psl-white); font-weight: 600; }

.hr-breaks-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.hr-breaks-list { display: flex; flex-direction: column; gap: 8px; }
.hr-break-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.6);
  transition: all var(--t-fast);
}
.hr-break-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
  transform: translateX(2px);
}
.hr-break-item { cursor: pointer; }
.hr-illu-scene {
  animation: hrIlluFade 0.45s cubic-bezier(0.2,0.7,0.2,1);
  transform-origin: 50% 50%;
}
@keyframes hrIlluFade {
  from { opacity: 0; transform: translateY(6px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hr-breaks-photo-tag {
  animation: hrTagFade 0.45s cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes hrTagFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hr-break-item.active {
  background: rgba(46,224,176,0.08);
  border-color: rgba(46,224,176,0.4);
  color: var(--psl-white);
}
.hr-break-num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
}
.hr-break-item:not(.active) .hr-break-num { color: rgba(255,255,255,0.35); }
.hr-break-t {
  font-size: 19px; line-height: 1.4; font-weight: 600;
  color: inherit; letter-spacing: -0.005em;
  text-wrap: pretty;
}
/* Yellow accent used inside breakdown-card titles to emphasise the
   structural punchline (matches the amber em treatment used on the
   PSL social-carousel sheet headers). NOTE: on HomeMinimal we override
   this to brand blue via `.hr-min .hr-break-accent`. */
.hr-break-accent {
  font-style: italic;
  font-weight: 600;
  color: #FBBF24;
}
.hr-break-d {
  margin-top: 12px;
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

.hr-breaks-photo { position: sticky; top: 96px; }
.hr-breaks-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hr-photo-svg {
  display: block; width: 100%; height: auto;
}
.hr-breaks-photo-tag {
  position: absolute; bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--psl-white);
  letter-spacing: 0.02em;
}
.hr-breaks-photo-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46,224,176,0.18);
}
.hr-breaks-photo-caption {
  margin-top: 12px;
  font-size: 11px; line-height: 1.5;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ---- 04 PSL PERFORMANCE SYSTEM ---- */
.hr-system {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(37,99,235,0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(139,92,246,0.05), transparent 65%),
    linear-gradient(180deg, #FAFBFE 0%, #FFFFFF 40%, #F7F8FC 100%);
  overflow: hidden;
}
.hr-system-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
/* Centred-stack head variant — title, tags, then paragraph all stacked
   on a single column. Used when the sport photo lives in the grid
   below, so the head returns to its compact, balanced form. */
.hr-system-head--centered {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto 48px;
}
.hr-system-head--centered .hr-system-h { margin-top: 8px; max-width: 760px; }
.hr-system-head--centered .hr-system-tags { justify-content: center; margin-top: 6px; }
.hr-system-head--centered .hr-system-sub { margin-top: 10px; max-width: 720px; text-wrap: pretty; }

/* Paired head variant — text on the left, rugby photo on the right.
   Matches the rings/domains split in the grid below so the whole
   section reads as a balanced 2×2 layout. */
.hr-system-head--paired {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}
.hr-system-head--paired .hr-system-head-text {
  display: flex; flex-direction: column;
  gap: 16px;
}
.hr-system-head--paired .hr-system-h { margin-top: 4px; }
.hr-system-head--paired .hr-system-sub { margin-top: 6px; max-width: none; }
.hr-system-head-left { max-width: 720px; }
.hr-system-head-right {
  margin-top: 0;
  display: block;
}
.hr-system-h {
  margin-top: 16px;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.022em;
  color: var(--psl-dark-navy); font-weight: 500;
  text-wrap: balance;
}
.hr-system-sub {
  font-size: 17px; line-height: 1.7;
  color: var(--psl-mid-grey);
  max-width: none;
}

/* First-mention sport photo — sits in the RIGHT half of the head row,
   paired with the eyebrow/title/paragraph on the left. The whole image
   sits inside its own column so heights are even with the text block. */
.hr-system-rings-col {
  display: flex; flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.hr-system-sport {
  margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.hr-system-sport img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 14px 32px -16px rgba(13, 0, 66, 0.18),
    0 2px 6px rgba(13, 0, 66, 0.04);
}
.hr-system-sport figcaption {
  display: flex; flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid #2EE0B0;
}
.hr-system-sport-caption-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #1FA77E;
}
.hr-system-sport-caption-text {
  font-size: 14px; line-height: 1.55;
  color: var(--psl-light-grey);
  text-wrap: pretty;
}
.hr-system-sport-caption-text em {
  font-style: italic;
  color: var(--psl-mid-grey);
}
.hr-system-tags {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hr-system-tag {
  font-family: var(--font-display, 'Sequel Sans', sans-serif);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--psl-dark-navy);
  padding: 6px 11px;
  border: 1px solid rgba(20,33,61,0.12);
  border-radius: 999px;
  background: rgba(20,33,61,0.02);
  white-space: nowrap;
}
.hr-system-tag-x {
  color: var(--psl-brand-blue);
  font-weight: 700;
  font-size: 16px;
}
.hr-system-tag-op,
.hr-system-tag-eq {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--psl-brand-blue);
}
.hr-system-tag-result {
  background: var(--psl-brand-blue) !important;
  color: var(--psl-white) !important;
  border-color: var(--psl-brand-blue) !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.hr-system-tag-result svg { display: inline-block; }
.hr-system-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hr-system-rings {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}

/* ============================================================
   PSL Performance System — animated rings + flask badge.
   All selectors scoped under .psl-perf-system to avoid bleed.
   ============================================================ */
@font-face {
  font-family: "Mona Sans Custom";
  src: url("assets/fonts/MonaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.psl-perf-system {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
}

/* Shared dot-cursor for hoverable cards (diagnostic routes, pillar
   text boxes, breaks-down items) — same look as the rings cursor. */
.hr-domain,
.hr-route,
.hr-break-item {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><circle cx='17' cy='17' r='11' fill='rgba(15,23,42,0.55)' stroke='white' stroke-width='2.5'/></svg>") 17 17, pointer;
}
.psl-perf-system svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.psl-perf-system .pps-ring {
  transform-box: fill-box;
  /* Scale/rotate around each ring's OWN centre. Using `250px 250px`
     with transform-box: fill-box anchored each ring at a different
     off-centre point (the fill-box top-left differs per radius), so
     scale-pops drifted them sideways and made adjacent rings appear
     to jolt together on click. 50% 50% pins every ring to its own
     centre — they all share the same canvas centre at (250, 250). */
  transform-origin: 50% 50%;
  opacity: 0;
  /* Custom enlarged cursor on rings — a soft solid dot, much bigger
     than the default arrow, so the user can see clearly when their
     mouse is on a hit zone vs. drifting into the inert white gap. */
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><circle cx='17' cy='17' r='11' fill='rgba(15,23,42,0.55)' stroke='white' stroke-width='2.5'/></svg>") 17 17, pointer;
  transition: filter 520ms ease-out, scale 320ms cubic-bezier(.2,.8,.3,1);
}
/* Hit zones — narrow annulus bands matching each ring's painted
   stroke (with a few px tolerance), so the white gaps between
   rings are inert. Pointer events fire only when the cursor is
   over the ring itself. */
.psl-perf-system .pps-ring .pps-hit {
  fill: none;
  stroke: transparent;
  pointer-events: stroke;
}
.psl-perf-system .pps-ring--outer .pps-hit { stroke-width: 48; }
.psl-perf-system .pps-ring--mid   .pps-hit { stroke-width: 44; }
.psl-perf-system .pps-ring--inner .pps-hit { stroke-width: 42; }
.psl-perf-system .pps-ring .pps-stroke,
.psl-perf-system .pps-ring .pps-text { pointer-events: none; }
.psl-perf-system .pps-ring .pps-text {
  font-family: "Mona Sans Custom", "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  fill: #ffffff;
  letter-spacing: 2.4px;
  dominant-baseline: middle;
}
/* Entrance only — once landed, rings stay still. Bubbles below loop forever. */
.psl-perf-system.is-in .pps-ring--outer { animation: ppsRingSpin 1.0s cubic-bezier(.18,.85,.28,1.05) 0s forwards; }
.psl-perf-system.is-in .pps-ring--mid   { animation: ppsRingSpin .95s cubic-bezier(.18,.85,.28,1.05) .12s forwards; }
.psl-perf-system.is-in .pps-ring--inner { animation: ppsRingSpin .9s cubic-bezier(.18,.85,.28,1.05) .24s forwards; }
.psl-perf-system.is-in .pps-core        { animation: ppsCoreSpin 1.2s cubic-bezier(.18,.85,.28,1.02) 0s both; }

@keyframes ppsRingSpin {
  0%   { transform: rotate(-360deg) scale(.55); opacity: 0; }
  35%  { opacity: 1; }
  78%  { transform: rotate(8deg) scale(1.035); opacity: 1; }
  88%  { transform: rotate(-3deg) scale(.992); }
  95%  { transform: rotate(1deg) scale(1.005); }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes ppsCoreSpin {
  0%   { transform: rotate(0deg)   scale(.35); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: rotate(720deg) scale(1);   opacity: 1; }
}

/* Subtle keyboard focus indicator (no movement). */
.psl-perf-system.is-in .pps-ring:focus { outline: none; }
.psl-perf-system.is-in .pps-ring:focus-visible {
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, .35));
}

/* Hover = pure CSS, per-ring. No scale, no glow — just a soft cast
   shadow under the ring so it lifts subtly. Slow transition keeps
   rapid mouse moves between rings calm. */
.psl-perf-system.is-in .pps-ring:hover {
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .35));
  scale: 1.03;
}

.psl-perf-system .pps-core {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
}
.psl-perf-system .pps-bubble {
  fill: #1a1a2e;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity;
}
@keyframes ppsBubble {
  0%   { transform: translateY(4px)    scale(.5);  opacity: 0; }
  8%   {                                            opacity: .95; }
  50%  { transform: translateY(-44px)  scale(1);   opacity: .9; }
  85%  { transform: translateY(-82px)  scale(.85); opacity: .35; }
  100% { transform: translateY(-95px)  scale(.65); opacity: 0; }
}
.psl-perf-system.is-in .pps-bubble       { animation: ppsBubble 3.6s linear infinite; }
.psl-perf-system.is-in .pps-bubble.b1    { animation-duration: 3.1s; animation-delay: -0.05s; }
.psl-perf-system.is-in .pps-bubble.b2    { animation-duration: 3.7s; animation-delay: -0.55s; }
.psl-perf-system.is-in .pps-bubble.b3    { animation-duration: 2.9s; animation-delay: -1.10s; }
.psl-perf-system.is-in .pps-bubble.b4    { animation-duration: 3.4s; animation-delay: -1.65s; }
.psl-perf-system.is-in .pps-bubble.b5    { animation-duration: 3.2s; animation-delay: -2.20s; }
.psl-perf-system.is-in .pps-bubble.b6    { animation-duration: 3.9s; animation-delay: -2.75s; }
.psl-perf-system.is-in .pps-bubble.b7    { animation-duration: 3.0s; animation-delay: -0.30s; }
.psl-perf-system.is-in .pps-bubble.b8    { animation-duration: 3.5s; animation-delay: -0.85s; }
.psl-perf-system.is-in .pps-bubble.b9    { animation-duration: 3.8s; animation-delay: -1.40s; }
.psl-perf-system.is-in .pps-bubble.b10   { animation-duration: 3.3s; animation-delay: -1.95s; }
.psl-perf-system.is-in .pps-bubble.b11   { animation-duration: 3.6s; animation-delay: -2.50s; }
.psl-perf-system.is-in .pps-bubble.b12   { animation-duration: 3.1s; animation-delay: -3.05s; }

@media (prefers-reduced-motion: reduce) {
  .psl-perf-system.is-in .pps-ring--outer,
  .psl-perf-system.is-in .pps-ring--mid,
  .psl-perf-system.is-in .pps-ring--inner,
  .psl-perf-system.is-in .pps-core { animation-duration: .01ms; animation-delay: 0s; }
  .psl-perf-system.is-in .pps-bubble { animation: none; opacity: 0; }
}

.hr-system-domains { display: flex; flex-direction: column; gap: 12px; }
.hr-domain {
  display: block;
  width: 100%;
  text-align: left;
  padding: 28px 28px;
  background: var(--psl-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--t-fast);
  position: relative;
}
.hr-domain:hover {
  border-color: var(--psl-blue-mid);
  background: var(--psl-blue-light);
}
.hr-domain.active {
  border-color: var(--psl-brand-blue);
  background: var(--psl-blue-light);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.hr-domain-head {
  display: flex; align-items: center; gap: 12px;
}
.hr-domain-marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--psl-border-grey);
  flex-shrink: 0;
}
.hr-domain.active .hr-domain-marker { background: var(--psl-brand-blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.18); }
.hr-domain-t {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--psl-dark-navy);
  margin: 0;
}
.hr-domain-k {
  margin-top: 6px;
  margin-left: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--psl-brand-blue);
  text-transform: uppercase;
}
.hr-domain-d {
  margin-top: 14px;
  margin-left: 20px;
  font-size: 15px; line-height: 1.65;
  color: var(--psl-mid-grey);
}
.hr-domain:not(.active) .hr-domain-d { display: none; }
.hr-system-foot {
  margin-top: 16px;
  padding: 24px 28px;
  background: var(--psl-off-white);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 14px; line-height: 1.7;
  color: var(--psl-mid-grey);
}
.hr-system-foot strong { color: var(--psl-brand-blue); font-weight: 700; }

/* ---- 05 PRINCIPLES ---- */
.hr-principles {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F4FB 60%, #E6EDF8 100%);
}
.hr-principles-head {
  display: flex; flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
  align-items: flex-start;
  text-align: left;
  max-width: 880px;
}
.hr-principles-head-left {
  display: contents;
}
.hr-principles-h {
  margin: 0;
  font-size: 48px; line-height: 1.08; letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--psl-dark-navy);
  text-wrap: balance;
  max-width: 880px;
}
.hr-principles-sub {
  font-size: 17px; line-height: 1.6;
  color: var(--psl-mid-grey);
  max-width: 720px;
  margin: 0;
}
.hr-principles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hr-principle {
  background: var(--psl-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.hr-principle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--psl-blue-mid);
}
.hr-principle-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(99,102,241,0.05));
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--psl-brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.hr-principle:hover .hr-principle-icon {
  background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(99,102,241,0.10));
  border-color: rgba(37,99,235,0.32);
  transform: scale(1.04);
}
.hr-principle-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psl-brand-blue);
}
.hr-principle-t {
  margin-top: 12px;
  font-size: 22px; line-height: 1.25; letter-spacing: -0.01em;
  color: var(--psl-dark-navy); font-weight: 700;
}
.hr-principle-b {
  margin-top: 14px;
  font-size: 15px; line-height: 1.65;
  color: var(--psl-mid-grey);
}
.hr-principle-cite {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--psl-light-grey);
  text-transform: uppercase;
}

/* Themed (color-filled) principle cards */
.hr-principle-blue,
.hr-principle-mint,
.hr-principle-violet {
  border: none;
  color: #fff;
  overflow: hidden;
}
.hr-principle-blue,
.hr-principle-mint,
.hr-principle-violet { isolation: isolate; }
.hr-principle-blue::after,
.hr-principle-mint::after,
.hr-principle-violet::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.hr-principle-blue {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B82F6 100%);
  box-shadow: 0 12px 28px -12px rgba(37,99,235,0.5);
}
.hr-principle-mint {
  background: linear-gradient(135deg, #0F4D55 0%, #1A7A6B 55%, #2EE0B0 110%);
  box-shadow: 0 12px 28px -12px rgba(46,224,176,0.4);
}
.hr-principle-violet {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 55%, #8B5CF6 100%);
  box-shadow: 0 12px 28px -12px rgba(139,92,246,0.5);
}

.hr-principle-blue:hover,
.hr-principle-mint:hover,
.hr-principle-violet:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(0,0,0,0.35);
}

/* Themed inner element overrides (white text everywhere) */
.hr-principle-blue .hr-principle-icon,
.hr-principle-mint .hr-principle-icon,
.hr-principle-violet .hr-principle-icon {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.hr-principle-blue:hover .hr-principle-icon,
.hr-principle-mint:hover .hr-principle-icon,
.hr-principle-violet:hover .hr-principle-icon {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}
.hr-principle-blue .hr-principle-tag,
.hr-principle-mint .hr-principle-tag,
.hr-principle-violet .hr-principle-tag {
  color: rgba(255,255,255,0.78);
}
.hr-principle-blue .hr-principle-t,
.hr-principle-mint .hr-principle-t,
.hr-principle-violet .hr-principle-t {
  color: #fff;
}
.hr-principle-blue .hr-principle-b,
.hr-principle-mint .hr-principle-b,
.hr-principle-violet .hr-principle-b {
  color: rgba(255,255,255,0.85);
}
.hr-principle-blue .hr-principle-cite,
.hr-principle-mint .hr-principle-cite,
.hr-principle-violet .hr-principle-cite {
  color: rgba(255,255,255,0.7);
  border-top-color: rgba(255,255,255,0.18);
}
/* Make sure inner content sits above the ::after gradient overlay */
.hr-principle > * { position: relative; z-index: 1; }

/* ---- 06 ROUTING ---- */
.hr-routing {
  padding: 96px 0;
  background: var(--psl-white);
}
/* MERGED dark variant — combined Final CTA + Routing */
.hr-routing-dark {
  position: relative;
  background:
    radial-gradient(60% 80% at 75% 30%, rgba(124,58,237,0.35) 0%, rgba(13,0,66,0) 60%),
    radial-gradient(50% 60% at 20% 100%, rgba(37,99,235,0.25) 0%, rgba(13,0,66,0) 60%),
    #0D0042;
  color: var(--psl-white);
  overflow: hidden;
  padding: 120px 0 56px;
}
.hr-routing-bloom {
  position: absolute; inset: 0;
  background: transparent;
  pointer-events: none;
}
/* Faint animated diagnostic gridlines on the routing dark section.
   Sits ABOVE the bloom layer so the lines remain visible through the glow. */
.routing-section.hr-routing-dark::before {
  content: "";
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px;
  mask-image:
    linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 92%, rgba(0,0,0,0) 100%),
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 92%, rgba(0,0,0,0) 100%),
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  pointer-events: none;
  animation: heroGridDrift 36s linear infinite;
  z-index: 2;
}
.hr-routing-bloom { z-index: 0; mix-blend-mode: screen; opacity: 0.6; }
.hr-routing-dark > .container { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .routing-section.hr-routing-dark::before { animation: none; }
}

.hr-routing-statement {
  max-width: none;
  margin: 0 0 72px;
  text-align: center;
}
.hr-routing-statement-h {
  margin-top: 18px;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.022em;
  color: var(--psl-white); font-weight: 500;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}
.hr-routing-statement-tail {
  display: inline;
  background-image:
    linear-gradient(110deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,0.95) 47%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.95) 53%,
      transparent 62%,
      transparent 100%
    ),
    linear-gradient(120deg, var(--accent) 0%, #5EEAD4 30%, #7DA8FF 60%, var(--psl-violet, #8B5CF6) 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: -120% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hr-tail-shine 5.5s ease-in-out 1.5s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hr-routing-statement-tail { animation: none; background-position: 220% 0, 0 0; }
}
.hr-routing-statement-sub {
  margin: 24px auto 0;
  max-width: 880px;
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

.hr-routing-divider {
  display: flex; align-items: center; gap: 18px;
  max-width: 520px;
  margin: 0 auto 56px;
}
.hr-routing-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.hr-routing-divider-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  white-space: nowrap;
}

.hr-routing-dark .hr-routing-head { max-width: 960px; margin: 0 auto 40px; text-align: center; }
.hr-routing-dark .hr-routing-h { color: var(--psl-white); font-size: 36px; }
.hr-routing-dark .hr-routing-sub { color: rgba(255,255,255,0.72); max-width: 880px; }

.hr-routing-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.hr-routing-h {
  margin-top: 16px;
  font-size: 44px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--psl-dark-navy); font-weight: 700;
}
.hr-routing-sub {
  margin: 20px auto 0;
  font-size: 16px; line-height: 1.7;
  color: var(--psl-mid-grey);
  max-width: 600px;
}
.hr-routing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hr-routing-foot {
  margin-top: 32px;
  display: flex; justify-content: center; align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: var(--psl-off-white);
  border: 1px dashed var(--border);
  border-radius: 999px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.hr-routing-dark .hr-routing-foot {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.hr-routing-foot-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--psl-blue-light);
  color: var(--psl-brand-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hr-routing-dark .hr-routing-foot-icon {
  background: rgba(37,99,235,0.22);
  color: var(--psl-blue-mid);
}
.hr-routing-foot-text {
  font-size: 14px; line-height: 1.55;
  color: var(--psl-mid-grey);
}
.hr-routing-dark .hr-routing-foot-text { color: rgba(255,255,255,0.7); }
.hr-routing-foot-text strong { color: var(--psl-dark-navy); font-weight: 600; }
.hr-routing-dark .hr-routing-foot-text strong { color: var(--psl-white); }
.hr-routing-foot-link {
  font-size: 14px; font-weight: 600;
  color: var(--psl-brand-blue);
  white-space: nowrap;
}
.hr-routing-dark .hr-routing-foot-link { color: var(--psl-blue-mid); }
.hr-route {
  display: block;
  position: relative;
  border-radius: 16px;
  padding: 40px 40px 96px;
  color: var(--psl-white);
  isolation: isolate;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.hr-route::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
          mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: 2;
}
.hr-route::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: 1;
}
.hr-route > * { position: relative; z-index: 2; }
.hr-route:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.5);
}
.hr-route:hover::before { opacity: 1; }
.hr-route:hover::after  { opacity: 1; }
.hr-route-ind {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B82F6 100%);
  box-shadow: 0 12px 28px -12px rgba(37,99,235,0.5);
}
.hr-route-team {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 55%, #8B5CF6 100%);
  box-shadow: 0 12px 28px -12px rgba(139,92,246,0.5);
}
.hr-route-ind:hover  { box-shadow: 0 32px 70px -16px rgba(37,99,235,0.55), 0 0 0 1px rgba(125,168,255,0.4); }
.hr-route-team:hover { box-shadow: 0 32px 70px -16px rgba(139,92,246,0.55), 0 0 0 1px rgba(196,181,253,0.4); }

.hr-route-illust {
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 28px;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), background 320ms ease;
}
.hr-route:hover .hr-route-illust {
  background: rgba(0,0,0,0.28);
  transform: scale(1.02);
}
.hr-route-cta {
  transition: gap 320ms ease, color 320ms ease;
}
.hr-route:hover .hr-route-cta { gap: 14px; }
.hr-route-cta svg, .hr-route-cta::after { transition: transform 320ms ease; }
.hr-route:hover .hr-route-cta svg { transform: translateX(4px); }
.hr-route-cta-bar {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  margin-bottom: 0;
  transition: background 240ms ease, gap 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 3;
}
.hr-route-cta-bar-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--psl-white);
}
.hr-route-cta-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--psl-white);
  width: 24px; height: 24px;
  transform: translateY(0);
  transition: transform 240ms ease;
  animation: hr-cta-click 2.6s ease-in-out 1.2s infinite;
}
.hr-route-cta-bar-icon svg { width: 22px; height: 22px; }
@keyframes hr-cta-click {
  0%, 60%, 100% { transform: translate(0, 0) scale(1); }
  68%           { transform: translate(2px, 2px) scale(0.86); }
  76%           { transform: translate(0, 0) scale(1); }
  84%           { transform: translate(2px, 2px) scale(0.86); }
  92%           { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hr-route-cta-bar-icon { animation: none; }
}
.hr-route:hover .hr-route-cta-bar {
  background: rgba(255,255,255,0.28);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  gap: 14px;
}
.hr-route:hover .hr-route-cta-bar-icon {
  animation: none;
  transform: translate(2px, -2px) rotate(-6deg);
}
.hr-route-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hr-route-tagdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,224,176,0.25);
}
.hr-route-t {
  margin-top: 16px;
  font-size: 28px; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--psl-white); font-weight: 700;
}
.hr-route-b {
  margin-top: 14px;
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.hr-route-foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.hr-route-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: var(--psl-white);
}
.hr-route-time {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---- 07 FINAL CTA ---- */
.hr-finalcta {
  position: relative;
  padding: 120px 0;
  background: #16093E;
  color: var(--psl-white);
  overflow: hidden;
}
.hr-finalcta-bloom {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 480px at 25% 50%, rgba(124,58,237,0.5) 0%, transparent 60%),
    radial-gradient(560px 380px at 80% 70%, rgba(37,99,235,0.32) 0%, transparent 65%);
  pointer-events: none;
}
.hr-finalcta-inner {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hr-finalcta-content { max-width: 640px; }
.hr-finalcta-h {
  margin-top: 16px;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; color: var(--psl-white);
  text-wrap: balance;
}
.hr-finalcta-sub {
  margin-top: 24px;
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.hr-finalcta-actions {
  margin-top: 36px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.hr-finalcta-secondary {
  font-size: 15px; font-weight: 600;
  color: var(--psl-blue-mid);
  transition: color var(--t-fast);
}
.hr-finalcta-secondary:hover { color: var(--psl-white); }
.hr-finalcta-graphic {
  display: flex; align-items: center; justify-content: center;
  max-width: 320px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ---- 08 FAQ ---- */
.hr-faq {
  padding: 120px 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(37,99,235,0.20) 0%, rgba(13,0,66,0) 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(124,58,237,0.14) 0%, rgba(13,0,66,0) 60%),
    #0D0042;
  color: var(--psl-white);
}
.hr-faq-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
}
.hr-faq .eyebrow,
.hr-faq .eyebrow-blue { color: var(--accent); }
.hr-faq-h {
  margin-top: 16px;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; color: var(--psl-white);
  text-wrap: balance;
}
.hr-faq-sub {
  margin-top: 20px;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 360px;
}
.hr-faq-contact {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 15px; font-weight: 600;
  color: var(--accent);
  transition: color var(--t-fast);
}
.hr-faq-contact:hover { color: var(--accent-hover); }
.hr-faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.hr-faq-button {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 24px 0;
  background: none; border: 0;
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 600; line-height: 1.4;
  color: var(--psl-white);
  text-align: left; cursor: pointer;
  letter-spacing: -0.005em;
}
.hr-faq-button:hover { color: var(--accent); }
.hr-faq-toggle {
  font-size: 24px; font-weight: 400; line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.hr-faq-body {
  padding: 0 0 28px;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

/* =====================================================================
   RESPONSIVE — container queries scoped to .psl-page
   ===================================================================== */
@container pslpage (max-width: 1023px) {
  .hr-hero { padding: 80px 0 0; }
  .hr-hero-h { font-size: 48px; }
  /* .hr-hero-h-tail inherits font-size from .hr-hero-h — both halves
     of the headline render at the same size on tablet/mobile. */

  /* In-hero trusted strip — stack label above logos on tablet. */
  .hr-hero-trusted { margin-top: 18px; }
  .hr-hero-trusted-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hr-hero-trusted-row { gap: 28px 36px; }
  .hr-hero-trusted-logo--hsbc      { height: 26px; }
  .hr-hero-trusted-logo--santander { height: 30px; }
  .hr-hero-trusted-logo--lloyds    { height: 22px; }
  .hr-hero-trusted-logo--vodafone  { height: 26px; }
  .hr-hero-trusted-logo--natura    { height: 17px; }

  /* Stats band — stack to one column on tablet, even quieter. */
  .hr-stats { padding: 18px 0; }
  .hr-stats-inner { grid-template-columns: 1fr; gap: 12px; }
  .hr-stat { padding-left: 14px; }
  .hr-stat-n { font-size: 20px; }
  .hr-stat-l { font-size: 13px; }

  .hr-breaks { padding: 56px 0 64px; }
  .hr-breaks-h { font-size: 40px; }
  .hr-breaks-grid { grid-template-columns: 1fr; gap: 40px; }
  .hr-breaks-photo { position: static; }

  .hr-system { padding: 80px 0; }
  .hr-system-h { font-size: 36px; }
  .hr-system-head { display: block; margin-bottom: 48px; }
  .hr-system-head-right { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .hr-system-grid { grid-template-columns: 1fr; gap: 56px; }
  .hr-system-rings { position: relative; top: auto; }

  .hr-principles { padding: 80px 0; }
  .hr-principles-h { font-size: 32px; }
  .hr-principles-grid { grid-template-columns: 1fr; }

  .hr-routing { padding: 80px 0; }
  .hr-routing-h { font-size: 32px; }
  .hr-routing-grid { grid-template-columns: 1fr; }
  .hr-routing-statement-h { font-size: 36px; }
  .hr-routing-dark { padding: 80px 0; }

  .hr-finalcta { padding: 80px 0; }
  .hr-finalcta-inner { grid-template-columns: 1fr; gap: 32px; }
  .hr-finalcta-h { font-size: 36px; }
  .hr-finalcta-graphic { max-width: 200px; }

  .hr-faq { padding: 64px 0 32px; }
  .hr-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hr-faq-h { font-size: 32px; }
}

@container pslpage (max-width: 540px) {
  .hr-hero { padding: 56px 0 0; }
  .hr-hero-h { font-size: 30px; line-height: 1.1; }
  /* tail inherits parent size (no override) */
  .hr-hero-sub { font-size: 16px; }
  .hr-hero-actions .btn { width: 100%; }
  .hr-hero-meta { padding: 12px 16px; gap: 10px; flex-direction: column; align-items: flex-start; border-radius: 16px; }
  .hr-hero-meta-divider { display: none; }
  .hr-hero-meta-item { font-size: 12px; }
  /* In-hero trusted strip — drop logo height again on phones. */
  .hr-hero-trusted { margin-top: 10px; }
  .hr-hero-trusted-row { gap: 18px 28px; }
  .hr-hero-trusted-logo--hsbc      { height: 22px; }
  .hr-hero-trusted-logo--santander { height: 26px; }
  .hr-hero-trusted-logo--lloyds    { height: 18px; }
  .hr-hero-trusted-logo--vodafone  { height: 22px; }
  .hr-hero-trusted-logo--natura    { height: 14px; }
  /* Stats band — phone overrides. */
  .hr-stats { padding: 16px 0; }
  .hr-stat { gap: 10px; }
  .hr-stat-n { font-size: 18px; }
  .hr-stat-l { font-size: 12px; }

  .hr-breaks-h { font-size: 30px; }
  .hr-break-item { padding: 18px 18px; grid-template-columns: 36px 1fr; gap: 12px; }
  .hr-break-t { font-size: 16px; }

  .hr-system-h { font-size: 28px; }
  .hr-system-grid { gap: 40px; }
  .hr-domain { padding: 20px; }
  .hr-domain-t { font-size: 18px; }

  .hr-principles-h { font-size: 26px; }
  .hr-principle { padding: 28px 24px; }
  .hr-principle-t { font-size: 19px; }

  .hr-routing-statement-h { font-size: 26px; }
  .hr-routing-h { font-size: 26px; }
  .hr-route { padding: 28px; }
  .hr-route-t { font-size: 22px; }
  .hr-route-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hr-routing-foot { display: none; }

  .hr-finalcta-h { font-size: 28px; }
  .hr-finalcta-graphic { display: none; }

  .hr-faq-h { font-size: 26px; }
  .hr-faq-button { font-size: 16px; padding: 18px 0; }
}

/* ---------- Nav logo (responsive) ---------- */
/* Pull logo out of the centered container, flush against the left page edge */
.nav { position: sticky; }
.nav-logo-link {
  display: flex; align-items: center;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-logo-img { height: 44px; display: block; }
@media (max-width: 540px) {
  .nav-logo-link { left: 16px; }
  .nav-logo-img { height: 36px; }
}
@container pslpage (max-width: 540px) {
  .nav-logo-img { height: 36px; }
}
@media (max-width: 540px) {
  body:not(:has(.psl-page)) .nav-logo-img { height: 28px; }
}

/* (Old static rings + pulse styling removed — replaced by .psl-perf-system above.) */

/* =====================================================================
   HOMEPAGE — responsive rules for inline-styled component grids
   (CaseStudy, Insights, BreaksDown v5). Uses container queries so
   the homepage stays self-contained inside the page container.
   ===================================================================== */
/* Insights section — drastically tighten the trailing white space below
   the featured card on mobile. The desktop 104px padding-bottom reads as
   a "big white box" on a phone-width artboard. */
@container pslpage (max-width: 767px) {
  .hr-insights-section { padding: 56px 0 32px !important; }
}
@container pslpage (max-width: 540px) {
  .hr-insights-section { padding: 48px 0 24px !important; }
}

/* CaseStudy — base grid declarations (mobile-first, desktop overrides via container) */
.hr-cs .hr-cs-bf-labels { display: grid; grid-template-columns: 1fr 1fr; }
.hr-cs .hr-cs-stats     { display: grid; grid-template-columns: repeat(4, 1fr); }
.hr-cs .hr-cs-narrative { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hr-cs .hr-cs-stat-n    { font-size: 36px; }
/* BreaksDown v5 — base grid */
.hr-bd-grid             { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Insights v4 — featured card grid */
.hr-insights-card       { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }

/* Tablet (≤ 1023px container) */
@container pslpage (max-width: 1023px) {
  .hr-cs .hr-cs-stats     { grid-template-columns: repeat(2, 1fr); }
  .hr-cs .hr-cs-stat:nth-child(2) { border-right: none !important; }
  .hr-cs .hr-cs-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(13,0,66,0.10); }
  .hr-cs .hr-cs-narrative { grid-template-columns: 1fr; gap: 28px; }
  .hr-cs .hr-cs-stat-n    { font-size: 32px; }
  .hr-bd-grid             { grid-template-columns: 1fr; gap: 16px; }
  .hr-insights-card       { grid-template-columns: 1fr; }
  .hr-insights-card > div:first-child { min-height: 240px !important; }
}

/* Mobile (≤ 540px container) — Home page specifically */
@container pslpage (max-width: 540px) {
  .hr-cs                  { padding: 48px 0 56px !important; }
  .hr-cs h2               { font-size: 28px !important; }
  .hr-cs .hr-cs-bf-labels { grid-template-columns: 1fr; gap: 4px; }
  .hr-cs .hr-cs-bf-labels span:last-child { text-align: left !important; }
  .hr-cs .hr-cs-stats     { grid-template-columns: 1fr; }
  .hr-cs .hr-cs-stat      { border-right: none !important; border-bottom: 1px solid rgba(13,0,66,0.10); padding: 22px 16px !important; }
  .hr-cs .hr-cs-stat:last-child { border-bottom: none; }
  .hr-cs .hr-cs-chart     { padding: 18px 14px 14px !important; }
  .hr-cs .hr-cs-stat-n    { font-size: 26px; }
  .hr-cs .hr-cs-quote     { padding: 22px 18px !important; }
  .hr-cs .hr-cs-quote blockquote { font-size: 17px !important; line-height: 1.5 !important; }
  .hr-cs .hr-cs-narrative { gap: 24px !important; }

  .hr-insights-card > div:last-child { padding: 24px 20px !important; }
  .hr-insights-card h3    { font-size: 22px !important; }
  .hr-insights-card > div:first-child { min-height: 200px !important; }

  /* Breaks-down v6 cards — tighten on phone */
  .hr-bd-card { padding: 28px 22px !important; }
  .hr-bd-card h3 { font-size: 20px !important; }
}

/* Mobile (≤ 640px container) */
@container pslpage (max-width: 640px) {
  .hr-cs                  { padding: 56px 0 64px !important; }
  .hr-cs h2               { font-size: 32px !important; }
  .hr-cs .hr-cs-bf-labels { grid-template-columns: 1fr; gap: 4px; }
  .hr-cs .hr-cs-bf-labels span:last-child { text-align: left !important; }
  .hr-cs .hr-cs-stats     { grid-template-columns: 1fr; }
  .hr-cs .hr-cs-stat      { border-right: none !important; border-bottom: 1px solid rgba(13,0,66,0.10); }
  .hr-cs .hr-cs-stat:last-child { border-bottom: none; }
  .hr-cs .hr-cs-chart     { padding: 22px 18px 18px !important; }
  .hr-cs .hr-cs-stat-n    { font-size: 28px; }
  .hr-cs .hr-cs-quote     { padding: 28px 24px !important; }
  .hr-cs .hr-cs-quote blockquote { font-size: 18px !important; line-height: 1.5 !important; }
  .hr-insights-card > div:last-child { padding: 32px 24px !important; }
  .hr-insights-card h3    { font-size: 24px !important; }
}
