:root {
  --bej-orange: #f35400;
  --bej-yellow: #ffd15c;
  --bej-purple: #4b42d9;
  --bej-white: #ffffff;
  --bej-navy: #172033;
  --bej-black: #111111;
  --bej-container: 1350px;
  --bej-content: 1180px;
}

html {
  scroll-behavior: smooth;
}

body.bej-landing-body {
  margin: 0;
  background: var(--bej-orange);
  color: var(--bej-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bej-landing-body *,
.bej-landing-body *::before,
.bej-landing-body *::after {
  box-sizing: border-box;
}

.bej-landing-body a {
  color: inherit;
}

.bej-landing-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bej-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bej-orange);
}

.bej-container {
  width: min(var(--bej-container), calc(100% - 180px));
  margin-inline: auto;
}

.bej-content-container {
  width: min(var(--bej-content), calc(100% - 180px));
  margin-inline: auto;
}

.bej-skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--bej-black);
  color: var(--bej-white);
  border-radius: 8px;
}

.bej-skip-link:focus {
  left: 16px;
}

.bej-site-header {
  background: var(--bej-orange);
  color: var(--bej-white);
}

.bej-site-header__inner {
  min-height: 154px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  padding-block: 20px 16px;
}

.bej-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--bej-white) !important;
  flex: 0 0 auto;
}

.bej-logo {
  display: block;
  object-fit: contain;
}

.bej-logo--header {
  width: 120px;
  height: 120px;
}

.bej-logo--footer {
  width: 214px;
  height: 214px;
}

.bej-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 38px);
  margin: 48px 0 0 auto;
  flex: 1 1 auto;
}

.bej-nav a,
.bej-nav a:visited {
  font-size: 19px;
  font-weight: 800;
  color: var(--bej-white) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.bej-nav a:hover,
.bej-nav a:focus {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.bej-header-actions {
  flex: 0 0 auto;
  margin-top: 34px;
}

.bej-demo-pill,
a.bej-demo-pill,
a.bej-demo-pill:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 31px;
  border-radius: 999px;
  background: var(--bej-yellow) !important;
  color: var(--bej-purple) !important;
  border: none;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.bej-demo-pill--large {
  min-width: 510px;
  min-height: 74px;
  flex-direction: column;
  gap: 3px;
  font-size: 20px;
}

.bej-demo-pill--large small {
  display: block;
  color: var(--bej-purple);
  font-size: 17px;
  font-weight: 500;
}

.bej-main {
  flex: 1;
  background: var(--bej-orange);
}

.bej-page {
  margin: 0;
}

.bej-page > *:first-child {
  margin-top: 0;
}

.bej-hero {
  background: var(--bej-orange);
  color: var(--bej-white);
}

.bej-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.8fr);
  gap: clamp(54px, 7.4vw, 118px);
  align-items: center;
  padding-block: 70px 104px;
}

.bej-hero__copy {
  max-width: 690px;
  margin-left: clamp(64px, 7.6vw, 112px);
}

