/* Shared V3 founder section. Scoped so the four landing-page styles stay independent. */
@font-face {
  font-family: "Founder Beiko";
  src: url("/bundle/fonts/webfonts/beiko-heavy.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

.founder-video {
  --founder-green: #2a4022;
  --founder-lime: #ebfe53;
  --founder-surface: var(--founder-green);
  box-sizing: border-box;
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: normal;
}

.founder-video *,
.founder-video *::before,
.founder-video *::after { box-sizing: border-box; }
.founder-video [hidden] { display: none !important; }

.founder-video .founder-video__layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 420px);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  column-gap: 40px;
  padding: 60px 40px;
  border-radius: 28px;
  background: var(--founder-surface);
}

.founder-video .founder-video__heading { grid-column: 1; align-self: end; }
.founder-video .founder-video__intro {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: normal;
  text-wrap: wrap;
}

.founder-video .founder-video__name { color: var(--founder-lime); }
.founder-video .founder-video__title {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: "Founder Beiko", Impact, sans-serif;
  font-size: 54px;
  font-weight: 900;
  font-style: normal;
  line-height: 56px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-wrap: wrap;
}

.founder-video .founder-video__media {
  display: flex;
  grid-column: 2;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.founder-video .founder-video__player {
  position: relative;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--founder-green);
  box-shadow: 0 24px 70px rgba(42, 64, 34, .14);
}

