/* STAKED motion — layout hooks for the brand animation system (loaded after styles.css). */

/* Brand mark in the header: reserves its box before JS runs, so nothing shifts. */
stacked-logo{display:inline-block;width:var(--s,28px);height:var(--s,28px);flex:none;line-height:0}
stacked-logo img{display:block;width:100%;height:100%}

/* First-visit splash. The inline <style> in <head> paints it on the very first frame;
   this block only positions the lock-up. It never captures pointer events. */
#stackedSplash{display:grid;place-items:center}
#stackedSplash stacked-motion{width:min(78vw,380px)}

/* "How it works" section */
.stacked-how{padding-block:clamp(40px,7vw,88px)}
.stacked-how-head{display:grid;gap:8px;max-width:640px;margin:0 0 clamp(20px,4vw,36px)}
.stacked-how-kicker{font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.stacked-how-head h2{margin:0;font-size:clamp(1.5rem,3.4vw,2.25rem);letter-spacing:-.03em;line-height:1.12}
.stacked-how-head p{margin:0;color:var(--muted)}
.stacked-how-stage{border:1px solid var(--line);border-radius:calc(var(--r) + 10px);background:var(--surface);box-shadow:var(--shadow);padding:clamp(14px,3vw,32px);overflow:hidden}
.stacked-how-stage stacked-motion{margin-inline:auto;max-width:780px}

/* Loader helper: <stacked-motion type="loader" class="stacked-loader"> */
.stacked-loader{--stacked-size:40px}

@media (prefers-reduced-motion:reduce){
  #stackedSplash{display:none}
}
