/* HRM Reference Exact v4 — source-based Gutenberg implementation. Scoped to .hrm-ref-* only. */
@property --hrm-ref-angle { syntax:'<angle>'; initial-value:0deg; inherits:false; }
@keyframes hrmRefUp {from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes hrmRefAngle {to{--hrm-ref-angle:360deg}}
@keyframes hrmRefShine {to{background-position:200% 0}}
@keyframes hrmRefFeed {to{transform:translateY(-50%)}}
@keyframes hrmRefMarquee {to{transform:translateX(-50%)}}
@keyframes hrmRefTravel {0%{left:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:calc(100% - 12px);opacity:0}}
@keyframes hrmRefBlob {0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(60px,-40px) scale(1.15)}}
@keyframes hrmRefBlink {50%{opacity:.25}}
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-navigation,.hrm-ref-hero,.hrm-ref-marquee,.hrm-ref-trust-features,.hrm-ref-system,.hrm-ref-accepting,.hrm-ref-problems,.hrm-ref-footer,.hrm-ref-standalone-account,.hrm-ref-flow-standalone){--a:var(--hrm-accent,#7C5CFF);color:var(--hrm-text,#F1F3FA);font-family:var(--hrm-font-body,'Geist',sans-serif);box-sizing:border-box;}
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-hero,.hrm-ref-system,.hrm-ref-accepting,.hrm-ref-trust-features,.hrm-ref-problems-inner,.hrm-ref-nav-inner,.hrm-ref-footer-inner){width:100%;max-width:1280px;margin-left:auto;margin-right:auto;box-sizing:border-box;}
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-hero,.hrm-ref-system,.hrm-ref-accepting,.hrm-ref-trust-features,.hrm-ref-problems,.hrm-ref-marquee,.hrm-ref-footer,.hrm-ref-navigation){margin-block-start:0!important;margin-block-end:0!important;}
.hrm-ref-shine{background:linear-gradient(90deg,var(--a),var(--hrm-cyan,#22D3EE),var(--hrm-pink,#E879F9),var(--a));background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:hrmRefShine 6s linear infinite}
/* Original staggered hero entrance */
.hrm-ref-hero-h1{animation:hrmRefUp .9s cubic-bezier(.2,.7,.2,1) .1s both}
.hrm-ref-hero-description{animation:hrmRefUp .9s cubic-bezier(.2,.7,.2,1) .25s both}
.hrm-ref-hero .hrm-ref-button-row{animation:hrmRefUp .9s cubic-bezier(.2,.7,.2,1) .4s both}
.hrm-ref-hero-side{animation:hrmRefUp .9s cubic-bezier(.2,.7,.2,1) .3s both}
/* Navigation matches reference dimensions; native TT25 header is separate */
.hrm-ref-navigation{width:100%;background:var(--hrm-canvas,#05060A)}
.hrm-ref-nav-inner{padding:26px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.hrm-ref-nav-links{display:flex;flex-wrap:wrap;gap:34px;align-items:center}
.hrm-ref-logo,.hrm-ref-footer-brand{font:600 21px 'Space Grotesk',sans-serif!important;letter-spacing:-.03em!important;color:var(--hrm-text,#F1F3FA)!important}
.hrm-ref-logo a{display:inline-flex;gap:12px;align-items:center;color:inherit!important;text-decoration:none!important}
.hrm-ref-logo-mark{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,var(--a,#7C5CFF),var(--hrm-cyan,#22D3EE));display:inline-block}
.hrm-ref-nav-link{font-size:15px!important;font-weight:500!important;color:#98A0B8!important}.hrm-ref-nav-link a{color:inherit!important;text-decoration:none!important}.hrm-ref-nav-link a:hover{color:white!important}
/* Buttons: original 52px high, 28px x padding, 14px radius */
.hrm-ref-button-row{display:flex;gap:12px!important;flex-wrap:wrap;align-items:center}
.wp-block-button:is(.hrm-ref-primary,.hrm-ref-ghost) .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px!important;padding:0 28px!important;border-radius:14px!important;font:600 15px 'Geist',sans-serif!important;transition:all .3s!important;text-decoration:none!important}
.wp-block-button.hrm-ref-primary .wp-block-button__link{background:var(--hrm-accent,#7C5CFF)!important;color:#fff!important;border:0!important;box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 10px 40px -8px var(--hrm-accent,#7C5CFF)!important}
.wp-block-button.hrm-ref-primary .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(255,255,255,.3) inset,0 16px 50px -6px var(--hrm-accent,#7C5CFF)!important}
.wp-block-button.hrm-ref-ghost .wp-block-button__link{color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.03)!important;box-shadow:none!important}
.wp-block-button.hrm-ref-ghost .wp-block-button__link:hover{border-color:var(--hrm-accent,#7C5CFF)!important;background:rgba(124,92,255,.12)!important}
/* Full original hero: two columns with 560/420px basis, 56px gap */
.hrm-ref-hero{position:relative;isolation:isolate;padding:70px 32px 80px!important;background:#05060A;}
.hrm-ref-hero::before{content:'';position:absolute;pointer-events:none;z-index:-1;inset:-100px 0 auto;height:1000px;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse 70% 70% at 50% 0,#000,transparent)}
.hrm-ref-hero::after{content:'';position:absolute;z-index:-1;top:-150px;left:0;width:min(720px,100%);height:720px;border-radius:50%;background:radial-gradient(closest-side,rgba(124,92,255,.34),transparent);animation:hrmRefBlob 14s ease-in-out infinite;pointer-events:none}
.hrm-ref-hero-inner{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.hrm-ref-hero-copy{flex:1 1 560px;min-width:0}
.hrm-ref-hero-side{flex:1 1 420px;min-width:0;position:relative}
.hrm-ref-hero-side::before{content:'';position:absolute;z-index:0;top:-100px;right:0;width:min(680px,100%);height:680px;border-radius:50%;background:radial-gradient(closest-side,rgba(34,211,238,.2),transparent);animation:hrmRefBlob 18s ease-in-out infinite reverse;pointer-events:none}
.hrm-ref-hero-side>*{position:relative;z-index:1}
.hrm-ref-hero-h1{font:700 clamp(44px,6.2vw,92px)/.98 'Geist',Arial,sans-serif!important;letter-spacing:-.055em!important;color:var(--hrm-text)!important;margin:0 0 30px!important;max-width:none!important}
.hrm-ref-hero-description{margin:0 0 38px!important;max-width:600px;font:400 17.5px/1.75 Geist,sans-serif!important;color:#98A0B8!important}
/* Rotating gradient border: original @property + animation */
.hrm-ref-account-border{--hrm-ref-angle:0deg;border:1px solid transparent;border-radius:26px;padding:24px;background:linear-gradient(var(--hrm-surface,#0A0C14),var(--hrm-surface,#0A0C14)) padding-box,conic-gradient(from var(--hrm-ref-angle),rgba(255,255,255,.07) 55%,var(--hrm-accent,#7C5CFF) 75%,var(--hrm-cyan,#22D3EE) 85%,rgba(255,255,255,.07)) border-box;animation:hrmRefAngle 6s linear infinite;box-shadow:0 60px 120px -40px rgba(124,92,255,.5)}
.hrm-ref-panel-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08)}
.hrm-ref-panel-title{font:600 17px 'Space Grotesk',sans-serif!important;color:var(--hrm-text)!important;margin:0!important}
.hrm-ref-live-tag{display:flex;align-items:center;gap:8px;color:var(--hrm-cyan,#22D3EE)!important;font:500 12px 'Geist Mono',monospace!important;margin:0!important}
.hrm-ref-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--hrm-cyan,#22D3EE);animation:hrmRefBlink 1.6s infinite}
.hrm-ref-feed-window{height:330px;overflow:hidden;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
.hrm-ref-feed-track{animation:hrmRefFeed 16s linear infinite}
.hrm-ref-feed-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.hrm-ref-feed-name{font:500 15.5px 'Geist',sans-serif!important;color:var(--hrm-text)!important;margin:0!important}
.hrm-ref-feed-meta{font:400 12px 'Geist Mono',monospace!important;color:#7E88A4!important;margin:4px 0 0!important}
.hrm-ref-status{font:500 12px 'Geist Mono',monospace!important;border:1px solid currentColor;border-radius:999px;padding:5px 12px;white-space:nowrap;margin:0!important}
.hrm-ref-status-green{color:var(--hrm-green,#4ADE80)!important}.hrm-ref-status-cyan{color:var(--hrm-cyan,#22D3EE)!important}.hrm-ref-status-violet{color:var(--hrm-accent-hover,#B7A6FF)!important}
.hrm-ref-panel-foot{font:400 11px 'Geist Mono',monospace!important;color:#5E6784!important;padding-top:12px;margin:0!important}
.hrm-ref-standalone-account{max-width:520px;margin-inline:auto}
/* Marquee original 26px padding, 30s 50% loop, 56px gap */
.hrm-ref-marquee{width:100%;overflow:hidden;white-space:nowrap;border:0;padding:26px 0;background:transparent}
.hrm-ref-ticker-track{width:max-content;display:inline-flex;align-items:center;gap:56px;animation:hrmRefMarquee 30s linear infinite}
.hrm-ref-ticker-item{display:inline-flex;align-items:center;gap:56px;white-space:nowrap}
.hrm-ref-ticker-label{font:500 18px 'Geist Mono',monospace!important;color:#7E88A4!important;text-transform:uppercase;letter-spacing:.1em;margin:0!important}
.hrm-ref-ticker-item:after{content:'';display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--hrm-accent,#7C5CFF)}
/* Three trust bullet tiles */
.hrm-ref-trust-features{display:flex;flex-wrap:wrap;gap:16px;padding:80px 32px 40px}
.hrm-ref-feature{flex:1 1 320px;min-width:0;display:flex;align-items:center;gap:18px;padding:28px!important;border-radius:24px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));backdrop-filter:blur(14px);transition:transform .4s,border-color .4s,box-shadow .4s}
.hrm-ref-feature:hover,.hrm-ref-service-card:hover,.hrm-ref-problem-card:hover,.hrm-ref-flow-node:hover{transform:translateY(-6px);border-color:rgba(124,92,255,.7);box-shadow:0 30px 70px -30px var(--hrm-accent,#7C5CFF)}
.hrm-ref-feature-icon{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:rgba(124,92,255,.16);border:1px solid rgba(124,92,255,.4);color:var(--hrm-accent-hover,#B7A6FF)!important;font-size:26px!important;margin:0!important}
.hrm-ref-feature-text{font:500 17px/1.4 'Geist',sans-serif!important;color:var(--hrm-text)!important;margin:0!important}
/* Payment system section */
.hrm-ref-system{padding:100px 32px!important}
.hrm-ref-section-intro{display:flex;flex-wrap:wrap;gap:48px;margin-bottom:72px}
.hrm-ref-system .hrm-ref-section-h2{flex:1 1 340px;min-width:0;margin:0!important}
.hrm-ref-section-h2{font:600 clamp(38px,4.6vw,64px)/1.02 'Space Grotesk',sans-serif!important;letter-spacing:-.05em!important;color:var(--hrm-text)!important}
.hrm-ref-system-copy{flex:1 1 520px;min-width:0;margin:0!important;font:400 18.5px/1.8 'Geist',sans-serif!important;color:#A9B1C8!important}
.hrm-ref-flow{display:flex;flex-wrap:wrap;align-items:center;gap:22px 0}
.hrm-ref-flow-node{flex:0 1 auto;min-width:150px;padding:22px 26px!important;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));backdrop-filter:blur(14px);transition:transform .4s,border-color .4s,box-shadow .4s}
.hrm-ref-flow-node-2{background:rgba(124,92,255,.22)}.hrm-ref-flow-node-4{background:rgba(34,211,238,.12)}
.hrm-ref-node-kicker{font:500 11px 'Geist Mono',monospace!important;letter-spacing:.14em!important;color:var(--hrm-cyan,#22D3EE)!important;margin:0 0 8px!important;min-height:1em}
.hrm-ref-node-name{font:600 17px/1.3 'Space Grotesk',sans-serif!important;color:var(--hrm-text)!important;margin:0!important}
.hrm-ref-flow-connector{flex:1 1 56px;min-width:40px;height:2px;background:linear-gradient(90deg,rgba(124,92,255,.15),rgba(34,211,238,.4));position:relative}
.hrm-ref-flow-connector:after{content:'';position:absolute;top:-5px;width:12px;height:12px;border-radius:50%;background:var(--hrm-cyan,#22D3EE);box-shadow:0 0 18px 4px rgba(34,211,238,.7);animation:hrmRefTravel 2.6s linear infinite}
.hrm-ref-flow-connector-2:after{animation-delay:.9s}.hrm-ref-flow-connector-3:after{animation-delay:1.8s}
.hrm-ref-flow-standalone{max-width:1280px;margin-inline:auto;padding:32px}
/* Six-card section */
.hrm-ref-accepting{padding:60px 32px 110px!important}
.hrm-ref-accepting>.hrm-ref-section-h2{margin:0 0 56px!important}
.hrm-ref-services-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:stretch}
.hrm-ref-service-card{box-sizing:border-box;min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:space-between;padding:32px!important;border-radius:24px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));backdrop-filter:blur(14px);transition:transform .4s,border-color .4s,box-shadow .4s}
.hrm-ref-service-main{grid-column:span 6;min-height:300px;padding:42px!important;background:linear-gradient(160deg,rgba(124,92,255,.28),rgba(124,92,255,.04))}
.hrm-ref-service-cyan{grid-column:span 3;min-height:300px;padding:42px!important;background:linear-gradient(160deg,rgba(34,211,238,.18),rgba(34,211,238,.02))}
.hrm-ref-service-small{grid-column:span 3;min-height:300px}
.hrm-ref-service-card:nth-child(n+4){grid-column:span 4;min-height:180px}
.hrm-ref-card-num{font:500 12px 'Geist Mono',monospace!important;color:var(--hrm-accent-hover,#B7A6FF)!important;margin:0 0 56px!important}
.hrm-ref-service-cyan .hrm-ref-card-num{color:var(--hrm-cyan,#22D3EE)!important}
.hrm-ref-service-main .hrm-ref-card-title{font-size:28px!important;line-height:1.08!important;letter-spacing:-.04em!important}
.hrm-ref-service-cyan .hrm-ref-card-title{font-size:22px!important;line-height:1.22!important;letter-spacing:-.02em!important}
.hrm-ref-card-title{font:600 22px/1.2 'Space Grotesk',sans-serif!important;letter-spacing:-.02em!important;color:var(--hrm-text)!important;margin:0 0 12px!important}
.hrm-ref-card-description{font:400 15.5px/1.65 'Geist',sans-serif!important;color:#98A0B8!important;margin:0!important}
.hrm-ref-service-main .hrm-ref-card-description{font-size:17px!important;line-height:1.7!important;color:#C3C9DC!important;max-width:520px}
/* Problems section exact geometry */
.hrm-ref-problems{border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(#070810,#05060A)}
.hrm-ref-problems-inner{padding:110px 32px!important}
.hrm-ref-problems-title{max-width:900px;font:600 clamp(40px,5.4vw,78px)/1 'Space Grotesk',sans-serif!important;letter-spacing:-.055em!important;color:var(--hrm-text)!important;margin:0 0 22px!important}
.hrm-ref-problems-kicker{font:500 13px 'Geist Mono',monospace!important;letter-spacing:.14em!important;text-transform:uppercase;color:var(--hrm-cyan,#22D3EE)!important;margin:0 0 56px!important}
/* Content cards: row height follows the longest card, no minimum height. */
.hrm-ref-problems-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;align-content:start}
.hrm-ref-problem-card{min-width:0;min-height:0;height:auto;align-self:stretch;box-sizing:border-box;padding:36px!important;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));backdrop-filter:blur(14px);transition:transform .4s,border-color .4s,box-shadow .4s}
.hrm-ref-problem-num{font:500 12px 'Geist Mono',monospace!important;color:var(--hrm-accent-hover,#B7A6FF)!important;margin:0 0 22px!important}
.hrm-ref-problem-body{font:400 16.5px/1.8 'Geist',sans-serif!important;color:#B4BCD0!important;margin:0!important}
.hrm-ref-footer{border-top:1px solid rgba(255,255,255,.08);background:#05060A}.hrm-ref-footer-inner{padding:44px 32px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}.hrm-ref-footer-brand{margin:0!important}
@supports(animation-timeline:view()){.hrm-ref-feature,.hrm-ref-service-card,.hrm-ref-problem-card,.hrm-ref-section-h2,.hrm-ref-system-copy,.hrm-ref-problems-title{animation:hrmRefUp linear both;animation-timeline:view();animation-range:entry 0% entry 35%}}
@media(max-width:781px){.hrm-ref-hero{padding:55px 20px 65px!important}.hrm-ref-trust-features{padding:60px 20px 30px}.hrm-ref-system{padding:65px 20px!important}.hrm-ref-accepting{padding:55px 20px 70px!important}.hrm-ref-problems-inner{padding:70px 20px!important}.hrm-ref-section-intro{margin-bottom:42px}.hrm-ref-services-grid{grid-template-columns:minmax(0,1fr);gap:14px}.hrm-ref-service-main,.hrm-ref-service-cyan{min-height:220px;padding:30px!important}.hrm-ref-feature{flex-basis:100%}.hrm-ref-flow{row-gap:16px}.hrm-ref-flow-connector{min-width:25px}}
@media(prefers-reduced-motion:reduce){.hrm-ref-hero *, .hrm-ref-marquee *, .hrm-ref-flow *, .hrm-ref-accepting *, .hrm-ref-account-border *, .hrm-ref-problems *{animation:none!important;transition:none!important}}
/* Native editor preview: avoid animations hiding content during editing. */
.editor-styles-wrapper .hrm-ref-hero :is(.hrm-ref-hero-h1,.hrm-ref-hero-description,.hrm-ref-hero-side,.hrm-ref-button-row){animation:none!important;opacity:1!important}
.editor-styles-wrapper .hrm-ref-feature,.editor-styles-wrapper .hrm-ref-service-card,.editor-styles-wrapper .hrm-ref-problem-card{animation:none!important;opacity:1!important}


/* HRM v4.3 performance: keep the original visuals and animation timings.
   Offscreen animations pause, rather than being removed or restarted. */
.hrm-motion-paused,
.hrm-motion-paused *,
.hrm-motion-paused::before,
.hrm-motion-paused::after,
.hrm-motion-paused *::before,
.hrm-motion-paused *::after {
  animation-play-state: paused !important;
}
/* Mobile: avoid animating enormous blurred gradients. The static glow remains. */
@media (max-width: 781px), (pointer: coarse) {
  .hrm-ref-hero::after,
  .hrm-ref-hero-side::before,
  .hrm-aurora-ambient::before { animation: none !important; }
  .hrm-ref-feature,
  .hrm-ref-flow-node,
  .hrm-ref-service-card,
  .hrm-ref-problem-card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
/* Complete reduced-motion coverage for both legacy and reference patterns. */
@media (prefers-reduced-motion: reduce) {
  .hrm-ref-shine, .hrm-ref-navigation *, .hrm-ref-trust-features *,
  .hrm-ref-system *, .hrm-ref-footer *, .hrm-ref-standalone-account *,
  .hrm-ref-flow-standalone *, .hrm-ref-hero::after, .hrm-ref-hero-side::before,
  .hrm-aurora-ambient::before, .hrm-dashboard__dot, .hrm-live::before,
  .hrm-ref-feature, .hrm-ref-service-card, .hrm-ref-problem-card {
    animation: none !important;
  }
}

/* v4.4 — reference components are responsive inside native Gutenberg content widths */
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-hero,.hrm-ref-system,.hrm-ref-accepting,.hrm-ref-problems-inner,.hrm-ref-trust-features,.hrm-ref-services-grid,.hrm-ref-flow){min-width:0;min-inline-size:0;box-sizing:border-box}
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-system,.hrm-ref-accepting,.hrm-ref-problems-inner,.hrm-ref-trust-features){max-inline-size:100%;}
:where(.wp-block-post-content,.editor-styles-wrapper) :is(.hrm-ref-service-card,.hrm-ref-feature,.hrm-ref-flow-node,.hrm-ref-problem-card){min-width:0;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid>*{flex-shrink:1}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-main{flex-basis:min(560px,100%)}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-cyan{flex-basis:min(320px,100%)}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-feature{flex-basis:min(320px,100%)}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-hero::after,
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-hero-side::before{pointer-events:none}
/* Keep header above blurred Hero decoration; do not move Hero content or alter theme block-gap */
.wp-site-blocks > .wp-block-template-part:has(header){position:relative;z-index:30}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-hero{isolation:isolate;z-index:0}
/* Prevent horizontally scrolling pages while retaining full radial glow */
body:has(.hrm-ref-hero){overflow-x:clip}
@media(max-width:781px){:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow-node{flex:1 1 150px}:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow-connector{flex:0 1 28px;min-width:12px}:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card{flex:1 1 100%;min-height:0}:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-trust-features{width:100%}}


/* v4.5 — fix original six-card row composition without fixed widths */
@media (min-width:782px) and (max-width:1080px){
 .hrm-ref-services-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .hrm-ref-service-main{grid-column:span 4}
 .hrm-ref-service-cyan{grid-column:span 2}
 .hrm-ref-service-small{grid-column:span 2}
 .hrm-ref-service-card:nth-child(3){grid-column:span 2}
 .hrm-ref-service-card:nth-child(n+4){grid-column:span 2}
}
@media (max-width:781px){
 .hrm-ref-services-grid{grid-template-columns:minmax(0,1fr)}
 .hrm-ref-service-card,.hrm-ref-service-main,.hrm-ref-service-cyan,.hrm-ref-service-small,
 .hrm-ref-service-card:nth-child(3),.hrm-ref-service-card:nth-child(n+4){grid-column:1/-1}
}
/* Gutenberg's native inner Group margins must not elongate the cards */
.hrm-ref-service-card>.wp-block-group.hrm-ref-card-bottom{margin-block-start:auto;min-width:0}
.hrm-ref-service-card>.wp-block-hrm-icon{margin-block-start:0;margin-block-end:12px}

/* v4.8: original reference geometry with a single targeted typography fix for card 02.
   Do not shorten all cards; the first row is deliberately tall and aligned. */
@media (min-width: 782px) {
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid {
    align-items: stretch;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid > .hrm-ref-service-card:nth-child(-n+3) {
    min-height: 300px;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid > .hrm-ref-service-card:nth-child(n+4) {
    min-height: 180px;
  }
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid > .hrm-ref-service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .hrm-ref-card-num {
  flex: 0 0 auto;
  margin: 0 !important;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .wp-block-hrm-icon {
  flex: 0 0 auto;
  margin: 12px 0 0 !important;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .hrm-ref-card-bottom {
  margin-block-start: auto !important;
  margin-block-end: 0 !important;
  min-width: 0;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .hrm-ref-card-title {
  margin-block-start: auto !important;
  margin-block-end: 0 !important;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card .hrm-ref-card-title {
  margin-bottom: 12px !important;
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-cyan > .hrm-ref-card-title {
  font-size: 22px !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em !important;
}
@media (max-width: 781px) {
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-services-grid > .hrm-ref-service-card {
    min-height: 0;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .hrm-ref-card-bottom,
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-service-card > .hrm-ref-card-title {
    margin-top: 20px !important;
  }
}

/* v5.1 — responsive content rows, isolated from intentional showcase geometry. */
@media(max-width:900px){
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-problems-grid{grid-template-columns:minmax(0,1fr)}
}
:where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-problems-grid > .hrm-ref-problem-card{
  min-width:0;min-height:0;height:auto;align-self:stretch;margin-block:0!important;
}

/* HRM v5.4 — readable, connected mobile payment journey (existing Gutenberg nodes) */
@media(max-width:781px){
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow{
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:stretch!important;gap:0!important;width:100%;max-width:100%;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow>.hrm-ref-flow-node{
    flex:0 0 auto!important;width:100%!important;min-width:0!important;
    min-height:86px;padding:20px 22px!important;margin:0!important;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow>.hrm-ref-flow-connector{
    display:block!important;flex:0 0 34px!important;align-self:center!important;
    width:2px!important;min-width:2px!important;height:34px!important;
    margin:0!important;background:linear-gradient(180deg,rgba(124,92,255,.35),rgba(34,211,238,.7))!important;
  }
  .hrm-ref-flow>.hrm-ref-flow-connector::after{
    left:-5px;top:0;animation:hrmRefTravelMobile 2.6s linear infinite!important;
  }
  .hrm-ref-flow>.hrm-ref-flow-connector-2::after{animation-delay:.9s!important}
  .hrm-ref-flow>.hrm-ref-flow-connector-3::after{animation-delay:1.8s!important}
  .hrm-ref-flow-standalone{max-width:100%;padding-inline:16px!important}
  .hrm-ref-system,.hrm-ref-standalone-account,.hrm-ref-accepting,.hrm-ref-problems{max-width:100%;min-width:0}
  .hrm-ref-hero-inner,.hrm-ref-hero-copy,.hrm-ref-hero-side{min-width:0;max-width:100%}
  .hrm-ref-hero-h1{overflow-wrap:normal;word-break:normal;hyphens:none}
}
@keyframes hrmRefTravelMobile{
  0%{top:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:calc(100% - 12px);opacity:0}
}
@media(max-width:520px){
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow-track{
    display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:100%;
  }
  :where(.wp-block-post-content,.editor-styles-wrapper) .hrm-ref-flow-track>.hrm-ref-flow-node{
    width:100%;min-width:0;min-height:76px;padding:18px 20px!important;
  }
  .hrm-ref-flow-track>.hrm-ref-flow-node:not(:last-child)::before{
    left:calc(50% - 1px);top:100%;height:22px;width:2px;
  }
  .hrm-ref-flow-track>.hrm-ref-flow-node:not(:last-child)::after{
    left:calc(50% - 5px);top:calc(100% + 1px);
  }
}
@media(prefers-reduced-motion:reduce){.hrm-ref-flow>.hrm-ref-flow-connector::after{animation:none!important}}

/* Bundle hero edge-fade refinement */
.hrm-ref-bundle-hero{position:relative;overflow:hidden}
.hrm-ref-bundle-hero::before{mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%)}
.hrm-ref-bundle-hero::after{mask-image:radial-gradient(ellipse 72% 72% at 22% 18%,#000 0,rgba(0,0,0,.98) 48%,rgba(0,0,0,.72) 70%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);opacity:.95}
