:root {

  --font-sm: clamp(0.77rem, 0.06vw + 0.76rem, 0.82rem);
  --font-base: clamp(1rem, 0.19vw + 0.96rem, 1.16rem);
  --font-md: clamp(1.3rem, 0.41vw + 1.22rem, 1.64rem);
  --font-lg: clamp(1.69rem, 0.77vw + 1.54rem, 2.32rem);
  --font-xl: clamp(2.2rem, 1.32vw + 1.94rem, 3.27rem);
  --font-xxl: clamp(2.86rem, 2.18vw + 2.43rem, 4.63rem);

  --font-nav: clamp(0.9rem, 0.19vw + 0.96rem, 1rem);
  --font-base-hero: clamp(1.1rem, 0.19vw + 1.1rem, 1.3rem);
  /* Hero tagline font */
  --font-xl-sans: clamp(2rem, 1.13vw + 1.4rem, 3rem);
  /* Adjust for Sans typeface */
}


h1 {
  font-family: var(--typeface-serif);
  font-size: var(--font-xxl);
  font-weight: 500;
  text-align: center;
  line-height: 1.1;
  margin: 0 auto 1vw auto;
  color: var(--text-bright);
}

h2 {
  font-family: var(--typeface-serif);
  font-size: var(--font-xl);
  line-height: 1;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--typeface-serif);
  font-size: var(--font-lg);
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 12px;
  color: var(--text-bright);
}

h4 {
  font-size: var(--font-md);
  line-height: 1.2;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 8px;
  color: var(--text-bright);
}

h5 {
  font-size: var(--font-base);
  letter-spacing: 8;
  line-height: 1.2;
  font-weight: 400;
  margin-top: 4px;
  text-transform: uppercase;
}

ul {
  font-size: var(--font-base);
  color: rgba(var(--black-rgb), 0.7);
  list-style-type: none;
}

li {
  font-size: var(--font-base);
  line-height: 1.2;
  color: rgba(var(--black-rgb), 0.7);
  margin-bottom: 0.5em;
}

p {
  font-size: var(--font-base);
  line-height: 1.2;
  color: var(--text-dim);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

hr.thin {
  margin: 2vw auto 2vw auto;
  border: none;
  height: 1.5px;
  background: rgba(var(--black-rgb), 0.1);
}

.rounded {
  border-radius: 13px;
}

#hero {
  min-height: 700px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(0deg, rgba(var(--white-rgb), 0) 0%, var(--bg-white) 100%);
  z-index: 10;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 60px;
  background: linear-gradient(180deg, rgba(var(--home-hero-beige-rgb), 0) 60%, rgba(var(--home-hero-beige-rgb), 1) 100%);
  background-color: rgba(var(--home-hero-beige-rgb), 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  overflow: hidden;
}

#hero .hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
  max-width: 1400px;
  padding: 0 4vw;
  margin: auto;
  overflow: visible;
}

#hero .hero-text {
  flex: 0 0 60%;
  max-width: 600px;
  padding: 0 8px;
  position: relative;
  color: var(--text-dim);
  text-align: center;
  z-index: 2;
}

#hero .hero-tagline {
  font-family: var(--typeface-serif);
  color: var(--text-dim);
  font-size: var(--font-base-hero);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1px;
  line-height: 1.2;
}

#hero .hero-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0 0;
}

#hero .hero-badge {
  height: 120px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#hero .hero-badge:hover {
  opacity: 1;
}

/* Dark mode: Invert the black badges to white */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) #hero .hero-badge {
    filter: invert(1);
    opacity: 0.9;
  }

  :root:not([data-theme]) #hero .hero-badge:hover {
    opacity: 1;
  }
}

[data-theme="dark"] #hero .hero-badge {
  filter: invert(1);
  opacity: 0.9;
}

[data-theme="dark"] #hero .hero-badge:hover {
  opacity: 1;
}

#hero .hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

#hero .hero-video-container {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.platform-toggle {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: clamp(-31pt, calc(-31pt + (1700px - 100vw) / 850px * 20pt), -11pt);
  left: clamp(50%, calc(50% + (100vw - 850px) / 850px * 20%), 70%);
  transform: translateX(-50%) rotate(2deg) scale(clamp(0.7, calc(0.7 + (100vw - 850px) / 850px * 0.3), 1));
  z-index: 3;
}

