/* R-Scan Payroll hero. Scoped to this section to preserve the rest of the page. */
#rscan-premium-hero {
  position:relative; isolation:isolate; overflow:hidden!important;
  width:100%!important; max-width:none!important; min-height:0!important;
  margin:0!important; padding:56px 0 64px!important;
  color:#14372f!important; background:linear-gradient(112deg,#fff 0%,#fff 36%,#f1fcf7 73%,#e5f7ef 100%)!important;
  border-bottom:1px solid #e4f1eb;
}
#rscan-premium-hero::before,#rscan-premium-hero::after { display:none!important; }
#rscan-premium-hero,#rscan-premium-hero * { box-sizing:border-box; font-family:"Sarabun",Tahoma,sans-serif!important; }
#rscan-premium-hero .rp-hero-grid {
  position:relative; z-index:1; display:grid!important;
  grid-template-columns:minmax(0,47fr) minmax(0,53fr)!important;
  align-items:center; gap:32px; width:calc(100% - 80px)!important;
  max-width:1280px!important; min-width:0!important; margin:0 auto!important; padding:0!important;
}
#rscan-premium-hero .rp-hero-copy { min-width:0; max-width:100%; position:relative; z-index:2; }
#rscan-premium-hero .rp-hero-badge {
  display:inline-flex; align-items:center; gap:8px; max-width:100%;
  padding:7px 12px; margin:0 0 22px; border:1px solid #cceadd; border-radius:999px;
  background:#f0faf5; color:#207054; font-size:12px; font-weight:700; line-height:1.6;
}
#rscan-premium-hero .rp-hero-badge>span { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#28a777; box-shadow:0 0 0 4px #dff3e9; }
#rscan-premium-hero h1 {
  display:block!important; width:100%!important; max-width:none!important; margin:0 0 22px!important;
  font-family:"Prompt",Tahoma,sans-serif!important; font-size:clamp(42px,4.15vw,60px)!important;
  font-weight:600!important; line-height:1.28!important; letter-spacing:-.035em!important;
  color:#123f34!important; text-shadow:none!important; white-space:normal!important; overflow:visible!important;
}
#rscan-premium-hero h1>span { display:block!important; width:auto!important; margin:0!important; white-space:nowrap!important; font-family:inherit!important; font-size:inherit!important; line-height:inherit!important; letter-spacing:inherit!important; }
#rscan-premium-hero h1>.rp-hero-highlight { color:#14966a!important; background:none!important; -webkit-text-fill-color:#14966a!important; }
#rscan-premium-hero .rp-hero-description { width:100%; max-width:535px; margin:0 0 23px; color:#50665e; font-size:16px; font-weight:400; line-height:1.85; text-wrap:pretty; }
#rscan-premium-hero .rp-hero-price { margin:0 0 25px; }
#rscan-premium-hero .rp-hero-price>p { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; margin:0 0 5px; line-height:1.3; }
#rscan-premium-hero .rp-hero-price strong { color:#174d3b; font-size:36px; font-weight:800; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
#rscan-premium-hero .rp-hero-price p>span { color:#50665e; font-size:15px; font-weight:500; }
#rscan-premium-hero .rp-hero-price>div { display:flex; align-items:center; gap:5px; color:#287354; font-size:14px; font-weight:600; }
#rscan-premium-hero .rp-hero-price svg { width:18px; height:18px; flex:none; }
#rscan-premium-hero .rp-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 15px; }
#rscan-premium-hero .rp-hero-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:54px;
  padding:13px 20px; border:1px solid transparent; border-radius:11px;
  text-decoration:none; font-size:16px; font-weight:700; line-height:1.55;
  transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
}
#rscan-premium-hero .rp-hero-cta svg { width:20px; height:20px; flex:none; }
#rscan-premium-hero .rp-hero-cta-primary { color:#fff; background:linear-gradient(135deg,#10835c,#08704e); box-shadow:0 7px 18px #159e6e26,inset 0 1px 0 #ffffff26; }
#rscan-premium-hero .rp-hero-cta-primary:hover { background:#087e56; box-shadow:0 9px 24px #159e6e38; transform:translateY(-1px); }
#rscan-premium-hero .rp-hero-cta-secondary { color:#275b48; background:#fff; border-color:#c9dfd4; box-shadow:0 2px 5px #193c2610; }
#rscan-premium-hero .rp-hero-cta-secondary:hover { background:#f1faf5; border-color:#7cbda1; transform:translateY(-1px); }
#rscan-premium-hero .rp-hero-cta:focus-visible { outline:3px solid #125e47; outline-offset:4px; }
#rscan-premium-hero .rp-hero-terms { max-width:510px; margin:0; color:#60746a; font-size:11px; font-weight:400; line-height:1.8; }
#rscan-premium-hero .rp-hero-visual { position:relative; display:flex; align-items:center; justify-content:center; min-width:0; width:100%; padding:26px 0; }
#rscan-premium-hero .rp-hero-glow { position:absolute; z-index:-1; width:92%; aspect-ratio:1; max-height:540px; border-radius:50%; background:radial-gradient(ellipse,#c4eddc 0%,#dcf5e8 48%,#e5f7ee00 72%); filter:blur(8px); }
#rscan-premium-hero .rp-hero-image { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; position:relative; border:0; border-radius:20px; filter:drop-shadow(0 24px 32px #1b72521c); }
@media(min-width:1600px) { #rscan-premium-hero { padding-block:72px!important; } }
@media(max-width:1100px) and (min-width:901px) {
  #rscan-premium-hero { padding-block:42px!important; }
  #rscan-premium-hero .rp-hero-grid { width:calc(100% - 56px)!important; gap:22px; }
  #rscan-premium-hero h1 { font-size:clamp(40px,4.8vw,49px)!important; }
  #rscan-premium-hero .rp-hero-cta { padding-inline:14px; font-size:14px; }
  #rscan-premium-hero .rp-hero-cta .rp-hero-arrow { display:none; }
}
@media(max-width:900px) {
  #rscan-premium-hero { padding:38px 0 32px!important; background:linear-gradient(160deg,#fff 25%,#f0faf5 75%,#e2f5ea 100%)!important; }
  #rscan-premium-hero .rp-hero-grid { width:calc(100% - 48px)!important; max-width:640px!important; grid-template-columns:minmax(0,1fr)!important; gap:24px; }
  #rscan-premium-hero .rp-hero-copy { width:100%; max-width:100%; }
  #rscan-premium-hero h1 { font-size:clamp(40px,7.2vw,56px)!important; }
  #rscan-premium-hero .rp-hero-description { max-width:100%; }
  #rscan-premium-hero .rp-hero-visual { padding:8px 0; }
  #rscan-premium-hero .rp-hero-image { max-width:580px; }
}
@media(max-width:480px) {
  #rscan-premium-hero { padding-top:28px!important; }
  #rscan-premium-hero .rp-hero-grid { width:calc(100% - 36px)!important; gap:20px; }
  #rscan-premium-hero .rp-hero-badge { font-size:10.5px; padding:6px 10px; margin-bottom:19px; gap:7px; }
  #rscan-premium-hero h1 { font-size:clamp(36px,10.2vw,46px)!important; margin-bottom:18px!important; line-height:1.25!important; }
  #rscan-premium-hero .rp-hero-description { font-size:15px; line-height:1.85; margin-bottom:19px; }
  #rscan-premium-hero .rp-hero-price { margin-bottom:20px; }
  #rscan-premium-hero .rp-hero-price strong { font-size:33px; }
  #rscan-premium-hero .rp-hero-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
  #rscan-premium-hero .rp-hero-cta { width:100%; min-height:52px; }
  #rscan-premium-hero .rp-hero-terms { font-size:10.5px; }
}
@media(prefers-reduced-motion:reduce) { #rscan-premium-hero .rp-hero-cta { transition:none; transform:none!important; } }

/* Reference refinement: mint ambient light, a quiet grid, floating SaaS cards. */
#rscan-premium-hero { background:radial-gradient(ellipse at 90% 94%,#bdebd780,transparent 55%),linear-gradient(155deg,#fff 30%,#f1fbf5 67%,#dcf5e7 100%)!important; }
#rscan-premium-hero .rp-hero-gridlines { position:absolute; inset:0; z-index:0; pointer-events:none; background-image:linear-gradient(#ffffffa1 1px,transparent 1px),linear-gradient(90deg,#ffffffa1 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(160deg,transparent 35%,#000 100%); }
#rscan-premium-hero .rp-hero-actions { width:100%!important; max-width:none!important; margin:0 0 14px!important; gap:12px!important; }
#rscan-premium-hero .rp-hero-cta { flex:0 1 auto!important; min-height:54px!important; padding:13px 20px!important; border-radius:11px!important; font-weight:700!important; text-shadow:none!important; }
#rscan-premium-hero .rp-hero-cta-primary { color:#fff!important; background:linear-gradient(135deg,#10835c,#08704e)!important; box-shadow:0 7px 18px #159e6e26,inset 0 1px 0 #ffffff26!important; }
#rscan-premium-hero .rp-hero-cta-secondary { color:#275b48!important; background:#fff!important; border:1px solid #c9dfd4!important; box-shadow:0 2px 5px #193c2610!important; }
#rscan-premium-hero .rp-hero-cta-primary:hover { background:#087e56!important; }
#rscan-premium-hero .rp-hero-cta-secondary:hover { background:#f1faf5!important; border-color:#7cbda1!important; }
#rscan-premium-hero .rp-hero-proof { list-style:none; display:flex; flex-wrap:wrap; gap:8px 16px; padding:0; margin:0 0 13px; color:#426553; font-size:12px; line-height:1.6; }
#rscan-premium-hero .rp-hero-proof li { display:inline-flex; align-items:center; gap:4px; padding:0; margin:0; }
#rscan-premium-hero .rp-hero-proof svg { width:15px; height:15px; flex:none; color:#16885d; }
#rscan-premium-hero .rp-hero-visual { padding:36px 10px 36px 16px; }
#rscan-premium-hero .rp-hero-product-panel { width:100%; overflow:hidden; background:#ffffffd9; border:1px solid #ffffff; border-radius:21px; box-shadow:0 22px 54px #2b73551a,0 0 0 5px #ffffff38; }
#rscan-premium-hero .rp-hero-window-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; border-bottom:1px solid #edf3ef; background:#ffffffd9; color:#638173; font-size:10px; font-weight:700; letter-spacing:.055em; }
#rscan-premium-hero .rp-hero-window-dots { display:flex; gap:4px; }
#rscan-premium-hero .rp-hero-window-dots i { width:6px; height:6px; border-radius:50%; background:#d6e5dd; }
#rscan-premium-hero .rp-hero-window-dots i:first-child { background:#8fd1b4; }
#rscan-premium-hero .rp-hero-window-status { color:#267452; font-weight:400; letter-spacing:0; }
#rscan-premium-hero .rp-hero-image { width:100%; height:auto; aspect-ratio:1440/810; border-radius:0; object-fit:contain; filter:none; }
#rscan-premium-hero .rp-hero-float { position:absolute; z-index:2; display:flex; align-items:center; gap:9px; padding:12px 15px; border:1px solid #e2efe7; border-radius:14px; background:#fff; box-shadow:0 10px 28px #1b67451a; pointer-events:none; }
#rscan-premium-hero .rp-hero-float-top { top:13px; right:24px; }
#rscan-premium-hero .rp-hero-float-bottom { bottom:10px; left:0; }
#rscan-premium-hero .rp-hero-float-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:#e8f7ef; color:#179567; font-size:20px; }
#rscan-premium-hero .rp-hero-float strong { display:block; color:#22573f; font-size:12px; line-height:1.5; }
#rscan-premium-hero .rp-hero-float div>span { display:block; color:#526d5d; font-size:11px; line-height:1.7; }
@media(max-width:1100px) and (min-width:901px) {
 #rscan-premium-hero .rp-hero-cta { padding-inline:14px!important; }
 #rscan-premium-hero .rp-hero-proof { gap:6px 12px; font-size:11px; }
 #rscan-premium-hero .rp-hero-float { padding:9px 11px; }
}
@media(max-width:900px) { #rscan-premium-hero .rp-hero-visual { padding:27px 8px; } #rscan-premium-hero .rp-hero-float-top { top:0; right:18px; } #rscan-premium-hero .rp-hero-float-bottom { bottom:0; left:0; } }
@media(max-width:480px) {
 #rscan-premium-hero .rp-hero-actions { grid-template-columns:minmax(0,1fr)!important; }
 #rscan-premium-hero .rp-hero-cta { min-height:52px!important; }
 #rscan-premium-hero .rp-hero-proof { font-size:11px; gap:6px 12px; }
 #rscan-premium-hero .rp-hero-window-bar { font-size:8px; padding:10px 11px; }
 #rscan-premium-hero .rp-hero-float { gap:7px; padding:8px 10px; border-radius:11px; }
 #rscan-premium-hero .rp-hero-float strong { font-size:10px; }
 #rscan-premium-hero .rp-hero-float div>span { font-size:9px; }
 #rscan-premium-hero .rp-hero-float-icon { width:26px; height:26px; font-size:16px; }
}

#rscan-premium-hero .rp-hero-grid { min-height:0!important; overflow:visible!important; }
#rscan-premium-hero .rp-hero-copy { width:100%!important; max-width:100%!important; min-width:0!important; }
