/* Rushd theme: the design of the rushd-site Live campaign block (the /live/ page).
   Everything between this note and the "WordPress only" section is website/css/live-campaign.css,
   unchanged. Change the two together. Loaded only on a page with the block (functions.php), and
   in the editor. */
/* The marketing campaign design for /live/ (website/live/index.html).

   Every declaration is the design export's own value, moved out of the app's CSS module.
   Change them only with a new export. The phone rules (≤900px and ≤420px) are the export's.
   The exceptions are the "Phone fixes" after them and the safe-area inset on .rl-stickyRoom.

   Classes are prefixed rl- so they cannot restyle the site header, footer or other pages.
   On this page 1vh is the browser window: the campaign is the page, not an iframe, so the
   app's frozen --rl-vh is not needed. Fonts are the site's Plus Jakarta Sans and Cormorant
   Garamond (css/fonts.css).
*/

html:has(.rl-root) {
  scroll-behavior: smooth;
}

.rl-root {
  --rl-sans: "Plus Jakarta Sans", sans-serif;
  --rl-serif: "Cormorant Garamond", Georgia, serif;
  margin: 0;
  background: #0a1626;
  color: #fcfaf4;
  font-family: var(--rl-sans);
  font-size: 16px;
  line-height: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.rl-root a {
  color: #e7c063;
  text-decoration: none;
}

.rl-root a:hover {
  color: #fcfaf4;
}

.rl-root:not(.rl-entered) [data-enter] {
  opacity: 0;
}

/* The gold countdown bar is the site header's (css/rushd-header.css), on every page.
   This campaign does not draw a second one. */

/* ---- 02 Hero ---- */

.rl-hero {
  min-height: clamp(480px, calc((100 * 1vh) - 230px), 640px);
  position: relative;
  overflow: hidden;
  background: #0a1626;
  display: flex;
  flex-direction: column;
}

.rl-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: max(58%, min(100%, calc((760px - 100vw) * 1000)));
  pointer-events: none;
  overflow: hidden;
}

.rl-photo {
  display: block;
  position: relative;
  top: -3%;
  width: 84%;
  height: 100%;
  max-width: none;
  margin-left: max(0px, min(16%, calc((100vw - 760px) * 1000)));
  object-fit: cover;
  object-position: 50% 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 10%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 10%, #000 24%);
  filter: contrast(1.03) brightness(1.06);
}

.rl-shadeBottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 38, 0) 0%,
    rgba(10, 22, 38, 0) 52%,
    rgba(10, 22, 38, 0.6) 66%,
    rgba(10, 22, 38, 0.9) 78%,
    #0a1626 92%
  );
}

.rl-shadeLeft {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(0px, min(55%, calc((100vw - 760px) * 1000)));
  background: linear-gradient(90deg, #0a1626 0%, rgba(10, 22, 38, 0.6) 14%, rgba(10, 22, 38, 0) 32%);
}

.rl-namebox {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: clamp(16px, calc((3 * 1vh)), 30px);
  padding: 0 max(12px, min(8%, calc((100vw - 760px) * 1000))) 0
    max(12px, min(calc(12px + 20%), calc((100vw - 760px) * 1000)));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.rl-name {
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

/* The role line under the name: two titles and the Elm logo, separated by dots. */
.rl-heroRole {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #f3d88e;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.rl-heroRoleDot {
  color: rgba(243, 216, 142, 0.55);
  padding: 0 6px;
}

.rl-heroRoleOrg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
}

.rl-heroRoleLogo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rl-heroRoleLogo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/* .rl-media ignores the pointer, so the link turns it back on. */
.rl-root .rl-bioLink {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 5;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(10, 22, 38, 0.6);
  border: 1px solid rgba(231, 192, 99, 0.6);
  color: #fcfaf4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s;
}

.rl-root .rl-bioLink:hover {
  background: rgba(231, 192, 99, 0.18);
  border-color: #e7c063;
  color: #fcfaf4;
}

.rl-bioLink:focus-visible {
  outline: 3px solid #f3d88e;
  outline-offset: 3px;
}

/* The export's header carried this pill while live; the header itself is the website's now. */
.rl-onAir {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 3vw, 30px);
  right: clamp(20px, 5vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e5484d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.rl-onAirDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.rl-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: max(24px, min(calc((52 * 1vh)), calc((760px - 100vw) * 1000))) clamp(20px, 5vw, 48px)
    max(
      clamp(24px, calc((4 * 1vh)), 40px),
      min(calc((6 * 1vh) + 52px), calc((100vw - 760px) * 1000))
    );
}

.rl-copyIn {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, calc((2.2 * 1vh)), 20px);
}

.rl-eyebrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: rgba(231, 192, 99, 0.14);
  border: 1.5px solid #e7c063;
  box-shadow: 0 0 28px -6px rgba(231, 192, 99, 0.55);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #f3d88e;
  white-space: nowrap;
}