@media (max-width: 850px) {
  .platform-toggle {
    top: 30pt;
  }
}

@media (max-width: 600px) {
  .platform-toggle {
    top: clamp(30pt, calc(30pt + (600px - 100vw) / 150px * 12pt), 42pt);
  }
}

@media (max-width: 450px) {
  .platform-toggle {
    top: 42pt;
  }
}

.platform-btn {
  font-family: var(--typeface-sans);
  font-size: calc(var(--font-base) * 2);
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 16px 32px;
  position: relative;
  transition: color 0.3s ease;
}

.platform-btn:hover {
  color: var(--text-bright);
}

.platform-btn.active {
  color: var(--text-bright);
}

.platform-btn[data-platform="mac"].active::before {
  content: '';
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 180%;
  background-image: url('/assets/media/circle-small.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  opacity: 0.8;
  /* Black → #803EDE */
  filter: invert(29%) sepia(93%) saturate(2040%) hue-rotate(249deg) brightness(87%) contrast(97%);
}

.platform-btn[data-platform="ipad"].active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 180%;
  background-image: url('/assets/media/circle-small2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  opacity: 0.8;
  /* Black → #803EDE */
  filter: invert(29%) sepia(93%) saturate(2040%) hue-rotate(249deg) brightness(87%) contrast(97%);
}

/* Dark mode: Black → #A478F7 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .platform-btn[data-platform="mac"].active::before,
  :root:not([data-theme]) .platform-btn[data-platform="ipad"].active::before {
    filter: invert(58%) sepia(68%) saturate(2275%) hue-rotate(225deg) brightness(101%) contrast(94%);
  }
}

[data-theme="dark"] .platform-btn[data-platform="mac"].active::before,
[data-theme="dark"] .platform-btn[data-platform="ipad"].active::before {
  filter: invert(58%) sepia(68%) saturate(2275%) hue-rotate(225deg) brightness(101%) contrast(94%);
}

/* Arrows next to platform buttons (only when active) */
.platform-btn.active::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 75px;
  background-image: url('/assets/media/sharp-arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  /* Black → #803EDE */
  filter: invert(29%) sepia(93%) saturate(2040%) hue-rotate(249deg) brightness(87%) contrast(97%);
}

/* Dark mode: Black → #A478F7 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .platform-btn.active::after {
    filter: invert(58%) sepia(68%) saturate(2275%) hue-rotate(225deg) brightness(101%) contrast(94%);
  }
}

[data-theme="dark"] .platform-btn.active::after {
  filter: invert(58%) sepia(68%) saturate(2275%) hue-rotate(225deg) brightness(101%) contrast(94%);
}

/* Arrow to the left of Mac button */
.platform-btn[data-platform="mac"].active::after {
  right: 100%;
  top: 61%;
  transform: translateY(-50%);
  margin-right: 14px;
}

/* Arrow to the right of iPad button (horizontally flipped) */
.platform-btn[data-platform="ipad"].active::after {
  left: 100%;
  transform: translateY(-50%) scaleX(-1);
  margin-left: 10px;
}

#hero .hero-video {
  width: 100%;
  transform: scale(1.3) rotate(2deg);
  transform-origin: left center;
  border-radius: 13px;
  border: 5px solid rgba(var(--white-rgb), 0.9);
  box-shadow: 0 4px 20px rgba(var(--black-rgb), 0.15);
  /* Hardcoded aspect ratios to prevent layout shift before video loads */
  aspect-ratio: 1098 / 720; /* iPad default */
}

#hero .hero-video[data-platform="mac"] {
  aspect-ratio: 1300 / 810;
}

#hero .hero-video[data-platform="ipad"] {
  aspect-ratio: 1098 / 720;
}

#hero .hero-video video,
#hero .hero-video img.hero-poster {
  display: block;
  width: 100%;
  clip-path: inset(0 1px 1px 1px round 8px);
}

#hero .hero-btn.ios-download p.mobile {
  display: none;
}

.video-container video {
  border: 7px solid white;
  box-shadow: 0 2px 6px 0 rgba(var(--black-rgb), 0.2);
  box-sizing: content-box;
  margin: -50px -50px -50px 36px;
  rotate: -2deg;
  width: 100%;
  max-width: 500px;
  border-radius: 13px;
}

