/* Frame the transparent accounting artwork without its empty canvas margins. */
:root {
  --brand-logo-width: 280px;
}

.brand-accounting-logo {
  display: block;
  width: var(--brand-logo-width);
  height: auto;
  max-width: 100%;
  aspect-ratio: 2066 / 467;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-accounting-logo image {
  filter: none;
}

html[data-theme="dark"] .brand-accounting-logo image {
  filter: url(#brand-accounting-dark);
}

.brand-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.mini-brand {
  animation: none !important;
}

.mini-brand .brand-accounting-logo {
  width: 156px;
}

/* The software preview has a navy title bar in both themes. */
.mini-brand .brand-accounting-logo image {
  filter: url(#brand-accounting-dark);
}

.download-brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
}

/* Keep the wider artwork clear of the navigation and account controls. */
@media (max-width: 1320px) {
  header .header-in > nav {
    display: none !important;
  }
}

@media (max-width: 760px) {
  :root {
    --brand-logo-width: min(200px, calc(100vw - 178px));
  }
}