.rl-eyebrowDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5484d;
}

.rl-headline {
  margin: 0;
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(32px, 3.1vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: max(min(760px, 47vw), min(640px, calc((760px - 100vw) * 1000)));
  color: #fcfaf4;
  text-wrap: balance;
}

.rl-accent {
  font-weight: 700;
  font-style: normal;
  background: linear-gradient(100deg, #c99a3f, #f3d88e 45%, #c99a3f);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.04em 0.08em 0;
  margin-right: -0.04em;
  display: inline-block;
}

.rl-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.rl-perk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(14px, 1.2vw, 15.5px);
  font-weight: 700;
  color: #fcfaf4;
}

.rl-perkCheck {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #e7c063;
  color: #0a1626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rl-ctaRow {
  margin-top: 6px;
  margin-bottom: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 16px;
}

.rl-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.rl-ctaButton {
  height: 62px;
  padding: 0 40px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f3d88e, #c99a3f);
  color: #0a1626;
  font-family: var(--rl-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: normal;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

/* The hero's and the seat section's buttons breathe; the one under "Sound familiar?" does not. */
.rl-ctaGlow {
  box-shadow: 0 18px 50px -14px rgba(216, 180, 99, 0.55);
  animation: rl-glow 2.8s ease-in-out infinite;
}

.rl-ctaGlow .rl-ctaShine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 62%);
  background-size: 250% 100%;
  animation: rl-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.rl-ctaLabel {
  position: relative;
}

.rl-ctaButton:hover {
  background: linear-gradient(135deg, #ffe9ae, #e0b04e);
  box-shadow:
    0 0 0 4px rgba(243, 216, 142, 0.25),
    0 20px 46px -12px rgba(231, 192, 99, 0.9);
  transform: translateY(-2px);
}

.rl-ctaButton:active {
  transform: translateY(1px);
}

.rl-ctaButton:focus-visible {
  outline: 3px solid #f3d88e;
  outline-offset: 3px;
}

.rl-date {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 22px;
  color: #f3d88e;
}

.rl-gift {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(194, 54, 47, 0.18), rgba(231, 192, 99, 0.12));
  border: 1px solid rgba(231, 192, 99, 0.5);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: left;
}

.rl-giftIcon {
  flex: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.rl-giftA {
  color: #ffffff;
}

.rl-giftB {
  color: #f3d88e;
}

.rl-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, calc((2.6 * 1vh)), 26px);
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #f3d88e;
  text-decoration: none;
}

.rl-root .rl-scroll:hover {
  color: #f3d88e;
}

.rl-scrollCue {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 192, 99, 0.6);
  background: rgba(10, 22, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rl-nudge 1.8s ease-in-out infinite;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.rl-scroll:hover .rl-scrollCue {
  background: rgba(231, 192, 99, 0.18);
  border-color: #e7c063;
}

/* ---- 03 Sound familiar ---- */

.rl-why {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: #11182c;
}

.rl-whyInner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 2.4vw, 32px) clamp(20px, 5vw, 48px) clamp(56px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.rl-whyHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.rl-whyKicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #b0883e;
}

.rl-whyRule {
  width: 28px;
  height: 1px;
  background: #b0883e;
}

.rl-whyTitle {
  margin: 0;
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #0e2138;
}

.rl-whyTitleAccent {
  color: #b0883e;
}

.rl-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 48px);
}

