/* #256 build (Josh, 30 Oct 2026): the three paid offers as metal tiers, shared by the customer home and owner setup.
   10-pack bronze, 20-pack silver, weekly subscription gold. Gold's buy button wears a reflective rainbow holographic
   shimmer that previews the gold card a subscriber gets. Motion is one transform on one layer (cheap on phones),
   runs a few slow passes then rests, and is off with reduced motion. */
.tier{--tier-bg:#FBF6EC;--tier-ink:var(--cc-ink,#2B1D12);--tier-sub:var(--cc-brown-muted,#6E5A48);--tier-edge:rgba(43,29,18,.14);--tier-shine:rgba(255,255,255,.55);--tier-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 10px 24px -14px rgba(60,35,10,.45)}
.tier-bronze{--tier-bg:linear-gradient(140deg,#FBE4CC 0%,#EDBE92 38%,#C98B57 78%,#E7B58A 100%);--tier-ink:#3A2213;--tier-sub:#6B4329;--tier-edge:#B07445;--tier-metal:#B87B4B}
.tier-silver{--tier-bg:linear-gradient(140deg,#FBFCFD 0%,#E3E7EC 40%,#B9C0CA 78%,#E6E9EE 100%);--tier-ink:#20252C;--tier-sub:#4A525D;--tier-edge:#9AA2AD;--tier-metal:#A3ABB6}
.tier-gold{--tier-bg:linear-gradient(140deg,#FFF6D6 0%,#F6D676 34%,#D9A63A 70%,#F4D886 100%);--tier-ink:#33240A;--tier-sub:#62471A;--tier-edge:#BF8F2C;--tier-metal:#D4A53C;--tier-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 14px 30px -14px rgba(150,100,10,.55)}
.tier-surface{position:relative;background:var(--tier-bg);color:var(--tier-ink);border:1px solid var(--tier-edge);box-shadow:var(--tier-shadow)}
/* A fine brushed line across the metal, static: depth without motion. */
.tier-surface::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 30%,var(--tier-shine) 46%,transparent 54%);opacity:.55}
.tier-medal{display:inline-flex;align-items:center;gap:6px;font:700 0.6875rem/1 var(--cc-font-body,system-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--tier-sub)}
.tier-medal::before{content:"";width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 18%,var(--tier-metal) 55%,rgba(0,0,0,.25) 100%);box-shadow:0 0 0 1px var(--tier-edge)}

/* Holographic gold: a rainbow foil band under a warm gold base, sliding once every few seconds. */
.holo{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#FCE7A0 0%,#E9BC4F 30%,#C89127 58%,#F3D27A 82%,#FFF0BE 100%);color:#2E2006;border:1px solid #B88A27;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 -1px 0 rgba(120,80,0,.25) inset,0 10px 22px -10px rgba(170,115,10,.65)}
.holo::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-100%;width:300%;pointer-events:none;
 background:linear-gradient(105deg,transparent 0 30%,rgba(255,120,170,.38) 36%,rgba(255,215,120,.42) 40%,rgba(130,255,200,.38) 44%,rgba(120,190,255,.42) 48%,rgba(200,140,255,.38) 52%,transparent 58% 100%);
 mix-blend-mode:overlay;transform:translate3d(-12%,0,0);animation:holo-pass 5.5s cubic-bezier(.45,.05,.25,1) .6s 3 both}
.holo::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(120% 90% at 18% 0%,rgba(255,255,255,.55),transparent 55%)}
@keyframes holo-pass{0%{transform:translate3d(-12%,0,0)}55%,100%{transform:translate3d(34%,0,0)}}
/* A press or hover plays one more pass so the foil answers the finger. */
.holo:hover::before,.holo:focus-visible::before{animation:holo-pass 1.6s cubic-bezier(.45,.05,.25,1) 1 both}
@media (prefers-reduced-motion:reduce){.holo::before,.holo:hover::before,.holo:focus-visible::before{animation:none;transform:translate3d(10%,0,0)}}
