/* "One month left": the bold treatment for the year-end incentive.
   Used by the offer page's card and the offer cells (/challenge, /shop-why, /switch-fab-software).
   The words come from challenge-countdown.js ([data-left]), so they follow the calendar.
   Brand orange always carries navy text. Delete this file with the offer after December 31, 2026. */
@property --of-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* A lit border that travels around the card, and a soft glow that breathes. */
.of-glow { position: relative; isolation: isolate; animation: of-breathe 2.8s ease-in-out infinite; }
.of-glow::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--of-a), #F37021, #F9BE96 12%, #F37021 26%, rgba(243,112,33,.12) 46%, rgba(243,112,33,.12) 54%, #F37021 74%, #F9BE96 88%, #F37021);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: of-spin 5s linear infinite; }
@keyframes of-spin { to { --of-a: 360deg; } }
@keyframes of-breathe { 0%, 100% { box-shadow: 0 0 22px rgba(243,112,33,.16), 0 24px 60px rgba(0,0,0,.3); } 50% { box-shadow: 0 0 44px rgba(243,112,33,.42), 0 24px 60px rgba(0,0,0,.3); } }

/* The bar that says how long is left. */
.of-left { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: .55em; margin: 0; padding: .62em .8em; border-radius: .55rem;
  background: #F37021; color: #1A1A2E; font-family: "DM Sans", system-ui, sans-serif; font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 22px rgba(243,112,33,.35); }
.of-left::before { content: ""; flex: none; width: .62em; height: .62em; border-radius: 999px; background: #1A1A2E; animation: of-dot 1.6s ease-out infinite; }
.of-left::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); animation: of-sweep 3.2s ease-in-out infinite; }
@keyframes of-dot { 0% { box-shadow: 0 0 0 0 rgba(26,26,46,.55); } 70% { box-shadow: 0 0 0 .55em rgba(26,26,46,0); } 100% { box-shadow: 0 0 0 0 rgba(26,26,46,0); } }
@keyframes of-sweep { 0%, 55% { left: -45%; } 100% { left: 125%; } }

/* The countdown's numbers, lit, with a small beat each second. */
.of-cd b { color: #F37021 !important; text-shadow: 0 0 18px rgba(243,112,33,.5); }
.of-cd div { border-color: rgba(243,112,33,.38) !important; }
.of-cd b.of-tick { animation: of-tick .45s ease-out; }
@keyframes of-tick { 0% { transform: scale(1.18); color: #F9BE96; } 100% { transform: scale(1); } }

/* The free year, said louder inside a sentence. */
.of-yr { color: #F37021 !important; font-weight: 800; font-size: 1.12em; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .of-glow, .of-glow::before, .of-left::before, .of-left::after, .of-cd b.of-tick { animation: none; }
  .of-left::after { display: none; }
}