.rl-problem {
  aspect-ratio: 400 / 264;
  width: 100%;
  min-width: 0;
}

.rl-problem svg {
  display: block;
}

.rl-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(-1 * clamp(12px, 2vw, 24px));
}

.rl-bridgeLines {
  display: block;
  max-height: 90px;
  overflow: visible;
}

.rl-bridgePill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-top: 6px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #0e2138;
  box-shadow: 0 18px 40px -20px rgba(14, 33, 56, 0.8);
}

.rl-bridgeDot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #e5484d;
}

.rl-bridgeText {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  color: #fcfaf4;
}

.rl-bridgeAccent {
  color: #e7c063;
}

.rl-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.rl-offer {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 18px;
  background: #fcfaf4;
  border: 1px solid #ede6d3;
}

.rl-offerFree {
  background: #fff8e6;
  border: 1.5px solid #e7c063;
}

.rl-offerBadge {
  position: absolute;
  top: -11px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3d88e, #c99a3f);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0a1626;
}

.rl-offerIcon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #16304e, #0e2138);
  color: #e7c063;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rl-offerBody {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rl-offerTitle {
  font-size: 17.5px;
  font-weight: 800;
  color: #0e2138;
}

.rl-offerText {
  font-size: 15px;
  line-height: 1.5;
  color: #4a5468;
  text-wrap: pretty;
}

.rl-whyCta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rl-whyNote {
  font-size: 14px;
  font-weight: 600;
  color: #737e92;
}

/* Hidden until reveal() marks the section; each part waits for its own --d. */
.rl-why [data-r] {
  opacity: 0;
}

.rl-why[data-in] [data-r="up"] {
  animation: rl-r-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both;
}

.rl-why[data-in] [data-r="pop"] {
  transform-box: fill-box;
  transform-origin: center;
  animation: rl-r-pop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) var(--d, 0s) both;
}

.rl-why [data-r="draw"] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.rl-why[data-in] [data-r="draw"] {
  animation: rl-r-draw 0.8s ease-out var(--d, 0s) both;
}

/* ---- 04 Bring your question ---- */

.rl-seat {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(201, 154, 63, 0.18) 0%, rgba(201, 154, 63, 0) 50%),
    linear-gradient(158deg, #16304e 0%, #0e2138 58%, #0a1626 100%);
  color: #fcfaf4;
}

.rl-seatInner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.rl-seatCopy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.rl-seatDate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: rgba(231, 192, 99, 0.14);
  border: 1.5px solid #e7c063;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f3d88e;
}

.rl-seatDateDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5484d;
}

.rl-seatTitle {
  margin: 0;
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fcfaf4;
  text-wrap: balance;
}

.rl-seatTitleAccent {
  color: #e7c063;
}

.rl-seatLede {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: #c9d1de;
}

.rl-callCard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 22px;
  background: #fcfaf4;
  color: #11182c;
  border-top: 4px solid #c99a3f;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.rl-callHead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rl-callPhoto {
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow:
    0 0 0 3px #fcfaf4,
    0 0 0 5px #e7c063;
}

.rl-callIntro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rl-callEyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #b0883e;
}

.rl-callTitle {
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0e2138;
}

.rl-callText {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #4a5468;
  text-wrap: pretty;
}

/* A link to Nayyer's profile, drawn as the design's button. .rl-root a would recolour it. */
.rl-root .rl-callButton {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #21476e, #0e2138);
  color: #f3d88e;
  text-decoration: none;
  font-family: var(--rl-sans);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: normal;
  cursor: pointer;
  box-shadow: 0 14px 30px -16px rgba(14, 33, 56, 0.8);
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}

.rl-root .rl-callButton:hover {
  color: #f3d88e;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(201, 154, 63, 0.22),
    0 18px 34px -16px rgba(14, 33, 56, 0.9);
}

.rl-callButton:active {
  transform: translateY(1px);
}

.rl-callButton:focus-visible {
  outline: 3px solid #c99a3f;
  outline-offset: 3px;
}

