:root {
  --primaryColor: #475d67;
  --secondaryColor: #ffffff;
  --secondaryAltColor: #c7ccd3;
  --cardBackground: #f2f3f5;
  --onPrimary: white;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  background-color: var(--secondaryColor);
  color: black;
  font-size: 14px;
}

/* taxerFly landing */

.tf-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.tf-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tf-container img.tf-logo {
  width: 120px;
  flex-shrink: 0;
}

/* All screenshots share one width — change --screenshot-width here */
.tf-container {
  --screenshot-width: 300px;
}

.tf-screenshot {
  width: var(--screenshot-width);
  max-width: 100%;
}

.tf-text {
  font-size: 16px;
  line-height: 1.6;
  background: var(--text-card-bg);
  color: var(--text-card-color);
  border-radius: 16px;
  padding: 18px 24px;
  max-width: 50%;
}

.tf-text p {
  margin: 2px 0;
}

.tf-text a {
  color: var(--primaryColor);
  font-weight: 600;
}

.tf-text a.tf-highlight {
  color: inherit;
  font-weight: 700;
  /* background: linear-gradient(
    180deg,
    transparent 55%,
    #e2ed63 55%,
    #e2ed63 95%,
    transparent 95%
  ); */
  background: #e2ed63;

  padding: 0 4px;
  border-radius: 2px;
  text-decoration: underline;
}

.tf-store-badges {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.tf-store-badge {
  flex: 0 0 50%;
  display: block;
  align-items: center;
  justify-content: center;
}

.tf-store-badge img {
  width: 130px;
  height: 70px;
}

.tf-appstore-badge {
  cursor: not-allowed;
  user-select: none;
  opacity: 0.2;
}

.tf-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  align-self: stretch;
  text-align: left;
}

/* Zig-zag: reversed rows put the screenshot on the right */
.tf-row--reverse {
  flex-direction: row-reverse;
}

.tf-row .tf-screenshot {
  flex: 0 0 var(--screenshot-width);
}

.tf-row .tf-text {
  flex: 1;
}

/* Wide screens: each row overlaps the previous one by 150px (vertically) */
@media (min-width: 701px) {
  .tf-row + .tf-row {
    /* container gap is 32px, so subtract it to land on exactly 150px overlap */
    margin-top: calc(-150px - 32px);
    /* Later rows in the DOM paint on top of earlier ones */
    position: relative;
  }
}

/* Stack image over text on narrow screens */
@media (max-width: 700px) {
  .tf-row,
  .tf-row--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .tf-row .tf-text {
    width: 100%;
    text-align: center;
  }
}

/* Footer */

.footer {
  background-color: var(--primaryColor);
}

.footer .contact {
  color: var(--onPrimary);
  text-align: center;
  padding: 20px;
}

.footer a {
  color: var(--onPrimary);
  font-weight: 700;
  text-decoration: none;
}

.footer .law {
  text-align: center;
  font-weight: 400;
  font-size: 12px;
  padding: 20px;
}

.footer .law a {
  font-weight: 400;
}

.footer .row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 40px;
}

.row-left {
  flex: 1;
  text-align: left;
  font-size: 12px;
}

.row-right {
  flex: 1;
  text-align: right;
}

/* Our products bar */
.bb-products {
  width: 100%;
  height: 75px;
  background-color: #ffe045;
  /* wide screen: center the row; narrow screen: scroll horizontally */
  overflow-x: auto;
  overflow-y: hidden;
  /* no rubber-band bounce at the edges */
  overscroll-behavior-x: none;
  /* hide the scrollbar itself, keep scrolling functional */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bb-products::-webkit-scrollbar {
  display: none;
}

.bb-products-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 75px;
  /* keep items on one line and let the row grow past the viewport */
  flex-wrap: nowrap;
  min-width: max-content;
  /* center when there is room, start-aligned when scrolling */
  margin: 0 auto;
  padding: 0 75px;
}

.bb-products-title {
  font-weight: 400;
  font-size: 14px;
  color: var(--bb-footer-text);
}

.bb-products a {
  display: flex;
  align-items: center;
}

.bb-products img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
}
