: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;
}

/* Language switcher */

.cf-lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cf-lang-btn {
  border: none;
  background: transparent;
  color: var(--primaryColor);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.cf-lang-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cf-lang-btn.active {
  background: var(--primaryColor);
  color: var(--onPrimary);
}

/* cardFly landing */

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

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

.cf-container img.cf-logo {
  width: 300px;
  flex-shrink: 0;
}

.cf-text {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.cf-android-cta {
  font-size: 16px;
}

.cf-text a.cf-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;
}

.cf-noitalic {
  font-style: normal;
  display: inline-block;
  font-size: 18px;
}

.cf-tagline {
  font-size: 24px;
  font-weight: 500;
  margin-top: 16px !important;
}

.cf-translated-label {
  margin-top: 24px !important;
  font-size: 13px;
}

.cf-flags {
  margin-top: 4px !important;
  font-size: 24px;
  letter-spacing: 4px;
  line-height: 1.4;
}

.cf-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;
}

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

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

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

.cf-row {
  --row-text-offset: 40px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  text-align: left;
}

.cf-row img {
  flex: 0 1 50%;
  height: auto;
  min-width: 0;
  align-self: flex-end;
}

.cf-row .cf-text {
  flex: 1;
  font-size: 14px;
  font-style: italic;
}

/* 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;
}
