html.bn-branding-pending body {
  opacity: 0;
}

body {
  transition: opacity 180ms ease-out;
}

[data-testid="sticky-header-shell"]:not([data-bn-static-shell="true"]) {
  display: none !important;
}

.bn-brand-host {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  color: inherit;
  white-space: nowrap;
}

.bn-brand-host > * {
  display: none !important;
}

.bn-brand-host::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1.3rem;
  flex: 0 0 auto;
  background: url("/brand/mark.png") center / contain no-repeat;
}

.bn-brand-host::after {
  content: "Rally";
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.bn-brand-host--header::before {
  display: none;
}

.bn-brand-host--header::after {
  display: none;
}

.bn-brand-host > .bn-brand-swap {
  position: relative;
  display: inline-block !important;
  width: 2.75rem;
  height: 1.8rem;
  flex: 0 0 auto;
}

.bn-brand-swap-disc {
  --bn-disc-size: 1.8rem;
  --bn-disc-shift: calc(var(--bn-disc-size) * 0.5323);
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  width: var(--bn-disc-size);
  height: var(--bn-disc-size);
  overflow: visible;
  will-change: transform;
}

.bn-brand-swap-disc img {
  position: static;
  display: block !important;
  width: 100%;
  max-width: 100%;
  height: var(--bn-disc-size);
}

.bn-brand-host--header .bn-brand-swap-disc img {
  opacity: 0.76;
}

.bn-brand-swap-disc--gold {
  z-index: 2;
  animation: bn-swap-gold 5.6s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}

.bn-brand-swap-disc--silver {
  z-index: 1;
  transform: translateX(var(--bn-disc-shift));
  animation: bn-swap-silver 5.6s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}

@keyframes bn-swap-gold {
  0%,
  30% {
    z-index: 2;
    transform: translateX(0);
  }
  49.9% {
    z-index: 2;
    transform: translateX(var(--bn-disc-shift));
  }
  50%,
  75% {
    z-index: 1;
    transform: translateX(var(--bn-disc-shift));
  }
  100% {
    z-index: 2;
    transform: translateX(0);
  }
}

@keyframes bn-swap-silver {
  0%,
  30% {
    z-index: 1;
    transform: translateX(var(--bn-disc-shift));
  }
  49.9% {
    z-index: 1;
    transform: translateX(0);
  }
  50%,
  75% {
    z-index: 2;
    transform: translateX(0);
  }
  100% {
    z-index: 1;
    transform: translateX(var(--bn-disc-shift));
  }
}

.bn-brand-host--footer::before {
  width: 3rem;
  height: 2rem;
}

.bn-brand-host--footer::after {
  font-size: 1.35rem;
}

.bn-header-menu-hidden,
.bn-mobile-menu-hidden {
  display: none !important;
  pointer-events: none !important;
}

[data-testid="marketing-header-shell"][data-theme="light"] .bn-static-nav-link {
  color: #0b0b0b !important;
}

[data-testid="marketing-header-shell"][data-theme="dark"] .bn-static-nav-link {
  color: #fff !important;
}

[data-bn-static-header="true"][data-theme="light"] {
  color: #0b0b0b !important;
}

[data-bn-static-header="true"][data-theme="light"] .bn-header-cta {
  background: #0b0b0b !important;
  color: #fff !important;
}

[data-bn-static-header="true"][data-theme="dark"] .bn-header-cta {
  background: #fcfcfc !important;
  color: #0b0b0b !important;
}

[data-bn-static-header="true"][data-surface="glass"] {
  -webkit-backdrop-filter: blur(50px) !important;
  backdrop-filter: blur(50px) !important;
}

[data-bn-static-header="true"][data-surface="glass"][data-theme="light"] {
  background-color: rgb(255 255 255 / 0.7) !important;
}

[data-bn-static-header="true"][data-surface="glass"][data-theme="dark"] {
  background-color: rgb(0 0 0 / 0.1) !important;
}

#vault,
#journal,
#markets,
#how-it-works,
#download {
  scroll-margin-top: 4.25rem;
}

.bn-one-title {
  max-width: 50rem !important;
  text-wrap: balance;
}

.bn-title-line {
  display: block;
}

.bn-localized-two-line-title {
  min-width: 0;
  width: 100%;
  text-wrap: balance;
}

.bn-localized-two-line-title .bn-title-line {
  white-space: nowrap;
}

html[data-locale="en"] #vault .bn-one-title {
  font-size: clamp(1.35rem, 6.4vw, 2.25rem) !important;
  line-height: 1.08 !important;
}