.founder-video .founder-video__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.founder-video .founder-video__controls { display: none; }
.founder-video.is-enhanced .founder-video__controls { display: contents; }
.founder-video .founder-video__top,
.founder-video .founder-video__bottom {
  position: absolute;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.founder-video .founder-video__top { top: 12px; }
.founder-video .founder-video__bottom { bottom: 22px; }
.founder-video .founder-video__time {
  padding: 5px 9px;
  border-radius: 100px;
  background: rgba(19, 24, 16, .76);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 15.4px;
  font-variant-numeric: tabular-nums;
}

.founder-video .founder-video__control {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(19, 24, 16, .76);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.founder-video .founder-video__control:hover { background: #131810; }
.founder-video .founder-video__control img { display: block; max-width: none; }
.founder-video .founder-video__play-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.founder-video .founder-video__seek {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  width: calc(100% - 24px);
  height: 16px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.founder-video .founder-video__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, #fff var(--founder-progress, 0%), rgba(255,255,255,.4) var(--founder-progress, 0%));
}
.founder-video .founder-video__seek::-moz-range-track { height: 3px; border-radius: 999px; background: rgba(255,255,255,.4); }
.founder-video .founder-video__seek::-moz-range-progress { height: 3px; border-radius: 999px; background: #fff; }
.founder-video .founder-video__seek::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -3.5px; appearance: none; border: 0; border-radius: 50%; background: transparent; }
.founder-video .founder-video__seek::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: transparent; }
.founder-video .founder-video__seek:focus-visible::-webkit-slider-thumb { background: #fff; }
.founder-video .founder-video__seek:focus-visible::-moz-range-thumb { background: #fff; }

.founder-video .founder-video__offer {
  grid-column: 1;
  align-self: start;
  justify-self: start;
  width: var(--founder-offer-width, 317px);
  max-width: 100%;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--founder-lime);
  border-radius: 18px;
  background: rgba(255,253,248,.1);
}
.founder-video .founder-video__product { display: flex; align-items: center; gap: 16px; }
.founder-video .founder-video__product-image { display: block; flex: 0 0 88px; width: 88px; height: 88px; max-width: none; border-radius: 8px; object-fit: cover; }
.founder-video .founder-video__product-copy { min-width: 0; }
.founder-video .founder-video__product-name { display: block; color: #fff; font-size: 18px; font-weight: 600; line-height: 24px; }
.founder-video .founder-video__product-description { margin: 4px 0 0; color: #fff; font-size: 14px; font-weight: 400; line-height: 20px; text-wrap: wrap; }
.founder-video .founder-video__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  padding: 12px 24px;
  border: 1px solid var(--founder-lime);
  border-radius: 100px;
  background: var(--founder-lime);
  color: var(--founder-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 18.2px;
  letter-spacing: .52px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.founder-video .founder-video__cta img { flex-shrink: 0; max-width: none; }
.founder-video .founder-video__cta > span { white-space: nowrap; }
.founder-video .founder-video__cta:hover { background: #d3ef32; border-color: #d3ef32; }
.founder-video :is(button, a, input):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.founder-video .founder-video__status { margin: 12px 0 0; color: #fff; font-size: 14px; line-height: 20px; }
.founder-video .founder-video__status:not([hidden]) { position: absolute; right: 12px; bottom: 70px; left: 12px; padding: 10px; border-radius: 8px; background: rgba(19,24,16,.9); }

/* The listicles use their own palette, content width and existing CTA style. */
.founder-video--listicle {
  --founder-surface: #192c17;
  --founder-lime: #dcff36;
  --founder-offer-width: 364px;
  width: calc(100% - 40px);
  max-width: 1220px;
}
.founder-video--listicle.founder-video--listicle-v2 { --founder-offer-width: 411px; }
.founder-video--listicle .founder-video__cta {
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  line-height: 21.25px;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: 0 10px 12px rgba(20,45,25,.7);
}
.founder-video--listicle-v2 .founder-video__cta {
  padding: 16px 18px;
  border-radius: 12px;
  background: #ebfe53;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -.4px;
  box-shadow: none;
}

.founder-video .founder-video__dialog {
  width: min(430px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #132f19;
  color: #fff;
}
.founder-video .founder-video__dialog:not([open]) { display: none; }
.founder-video .founder-video__dialog::backdrop { background: rgba(15,21,14,.82); backdrop-filter: blur(5px); }
.founder-video .founder-video__expanded { display: block; width: 100%; max-height: calc(100dvh - 32px); object-fit: contain; }
.founder-video .founder-video__dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; transition: background .2s, transform .2s; }
.founder-video .founder-video__dialog-close svg { display: block; }
.founder-video .founder-video__dialog-close:hover { background: #2a4022; transform: scale(1.06); }
.founder-video .founder-video__dialog-close:focus-visible { outline: 3px solid #e4ff47; outline-offset: 3px; }

@media (min-width: 761px) {
  .founder-video--listicle-v2 .founder-video__title { font-size: 48px; line-height: 52px; }
}

@media (min-width: 761px) and (max-width: 1192px) {
  .founder-video { width: calc(100% - 40px); }
}

@media (max-width: 760px) {
  .founder-video { width: 100%; max-width: none; background: var(--founder-surface); }
  .founder-video .founder-video__layout { grid-template-columns: minmax(0, 420px); grid-template-rows: auto; gap: 24px; padding: 36px 20px; border: 0; border-radius: 0; }
  .founder-video .founder-video__heading { grid-column: 1; grid-row: 1; align-self: auto; }
  .founder-video .founder-video__title { font-size: 36px; line-height: 38px; }
  .founder-video .founder-video__media { grid-column: 1; grid-row: 2; }
  .founder-video .founder-video__player { width: 100%; }
  .founder-video .founder-video__offer { grid-column: 1; grid-row: 3; justify-self: center; width: 100%; margin-top: 0; padding: 12px; }
  .founder-video--listicle .founder-video__layout { padding-inline: 17.25px; }
  .founder-video--listicle .founder-video__cta { padding-inline: 24px; }
  .founder-video--listicle-v2 .founder-video__cta { gap: 2px; padding-inline: 18px; font-size: 18px; line-height: 20px; letter-spacing: -.36px; }
}

@media (prefers-reduced-motion: reduce) {
  .founder-video * { scroll-behavior: auto; }
  .founder-video .founder-video__dialog * { transition: none; }
}