@media only screen and (max-width: 450px) {
  #hero .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  #hero .hero-btn.mac-download {
    display: none;
  }

  #hero .hero-btn.ios-download p.desktop {
    display: none;
  }

  #hero .hero-btn.ios-download p.mobile {
    display: block;
    text-align: center;
  }

  .signup-form input[type="email"] {
    width: 200px;
  }
}

#hero .hero-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2vw auto auto auto;
}

#hero .hero-btn p {
  font-size: var(--font-sm);
  color: rgba(var(--black-rgb), 1);
  margin-top: 0;
}

#product {
  margin-top: 40px;
  margin-bottom: 60px;
  overflow: hidden;
}

#product h2 {
  font-family: var(--typeface-sans);
  font-size: var(--font-xl-sans);
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-top: 5px;
  margin-bottom: 15px;
}

#product .product-columns {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
  margin-bottom: 50px;
}

#product .product-feature {
  flex: 10;
  min-width: 300px;
  max-width: 600px;
}

#product .product-feature .feature-name {
  color: var(--text-highlight);
  letter-spacing: -0.2px;
  font-size: var(--font-base);
  font-weight: 500;
}

#product img.bigapp {
  max-width: 840px;
  min-width: 600px;
  width: 50vw;
}

#product .product-columns#bigapp-mobile {
  display: none;
}

#product img.product-visual {
  max-width: 260px;
}

#product .product-container {
  border-radius: 13px;
  padding: 40px 40px 40px 40px;
}

#product .badge {
  background: #26B14E;
  color: #FFF;
  border-radius: 20px;
  padding: 5px 10px 3px 10px;
  margin-left: 4px;
  font-size: var(--font-sm);
  font-weight: 500;
  text-transform: uppercase;
}

#product .product-containers {
  margin-top: 4vw;
}

#product .product-container.feature {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

#product .product-container.feature h2 {
  margin: 5px 0 15px 0;
}

#product .product-container.feature .feature-name {
  font-weight: 400;
  font-size: var(--font-base);
  letter-spacing: -0.2px;
  color: var(--text-highlight);
}

#product .product-container.feature .container-content-1 {
  flex: 1;
}

#product .product-container.feature .container-content-2 {
  flex: 1;
}

#product .product-container.feature video {
  border: 7px solid white;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  box-sizing: content-box;
  margin: -50px -50px -50px 36px;
  rotate: -2deg;
  width: 100%;
  max-width: 500px;
  border-radius: 13px;
}

#product .product-container.feature#collaboration {
  background: #D5E3D9;
}

#product .product-container.feature#collaboration h2 {
  color: #13321F;
}

#product .product-container.feature#collaboration .feature-name {
  color: #26B14E;
}

#product .product-container.feature#collaboration p {
  color: #2F5D42;
}

#product .product-container.feature#inbox {
  margin-bottom: 80pt;
}

#product .product-container.feature#inbox video {
  rotate: 0deg;
  max-width: 500px;
}

#product .container-columns {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding-bottom: 20px;
}

#product .product-container#feature-more {
  background: rgba(var(--white-rgb), 0.7);
  box-shadow: 0 3px 9px 0 var(--shadow-light);
  width: 100%;
}

#product .product-container#feature-more ul li {
  list-style-type: "→ ";
  list-style-position: inside;
  margin-bottom: 4px;
}

#product .product-container#feature-less {
  color: #FFF;
  background: #422B59;
  ;
}

#product .product-container#feature-less h2,
#product .product-container#feature-less p {
  color: #FFF;
}

#product .product-container#feature-less ul li {
  color: #E1F6E7;
  font-size: var(--font-base);
  margin-bottom: 4px;
}

#product .product-container#feature-less ul li .handwritten {
  color: #FFB1B1;
  font-family: "Comic Sans MS", var(--typeface-sans);
  font-style: italic;
  font-size: var(--font-base);
}

#product .product-columns#video-section {
  align-items: center;
  flex-direction: row;
  /* Override the default row-reverse to swap video and text positions */
}

#product .product-columns:has(.image-compare-slider) {
  flex-direction: row;
  /* Override the default row-reverse to swap slider and text positions */
}

#product .product-columns:has(#visual-workflows) {
  flex-direction: row;
  /* Override the default row-reverse to swap image and text positions */
}