html[data-locale="ja"] #vault .bn-one-title {
  font-size: clamp(1.35rem, 6.4vw, 2rem) !important;
  line-height: 1.12 !important;
}

html[data-locale="en"] #markets > div > h2,
html[data-locale="ja"] #markets > div > h2 {
  font-size: clamp(1rem, 5.1vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

.bn-feature-grid {
  text-align: left !important;
}

.bn-feature-card {
  min-height: 7.75rem !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.bn-feature-card-title {
  max-width: 15rem;
  color: #242424;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.bn-feature-card-copy {
  max-width: 15rem;
  margin-top: 0.625rem;
  color: #666;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty;
}

.bn-journal-subtitle {
  width: min(100%, 34rem);
  max-width: 34rem;
  margin: 1rem auto 0;
  text-align: center;
}

.bn-journal-subtitle > span {
  display: block;
}

.bn-value-switcher {
  width: 15rem !important;
}

.bn-value-switcher > span:first-child {
  width: 7rem !important;
}

.bn-value-switcher-button {
  padding-inline: 0.75rem !important;
  white-space: nowrap !important;
}

.bn-journal-copy {
  visibility: hidden !important;
  pointer-events: none !important;
}

.bn-journal-stable-copy {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  z-index: 20 !important;
  display: flex !important;
  width: min(100%, 48rem) !important;
  padding-top: 2rem !important;
  transform: translateX(-50%) !important;
  align-items: center !important;
  text-align: center !important;
}

.bn-journal-stable-copy h2 {
  margin-inline: auto !important;
  text-align: center !important;
}

.bn-journal-stable-copy > a {
  display: none !important;
}

.bn-journal-stable-copy,
.bn-journal-stable-copy * {
  opacity: 1 !important;
  transition: none !important;
  animation: none !important;
  visibility: visible !important;
}

.bn-journal-stable-copy > * {
  transform: none !important;
}

.bn-journal-media-hidden {
  display: none !important;
}

.bn-journal-control-stage {
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  translate: none !important;
  transform: none !important;
}

.bn-journal-switch {
  top: calc(61% + 10rem) !important;
  bottom: auto !important;
}

.bn-value-switcher > button {
  white-space: nowrap !important;
}

.bn-value-switcher > button[aria-pressed="true"] {
  color: #0f0f0f !important;
}

.bn-value-switcher > button[aria-pressed="false"] {
  color: rgba(255, 255, 255, 0.86) !important;
}

#journal[data-bn-journal-mode="gold"]
  .bn-value-switcher
  > span[aria-hidden="true"] {
  transform: translateX(calc(100% + 0.5rem));
}

.bn-ledger {
  position: absolute;
  top: 61%;
  bottom: auto;
  left: 50%;
  z-index: 10;
  width: min(21.5rem, calc(100vw - 2.5rem));
  text-align: left;
  transform: translate(-50%, -50%);
}

.bn-ledger-card {
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 20px;
  background: #fcfcfc;
  box-shadow: 0 24px 48px rgba(15, 15, 15, 0.1), 0 2px 8px rgba(15, 15, 15, 0.05);
}

.bn-ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.bn-ledger-month {
  color: #0f0f0f;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bn-ledger-rate {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: #f0f0f0;
}

.bn-ledger-rate-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
}

.bn-ledger-rate-value {
  color: #535353;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.bn-ledger-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.4375rem 0;
}

.bn-ledger-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  background: #f1f1f1;
}

.bn-ledger-row-icon img {
  width: 1.125rem;
  height: 1.125rem;
  filter: brightness(0);
  opacity: 0.62;
}

.bn-ledger-row-label {
  display: flex;
  flex-direction: column;
  color: #0f0f0f;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.bn-ledger-row-sub {
  color: #757575;
  font-size: 0.71875rem;
  font-weight: 400;
}

.bn-ledger-row-value {
  display: grid;
  justify-items: end;
  color: #0f0f0f;
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.3;
  perspective: 20rem;
}

.bn-ledger-row--net .bn-ledger-row-value {
  font-weight: 600;
}

.bn-ledger-divider {
  height: 1px;
  margin: 0.375rem 0;
  background: #e7e7e7;
}

.bn-ledger-value {
  grid-area: 1 / 1;
  justify-self: end;
  white-space: nowrap;
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
  will-change: opacity, transform, filter;
}

.bn-ledger-value--gold {
  color: #9b6f1e;
}