.bej-hero h1,
.bej-title-xl {
  margin: 0 0 30px;
  color: var(--bej-white);
  font-size: clamp(48px, 4.05vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.047em;
  font-weight: 950;
}

.bej-hero__italic {
  margin: 0 0 36px;
  color: var(--bej-white);
  font-size: 28px;
  font-style: italic;
  line-height: 1.2;
}

.bej-hero__bold {
  margin: 0 0 34px;
  color: var(--bej-white);
  font-size: 27px;
  line-height: 1.24;
  font-weight: 900;
}

.bej-hero__plain {
  margin: 0 0 28px;
  color: var(--bej-white);
  font-size: 27px;
  line-height: 1.2;
}

.bej-hero__visual {
  max-width: 540px;
}

.bej-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f7f7f7, #d6dce2);
  border: 6px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.bej-notification-card {
  width: min(70%, 330px);
  background: var(--bej-white);
  border-radius: 22px;
  padding: 22px;
  color: var(--bej-navy);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
}

.bej-notification-card p {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f3f6;
  font-weight: 900;
}

.bej-notification-card p:last-child {
  margin-bottom: 0;
}

.bej-notification-card span {
  color: var(--bej-orange);
}

.bej-hero__caption {
  margin: 34px 0 0;
  color: var(--bej-white);
  font-size: 21px;
  line-height: 1.18;
  max-width: 480px;
}

.bej-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bej-button,
a.bej-button,
a.bej-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid var(--bej-white);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.bej-button--primary,
a.bej-button--primary,
a.bej-button--primary:visited {
  background: var(--bej-yellow) !important;
  border-color: var(--bej-yellow) !important;
  color: var(--bej-purple) !important;
}

.bej-button--secondary,
a.bej-button--secondary,
a.bej-button--secondary:visited {
  background: transparent !important;
  border-color: var(--bej-white) !important;
  color: var(--bej-white) !important;
}

.bej-eyebrow {
  margin: 0 0 16px;
  color: var(--bej-white);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bej-section {
  padding-block: 78px;
  background: var(--bej-orange);
  color: var(--bej-white);
}

.bej-section--white {
  background: var(--bej-white);
  color: var(--bej-navy);
}

.bej-section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.bej-section-heading h2,
.bej-h2 {
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.bej-section-heading p,
.bej-text-lg {
  margin: 0;
  max-width: 760px;
  color: inherit;
  font-size: 22px;
  line-height: 1.36;
}

.bej-grid {
  display: grid;
  gap: 24px;
}

.bej-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bej-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bej-card {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 28px;
  color: var(--bej-white);
}

.bej-section--white .bej-card {
  background: var(--bej-white);
  border-color: rgba(23, 32, 51, 0.12);
  color: var(--bej-navy);
}

.bej-card h2,
.bej-card h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 950;
}

.bej-card p {
  margin: 0;
  color: inherit;
  font-size: 20px;
}

.bej-steps {
  counter-reset: bej-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bej-step {
  position: relative;
  padding: 28px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  color: var(--bej-white);
}

.bej-step::before {
  counter-increment: bej-step;
  content: counter(bej-step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--bej-yellow);
  color: var(--bej-purple);
  font-weight: 950;
}

.bej-step h3 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.1;
}

.bej-step p {
  margin: 0;
  font-size: 20px;
}

.bej-faq {
  display: grid;
  gap: 14px;
  max-width: 960px;
}

.bej-faq details {
  border: 2px solid rgba(255, 255, 255, 0.28);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.1);
}

.bej-faq summary {
  cursor: pointer;
  font-weight: 950;
  font-size: 21px;
  color: var(--bej-white);
}

.bej-faq details p {
  margin: 14px 0 0;
  color: var(--bej-white);
  font-size: 19px;
}

.bej-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bej-related a,
.bej-related a:visited {
  display: block;
  padding: 22px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--bej-white) !important;
  text-decoration: none !important;
  font-weight: 950;
  font-size: 19px;
}

