/* EASYPRINT HERO PAPER V2 â€” seamless background, no stage card */
#home.ep-hero-v2 {
  position:relative; overflow:hidden; isolation:isolate;
  min-height:115svh !important;
  box-sizing:border-box;
  padding:clamp(108px,12vh,154px) 24px clamp(95px,13vh,150px) !important;
  display:flex; align-items:center; justify-content:center;
}
#home.ep-hero-v2 .ep-hero-shell {width:min(100%,1170px);margin-inline:auto;text-align:center;position:relative;z-index:1;}
#home .ep-hero-heading {position:relative;z-index:5;}
#home .ep-hero-kicker {display:block;font-size:11px;font-weight:800;letter-spacing:.20em;color:#378eb6;line-height:1.2;margin-bottom:14px;}
#home .ep-hero-heading h1 {font-family:Arial,Helvetica,sans-serif !important;color:#194f83;font-size:clamp(37px,3.45vw,52px) !important;line-height:1.055;font-weight:850;letter-spacing:-.052em;margin:0 !important;}
#home .ep-hero-heading h1 span {display:block;}
#home .ep-hero-gradient {background:linear-gradient(100deg,#16b9ca,#2a91d9);-webkit-background-clip:text;background-clip:text;color:transparent;}
#home .ep-hero-stage {--exit:0;position:relative;width:min(100%,1080px);height:clamp(340px,40vw,485px);margin:24px auto 0;background:transparent !important;border:0 !important;box-shadow:none !important;overflow:visible;perspective:1250px;pointer-events:none;}
#home .ep-hero-paper-slot {position:absolute;left:50%;bottom:7%;width:245px;transform-origin:50% 90%;transform:translateX(calc(-50% + var(--x) + var(--out-shift, 0px))) translateY(var(--out-y, 0px)) rotate(var(--rotation, var(--angle)));opacity:var(--paper-opacity, 1);will-change:transform,opacity;}
#home .ep-hero-slot-one {--x:-345px;--angle:-17deg;--out-x:-105px;--out-angle:-9deg;z-index:1;}
#home .ep-hero-slot-two {--x:-175px;--angle:-8deg;--out-x:-78px;--out-angle:-6deg;z-index:2;}
#home .ep-hero-slot-three {--x:0px;--angle:0deg;--out-x:0px;--out-angle:0deg;z-index:5;}
#home .ep-hero-slot-four {--x:178px;--angle:8deg;--out-x:80px;--out-angle:6deg;z-index:2;}
#home .ep-hero-slot-five {--x:345px;--angle:17deg;--out-x:110px;--out-angle:9deg;z-index:1;}
#home .ep-hero-paper {position:relative;box-sizing:border-box;width:245px;padding:21px 20px 30px;text-align:left;border-radius:4px;background:#fff;border:1px solid #d8e5ef;box-shadow:0 25px 46px rgba(24,78,131,.18),0 7px 14px rgba(24,78,131,.08);font-family:Arial,Helvetica,sans-serif;}
#home .ep-hero-sheet-short {height:318px;}
#home .ep-hero-sheet-a4 {height:347px;}
#home .ep-hero-sheet-long {height:382px;}
#home .ep-hero-featured {border-color:#b4d9ee;box-shadow:0 26px 54px rgba(24,78,131,.23),0 8px 17px rgba(24,78,131,.09);}
#home .ep-paper-masthead {display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:2px solid #dcebf4;color:#2b6d9b;font-size:10px;letter-spacing:.08em;}
#home .ep-paper-masthead small {background:#e8f6fc;color:#1b83ab;border-radius:3px;padding:4px 6px;font-weight:800;font-size:8px;}
#home .ep-hero-paper h3 {font-size:15px !important;font-weight:800 !important;letter-spacing:-.02em;line-height:1.25;color:#204d71;margin:24px 0 7px !important;}
#home .ep-hero-paper p {font-size:10px !important;color:#7490a5;margin:0 0 15px !important;line-height:1.45;}
#home .ep-hero-lines {display:grid;gap:10px;margin-top:17px;}
#home .ep-hero-lines i {height:4px;border-radius:4px;background:#dae8f1;display:block;}
#home .ep-hero-lines i:nth-child(2n) {width:83%;}
#home .ep-hero-lines i:nth-child(3n) {width:66%;}
#home .ep-hero-paper-table {display:flex;align-items:end;gap:5px;height:42px;margin-top:18px;border-bottom:1px solid #c9dfeb;}
#home .ep-hero-paper-table span {background:#d7ecf7;flex:1;height:45%;}
#home .ep-hero-paper-table span:nth-child(2) {height:75%;background:#b1d8ec;}
#home .ep-hero-paper-table span:nth-child(3) {height:100%;}
#home .ep-hero-form {display:grid;gap:13px;margin-top:20px;}
#home .ep-hero-form i {height:13px;border-bottom:1px solid #bcd4e3;}
#home .ep-hero-document-mark {width:48px;height:48px;background:linear-gradient(135deg,#17bfd3,#318dd7);color:white;font-size:19px;font-weight:900;display:grid;place-items:center;border-radius:7px;margin:18px auto -12px;}
#home .ep-paper-footer {position:absolute;bottom:18px;left:20px;right:20px;color:#7696aa;border-top:1px solid #e5edf3;padding-top:9px;font-size:8px;letter-spacing:.08em;font-weight:700;}
#home .ep-hero-bottom {--exit:0;position:relative;z-index:6;opacity:var(--bottom-opacity, 1);transform:translateY(var(--bottom-y, 0px));}
#home .ep-hero-subtitle {max-width:500px;margin:3px auto 23px !important;color:#587c94;font-size:14px !important;line-height:1.6 !important;}
#home .ep-hero-actions {display:flex;justify-content:center;align-items:center;gap:13px;flex-wrap:wrap;}
#home .ep-hero-primary.upload-btn,#home .ep-hero-secondary {font-family:Arial,Helvetica,sans-serif !important;box-sizing:border-box;height:48px;min-width:175px;display:inline-flex;justify-content:center;align-items:center;text-decoration:none !important;font-size:13px !important;font-weight:750 !important;border-radius:12px !important;cursor:pointer;}
#home .ep-hero-primary.upload-btn {margin:0 !important;width:auto !important;padding:0 24px !important;background:linear-gradient(110deg,#19b6c6,#329bd8) !important;color:#fff !important;border:0 !important;}
#home .ep-hero-secondary {border:1px solid #b9daec;background:rgba(255,255,255,.64);color:#205d87;gap:10px;padding:0 22px;}
#home .ep-hero-primary:hover,#home .ep-hero-secondary:hover {filter:brightness(1.04);transform:translateY(-2px);}
#home .ep-hero-meta {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin-top:18px;color:#7390a5;font-size:10px;}
#home .ep-hero-meta span:not(:first-child)::before {content:'Â·';margin-right:17px;color:#87b0c8;}
/* First load: the individual sheets rise and unfurl in sequence. */
@media (prefers-reduced-motion:no-preference) {
  #home .ep-hero-heading {animation:epHeroHeading .75s both ease-out;}
  #home .ep-hero-paper {animation:epHeroSheet 1s both cubic-bezier(.17,.8,.2,1);}
  #home .ep-hero-slot-three .ep-hero-paper {animation-delay:.60s;}
  #home .ep-hero-slot-two .ep-hero-paper {animation-delay:1.15s;}
  #home .ep-hero-slot-four .ep-hero-paper {animation-delay:1.40s;}
  #home .ep-hero-slot-one .ep-hero-paper {animation-delay:1.65s;}
  #home .ep-hero-slot-five .ep-hero-paper {animation-delay:1.90s;}
  #home .ep-hero-bottom {animation:epHeroBottom .8s 2.65s both ease-out;}
  @keyframes epHeroHeading {from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
  @keyframes epHeroSheet {from{opacity:0;transform:translateY(125px) scale(.7) rotate(0deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0deg)}}
  @keyframes epHeroBottom {from{opacity:0;filter:blur(5px);translate:0 16px}to{opacity:1;filter:blur(0);translate:0 0}}
}
@media (max-width:900px) {
  #home.ep-hero-v2 {min-height:110svh !important;}
  #home .ep-hero-stage {height:415px;max-width:690px;}
  #home .ep-hero-paper-slot {width:200px;}
  #home .ep-hero-paper {width:200px;padding:17px 15px 26px;}
  #home .ep-hero-sheet-short {height:270px;}#home .ep-hero-sheet-a4 {height:296px;}#home .ep-hero-sheet-long {height:320px;}
  #home .ep-hero-slot-one {--x:-225px;--out-x:-65px;}#home .ep-hero-slot-two {--x:-118px;--out-x:-40px;}
  #home .ep-hero-slot-four {--x:118px;--out-x:40px;}#home .ep-hero-slot-five {--x:225px;--out-x:65px;}
  #home .ep-hero-paper h3 {font-size:12px !important;margin-top:17px !important;}#home .ep-hero-paper p {font-size:9px !important;}
  #home .ep-paper-footer {left:15px;right:15px;bottom:12px;}
}
@media (max-width:600px) {
  #home.ep-hero-v2 {min-height:110svh !important;padding:110px 13px 84px !important;}
  #home .ep-hero-heading h1 {font-size:clamp(33px,9vw,44px) !important;}
  #home .ep-hero-stage {height:320px;width:100%;margin-top:24px;}
  #home .ep-hero-paper-slot {width:160px;bottom:8%;}
  #home .ep-hero-paper {width:160px;padding:14px 12px 22px;}
  #home .ep-hero-sheet-short {height:224px;}#home .ep-hero-sheet-a4 {height:241px;}#home .ep-hero-sheet-long {height:262px;}
  #home .ep-hero-slot-one {--x:-132px;--angle:-15deg;--out-x:-38px;}#home .ep-hero-slot-two {--x:-70px;--angle:-8deg;--out-x:-20px;}
  #home .ep-hero-slot-four {--x:70px;--angle:8deg;--out-x:20px;}#home .ep-hero-slot-five {--x:132px;--angle:15deg;--out-x:38px;}
  #home .ep-hero-paper h3 {font-size:10px !important;margin:13px 0 5px !important;}
  #home .ep-hero-paper p {font-size:8px !important;}
  #home .ep-hero-lines {gap:8px;}
  #home .ep-hero-document-mark {width:32px;height:32px;font-size:13px;margin:12px auto -6px;}
  #home .ep-paper-masthead {font-size:6px;}.ep-hero-v2 .ep-paper-masthead small{font-size:6px;}
  #home .ep-paper-footer {font-size:6px;left:12px;right:12px;}
  #home .ep-hero-subtitle {font-size:12.5px !important;max-width:360px;}
  #home .ep-hero-primary.upload-btn,#home .ep-hero-secondary {min-width:145px;height:44px;font-size:12px !important;}
  #home .ep-hero-meta {gap:9px;font-size:9px;}#home .ep-hero-meta span:not(:first-child)::before {margin-right:7px;}
}
@media (max-width:390px) {
  #home .ep-hero-slot-one {--x:-105px;}#home .ep-hero-slot-two {--x:-56px;}
  #home .ep-hero-slot-four {--x:56px;}#home .ep-hero-slot-five {--x:105px;}
}
@media (prefers-reduced-motion:reduce) {
  #home .ep-hero-paper,#home .ep-hero-heading,#home .ep-hero-bottom {animation:none !important;}
  #home .ep-hero-stage,#home .ep-hero-bottom {--exit:0 !important;opacity:1 !important;transform:none !important;}
}

/* EASYPRINT HERO METADATA CLEAN R1 */

#home.ep-hero-v2 .ep-hero-meta {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px !important;

    width: min(100%, 620px);
    margin: 14px auto 20px !important;
}

