/* Black Friday 25% OFF flying CTA — pure black, crisp white border, white text */
html[data-welcome-cover] :is(main.hero #hero-actions, #landing-header) button.bf-offer-cta {
  display: grid !important;
  box-sizing: border-box;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-block-size: 44px;
  height: auto;
  padding: 8px 12px;
  border: 2px solid #ffffff !important;
  border-radius: 12px;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  font-family: system-ui, -apple-system, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  text-decoration: none;
}
html[data-welcome-cover] :is(main.hero #hero-actions, #landing-header) button.bf-offer-cta:hover {
  background: #141414 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 22px rgba(0, 0, 0, 0.65);
}
html[data-welcome-cover] :is(main.hero #hero-actions, #landing-header) button.bf-offer-cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
html[data-welcome-cover] :is(main.hero #hero-actions, #landing-header) button.bf-offer-cta > span:first-child {
  font-size: clamp(9.5px, 1vw, 11px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff !important;
  opacity: 0.92;
}
html[data-welcome-cover] :is(main.hero #hero-actions, #landing-header) button.bf-offer-cta > small {
  font-size: clamp(11px, 1.15vw, 13px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
}

/* Hero actions layout: ALWAYS side-by-side 2 equal columns (desktop, tablet, mobile) */
html[data-welcome-cover] main.hero #hero-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 10px;
  max-inline-size: 460px;
  width: 100%;
}
html[data-welcome-cover] main.hero #hero-actions .path {
  display: flex;
  min-inline-size: 0;
}
html[data-welcome-cover] main.hero #hero-actions .welcome-hero-cta,
html[data-welcome-cover] main.hero #hero-actions button.bf-offer-cta {
  width: 100% !important;
  min-inline-size: 0 !important;
  min-block-size: 60px;
  padding: 8px 10px;
}
@media (max-width: 850px) {
  html[data-welcome-cover] main.hero #hero-actions {
    max-inline-size: none;
  }
  html[data-welcome-cover] main.hero #hero-actions .welcome-hero-cta,
  html[data-welcome-cover] main.hero #hero-actions button.bf-offer-cta {
    min-block-size: 54px;
    padding: 8px 8px;
  }
  html[data-welcome-cover] main.hero #hero-actions button.bf-offer-cta > span:first-child {
    font-size: 10px;
  }
  html[data-welcome-cover] main.hero #hero-actions button.bf-offer-cta > small {
    font-size: 11.5px;
  }
}

/* Flying header slot: visible on BOTH desktop and mobile when scrolled past hero */
/* Desktop: always reserve slot box so showing/hiding the BF CTA NEVER shifts navigation */
@media (min-width: 851px) {
  html[data-welcome-cover] #landing-header .header-offer-slot,
  html[data-welcome-cover] #landing-header .header-offer-slot[hidden] {
    display: grid !important;
    align-items: center;
    max-inline-size: none !important;
    flex: 0 0 auto;
  }
  html[data-welcome-cover] #landing-header:not([data-bf-in-header]) .header-offer-slot {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] .header-offer-slot {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  html[data-welcome-cover] #landing-header button.bf-offer-cta {
    min-block-size: 38px;
    padding: 5px 12px;
    border-radius: 10px;
    gap: 1px;
    white-space: nowrap;
  }
  html[data-welcome-cover] #landing-header button.bf-offer-cta > span:first-child {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }
  html[data-welcome-cover] #landing-header button.bf-offer-cta > small {
    font-size: 11px;
  }
}
@media (max-width: 850px) {
  html[data-welcome-cover] #landing-header .header-offer-slot[hidden] {
    display: none !important;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] .header-offer-slot {
    display: grid !important;
    align-items: center;
    max-inline-size: none !important;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] .full-header-inner {
    padding-inline: 10px;
    gap: 6px;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] button.bf-offer-cta {
    min-block-size: 38px;
    border-radius: 10px;
    gap: 1px;
    inline-size: auto;
    max-inline-size: 175px;
    padding: 4px 8px;
    white-space: normal;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] button.bf-offer-cta > span:first-child {
    font-size: 8.5px;
    letter-spacing: 0.05em;
  }
  html[data-welcome-cover] #landing-header[data-bf-in-header] button.bf-offer-cta > small {
    font-size: 10px;
  }
}

