/* v17 — coursework walkthrough + collision-free Polish hero layouts */
body.rf-home-page .pl17-how-section,body.rf-home-page .pl17-how-section *{box-sizing:border-box}
body.rf-home-page main>.pl17-how-section{
  background:#fff!important;background-image:none!important;color:#0b1e3d;
  padding:clamp(38px,4vw,74px) 0 clamp(48px,4.8vw,84px)!important;
  overflow:hidden!important;clear:both;isolation:isolate;
}
body.rf-home-page main>.pl17-how-section::before,body.rf-home-page main>.pl17-how-section::after{content:none!important;display:none!important}
body.rf-home-page .pl17-how-shell{width:min(1840px,calc(100% - 56px));max-width:none;margin:0 auto}
body.rf-home-page .pl17-how-head{text-align:center;max-width:1720px;margin:0 auto clamp(25px,2.9vw,46px)}
body.rf-home-page .pl17-how-head h2{
  font-family:'Manrope','Segoe UI',system-ui,sans-serif!important;
  font-size:clamp(34px,3.7vw,72px)!important;letter-spacing:-.052em!important;
  line-height:1.1!important;color:#0b1e3d!important;font-weight:850!important;
  margin:0 0 18px!important;text-align:center!important;
}
body.rf-home-page .pl17-how-head h2 strong{color:#d71925!important;font-weight:inherit!important}
body.rf-home-page .pl17-how-head p{color:#58677d!important;font-size:clamp(17px,1.5vw,27px)!important;line-height:1.42!important;margin:0!important}
body.rf-home-page .pl17-how-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:clamp(13px,1.8vw,34px)!important;
  list-style:none!important;margin:0!important;padding:0!important;counter-reset:none!important}
body.rf-home-page .pl17-how-card{position:relative!important;display:flex!important;flex-direction:column!important;
  justify-content:space-between!important;min-width:0!important;min-height:0!important;
  background:linear-gradient(155deg,#fffafa,#fff3f5)!important;
  border:1.5px solid #ffe0e4!important;border-radius:clamp(25px,3vw,46px)!important;
  padding:clamp(20px,2vw,36px) clamp(16px,2vw,36px) 8px!important;
  box-shadow:none!important;overflow:visible!important;margin:0!important}
body.rf-home-page .pl17-how-step-copy{display:grid!important;grid-template-columns:clamp(53px,4.6vw,82px) minmax(0,1fr)!important;
  gap:clamp(12px,1.4vw,24px)!important;align-items:start!important;z-index:1;min-height:126px}
body.rf-home-page .pl17-how-step-number{display:flex!important;align-items:center!important;justify-content:center!important;
  width:clamp(53px,4.6vw,82px)!important;height:clamp(53px,4.6vw,82px)!important;
  border-radius:42%!important;color:#fff!important;background:linear-gradient(155deg,#ff3038,#d80014)!important;
  font:800 clamp(32px,2.9vw,54px)/1 'Manrope','Segoe UI',sans-serif!important;box-shadow:0 5px 10px rgba(226,0,27,.13)}
body.rf-home-page .pl17-how-step-copy h3{font-family:'Manrope','Segoe UI',system-ui,sans-serif!important;
  font-size:clamp(19px,1.75vw,33px)!important;line-height:1.18!important;
  letter-spacing:-.038em!important;color:#0b1e3d!important;margin:0 0 11px!important;font-weight:850!important}
body.rf-home-page .pl17-how-step-copy p{font-size:clamp(14px,1.1vw,21px)!important;
  line-height:1.37!important;color:#485b78!important;margin:0!important}
body.rf-home-page .pl17-how-image{display:block!important;position:relative!important;width:100%!important;
  max-width:none!important;height:auto!important;aspect-ratio:3/2!important;object-fit:contain!important;
  margin:10px auto 0!important;filter:none!important;z-index:0}
body.rf-home-page .pl17-how-card:not(:last-child)::after{content:'➜'!important;position:absolute!important;right:calc(clamp(13px,1.8vw,34px)/-1 - 24px)!important;
  top:56%!important;transform:translateY(-50%)!important;color:#e20921!important;
  width:49px!important;height:49px!important;display:grid!important;place-items:center!important;
  font:800 34px/1 sans-serif!important;border:3px solid #e20921!important;border-radius:50%!important;background:#fff!important;
  box-shadow:0 3px 9px rgba(20,35,55,.06)!important;z-index:5;pointer-events:none}
@media(max-width:1400px){
 body.rf-home-page .pl17-how-shell{width:calc(100% - 42px)}
 body.rf-home-page .pl17-how-card{padding:20px 18px 6px!important}
 body.rf-home-page .pl17-how-step-copy{min-height:135px}
 body.rf-home-page .pl17-how-card:not(:last-child)::after{width:40px!important;height:40px!important;font-size:27px!important;right:calc(clamp(13px,1.8vw,34px)/-1 - 20px)!important}
}
@media(max-width:980px){
 body.rf-home-page .pl17-how-grid{grid-template-columns:1fr!important;gap:31px!important;max-width:620px!important;margin:0 auto!important}
 body.rf-home-page .pl17-how-card{padding:25px 23px 5px!important}
 body.rf-home-page .pl17-how-step-copy{grid-template-columns:65px minmax(0,1fr)!important;min-height:0}
 body.rf-home-page .pl17-how-step-number{width:65px!important;height:65px!important;font-size:40px!important}
 body.rf-home-page .pl17-how-step-copy h3{font-size:clamp(22px,3.3vw,31px)!important}
 body.rf-home-page .pl17-how-step-copy p{font-size:clamp(16px,2.3vw,20px)!important}
 body.rf-home-page .pl17-how-image{max-width:530px!important;margin:12px auto 0!important}
 body.rf-home-page .pl17-how-card:not(:last-child)::after{content:'↓'!important;right:calc(50% - 21px)!important;top:auto!important;bottom:-38px!important;transform:none!important;width:42px!important;height:42px!important}
}
@media(max-width:540px){
 body.rf-home-page .pl17-how-shell{width:calc(100% - 24px)}
 body.rf-home-page .pl17-how-head{margin-bottom:24px}
 body.rf-home-page .pl17-how-head h2{font-size:clamp(31px,8.2vw,43px)!important;margin-bottom:13px!important}
 body.rf-home-page .pl17-how-head p{font-size:16px!important}
 body.rf-home-page .pl17-how-grid{gap:29px!important}
 body.rf-home-page .pl17-how-card{padding:17px 12px 6px!important;border-radius:25px!important}
 body.rf-home-page .pl17-how-step-copy{grid-template-columns:53px minmax(0,1fr)!important;gap:10px!important}
 body.rf-home-page .pl17-how-step-number{width:53px!important;height:53px!important;font-size:32px!important}
 body.rf-home-page .pl17-how-step-copy h3{font-size:clamp(18px,5.2vw,24px)!important;margin-bottom:7px!important}
 body.rf-home-page .pl17-how-step-copy p{font-size:14px!important;line-height:1.42!important}
 body.rf-home-page .pl17-how-image{margin:10px auto 0!important}
}
/* All Polish landing heroes — two real columns instead of absolute image overlap. */
@media(min-width:1151px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage{
   display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
   gap:clamp(16px,2.5vw,55px)!important;align-items:center!important;
   position:relative!important;min-height:0!important;height:auto!important;
   width:min(1710px,calc(100vw - 80px))!important;
   max-width:none!important;margin:0 auto!important;padding:18px 0 16px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-content{
   width:100%!important;max-width:none!important;min-width:0!important;
   padding:14px 0 28px!important;position:relative!important;z-index:2!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual{
   position:relative!important;inset:auto!important;bottom:auto!important;right:auto!important;
   width:100%!important;max-width:none!important;min-width:0!important;
   height:clamp(440px,43vw,655px)!important;align-self:end!important;
   margin:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;z-index:1!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual img{
   width:100%!important;height:100%!important;max-width:100%!important;
   max-height:100%!important;object-fit:contain!important;object-position:center bottom!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-title{
   max-width:100%!important;overflow-wrap:normal!important;
   font-size:clamp(50px,4.3vw,81px)!important;line-height:1.09!important;
   margin-bottom:18px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-description{
   max-width:100%!important;font-size:clamp(18px,1.35vw,22px)!important;margin-bottom:24px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-benefits{max-width:100%!important;margin-bottom:28px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{
    font-size:clamp(48px,4vw,75px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-title>span{white-space:normal!important}
}
@media(min-width:1151px) and (max-height:820px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual{height:clamp(390px,64vh,530px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-title{font-size:clamp(48px,3.85vw,71px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{font-size:clamp(46px,3.7vw,69px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-description{margin-bottom:17px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-benefits{margin-bottom:20px!important}
}
@media(max-width:1150px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   min-height:0!important;height:auto!important;width:calc(100% - 12px)!important;
   margin:0 auto!important;padding:10px 0 0!important;left:auto!important;transform:none!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-content{
   width:100%!important;max-width:790px!important;margin:0 auto!important;
   padding:16px 0 0!important;z-index:2!important;text-align:center!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual{
   position:relative!important;inset:auto!important;bottom:auto!important;right:auto!important;
   width:min(100%,670px)!important;max-width:670px!important;
   height:auto!important;margin:16px auto 0!important;z-index:1!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual img{
   width:100%!important;height:auto!important;max-width:100%!important;max-height:640px!important;object-fit:contain!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-title{font-size:clamp(42px,6vw,69px)!important;line-height:1.08!important;white-space:normal!important;margin-bottom:16px!important;text-align:center!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-title>span{white-space:normal!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-description{max-width:700px!important;margin:0 auto 20px!important;text-align:center!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-benefits{max-width:730px!important;margin:0 auto 24px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-actions{justify-content:center!important}
}
@media(max-width:540px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-content{padding:14px 2px 0!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-title{font-size:clamp(32px,8.1vw,44px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{font-size:clamp(30px,7.9vw,42px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual{width:100%!important;max-width:440px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage .pl-hero-visual img{max-height:none!important}
}
/* Keep the new walkthrough on white even when legacy alternating-section rules have higher specificity. */
body.rf-home-page main > section.pl17-how-section:not(.hero):nth-of-type(even),
body.rf-home-page main > section.pl17-how-section:not(.hero):nth-of-type(odd) {
  background:#fff!important;
  background-image:none!important;
}
/* v16 used a more specific absolute-position rule for coursework. Override that rule explicitly,
   otherwise the hero can remain 790px tall and its image can cover the copy at laptop widths. */
@media(min-width:1151px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage{
   display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
   gap:clamp(16px,2.5vw,55px)!important;align-items:center!important;
   min-height:0!important;height:auto!important;width:min(1710px,calc(100vw - 80px))!important;
   max-width:none!important;padding:18px 0 16px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-content{
   width:100%!important;max-width:none!important;padding:14px 0 28px!important;min-width:0!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-visual{
   position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
   width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
   height:clamp(440px,43vw,655px)!important;display:flex!important;align-items:flex-end!important;justify-content:center!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-visual img{
   width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{
   font-size:clamp(48px,4vw,75px)!important;max-width:100%!important;line-height:1.09!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title>span{
   white-space:normal!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-description{
   max-width:100%!important;font-size:clamp(18px,1.35vw,22px)!important;margin-bottom:24px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-benefits{
   max-width:100%!important;margin-bottom:28px!important}
}
@media(min-width:1151px) and (max-height:820px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-visual{height:clamp(390px,64vh,530px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{font-size:clamp(46px,3.7vw,69px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-description{margin-bottom:17px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-benefits{margin-bottom:20px!important}
}
@media(max-width:1150px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage{
   min-height:0!important;height:auto!important;width:calc(100% - 12px)!important;
   display:flex!important;flex-direction:column!important;align-items:stretch!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-content{
   width:100%!important;max-width:790px!important;padding:16px 0 0!important;margin:0 auto!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-visual{
   position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
   width:min(100%,670px)!important;max-width:670px!important;margin:16px auto 0!important;height:auto!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{font-size:clamp(42px,6vw,69px)!important;text-align:center!important;line-height:1.08!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title>span{white-space:normal!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-description{text-align:center!important;margin:0 auto 20px!important;max-width:700px!important}
}
@media(max-width:540px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage h1.pl-hero-title{font-size:clamp(30px,7.9vw,42px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-coursework-stage .pl-hero-visual{width:100%!important;max-width:440px!important}
}