.bn-ledger[data-state="cash"]
  .bn-ledger-row[data-row="income"]
  .bn-ledger-value--gold,
.bn-ledger[data-state="cash"]
  .bn-ledger-row[data-row="net"]
  .bn-ledger-value--gold {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(0.75rem) rotateX(-24deg);
}

.bn-ledger[data-state="cash"]
  .bn-ledger-row[data-row="spending"]
  .bn-ledger-value--gold,
.bn-ledger[data-state="cash"]
  .bn-ledger-row[data-row="coffee"]
  .bn-ledger-value--gold {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-0.75rem) rotateX(24deg);
}

.bn-ledger[data-state="gold"]
  .bn-ledger-row[data-row="income"]
  .bn-ledger-value--cash,
.bn-ledger[data-state="gold"]
  .bn-ledger-row[data-row="net"]
  .bn-ledger-value--cash {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-0.75rem) rotateX(24deg);
}

.bn-ledger[data-state="gold"]
  .bn-ledger-row[data-row="spending"]
  .bn-ledger-value--cash,
.bn-ledger[data-state="gold"]
  .bn-ledger-row[data-row="coffee"]
  .bn-ledger-value--cash {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(0.75rem) rotateX(-24deg);
}

.bn-ledger-row[data-row="income"] .bn-ledger-value {
  transition-delay: 0ms;
}

.bn-ledger-row[data-row="spending"] .bn-ledger-value {
  transition-delay: 45ms;
}

.bn-ledger-row[data-row="net"] .bn-ledger-value {
  transition-delay: 90ms;
}

.bn-ledger-row[data-row="coffee"] .bn-ledger-value {
  transition-delay: 135ms;
}

.bn-ledger-value--gold,
.bn-ledger-rate-value {
  display: grid;
}

.bn-ledger-gold-base,
.bn-ledger-gold-tick {
  grid-area: 1 / 1;
  justify-self: end;
  white-space: nowrap;
  transition: opacity 450ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bn-ledger[data-tick="off"] .bn-ledger-gold-tick {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(0.3125rem);
}

.bn-ledger[data-tick="on"] .bn-ledger-gold-base {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-0.3125rem);
}

.bn-ledger-tick-mark {
  margin-left: 0.25rem;
  color: #178a4c;
  font-size: 0.75em;
  font-weight: 600;
}

.bn-closing-title {
  text-wrap: balance;
}


body.bn-download-modal-open {
  overflow: hidden;
}

.bn-download-modal[hidden] {
  display: none !important;
}

.bn-download-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgb(15 15 15 / 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bn-download-dialog {
  position: relative;
  display: flex;
  width: min(100%, 31rem);
  max-height: calc(100dvh - 3rem);
  flex-direction: column;
  align-items: center;
  overflow: auto;
  padding: 2rem 2.25rem 2.25rem;
  border: 1px solid rgb(15 15 15 / 0.08);
  border-radius: 1.75rem;
  color: #0f0f0f;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.22);
  text-align: center;
}

.bn-download-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #404040;
  background: #f3f3f3;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.bn-download-close:hover {
  color: #0f0f0f;
  background: #e7e7e7;
}

.bn-download-close:focus-visible,
.bn-download-qr:focus-visible,
.bn-download-stores a:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 3px;
}