.bej-cta-band {
  margin-block: 78px;
  background: var(--bej-yellow);
  color: var(--bej-purple);
  border-radius: 999px;
  padding: 30px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.bej-cta-band h2 {
  margin: 0 0 6px;
  color: var(--bej-purple);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 950;
}

.bej-cta-band p {
  margin: 0;
  color: var(--bej-purple);
  font-size: 20px;
}

.bej-site-footer {
  margin-top: auto;
  background: var(--bej-orange);
  color: var(--bej-white);
  padding-block: 44px 60px;
}

.bej-footer-grid {
  display: grid;
  grid-template-columns: 320px minmax(360px, 1fr) 330px;
  gap: 64px;
  align-items: start;
}

.bej-footer-logo-block p {
  margin: 32px 0 0 16px;
  max-width: 280px;
  color: var(--bej-white);
  font-size: 22px;
  line-height: 1.25;
}

.bej-footer-message {
  padding-top: 8px;
  text-align: center;
}

.bej-footer-tagline {
  margin: 0 0 92px;
  font-size: 23px;
  font-weight: 900;
}

.bej-footer-message p {
  margin: 0 0 24px;
  color: var(--bej-white);
  font-size: 21px;
}

.bej-footer-message a,
.bej-footer-message a:visited,
.bej-footer-contact a,
.bej-footer-contact a:visited {
  color: var(--bej-white) !important;
  text-decoration: none !important;
}

.bej-footer-contact {
  padding-top: 90px;
}

.bej-footer-contact p {
  margin: 0 0 22px;
  color: var(--bej-white);
  font-size: 22px;
}

.bej-socials {
  display: grid;
  gap: 18px;
  justify-content: start;
}

.bej-socials a,
.bej-socials a:visited {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--bej-orange) !important;
  background: #31445d;
  border-radius: 4px;
  font-size: 24px;
  font-weight: 950;
  text-decoration: none !important;
}