#product .product-columns#video-section .video-container {
  flex: 10;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  align-items: center;
  aspect-ratio: 4/3;
  /* Adjust this to match your video's actual aspect ratio */
}

#product .product-columns#video-section .video-container video {
  margin: 0;
  rotate: 2deg;
}

@media only screen and (min-width: 1150px) {
  #product .product-columns#video-section .video-container video {
    margin: -50px -50px -50px 36px;
  }

  #product .product-feature#feature-nested-boards::after {
    content: url('/assets/media/arrow2.svg');
    position: relative;
    top: -40px;
    left: 60%;
    display: inline-block;
  }

  #product .product-feature#feature-boards::after {
    content: url('/assets/media/arrow1.svg');
    position: relative;
    left: 160px;
    top: 20px;
  }

  #product .product-feature#feature-references::after {
    content: url('/assets/media/arrow2.svg');
    position: relative;
    top: -150px;
    left: -60%;
    transform: rotateY(180deg);
    display: inline-block;
  }

  #product .product-feature#feature-content::before {
    content: url('/assets/media/arrow3.svg');
    position: relative;
    top: -40px;
    left: 0;
    transform: rotateY(180deg);
    display: inline-block;
  }

  #product .product-feature#feature-references {
    max-width: 400px;
  }

  #product img.product-visual {
    max-width: 320px;
  }

  #product .product-columns {
    gap: 80px;
    margin-bottom: 10px;
  }
}



/* USE CASES */

#use-cases {
  padding-top: 2.5vw;
  padding-bottom: 2vw;
  background: #272E29;
}

#use-cases .uc-text {
  max-width: 680px;
  margin: auto;
}

#use-cases .uc-text h2 {
  text-align: center;
  color: var(--text-light);
}

#use-cases .uc-text p {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

#use-cases button {
  font-size: var(--font-base);
}

.uc-container {
  padding: 3.5vw 3vw 3.5vw 3vw;
  background-color: #272E29;
  width: 100%;
}

.use-case-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 2vw 0 0 0;
}

.use-case-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.uc-tab {
  font-family: var(--typeface-sans);
  font-weight: 400;
  letter-spacing: 0.5;
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.5);
  padding: 1vw 2vw 1vw 2vw;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}

.uc-tab:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(255, 255, 255, 0.05);
}

.uc-tab:focus {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.02);
}

.uc-tab.active {
  color: #FFFFFF;
  font-weight: 400;
  border: 2px solid #9747FF;
  background-color: rgba(151, 71, 255, 0.04);
}

.uc-description {
  margin: auto;
  max-width: 680px;
  text-align: center;
}

.uc-description p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8)
}

.uc-content-wrapper .uc-content {
  display: none;
}

.uc-content-wrapper .uc-content.active {
  display: block;
}

.uc-content-wrapper,
.uc-container img {
  width: 100%;
  height: 100%;
}

.uc-content img {
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.20), 0 4px 12px 0 rgba(0, 0, 0, 0.20);
}


/* SOCIAL PROOF */

#social-proof {
  padding: 2vw 0 4vw 0;
  /*background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);*/
}

.direct-quote {
  max-width: 680px;
  text-align: center;
  margin: auto;
  padding-bottom: 3vw;
}

.direct-quote .quote-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.direct-quote .quote-badge {
  height: 100px;
  width: auto;
}

/* Dark mode: Invert the black badge to white */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .direct-quote .quote-badge {
    filter: invert(1);
  }
}

[data-theme="dark"] .direct-quote .quote-badge {
  filter: invert(1);
}

p.quote {
  font-family: var(--typeface-serif);
  font-size: var(--font-md);
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-bright);
}

p.author {
  font-family: var(--typeface-sans);
  color: var(--accent-purple);
  font-size: var(--font-base);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.author-title {
  font-family: var(--typeface-sans);
  color: rgba(0, 0, 0, 0.5);
  font-size: var(--font-sm);
  line-height: 0.5;
  margin: 0;
}

#reviews {
  background: linear-gradient(180deg, var(--bg-white) 25%, var(--light-beige) 100%)
}

#reviews h2 {
  color: var(--text-bright);
  text-align: center;
}

#reviews {
  padding: 2vw 0 2vw 0;
}

.reviews-container {
  padding: 40px 0 40px 0;
}

