/* ---------- Hero: centred message, film as the product shot ---------- */
.fold-home .hero.lf-hero{padding:72px 0 40px;text-align:center}
.fold-home .hero.lf-hero .hero-grid{grid-template-columns:minmax(0,1fr)!important;justify-items:center;gap:44px!important}
.fold-home .hero.lf-hero .hero-grid>div:first-child{display:flex;flex-direction:column;align-items:center;max-width:820px}
.fold-home .hero.lf-hero h1{font-size:clamp(48px,6vw,84px)!important;margin:0 0 16px!important;text-wrap:balance}
.fold-home .hero.lf-hero p.lede{max-width:46ch!important;margin:0 auto 28px!important;font-size:20px!important;color:#4a4a52}
.fold-home .hero.lf-hero .cta-row{justify-content:center}
.fold-home .hero.lf-hero .hero-note{margin-top:14px}
.fold-home .hero.lf-hero .home-ad-shell{width:min(1080px,100%);border-radius:32px;box-shadow:0 30px 70px #1b1c3b26}
.fold-home .hero.lf-hero .home-ad-shell.is-loading{height:min(620px,calc(100vh - 140px))}

/* ---------- Box tiles: Apple-style 2-up, text on top, box below ---------- */
@media (min-width:861px){
  .fold-home .shape-grid{grid-template-columns:1fr 1fr!important;gap:20px!important}
  .fold-home .shape-grid>.shape{grid-row:auto!important;display:flex;flex-direction:column;min-height:520px;border-radius:28px;overflow:hidden;text-align:center}
  .fold-home .shape-grid>.shape .body{order:-1;align-items:center;padding:44px 28px 8px!important;gap:16px!important}
  .fold-home .shape-grid>.shape .t{flex-direction:column;align-items:center;gap:6px}
  .fold-home .shape-grid>.shape h3{font-size:44px!important}
  .fold-home .shape-grid>.shape .use{font-size:17px;opacity:.85}
  .fold-home .shape-grid>.shape .dim{opacity:.7;font-weight:500}
  .fold-home .shape-grid>.shape .actions{justify-content:center!important}
  .fold-home .shape-grid>.shape .well{min-height:320px!important;flex:1}
  .fold-home .shape-grid>.shape .well .rotation-symbol,.fold-home .shape-grid>.shape .well .rot-ico{display:none}
  .fold-home .shape[data-shape=tall]{--card-scale:1.75}
  .fold-home .shape[data-shape=cube]{--card-scale:2}
  .fold-home .shape[data-shape=wide]{--card-scale:1.55}
  .fold-home .shape[data-shape=slim]{--card-scale:1.25}
  .fold-home .shape[data-shape=mailer]{--card-scale:1.05}
  .fold-home .shape[data-shape=sleeve]{--card-scale:1.35}
  .fold-home .shape-grid>.soon{grid-column:span 2;min-height:220px}
}

/* ---------- What Fold can do: Apple-style card rail ---------- */
.fold-home .lf-features{--lf-gutter:max(24px,calc((100vw - 1176px)/2));margin-top:72px;padding:72px 0 56px;background:#f5f5f7}
.fold-home .lf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.fold-home .lf-head h2{margin:0;font:600 clamp(36px,4.4vw,56px)/1 var(--display,Antonio,Impact,sans-serif);letter-spacing:-.6px;color:#1d1d1f}
.fold-home .lf-link{font-size:17px;color:var(--accent,#5e67e6);text-decoration:none;white-space:nowrap;padding-bottom:6px}
.fold-home .lf-link:hover{text-decoration:underline}
.fold-home .lf-rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--lf-gutter);padding:6px var(--lf-gutter) 24px;scrollbar-width:none;outline:none}
.fold-home .lf-rail::-webkit-scrollbar{display:none}
.fold-home .lf-rail:focus-visible{outline:2px solid var(--accent,#5e67e6);outline-offset:-2px}
.fold-home .lf-card{flex:0 0 380px;height:500px;scroll-snap-align:start;display:flex;flex-direction:column;border-radius:26px;background:#fff;color:#1d1d1f;overflow:hidden;box-shadow:0 2px 12px #0000000a;transition:transform .3s,box-shadow .3s}
.fold-home .lf-card:hover{transform:scale(1.012);box-shadow:0 10px 30px #00000014}
.fold-home .lf-card .lf-text{padding:30px 30px 0}
.fold-home .lf-tag{display:flex;align-items:center;gap:8px;font:600 14px/1.2 var(--font-ui,Inter,sans-serif);color:#1d1d1f}
.fold-home .lf-tag b{font:600 10.5px/1 var(--font-ui,Inter,sans-serif);letter-spacing:.04em;text-transform:uppercase;padding:4px 7px;border-radius:999px;background:var(--accent-soft,#f0efff);color:var(--accent,#5e67e6)}
.fold-home .lf-card h3{margin:10px 0 0;font:700 25px/1.18 var(--font-ui,Inter,sans-serif);letter-spacing:-.4px}
.fold-home .lf-card p{margin:10px 0 0;font-size:15.5px;line-height:1.45;color:#424245}
.fold-home .lf-card .lf-visual{flex:1;display:grid;place-items:center;position:relative;min-height:0;padding:12px 20px 24px}
.fold-home .lf-card.lf-dark{background:radial-gradient(ellipse 70% 52% at 50% 72%,#3a3c5c 0%,#14151f 72%);color:#f5f5f7}
.fold-home .lf-card.lf-dark p,.fold-home .lf-card.lf-dark .lf-tag{color:#d2d2d7}
.fold-home .lf-card.lf-dark .lf-tag b{background:#ffffff1f;color:#fff}
.fold-home .lf-card.lf-kraft{background:linear-gradient(180deg,#fff 0,#fff 42%,#ecdcc2 100%)}
.fold-home .lf-card.lf-warm{background:linear-gradient(180deg,#fff 0,#fff 40%,#f3ece4 100%)}
.fold-home .lf-stage{perspective:1200px;display:grid;place-items:center;position:relative}
.fold-home .lf-stage>.library-box{transform:rotateX(-14deg) rotateY(-30deg)}
.fold-home .lf-visual>.lf-stage::after{content:"";position:absolute;left:50%;top:100%;width:120%;height:24px;transform:translate(-50%,10px);border-radius:50%;background:radial-gradient(closest-side,#0000001f,transparent)}
.fold-home .lf-dark .lf-visual>.lf-stage::after{background:radial-gradient(closest-side,#00000080,transparent)}
.fold-home .lf-vars{display:flex;align-items:flex-end;gap:22px}
.fold-home .lf-net{width:88%;max-width:300px;height:auto}
.fold-home .lf-paste{display:flex;align-items:center;gap:10px}
.fold-home .lf-chip{width:74px;height:74px;border-radius:18px;display:grid;place-items:center;box-shadow:0 8px 22px #0000001a}
.fold-home .lf-chip svg{width:38px;height:38px}
.fold-home .lf-chip-white{background:#fff;color:#2b2b2b;outline:1px solid #ececf0}
.fold-home .lf-chip-clear{background:conic-gradient(#e7e7ec 25%,#fff 0 50%,#e7e7ec 0 75%,#fff 0) 0 0/14px 14px;color:#2b2b2b}
.fold-home .lf-chip-tint{background:#c9a57c;color:#fff}
.fold-home .lf-arrow{font-size:18px;color:#a1a1aa}
.fold-home .lf-print{display:flex;gap:14px}
.fold-home .lf-img{position:relative;width:132px;height:150px;border-radius:14px;overflow:hidden;background:linear-gradient(160deg,#e9b77d,#c8834a 55%,#7d4a23)}
.fold-home .lf-img::before{content:"";position:absolute;inset:26% 18% 30%;border-radius:50%;background:radial-gradient(circle at 40% 40%,#f2cf9c,#b5763f 70%)}
.fold-home .lf-img-low::before{filter:blur(3px)}
.fold-home .lf-img-low{filter:saturate(.85)}
.fold-home .lf-img span{position:absolute;left:8px;right:8px;bottom:8px;padding:5px 7px;border-radius:8px;font:600 11px/1.2 var(--font-ui,Inter,sans-serif);background:#e8f7ee;color:#1d7a46;text-align:center}
.fold-home .lf-img-low span{background:#fff4e0;color:#9a5b00}
.fold-home .lf-pdf{display:grid;place-items:center}
.fold-home .lf-page{width:230px;padding:14px 14px 12px;border-radius:10px;background:#fff;box-shadow:0 12px 30px #00000017,0 0 0 1px #ececf0;transform:rotate(-3deg)}
.fold-home .lf-page-h{display:block;font:600 11px/1 var(--font-ui,Inter,sans-serif);color:#6e6e73;margin-bottom:8px}
.fold-home .lf-page svg{width:100%;height:auto;display:block}
.fold-home .lf-legend{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:10.5px;color:#6e6e73}
.fold-home .lf-legend i{width:14px;height:0;border-top:1.5px solid #e5484d}.fold-home .lf-legend i.fold{border-top:1.5px dashed #5e67e6;margin-left:8px}
.fold-home .lf-nav{display:flex;justify-content:flex-end;gap:12px}
.fold-home .lf-nav button{width:40px;height:40px;min-width:0;padding:0!important;line-height:0;border:0;border-radius:50%;background:#e8e8ed;color:#1d1d1f;display:grid;place-items:center;cursor:pointer;transition:background .2s,opacity .2s}
.fold-home .lf-nav button:hover:not(:disabled){background:#dcdce1}
.fold-home .lf-nav button:disabled{opacity:.4;cursor:default}
.fold-home .lf-nav svg{display:block;flex:none;margin:0;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:860px){
  .fold-home .hero.lf-hero{padding:40px 0 24px}
  .fold-home .hero.lf-hero h1{font-size:clamp(36px,10.5vw,48px)!important}
  .fold-home .hero.lf-hero p.lede{font-size:17px!important}
  .fold-home .lf-features{--lf-gutter:20px;margin-top:48px;padding:52px 0 40px}
  .fold-home .lf-head{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:24px}
  .fold-home .lf-head .lf-link{padding:0}
  .fold-home .lf-rail{gap:14px}
  .fold-home .lf-card{flex-basis:82vw;height:460px}
  .fold-home .lf-card h3{font-size:22px}
  .fold-home .lf-card .lf-stage{scale:.82}
  .fold-home .lf-card[data-feature=window] .lf-stage{scale:.7}
  .fold-home .lf-vars{gap:12px}.fold-home .lf-vars .lf-stage{scale:.8}
}

/* More shapes coming soon: one quiet line, not a card (desktop) */
@media (min-width:861px){
  .fold-home .shape-grid>.soon{grid-column:span 2;min-height:0!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:14px;padding:18px 20px!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left}
  .fold-home .shape-grid>.soon>div:first-child{display:none!important}
  .fold-home .shape-grid>.soon>div:last-child{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:center;gap:4px 10px;padding:0!important}
  .fold-home .shape-grid>.soon h3{margin:0!important;font:600 15px/1.3 var(--font-ui,Inter,sans-serif)!important}
  .fold-home .shape-grid>.soon p{margin:0!important;font-size:15px!important;color:#6a6a74}
  .fold-home .shape-grid>.soon .ask-link{margin:0!important;padding:0!important;font-size:15px!important}
}

/* Desktop: pinned while the cards travel sideways with page scroll */
.fold-home .lf-features.lf-pinned{padding:0}
.fold-home .lf-pinned .lf-sticky{position:sticky;top:68px;height:calc(100vh - 68px);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.fold-home .lf-pinned .lf-rail{overflow-x:hidden;scroll-snap-type:none}
.fold-home .lf-pinned .lf-card{height:clamp(400px,calc(100vh - 330px),500px)}
.fold-home .lf-pinned .lf-card:hover{transform:none}
.fold-home .lf-pinned .lf-head{margin-bottom:28px}

/* "Your designs": the backup note sits beside the heading */
.fold-home #your-designs .head>div{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:18px;row-gap:6px}
.fold-home #your-designs .head .home-backup-note{margin:0!important;align-items:center}
.fold-home #your-designs .head .home-backup-note svg{margin-top:0}
.fold-home .lf-pinned .lf-sticky>.wrap{width:100%;box-sizing:border-box}
.fold-home #your-designs .head>div{width:100%}
.fold-home #your-designs .head .home-backup-note{max-width:none!important;flex:1 1 360px}