@media (max-width: 1240px) {
  .bej-site-header__inner {
    align-items: center;
  }

  .bej-nav {
    display: none;
  }

  .bej-header-actions {
    margin-top: 0;
  }

  .bej-hero__copy {
    margin-left: 0;
  }

  .bej-footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bej-footer-message {
    text-align: left;
  }

  .bej-footer-tagline {
    margin-bottom: 28px;
  }

  .bej-footer-contact {
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  .bej-container,
  .bej-content-container {
    width: min(100% - 36px, var(--bej-container));
  }

  .bej-site-header__inner {
    min-height: auto;
    padding-block: 22px;
  }

  .bej-logo--header {
    width: 92px;
    height: 92px;
  }

  .bej-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 42px 64px;
  }

  .bej-hero h1,
  .bej-title-xl {
    font-size: clamp(46px, 14vw, 62px);
  }

  .bej-hero__italic,
  .bej-hero__bold,
  .bej-hero__plain {
    font-size: 23px;
  }

  .bej-demo-pill--large {
    min-width: 0;
    width: 100%;
  }

  .bej-grid--2,
  .bej-grid--3,
  .bej-steps,
  .bej-related {
    grid-template-columns: 1fr;
  }

  .bej-cta-band {
    grid-template-columns: 1fr;
    border-radius: 34px;
  }

  .bej-logo--footer {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 560px) {
  .bej-container,
  .bej-content-container {
    width: min(100% - 32px, var(--bej-container));
  }

  .bej-site-header__inner {
    gap: 18px;
  }

  .bej-header-actions .bej-demo-pill {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .bej-hero h1,
  .bej-title-xl {
    font-size: 44px;
  }

  .bej-hero__caption,
  .bej-footer-logo-block p,
  .bej-footer-message p,
  .bej-footer-contact p {
    font-size: 19px;
  }
}


@media (min-width: 1241px) {
  .bej-container {
    width: min(var(--bej-container), calc(100% - 180px));
  }

  .bej-site-header__inner {
    overflow: visible;
  }

  .bej-header-actions {
    white-space: nowrap;
  }
}


/* v0.1.7 desktop scale correction.
   The previous version matched the color/structure, but rendered too large
   compared with the primary Book Every Job homepage at 100% browser zoom. */
@media (min-width: 1241px) {
  :root {
    --bej-container: 1260px;
  }

  .bej-container {
    width: min(var(--bej-container), calc(100% - 220px));
  }

  .bej-site-header__inner {
    min-height: 132px;
    padding-block: 16px 12px;
    gap: 30px;
  }

  .bej-logo--header {
    width: 104px;
    height: 104px;
  }

  .bej-nav {
    gap: clamp(16px, 1.65vw, 30px);
    margin-top: 38px;
  }

  .bej-nav a,
  .bej-nav a:visited {
    font-size: 17px;
  }

  .bej-header-actions {
    margin-top: 29px;
  }

  .bej-demo-pill,
  a.bej-demo-pill,
  a.bej-demo-pill:visited {
    min-height: 48px;
    padding: 11px 28px;
    font-size: 16px;
  }

  .bej-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: clamp(48px, 6vw, 92px);
    padding-block: 48px 86px;
  }

  .bej-hero__copy {
    max-width: 610px;
    margin-left: clamp(42px, 6.5vw, 86px);
  }

  .bej-hero h1,
  .bej-title-xl {
    font-size: clamp(40px, 3.45vw, 54px);
    line-height: 0.97;
    margin-bottom: 24px;
  }

  .bej-hero__italic {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .bej-hero__bold {
    font-size: 23px;
    line-height: 1.24;
    margin-bottom: 28px;
  }

  .bej-hero__plain {
    font-size: 23px;
    margin-bottom: 22px;
  }

  .bej-demo-pill--large {
    min-width: 420px;
    min-height: 62px;
    font-size: 16px;
  }

  .bej-demo-pill--large small {
    font-size: 14px;
  }

  .bej-hero__visual {
    max-width: 455px;
  }

  .bej-hero__caption {
    font-size: 17px;
    max-width: 400px;
    margin-top: 24px;
  }

  .bej-footer-grid {
    grid-template-columns: 250px minmax(320px, 1fr) 260px;
    gap: 54px;
  }

  .bej-logo--footer {
    width: 150px;
    height: 150px;
  }

  .bej-footer-logo-block p {
    font-size: 17px;
    max-width: 220px;
    margin-top: 24px;
  }

  .bej-footer-tagline {
    font-size: 18px;
    margin-bottom: 70px;
  }

  .bej-footer-message p,
  .bej-footer-contact p {
    font-size: 17px;
  }

  .bej-footer-contact {
    padding-top: 70px;
  }
}


/* v0.1.8 exact desktop scale pass based on the uploaded bookeveryjob.com page source.
   GHL source values used as targets:
   - page section inner max-width: 1170px
   - nav font-size: 18px
   - header logo: 100px x 100px
   - hero h1: 40px
   - hero paragraph: 20px
   - hero caption/rich text: 15px
   - hero image: 350px x 200px
*/
@media (min-width: 981px) {
  :root {
    --bej-container: 1170px;
    --bej-content: 1170px;
  }

  .bej-container,
  .bej-content-container {
    width: min(1170px, calc(100% - 40px)) !important;
    max-width: 1170px !important;
  }

  .bej-site-header__inner {
    min-height: auto !important;
    padding: 15px 0 10px !important;
    gap: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .bej-brand {
    flex: 0 0 auto !important;
    margin-right: 18px !important;
  }

  .bej-logo--header {
    width: 100px !important;
    height: 100px !important;
  }

  .bej-nav {
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 33px 0 0 0 !important;
  }

  .bej-nav a,
  .bej-nav a:visited {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.8em !important;
    letter-spacing: -1px !important;
    padding: 5px 20px !important;
  }

  .bej-header-actions {
    flex: 0 0 auto !important;
    margin-top: 31px !important;
    margin-left: 8px !important;
    white-space: nowrap !important;
  }

  .bej-header-actions .bej-demo-pill,
  .bej-header-actions a.bej-demo-pill,
  .bej-header-actions a.bej-demo-pill:visited {
    min-height: auto !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border-radius: 75px !important;
  }

  .bej-hero__inner {
    display: grid !important;
    grid-template-columns: 54.4% 45.6% !important;
    gap: 0 !important;
    align-items: center !important;
    padding: 25px 60px 96px !important;
  }

  .bej-hero__copy {
    max-width: none !important;
    margin-left: 0 !important;
    padding: 10px 10px 10px 40px !important;
  }

  .bej-hero h1,
  .bej-title-xl {
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1em !important;
    letter-spacing: 0 !important;
    margin: 0 0 20px !important;
  }

  .bej-hero__italic {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.3em !important;
    margin: 0 0 20px !important;
  }

  .bej-hero__bold {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3em !important;
    margin: 0 0 20px !important;
  }

  .bej-hero__plain {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.3em !important;
    margin: 0 0 20px !important;
  }

  .bej-actions {
    margin-top: 20px !important;
  }

  .bej-demo-pill--large,
  a.bej-demo-pill--large,
  a.bej-demo-pill--large:visited {
    min-width: 350px !important;
    max-width: 430px !important;
    min-height: auto !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    border-radius: 75px !important;
  }

  .bej-demo-pill--large small {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
  }

  .bej-hero__visual {
    max-width: none !important;
    padding: 10px 5px !important;
  }

  .bej-image-placeholder {
    width: 350px !important;
    height: 200px !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    border: 0 !important;
  }

  .bej-notification-card {
    width: 230px !important;
    border-radius: 16px !important;
    padding: 14px !important;
    transform: rotate(-2deg) !important;
  }

  .bej-notification-card p {
    margin: 0 0 10px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .bej-notification-card p:last-child {
    margin-bottom: 0 !important;
  }

  .bej-hero__caption {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.2em !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    padding: 30px 60px 10px 20px !important;
  }

  .bej-site-footer {
    padding-block: 44px 42px !important;
  }

  .bej-footer-grid {
    grid-template-columns: 23.7% 52.6% 23.7% !important;
    gap: 0 !important;
    max-width: 1170px !important;
  }

  .bej-logo--footer {
    width: 150px !important;
    height: 150px !important;
  }

  .bej-footer-logo-block p {
    font-size: 15px !important;
    line-height: 1.3em !important;
    margin: 20px 0 0 20px !important;
    max-width: 210px !important;
  }

  .bej-footer-tagline {
    font-size: 18px !important;
    margin-bottom: 44px !important;
  }

  .bej-footer-message p,
  .bej-footer-contact p {
    font-size: 15px !important;
    line-height: 1.3em !important;
  }

  .bej-footer-contact {
    padding-top: 70px !important;
  }
}

@media (min-width: 981px) and (max-width: 1260px) {
  .bej-nav a,
  .bej-nav a:visited {
    font-size: 16px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .bej-header-actions .bej-demo-pill,
  .bej-header-actions a.bej-demo-pill,
  .bej-header-actions a.bej-demo-pill:visited {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* v0.1.9 mobile header correction based on direct measurements.
   At 390px viewport, the primary site shows only the 100px logo.
   The nav items and demo CTA do not render in the header. */
@media (max-width: 860px) {
  .bej-container,
  .bej-content-container {
    width: calc(100% - 20px);
  }

  .bej-site-header__inner {
    min-height: 150px;
    padding-top: 25px;
    padding-bottom: 25px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .bej-logo--header {
    width: 100px;
    height: 100px;
  }

  .bej-nav,
  .bej-header-actions {
    display: none !important;
  }
}

/* Keep the mobile logo matched even on narrower devices. */
@media (max-width: 560px) {
  .bej-container,
  .bej-content-container {
    width: calc(100% - 20px);
  }

  .bej-site-header__inner {
    min-height: 150px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .bej-logo--header {
    width: 100px;
    height: 100px;
  }
}


/* v0.2.0 top-navigation precision pass.
   Based on measured 1705px desktop viewport:
   Main site logo: x=287.5 y=25 w=100 h=100.
   Main nav: y=55.6, font 18/600, line-height 28.8px, letter-spacing -1px, padding 5px 20px.
   Main nav start: x=437.16.
   Main demo column: x=1228.06, right=1437.5.
*/
@media (min-width: 981px) {
  body.bej-landing-body {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
  }

  .bej-container,
  .bej-content-container {
    width: min(1170px, calc(100% - 40px)) !important;
    max-width: 1170px !important;
  }

  .bej-site-header__inner {
    padding: 25px 0 10px !important;
    gap: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: 135px !important;
  }

  .bej-brand {
    margin-left: 20px !important;
    margin-right: 49.66px !important;
    flex: 0 0 auto !important;
  }

  .bej-logo--header {
    width: 100px !important;
    height: 100px !important;
  }

  .bej-nav {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 30.6px 0 0 0 !important;
  }

  .bej-nav a,
  .bej-nav a:visited {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 28.8px !important;
    letter-spacing: -1px !important;
    padding: 5px 20px !important;
    height: 38.8px !important;
    display: flex !important;
    align-items: center !important;
  }

  .bej-header-actions {
    flex: 0 0 209.44px !important;
    width: 209.44px !important;
    margin-top: 20px !important;
    margin-left: 20px !important;
    white-space: nowrap !important;
  }

  .bej-header-actions .bej-demo-pill,
  .bej-header-actions a.bej-demo-pill,
  .bej-header-actions a.bej-demo-pill:visited {
    width: 100% !important;
    min-height: 60px !important;
    padding: 0 15px !important;
    border-radius: 75px !important;
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: normal !important;
  }
}

@media (min-width: 981px) and (max-width: 1260px) {
  .bej-brand {
    margin-right: 28px !important;
  }

  .bej-nav a,
  .bej-nav a:visited {
    font-size: 16px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .bej-header-actions {
    width: 185px !important;
    flex-basis: 185px !important;
    margin-left: 14px !important;
  }

  .bej-header-actions .bej-demo-pill,
  .bej-header-actions a.bej-demo-pill,
  .bej-header-actions a.bej-demo-pill:visited {
    font-size: 14px !important;
  }
}


/* v0.2.1 mobile hamburger menu. */
.bej-menu-toggle {
  display: none;
}

.bej-mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .bej-site-header {
    position: relative;
    z-index: 20;
  }

  .bej-site-header__inner {
    position: relative;
  }

  .bej-nav,
  .bej-header-actions {
    display: none !important;
  }

  .bej-menu-toggle {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    margin: 22px 0 0 auto;
    cursor: pointer;
  }

  .bej-menu-toggle__bar {
    display: block;
    width: 34px;
    height: 3px;
    background: var(--bej-white);
    border-radius: 999px;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .bej-menu-toggle.is-open .bej-menu-toggle__bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .bej-menu-toggle.is-open .bej-menu-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .bej-menu-toggle.is-open .bej-menu-toggle__bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .bej-mobile-menu {
    background: var(--bej-orange);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: block;
    padding: 8px 0 28px;
  }

  .bej-mobile-menu[hidden] {
    display: none !important;
  }

  .bej-mobile-menu__inner {
    display: grid;
    gap: 0;
  }

  .bej-mobile-menu__inner a,
  .bej-mobile-menu__inner a:visited {
    color: var(--bej-white) !important;
    display: block;
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.25;
    padding: 16px 0;
    text-decoration: none !important;
  }

  .bej-mobile-menu__inner a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .bej-mobile-menu__inner .bej-mobile-menu__demo,
  .bej-mobile-menu__inner .bej-mobile-menu__demo:visited {
    align-items: center;
    background: var(--bej-yellow) !important;
    border-radius: 999px;
    color: var(--bej-purple) !important;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0;
    margin-top: 18px;
    min-height: 54px;
    padding: 14px 22px;
    text-align: center;
    width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  .bej-menu-toggle {
    width: 52px;
    height: 52px;
    margin-top: 24px;
  }

  .bej-menu-toggle__bar {
    width: 32px;
  }

  .bej-mobile-menu__inner a,
  .bej-mobile-menu__inner a:visited {
    font-size: 21px;
    padding: 15px 0;
  }
}
