/* PISANIE ONLINE - Home landing visual fixes v5. Scoped to .rf-home-page to protect the other pages. */
/* Fix decorative underline from earlier hero stylesheet. */
body.rf-home-page .pl-hero-title strong::after,
body.rf-home-page .pl-hero-title strong::before{display:none!important;content:none!important}
body.rf-home-page .pl-hero-title strong{text-decoration:none!important;border:0!important;background-image:none!important;box-shadow:none!important}
/* Crop assets themselves, then ensure icon is not constrained by legacy .hero button rules. */
body.rf-home-page .pl-hero-actions .pl-hero-primary>img:first-child,
body.rf-home-page .pl-hero-actions .pl-hero-primary>img.pl-hero-arrow,
body.rf-home-page .pl-hero-actions .pl-hero-demo>img:first-child{
 width:42px!important;height:42px!important;min-width:42px!important;max-width:none!important;
 flex:0 0 42px!important;object-fit:contain!important;object-position:center!important;
 display:block!important;opacity:1!important;filter:none!important;
}
body.rf-home-page .pl-hero-actions .pl-hero-primary>img.pl-hero-arrow{width:34px!important;min-width:34px!important;flex-basis:34px!important;height:34px!important}
body.rf-home-page .pl-hero-actions a{gap:14px!important}