.reviews-grid {
  column-count: 3;
  column-gap: 24px;
  padding-top: 24px;
}

.reviews-grid p.review-title {
  font-weight: 500;
  color: var(--text-bright);
}

.review {
  background-color: rgba(var(--white-rgb), 0.7);
  padding: 1vw 2vw 1vw 2vw;
  border: 1px solid var(--shadow-light);
  box-shadow: 0px 4px 12px 0px var(--shadow-light);
  break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

/* GET MUSE */

#get-muse {
  padding: 3vw 0 3vw 0;
  background-color: #422B59;
  background-image: url(https://media.museapp.com/website/tmp/mac-ipad-test.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom -1vw right -12vw;
  background-color: #422B59;
}

#get-muse h2 {
  font-family: var(--typeface-sans);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-light);
}

#get-muse span {
  background: linear-gradient(135deg, rgba(255, 185, 96, 0.8) -80%, #9747FF 60%);
  color: #9747FF;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#get-muse .module.cta {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: top;
}

#get-muse .cta-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

#get-muse .cta-text {
  font-weight: 400;
  max-width: 65%;
  display: flex;
  flex-direction: column;
}

#get-muse .cta-button {
  margin-top: 32px;
}

#get-muse .cta-button.qr a {
  float: left;
}

#get-muse .cta-button.qr img {
  float: left;
  width: 100px;
}

#get-muse .cta-button.qr p {
  margin-left: 116px;
  color: #FFFFFFCC;
}

#get-muse .module.cta img {
  vertical-align: middle;
  border-radius: 12px;
  border: 1px solid #9747FF;
  /* #803EDE */
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s linear;
}

#get-muse .module.cta img:hover {
  border-radius: 13px;
  border: 3px solid #9747FF;
}

/* PRICING */

#pricing {
  padding: 3vw 0 5vw 0;
}

#pricing .pricing-text {
  text-align: center;
}

#pricing .pricing-text-small {
  text-align: center;
  color: var(--text-dim);
}

#pricing .pricing-text-very-small {
  text-align: center;
  color: var(--text-dim);
  font-size: smaller;
}

#pricing h2 {
  color: var(--text-bright);
}

#pricing h4 {
  font-family: var(--typeface-sans);
  text-align: left;
  color: var(--text-bright);
}

#pricing li {
  list-style-type: none;
}

#pricing li:before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  background-image: url(https://media.museapp.com/website/tmp/check-purple.svg);
  background-repeat: no-repeat;
  background-position: 50% 80%;
  background-size: 16px auto;
}

.pricing-container {
  display: flex;
  column-gap: 1.2rem;
  padding: 2vw 0 2vw 0;
}

.pricing-container li {
  font-size: var(--font-base);
}

.pricing-col {
  background: var(--bg-white);
  flex: 33.33%;
  padding: 2vw 1.5vw 2vw 1.5vw;
  box-shadow: 0px 4px 10px var(--shadow-light);
}

.pricing-col .appstore-link {
  text-align: center;
}

#pricing .tier-1 {
  box-shadow: none;
  background: rgba(var(--white-rgb), 0);
  border: 1.5px solid var(--shadow-light);
}

#pricing .tier-2 {
  background: rgba(var(--white-rgb), 0.6);
}

#pricing .tier-3 {
  background: var(--bg-white);
  border: 2.5px solid var(--accent-purple);
  box-shadow: 0px 4px 20px var(--shadow-medium);
}

#pricing .tier-3 li:before {
  background-image: url(https://media.museapp.com/website/tmp/check-purple.svg);
  background-repeat: no-repeat;
}

#pricing .tier-1 h4 {
  color: var(--text-secondary);
}

#pricing .tier-3 h4 {
  background: linear-gradient(135deg, rgba(255, 185, 96, 0.8) -80%, #803EDE 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #803EDE;
  /* fallback color */
}

#pricing p.price {
  font-size: var(--font-md);
}

#pricing span.price-number {
  font-weight: 600;
  color: var(--text-bright);
  font-variant-numeric: tabular-nums;
}

/* Dark mode: Swap only the background colors between tier-2 and tier-3 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) #pricing .tier-1 {
    background: rgba(var(--white-rgb), 0.15);
  }

  :root:not([data-theme]) #pricing .tier-2 {
    background: var(--bg-white);
  }

  :root:not([data-theme]) #pricing .tier-3 {
    background: rgba(var(--white-rgb), 0.6);
  }
}

/* Manual light mode: Keep original tier backgrounds */
[data-theme="light"] #pricing .tier-2 {
  background: rgba(var(--white-rgb), 0.6);
}

