/* Brand mark, wordmark and X buttons.
   Loaded after the Webflow stylesheet so these rules win without !important. */

.nav_logo_link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: currentColor;
}

.moto-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;      /* the file is already a circle; this keeps it round
                              if the source image is ever swapped for a square */
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
}

.moto-brand-text {
  font-size: 1.35rem;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  color: currentColor;      /* follows the nav's light/dark state */
  white-space: nowrap;
}

/* --- X buttons ----------------------------------------------------------- */
.moto-x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}
.moto-x-link:hover { opacity: .65; }

.moto-x-icon {
  width: 1em;
  height: 1em;
  display: block;
}

/* Navbar: a circular tap target sized to sit beside the CTA button. */
.moto-x-link.is-nav {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: .5rem;
  border-radius: 50%;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
}
.moto-x-link.is-nav:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-1px);
}

/* Footer: show the glyph only. The word "X" stays in the DOM for screen
   readers, since a bare icon link announces as nothing useful. */
.footer2_link.is-x.moto-x-link {
  font-size: inherit;
}
.footer2_link.is-x .moto-x-icon { width: 1em; height: 1em; }
.footer2_link.is-x > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 991px) {
  .moto-x-link.is-nav { width: 2.25rem; height: 2.25rem; }
  .moto-brand-text { font-size: 1.15rem; }
}

/* ------------------------------------------------------------------------- */
/* Minimal footer (replaces the original multi-column one)                    */
/* ------------------------------------------------------------------------- */
.moto-footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.75rem 5vw;
  background: #000;
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
}
.moto-footer_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.moto-footer_links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.moto-footer_links a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.moto-footer_links a:hover { color: #fff; }

/* ------------------------------------------------------------------------- */
/* Card utility page                                                          */
/* ------------------------------------------------------------------------- */
.moto-utility {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
}
.mu-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
}
.mu-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mu-brand img { border-radius: 50%; display: block; }

.moto-card-app {
  flex: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.mca-head { margin-bottom: 1.75rem; }
.mca-head h1 { font-size: 2rem; margin: 0 0 .35rem; font-weight: 500; }
.mca-sub { color: rgba(255, 255, 255, .55); margin: 0; }
.mca-wallet {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
}
.mca-dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: #4ade80; display: inline-block;
}

.mca-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .02);
}
.mca-panel h2 { margin: 0 0 .6rem; font-size: 1.15rem; font-weight: 500; }
.mca-panel p { color: rgba(255, 255, 255, .6); margin: 0 0 1rem; line-height: 1.5; }