/* ---- 05 Journey ---- */

.rl-journey {
  position: relative;
  z-index: 2;
  background: #fcfaf4;
  color: #11182c;
  overflow: hidden;
}

.rl-journeyInner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}

.rl-journeyTop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.rl-journeyIntro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rl-journeyEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #b0883e;
}

.rl-journeyRule {
  width: 28px;
  height: 1px;
  background: #b0883e;
}

.rl-journeyName {
  margin: 0;
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #0e2138;
  text-wrap: balance;
}

.rl-journeyNameAccent {
  color: #b0883e;
}

.rl-journeyLede {
  margin: 0;
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: #2a3346;
  text-wrap: pretty;
}

.rl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.rl-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 4px 18px;
  border-left: 2px solid #c99a3f;
}

.rl-statValue {
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0e2138;
}

.rl-statLabel {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #4a5468;
}

.rl-chapters {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(
      max(
        calc(25% - 24px),
        min(calc(50% - 16px), calc((1100px - 100vw) * 1000)),
        min(100%, calc((620px - 100vw) * 1000))
      ),
      1fr
    )
  );
  gap: clamp(28px, 3vw, 36px) clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.rl-chapter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.rl-chapter:nth-child(1) {
  margin-top: max(0px, min(132px, calc((100vw - 1100px) * 1000)));
}

.rl-chapter:nth-child(2) {
  margin-top: max(0px, min(88px, calc((100vw - 1100px) * 1000)));
}

.rl-chapter:nth-child(3) {
  margin-top: max(0px, min(44px, calc((100vw - 1100px) * 1000)));
}

.rl-chapterHead {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid #c99a3f;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rl-chapterDot {
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c99a3f;
  box-shadow:
    0 0 0 5px #fcfaf4,
    0 0 0 6px rgba(201, 154, 63, 0.45);
}

.rl-chapterKicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #b0883e;
}

.rl-chapterYears {
  font-family: var(--rl-sans);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #0e2138;
}

.rl-chapterPlace {
  font-size: 13.5px;
  font-weight: 600;
  color: #737e92;
}

.rl-role {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid #e2dccb;
}

.rl-roleWhen {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b0883e;
}

.rl-roleTitle {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #0e2138;
}

.rl-roleWhere {
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a5468;
  text-wrap: pretty;
}

.rl-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e8e1cf;
  box-shadow: 0 8px 20px -16px rgba(16, 24, 44, 0.45);
}

.rl-certMark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #16304e, #0e2138);
  color: #e7c063;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.rl-certIcon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #efeae0;
  flex: none;
}

.rl-certBody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rl-certTitle {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #0e2138;
}

.rl-certMeta {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #737e92;
}

.rl-chapterNow {
  margin-top: 0;
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, #16304e, #0e2138);
  box-shadow: 0 30px 60px -30px rgba(14, 33, 56, 0.75);
}

.rl-chapterNow .rl-chapterKicker {
  color: #e7c063;
}

.rl-chapterNow .rl-chapterYears {
  color: #ffffff;
}

.rl-chapterNow .rl-chapterPlace {
  color: #b9c2d0;
}

.rl-chapterNow .rl-chapterDot {
  box-shadow:
    0 0 0 5px #0e2138,
    0 0 0 6px rgba(201, 154, 63, 0.45);
}

.rl-chapterNow .rl-role {
  border-left-color: rgba(231, 192, 99, 0.35);
}

.rl-chapterNow .rl-roleWhen {
  color: #e7c063;
}

.rl-chapterNow .rl-roleTitle {
  color: #fcfaf4;
}

.rl-chapterNow .rl-roleWhere {
  color: #b9c2d0;
}


/* ---- The bar along the bottom (after the hero, not while a form is open) ---- */

.rl-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(10, 22, 38, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(231, 192, 99, 0.35);
  animation: rl-rise 0.35s ease both;
}

