/* Year-end sale bar. Inserted by /promo-bar.js at the top of <body> on every page except /2026 (the deal page).
   It takes the place of the template's empty 44px offer strip (.framer-1lkl4wo-container) and sticks to the top.
   The floating fixed nav is pinned 10px below the bar. Its Framer appear effect moves it with translateY
   (40px while the hero is in view, 0 after), which would slide it under the bar, so that transform is off here. */
:root { --pb-h: 72px; }
html.pb-on .framer-1lkl4wo-container { display: none !important; }
html.pb-on .framer-rn0n7p-container { margin-top: 0 !important; top: calc(var(--pb-h) + 10px) !important; transform: none !important; }

.pb {
  position: sticky; top: 0; z-index: 20; height: var(--pb-h); overflow: hidden; color: #fff;
  font-family: "Inter", "Inter Placeholder", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.2px) 0 0 / 14px 14px,
    linear-gradient(90deg, #05251d 0%, #083828 45%, #0a3326 70%, #05251d 100%);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}
.pb::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -46px; height: 56px; pointer-events: none;
  border-top: 2px solid rgba(79, 175, 147, 0.95); border-radius: 50%;
  box-shadow: 0 -6px 24px rgba(79, 175, 147, 0.55);
}
.pb[hidden] { display: none; }
.pb-in {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 64px 0 24px; color: inherit; text-decoration: none;
}
.pb-in:focus-visible { outline: 2px solid #a3d6c7; outline-offset: -4px; border-radius: 10px; }
.pb-deal { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.pb-tag {
  flex: none; padding: 5px 11px; border-radius: 999px; transform: rotate(-4deg);
  background: #e5484d; box-shadow: 0 4px 14px -4px rgba(229, 72, 77, 0.8);
  font-size: 13px; font-weight: 800; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: #fff;
}
.pb-deal b { font: 800 32px/1 "Urbanist", "Inter", system-ui, sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.pb-for { font-size: 17px; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
.pb-short { display: none; }
.pb-mid { display: inline-flex; align-items: center; gap: 14px; }
.pb-ends { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.pb-ends i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: pb-pulse 1.6s ease-out infinite; }
@keyframes pb-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.7); } 100% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } }
.pb-cd {
  display: inline-flex; align-items: stretch; border-radius: 9px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "Fragment Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums;
}
.pb-seg { display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 8px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.pb-seg:first-child { border-left: 0; }
.pb-seg b { font-size: 15px; font-weight: 700; color: #fff; }
.pb-seg em { font-size: 10px; font-style: normal; color: rgba(255, 255, 255, 0.55); }
.pb-seg:last-child b { color: rgba(255, 255, 255, 0.6); }
.pb-go {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px;
  background: #fff; color: #05251d; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pb-in:hover .pb-go { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.pb-x {
  position: absolute; z-index: 2; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  color: rgba(255, 255, 255, 0.7); font: 400 24px/1 system-ui, sans-serif;
}
.pb-x:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.pb-x:focus-visible { outline: 2px solid #a3d6c7; outline-offset: 2px; }

@media (max-width: 1080px) {
  .pb-for, .pb-ends span { display: none; }
  .pb-deal b { font-size: 26px; }
}
/* Phone: one compact row. Pill, "50% off first year", short countdown, arrow button, close. */
@media (max-width: 760px) {
  :root { --pb-h: 52px; }
  .pb-in { gap: 8px; padding: 0 44px 0 12px; }
  .pb-deal { gap: 8px; }
  .pb-tag { padding: 4px 8px; font-size: 10px; letter-spacing: 0.06em; transform: rotate(-4deg); }
  .pb-tag span { display: none; }
  .pb-deal b { display: none; }
  .pb-short { display: inline; font: 800 15px/1.1 "Urbanist", "Inter", system-ui, sans-serif; white-space: nowrap; }
  .pb-short small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
  .pb-ends { display: none; }
  .pb-seg { padding: 3px 5px; }
  .pb-seg b { font-size: 12px; }
  .pb-seg em { font-size: 9px; }
  .pb-seg:last-child { display: none; }
  .pb-seg:nth-last-child(2) b { color: rgba(255, 255, 255, 0.6); }
  .pb-go { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 8px; font-size: 15px; }
  .pb-go span { display: none; }
  .pb-x { right: 6px; width: 30px; height: 30px; font-size: 22px; }
}
/* Narrow phones: days and hours only. */
@media (max-width: 400px) {
  .pb-seg:nth-last-child(2) { display: none; }
  .pb-seg:nth-child(2) b { color: rgba(255, 255, 255, 0.6); }
}
@media (max-width: 330px) {
  .pb-short small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-ends i { animation: none; }
  .pb-go { transition: none; }
}

/* Framer's layout animation re-measures the nav on every dropdown variant change. Because the
   container above is moved by CSS, it "corrects" the inner nav with a ~29px translateY and the
   bar jumps up under the sale bar when hovering between Product and Resources. Pin it. */
html.pb-on .framer-rn0n7p-container > * { transform: none !important; }
