:root {
  --off-white: #f4f1ee;
  --black: #111;
}

body {
  background-color: var(--off-white);
  color: var(--black);
  font-family: Instrument Sans, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-bottom: 10px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

.herobgsection {
  position: relative;
}

.herobgwrap {
  z-index: -1;
  height: 100%;
  position: absolute;
  inset: 0% 0% auto;
}

.herobg {
  z-index: 0;
  pointer-events: none;
  border-radius: 24px;
  width: 100vw;
  height: 100vh;
  position: sticky;
  inset: 0;
}

.herobginnner {
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(#0006, #0006), url('../img/bg.jpeg');
  background-position: 0 0, 50%;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  border-radius: 24px;
  position: absolute;
  inset: 12px;
}

.header {
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  padding: 40px 40px 30px;
  transition: all .2s;
  display: flex;
  position: fixed;
  inset: 0% 0% auto;
}

.header.invert {
  filter: invert(120%);
}

.btn {
  color: #000;
  background-color: #fff;
  border-radius: 100px;
  padding: 12px 20px 11px;
  font-weight: 500;
}

.btn:hover {
  opacity: .8;
}

.btn.big {
  padding: 18px 44px;
  font-size: 19px;
}

.btn.alt {
  background-color: var(--black);
  color: #fff;
}

.btngrp {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.loginlink {
  color: #fff;
  font-weight: 500;
}

.content {
  z-index: 2;
  width: 100%;
  max-width: 900px;
  min-height: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
}

.content.wide {
  max-width: 1200px;
}

.content.fullwidth {
  max-width: none;
}

.content.small {
  max-width: 760px;
}

.headerspacer {
  height: 124px;
}

.gapxl {
  height: 120px;
}

.demoimg {
  height: 80vh;
}

.gapl {
  height: 80px;
}

.cta {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.gapm {
  height: 40px;
}

.gaps {
  height: 16px;
}

.demoimgwrap {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
}

.democallouts {
  position: relative;
}

.democalloutcard {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: #fff;
  background-color: #626462b3;
  border-radius: 24px;
  max-width: 380px;
  margin-left: 5%;
  padding: 32px;
  box-shadow: 0 20px 40px #00000040;
}

.democalloutcard.alt1 {
  margin-left: auto;
  margin-right: 8%;
}

.democalloutcard.alt2 {
  margin-left: 12%;
}

.calloutsbottomgap {
  height: 50vh;
}

.herotext {
  color: #fff;
  text-align: center;
  position: relative;
}

.herotext.alt {
  color: inherit;
}

.lighttext {
  opacity: .8;
}

.serif {
  zoom: 1.1;
  font-family: Instrument Serif, sans-serif;
  font-style: italic;
}

.quotetitle {
  font-weight: 500;
}

.smalltext {
  font-size: 15px;
}

.largetext {
  font-size: 24px;
}

.jumbo {
  font-size: 70px;
}

.hr {
  background-color: #00000014;
  height: 1px;
}

.footercols {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: flex;
}

.footercol {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: column;
  align-items: flex-start;
  width: 140px;
  display: flex;
}

.footercol.end {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  justify-content: flex-end;
  align-items: flex-start;
  width: 260px;
  max-width: none;
}

.footertitle {
  opacity: .5;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
}

.footercolsouter {
  justify-content: space-between;
  font-size: 14px;
  display: flex;
}

.nbsglink {
  font-weight: 500;
}

.nbsglink:hover {
  opacity: .5;
}

.researchlink {
  grid-column-gap: 9px;
  grid-row-gap: 9px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: #626462b3;
  border-radius: 50px;
  justify-content: center;
  align-items: center;
  padding: 5px 12px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
  display: flex;
}

.researchlink:hover {
  background-color: #2a2b2ab3;
}

.rich {
  font-size: 18px;
  line-height: 1.5;
}

.rich p, .rich ol, .rich ul {
  margin-bottom: 24px;
}

.textcols {
  grid-column-gap: 60px;
  grid-row-gap: 60px;
  grid-template-rows: auto;
  grid-template-columns: .5fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.miniheading {
  opacity: .6;
  font-size: 17px;
}

.miniheading.ultramini {
  font-size: 13px;
}

.democard {
  background-color: #0000000a;
  border-radius: 12px;
  padding: 40px;
}

.democard.authorcard {
  padding: 24px;
}

.researchcitations {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: column;
  display: flex;
}

.researchauthor {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  display: flex;
}

.reauthormain {
  flex: 1;
  padding: 24px;
}

.reauthorimg {
  background-image: url('../img/jb.jpg');
  background-position: 50% 0;
  background-size: cover;
  border-radius: 8px;
  align-self: stretch;
  width: 30%;
}

.richoffset {
  margin-bottom: -24px;
}

.democols {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.gapxs {
  height: 8px;
}

.pullquote {
  border-left: 2px solid #00000026;
  margin: 40px;
  padding-left: 24px;
  font-family: Instrument Serif, sans-serif;
  font-size: 29px;
}

.gapsplus {
  height: 24px;
}

.prcols {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.prblocklink {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  background-color: #fff;
  border-bottom: 1px solid #0003;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 18px;
  transition: all .2s;
  display: flex;
  box-shadow: 0 1px 4px #0000000f;
}

.prblocklink:hover {
  transform: translate(0, -1px);
  box-shadow: 0 2px 7px #0000001a;
}

.prblocklinkarr {
  opacity: .3;
  flex: none;
}

.framedimg {
  border: 1px solid #0000001a;
  border-radius: 12px;
}

.ctacols {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  text-align: left;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
}

@media screen and (max-width: 991px) {
  .democalloutcard.alt1 {
    margin-right: 5%;
  }

  .democalloutcard.alt2 {
    margin-left: 5%;
  }

  .democols {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h3 {
    font-size: 30px;
  }

  .header {
    padding: 30px 24px 24px;
  }

  .btn {
    padding: 9px 18px 10px;
  }

  .btn.big {
    padding: 14px 40px;
  }

  .loginlink {
    display: none;
  }

  .headerspacer {
    height: 116px;
  }

  .gapxl {
    height: 100px;
  }

  .gapl {
    height: 60px;
  }

  .democalloutcard {
    max-width: 64%;
    margin-left: 0%;
    padding: 20px;
  }

  .democalloutcard.alt1 {
    margin-right: 0%;
  }

  .democalloutcard.alt2 {
    margin-left: 0%;
  }

  .jumbo {
    font-size: 50px;
  }

  .footercols {
    flex-flow: column;
  }

  .footercol.end {
    width: 100%;
  }

  .footercolsouter {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    flex-flow: column;
  }

  .textcols {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    grid-template-columns: 1fr;
  }

  .researchauthor {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    flex-flow: column;
  }

  .reauthormain {
    padding: 0;
  }

  .reauthorimg {
    width: 140px;
    height: 200px;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 34px;
  }

  h3 {
    font-size: 26px;
  }

  .btn.big {
    font-size: 18px;
  }

  .content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .demoimg {
    width: auto;
    height: 70vh;
  }

  .democalloutcard {
    max-width: 80%;
    font-size: 14px;
  }

  .quotetitle, .jumbo {
    font-size: 30px;
  }

  .hideonmobile {
    display: none;
  }

  .rich {
    font-size: 16px;
  }
}

/* Blog Styles */
.blogTitle {
    max-width: 800px;
    margin: 0 auto;
}

.cardGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.cardGrid .wide {
    grid-column: 1 / -1;
}

.blogCard {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease;
}

.blogCardCover {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.blogCardCover img {
    width: 100%;
    height: auto;
}

.blogCardInfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 24px;
    padding-top: 0;
}

.blogCardAuthor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blogCardAuthor img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blogPostHeader {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.blogPostHeaderCol {
    display: flex;
    align-items: center;
}

.blogBack {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.blogCover {
    border-radius: 12px;
    max-height: 500px;
    object-fit: cover;
}

.authorBio {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
}

.authorBio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.rich {
    font-size: 20px;
    line-height: 1.6;
}

.rich h2 {
    font-size: 24px;
    margin-top: 48px;
    margin-bottom: 24px;
}

.rich a {
  font-weight: bold;
  text-decoration: underline;
}

.rich p {
    margin-bottom: 24px;
}

.rich img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.rich ul, .rich ol {
    margin: 24px 0;
    padding-left: 24px;
}

.rich li {
    margin-bottom: 12px;
}

.rich blockquote {
    margin: 32px 0;
    padding: 24px;
    background: rgba(0,0,0,0.05);
    border-radius: 12px;
    font-style: italic;
}

@media screen and (max-width: 767px) {
    .cardGrid {
        grid-template-columns: 1fr;
    }

    .authorBio {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .authorBio img {
        margin: 0 auto;
    }
}