.bn-download-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.125rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bn-download-brand img {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.bn-download-dialog h2 {
  max-width: 24rem;
  margin-top: 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.bn-download-dialog p {
  max-width: 23rem;
  margin-top: 0.875rem;
  color: #686868;
  font-size: 1rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.bn-download-qr {
  display: block;
  width: min(52vw, 13.5rem);
  margin-top: 1.5rem;
  padding: 0.625rem;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  background: #fff;
}

.bn-download-qr img {
  width: 100%;
  height: auto;
}

.bn-download-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.bn-download-stores a,
.bn-download-stores img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.bn-app-phone-crop {
  position: relative;
  overflow: visible !important;
  aspect-ratio: 1350 / 2760 !important;
  height: auto !important;
  background: transparent;
}

.bn-app-phone-source {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
  object-position: initial !important;
}

.bn-vault-phone-visual {
  width: min(64vw, 15.5rem) !important;
  max-width: 15.5rem !important;
  margin-top: 2rem !important;
}

.bn-market-phone-visual {
  position: absolute !important;
  width: 12.5rem !important;
}

.bn-jewelry-tile {
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.bn-jewelry-tile > :not(.bn-jewelry-tile-label):not(.bn-ledger-tile-art) {
  display: none !important;
}

.bn-ledger-tile-art {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: block !important;
  width: 42%;
  max-width: none;
  height: 42%;
  opacity: 0.28;
  object-fit: contain;
  object-position: top right;
  transform: none;
  transform-origin: center;
}

.bn-life-ledger-tile .bn-ledger-tile-art {
  width: 40%;
  height: 40%;
  opacity: 0.24;
}

.bn-jewelry-tile-label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 2.25rem;
  padding: 0;
  color: inherit;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: left;
  text-wrap: balance;
}

.bn-jewelry-tile--0 {
  color: #201709;
  background: #e3b653;
}

.bn-jewelry-tile--1 {
  background: #2a8d7d;
}

.bn-jewelry-tile--2 {
  background: #e76548;
}

.bn-jewelry-tile--3 {
  background: #8a78d5;
}

.bn-jewelry-tile--4 {
  background: #5d87c7;
}

.bn-jewelry-tile--5 {
  background: #d96d91;
}

.bn-jewelry-tile--6 {
  color: #18200b;
  background: #cbe44b;
}

.bn-jewelry-tile--7 {
  background: #596779;
}

.bn-hero-bullet--3 img,
.bn-hero-bullet--3 span[aria-hidden="true"],
.bn-hero-bullet--3 .sr-only {
  display: none !important;
}

.bn-hero-bullet--3::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background: url("/images/rally/tile-icons/users.svg") center / contain no-repeat;
  filter: brightness(0);
}

@media (min-width: 1024px) {
  .bn-hero-bullet--3::before {
    filter: none;
  }
}

.bn-hide-template-footnotes sup,
#top sup,
.bn-footer-disclaimer a,
.bn-footer-disclaimer > p:nth-child(n + 2) {
  display: none !important;
}

footer .bn-footer-link-list > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.875rem !important;
}

footer nav[aria-label="Footer"] {
  display: none !important;
}

footer [data-slot="footer-divider"] {
  display: none !important;
}

footer [data-slot="footer-legal-links"] {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 !important;
}

footer [data-slot="footer-legal-links"] li {
  display: inline-flex;
  align-items: center;
}

footer [data-slot="footer-legal-links"] li + li::before {
  content: "｜";
  margin: 0 0.5rem;
  color: rgb(255 255 255 / 0.2);
  font-size: 0.75rem;
}

.bn-footer-store-badges {
  width: 100%;
}

.bn-footer-right-stack {
  gap: 0 !important;
}

.bn-footer-right-stack > .bn-footer-disclaimer {
  margin-bottom: 0.5rem !important;
}

.bn-language-switcher {
  position: static;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
  padding: 0.25rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.035);
  box-shadow: none;
}

.bn-language-switcher button {
  min-height: 1.875rem;
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 999px;
  color: #777;
  background: transparent;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.bn-language-switcher button:hover {
  color: #bbb;
}

.bn-language-switcher button[data-active="true"] {
  color: #ddd;
  background: rgb(255 255 255 / 0.11);
}

.bn-language-switcher button:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .bn-footer-store-badges {
    flex-wrap: wrap;
    justify-content: flex-start !important;
  }

  .bn-language-switcher {
    margin-right: auto;
    margin-left: 0;
  }

  .bn-language-switcher button {
    padding-inline: 0.5rem;
  }
}