[data-theme="light"] #pricing .tier-3 {
  background: var(--bg-white);
}

/* Manual dark mode: Swap only the background colors between tier-2 and tier-3 */
[data-theme="dark"] #pricing .tier-1 {
  background: rgba(var(--white-rgb), 0.15);
}

[data-theme="dark"] #pricing .tier-2 {
  background: var(--bg-white);
}

[data-theme="dark"] #pricing .tier-3 {
  background: rgba(var(--white-rgb), 0.6);
}

.newsletter {
  background: var(--home-newsletter-bg);
  padding: 2vw 0 2vw 0;
}

.newsletter .newsletter-container h3 {
  font-weight: 500;
}

.newsletter .newsletter-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 20vw;
}

/* Readjust hero background and text positioning for very large screens */
@media only screen and (min-width: 1400px) {
  #hero {
    min-height: 50vw;
  }

  .hero-wrapper {
    padding-top: 60px;
  }

  #hero .hero-text {
    top: 0px;
  }

}

@media only screen and (max-width: 1060px) {
  #hero {
    min-height: 66vw;
    overflow: hidden;
  }

  #hero .hero-text h1 {
    font-size: var(--font-xl);
  }

  #hero .hero-btn img {
    height: 50px;
  }

  #hero .hero-btns {
    gap: 0;
  }

  #hero .hero-text {
    top: -10px;
  }

  .hero-wrapper {
    min-height: 640px;
    width: 100%;
    overflow: visible;
  }

  #product .product-containers {
    margin-top: 0;
  }

  #product .product-container.feature#collaboration {
    flex-wrap: wrap;
    gap: 20px;
  }

  #product .product-container.feature#collaboration video {
    margin: 0;
    rotate: none;
    max-width: 500px;
  }

  #product .container-columns {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 850px) {
  #hero {
    min-height: 850px;
  }

  #hero .hero-wrapper {
    min-height: 850px;
  }

  #hero .hero-content {
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 1vw 4vw;
    margin: 0 auto;
  }

  #hero .hero-text {
    max-width: 100%;
    text-align: center;
  }

  #hero .hero-text h1 {
    text-align: center;
  }

  #hero .hero-tagline {
    text-align: center;
  }

  #hero .hero-btns {
    justify-content: center;
  }

  #hero .hero-badges {
    justify-content: center;
    margin: 1rem auto 0 auto;
  }

  #hero .hero-video-container {
    flex: 0 0 65%;
    width: 90%;
    justify-content: center;
    padding-top: 70px;
  }

  .platform-toggle {
    gap: 20px;
  }

  .platform-btn {
    font-size: calc(var(--font-sm) * 2);
    padding: 12px 24px;
  }

  #hero .hero-video {
    max-width: 500px;
    transform: rotate(2deg);
    transform-origin: center center;
  }

  #hero .hero-text {
    display: contents;
  }

  #hero .hero-text h1 {
    font-size: 25pt;
    order: 1;
    margin-top: 0;
    margin-bottom: -20px;
  }

  #hero .hero-video-container {
    order: 2;
  }

  #hero .hero-btns {
    order: 3;
  }

  #hero .hero-badges {
    order: 4;
  }

  #hero .hero-tagline {
    display: none;
  }

  #hero .hero-wrapper {
    padding-top: 110px;
    width: 100%;
    overflow: visible;
  }

  #hero .hero-badge {
    height: 80px;
  }

  #product .product-container {
    padding: 5vw 6vw 5vw 6vw;
  }

  #use-cases {
    padding-top: 4vw;
    padding-bottom: 4vw;
  }

  .use-case-carousel {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .uc-container {
    padding: 3.5vw 0vw 3.5vw 0vw;
  }

  .use-case-tabs {
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .uc-tab {
    padding: 12px 24px 12px 24px;
  }

  .reviews-container {
    padding: 40px 0 40px 0;
  }

  .reviews-grid {
    column-count: 2;
    column-gap: 1.2rem;
    padding-top: 24px;
  }

  .reviews-grid p.review-title {
    font-weight: 500;
  }

  .review {
    padding: 2vw 4vw 2vw 4vw;
  }

  #get-muse {
    padding: 1.5vw 1vw 4vw 1vw;
  }

  #get-muse .module.cta {
    flex-direction: column;
    row-gap: 1em;
    justify-content: flex-start;
  }

  #get-muse .cta-text {
    max-width: 100%;
  }

  #get-muse .cta-buttons {
    width: 100%;
    margin-top: 16px;
  }

  .pricing-container {
    flex-direction: column;
    row-gap: 1rem;
  }

  .pricing-col {
    padding: 3vw 4vw 3vw 4vw;
  }

  .newsletter {
    padding: 3vw 0vw 3vw 0vw;
  }

  .newsletter .newsletter-container {
    margin: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .video-container video {
    max-width: 400px;
    margin: -30px -30px -30px 20px;
    rotate: -1deg;
  }
}