#home.ep-hero-v2 .ep-hero-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 12px;
    border: 1px solid rgba(138, 193, 222, .28);
    border-radius: 999px;

    background: rgba(255,255,255,.55);
    color: #567d95;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

/* Do not create decorative text separators. */

#home.ep-hero-v2 .ep-hero-meta span::before,
#home.ep-hero-v2 .ep-hero-meta span::after {
    content: none !important;
}

/* Keep metadata above the button. */

#home.ep-hero-v2 .ep-hero-subtitle {
    order: 1;
}

#home.ep-hero-v2 .ep-hero-meta {
    order: 2;
}

#home.ep-hero-v2 .ep-hero-actions {
    order: 3;
}

/* EASYPRINT HERO META ORDER FIX R1 */

#home.ep-hero-v2 .ep-hero-subtitle {
    margin-bottom: 14px;
}

#home.ep-hero-v2 .ep-hero-meta {
    margin: 0 auto 16px !important;
}

#home.ep-hero-v2 .ep-hero-actions {
    margin-top: 0 !important;
}

/* =====================================================
   EASYPRINT HERO V2.3 MOTION REPAIR
   Intro first, breathing second, smaller entire fan
===================================================== */

/* Scale the whole paper composition together. */

#home.ep-hero-v2 .ep-hero-stage {
    scale: .88;
    transform-origin: center center;
}

