:root {
  --black: #1a1a1a;
  --primary: #1e3a8a;
  --primary-subtle: #e4f5ff;
  --accent: #c6ff00;
  --section-spacing: 50px;
  --font-family-sans-serif: 'Figtree', sans-serif;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans-serif);
}

h1,
.h3 {
  font-weight: 700;
}

.mb--4 {
  margin-bottom: -1.5rem;
}

.mw-300px {
  max-width: 300px;
}

.mw-500px {
  max-width: 500px;
}

.mw-900px {
  max-width: 900px;
}

.bg-blue-gradient {
  background: linear-gradient(to bottom, #1e3a8a, #4b61a1);
}

.bg-blue-light-gradient {
  background: linear-gradient(to bottom, #1e3a8a, #b6e5ff);
}

.bg-blue-light {
  background: var(--primary-subtle) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-black {
  background-color: var(--black);
}

.link {
  color: var(--black) !important;
  text-decoration: underline;
}

.text-white a:not(.btn) {
  color: var(--white) !important;
}

.rounded {
  border-radius: 1rem !important;
}

.badge-accent {
  color: var(--black);
  background-color: var(--accent);
}

.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-underline {
  text-decoration: underline;
}

.cursor-pointer {
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-accent {
  color: var(--black);
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-white {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  color: var(--white);
}

.btn-group-lg > .btn,
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6.25rem;
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white);
}

.nav-separator {
  width: 1px;
  height: 18px;
  background-color: var(--black);
  margin: 0 1rem;
}

.navbar-collapse .dropdown-menu {
  background-color: #4b61a2;
  min-width: 13rem;
  border: none;
}

.navbar-collapse .dropdown-item {
  color: var(--white);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-collapse .dropdown-item:focus,
.navbar-collapse .dropdown-item:hover {
  background-color: #5d72b1;
}

@media (max-width: 991.98px) {
  .navbar {
    background-color: var(--primary) !important;
  }

  .navbar-nav {
    align-items: start !important;
    background-color: transparent !important;
  }

  .navbar-dark:not(.bg-primary) .navbar-nav .nav-link {
    color: var(--white) !important;
  }

  .navbar-collapse {
    background: var(--primary);
    height: 100vh !important;
    margin-right: -1rem;
    margin-left: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .collapsing {
    transition: none !important;
    height: auto !important;
  }
}

.gap-20px {
  gap: 20px;
}

.gap-50px {
  gap: 50px;
}

.mb-20px {
  margin-bottom: 30px;
}

.mb-30px {
  margin-bottom: 30px;
}

.mb--30px {
  margin-bottom: -30px;
}

.mb-50px {
  margin-bottom: 50px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 991.98px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.section-primary-subtle {
  background-color: var(--primary-subtle);
}

.skip-to-main a {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-to-main a:focus {
  position: static;
  width: auto;
  height: auto;
}

.navbar {
  transition: background-color 0.3s ease;
}

.navbar.bg-primary .navbar-nav {
  background-color: initial;
}

.navbar.bg-primary .nav-separator {
  background-color: var(--white);
}

.navbar-nav {
  background: #fff;
  border-radius: 100px;
  padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
  .navbar-nav {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .navbar-nav .nav-item {
    margin-left: 0.4rem !important;
    margin-right: 0.4rem !important;
  }

  .navbar .my-account {
    display: block;
    padding: 0.5rem 0;
  }
}

.navbar-dark:not(.bg-primary) .navbar-nav .nav-link {
  color: var(--black);
}

.navbar-dark:not(.bg-primary) .navbar-nav .nav-chevron {
  filter: invert(1);
}

.navbar .my-account {
  color: var(--black);
}

.navbar.bg-primary .my-account {
  color: var(--white) !important;
}

/* ---[ SPLASH ]--- */

.splash-wrapper {
  position: relative;
  padding-top: 56px;
  overflow: hidden;
  background-color: var(--white);
}

.section-splash {
  min-height: calc(100vh - 56px);
}

.section-splash .container {
  max-width: 1140px;
}

.splash-slogan-secondary {
  font-size: 1.15rem;
  max-width: 34rem;
}

.splash-slogan {
  font-size: 3.5rem;
  line-height: 3.8rem;
  max-width: 38rem;
}

.bags-image {
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  transform: rotate(4.66deg);
  margin-top: -2.5%;
  margin-bottom: -2.5%;
}

.bags-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-subtle);
  z-index: -1;
}

.bags-image img {
  width: 100%;
  min-height: calc(100vh - 56px);
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .splash-wrapper {
    min-height: 100svh;
    background-color: var(--primary);
  }

  .section-splash {
    min-height: auto;
    flex: 1 0 auto;
  }

  .splash-wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }

  .bags-image-wrapper {
    overflow: hidden;
    flex: 0 0 auto;
    padding-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px));
    margin-bottom: -34px;
    position: relative;
    z-index: 2;
  }

  .bags-image {
    position: initial !important;
    width: 112%;
    margin-top: -1.5%;
    margin-bottom: -4%;
    margin-left: -6%;
    transform: rotate(4.66deg);
    overflow: hidden;
  }

  .bags-image img {
    width: 100%;
    height: clamp(365px, 48svh, 430px);
    min-height: 0;
    object-fit: cover;
    object-position: center top;
  }

  .bags-image:before {
    display: none;
  }
}

@media (max-width: 767.9px) {
  .section-splash {
    display: flex;
    flex-direction: column;
    padding-top: 3rem;
    padding-bottom: 2rem;
    overflow: hidden;
  }

  .section-splash .container,
  .section-splash .row,
  .section-splash .col-12 {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .section-splash .main-cta {
    gap: 12px;
    margin-top: 2rem;
    margin-bottom: 0 !important;
  }

  .section-splash .fade-on-screen {
    transform: none;
  }

  .section-splash .btn-lg {
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    white-space: nowrap;
    justify-content: center;
  }

  .section-splash .cta-services {
    flex: 1.25;
  }

  .section-splash .btn-outline-white {
    flex: 0.85;
  }

  .splash-slogan {
    font-size: 2.5rem;
    line-height: 2.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem !important;
  }

  .splash-slogan-secondary {
    font-size: 1.35rem;
    line-height: 1.45;
    max-width: 25rem;
    margin-bottom: 0 !important;
  }
}

/* ---[ AS SEEN ON ]--- */

.as-seen-on-hero {
  max-width: 620px;
}

.as-seen-on-label {
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.4;
}

.as-seen-on-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3rem);
}

.as-seen-on-list img {
  display: block;
  width: auto;
  max-height: 40px;
}

@media (max-width: 767.9px) {
  .as-seen-on-hero {
    margin-top: 2.75rem;
    padding-top: 0;
  }

  .as-seen-on-label,
  .as-seen-on-list {
    justify-content: center;
  }

  .as-seen-on-label {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    text-align: center;
  }

  .as-seen-on-list {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .as-seen-on-list img {
    max-height: 30px;
  }
}

/* ---[ HOW IT WORKS ]--- */

.how-it-works-title {
  font-size: 1.35rem;
}

.how-it-works-copy {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: balance;
}

.custom-rotation-preview {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 991.98px) {
  .how-it-works-title {
    font-size: 1.15rem;
  }
}

/* ---[ ROTATIONS ]--- */

.rotations-section .container {
  max-width: 1220px;
}

.rotations-section {
  padding-bottom: 55px;
}

.rotation-option-card {
  background: linear-gradient(to bottom, var(--primary), #b6e5ff);
  padding: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  color: inherit;
  text-decoration: none;
}

.rotation-option-card:hover {
  color: inherit;
  text-decoration: none;
}

.rotation-image {
  height: auto;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
}

.rotation-card {
  display: flex !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
  z-index: 2;
  pointer-events: none;
}

.rotation-button {
  padding: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rotation-title {
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: var(--dark);
}

.rotations-cta {
  min-width: 170px;
}

/* ---[ PREBUILT ]--- */

.build-rotation-section {
  padding-top: 45px;
}

.build-rotation-heading {
  margin-bottom: 28px;
}

.build-rotation-subcopy {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.build-rotation-section .prebuilt-card.fade-on-screen {
  transform: none;
}

.roasters-section {
  padding-top: 35px;
  scroll-margin-top: 90px;
}

.roasters-anchor {
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
  scroll-margin-top: 120px;
}

.roasters-section img {
  position: relative;
  z-index: 0;
  display: block;
  margin-top: -85px;
}

.prebuilt-card-image {
  width: 37%;
}

.prebuilt-card-content {
  width: 63%;
}

.prebuilt-name {
  font-size: 2rem;
  font-weight: 900;
}

.pricing-heading {
  font-size: 2rem;
  font-weight: 500;
}

.pricing-price {
  font-size: 4.2rem;
}

.pricing-period {
  font-size: 2.25rem;
}

.pricing-value-prop {
  font-size: 1.15rem;
}

.pricing-value-copy {
  font-size: 1.05rem;
  line-height: 1.45;
  white-space: normal;
}

.pricing-value-card {
  min-width: 0;
  min-height: 140px;
  justify-content: center !important;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.pricing-benefit-column {
  min-width: 0;
}

@media (max-width: 991.98px) {
  .build-rotation-section {
    padding-top: 40px;
  }

  .prebuilt-card {
    max-width: 500px;
  }
}

@media (max-width: 767.9px) {
  .build-rotation-section h1 {
    font-size: 2.75rem;
    line-height: 3.1rem;
  }

  .build-rotation-subcopy {
    max-width: 21rem;
    font-size: 1.05rem;
  }

  .pricing-value-card {
    min-height: 120px;
  }

  .rotations-section h1 {
    font-size: 2.75rem;
    line-height: 3.1rem;
  }

  .rotations-section .text-center.mb-50px {
    margin-bottom: 35px;
  }

  .rotations-section .pre-built-rotations > div {
    margin-bottom: 18px;
  }

  .rotation-option-card {
    max-width: 265px;
  }

  .prebuilt-avatar {
    width: 60px;
    height: 60px;
  }

  .pricing-heading {
    font-size: 1.5rem;
  }

  .pricing-price {
    font-size: 3.5rem;
  }

  .pricing-period {
    font-size: 1.5rem;
  }

  .prebuilt-name {
    font-size: 1.5rem;
  }

  .roasters-section img {
    margin-top: 25px;
  }

  .prebuilt-card-image {
    width: 100%;
  }

  .prebuilt-card-content {
    width: 100%;
  }
}

@media (max-width: 359.9px) {
  .pricing-price {
    font-size: 3.5rem;
    line-height: 80%;
    margin-top: 20px;
  }
}

/* ---[ CUSTOMER REVIEWS ]--- */

.emoji {
  font-style: normal !important;
}

.stat-wrapper::before {
  content: '';
  display: block;
  width: 9px;
  border-radius: 0.625rem;
  background-color: var(--accent);
  margin-right: 30px;
}

.stat-name {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.reviews .carousel-button {
  width: 40px;
}

.reviews .carousel {
  flex: 1;
}

.reviews .carousel-control-next,
.reviews .carousel-control-prev {
  position: initial;
  width: auto;
  opacity: 1;
}

.reviews .review {
  z-index: 1000;
  margin-bottom: -70px;
  position: relative;
}

.reviews .review-text {
  height: 90px;
}

@media (max-width: 767.9px) {
  .reviews .review-text.small {
    font-size: 0.75rem;
  }

  .reviews .review-text {
    height: 160px;
  }
}

@media (max-width: 389.9px) {
  .reviews .review-text {
    height: 180px;
  }
}

@media (max-width: 359.9px) {
  .reviews .review {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }

  .reviews .review-text {
    font-size: 0.9rem;
  }
}

/* ---[ FAQ ]--- */

.faq .faq-question {
  cursor: pointer;
  gap: 1rem;
  align-items: flex-start !important;
}

.faq .faq-question-text {
  font-size: 1.25rem;
  max-width: 900px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq .icon-plus {
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.faq .faq-answer {
  overflow-wrap: anywhere;
}

@media (max-width: 767.9px) {
  .faq .faq-question-text {
    font-size: 1rem;
  }
}

/* ---[ Footer ]--- */

footer .footer-heading {
  font-size: 1.25rem;
  font-weight: 500;
}

footer .footer-links a,
footer .contact-line {
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 767.9px) {
  footer .mb-50px {
    margin-bottom: 20px;
  }

  footer .mb-4 {
    margin-bottom: 2rem !important;
  }
}

.fade-on-screen {
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(100px);
}

.fade-on-screen.fade-on-screen-right {
  transform: translateX(100px);
}

.fade-on-screen.on-screen {
  opacity: 1;
  transform: translateY(0);
}

.fade-on-screen.fade-on-screen-right.on-screen {
  transform: translateX(0);
}

.fade-on-screen.fade-delay-1 {
  transition-delay: 0.1s !important;
}

.fade-on-screen.fade-delay-2 {
  transition-delay: 0.2s !important;
}

.fade-on-screen.fade-delay-3 {
  transition-delay: 0.3s !important;
}