/* Fixed flying ghost clone so Hero <-> Header flight is 100% visible above fixed header */
.bf-offer-fly-ghost {
  position: fixed !important;
  z-index: 99999 !important;
  margin: 0 !important;
  pointer-events: none !important;
  display: grid !important;
  box-sizing: border-box !important;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 5px 10px;
  border: 2px solid #ffffff !important;
  border-radius: 12px;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55) !important;
  font-family: system-ui, -apple-system, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  will-change: transform, left, top, width, height;
  overflow: hidden;
}
.bf-offer-fly-ghost > span:first-child {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff !important;
  opacity: 0.92;
  white-space: nowrap;
}
.bf-offer-fly-ghost > small {
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
  white-space: nowrap;
}

/* Black Friday styled #header-promo-dialog */
dialog#header-promo-dialog.header-promo-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 24px));
  max-width: 440px;
  padding: 28px 24px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(250, 204, 21, 0.14), rgba(9, 9, 11, 0) 60%), #09090b !important;
  color: #ffffff !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  font-family: system-ui, -apple-system, sans-serif;
}
dialog#header-promo-dialog.header-promo-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
dialog#header-promo-dialog .header-promo-close {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px;
}
dialog#header-promo-dialog .header-promo-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
dialog#header-promo-dialog .bf-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 36px 12px 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}
dialog#header-promo-dialog .bf-promo-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 8px rgba(253, 224, 71, 0.85);
}
dialog#header-promo-dialog #header-promo-title {
  margin: 0 0 12px !important;
  padding-right: 12px;
  color: #ffffff !important;
  font-size: clamp(21px, 4.2vw, 26px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em;
}
dialog#header-promo-dialog .landing-promo-dialog-clock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 9px 13px !important;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
}
dialog#header-promo-dialog .landing-promo-dialog-clock time {
  color: #fde047 !important;
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
dialog#header-promo-dialog [data-promo-email-explanation] {
  margin: 0 0 14px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px;
  line-height: 1.45;
}
dialog#header-promo-dialog .welcome-consent {
  margin: 0 0 14px !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 12.5px;
  line-height: 1.4;
}
dialog#header-promo-dialog .welcome-consent input[type="checkbox"] {
  accent-color: #fde047;
}
dialog#header-promo-dialog #header-promo-form {
  display: grid;
  gap: 10px;
}
dialog#header-promo-dialog #header-promo-email {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  background: #ffffff !important;
  color: #09090b !important;
  font-size: 16px;
}
dialog#header-promo-dialog #header-promo-email::placeholder {
  color: #71717a;
}
dialog#header-promo-dialog #header-promo-email:focus {
  outline: none;
  border-color: #fde047 !important;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
}
dialog#header-promo-dialog #header-promo-form button[type="submit"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0 !important;
  background: #ffffff !important;
  color: #09090b !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
dialog#header-promo-dialog #header-promo-form button[type="submit"]:hover:not(:disabled) {
  background: #fde047 !important;
  color: #09090b !important;
}
dialog#header-promo-dialog #header-promo-form button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
dialog#header-promo-dialog .header-promo-status {
  color: #fde047 !important;
  font-size: 13px;
  line-height: 1.4;
}
dialog#header-promo-dialog .welcome-guest-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog#header-promo-dialog .welcome-guest-link:hover {
  color: #ffffff !important;
}

/* Prominent guest-try CTA button inside Black Friday promo dialog */
dialog#header-promo-dialog .welcome-guest-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin-top: 12px !important;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(167, 139, 250, 0.78);
  background: rgba(109, 60, 209, 0.28);
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
dialog#header-promo-dialog .welcome-guest-link:hover {
  background: #6d3cd1 !important;
  border-color: #c4b5fd !important;
  color: #ffffff !important;
}

/* Make pricing cards clearly interactive */
.cq-plan-card button[data-cq-plan] {
  cursor: pointer;
}

/* Value perks list inside #header-promo-dialog */
#header-promo-dialog ul.bf-promo-perks {
  list-style: none;
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(246, 211, 101, 0.22);
  display: grid;
  gap: 8px;
}
#header-promo-dialog ul.bf-promo-perks li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
#header-promo-dialog ul.bf-promo-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f6d365;
  font-weight: 700;
}