.mca-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin: 1.25rem 0 .6rem;
}
.mca-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.mca-choice {
  flex: 1 1 auto;
  min-width: 7rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .75rem .9rem;
  border-radius: .6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.mca-choice.is-amount { min-width: 4.5rem; flex: 0 0 auto; text-align: center; }
.mca-choice span { font-size: .75rem; color: rgba(255, 255, 255, .5); text-transform: capitalize; }
.mca-choice:hover { border-color: rgba(255, 255, 255, .4); }
.mca-choice.is-on { border-color: #fff; background: rgba(255, 255, 255, .08); }

.mca-select {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: .6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #000;
  color: #fff;
  font: inherit;
}

.mca-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.mca-tabs button {
  flex: 1;
  padding: .6rem;
  border-radius: .6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: rgba(255, 255, 255, .6);
  font: inherit;
  cursor: pointer;
}
.mca-tabs button.is-on { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.mca-tabs button:disabled { opacity: .35; cursor: not-allowed; }

.mca-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.5rem 0 .35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mca-total span { color: rgba(255, 255, 255, .55); }
.mca-total strong { font-size: 1.6rem; font-weight: 500; }

.mca-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: #e9e9e9;
  color: #000;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.mca-btn:hover:not(:disabled) { transform: translateY(-1px); }
.mca-btn:disabled { opacity: .5; cursor: not-allowed; }

.mca-linkbtn {
  display: inline-block;
  margin-top: .9rem;
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, .55);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
}
.mca-linkbtn:hover { color: #fff; }

.mca-fine { font-size: .78rem; color: rgba(255, 255, 255, .45); margin-top: .75rem; }
.mca-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }

.mca-summary { margin: 0 0 .5rem; }
.mca-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mca-summary dt { color: rgba(255, 255, 255, .5); margin: 0; }
.mca-summary dd { margin: 0; text-align: right; }

.mca-alert {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .6rem;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, .04);
}
.mca-alert.is-error {
  border-color: rgba(248, 113, 113, .5);
  background: rgba(248, 113, 113, .08);
  color: #fca5a5;
}

@media screen and (max-width: 600px) {
  .mca-head h1 { font-size: 1.6rem; }
  .mca-panel { padding: 1.1rem; }
}

/* Wallet chooser -------------------------------------------------------- */
.mca-wallets { display: flex; flex-direction: column; gap: .5rem; }
.mca-wallet-option {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .85rem 1rem;
  border-radius: .7rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.mca-wallet-option:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .05);
}
.mca-wallet-option:disabled { opacity: .5; cursor: not-allowed; }
.mca-wallet-option img { border-radius: .4rem; display: block; }
.mca-wallet-blank {
  width: 28px; height: 28px; border-radius: .4rem;
  background: rgba(255, 255, 255, .12); flex: 0 0 auto;
}
.mca-wallet-name { flex: 1; display: flex; flex-direction: column; }
.mca-wallet-name em {
  font-style: normal;
  font-size: .74rem;
  color: rgba(255, 255, 255, .45);
}
.mca-wallet-go { font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------------------- */
/* Legal pages                                                                */
/*                                                                            */
/* The export dumps legal text into a .w-richtext with no typography: lines    */
/* ran the full 1216px and headings rendered at the same size as body copy.    */
/*                                                                            */
/* Two traps here, both learned the hard way:                                  */
/*   - this site sets the root font-size to 10px (the 62.5% trick), so `rem`   */
/*     is NOT 16px. Everything below is in px to stay predictable.             */
/*   - Webflow's container and h1-h6 rules use !important, so these have to    */
/*     as well, and must constrain the CONTAINER - centring each child         */
/*     individually leaves the lists drifting away from the paragraphs.        */
/* ------------------------------------------------------------------------- */
.moto-page-terms-and-conditions .legals_content,
.moto-page-privacy-policy .legals_content {
  max-width: 720px !important;
  margin-inline: auto !important;
  padding-inline: 20px;
}

.moto-page-terms-and-conditions .legals_content h1,
.moto-page-privacy-policy .legals_content h1 {
  font-size: clamp(32px, 5vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em;
  margin-bottom: 40px !important;
}

/* Body copy. 22.4px leading on 16px is too tight for long legal prose. */
.moto-page-terms-and-conditions .w-richtext p,
.moto-page-terms-and-conditions .w-richtext li,
.moto-page-privacy-policy .w-richtext p,
.moto-page-privacy-policy .w-richtext li {
  font-size: 16px !important;
  line-height: 28px !important;
  color: rgba(255, 255, 255, .72) !important;
}
.moto-page-terms-and-conditions .w-richtext p,
.moto-page-privacy-policy .w-richtext p { margin: 0 0 18px !important; }

/* Section headings: nothing anchored the eye before. */
.moto-page-terms-and-conditions .w-richtext h2,
.moto-page-privacy-policy .w-richtext h2 {
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin: 48px 0 16px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
}
.moto-page-terms-and-conditions .w-richtext h2:first-child,
.moto-page-privacy-policy .w-richtext h2:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.moto-page-terms-and-conditions .w-richtext h3,
.moto-page-privacy-policy .w-richtext h3 {
  font-size: 17px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, .95) !important;
  margin: 30px 0 10px !important;
}

.moto-page-terms-and-conditions .w-richtext ul,
.moto-page-terms-and-conditions .w-richtext ol,
.moto-page-privacy-policy .w-richtext ul,
.moto-page-privacy-policy .w-richtext ol {
  padding-left: 22px !important;
  margin: 0 0 22px !important;
}
.moto-page-terms-and-conditions .w-richtext li,
.moto-page-privacy-policy .w-richtext li { margin-bottom: 8px !important; }
.moto-page-terms-and-conditions .w-richtext li::marker,
.moto-page-privacy-policy .w-richtext li::marker { color: rgba(255, 255, 255, .35); }

.moto-page-terms-and-conditions .w-richtext a,
.moto-page-privacy-policy .w-richtext a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .35);
}
.moto-page-terms-and-conditions .w-richtext a:hover,
.moto-page-privacy-policy .w-richtext a:hover { text-decoration-color: #fff; }

.moto-page-terms-and-conditions .w-richtext strong,
.moto-page-privacy-policy .w-richtext strong { color: #fff !important; font-weight: 500 !important; }

@media screen and (max-width: 600px) {
  .moto-page-terms-and-conditions .w-richtext h2,
  .moto-page-privacy-policy .w-richtext h2 {
    margin-top: 34px !important;
    font-size: 19px !important;
    line-height: 26px !important;
  }
}

/* Nav right-hand group: Account, X, then the CTA button ------------------- */
.moto-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  /* The nav is a space-between flex row, and the centre menu is now empty, so
     without this the group floats in the middle with a large gap before the
     call to action. Pushing it right makes Account, X and the button sit
     together as one cluster. */
  margin-left: auto;
  margin-right: 1.1rem;
}
.moto-nav-account {
  color: currentColor;
  text-decoration: none;
  font-size: .95rem;
  white-space: nowrap;
  opacity: .75;
  transition: opacity .2s ease;
}
.moto-nav-account:hover { opacity: 1; }

@media screen and (max-width: 767px) {
  /* The burger menu owns the small-screen layout; keep the group compact. */
  .moto-nav-actions { gap: .5rem; margin-right: .5rem; }
  .moto-nav-account { font-size: .85rem; }
}

/* Dashboard card list ----------------------------------------------------- */
.mca-cardlist { display: flex; flex-direction: column; gap: .75rem; }
.mca-cardrow {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .02);
}
.mca-cardrow_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mca-cardrow_top strong { font-weight: 500; }
.mca-status {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .65);
}
.mca-status.is-active { color: #86efac; border-color: rgba(134, 239, 172, .4); }
.mca-status.is-frozen { color: #93c5fd; border-color: rgba(147, 197, 253, .4); }
.mca-status.is-closed { color: rgba(255, 255, 255, .4); }

.mca-cardrow_balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1rem 0 .25rem;
}
.mca-cardrow_balance span { color: rgba(255, 255, 255, .5); font-size: .85rem; }
.mca-cardrow_balance strong { font-size: 1.5rem; font-weight: 500; }

.mca-cardrow_actions { display: flex; gap: 1.25rem; align-items: center; }

.mca-reveal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mca-reveal > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
}
.mca-reveal span { color: rgba(255, 255, 255, .5); font-size: .85rem; }
.mca-reveal strong { font-weight: 500; letter-spacing: .05em; }