/* Screenshot-inspired section: intentionally no circles, orbits, or decorative drawn backgrounds. */
body.rf-home-page main > section.pl-how-section.ai-referat-section{
 background:#fff8f9!important;background-image:none!important;position:relative;
 padding:72px 0 78px!important;overflow:hidden!important;
}
body.rf-home-page .pl-how-section::before,body.rf-home-page .pl-how-section::after{display:none!important;content:none!important}
body.rf-home-page .pl-how-section *,body.rf-home-page .pl-how-section *::before,body.rf-home-page .pl-how-section *::after{box-sizing:border-box}
body.rf-home-page .pl-how-section .pl-how-shell{
 width:min(1580px,calc(100% - 72px))!important;max-width:1580px!important;
 margin-inline:auto!important;display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,58%)!important;
 align-items:center!important;gap:0!important;
}
body.rf-home-page .pl-how-illustration{width:100%;min-width:0;display:flex;align-items:end;justify-content:center;align-self:center;}
body.rf-home-page .pl-how-illustration img{display:block;width:min(100%,650px);height:auto;max-height:760px;object-fit:contain;object-position:center bottom;}
body.rf-home-page .pl-how-content{min-width:0;padding:18px 0 28px 24px;color:#0b2040}
body.rf-home-page .pl-how-eyebrow{
 display:inline-flex;align-items:center;justify-content:center;gap:14px;
 padding:11px 25px 11px 21px;border-radius:999px;
 background:#ffe4e6;color:#0b2040;font-size:clamp(18px,1.2vw,22px);
 font-weight:800;line-height:1.15;margin-bottom:20px;
}
body.rf-home-page .pl-how-eyebrow img{display:block;width:34px;height:34px;object-fit:contain;flex:0 0 34px;}
body.rf-home-page .pl-how-content h2{
 margin:0 0 13px!important;font-family:'Manrope','Segoe UI',system-ui,sans-serif!important;
 font-size:clamp(40px,4vw,68px)!important;font-weight:800!important;letter-spacing:-.058em!important;
 line-height:1.09!important;text-wrap:balance;color:#0b2040!important;
}
body.rf-home-page .pl-how-content h2 strong{color:#e20e24!important;font-weight:800!important}
body.rf-home-page .pl-how-lead{margin:0 0 44px!important;font-size:clamp(19px,1.55vw,26px)!important;line-height:1.45!important;color:#42516d!important;max-width:850px}
body.rf-home-page .pl-how-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:38px;counter-reset:none}
body.rf-home-page .pl-how-steps li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:27px;align-items:start;position:relative;min-width:0;}
body.rf-home-page .pl-how-steps li:not(:last-child)::after{
 content:"";display:block;position:absolute;left:36px;top:81px;width:4px;
 height:calc(100% + 21px);border-radius:99px;background:#cbd1dc;
}
body.rf-home-page .pl-how-step-num{
 width:76px;height:76px;display:grid;place-items:center;border-radius:21px;
 background:#e90f22;color:#fff;font-size:39px;font-weight:800;
 line-height:1;box-shadow:0 5px 12px rgba(229,8,33,.10);
}
body.rf-home-page .pl-how-steps h3{
 margin:0 0 7px!important;font-family:'Manrope','Segoe UI',system-ui,sans-serif!important;
 color:#0b2040!important;font-size:clamp(23px,1.62vw,30px)!important;
 font-weight:800!important;line-height:1.28!important;letter-spacing:-.03em!important;
}
body.rf-home-page .pl-how-steps p{
 margin:0!important;max-width:760px;color:#354967!important;
 font-size:clamp(18px,1.34vw,24px)!important;line-height:1.47!important;
}
@media(max-width:1200px){
 body.rf-home-page main > section.pl-how-section.ai-referat-section{padding:60px 0!important}
 body.rf-home-page .pl-how-section .pl-how-shell{width:calc(100% - 48px)!important;grid-template-columns:minmax(0,40%) minmax(0,60%)!important}
 body.rf-home-page .pl-how-content{padding-left:14px}
 body.rf-home-page .pl-how-content h2{font-size:clamp(37px,4vw,53px)!important}
 body.rf-home-page .pl-how-lead{font-size:20px!important;margin-bottom:30px!important}
 body.rf-home-page .pl-how-steps{gap:24px}
 body.rf-home-page .pl-how-steps li{grid-template-columns:62px minmax(0,1fr);gap:20px}
 body.rf-home-page .pl-how-step-num{width:62px;height:62px;font-size:32px;border-radius:17px}
 body.rf-home-page .pl-how-steps li:not(:last-child)::after{left:29px;top:69px}
 body.rf-home-page .pl-how-steps h3{font-size:clamp(20px,2vw,25px)!important}
 body.rf-home-page .pl-how-steps p{font-size:clamp(16px,1.5vw,20px)!important}
}
@media(max-width:740px){
 body.rf-home-page .pl-hero-actions .pl-hero-primary>img:first-child,
 body.rf-home-page .pl-hero-actions .pl-hero-demo>img:first-child{
   width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
 body.rf-home-page .pl-hero-actions .pl-hero-primary>img.pl-hero-arrow{width:27px!important;height:27px!important;min-width:27px!important;flex-basis:27px!important}
 body.rf-home-page main > section.pl-how-section.ai-referat-section{padding:46px 0 58px!important}
 body.rf-home-page .pl-how-section .pl-how-shell{
  width:calc(100% - 32px)!important;grid-template-columns:1fr!important;gap:0!important;
 }
 body.rf-home-page .pl-how-content{order:1;padding:0;display:contents}
 body.rf-home-page .pl-how-eyebrow{order:1;justify-self:center;font-size:16px;gap:9px;padding:8px 17px;margin-bottom:15px}
 body.rf-home-page .pl-how-eyebrow img{width:26px;height:26px;flex-basis:26px}
 body.rf-home-page .pl-how-content h2{order:2;font-size:clamp(34px,7.7vw,48px)!important;text-align:center;letter-spacing:-.05em!important;margin-bottom:13px!important}
 body.rf-home-page .pl-how-lead{order:3;font-size:17px!important;line-height:1.45!important;text-align:center;margin:0 auto 12px!important}
 body.rf-home-page .pl-how-illustration{order:4;width:100%;max-width:400px;justify-self:center;margin:0 auto 15px;}
 body.rf-home-page .pl-how-illustration img{width:100%;height:auto;max-height:420px;}
 body.rf-home-page .pl-how-steps{order:5;width:100%;gap:27px}
 body.rf-home-page .pl-how-steps li{grid-template-columns:50px minmax(0,1fr);gap:15px}
 body.rf-home-page .pl-how-step-num{width:50px;height:50px;font-size:25px;border-radius:14px}
 body.rf-home-page .pl-how-steps li:not(:last-child)::after{left:23px;top:58px;width:3px;height:calc(100% + 17px)}
 body.rf-home-page .pl-how-steps h3{font-size:clamp(18px,4.55vw,23px)!important;margin-bottom:4px!important}
 body.rf-home-page .pl-how-steps p{font-size:15px!important;line-height:1.48!important}
}
@media(max-width:370px){
 body.rf-home-page .pl-how-section .pl-how-shell{width:calc(100% - 24px)!important}
 body.rf-home-page .pl-how-content h2{font-size:32px!important}
 body.rf-home-page .pl-how-steps li{gap:11px;grid-template-columns:45px 1fr}
 body.rf-home-page .pl-how-step-num{width:45px;height:45px}
 body.rf-home-page .pl-how-steps li:not(:last-child)::after{left:21px;top:53px}
}
@media(prefers-reduced-motion:reduce){body.rf-home-page .pl-how-section *{scroll-behavior:auto!important}}