@media (max-width: 767px) {
  #vault {
    padding-bottom: 2.5rem !important;
  }

  .bn-journal-stable-copy {
    padding-top: 4rem !important;
  }

  .bn-download-modal {
    padding: 1rem;
  }

  .bn-download-dialog {
    max-height: calc(100dvh - 2rem);
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 1.375rem;
  }

  .bn-download-brand {
    margin-top: 0.25rem;
    font-size: 1.125rem;
  }

  .bn-download-dialog h2 {
    margin-top: 1rem;
  }

  .bn-download-qr {
    width: min(58vw, 11.5rem);
    margin-top: 1rem;
  }

  .bn-download-stores {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .bn-brand-host > .bn-brand-swap {
    width: 2rem;
    height: 1.3rem;
  }

  .bn-brand-swap-disc {
    --bn-disc-size: 1.3rem;
  }

  .bn-brand-host--header::after {
    display: inline;
  }

  .bn-market-phone-visual {
    width: 14.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 819px) {
  [data-testid="desktop-nav-rail"] {
    gap: 0.125rem !important;
  }

  .bn-static-nav-link {
    padding-inline: 0.375rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 768px) {
  #vault {
    min-height: 51rem !important;
  }

  .bn-one-title {
    width: min(100%, 50rem) !important;
    white-space: normal !important;
  }

  html[data-locale="en"] #vault .bn-one-title,
  html[data-locale="ja"] #vault .bn-one-title {
    font-size: clamp(1.5rem, 2.8vw, 3rem) !important;
    line-height: 1.06 !important;
  }

  html[data-locale="en"] #markets > div > h2,
  html[data-locale="ja"] #markets > div > h2 {
    font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
    line-height: 1.08 !important;
  }

  .bn-feature-grid {
    gap: 2rem !important;
  }

  .bn-footer-store-badges {
    margin-bottom: 0;
  }

  .bn-footer-shell {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }

  .bn-footer-left-stack {
    justify-content: flex-start !important;
    gap: 2rem !important;
  }

  footer [data-slot="footer-qr-card"],
  footer [data-slot="footer-qr-card"] img {
    width: 6.5rem !important;
    height: 6.5rem !important;
  }

  .bn-footer-right-stack > .bn-footer-store-badges {
    margin-bottom: 1.5rem !important;
  }

  .bn-journal-stable-copy {
    padding-top: 5rem !important;
  }

  .bn-vault-phone-visual {
    position: absolute !important;
    bottom: 2.5rem !important;
    left: 50% !important;
    width: 15.5rem !important;
    max-width: 15.5rem !important;
    height: auto !important;
    transform: translateX(-50%);
  }

  .bn-market-phone-visual {
    width: 16rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1259px) {
  footer .bn-footer-shell > [data-slot="footer-main"] {
    grid-template-columns: 10.75rem minmax(0, 1fr) !important;
    gap: 3rem !important;
  }
}

@media (min-width: 1260px) {
  footer .bn-footer-shell > [data-slot="footer-main"] {
    column-gap: 5rem !important;
  }
}

@media (min-width: 1024px) {
  html[data-locale="en"] #vault .bn-vault-heading-stack,
  html[data-locale="ja"] #vault .bn-vault-heading-stack {
    top: calc(6.4% - 1rem) !important;
  }

  .bn-vault-phone-visual {
    bottom: 4rem !important;
  }

  .bn-footer-right-stack > .bn-footer-disclaimer {
    margin-top: auto !important;
  }

  footer [data-slot="footer-utility-primary"] {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  footer [data-slot="footer-legal-links"] {
    order: 1;
    margin-left: 0;
  }

  footer .bn-footer-copyright {
    order: 2;
    white-space: nowrap;
  }
}

@media (min-width: 1360px) {
  .bn-infrastructure-copy {
    justify-content: flex-start !important;
    padding-top: 3.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .bn-infrastructure-copy > h2 {
    margin-top: 1.5rem !important;
  }

  .bn-infrastructure-copy > h2 + p,
  .bn-infrastructure-copy > div:last-child {
    margin-top: 2rem !important;
  }

}

@media (min-width: 1200px) {
  .bn-journal-section {
    height: 48rem !important;
  }

  .bn-ledger {
    width: 22.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }

  .bn-brand-swap-disc--gold,
  .bn-brand-swap-disc--silver {
    animation: none;
  }

  .bn-ledger-value,
  .bn-ledger-gold-base,
  .bn-ledger-gold-tick {
    transition: none !important;
  }
}

/* Rally additions */
.bn-store-badge-hidden {
  display: none !important;
}

.bn-download-stores a.bn-download-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #0f0f0f;
  color: #fcfcfc;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.bn-download-stores a.bn-download-web:hover {
  background: #262626;
}

/* Rally: keep the Plaza section's breathing room while lifting the phone into
   alignment with the first row of feature copy. */
@media (min-width: 1024px) {
  section#vault {
    height: calc(clamp(48rem, 57.8704vw, 62.5rem) + 6rem) !important;
  }

  .bn-vault-phone-visual {
    bottom: 7rem !important;
  }
}

/* Rally: the Plaza section wears its own name and a monochrome plaza mark */
#vault .bn-brand-host--section::before {
  width: 1.25rem;
  height: 1.25rem;
  background: url("/images/rally/plaza.svg") center / contain no-repeat;
}

#vault .bn-brand-host--section::after {
  content: "Rally Plaza";
}

html[data-locale="zh"] #vault .bn-brand-host--section::after {
  content: "Rally 约球广场";
}

html[data-locale="ja"] #vault .bn-brand-host--section::after {
  content: "Rally 広場";
}