.rl-stickyInner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px clamp(14px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rl-stickyInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rl-stickyLabel {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f3d88e;
}

.rl-stickyLine {
  font-size: 14px;
  font-weight: 600;
  color: #c9d1de;
  font-variant-numeric: tabular-nums;
}

.rl-stickyButton {
  height: 50px;
  padding: 0 28px;
  flex: none;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f3d88e, #c99a3f);
  color: #0a1626;
  font-family: var(--rl-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: normal;
  cursor: pointer;
  transition: background 0.2s;
}

.rl-stickyButton:hover {
  background: linear-gradient(135deg, #ffe9ae, #e0b04e);
}

.rl-stickyButton:focus-visible {
  outline: 3px solid #f3d88e;
  outline-offset: 3px;
}

/* Room under the site footer, so the bar never covers its last row. It adds the phone's bottom
   safe-area inset, which is 0 unless the page opts into viewport-fit=cover. */
.rl-stickyRoom {
  height: 72px;
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  background: #0a1626;
}

@media (max-width: 560px) {
  .rl-stickyInfo {
    display: none;
  }
  .rl-stickyButton {
    flex: 1;
  }
}

/* ---- Phones and tablets: the export's own ≤900px layout ---- */

@media (max-width: 900px) {
  .rl-hero {
    min-height: 0;
  }
  .rl-media,
  .rl-namebox {
    display: contents;
  }
  .rl-shadeBottom,
  .rl-shadeLeft {
    display: none;
  }
  .rl-photo {
    order: 1;
    top: 0;
    width: 100%;
    height: min(calc((48 * 1vh)), 96vw);
    min-height: 300px;
    margin: 0;
    object-position: 50% 16%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .rl-name {
    order: 2;
    position: relative;
    z-index: 2;
    margin: -64px 20px 0;
    text-align: center;
    font-size: clamp(34px, 9.6vw, 52px);
  }
  .rl-copy {
    order: 3;
    flex: none;
    padding: 26px 20px 30px;
    justify-content: center;
  }
  .rl-copyIn {
    align-items: center;
    text-align: center;
    gap: 18px;
    max-width: 560px;
  }
  .rl-eyebrow {
    margin-top: 0;
    white-space: normal;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    padding: 9px 16px 9px 13px;
  }
  .rl-headline {
    max-width: none;
    font-size: clamp(30px, 8.4vw, 48px);
  }
  .rl-perks {
    justify-content: center;
  }
  .rl-ctaRow {
    margin: 4px 0 0;
    width: 100%;
    max-width: 420px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rl-cta {
    margin: 0;
    width: 100%;
    max-width: 420px;
    display: flex;
    gap: 16px;
  }
  .rl-cta .rl-ctaButton {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    font-size: 16px;
  }
  .rl-gift {
    font-size: 15px;
  }
  .rl-date {
    font-size: 14.5px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .rl-heroRole {
    order: 2;
    position: relative;
    z-index: 2;
    margin: 10px 16px 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    line-height: 1.8;
  }
  .rl-root .rl-bioLink {
    order: 2;
    position: relative;
    z-index: 2;
    align-self: center;
    margin: 12px auto 0;
    font-size: 12.5px;
    height: 40px;
  }
  .rl-scroll {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    order: 5;
    align-self: center;
    margin: 4px auto 22px;
  }
}

@media (max-width: 860px) {
  .rl-bridgeLines {
    display: none;
  }
}

/* ---- Phone fixes. Not the export's values; each says why ---- */

/* Below 640px the bridge sentence wraps. The pill is a flex row that wraps, so the dot was left
   alone on a row above the text. Here the dot is the first thing on the sentence's first line,
   centred on that line as it is on the one-line row: 6px = (21px line - 9px dot) / 2. Its 9px
   margin and the space after it make about the row's 12px gap. text-wrap: pretty stops the last
   line being one word on the narrowest phones. */
@media (max-width: 639px) {
  .rl-bridgePill {
    display: block;
    text-wrap: pretty;
  }
  .rl-bridgeDot {
    display: inline-block;
    vertical-align: top;
    margin: 6px 9px 0 0;
  }
}

/* The bio link is drawn 40px tall on phones. This adds 4px above it to the area that takes a tap,
   so that area is 44px, and the link looks the same. The 4px go above because .rl-copy starts at
   the link's lower edge and is drawn over it. Above it, 12px of the hero are empty. */
@media (max-width: 900px) {
  .rl-root .rl-bioLink::after {
    content: "";
    position: absolute;
    inset: -4px 0 0;
  }
}

@media (max-width: 420px) {
  .rl-copy {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ---- The "Save your free seat" modal (portalled to <body>, so it carries its own base) ---- */

.rl-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(6, 14, 26, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Centred without a transform, so `rl-up` can slide it in. */
.rl-dialog {
  --rl-sans: "Plus Jakarta Sans", sans-serif;
  --rl-serif: "Cormorant Garamond", Georgia, serif;
  position: fixed;
  inset: 0;
  z-index: 51;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 460px;
  height: fit-content;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fcfaf4;
  color: #11182c;
  border-radius: 22px;
  border-top: 4px solid #c99a3f;
  padding: clamp(24px, 5vw, 36px);
  color-scheme: light;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  font-family: var(--rl-sans);
  font-size: 16px;
  line-height: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.rl-dialog:focus {
  outline: none;
}

.rl-dialogShown {
  animation: rl-up 0.3s ease both;
}

.rl-dialogWaiting {
  opacity: 0;
  pointer-events: none;
}

.rl-dialog input::placeholder {
  color: #8a94a6;
}

.rl-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f4f1e9;
  color: #0e2138;
  font-size: 20px;
  line-height: normal;
  cursor: pointer;
}

.rl-close:focus-visible {
  outline: 2px solid #c99a3f;
  outline-offset: 2px;
}

.rl-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  position: relative;
}

.rl-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rl-formHead {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 36px;
}

.rl-formEyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b0883e;
}

.rl-formTitle {
  margin: 0;
  font-family: var(--rl-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  color: #0e2138;
}

.rl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #16304e;
}

.rl-required {
  color: #c2362f;
}

.rl-input {
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #e2dccb;
  background: #ffffff;
  color-scheme: light;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--rl-sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: normal;
  color: #11182c;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.rl-input:focus {
  border-color: #c99a3f;
  box-shadow: 0 0 0 4px rgba(201, 154, 63, 0.16);
}

/* reCAPTCHA v2 is a fixed 304px; on the narrowest phones it is scaled to the card. */
.rl-captcha {
  max-width: 100%;
}

.rl-error {
  font-size: 13.5px;
  color: #c2362f;
}

.rl-submit {
  margin-top: 6px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f3d88e, #c99a3f);
  color: #0a1626;
  font-family: var(--rl-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(201, 154, 63, 0.8);
  transition:
    background 0.2s,
    transform 0.15s;
}

.rl-submit:hover {
  background: linear-gradient(135deg, #ffe9ae, #e0b04e);
  transform: translateY(-1px);
}

.rl-submit:active {
  transform: translateY(1px);
}

.rl-submit:disabled {
  cursor: progress;
}

.rl-submit:focus-visible {
  outline: 2px solid #0e2138;
  outline-offset: 3px;
}

.rl-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 12px 0 4px;
}

.rl-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7c063, #c99a3f);
  color: #0e2138;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rl-doneTitle {
  margin: 0;
  font-family: var(--rl-serif);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.05;
  color: #0e2138;
}

.rl-doneBody {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4a5468;
}

.rl-when {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #0e2138;
  box-shadow: 0 14px 30px -16px rgba(14, 33, 56, 0.7);
}

.rl-whenLabel {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #e7c063;
}

.rl-whenLive {
  color: #ff4d52;
}

.rl-whenDate {
  font-family: var(--rl-sans);
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fcfaf4;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rl-close {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 389px) {
  .rl-captcha > div {
    transform: scale(0.9);
    transform-origin: 0 0;
  }
}

@media (max-width: 345px) {
  .rl-captcha > div {
    transform: scale(0.84);
  }
}


@keyframes rl-up {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes rl-glow {
  0%,
  100% {
    box-shadow: 0 18px 50px -14px rgba(216, 180, 99, 0.55);
  }
  50% {
    box-shadow: 0 18px 70px -8px rgba(216, 180, 99, 0.85);
  }
}

@keyframes rl-shine {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}

@keyframes rl-rise {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-r-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-r-pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rl-r-draw {
  0% {
    opacity: 1;
    stroke-dashoffset: 1;
    fill-opacity: 0;
  }
  60% {
    fill-opacity: 0;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.rl-root) {
    scroll-behavior: auto;
  }
  .rl-dialogShown,
  .rl-scrollCue {
    animation: none;
  }
  .rl-ctaGlow,
  .rl-ctaGlow .rl-ctaShine,
  .rl-sticky {
    animation: none;
  }
  .rl-why [data-r] {
    opacity: 1;
    animation: none;
    stroke-dashoffset: 0;
  }
  .rl-why[data-in] [data-r] {
    animation: none;
  }
}

/* ---- From RUSHD_LIVE_BANNER.endsAt: the ended view ----
   Not from the design export. After the webinar the page is the site header, this view and the
   footer (live/index.html, "ended"): the next masterclass when RUSHD_LIVE_BANNER.next announces
   one, otherwise an empty state with the Coach Directory and Find a coach. No form, no campaign
   buttons, no bottom bar. Its heading and buttons are the 404 page's, so it reads as the site's
   own; its message is a little larger than the 404's (18px, 17px on phones).
   It fills the screen below the header (87px, 88px below 980px), so the footer starts at the
   fold: the footer arrives after the page, in a 260px box that grows to as much as 507px on
   phones, and on screen it would push the view up when it arrived. The page's #0A1626 is the
   base, and both glows fade out before the top and bottom edges, so there is no seam under the
   header or above the footer. The content hangs from a fixed distance below the header instead of
   being centred: centred, it moved when the web fonts arrived and the text rewrapped (22px on
   phones). The small labels have fixed line heights for the same reason. */
.rl-ended {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 87px);
  min-height: calc(100svh - 87px);
  display: flex;
  align-items: flex-start;
  padding: clamp(56px, 22vh, 200px) 0 clamp(72px, 12vh, 136px);
  background:
    radial-gradient(55% 45% at 22% 50%, rgba(201, 154, 63, 0.13) 0%, rgba(201, 154, 63, 0) 100%),
    radial-gradient(80% 70% at 78% 50%, rgba(22, 48, 78, 0.6) 0%, rgba(22, 48, 78, 0) 70%),
    #0a1626;
  color: #ebe6da;
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.rl-endedMark {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 560px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.rl-endedInner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.rl-endedEyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e7c063;
}
.rl-endedPill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: rgba(231, 192, 99, 0.14);
  border: 1.5px solid #e7c063;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f3d88e;
}
.rl-endedDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e7c063;
  flex: none;
}
.rl-endedDotLive {
  background: #e5484d;
  box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55);
  animation: rl-ended-pulse 1.6s ease-out infinite;
}
@keyframes rl-ended-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}
.rl-endedTitle {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fcfaf4;
  text-wrap: balance;
}
.rl-endedTitle em {
  color: #d8b463;
  font-weight: 500;
}
.rl-endedWhen {
  margin: -6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f3d88e;
}
.rl-endedText {
  margin: 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(235, 230, 218, 0.82);
  text-wrap: pretty;
}
.rl-endedActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.rl-endedButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d8b463, #c99a3f);
  color: #0e2138;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: filter 0.15s, transform 0.15s, background-color 0.15s, border-color 0.15s;
}
.rl-endedButton:hover {
  color: #0e2138;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.rl-endedButtonGhost {
  background: transparent;
  border: 1px solid rgba(216, 180, 99, 0.55);
  color: #fcfaf4;
  font-weight: 600;
  box-shadow: none;
}
.rl-endedButtonGhost:hover {
  color: #fcfaf4;
  background: rgba(216, 180, 99, 0.14);
  border-color: #d8b463;
  filter: none;
}
.rl-endedButton:focus-visible {
  outline: 3px solid #f3d88e;
  outline-offset: 3px;
}
@media (max-width: 979px) {
  .rl-ended {
    min-height: calc(100vh - 88px);
    min-height: calc(100svh - 88px);
  }
}
/* Phones: the buttons stack at full width, and the mark is smaller. */
@media (max-width: 639px) {
  .rl-endedMark {
    width: 340px;
    right: -90px;
    bottom: -80px;
  }
  .rl-endedActions {
    flex-direction: column;
    align-self: stretch;
  }
  .rl-endedText {
    font-size: 17px;
  }
  .rl-endedButton {
    width: 100%;
  }
  /* From 640px the first line, up to "this page.", fits on one line; below, the message wraps
     by itself. */
  .rl-endedBreak {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rl-endedDotLive {
    animation: none;
  }
  .rl-endedButton,
  .rl-endedButton:hover {
    transform: none;
    transition: none;
  }
}

/* ---- WordPress only (not in website/css/live-campaign.css) ---- */

/* The block renders every state and shows one with the hidden attribute, which the display
   values above would otherwise beat. Errors show as blocks, as the static page shows them. */
.rl-campaign [hidden] {
  display: none !important;
}

.rl-campaign .rl-error {
  display: block;
}

/* The theme balances headings and evens out paragraphs (theme.css). The design does neither for
   these, so they wrap as on the static page. */
.rl-whyTitle,
.rl-formTitle,
.rl-doneTitle,
.rl-seatLede,
.rl-doneBody {
  text-wrap: wrap;
}

/* The static page is navy behind the campaign, and its header sits on that navy, not on the
   theme's gradient header bar. Not in the editor, where the page title sits on the background. */
body:not(.editor-styles-wrapper):has(.rl-campaign),
body:has(.rl-campaign) .rushd-site-header {
  background: #0a1626;
}

/* The static page's .rl-stickyRoom: room under the site footer, so the bar along the bottom never
   covers its last row. The footer is the theme's, so the room is drawn after it. Not after the
   webinar, when there is no bottom bar. */
html[data-live-phase] body:not(.editor-styles-wrapper):has(.rl-campaign) .rushd-footer-area::after {
  content: "";
  display: block;
  height: 72px;
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  background: #0a1626;
}

/* The editor runs no front-end script, so it shows the hero without waiting for the entrance, and
   the "Sound familiar?" drawings drawn. */
.editor-styles-wrapper .rl-root:not(.rl-entered) [data-enter],
.editor-styles-wrapper .rl-why [data-r] {
  opacity: 1;
  animation: none;
  stroke-dashoffset: 0;
}
/* The page follows the Live countdown banner's dates (rushd-site). While <html data-live-phase> is
   set it is the campaign; without it the webinar has ended, and the page is the ended view, as the
   static page from RUSHD_LIVE_BANNER.endsAt. The banner's inline script sets the phase before the
   page draws, and the scripts keep it current, so neither flashes, from the page cache too. The
   editor has no phase: it shows the campaign, to be edited. */
.rl-campaign > .rl-ended {
  display: none;
}
html:not([data-live-phase]) body:not(.editor-styles-wrapper) .rl-campaign > :not(.rl-ended) {
  display: none !important;
}
html:not([data-live-phase]) body:not(.editor-styles-wrapper) .rl-campaign > .rl-ended {
  display: flex;
}
/* The static page's ended view inherits the browser's text size and line height; the theme's body
   text is 15px at 1.6. */
.rl-ended {
  font-size: 16px;
  line-height: normal;
}
/* WordPress's global styles reset paragraph margins after this file loads (:root :where(p)), which
   took the date line's pull-up away. */
.rl-ended .rl-endedWhen {
  margin: -6px 0 0;
}
/* The ended view's two states, as the static page draws one of them: the next masterclass while
   <html data-live-next> is set (the banner's inline script, kept current by live-campaign.js),
   otherwise the empty state; and the next one's words before its start and while it is on. */
html:not([data-live-next]) .rl-ended [data-when="next"],
html[data-live-next] .rl-ended [data-when="empty"],
html:not([data-live-next="live"]) .rl-ended [data-when="next-live"],
html[data-live-next="live"] .rl-ended [data-when="next-soon"] {
  display: none !important;
}