/* Fix for overlapping download buttons at around 620px width */
@media only screen and (max-width: 700px) and (min-width: 450px) {
  #hero {
    min-height: 850px;
  }

  #hero .hero-wrapper {
    min-height: 850px;
  }
}

@media only screen and (max-width: 600px) {

  #hero {
    min-height: calc(610px + 40vw);
  }

  #hero .hero-wrapper {
    min-height: calc(610px + 40vw);
    width: 100%;
    overflow: hidden;
  }

  #hero .hero-content {
    overflow: visible;
  }

  #hero .hero-badges {
    gap: 1rem;
    margin: 1rem auto 0.5rem auto;
  }

  #hero .hero-badge {
    height: 80px;
  }

  #hero .hero-video video {
    border-width: 4px;
  }

  #product .product-columns {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
  }

  #product .product-columns#video-section {
    flex-direction: column;
  }

  #product img.bigapp {
    position: relative;
    margin-left: 6vw;
  }

  #product .product-columns#bigapp-mobile {
    display: flex;
    justify-content: flex-start;
    padding-right: 6vw;
    margin-bottom: 30px;
  }

  #product .product-visual {
    display: none;
  }

  #social-proof {
    padding: 0vw 0 10vw 0;
  }

  #use-cases {
    padding: 4vw 0 2vw 0;
  }

  .uc-tab {
    padding: 8px 16px 8px 16px;
  }

  .uc-content img {
    border-radius: 6px;
  }

  .reviews-grid {
    column-count: 1;
    column-gap: 0;
    padding-top: 1rem;
  }

  #get-muse {
    background-size: 600px auto;
    background-position: bottom -1vw right -12vw;
  }

  .video-container video {
    max-width: 300px;
    margin: -10px -20px -20px 10px;
    rotate: 2deg;
  }
}

@media only screen and (max-width: 450px) {
  #hero {
    min-height: calc(550px + 40vw);
  }

  #hero .hero-wrapper {
    min-height: calc(550px + 40vw);
  }

  #hero .hero-text h1 {
    margin-bottom: -60px;
  }
}

/* FROM MUSE 2 WEBSITE, COMMENTING OUT FOR NOW

header .sites .badge {
  background: #FFE176;
  color: black;
}

header .sites a.active {
  border-color: #FFE176;
}

#homepage-whatsnew a {
  font-size: 18px;
  color: var(--text-bright);
  display: inline-block;
  padding: 7px 15px 7px 17px;
  margin-bottom: 15px;
  border-radius: 30px;
  background-color: rgba(255,255,255,1);
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
}

#homepage-whatsnew a:hover {
  color: var(--text-highlight);
}
*/

/* Dark mode arrow color adjustments */
@media (prefers-color-scheme: dark) {

  :root:not([data-theme]) #product .product-feature#feature-nested-boards::after,
  :root:not([data-theme]) #product .product-feature#feature-boards::after,
  :root:not([data-theme]) #product .product-feature#feature-references::after,
  :root:not([data-theme]) #product .product-feature#feature-content::before {
    filter: invert(1) opacity(0.9);
  }
}

[data-theme="dark"] #product .product-feature#feature-nested-boards::after,
[data-theme="dark"] #product .product-feature#feature-boards::after,
[data-theme="dark"] #product .product-feature#feature-references::after,
[data-theme="dark"] #product .product-feature#feature-content::before {
  filter: invert(1) opacity(0.9);
}