/* The main button: a light that circles the edge and a live dot at rest; on hover it ignites */
@property --ffa{syntax:'<angle>';inherits:false;initial-value:0deg}
.ffcta{--o:#FF4B1F;--ink:#0E0E0E;--txt:#F3EFE7;position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:12px;min-height:46px;padding:0 18px 0 16px;border-radius:999px;border:0!important;background:rgba(22,21,20,.55)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--txt)!important;text-decoration:none;font-family:"Plex Mono",ui-monospace,Menlo,monospace;font-size:11.5px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;box-shadow:0 0 0 0 rgba(255,75,31,0),0 10px 30px -14px rgba(255,75,31,.55);transition:box-shadow .5s ease,color .35s ease;will-change:transform;-webkit-tap-highlight-color:transparent}
/* the travelling light on the rim */
.ffcta::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1px;background:conic-gradient(from var(--ffa),rgba(243,239,231,.22) 0deg,rgba(243,239,231,.22) 220deg,rgba(255,75,31,.0) 230deg,var(--o) 300deg,#FFC2AE 330deg,rgba(243,239,231,.22) 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:ffspin 3.6s linear infinite}
@keyframes ffspin{to{--ffa:360deg}}
.ffcta .ff-dot{position:relative;flex:none;width:7px;height:7px;border-radius:50%;background:var(--o)}
.ffcta .ff-dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid var(--o);opacity:0;animation:ffping 2.4s cubic-bezier(.2,.6,.3,1) infinite}
@keyframes ffping{0%{transform:scale(.4);opacity:.9}80%,100%{transform:scale(1.6);opacity:0}}
/* hover (redesigned Nov 20): the button ignites. The rim light runs all the way round in ember, a warm bloom
   spills out from the live dot across the pill, a small flock of dots flies from the dot to the arrow (cta.js),
   the arrow steps forward and the pill lifts. Nothing goes grey, nothing rolls, nothing chases the cursor. */
@property --ffg{syntax:'<length>';inherits:false;initial-value:0px}
.ffcta .ff-fill{display:block;position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;
  background:radial-gradient(circle at var(--fx,20px) 50%,rgba(255,75,31,.5) 0,rgba(255,75,31,.16) var(--ffg),rgba(255,75,31,0) calc(var(--ffg) + 70px));
  transition:--ffg .8s cubic-bezier(.2,.8,.2,1),opacity .3s ease}
.ffcta::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1px;opacity:0;
  background:conic-gradient(from var(--ffa),#FF4B1F,#FFB08F 25%,#FF4B1F 50%,#FFB08F 75%,#FF4B1F);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:ffspin 3.6s linear infinite;transition:opacity .35s ease}
.ffcta .ff-roll{display:inline-block;line-height:1.3em}
.ffcta .ff-arr{position:relative;display:inline-block;width:1.1em;line-height:1.3em;font-family:system-ui,sans-serif;letter-spacing:0}
.ffcta .ff-arr i{display:inline-block;font-style:normal;transition:transform .45s cubic-bezier(.34,1.56,.64,1),color .3s ease}
.ffcta .ff-arr i+i{display:none}
.ffcta .ff-dot{transition:transform .45s cubic-bezier(.34,1.56,.64,1),box-shadow .45s ease}
.ffcta .ff-bird{position:absolute;left:0;top:0;z-index:1;width:4px;height:4px;margin:-2px 0 0 -2px;border-radius:50%;background:var(--o);box-shadow:0 0 6px rgba(255,75,31,.9);pointer-events:none}
.ffcta{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease}
.ffcta:hover,.ffcta:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 0 rgba(255,75,31,0),0 0 26px -6px rgba(255,75,31,.7),0 18px 42px -14px rgba(255,75,31,.85)}
.ffcta:hover .ff-fill,.ffcta:focus-visible .ff-fill{opacity:1;--ffg:150px}
.ffcta:hover::after,.ffcta:focus-visible::after{opacity:1}
.ffcta:hover .ff-dot,.ffcta:focus-visible .ff-dot{transform:scale(1.35);box-shadow:0 0 10px 2px rgba(255,75,31,.75)}
.ffcta:hover .ff-arr i,.ffcta:focus-visible .ff-arr i{transform:translateX(5px);color:#FF8A5C}
.ffcta:active{transform:translateY(0) scale(.97);transition-duration:.12s}
.ffcta:focus-visible{outline:2px solid var(--o);outline-offset:3px}
/* quiet variant (secondary offers): same pill, the rim stays still and the dot doesn't pulse until hover */
.ffcta--quiet::before{animation:none;background:rgba(243,239,231,.22)}
.ffcta--quiet .ff-dot::after{animation:none}
/* the big one at the bottom: solid, bigger, same moves */
.ffcta--solid{min-height:58px;padding:0 26px 0 22px;font-size:12.5px;gap:14px;background:#F3EFE7!important;color:var(--ink)!important;box-shadow:0 18px 50px -18px rgba(255,75,31,.55)}
.ffcta--solid::before{display:none}
.ffcta--solid .ff-dot{background:var(--o)}
.ffcta--solid .ff-fill{background:radial-gradient(circle at var(--fx,24px) 50%,rgba(255,75,31,.30) 0,rgba(255,75,31,.10) var(--ffg),rgba(255,75,31,0) calc(var(--ffg) + 70px))}
.ffcta--solid:hover .ff-arr i,.ffcta--solid:focus-visible .ff-arr i{color:#D8431A}
@media (max-width:420px){.ffcta:not(.ffcta--solid){gap:9px;padding:0 13px 0 12px;letter-spacing:.1em;font-size:10.5px}}
/* Perf (2026-11-23): the rim light used to animate --ffa (a conic-gradient angle), which repaints the button on the
   main thread every frame; with the header button floating over the 3D deck that cost phones ~20fps. cta.js now
   adds <span class="ff-rim"><i></i></span>: the same gradient drawn once on a square and rotated with transform,
   which the compositor runs without repainting. The ::before version stays as the no-JS fallback. */
.ff-rim{position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1px;overflow:hidden;pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.ff-rim i{position:absolute;left:50%;top:50%;width:520px;height:520px;margin:-260px 0 0 -260px;border-radius:50%;background:conic-gradient(rgba(243,239,231,.22) 0deg,rgba(243,239,231,.22) 220deg,rgba(255,75,31,.0) 230deg,var(--o,#FF4B1F) 300deg,#FFC2AE 330deg,rgba(243,239,231,.22) 360deg);animation:ffrot 3.6s linear infinite;will-change:transform}
@keyframes ffrot{to{transform:rotate(360deg)}}
.has-rim::before{display:none}
.ffcta--quiet .ff-rim i{animation:none;background:rgba(243,239,231,.22)}
/* the hover layer only spins while it is showing */
.ffcta::after{animation:none}
.ffcta:hover::after,.ffcta:focus-visible::after{animation:ffspin 3.6s linear infinite}
/* phones: the header button is on screen for the whole visit, so its rim holds still (ember arc parked at the top right) and the dot doesn't pulse; every frame of the 3D deck runs under it */
@media (max-width:760px),(pointer:coarse){.nav-cta .ff-rim i{animation:none;transform:rotate(90deg)}.nav-cta .ff-dot::after{animation:none}}
@media (prefers-reduced-motion:reduce){.ff-rim i{animation:none}.ffcta::before,.ffcta::after,.ffcta .ff-dot::after{animation:none}.ffcta,.ffcta .ff-arr i,.ffcta .ff-dot,.ffcta .ff-fill{transition:none}.ffcta:hover,.ffcta:focus-visible,.ffcta:active{transform:none}}