/* Original reveal sequence, restored. */

@media (prefers-reduced-motion: no-preference) {

    #home.ep-hero-v2:not(.ep-hero-settled) .ep-hero-paper {
        animation: epHeroEnterV23 900ms both
            cubic-bezier(.16,.82,.22,1) !important;
    }

    #home.ep-hero-v2:not(.ep-hero-settled)
    .ep-hero-slot-three .ep-hero-paper {
        animation-delay: .55s !important;
    }

    #home.ep-hero-v2:not(.ep-hero-settled)
    .ep-hero-slot-two .ep-hero-paper {
        animation-delay: 1.05s !important;
    }

    #home.ep-hero-v2:not(.ep-hero-settled)
    .ep-hero-slot-four .ep-hero-paper {
        animation-delay: 1.35s !important;
    }

    #home.ep-hero-v2:not(.ep-hero-settled)
    .ep-hero-slot-one .ep-hero-paper {
        animation-delay: 1.65s !important;
    }

    #home.ep-hero-v2:not(.ep-hero-settled)
    .ep-hero-slot-five .ep-hero-paper {
        animation-delay: 1.95s !important;
    }

    @keyframes epHeroEnterV23 {
        0% {
            opacity: 0;
            transform: translateY(110px) scale(.72);
            filter: blur(4px);
        }

        65% {
            opacity: 1;
            filter: blur(0);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    /* The breathing starts only after the reveal. */

    #home.ep-hero-v2.ep-hero-settled .ep-hero-paper {
        animation: epHeroBreatheV23 5.2s
            ease-in-out infinite !important;
    }

    #home.ep-hero-v2.ep-hero-settled
    .ep-hero-slot-one .ep-hero-paper {
        animation-delay: -.5s !important;
    }

    #home.ep-hero-v2.ep-hero-settled
    .ep-hero-slot-two .ep-hero-paper {
        animation-delay: -1.1s !important;
    }

    #home.ep-hero-v2.ep-hero-settled
    .ep-hero-slot-three .ep-hero-paper {
        animation-delay: -1.8s !important;
    }

    #home.ep-hero-v2.ep-hero-settled
    .ep-hero-slot-four .ep-hero-paper {
        animation-delay: -2.6s !important;
    }

    #home.ep-hero-v2.ep-hero-settled
    .ep-hero-slot-five .ep-hero-paper {
        animation-delay: -3.3s !important;
    }

    @keyframes epHeroBreatheV23 {
        0%, 100% {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-5px) scale(1.013);
        }
    }
}

