/* Hero: the Bolt Food film with the wordmark, lead text and buttons, visible from the first frame.
   (Formerly a paper poster that tore open on scroll; that intro was removed.) The rise-in is driven by
   .is-open, which tear-hero.js adds right after the first paint. */

.tear-hero{position:relative;height:100svh;min-height:520px;background:#0b263b;overflow:clip}
.tear-stage{position:relative;height:100%;overflow:hidden;background:#0b263b}
.tear-video,.tear-scrim{position:absolute;inset:0;width:100%;height:100%}
.tear-video{object-fit:cover;transform:scale(1.06)}
.tear-scrim{background:linear-gradient(180deg,rgb(6 20 38 / .35) 0%,transparent 30%,transparent 48%,rgb(6 20 38 / .9) 100%);pointer-events:none}

.tp{position:absolute;left:0;right:0;bottom:0;z-index:2;display:grid;grid-template-columns:1fr;align-items:end;gap:16px;padding:0 clamp(16px,2.8vw,44px) calc(clamp(14px,2vw,26px) + 76px);color:#eaf1f8;pointer-events:none}
.tear-hero.is-open .tp{pointer-events:auto}
.tp-brand{display:inline-flex;margin:0 0 0 -.04em;font:600 clamp(72px,min(13.5vw,19svh),300px)/.85 var(--display,'Cabinet Grotesk'),sans-serif;letter-spacing:-.07em;color:transparent}
/* The mark starts hidden (tp-ch in the HTML) and the raw wordmark text is transparent until tear-hero.js
   splits it into letters, so neither flashes on load before the paper is drawn. */
.tp-ch{display:inline-block;transform:translateY(.25em);opacity:0;transition:transform .7s cubic-bezier(.16,1,.3,1),opacity .7s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--i) * 45ms)}
.tp-brand{align-items:flex-end;filter:drop-shadow(0 4px 26px rgb(6 20 38 / .6))}
.tp-mark{width:.62em;height:.76em;margin:0 .12em .02em 0;flex:none}
/* Gradient across the whole word: every letter paints its slice of one gradient (tear-hero.js sets the
   word width --tp-w and each letter's offset --tp-x), drifting slowly like the footer wordmark. */
@property --tp-shift{syntax:'<length>';inherits:true;initial-value:0px}
.tp-letter{color:transparent;background:linear-gradient(100deg,#ffffff 0%,#8ef0bd 14%,#34c77b 28%,#4fd8c8 42%,#6fb6ff 56%,#b7d4ff 70%,#ffffff 84%,#ffffff 100%) calc(var(--tp-shift) - var(--tp-x,0px)) 0/calc(var(--tp-w,6em) * 2) 100% repeat-x;-webkit-background-clip:text;background-clip:text}
.tear-hero.is-open .tp-brand{animation:tp-drift 12s linear infinite}
@keyframes tp-drift{to{--tp-shift:calc(var(--tp-w,6em) * -2)}}
.tp-side{display:flex;flex-direction:column;gap:16px;max-width:30rem;padding-bottom:clamp(2px,1.2vw,20px)}
.tp-side>*{transform:translateY(20px);opacity:0;transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .8s cubic-bezier(.16,1,.3,1)}
.tp-side>:nth-child(1){transition-delay:.35s}.tp-side>:nth-child(2){transition-delay:.5s}.tp-side>:nth-child(3){transition-delay:.65s}.tp-side>:nth-child(4){transition-delay:.8s}
.tear-hero.is-open .tp-ch,.tear-hero.is-open .tp-side>*{transform:none;opacity:1}
/* "First week commission-free" badge above the lead text (offer.js hides it when the offer ends). */
.tp-offer{align-self:flex-start;display:inline-flex;align-items:center;gap:9px;padding:8px 15px 8px 13px;border:1px solid rgb(142 240 189 / .55);border-radius:999px;background:rgb(52 199 123 / .18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#d7fbe8;font-size:14px;font-weight:700;letter-spacing:.01em;text-decoration:none}
.tp-offer::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:#34c77b;animation:tp-pulse 2.2s ease-out infinite}
@keyframes tp-pulse{0%{box-shadow:0 0 0 0 rgb(52 199 123 / .65)}80%,100%{box-shadow:0 0 0 9px rgb(52 199 123 / 0)}}
.tp-offer:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tp-lead{margin:0;font-size:clamp(15px,1.25vw,19px);line-height:1.35;color:rgb(234 241 248 / .88)}
.tp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.tp-cta{display:inline-flex;align-items:center;gap:10px;padding:5px 5px 5px 22px;border-radius:999px;background:#fff;color:#0c2239;font-size:16px;font-weight:700;text-decoration:none;transition:gap .25s}
.tp-cta:hover{gap:14px}
.tp-cta-dot{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0c2239;color:#fff;transition:transform .25s}
.tp-cta:hover .tp-cta-dot{transform:scale(1.08)}
.tp-cta-dot svg{width:17px;height:17px}
html[dir=rtl] .tp-cta-dot svg{transform:scaleX(-1)}
.tp-earn{display:inline-flex;align-items:center;min-height:52px;padding:0 22px;border:1px solid rgb(234 241 248 / .45);border-radius:999px;background:rgb(12 34 57 / .35);color:#eaf1f8;font-size:16px;font-weight:600;text-decoration:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .2s,border-color .2s}
.tp-earn:hover{background:rgb(12 34 57 / .6);border-color:rgb(234 241 248 / .7)}
.tp-cta:focus-visible,.tp-earn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tp-note{margin:0;font-size:12px;color:rgb(234 241 248 / .62)}
/* Phones: the menu now sits at the top, so the text sits low on the screen with a modest margin (20px sides, 36px bottom). */
@media (max-width:640px){.tp{padding:0 20px calc(36px + env(safe-area-inset-bottom,0px))}}
@media (min-width:1000px){.tp{grid-template-columns:minmax(0,1fr) minmax(300px,26rem);gap:32px}}

.tear-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media (prefers-reduced-motion:reduce){
 .tp-ch,.tp-side>*{transition:none}
 .tp-offer::before{animation:none}
 .tear-hero.is-open .tp-brand{animation:none}
}