/* Responsive scale. */

@media (max-width: 900px) {
    #home.ep-hero-v2 .ep-hero-stage {
        scale: .93;
    }
}

@media (max-width: 600px) {
    #home.ep-hero-v2 .ep-hero-stage {
        scale: .96;
    }
}

/* Accessibility. */

@media (prefers-reduced-motion: reduce) {
    #home.ep-hero-v2 .ep-hero-paper {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* EASYPRINT HERO KIOSK V2.1 OVERRIDES START */
.ep-hero-v2 .ep-hero-shell {
  padding-top: 12px;
}

.ep-hero-v2 .ep-hero-heading {
  margin-bottom: 0.9rem;
}

.ep-hero-v2 .ep-hero-kicker {
  display: block;
  margin-bottom: 0.95rem;
}

.ep-hero-v2 .ep-hero-heading h1 {
  margin: 0;
  line-height: .94;
}

.ep-hero-v2 .ep-hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem auto 2.25rem;
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  justify-items: center;
  gap: 0;
  width: min(980px, 100%);
  min-height: 415px;
  margin: 0 auto 1.1rem;
}

.ep-hero-v2 .ep-hero-paper-cluster {
  position: relative;
  width: 250px;
  height: 265px;
  pointer-events: none;
}

.ep-hero-v2 .ep-hero-paper-slot {
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-paper {
  width: 172px;
  min-height: 218px;
  box-shadow: 0 28px 44px rgba(36, 78, 126, 0.12);
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-sheet-a4 {
  min-height: 236px;
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-sheet-long {
  min-height: 228px;
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-kiosk-wrap {
  position: relative;
  z-index: 8;
  width: 355px;
  display: flex;
  justify-content: center;
  align-items: end;
  margin: 0 -8px;
}

.ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-kiosk-image {
  display: block;
  width: min(355px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 46px rgba(32, 75, 125, 0.22));
}

.ep-hero-v2 .ep-hero-cluster-left {
  justify-self: end;
}

.ep-hero-v2 .ep-hero-cluster-right {
  justify-self: start;
}

.ep-hero-v2 .ep-hero-slot-left-one { left: 6px; bottom: 6px; transform: rotate(-17deg) scale(.88); z-index: 1; }
.ep-hero-v2 .ep-hero-slot-left-two { left: 68px; bottom: 20px; transform: rotate(-9deg) scale(.89); z-index: 2; }
.ep-hero-v2 .ep-hero-slot-left-three { left: 122px; bottom: 10px; transform: rotate(1.5deg) scale(.87); z-index: 3; }

.ep-hero-v2 .ep-hero-slot-right-one { right: 122px; bottom: 10px; transform: rotate(-1.5deg) scale(.87); z-index: 3; }
.ep-hero-v2 .ep-hero-slot-right-two { right: 68px; bottom: 20px; transform: rotate(9deg) scale(.89); z-index: 2; }
.ep-hero-v2 .ep-hero-slot-right-three { right: 6px; bottom: 6px; transform: rotate(17deg) scale(.88); z-index: 1; }

.ep-hero-v2 .ep-hero-bottom {
  margin-top: 0.2rem;
}

@media (max-width: 1100px) {
  .ep-hero-v2 .ep-hero-stage-kiosk-v21 {
    width: min(900px, 100%);
    min-height: 380px;
  }

  .ep-hero-v2 .ep-hero-paper-cluster {
    width: 215px;
    height: 238px;
  }

  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-paper {
    width: 154px;
    min-height: 200px;
  }

  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-sheet-a4 { min-height: 216px; }
  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-sheet-long { min-height: 208px; }

  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-kiosk-wrap { width: 322px; }
  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-kiosk-image { width: min(322px, 100%); }
}

@media (max-width: 860px) {
  .ep-hero-v2 .ep-hero-meta {
    margin-bottom: 1.55rem;
  }

  .ep-hero-v2 .ep-hero-stage-kiosk-v21 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 0.85rem;
  }

  .ep-hero-v2 .ep-hero-paper-cluster {
    width: min(420px, 100%);
    height: 210px;
  }

  .ep-hero-v2 .ep-hero-stage-kiosk-v21 .ep-hero-kiosk-wrap {
    order: 2;
    width: 280px;
    margin: 0;
  }

  .ep-hero-v2 .ep-hero-cluster-left { order: 1; justify-self: center; }
  .ep-hero-v2 .ep-hero-cluster-right { order: 3; justify-self: center; }
}
/* EASYPRINT HERO KIOSK V2.1 OVERRIDES END */
